From cc73573e605b04cdaabb4bdfbc355d79c6fba8ba Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 20 Jun 2023 00:24:12 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2033) --- cloudfunctions/v2/cloudfunctions-api.json | 7 +- cloudfunctions/v2/cloudfunctions-gen.go | 3 + .../v2alpha/cloudfunctions-api.json | 7 +- cloudfunctions/v2alpha/cloudfunctions-gen.go | 3 + cloudfunctions/v2beta/cloudfunctions-api.json | 7 +- cloudfunctions/v2beta/cloudfunctions-gen.go | 3 + cloudsearch/v1/cloudsearch-api.json | 19178 +++-------- cloudsearch/v1/cloudsearch-gen.go | 27646 ++++------------ compute/v0.alpha/compute-api.json | 96 +- compute/v0.alpha/compute-gen.go | 228 +- contentwarehouse/v1/contentwarehouse-api.json | 2551 +- contentwarehouse/v1/contentwarehouse-gen.go | 1388 +- .../v1/essentialcontacts-api.json | 116 +- essentialcontacts/v1/essentialcontacts-gen.go | 117 +- firebaseappcheck/v1/firebaseappcheck-api.json | 6 +- firebaseappcheck/v1/firebaseappcheck-gen.go | 13 +- .../v1beta/firebaseappcheck-api.json | 14 +- .../v1beta/firebaseappcheck-gen.go | 35 +- osconfig/v1/osconfig-api.json | 6 +- osconfig/v1/osconfig-gen.go | 8 +- osconfig/v1alpha/osconfig-api.json | 6 +- osconfig/v1alpha/osconfig-gen.go | 8 +- storage/v1/storage-api.json | 42 +- storage/v1/storage-gen.go | 92 +- .../v1/streetviewpublish-api.json | 4 +- streetviewpublish/v1/streetviewpublish-gen.go | 10 +- 26 files changed, 13727 insertions(+), 37867 deletions(-) diff --git a/cloudfunctions/v2/cloudfunctions-api.json b/cloudfunctions/v2/cloudfunctions-api.json index b2ab8ad74f9..bf202834cee 100644 --- a/cloudfunctions/v2/cloudfunctions-api.json +++ b/cloudfunctions/v2/cloudfunctions-api.json @@ -571,7 +571,7 @@ } } }, - "revision": "20230608", + "revision": "20230619", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -842,6 +842,11 @@ "description": "A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`", "type": "string" }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, "serviceConfig": { "$ref": "ServiceConfig", "description": "Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed)." diff --git a/cloudfunctions/v2/cloudfunctions-gen.go b/cloudfunctions/v2/cloudfunctions-gen.go index f31baaedbd7..c1c2625991a 100644 --- a/cloudfunctions/v2/cloudfunctions-gen.go +++ b/cloudfunctions/v2/cloudfunctions-gen.go @@ -682,6 +682,9 @@ type Function struct { // `projects/*/locations/*/functions/*` Name string `json:"name,omitempty"` + // SatisfiesPzs: Output only. Reserved for future use. + SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` + // ServiceConfig: Describes the Service being deployed. Currently // deploys services to Cloud Run (fully managed). ServiceConfig *ServiceConfig `json:"serviceConfig,omitempty"` diff --git a/cloudfunctions/v2alpha/cloudfunctions-api.json b/cloudfunctions/v2alpha/cloudfunctions-api.json index c2501a21ca9..7fef33f5cd3 100644 --- a/cloudfunctions/v2alpha/cloudfunctions-api.json +++ b/cloudfunctions/v2alpha/cloudfunctions-api.json @@ -571,7 +571,7 @@ } } }, - "revision": "20230608", + "revision": "20230619", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -842,6 +842,11 @@ "description": "A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`", "type": "string" }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, "serviceConfig": { "$ref": "ServiceConfig", "description": "Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed)." diff --git a/cloudfunctions/v2alpha/cloudfunctions-gen.go b/cloudfunctions/v2alpha/cloudfunctions-gen.go index fab42866486..168e09ee44d 100644 --- a/cloudfunctions/v2alpha/cloudfunctions-gen.go +++ b/cloudfunctions/v2alpha/cloudfunctions-gen.go @@ -682,6 +682,9 @@ type Function struct { // `projects/*/locations/*/functions/*` Name string `json:"name,omitempty"` + // SatisfiesPzs: Output only. Reserved for future use. + SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` + // ServiceConfig: Describes the Service being deployed. Currently // deploys services to Cloud Run (fully managed). ServiceConfig *ServiceConfig `json:"serviceConfig,omitempty"` diff --git a/cloudfunctions/v2beta/cloudfunctions-api.json b/cloudfunctions/v2beta/cloudfunctions-api.json index f1253c858d0..9a4b32fbb1c 100644 --- a/cloudfunctions/v2beta/cloudfunctions-api.json +++ b/cloudfunctions/v2beta/cloudfunctions-api.json @@ -571,7 +571,7 @@ } } }, - "revision": "20230608", + "revision": "20230619", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -842,6 +842,11 @@ "description": "A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`", "type": "string" }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, "serviceConfig": { "$ref": "ServiceConfig", "description": "Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed)." diff --git a/cloudfunctions/v2beta/cloudfunctions-gen.go b/cloudfunctions/v2beta/cloudfunctions-gen.go index 7c1c37fa4aa..23c728d8018 100644 --- a/cloudfunctions/v2beta/cloudfunctions-gen.go +++ b/cloudfunctions/v2beta/cloudfunctions-gen.go @@ -682,6 +682,9 @@ type Function struct { // `projects/*/locations/*/functions/*` Name string `json:"name,omitempty"` + // SatisfiesPzs: Output only. Reserved for future use. + SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` + // ServiceConfig: Describes the Service being deployed. Currently // deploys services to Cloud Run (fully managed). ServiceConfig *ServiceConfig `json:"serviceConfig,omitempty"` diff --git a/cloudsearch/v1/cloudsearch-api.json b/cloudsearch/v1/cloudsearch-api.json index 13d13ebb48c..bc09c11abd9 100644 --- a/cloudsearch/v1/cloudsearch-api.json +++ b/cloudsearch/v1/cloudsearch-api.json @@ -2096,116 +2096,9 @@ } } }, - "revision": "20230531", + "revision": "20230614", "rootUrl": "https://cloudsearch.googleapis.com/", "schemas": { - "AbuseReportingConfig": { - "description": "Abuse reporting configuration outlining what is supported in this conference.", - "id": "AbuseReportingConfig", - "properties": { - "recordingAllowed": { - "description": "Whether the current call may include video recordings in its abuse reports.", - "type": "boolean" - }, - "writtenUgcAllowed": { - "description": "Whether the current call may include user generated content (chat, polls, Q\u0026A...) in its abuse reports.", - "type": "boolean" - } - }, - "type": "object" - }, - "AckInfo": { - "description": "Information about how devices in a meeting have acked for a session/operation.", - "id": "AckInfo", - "properties": { - "unackedDeviceCount": { - "description": "Output only. Number of meeting devices that have not acked yet.", - "format": "int32", - "readOnly": true, - "type": "integer" - }, - "unackedDeviceIds": { - "description": "Output only. IDs of meeting devices (at most ten are provided) that have not acked yet.", - "items": { - "type": "string" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "AclFixRequest": { - "description": "The request set by clients to instruct Backend how the user intend to fix the ACL. Technically it's not a request to ACL Fixer, because Backend uses /DriveService.Share to modify Drive ACLs.", - "id": "AclFixRequest", - "properties": { - "recipientEmails": { - "description": "For Spaces messages: This field is ignored. For DMs messages: The list of email addresses that should be added to the Drive item's ACL. In general, the list should not be empty when the boolean \"should_fix\" field is set; otherwise, the list should be empty. During transition - when clients do not specify this field but the \"should_fix\" is true, we follow the legacy behavior: share to all users in the DM regardless of emails. This behavior is being phased out.", - "items": { - "type": "string" - }, - "type": "array" - }, - "role": { - "enum": [ - "UNKNOWN", - "READER", - "COMMENTER", - "WRITER" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "shouldFix": { - "description": "Whether to attempt to fix the ACL by adding the room or DM members to the Drive file's ACL.", - "type": "boolean" - } - }, - "type": "object" - }, - "AclFixStatus": { - "description": "The message reconstructed based on information in the response of /PermissionFixOptionsService.Query (or the Apiary API that wraps it). Indicates the ability of the requester to change the access to the Drive file for the room roster or the DM members. Used in GetMessagePreviewMetadataResponse only.", - "id": "AclFixStatus", - "properties": { - "fixability": { - "enum": [ - "UNKNOWN", - "ALREADY_ACCESSIBLE", - "CAN_FIX", - "CANNOT_FIX", - "ACL_FIXER_ERROR" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "fixableEmailAddress": { - "description": "List of recipient email addresses for which access can be granted. This field contains the same email addresses from the GetMessagePreviewMetadata request if all recipients can be successfully added to the ACL as determined by Drive ACL Fixer. For now, the field is non-empty if and only if the \"fixability\" value is \"CAN_FIX\".", - "items": { - "type": "string" - }, - "type": "array" - }, - "outOfDomainWarningEmailAddress": { - "description": "List of recipient email addresses for which an out-of-domain-sharing warning must be shown, stating that these email addresses are not in the Google Apps organization that the requested item belong to. Empty if all recipients are in the same Google Apps organization.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "AclInfo": { "description": "Next tag: 4", "id": "AclInfo", @@ -2243,4737 +2136,4314 @@ }, "type": "object" }, - "ActionParameter": { - "description": "List of string parameters that developers can specify when the above action method (in apps script) is invoked. An example use case is for 3 snooze buttons: snooze now, snooze 1 day, snooze next week. Developers can have action method = snooze() and pass the snooze type and snooze time in list of string parameters.", - "id": "ActionParameter", + "Action": { + "id": "Action", "properties": { - "key": { + "title": { + "description": "[Required] Title of the action.", "type": "string" }, - "value": { + "url": { + "description": "[Optional] Url of the action.", "type": "string" } }, "type": "object" }, - "AddOnFrameStartingState": { - "description": "Starting state for an individual add-on frame.", - "id": "AddOnFrameStartingState", + "AuditLoggingSettings": { + "description": "Represents the settings for Cloud audit logging", + "id": "AuditLoggingSettings", "properties": { - "additionalData": { - "description": "Additional data internal to the add-on that can be used to initialize itself.", - "type": "string" + "logAdminReadActions": { + "description": "Indicates whether audit logging is on/off for admin activity read APIs i.e. Get/List DataSources, Get/List SearchApplications etc.", + "type": "boolean" }, - "uri": { - "description": "The uri of the artifact being used for an add-on co-activity.", + "logDataReadActions": { + "description": "Indicates whether audit logging is on/off for data access read APIs i.e. ListItems, GetItem etc.", + "type": "boolean" + }, + "logDataWriteActions": { + "description": "Indicates whether audit logging is on/off for data access write APIs i.e. IndexItem etc.", + "type": "boolean" + }, + "project": { + "description": "The resource name of the GCP Project to store audit logs. Cloud audit logging will be enabled after project_name has been updated through CustomerService. Format: projects/{project_id}", "type": "string" } }, "type": "object" }, - "AddOnStartingState": { - "description": "Starting state properties for add-on co-activity.", - "id": "AddOnStartingState", - "properties": { - "addOnFrameStartingStates": { - "additionalProperties": { - "$ref": "AddOnFrameStartingState" - }, - "description": "List of starting state frames for the add-on co-activity. Keys for this map are the values of the AddOnFrameType enum.", - "type": "object" - } - }, - "type": "object" - }, - "AddonComposeUiActionMarkup": { - "id": "AddonComposeUiActionMarkup", + "BackgroundColoredText": { + "id": "BackgroundColoredText", "properties": { - "type": { + "backgroundColor": { + "description": "[Optional] Color of the background. The text color can change depending on the selected background color, and the client does not have control over this. If missing, the background will be WHITE.", "enum": [ - "UNSPECIFIED", - "DISMISS" + "UNKNOWN_COLOR", + "WHITE", + "YELLOW", + "ORANGE", + "GREEN", + "BLUE", + "GREY" ], "enumDescriptions": [ - "Default. When unspecified, no action is taken.", - "Dismisses the add-on compose UI." + "", + "", + "", + "", + "", + "", + "" ], "type": "string" + }, + "text": { + "description": "[Required] The text to display.", + "type": "string" } }, "type": "object" }, - "AffectedMembership": { - "description": "Earlier we used to populate just the affected_members list and inferred the new membership state (roles didn't exist back then) from the Type. go/dynamite-finra required backend to know the previous membership state to reconstruct membership history. The proper solution involved cleaning up up Type enum, but it was used in many, many places. This was added as a stop-gap solution to unblock FINRA without breaking everything. Later role update and target audience update started relying on this to communicate information to clients about what transition happened. So this is now required to be populated and should be in sync with affected_members for new messages.", - "id": "AffectedMembership", + "BooleanOperatorOptions": { + "description": "Used to provide a search operator for boolean properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", + "id": "BooleanOperatorOptions", "properties": { - "affectedMember": { - "$ref": "MemberId" - }, - "priorMembershipRole": { - "enum": [ - "ROLE_UNKNOWN", - "ROLE_NONE", - "ROLE_INVITEE", - "ROLE_MEMBER", - "ROLE_OWNER" - ], - "enumDescriptions": [ - "", - "This role is used when a user is forcibly removed from a room by another user. They will no longer be able to search for the room, but their history will be retained.", - "This role is used for two purposes. 1. A group is invited to a room, making it discoverable for its members. 2. A user was part of a room, but willingly left the room.", - "--- Following roles are for joined members of a roster. --- Default role for any joined user. Has basic capabilities within a room.", - "Role assigned to room creators and explicitly promoted members. Has broad powers to manage the room." - ], - "type": "string" - }, - "priorMembershipState": { - "enum": [ - "MEMBER_UNKNOWN", - "MEMBER_INVITED", - "MEMBER_JOINED", - "MEMBER_NOT_A_MEMBER", - "MEMBER_FAILED" - ], - "enumDescriptions": [ - "Default state, do not use", - "An invitation to the space has been sent", - "User has joined the space", - "User is not a member", - "This state should never be stored in Spanner. It is a state for responses to the clients to indicate that membership mutations have failed and the member is in its previous state." - ], - "type": "string" - }, - "targetMembershipRole": { - "enum": [ - "ROLE_UNKNOWN", - "ROLE_NONE", - "ROLE_INVITEE", - "ROLE_MEMBER", - "ROLE_OWNER" - ], - "enumDescriptions": [ - "", - "This role is used when a user is forcibly removed from a room by another user. They will no longer be able to search for the room, but their history will be retained.", - "This role is used for two purposes. 1. A group is invited to a room, making it discoverable for its members. 2. A user was part of a room, but willingly left the room.", - "--- Following roles are for joined members of a roster. --- Default role for any joined user. Has basic capabilities within a room.", - "Role assigned to room creators and explicitly promoted members. Has broad powers to manage the room." - ], + "operatorName": { + "description": "Indicates the operator name required in the query in order to isolate the boolean property. For example, if operatorName is *closed* and the property's name is *isClosed*, then queries like *closed:\u003cvalue\u003e* show results only where the value of the property named *isClosed* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", "type": "string" } }, "type": "object" }, - "AllAuthenticatedUsersProto": { - "description": "Represents a principal who has authenticated as any kind of user which the application understands. This is typically used for \"wiki-like\" security, where anyone is allowed access so long as they can be held accountable for that access. Since the purpose is knowing whom to blame, it is up to the application to decide what kinds of users it knows how to blame. For example, an application might choose to include GAIA users in \"all authenticated users\", but not include MDB users. Nothing here.", - "id": "AllAuthenticatedUsersProto", - "properties": {}, + "BooleanPropertyOptions": { + "description": "The options for boolean properties.", + "id": "BooleanPropertyOptions", + "properties": { + "operatorOptions": { + "$ref": "BooleanOperatorOptions", + "description": "If set, describes how the boolean should be used as a search operator." + } + }, "type": "object" }, - "Annotation": { - "description": "NOTE WHEN ADDING NEW PROTO FIELDS: Be sure to add datapol annotations to new fields with potential PII, so they get scrubbed when logging protos for errors. NEXT TAG: 32", - "id": "Annotation", + "CheckAccessResponse": { + "id": "CheckAccessResponse", "properties": { - "babelPlaceholderMetadata": { - "$ref": "BabelPlaceholderMetadata" - }, - "cardCapabilityMetadata": { - "$ref": "CardCapabilityMetadata", - "description": "LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/backend/action/common/SystemMessageHelper.java)" - }, - "chipRenderType": { - "description": "Whether the annotation should be rendered as a preview chip. If this is missing or unspecified, fallback to should_not_render on the metadata.", - "enum": [ - "CHIP_RENDER_TYPE_UNSPECIFIED", - "RENDER", - "RENDER_IF_POSSIBLE", - "DO_NOT_RENDER" - ], - "enumDescriptions": [ - "", - "Clients must render the annotation as a preview chip, and if they cannot render this many Annotations, show a fallback card.", - "Client can render the annotation if it has room to render it.", - "Client should not render the annotation as a preview chip." - ], - "type": "string" - }, - "componentSearchInfo": { - "$ref": "AppsDynamiteSharedMessageComponentSearchInfo", - "description": "Contains additional metadata that further enhances the annotation when it is returned as part of search response. For example, this can be used to define how the annotation matches the search. Information can be used to highlight in rendering search results. The following are the different annotation text fields that can be highlighted by this field: 1. DriveMetadata.title 2. UploadMetadata.content_name 3. GsuiteIntegrationMetadata.TasksMessageIntegrationRenderData.title 4. GsuiteIntegrationMetadata.CalendarEventAnnotationData.title" - }, - "consentedAppUnfurlMetadata": { - "$ref": "ConsentedAppUnfurlMetadata" - }, - "customEmojiMetadata": { - "$ref": "CustomEmojiMetadata" - }, - "dataLossPreventionMetadata": { - "$ref": "DataLossPreventionMetadata" - }, - "driveMetadata": { - "$ref": "DriveMetadata", - "description": "Chip annotations" - }, - "formatMetadata": { - "$ref": "FormatMetadata" - }, - "groupRetentionSettingsUpdated": { - "$ref": "GroupRetentionSettingsUpdatedMetaData" - }, - "gsuiteIntegrationMetadata": { - "$ref": "GsuiteIntegrationMetadata", - "description": "Metadata for 1P integrations like tasks, calendar. These are supported only through integration server as 1P integrations use the integration API (which in turn uses backend API with special permissions) to post messages. Clients should never set this. LINT.IfChange" - }, - "incomingWebhookChangedMetadata": { - "$ref": "IncomingWebhookChangedMetadata" - }, - "inlineRenderFormat": { - "description": "The inline render format of this annotation. go/drive-smart-chips-chat-v2.", - "enum": [ - "INLINE_RENDER_FORMAT_UNSPECIFIED", - "SMART_CHIP" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "integrationConfigUpdated": { - "$ref": "IntegrationConfigUpdatedMetadata", - "description": "LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/backend/action/common/SystemMessageHelper.java)" - }, - "interactionData": { - "$ref": "InteractionData", - "description": "Additional interaction data for this annotation." - }, - "length": { - "description": "Length of the text_body substring beginning from start_index the Annotation corresponds to.", - "format": "int32", - "type": "integer" - }, - "localId": { - "description": "* A client-assigned ID for this annotation. This is helpful in matching the back-filled annotations to the original annotations on client side, without having to re-parse the message. There is no guarantee an annotation has a local_id, it's a purely client used and controlled field with no guarantee of uniqueness.", - "type": "string" - }, - "membershipChanged": { - "$ref": "MembershipChangedMetadata", - "description": "Metadata for system messages. Clients should never set this. LINT.IfChange" - }, - "readReceiptsSettingsMetadata": { - "$ref": "ReadReceiptsSettingsUpdatedMetadata" - }, - "requiredMessageFeaturesMetadata": { - "$ref": "RequiredMessageFeaturesMetadata", - "description": "Metadata that defines all of the required features that must be rendered in the message. Clients can use this to see whether they support the entire message, or show a fallback chip otherwise. See go/message-quoting-client-to-server for details. LINT.ThenChange( //depot/google3/java/com/google/apps/dynamite/v1/allshared/parser/AnnotationSanitizer.java, //depot/google3/java/com/google/apps/dynamite/v1/backend/action/common/SystemMessageHelper.java, //depot/google3/java/com/google/caribou/eli/mediation/chat/AnnotationConverter.java )" - }, - "roomUpdated": { - "$ref": "RoomUpdatedMetadata" - }, - "serverInvalidated": { - "description": "Whether or not the annotation is invalidated by the server. Example of situations for invalidation include: when the URL is malformed, or when Drive item ID is rejected by Drive Service.", + "hasAccess": { + "description": "Returns true if principal has access. Returns false otherwise.", "type": "boolean" - }, - "slashCommandMetadata": { - "$ref": "SlashCommandMetadata" - }, - "startIndex": { - "description": "Start index (0-indexed) of the Message text the Annotation corresponds to, inclusive.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "Type of the Annotation.", + } + }, + "type": "object" + }, + "CompositeFilter": { + "id": "CompositeFilter", + "properties": { + "logicOperator": { + "description": "The logic operator of the sub filter.", "enum": [ - "TYPE_UNSPECIFIED", - "URL", - "DRIVE_FILE", - "DRIVE_DOC", - "DRIVE_SHEET", - "DRIVE_SLIDE", - "DRIVE_FORM", - "USER_MENTION", - "SLASH_COMMAND", - "CONSENTED_APP_UNFURL", - "VIDEO", - "FORMAT_DATA", - "IMAGE", - "PDF", - "VIDEO_CALL", - "UPLOAD_METADATA", - "GSUITE_INTEGRATION", - "CUSTOM_EMOJI", - "CARD_CAPABILITY", - "DATA_LOSS_PREVENTION", - "REQUIRED_MESSAGE_FEATURES_METADATA", - "MEMBERSHIP_CHANGED", - "ROOM_UPDATED", - "GROUP_RETENTION_SETTINGS_UPDATED", - "BABEL_PLACEHOLDER", - "READ_RECEIPTS_SETTINGS_UPDATED", - "INCOMING_WEBHOOK_CHANGED", - "INTEGRATION_CONFIG_UPDATED", - "INVITATION" + "AND", + "OR", + "NOT" ], "enumDescriptions": [ - "Default value for the enum. DO NOT USE.", - "These can have overlaps, i.e. same message can have multiple of these. For example a Drive link to a PDF can have URL, DRIVE_FILE and PDF all set Links", - "Any drive file", - "", - "", - "", - "", - "", - "", - "", - "Any video, not just youtube, the url decides how to play", - "UI should not be concerned with FORMAT_DATA", - "", - "", - "For Thor integration", - "Blobstore uploads", - "Generic annotation for gsuite integrations", - "", - "Card capability for in-stream widgets.", - "", - "Clients can use this to see whether they support the entire message, or show a fallback chip otherwise.", - "Annotation types for system messages. Clients should never set this.", - "", - "", - "", - "", - "", + "Logical operators, which can only be applied to sub filters.", "", - "Message-level annotations. First message of an invite. Should not be set by clients." + "NOT can only be applied on a single sub filter." ], "type": "string" }, - "uniqueId": { - "description": "* A unique server-assigned ID for this annotation. This is helpful in matching annotation objects when fetched from service. All uploads should have a unique_id after the message they are attached to is successfully sent. Url annotations that originally were uploads (i.e. policy violations) will have a unique_id after the message they are attached to is successfully sent. No other url annotations should have a unique_id. All drive annotations should have a unique_id after the message they are attached to is successfully sent.", - "type": "string" - }, - "uploadMetadata": { - "$ref": "UploadMetadata" - }, - "urlMetadata": { - "$ref": "UrlMetadata" - }, - "userMentionMetadata": { - "$ref": "UserMentionMetadata", - "description": "Metadata that clients can set for annotations. LINT.IfChange In-text annotations" - }, - "videoCallMetadata": { - "$ref": "VideoCallMetadata" - }, - "youtubeMetadata": { - "$ref": "YoutubeMetadata" + "subFilters": { + "description": "Sub filters.", + "items": { + "$ref": "Filter" + }, + "type": "array" } }, "type": "object" }, - "AnnotationInfo": { - "description": "Information about the screen annotation session.", - "id": "AnnotationInfo", + "Content": { + "id": "Content", "properties": { - "coannotatorDeviceIds": { - "description": "The device resource names of other devices which can annotate the screen.", + "actions": { + "description": "[Optional] Actions for this card.", "items": { - "type": "string" + "$ref": "Action" }, "type": "array" }, - "isActive": { - "description": "Whether the annotation is active.", - "type": "boolean" + "description": { + "$ref": "SafeHtmlProto", + "description": "[Optional] Description of the card." + }, + "subtitle": { + "$ref": "BackgroundColoredText", + "description": "[Optional] Subtitle of the card." + }, + "title": { + "$ref": "BackgroundColoredText", + "description": "[Optional] Title of the card." } }, "type": "object" }, - "AppId": { - "description": "Identifier of an App.", - "id": "AppId", + "Context": { + "id": "Context", "properties": { - "appType": { - "description": "Enum indicating the type of App this is.", - "enum": [ - "APP_TYPE_UNSPECIFIED", - "APP", - "GSUITE_APP", - "INCOMING_WEBHOOK" - ], - "enumDescriptions": [ - "", - "3P APP eg. external Bots(Asana Bot), 1P Bots(Drive Bot).", - "1P APP eg. Tasks, Meet, Docs, Calendar..", - "Asynchronous messages via an incoming webhook." - ], - "type": "string" - }, - "gsuiteAppType": { - "description": "Enum indicating which 1P App this is when app_type is GSUITE_APP. Determined \u0026 set by the 1P API as a convenience for all users of this identifier(Eg. clients, chime, backend etc.) to map to 1P properties.", - "enum": [ - "GSUITE_APP_TYPE_UNSPECIFIED", - "TASKS_APP", - "CALENDAR_APP", - "DOCS_APP", - "SHEETS_APP", - "SLIDES_APP", - "MEET_APP", - "ASSISTIVE_SUGGESTION_APP", - "CONTACTS_APP", - "ACTIVITY_FEED_APP", - "DRIVE_APP", - "CHAT_IN_MEET_APP", - "SHORTCUT_APP" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "Powered by Bullseye", - "", - "", - "", - "", - "" - ], - "type": "string" + "app": { + "description": "[Optional] App where the card should be shown. If missing, the card will be shown in TOPAZ.", + "items": { + "enum": [ + "UNKNOWN_APP", + "TOPAZ", + "MOMA" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "type": "array" + }, + "dayOfWeek": { + "description": "[Optional] Day of week when the card should be shown, where 0 is Monday.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" }, - "id": { - "description": "Numeric identifier of the App. Set to Project number for 1/3P Apps. For Webhook, this is WebhookId. Determined \u0026 set by the 1P API from App credentials on the side channel.", + "endDateSec": { + "description": "[Optional] Date (in seconds since epoch) when the card should stop being shown. If missing, end_date_sec will be set to Jan 1st, 2100.", "format": "int64", "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedActivityFeedAnnotationData": { - "description": "Next Id: 7", - "id": "AppsDynamiteSharedActivityFeedAnnotationData", - "properties": { - "activityFeedMessageCreateTime": { - "description": "Timestamp of when the Activity Feed message that contains this annotation was created. This is roughly when the activity happened, such as when a reaction happened, but will have at least some small delay, since the Activity Feed message is created asynchronously after. This timestamp should only be used for display when the activity create time is not available in the Chat UI, like the time of a reaction.", - "format": "google-datetime", + }, + "endDayOffsetSec": { + "description": "[Optional] End time in seconds, within a day, when the card should stop being shown if it's within [start_date_sec, end_date_sec]. If missing, this is set to 86400 (24 hours x 3600 sec/hour), i.e., midnight next day.", + "format": "int64", "type": "string" }, - "activityFeedMessageId": { - "$ref": "MessageId", - "description": "Unique id of the Activity Feed message used by clients to implement click-to-source. This is the same messageId as the top-level id field for the Activity Feed item." + "locale": { + "description": "[Optional] The locales for which the card should be triggered (e.g., en_US and en_CA). If missing, the card is going to show to clients regardless of their locale.", + "items": { + "type": "string" + }, + "type": "array" }, - "chatItem": { - "$ref": "AppsDynamiteSharedChatItem" + "location": { + "description": "[Optional] Text-free locations where the card should be shown. This is expected to match the user's location in focus. If no location is specified, the card will be shown for any location.", + "items": { + "type": "string" + }, + "type": "array" }, - "sharedUserInfo": { - "$ref": "UserInfo", - "description": "Only populated on read path and should not be persisted in storage." + "query": { + "description": "[Required only for Answer and RHS cards - will be ignored for Homepage] cards. It's the exact case-insensitive queries that will trigger the Answer or RHS card.", + "items": { + "type": "string" + }, + "type": "array" }, - "userInfo": { - "$ref": "AppsDynamiteSharedActivityFeedAnnotationDataUserInfo", - "description": "Use shared_user_info instead." - } - }, - "type": "object" - }, - "AppsDynamiteSharedActivityFeedAnnotationDataUserInfo": { - "description": "UserId of the AF item updater to show and the updater count to show.", - "id": "AppsDynamiteSharedActivityFeedAnnotationDataUserInfo", - "properties": { - "updaterCountDisplayType": { - "description": "Describes how updater_count_to_show should be used.", - "enum": [ - "UPDATER_COUNT_DISPLAY_TYPE_UNSPECIFIED", - "EXACT_COUNT", - "NONZERO_COUNT" - ], - "enumDescriptions": [ - "", - "A precise updater count is known and the value set in updater_count_to_show should be used.", - "A precise updater count could not be calculated, but there is at least one. Any value set in updater_count_to_show should NOT be used." - ], + "startDateSec": { + "description": "[Optional] Date (in seconds since epoch) when the card should start being shown. If missing, start_date_sec will be Jan 1st, 1970 UTC.", + "format": "int64", "type": "string" }, - "updaterCountToShow": { - "description": "The number of updaters for clients to show, currently set to the total number of updaters minus the one set in updater_to_show.", - "format": "int32", - "type": "integer" - }, - "updaterToShow": { - "$ref": "UserId", - "description": "The updater for clients to show." - } - }, - "type": "object" - }, - "AppsDynamiteSharedAppProfile": { - "description": "Optional field for apps overriding display info", - "id": "AppsDynamiteSharedAppProfile", - "properties": { - "avatarEmoji": { - "description": "Displayed user avatar emoji.", + "startDayOffsetSec": { + "description": "[Optional] Start time in seconds, within a day, when the card should be shown if it's within [start_date_sec, end_date_sec]. If 0, the card will be shown from 12:00am on.", + "format": "int64", "type": "string" }, - "avatarUrl": { - "description": "Displayed user avatar url.", - "type": "string" + "surface": { + "description": "[Optional] Surface where the card should be shown in. If missing, the card will be shown in any surface.", + "items": { + "enum": [ + "UNKNOWN_SURFACE", + "DESKTOP", + "ANDROID", + "IOS", + "MOBILE", + "ANY" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "Any mobile device.", + "" + ], + "type": "string" + }, + "type": "array" }, - "name": { - "description": "Displayed user name.", - "type": "string" + "type": { + "description": "[Required] Type of the card (homepage, Answer or RHS).", + "items": { + "enum": [ + "UNKNOWN_CARD_TYPE", + "HOMEPAGE_CARD", + "ANSWER_CARD", + "RHS_CARD" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AppsDynamiteSharedAssistantAnnotationData": { - "description": "This is the internal version of the API proto at google3/google/chat/v1/gsuite_message_integration.proto Data used to render Assistant suggestions. See go/bullseye-rendering.", - "id": "AppsDynamiteSharedAssistantAnnotationData", + "ContextAttribute": { + "description": "A named attribute associated with an item which can be used for influencing the ranking of the item based on the context in the request.", + "id": "ContextAttribute", "properties": { - "suggestion": { - "$ref": "AppsDynamiteSharedAssistantSuggestion", - "description": "The suggestion to render in the card." + "name": { + "description": "The name of the attribute. It should not be empty. The maximum length is 32 characters. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The name will be normalized (lower-cased) before being matched.", + "type": "string" }, - "unfulfillable": { - "$ref": "AppsDynamiteSharedAssistantUnfulfillableRequest", - "description": "Set when the initial query was unfulfillable. Only an on-demand unfulfillable query will result in a response (not a proactive query). 1. On-demand: user explicitly invokes the bot 2. Proactive: bot makes proactive suggestion (when available) by listening to all user messages." + "values": { + "description": "Text values of the attribute. The maximum number of elements is 10. The maximum length of an element in the array is 32 characters. The value will be normalized (lower-cased) before being matched.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AppsDynamiteSharedAssistantDebugContext": { - "description": "Represents info regarding suggestion debug information.", - "id": "AppsDynamiteSharedAssistantDebugContext", + "CustomerIndexStats": { + "description": "Aggregation of items by status code as of the specified date.", + "id": "CustomerIndexStats", "properties": { - "query": { - "description": "The query that triggered the resulting suggestion.", - "type": "string" + "date": { + "$ref": "Date", + "description": "The date for which statistics were calculated." + }, + "itemCountByStatus": { + "description": "Number of items aggregrated by status code.", + "items": { + "$ref": "ItemCountByStatus" + }, + "type": "array" } }, "type": "object" }, - "AppsDynamiteSharedAssistantFeedbackContext": { - "description": "Data needed to render feedback on the Assistant card", - "id": "AppsDynamiteSharedAssistantFeedbackContext", + "CustomerQueryStats": { + "id": "CustomerQueryStats", "properties": { - "feedbackChips": { - "description": "Specifies a list of feedback chips to show", + "date": { + "$ref": "Date", + "description": "The date for which query stats were calculated. Stats calculated on the next day close to midnight are returned." + }, + "queryCountByStatus": { "items": { - "$ref": "AppsDynamiteSharedAssistantFeedbackContextFeedbackChip" + "$ref": "QueryCountByStatus" }, "type": "array" - }, - "thumbsFeedback": { - "description": "Whether the thumbs feedback is provided", - "enum": [ - "THUMBS_FEEDBACK_UNSPECIFIED", - "NONE_SELECTED", - "UP", - "DOWN" - ], - "enumDescriptions": [ - "Unspecified thumbs state", - "Thumbs are not selected", - "Thumbs up selected", - "Thumbs down selected" - ], - "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedAssistantFeedbackContextFeedbackChip": { - "description": "Suggestion chips for users to indicate positive or negative feedback", - "id": "AppsDynamiteSharedAssistantFeedbackContextFeedbackChip", + "CustomerSearchApplicationStats": { + "description": "Search application stats for a customer for the given date.", + "id": "CustomerSearchApplicationStats", "properties": { - "feedbackChipType": { - "description": "What type of chip to display", - "enum": [ - "FEEDBACK_CHIP_TYPE_UNSPECIFIED", - "WRONG_TRIGGER", - "WRONG_FILE", - "CORRECT_TRIGGER", - "CORRECT_FILE", - "DISRUPTIVE", - "OTHER" - ], - "enumDescriptions": [ - "Unspecified type of feedback chip", - "Bad/noisy triggering", - "Incorrect files were presented", - "The Assistant card triggered appropriately", - "The correct files were presented", - "The feature is disruptive", - "Other reason" - ], + "count": { + "description": "The count of search applications for the date.", + "format": "int64", "type": "string" }, - "state": { - "description": "Whether the chip has been selected", - "enum": [ - "FEEDBACK_CHIP_STATE_UNSPECIFIED", - "SELECTED", - "UNSELECTED" - ], - "enumDescriptions": [ - "Unspecified selection state", - "Chip is selected", - "Chip is not selected" - ], - "type": "string" + "date": { + "$ref": "Date", + "description": "The date for which search application stats were calculated." } }, "type": "object" }, - "AppsDynamiteSharedAssistantSessionContext": { - "description": "Session context specific for Assistant suggestions.", - "id": "AppsDynamiteSharedAssistantSessionContext", + "CustomerSessionStats": { + "id": "CustomerSessionStats", "properties": { - "contextualSessionId": { - "description": "Unique identifier populated by the contextual request handler for each vertical (Ex: File Suggestions, Smart Scheduling, etc.) that can be used to track sessions end-to-end. May span multiple users (sender-specific).", + "date": { + "$ref": "Date", + "description": "The date for which session stats were calculated. Stats are calculated on the following day, close to midnight PST, and then returned." + }, + "searchSessionsCount": { + "description": "The count of search sessions on the day", + "format": "int64", "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedAssistantSuggestion": { - "description": "Data for an Assistant suggestion.", - "id": "AppsDynamiteSharedAssistantSuggestion", + "CustomerSettings": { + "description": "Represents settings at a customer level.", + "id": "CustomerSettings", "properties": { - "debugContext": { - "$ref": "AppsDynamiteSharedAssistantDebugContext", - "description": "Info regarding suggestion debug information." - }, - "feedbackContext": { - "$ref": "AppsDynamiteSharedAssistantFeedbackContext", - "description": "Data for rendering feedback." - }, - "findDocumentSuggestion": { - "$ref": "AppsDynamiteSharedFindDocumentSuggestion", - "description": "Suggestion type that suggests documents (docs, slides, sheets)." - }, - "serializedSuggestions": { - "description": "String representation of the suggestions provided.", - "type": "string" + "auditLoggingSettings": { + "$ref": "AuditLoggingSettings", + "description": "Audit Logging settings for the customer. If update_mask is empty then this field will be updated based on UpdateCustomerSettings request." }, - "sessionContext": { - "$ref": "AppsDynamiteSharedAssistantSessionContext", - "description": "Session context specific to the Assistant suggestion." + "vpcSettings": { + "$ref": "VPCSettings", + "description": "VPC SC settings for the customer. If update_mask is empty then this field will be updated based on UpdateCustomerSettings request." } }, "type": "object" }, - "AppsDynamiteSharedAssistantUnfulfillableRequest": { - "description": "Data for a response to an unfulfillable request.", - "id": "AppsDynamiteSharedAssistantUnfulfillableRequest", - "properties": {}, - "type": "object" - }, - "AppsDynamiteSharedAvatarInfo": { - "id": "AppsDynamiteSharedAvatarInfo", + "CustomerUserStats": { + "id": "CustomerUserStats", "properties": { - "emoji": { - "$ref": "AppsDynamiteSharedEmoji" + "date": { + "$ref": "Date", + "description": "The date for which session stats were calculated. Stats calculated on the next day close to midnight are returned." + }, + "oneDayActiveUsersCount": { + "description": "The count of unique active users in the past one day", + "format": "int64", + "type": "string" + }, + "sevenDaysActiveUsersCount": { + "description": "The count of unique active users in the past seven days", + "format": "int64", + "type": "string" + }, + "thirtyDaysActiveUsersCount": { + "description": "The count of unique active users in the past thirty days", + "format": "int64", + "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedBackendUploadMetadata": { - "description": "Metadata used only in Dynamite backend for uploaded attachments. NEXT ID: 20", - "id": "AppsDynamiteSharedBackendUploadMetadata", + "DataSource": { + "description": "Datasource is a logical namespace for items to be indexed. All items must belong to a datasource. This is the prerequisite before items can be indexed into Cloud Search.", + "id": "DataSource", "properties": { - "blobPath": { - "description": "Blobstore path for the uploaded attachment", - "type": "string" + "disableModifications": { + "description": "If true, sets the datasource to read-only mode. In read-only mode, the Indexing API rejects any requests to index or delete items in this source. Enabling read-only mode does not stop the processing of previously accepted data.", + "type": "boolean" }, - "contentName": { - "description": "The original file name for the content, not the full path.", - "type": "string" + "disableServing": { + "description": "Disable serving any search or assist results.", + "type": "boolean" }, - "contentSize": { - "description": "Scotty reported content size by default. http://google3/uploader/agent/scotty_agent.proto?l=101\u0026rcl=140889785", - "format": "int64", + "displayName": { + "description": "Required. Display name of the datasource The maximum length is 300 characters.", "type": "string" }, - "contentType": { - "description": "Type is from Scotty's best_guess by default: http://google3/uploader/agent/scotty_agent.proto?l=51\u0026rcl=140889785", - "type": "string" + "indexingServiceAccounts": { + "description": "List of service accounts that have indexing access.", + "items": { + "type": "string" + }, + "type": "array" }, - "dlpScanOutcome": { - "description": "The results of the Data Loss Prevention (DLP) scan of the attachment. DEPRECATED: use dlp_scan_summary instead.", - "enum": [ - "SCAN_UNKNOWN_OUTCOME", - "SCAN_SUCCEEDED_NO_VIOLATION", - "SCAN_SUCCEEDED_BLOCK", - "SCAN_SUCCEEDED_WARN", - "SCAN_SUCCEEDED_AUDIT_ONLY", - "SCAN_FAILURE_EXCEPTION", - "SCAN_FAILURE_RULE_FETCH_FAILED", - "SCAN_FAILURE_TIMEOUT", - "SCAN_FAILURE_ALL_RULES_FAILED", - "SCAN_FAILURE_ILLEGAL_STATE_FOR_ATTACHMENTS", - "SCAN_SKIPPED_EXPERIMENT_DISABLED", - "SCAN_SKIPPED_CONSUMER", - "SCAN_SKIPPED_NON_HUMAN_USER", - "SCAN_SKIPPED_NO_MESSAGE", - "SCAN_SKIPPED_USER_ACKNOWLEDGED_WARNING", - "SCAN_SKIPPED_MESSAGE_FROM_UNSUPPORTED_ORIGIN", - "SCAN_SKIPPED_MESSAGE_SENT_DURING_SPACE_MIGRATION", - "SCAN_RULE_EVALUATION_SKIPPED_NO_RULES_FOUND", - "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_ACTION_PARAMS", - "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_TRIGGER", - "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", - "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_PERMANENT_ERROR", - "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_EMPTY_RESPONSE", - "SCAN_RULE_EVALUATION_SKIPPED_UNSUPPORTED_FILE_TYPE", - "SCAN_SUCCEEDED_WITH_FAILURES_NO_VIOLATION", - "SCAN_SUCCEEDED_WITH_FAILURES_BLOCK", - "SCAN_SUCCEEDED_WITH_FAILURES_WARN", - "SCAN_SUCCEEDED_WITH_FAILURES_AUDIT_ONLY" - ], - "enumDescriptions": [ - "", - "This means no violation is detected on the given message/attachment.", - "Violation is detected. The message/attachment will be blocked (or deleted if this happens in failure recovery), the user will be warned, and the violation will be logged to BIP.", - "Violation is detected. The user will be warned, and the violation will be logged to BIP.", - "Violation is detected and will be logged to BIP (no user-facing action performed).", - "Rule fetch and evaluation were attempted but an exception occurred.", - "Rule fetch was attempted but failed, so rule evaluation could not be performed.", - "Rule fetch and evaluation were attempted but the scanning timed out.", - "Rule fetch completed and evaluation were attempted, but all of the rules failed to be evaluated.", - "An IllegalStateException is thrown when executing DLP on attachments. This could happen if the space row is missing.", - "Rule fetch and evaluation is skipped because DLP is not enabled for the user.", - "Rule fetch and evaluation are skipped because the user sending message is consumer.", - "Rule fetch and evaluation are skipped because the user sending message is a non-human user (i.e. a bot).", - "Rule fetch and evaluation are skipped because there is no message to scan. Deprecated: this should not happen since there must be message or attachment for DLP scan.", - "Rule fetch and evaluation are skipped because the user has acknowledged the warning on the message that triggered the Warn violation and sent the message anyway.", - "Scanning was skipped because the message originated from Interop or Babel.", - "Scanning was skipped because the message was sent while the space is in migration mode. See go/migration-mode for details.", - "Rule fetch happened, but rule evaluation is skipped because no rules were found.", - "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given action params. Deprecated. Use SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", - "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given trigger. Deprecated. Use SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", - "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable.", - "Rule fetch happened, but rule evaluation is skipped because Changeling returned permanent failure while converting the attachment to text.", - "Rule fetch happened, but rule evaluation is skipped because Changeling returned an empty response while converting the attachment to text.", - "Rule fetch happened, but rule evaluation is skipped because file type is unsupported.", - "Rules were fetched but some evaluations failed. No violation was found in the rules that were successfully evaluated.", - "Rules were fetched but some evaluations failed. A blocking violation was found in the rules that were successfully evaluated. The message/attachment will be blocked, the user will be notified, and the violation will be logged to BIP. A blocking violation takes precedence over all other violation types.", - "Rules were fetched but some evaluations failed. A warn violation was found in the rules that were successfully evaluated. The user will be warned, and the violation will be logged to BIP.", - "Rules were fetched but some evaluations failed. An audit-only violation was found in the rules that were successfully evaluated. The violation will be logged to BIP (no user-facing action performed)." - ], - "type": "string" + "itemsVisibility": { + "description": "This field restricts visibility to items at the datasource level. Items within the datasource are restricted to the union of users and groups included in this field. Note that, this does not ensure access to a specific item, as users need to have ACL permissions on the contained items. This ensures a high level access on the entire datasource, and that the individual items are not shared outside this visibility.", + "items": { + "$ref": "GSuitePrincipal" + }, + "type": "array" }, - "dlpScanSummary": { - "$ref": "DlpScanSummary", - "description": "Summary of a Data Loss Prevention (DLP) scan of the attachment. Attachments are evaluated in the backend when they are uploaded." + "name": { + "description": "The name of the datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource.", + "type": "string" }, - "experiment": { - "description": "The list of experiments this video is enabled for", + "operationIds": { + "description": "IDs of the Long Running Operations (LROs) currently running for this schema.", "items": { - "enum": [ - "UNKNOWN_EXPERIMENT", - "KRONOS_FAST_FORMAT" - ], - "enumDescriptions": [ - "", - "" - ], "type": "string" }, "type": "array" }, - "groupId": { - "$ref": "GroupId", - "description": "GroupId to which this attachment is uploaded." - }, - "isClientSideTranscodedVideo": { - "description": "If the uploaded file is a video that has been transcoded on the client side", + "returnThumbnailUrls": { + "description": "Can a user request to get thumbnail URI for Items indexed in this data source.", "type": "boolean" }, - "migratedFromHangoutsMetadata": { - "$ref": "AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata" - }, - "originalDimension": { - "$ref": "AppsDynamiteSharedDimension", - "description": "Original dimension of the content. Only set for image attachments." - }, - "quoteReplyMessageId": { - "$ref": "MessageId", - "description": "The message id of a quote reply referencing this attachment. When present, this attachment has been quoted in a reply message. Normally, the attachment is fetched through the message id in the blob_path, but in the case of a quote reply, the blob_path would contain the quoted message id. Thus this message id field is needed to fetch the quote reply message instead. This field is conditionally populated at read time for quotes and never persisted in storage. See go/message-quoting-attachments for more context." - }, - "sha256": { - "description": "The SHA256 hash of the attachment bytes.", - "format": "byte", - "type": "string" - }, - "uploadIp": { - "description": "User IP address at upload time. Ex. \"123.1.2.3\". Used by Ares abuse scanning.", - "type": "string" - }, - "uploadTimestampUsec": { - "description": "Timestamp of when user finished uploading the content.", - "format": "int64", - "type": "string" - }, - "videoId": { - "description": "VideoID of the video attachments. This ID shall meets the Youtube ID format of 16 hex characters. For example, '4c14b8825af6059b' is a valid ID.", - "type": "string" - }, - "videoThumbnailBlobId": { - "description": "Full Blobstore ID for the video thumbnail.", - "type": "string" - }, - "virusScanResult": { - "description": "Result for a virus scan.", - "enum": [ - "UNKNOWN_VIRUS_SCAN_RESULT", - "CLEAN", - "INFECTED", - "ERROR", - "POLICY_VIOLATION" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "The document violates Google's policy for executables and archives." - ], + "shortName": { + "description": "A short name or alias for the source. This value will be used to match the 'source' operator. For example, if the short name is *\u003cvalue\u003e* then queries like *source:\u003cvalue\u003e* will only return results for this source. The value must be unique across all datasources. The value must only contain alphanumeric characters (a-zA-Z0-9). The value cannot start with 'google' and cannot be one of the following: mail, gmail, docs, drive, groups, sites, calendar, hangouts, gplus, keep, people, teams. Its maximum length is 32 characters.", "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata": { - "description": "Metadata for attachments migrated from Hangouts", - "id": "AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata", + "DataSourceIndexStats": { + "description": "Aggregation of items by status code as of the specified date.", + "id": "DataSourceIndexStats", "properties": { - "photoId": { - "$ref": "AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId" + "date": { + "$ref": "Date", + "description": "The date for which index stats were calculated. If the date of request is not the current date then stats calculated on the next day are returned. Stats are calculated close to mid night in this case. If date of request is current date, then real time stats are returned." }, - "updateTimestampUsec": { - "format": "int64", - "type": "string" + "itemCountByStatus": { + "description": "Number of items aggregrated by status code.", + "items": { + "$ref": "ItemCountByStatus" + }, + "type": "array" } }, "type": "object" }, - "AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId": { - "id": "AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId", + "DataSourceRestriction": { + "description": "Restriction on Datasource.", + "id": "DataSourceRestriction", "properties": { - "photoId": { - "format": "int64", - "type": "string" + "filterOptions": { + "description": "Filter options restricting the results. If multiple filters are present, they are grouped by object type before joining. Filters with the same object type are joined conjunctively, then the resulting expressions are joined disjunctively. The maximum number of elements is 20. NOTE: Suggest API supports only few filters at the moment: \"objecttype\", \"type\" and \"mimetype\". For now, schema specific filters cannot be used to filter suggestions.", + "items": { + "$ref": "FilterOptions" + }, + "type": "array" }, - "userId": { - "format": "int64", - "type": "string" + "source": { + "$ref": "Source", + "description": "The source of restriction." } }, "type": "object" }, - "AppsDynamiteSharedCalendarEventAnnotationData": { - "id": "AppsDynamiteSharedCalendarEventAnnotationData", + "Date": { + "description": "Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date between the year 1 and 9999.", + "id": "Date", "properties": { - "calendarEvent": { - "$ref": "AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent" + "day": { + "description": "Day of month. Must be from 1 to 31 and valid for the year and month.", + "format": "int32", + "type": "integer" + }, + "month": { + "description": "Month of date. Must be from 1 to 12.", + "format": "int32", + "type": "integer" }, - "eventCreation": { - "$ref": "AppsDynamiteSharedCalendarEventAnnotationDataEventCreation", - "description": "Notification about the creation of an event." + "year": { + "description": "Year of date. Must be from 1 to 9999.", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent": { - "id": "AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent", + "DateOperatorOptions": { + "description": "Optional. Provides a search operator for date properties. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", + "id": "DateOperatorOptions", "properties": { - "endTime": { - "$ref": "AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime", - "description": "The end time of the event." - }, - "eventId": { - "description": "ID of the event.", + "greaterThanOperatorName": { + "description": "Indicates the operator name required in the query in order to isolate the date property using the greater-than operator. For example, if greaterThanOperatorName is *closedafter* and the property's name is *closeDate*, then queries like *closedafter:\u003cvalue\u003e* show results only where the value of the property named *closeDate* is later than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", "type": "string" }, - "startTime": { - "$ref": "AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime", - "description": "The start time of the event." + "lessThanOperatorName": { + "description": "Indicates the operator name required in the query in order to isolate the date property using the less-than operator. For example, if lessThanOperatorName is *closedbefore* and the property's name is *closeDate*, then queries like *closedbefore:\u003cvalue\u003e* show results only where the value of the property named *closeDate* is earlier than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", + "type": "string" }, - "title": { - "description": "Title of the event (at the time the message was generated).", + "operatorName": { + "description": "Indicates the actual string required in the query in order to isolate the date property. For example, suppose an issue tracking schema object has a property named *closeDate* that specifies an operator with an operatorName of *closedon*. For searches on that data, queries like *closedon:\u003cvalue\u003e* show results only where the value of the *closeDate* property matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the indexed datasource. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime": { - "id": "AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime", + "DatePropertyOptions": { + "description": "The options for date properties.", + "id": "DatePropertyOptions", "properties": { - "allDay": { - "$ref": "Date", - "description": "All day event." - }, - "timed": { - "description": "Non all day event.", - "format": "google-datetime", - "type": "string" + "operatorOptions": { + "$ref": "DateOperatorOptions", + "description": "If set, describes how the date should be used as a search operator." } }, "type": "object" }, - "AppsDynamiteSharedCalendarEventAnnotationDataEventCreation": { - "description": "Creation of an event (no extra data for now).", - "id": "AppsDynamiteSharedCalendarEventAnnotationDataEventCreation", - "properties": {}, + "DateValues": { + "description": "List of date values.", + "id": "DateValues", + "properties": { + "values": { + "items": { + "$ref": "Date" + }, + "type": "array" + } + }, "type": "object" }, - "AppsDynamiteSharedCallAnnotationData": { - "description": "Data used to render Meet or Google Voice chips in Chat. See go/dynamite-calling-artifacts-in-chat.", - "id": "AppsDynamiteSharedCallAnnotationData", + "DebugOptions": { + "description": "Shared request debug options for all cloudsearch RPC methods.", + "id": "DebugOptions", "properties": { - "callEndedTimestamp": { - "description": "Timestamp when the call ended. Used to render the call ended system message.", - "format": "google-datetime", + "enableDebugging": { + "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", + "type": "boolean" + } + }, + "type": "object" + }, + "DeleteQueueItemsRequest": { + "id": "DeleteQueueItemsRequest", + "properties": { + "connectorName": { + "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", "type": "string" }, - "callMetadata": { - "$ref": "AppsDynamiteSharedCallMetadata", - "description": "Required. Call metadata required to create the call artifacts. For now, the metadata contains only the call id to identify the call. This field allows additional data (e.g. voice call type) to be added if needed in the future." + "debugOptions": { + "$ref": "DebugOptions", + "description": "Common debug options." }, - "callStatus": { - "description": "Required. Indicates the call status for the space. Used to determine the chip's state.", - "enum": [ - "CALL_STATUS_UNSPECIFIED", - "CALL_STARTED", - "CALL_MISSED", - "CALL_ENDED" - ], - "enumDescriptions": [ - "Default value for the enum. DO NOT USE.", - "Indicates that the call has started.", - "Indicates that the call is missed.", - "Indicates that the call has ended." - ], + "queue": { + "description": "The name of a queue to delete items from.", "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedCallMetadata": { - "description": "Metadata required to generate call artifacts. This can either be the metadata for a Meet or, in the future, Google Voice call.", - "id": "AppsDynamiteSharedCallMetadata", + "DisplayedProperty": { + "description": "A reference to a top-level property within the object that should be displayed in search results. The values of the chosen properties is displayed in the search results along with the display label for that property if one is specified. If a display label is not specified, only the values is shown.", + "id": "DisplayedProperty", "properties": { - "meetMetadata": { - "$ref": "AppsDynamiteSharedMeetMetadata", - "description": "Metadata specific for the Meet call." + "propertyName": { + "description": "The name of the top-level property as defined in a property definition for the object. If the name is not a defined property in the schema, an error is given when attempting to update the schema.", + "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedCardClickSuggestion": { - "description": "Card click which identifies one suggestion provided by the app/bot.", - "id": "AppsDynamiteSharedCardClickSuggestion", + "DoubleOperatorOptions": { + "description": "Used to provide a search operator for double properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", + "id": "DoubleOperatorOptions", "properties": { - "actionId": { - "description": "Identify the button/action that created the suggestion. A simple example would be a card button within the stream, or the id which can identify a specific suggestion.", + "operatorName": { + "description": "Indicates the operator name required in the query in order to use the double property in sorting or as a facet. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", "type": "string" - }, - "suggestionMessageId": { - "$ref": "MessageId", - "description": "The message_id for the message that was posted by the app/bot." } }, "type": "object" }, - "AppsDynamiteSharedChatItem": { - "description": "Next Id: 5", - "id": "AppsDynamiteSharedChatItem", + "DoublePropertyOptions": { + "description": "The options for double properties.", + "id": "DoublePropertyOptions", "properties": { - "activityInfo": { - "description": "Information needed to render the specific type of feed item.", - "items": { - "$ref": "AppsDynamiteSharedChatItemActivityInfo" - }, - "type": "array" - }, - "groupInfo": { - "$ref": "AppsDynamiteSharedChatItemGroupInfo", - "description": "Only populated on read path and should not be persisted in storage." - }, - "messageInfo": { - "$ref": "AppsDynamiteSharedMessageInfo", - "description": "Additional information about the original chat message that isn't captured in the top-level message proto." + "operatorOptions": { + "$ref": "DoubleOperatorOptions", + "description": "If set, describes how the double should be used as a search operator." } }, "type": "object" }, - "AppsDynamiteSharedChatItemActivityInfo": { - "id": "AppsDynamiteSharedChatItemActivityInfo", + "DoubleValues": { + "description": "List of double values.", + "id": "DoubleValues", "properties": { - "feedItemNudge": { - "$ref": "AppsDynamiteSharedChatItemActivityInfoFeedItemNudge" - }, - "feedItemReactions": { - "$ref": "AppsDynamiteSharedChatItemActivityInfoFeedItemReactions" - }, - "feedItemThreadReply": { - "$ref": "AppsDynamiteSharedChatItemActivityInfoFeedItemThreadReply" - }, - "feedItemUserMention": { - "$ref": "AppsDynamiteSharedChatItemActivityInfoFeedItemUserMention" + "values": { + "items": { + "format": "double", + "type": "number" + }, + "type": "array" } }, "type": "object" }, - "AppsDynamiteSharedChatItemActivityInfoFeedItemNudge": { - "description": "Existence of this attribute indicates that the AF item is for a message nudge item.", - "id": "AppsDynamiteSharedChatItemActivityInfoFeedItemNudge", + "DriveFollowUpRestrict": { + "description": "Drive follow-up search restricts (e.g. \"followup:suggestions\").", + "id": "DriveFollowUpRestrict", "properties": { - "nudgeType": { - "description": "Nudge type of the nudge feed item.", + "type": { "enum": [ - "UNDEFINED", - "REPLY", - "FOLLOW_UP" + "UNSPECIFIED", + "FOLLOWUP_SUGGESTIONS", + "FOLLOWUP_ACTION_ITEMS" ], "enumDescriptions": [ "", - "The message receiver is nudged since the message may require a reply.", - "The message creator is nudged since the message may require a follow-up." + "", + "" ], "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedChatItemActivityInfoFeedItemReactions": { - "description": "Existence of this attribute indicates that the AF item is for message reactions, but it is intentionally left empty since the list of reactions can be found in the top-level Message.Reactions.", - "id": "AppsDynamiteSharedChatItemActivityInfoFeedItemReactions", - "properties": {}, - "type": "object" - }, - "AppsDynamiteSharedChatItemActivityInfoFeedItemThreadReply": { - "description": "Existence of this attribute indicates that the AF item is for thread reply.", - "id": "AppsDynamiteSharedChatItemActivityInfoFeedItemThreadReply", + "DriveLocationRestrict": { + "description": "Drive location search restricts (e.g. \"is:starred\").", + "id": "DriveLocationRestrict", "properties": { - "replyType": { - "description": "Reply type of the thread reply feed item. The field is not persisted in storage. It's populated when constructing Activity Feed payload.", + "type": { "enum": [ "UNSPECIFIED", - "ROOT", - "FOLLOWER" + "TRASHED", + "STARRED" ], "enumDescriptions": [ "", - "The thread reply feed item is for the root message poster.", - "The thread reply feed item is for a thread follower who's not the root message poster." + "", + "" ], "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedChatItemActivityInfoFeedItemUserMention": { - "description": "Existence of this attribute indicates that the AF item is for a user mention item.", - "id": "AppsDynamiteSharedChatItemActivityInfoFeedItemUserMention", + "DriveMimeTypeRestrict": { + "description": "Drive mime-type search restricts (e.g. \"type:pdf\").", + "id": "DriveMimeTypeRestrict", "properties": { "type": { - "description": "User mention type", "enum": [ - "TYPE_UNSPECIFIED", - "DIRECT", - "ALL" + "UNSPECIFIED", + "PDF", + "DOCUMENT", + "PRESENTATION", + "SPREADSHEET", + "FORM", + "DRAWING", + "SCRIPT", + "MAP", + "IMAGE", + "AUDIO", + "VIDEO", + "FOLDER", + "ARCHIVE", + "SITE" ], "enumDescriptions": [ - "Mention type not specified.", - "Mentioned directly by name.", - "Mentioned by @all." + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" ], "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedChatItemGroupInfo": { - "description": "Information about the space that the item originated from. This will be used to display Activity Feed items from rooms, and only contain the necessary information, such as the space name and group attributes. NEXT TAG: 6", - "id": "AppsDynamiteSharedChatItemGroupInfo", + "DriveTimeSpanRestrict": { + "description": "The time span search restrict (e.g. \"after:2017-09-11 before:2017-09-12\").", + "id": "DriveTimeSpanRestrict", "properties": { - "attributeCheckerGroupType": { - "description": "This is needed to determine what type of group the source message came from to support click-to-source.", + "type": { "enum": [ - "ATTRIBUTE_CHECKER_GROUP_TYPE_UNSPECIFIED", - "ONE_TO_ONE_HUMAN_DM", - "ONE_TO_ONE_BOT_DM", - "IMMUTABLE_MEMBERSHIP_GROUP_DM", - "FLAT_ROOM", - "THREADED_ROOM", - "IMMUTABLE_MEMBERSHIP_HUMAN_DM", - "ACTIVITY_FEED", - "SHORTCUT" + "UNSPECIFIED", + "TODAY", + "YESTERDAY", + "LAST_7_DAYS", + "LAST_30_DAYS", + "LAST_90_DAYS" ], "enumDescriptions": [ - "LINT.IfChange", - "A 1:1 DM that has two human users. Deprecated. Use IMMUTABLE_MEMBERSHIP_HUMAN_DM instead.", - "A 1:1 DM between a human user and a bot.", - "A group DM that has multiple human users with immutable group membership. Deprecated. Use IMMUTABLE_MEMBERSHIP_HUMAN_DM instead.", - "A flat room that contains a single thread.", - "A threaded room. Topics in this room are threaded, and users can reply to any topic.", - "A DM with immutable group membership. It can be a 1:1 DM or a group DM with multiple human users.", - "Represents an Activity Feed space. These groups are modeled like flat rooms and contain items for users to catch up on important things. Each user should only have one group of this type. See go/activity-feed. Deprecated: The go/activity-feed project is cancelled and this should no longer be used.", - "Represents a shortcut space. These groups are modeled like flat rooms and contain items for users to catch up on important things such as user mentioned messages and starred messages. LINT.ThenChange(//depot/google3/logs/proto/apps_dynamite/dynamite_visual_element_entry.proto:LoggingGroupType,//depot/google3/java/com/google/apps/dynamite/v1/web/ui/group/groups.js:LoggingGroupType)" + "", + "", + "", + "", + "Not Enabled", + "Not Enabled" ], "type": "string" - }, - "groupName": { - "type": "string" - }, - "groupReadTimeUsec": { - "description": "Timestamp of when the group containing the message has been read by the user.", - "format": "int64", - "type": "string" - }, - "inlineThreadingEnabled": { - "description": "Indicates whether the group has inline replies enabled. If enabled, clients will render the space with inline replies.", - "type": "boolean" } }, "type": "object" }, - "AppsDynamiteSharedContentReportType": { - "description": "Denotes a type of content report a user can send.", - "id": "AppsDynamiteSharedContentReportType", + "EmailAddress": { + "description": "A person's email address.", + "id": "EmailAddress", "properties": { - "systemViolation": { - "description": "Required. Google-defined system violation, covering the most common violations.", - "enum": [ - "VIOLATION_UNSPECIFIED", - "HARASSMENT", - "DISCRIMINATION", - "EXPLICIT_CONTENT", - "SPAM", - "CONFIDENTIAL_INFORMATION", - "SENSITIVE_INFORMATION", - "FRAUD", - "MALWARE", - "ILLEGAL_ACTIVITIES", - "OTHER" - ], - "enumDescriptions": [ - "Default value if unset. Do not use directly. This value should not appear as a selectable violation during content reporting.", - "\"Harassment, offensive, or rude behavior\"", - "\"Discrimination or harmful stereotypes against anyone, including protected groups\"", - "\"Explicit content that's graphic, violent, or otherwise inappropriate\"", - "\"Spam\"", - "\"Confidential information\"", - "\"Sensitive information\"", - "Phishing, impersonation/misrepresentation, or deceiving other users into sharing information under false pretenses.", - "Malware, viruses, Trojan horses, corrupted files, destructive code, etc.", - "Promoting, organizing, or engaging in illegal activities.", - "\"Something else\"" - ], - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedCustomEmoji": { - "description": "Proto representation of a custom emoji. May be used in both APIs and in Spanner, but certain fields should be restricted to one or the other. See the per-field documentation for details. NEXT_TAG: 14", - "id": "AppsDynamiteSharedCustomEmoji", - "properties": { - "blobId": { - "description": "ID for the underlying image data in Blobstore. This field should *only* be present in Spanner or within the server, but should not be exposed in public APIs.", - "type": "string" - }, - "contentType": { - "description": "Content type of the file used to upload the emoji. Used for takeout. Written to Spanner when the emoji is created.", - "type": "string" - }, - "createTimeMicros": { - "description": "Time when the Emoji was created, in microseconds. This field may be present in Spanner, within the server, or in public APIs.", - "format": "int64", - "type": "string" - }, - "creatorUserId": { - "$ref": "UserId", - "description": "This field should *never* be persisted to Spanner." - }, - "deleteTimeMicros": { - "description": "Time when the emoji was deleted, in microseconds. This field may be present in Spanner, within the server, or in public APIs. Only present if the emoji has been deleted.", - "format": "int64", - "type": "string" - }, - "ephemeralUrl": { - "description": "Output only. A short-lived URL clients can use for directly accessing a custom emoji image. This field is intended for API consumption, and should *never* be persisted to Spanner.", - "readOnly": true, - "type": "string" - }, - "ownerCustomerId": { - "$ref": "CustomerId", - "description": "This field should *never* be persisted to Spanner." - }, - "readToken": { - "description": "Opaque token that clients use to construct the URL for accessing the custom emoji’s image data. This field is intended for API consumption, and should *never* be persisted to Spanner.", + "customType": { + "description": "If the value of type is custom, this property contains the custom type string.", "type": "string" }, - "shortcode": { - "description": "User-provided, human-readable ID for the custom emoji. Users are expected to observe this field in the UI instead of the UUID. This shortcode should be unique within an organization, but has no global uniqueness guarantees, unlike the UUID. This field should *never* be persisted to Spanner.", + "emailAddress": { + "description": "The email address.", "type": "string" }, - "state": { - "description": "Snapshot of the current state of the emoji, which may differ from the source-of-truth in the CustomEmojis table. This field should *never* be persisted to Spanner.", - "enum": [ - "EMOJI_STATE_UNSPECIFIED", - "EMOJI_ENABLED", - "EMOJI_SYSTEM_DISABLED", - "EMOJI_HIDDEN", - "EMOJI_DELETED" - ], - "enumDescriptions": [ - "", - "Emoji is visible and available to be used, subject to access control requirements.", - "Emoji can no longer be used (e.g. due to a shortcode conflict), but is not removed from existing embeddings.", - "Emoji is hidden from pickers, so new usages are not allowed, but is not removed from existing embeddings.", - "Emoji is removed everywhere and is not available to end-users." - ], + "emailUrl": { + "description": "The URL to send email.", "type": "string" }, - "updateTimeMicros": { - "format": "int64", - "type": "string" + "primary": { + "description": "Indicates if this is the user's primary email. Only one entry can be marked as primary.", + "type": "boolean" }, - "uuid": { - "description": "Unique key for a custom emoji resource. Required. This field is *always* populated.", + "type": { + "description": "The type of the email account. Acceptable values are: \"custom\", \"home\", \"other\", \"work\".", "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedDimension": { - "description": "Dimension for the uploaded attachments.", - "id": "AppsDynamiteSharedDimension", + "EnterpriseTopazFrontendTeamsLink": { + "id": "EnterpriseTopazFrontendTeamsLink", "properties": { - "height": { - "format": "int32", - "type": "integer" + "type": { + "description": "The identifying link type", + "type": "string" }, - "width": { - "format": "int32", - "type": "integer" + "url": { + "$ref": "SafeUrlProto" } }, "type": "object" }, - "AppsDynamiteSharedDlpMetricsMetadata": { - "description": "LINT.IfChange", - "id": "AppsDynamiteSharedDlpMetricsMetadata", + "EnterpriseTopazFrontendTeamsPersonCorePhoneNumber": { + "id": "EnterpriseTopazFrontendTeamsPersonCorePhoneNumber", "properties": { - "dlpStatus": { - "description": "[required] Describes the DLP status of message send and attachment upload events.", + "phoneNumber": { + "description": "Phone number in no particular format (as comes from the Focus profile).", + "type": "string" + }, + "phoneUrl": { + "$ref": "SafeUrlProto", + "description": "Phone number URL" + }, + "type": { "enum": [ - "DLP_STATUS_UNKNOWN", - "DLP_DISABLED", - "DLP_ENABLED_NO_RULE_FETCH", - "DLP_ENABLED_RULES_FETCHED_NO_RULES", - "DLP_ENABLED_RULES_FETCHED_NO_APPLICABLE_RULES", - "DLP_ENABLED_RULES_FETCHED_AND_EVALUATED", - "DLP_ENABLED_SCAN_TIMEOUT", - "DLP_ENABLED_SCAN_FAILED" + "UNKNOWN", + "MOBILE", + "OFFICE", + "OTHER" ], "enumDescriptions": [ "", - "Rule fetch and evaluation are skipped because DLP experiment is not enabled.", - "Rule fetch and evaluation are skipped because there is no rule to be fetched (e.g. message is sent from a consumer, or there is no message.)", - "Rule fetch happened, but rule evalution is skipped because the fetch returned no rules.", - "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable.", - "Rule fetch and evaluation were performed and completed successfully.", - "DLP scan was attempted but timed out.", - "Generic DLP failure. This case covers any other errors/exceptions in the Chat backend that caused the DLP scan to fail." + "", + "", + "" ], "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedDocument": { - "description": "Data for rendering a document.", - "id": "AppsDynamiteSharedDocument", + "EnterpriseTopazSidekickAgendaEntry": { + "description": "An AgendaEntry, e.g., a Calendar Event.", + "id": "EnterpriseTopazSidekickAgendaEntry", "properties": { - "fileId": { - "description": "Unique file ID.", + "agendaItemUrl": { + "description": "URL of the agenda item.", "type": "string" }, - "justification": { - "$ref": "AppsDynamiteSharedJustification", - "description": "Justification to explain why this document is being suggested." + "chronology": { + "description": "The chronology from the present.", + "enum": [ + "STALE", + "ALL_DAY", + "PAST", + "RECENTLY_PAST", + "PRESENT", + "NEAR_FUTURE", + "FUTURE" + ], + "enumDescriptions": [ + "Stale.", + "All day.", + "Past.", + "Recently past.", + "Present.", + "Near future.", + "Future." + ], + "type": "string" }, - "lastModifiedTime": { - "description": "Time the document was last modified.", - "format": "google-datetime", + "creator": { + "$ref": "EnterpriseTopazSidekickPerson", + "description": "Person who created the event." + }, + "currentUserAttendingStatus": { + "description": "Attendance status for the current user making the request. This is a convenience data member in order to avoid figuring out the same by iterating the invitee list above on the caller side.", + "enum": [ + "AWAITING", + "YES", + "NO", + "MAYBE" + ], + "enumDescriptions": [ + "Awaiting for the user to set the status.", + "Attending.", + "Not attending.", + "Tentatively attending." + ], "type": "string" }, - "mimeType": { - "description": "Used to determine which icon to render (e.g. docs, slides, sheets)", + "description": { + "description": "Description of the agenda item (i.e., typically, summary in calendar event).", "type": "string" }, - "title": { - "description": "Title of the document.", + "document": { + "description": "Items related to the current AgendaEntry. E.g., related drive/mail/groups documents.", + "items": { + "$ref": "EnterpriseTopazSidekickCommonDocument" + }, + "type": "array" + }, + "endDate": { + "description": "End date \"Friday, August 26\" in the user's timezone.", "type": "string" }, - "url": { - "description": "URL of the document.", + "endTime": { + "description": "End time (HH:mm) in the user's timezone.", "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedEmoji": { - "id": "AppsDynamiteSharedEmoji", - "properties": { - "customEmoji": { - "$ref": "AppsDynamiteSharedCustomEmoji", - "description": "A custom emoji." }, - "unicode": { - "description": "A basic emoji represented by a unicode string.", + "endTimeMs": { + "description": "End time in milliseconds", + "format": "int64", "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedFindDocumentSuggestion": { - "description": "Data for a FindDocument suggestion type.", - "id": "AppsDynamiteSharedFindDocumentSuggestion", - "properties": { - "documentSuggestions": { - "description": "List of documents to render as suggestions.", + }, + "eventId": { + "description": "Event id provided by Calendar API.", + "type": "string" + }, + "guestsCanInviteOthers": { + "description": "Whether the guests can invite other guests.", + "type": "boolean" + }, + "guestsCanModify": { + "description": "Whether the guests can modify the event.", + "type": "boolean" + }, + "guestsCanSeeGuests": { + "description": "Whether the guests of the event can be seen. If false, the user is going to be reported as the only attendee to the meeting, even though there may be more attendees.", + "type": "boolean" + }, + "hangoutId": { + "description": "Hangout meeting identifier.", + "type": "string" + }, + "hangoutUrl": { + "description": "Absolute URL for the Hangout meeting.", + "type": "string" + }, + "invitee": { + "description": "People attending the meeting.", "items": { - "$ref": "AppsDynamiteSharedDocument" + "$ref": "EnterpriseTopazSidekickPerson" }, "type": "array" }, - "showActionButtons": { - "description": "Whether to show the action buttons in the card for the suggestions.", + "isAllDay": { + "description": "Whether the entry lasts all day.", "type": "boolean" - } - }, - "type": "object" - }, - "AppsDynamiteSharedGroupDetails": { - "description": "NEXT TAG: 3 A GroupDetails proto will store the information pertaining to single Group.", - "id": "AppsDynamiteSharedGroupDetails", - "properties": { - "description": { - "description": "A simple text that describes the purpose of a single Group, the general theme of the topics to be posted and/or the denominator of the Group participants.", + }, + "lastModificationTimeMs": { + "description": "Last time the event was modified.", + "format": "int64", "type": "string" }, - "guidelines": { - "description": "A simple text describing the rules and expectations from members when participating in conversation.", + "location": { + "description": "Agenda item location.", "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedGroupVisibility": { - "id": "AppsDynamiteSharedGroupVisibility", - "properties": { - "state": { - "enum": [ - "UNKNOWN", - "PRIVATE", - "PUBLIC" - ], - "enumDescriptions": [ - "Do not use.", - "Explicitly invited users may join the room.", - "Anyone in the domain may join the room." - ], + }, + "notifyToUser": { + "description": "Whether this should be notified to the user.", + "type": "boolean" + }, + "otherAttendeesExcluded": { + "description": "Whether guest list is not returned because number of attendees is too large.", + "type": "boolean" + }, + "requesterIsOwner": { + "description": "Whether the requester is the owner of the agenda entry.", + "type": "boolean" + }, + "showFullEventDetailsToUse": { + "description": "Whether the details of this entry should be displayed to the user.", + "type": "boolean" + }, + "startDate": { + "description": "Start date \"Friday, August 26\" in the user's timezone.", "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedJustification": { - "description": "Data for rendering a justification for a document.", - "id": "AppsDynamiteSharedJustification", - "properties": { - "actionTime": { - "description": "Time the action took place.", - "format": "google-datetime", + }, + "startTime": { + "description": "Start time (HH:mm) in the user's timezone.", "type": "string" }, - "actionType": { - "description": "Type of action performed on the document.", - "enum": [ - "ACTION_TYPE_UNSPECIFIED", - "COMMENTED", - "CREATED", - "EDITED", - "PRESENTED", - "SHARED", - "VIEWED", - "COMMENT_RESOLVED", - "SENT" - ], - "enumDescriptions": [ - "Unspecified action.", - "Commented on document.", - "Created document.", - "Edited document.", - "Presented document.", - "Shared document.", - "Viewed document.", - "Resolved comment on document.", - "Sent document over chat/email." - ], + "startTimeMs": { + "description": "Start time in milliseconds.", + "format": "int64", "type": "string" }, - "documentOwner": { - "$ref": "AppsDynamiteSharedJustificationPerson", - "description": "Owner of the document." + "timeZone": { + "description": "User's calendar timezone;", + "type": "string" }, - "topics": { - "description": "Words or phrases from the user's query that describes the document content. (Ex: Users query is \"Can you share the document about Bullseye?\" the extracted topic would be \"Bullseye\").", - "items": { - "type": "string" - }, - "type": "array" + "title": { + "description": "Title of the agenda item.", + "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedJustificationPerson": { - "description": "Data for rendering a person associated with a document.", - "id": "AppsDynamiteSharedJustificationPerson", + "EnterpriseTopazSidekickAgendaGroupCardProto": { + "id": "EnterpriseTopazSidekickAgendaGroupCardProto", "properties": { - "isRecipient": { - "description": "Whether the person is the recipient of the suggestions.", - "type": "boolean" + "agendaItem": { + "items": { + "$ref": "EnterpriseTopazSidekickAgendaItem" + }, + "type": "array" }, - "user": { - "$ref": "UserId", - "description": "Obfuscated user ID." + "context": { + "$ref": "EnterpriseTopazSidekickAgendaGroupCardProtoContext" + }, + "currentAgendaItem": { + "$ref": "EnterpriseTopazSidekickAgendaItem" } }, "type": "object" }, - "AppsDynamiteSharedMeetMetadata": { - "description": "Metadata specific for a Meet call that are required to generate call artifacts.", - "id": "AppsDynamiteSharedMeetMetadata", + "EnterpriseTopazSidekickAgendaGroupCardProtoContext": { + "description": "The context that resulted in the generation of the card.", + "id": "EnterpriseTopazSidekickAgendaGroupCardProtoContext", "properties": { - "meetingCode": { - "description": "Required. A globally unique code (e.g. \"cxv-zbgj-wzw\") that points to a meeting space. Note: Meeting codes may be regenerated, which will cause old meeting codes to become invalid.", + "context": { + "description": "User friendly free text that describes the context of the card (e.g. \"Next meeting with Bob\"). This is largely only applicable when the card is generated from a query.", + "type": "string" + }, + "date": { + "description": "Localized free text that describes the dates represented by the card. Currently, the card will only represent a single day.", "type": "string" }, - "meetingType": { - "description": "Required. Type of the meeting. This controls the chat client UX.", + "eventsRestrict": { + "description": "Represents restrictions applied to the events requested in the user's query.", "enum": [ - "MEETING_TYPE_UNSPECIFIED", - "HUDDLE", - "CALL" + "NONE", + "NEXT_MEETING" ], "enumDescriptions": [ - "", - "", - "" + "No specific event was requested.", + "The next meeting was requested." ], "type": "string" - }, - "meetingUrl": { - "description": "Required. A URL, in the format \"https://meet.google.com/*\" (e.g. https://meet.google.com/cxv-zbgj-wzw), to identify and access the meeting space.", - "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedMessageComponentSearchInfo": { - "description": "Metadata used to describe search information in a specific component of a chat message, for example an annotation or an attachment.", - "id": "AppsDynamiteSharedMessageComponentSearchInfo", + "EnterpriseTopazSidekickAgendaItem": { + "id": "EnterpriseTopazSidekickAgendaItem", "properties": { - "matchedSearch": { - "description": "Whether the whole component matched the search.", - "type": "boolean" + "conflictedGroup": { + "$ref": "EnterpriseTopazSidekickConflictingEventsCardProto" }, - "titleTextWithDescription": { - "$ref": "AppsDynamiteSharedTextWithDescription", - "description": "Backend should always set TextWithDescription.text_body based on the title (or its snippet) of the annotation or attachment." + "gapBefore": { + "$ref": "EnterpriseTopazSidekickGap" + }, + "meeting": { + "$ref": "EnterpriseTopazSidekickAgendaEntry" } }, "type": "object" }, - "AppsDynamiteSharedMessageInfo": { - "description": "Information that references a Dynamite chat message. This is only used for Activity Feed messages.", - "id": "AppsDynamiteSharedMessageInfo", + "EnterpriseTopazSidekickAnswerAnswerList": { + "description": "A list of answers represented as free text.", + "id": "EnterpriseTopazSidekickAnswerAnswerList", "properties": { - "messageId": { - "$ref": "MessageId", - "description": "Id of the source chat message. This is kept here because the top-level message ID to refers the AF message ID." + "labeledAnswer": { + "description": "Answers that have a corresponding label.", + "items": { + "$ref": "EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer" + }, + "type": "array" }, - "messageType": { - "description": "The type of the source chat message.", + "type": { + "description": "Answer type.", "enum": [ - "MESSAGE_TYPE_UNSPECIFIED", - "INLINE_REPLY" + "UNKNOWN", + "PERSON_ADDRESS", + "PERSON_BIRTHDAY", + "PERSON_DEPARTMENT", + "PERSON_DESK_LOCATION", + "PERSON_EMAIL", + "PERSON_JOB_TITLE", + "PERSON_PHONE" ], "enumDescriptions": [ - "Default value where type is not specified.", - "The source chat message is a threaded reply to another message." + "", + "", + "", + "", + "", + "", + "", + "" ], "type": "string" - }, - "topicReadTimeUsec": { - "description": "Timestamp of when the topic containing the message has been read by the user. This is populated if the message references an inline reply, in which case the space may be marked as read but the topic still has unread messages.", - "format": "int64", - "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedMessageIntegrationPayload": { - "description": "The payload(restricted to 1P applications) to be stored with a specific message.", - "id": "AppsDynamiteSharedMessageIntegrationPayload", + "EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer": { + "description": "An answer with a corresponding label.", + "id": "EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer", "properties": { - "projectNumber": { - "description": "Pantheon project number used to identify the calling app.", - "format": "int64", + "answer": { + "description": "The free text answer.", "type": "string" }, - "tasksMessageIntegrationPayload": { - "$ref": "AppsDynamiteSharedTasksMessageIntegrationPayload" - }, - "type": { - "description": "An enum indicating which 1P application's payload this is. This field is required to add 1P payload.", - "enum": [ - "PAYLOAD_TYPE_UNSPECIFIED", - "TASKS" - ], - "enumDescriptions": [ - "", - "" - ], + "label": { + "description": "A localized label for the answer (e.g. \"Cell phone\" vs \"Desk phone\").", "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedMessageSearchInfo": { - "description": "Metadata used to describe how to render a message in search results page, e.g., highlighting and snipetting. In future, we can use this proto to return more search specific data attached to a message.", - "id": "AppsDynamiteSharedMessageSearchInfo", + "EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard": { + "description": "Contains a list of suggested queries. Allows the user to determine what natural language queries they can ask Cloud Search (e.g. \"what can I search for?\").", + "id": "EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard", "properties": { - "matchedSegmentsInTextBody": { - "description": "Current usage: - DescriptionType=KEYWORD_MATCH is populated in this field to return metadata for keyword matches, which clients can use to highlight matched segments in a message's text_body. - DescriptionType=SNIPPET can be used to return metadata describing how a message's text_body can be broken up to provide a snippet.", + "suggestedQueryCategory": { + "description": "A list of queries to suggest.", "items": { - "$ref": "AppsDynamiteSharedTextSegmentsWithDescription" + "$ref": "EnterpriseTopazSidekickAnswerSuggestedQueryCategory" }, "type": "array" } }, "type": "object" }, - "AppsDynamiteSharedOrganizationInfo": { - "description": "Contains info about the entity that something is, or is owned by.", - "id": "AppsDynamiteSharedOrganizationInfo", + "EnterpriseTopazSidekickAnswerSuggestedQueryCategory": { + "description": "Contains a list of suggested queries for a single category.", + "id": "EnterpriseTopazSidekickAnswerSuggestedQueryCategory", "properties": { - "consumerInfo": { - "$ref": "AppsDynamiteSharedOrganizationInfoConsumerInfo" + "category": { + "description": "The query list category.", + "enum": [ + "UNKNOWN", + "CALENDAR", + "DOCUMENT", + "PEOPLE" + ], + "enumDescriptions": [ + "Unknown.", + "Calendar based queries (e.g. \"my agenda for tomorrow\").", + "Document based queries (e.g. \"files shared with me\").", + "People based queries (e.g. \"what is x's email address?\")." + ], + "type": "string" }, - "customerInfo": { - "$ref": "AppsDynamiteSharedOrganizationInfoCustomerInfo" - } - }, - "type": "object" - }, - "AppsDynamiteSharedOrganizationInfoConsumerInfo": { - "description": "Intentionally empty. Used to disambiguate consumer and customer use cases in oneof below.", - "id": "AppsDynamiteSharedOrganizationInfoConsumerInfo", - "properties": {}, - "type": "object" - }, - "AppsDynamiteSharedOrganizationInfoCustomerInfo": { - "id": "AppsDynamiteSharedOrganizationInfoCustomerInfo", - "properties": { - "customerId": { - "$ref": "CustomerId" + "isEnabled": { + "description": "Whether this category is enabled.", + "type": "boolean" + }, + "query": { + "description": "List of suggested queries to show the user.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AppsDynamiteSharedOriginAppSuggestion": { - "description": "Stores the suggestion provided by apps/bots.", - "id": "AppsDynamiteSharedOriginAppSuggestion", - "properties": { - "appId": { - "$ref": "AppId" + "EnterpriseTopazSidekickAssistCardProto": { + "description": "Wrapper proto for the Assist cards.", + "id": "EnterpriseTopazSidekickAssistCardProto", + "properties": { + "agendaGroupCardProto": { + "$ref": "EnterpriseTopazSidekickAgendaGroupCardProto", + "description": "Agenda group card." + }, + "cardMetadata": { + "$ref": "EnterpriseTopazSidekickCardMetadata", + "description": "Card metadata such as chronology and render mode of the card." + }, + "cardType": { + "description": "Card type.", + "enum": [ + "UNKNOWN_TYPE", + "AGENDA", + "CHANGELISTS", + "CONFLICTING_MEETINGS", + "CREATE_NOTES_FOR_MEETING", + "CREATE_NOTES_FOR_MEETING_REQUEST", + "CUSTOMER_NEWS", + "FIND_MEETING_TIME", + "NEXT_MEETING", + "PERSONALIZED_DOCS", + "TRENDING_DOCS", + "UPCOMING_TRIP", + "SUMMARY", + "MEETINGS", + "HOMEPAGE", + "SHARE_MEETING_DOCS", + "DISCOVER_PEOPLE", + "HOMEPAGE_V3", + "AGENDA_GROUP", + "WORK_IN_PROGRESS", + "GET_AND_KEEP_AHEAD", + "GENERIC_ANSWER_CARD", + "THIRD_PARTY_ANSWER_CARD", + "DOMAIN_TRENDING_DOCS", + "TEAM_TRENDING_DOCS", + "DOCUMENT_LIST_ANSWER_CARD", + "SUGGESTED_QUERY_ANSWER_CARD", + "PERSON_ANSWER_CARD", + "RELATED_PEOPLE_ANSWER_CARD", + "PERSON_KNOWLEDGE_CARD", + "PEOPLE_SEARCH_PROMOTION_CARD" + ], + "enumDescriptions": [ + "The default type, an unknown card type.", + "The user's agenda for the day.", + "Changelists.", + "Any group of meetings for the day that are overlapping.", + "Create notes for a meeting specified in the request.", + "Create notes for meeting query.", + "News about your SFDC customers.", + "Find a time for two people to meet.", + "The user's next non-declined meeting.", + "Important documents for you since you have viewed them in the last month and there's some action going on.", + "Documents that are trending in your company. A TRENDING_DOCS card can be of two types: TRENDING_IN_COLLABORATORS (i.e., Stay in the Loop) and TRENDING_IN_DOMAIN (i.e., Popular Content). Use DOMAIN_TRENDING_DOCS/TEAM_TRENDING_DOCS instead.", + "An upcoming trip with all trip information along with calendar events in the destination timezone.", + "The Morning/Evening Summary Card for the next working day.", + "A meeting. When requesting meetings, the service will return a MEETING card for each meeting the user has in his agenda.", + "All cards related to the homepage (agenda, conflicting-meetings, summary, etc...). This type should no longer be used. Use HOMEPAGE_V3 instead.", + "A card to with specifics to share meeting documents with all attendees.", + "Represents a set of users that the requesting user has low affinity with.", + "All cards related to the homepage-v3 (agenda-group, WIP, etc...)", + "A group of agenda-events (meeting, conflicts)", + "The documents that you were recently working on.", + "(v3) The \"get and keep ahead\" card for today and tomorrow", + "Generic answer card.", + "Third party answer card.", + "Documents that are trending in your company/domain (i.e., Popular Content).", + "Documents that are trending in your team (i.e., Stay in the Loop).", + "Documents that match the user's query (e.g. sheets shared with me).", + "A help card that provides examples of queries the user can ask.", + "Answer card for a single person (e.g. what is x's phone number).", + "Answer card for a list of people related to the person that is the subject of the query (e.g. who reports to x).", + "Knowledge card for a single person and their related people.", + "People Search promotion card." + ], + "type": "string" + }, + "conflictingMeetingsCard": { + "$ref": "EnterpriseTopazSidekickConflictingEventsCardProto", + "description": "Conflicting events card." + }, + "documentListCard": { + "$ref": "EnterpriseTopazSidekickDocumentPerCategoryList", + "description": "Answer card for documents that are applicable to the current query." + }, + "documentsWithMentions": { + "$ref": "EnterpriseTopazSidekickDocumentPerCategoryList", + "description": "Documents with mentions." + }, + "findMeetingTimeCard": { + "$ref": "EnterpriseTopazSidekickFindMeetingTimeCardProto", + "description": "Find meeting time card." + }, + "genericAnswerCard": { + "$ref": "EnterpriseTopazSidekickGenericAnswerCard", + "description": "Generic answer card." + }, + "getAndKeepAheadCard": { + "$ref": "EnterpriseTopazSidekickGetAndKeepAheadCardProto", + "description": "Get and keep ahead card." + }, + "meeting": { + "$ref": "EnterpriseTopazSidekickAgendaEntry", + "description": "Meeting card." + }, + "meetingNotesCard": { + "$ref": "EnterpriseTopazSidekickMeetingNotesCardProto", + "description": "Meeting notes card." + }, + "meetingNotesCardRequest": { + "$ref": "EnterpriseTopazSidekickMeetingNotesCardRequest", + "description": "Request for meeting notes card." + }, + "peopleDisambiguationCard": { + "$ref": "EnterpriseTopazSidekickPeopleDisambiguationCard", + "description": "The people disambiguation card." + }, + "peoplePromotionCard": { + "$ref": "PeoplePromotionCard", + "description": "People Search promotion card." + }, + "personAnswerCard": { + "$ref": "EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard", + "description": "Answer card that represents a single person." + }, + "personProfileCard": { + "$ref": "EnterpriseTopazSidekickPersonProfileCard", + "description": "Full profile card." + }, + "personalizedDocsCard": { + "$ref": "EnterpriseTopazSidekickPersonalizedDocsCardProto", + "description": "Card with recommended documents for the user." + }, + "relatedPeopleAnswerCard": { + "$ref": "EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard", + "description": "Answer card that represents a list of people related to a person." + }, + "shareMeetingDocsCard": { + "$ref": "EnterpriseTopazSidekickShareMeetingDocsCardProto", + "description": "Sahre meeting docs card." + }, + "sharedDocuments": { + "$ref": "EnterpriseTopazSidekickDocumentPerCategoryList", + "description": "Shared documents." + }, + "suggestedQueryAnswerCard": { + "$ref": "EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard", + "description": "Answer card for what natural language queries the user can ask." + }, + "thirdPartyAnswerCard": { + "$ref": "ThirdPartyGenericCard", + "description": "Third party answer cards." }, - "cardClickSuggestion": { - "$ref": "AppsDynamiteSharedCardClickSuggestion" + "workInProgressCardProto": { + "$ref": "EnterpriseTopazSidekickRecentDocumentsCardProto", + "description": "Work In Progress card." } }, "type": "object" }, - "AppsDynamiteSharedPhoneNumber": { - "id": "AppsDynamiteSharedPhoneNumber", + "EnterpriseTopazSidekickCardMetadata": { + "description": "Card metadata.", + "id": "EnterpriseTopazSidekickCardMetadata", "properties": { - "type": { - "description": "The phone number type, e.g., work, mobile, etc.", + "cardCategory": { + "description": "Declares a preference for how this card should be packed in MSCR. All cards in a response must correspond to a single category. As a result, cards may be dropped from the response if this field is set. Any card that does not match the category of the card with the highest priority in the response will be dropped.", + "enum": [ + "DEFAULT", + "ANSWER", + "KNOWLEDGE", + "HOMEPAGE" + ], + "enumDescriptions": [ + "Let MSCR decide how this card should be packed. Most cards should choose this type. This type should largely be considered equivalent to ANSWER. However, this is not guaranteed to be the case as the request to MSCR may override the static configuration.", + "This card should be rendered as an answer card.", + "This card should be rendered as a knowledge card (a non-organic result).", + "This card should be rendered in the Homepage." + ], "type": "string" }, - "value": { - "description": "The actual phone number.", + "cardId": { + "description": "An ID to identify the card and match actions to it. Be thoughtful of new card IDs since actions will be associated to that ID. E.g., if two card IDs collide, the system will think that the actions have been applied to the same card. Similarly, if EAS can return multiple cards of the same type (e.g., Meetings), ensure that the card_id identifies a given instance of the card so that, e.g., dismissals only affect the dismissed card as opposed to affecting all meeting cards.", "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedReaction": { - "id": "AppsDynamiteSharedReaction", - "properties": { - "count": { - "description": "The total number of users who have reacted.", - "format": "int32", - "type": "integer" }, - "createTimestamp": { - "description": "When the first emoji of this type was added.", - "format": "int64", + "chronology": { + "description": "Chronology.", + "enum": [ + "UNKNOWN", + "PAST", + "RECENTLY_PAST", + "PRESENT", + "NEAR_FUTURE", + "FUTURE" + ], + "enumDescriptions": [ + "Unknown chronology (default).", + "Past.", + "Recently past.", + "Present.", + "Near future.", + "Future." + ], "type": "string" }, - "currentUserParticipated": { - "description": "Whether the current user reacted using this emoji. Note: Unlike most properties of messages, this is different per-user.", - "type": "boolean" - }, - "emoji": { - "$ref": "AppsDynamiteSharedEmoji" - } - }, - "type": "object" - }, - "AppsDynamiteSharedRetentionSettings": { - "description": "The settings of retention period of a message or topic.", - "id": "AppsDynamiteSharedRetentionSettings", - "properties": { - "expiryTimestamp": { - "description": "The timestamp after which the message/topic should be removed, in microseconds since the epoch, when state == EPHEMERAL_ONE_DAY. The value should not be set in other cases.", - "format": "int64", + "debugInfo": { + "description": "Debug info (only reported if request's debug_level \u003e 0).", "type": "string" }, - "state": { - "description": "The retention state.", + "nlpMetadata": { + "$ref": "EnterpriseTopazSidekickNlpMetadata", + "description": "Information about the NLP done to get the card." + }, + "rankingParams": { + "$ref": "EnterpriseTopazSidekickRankingParams", + "description": "Ranking params." + }, + "renderMode": { + "description": "Render mode.", "enum": [ - "UNKNOWN_RETENTION_STATE", - "PERMANENT", - "EPHEMERAL_ONE_DAY" + "UNKNOWN_RENDER", + "COLLAPSED", + "EXPANDED" ], "enumDescriptions": [ - "", - "The message/topic should be kept permanently.", - "The message/topic should be kept with a 24-hour TTL." + "Unknown mode (default).", + "Collapsed.", + "Expanded." ], "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedSegmentedMembershipCount": { - "description": "Contains info on membership count for member types: HUMAN_USER, APP_USER \u0026 ROSTER_MEMBER different states: INVITED, JOINED", - "id": "AppsDynamiteSharedSegmentedMembershipCount", + "EnterpriseTopazSidekickCommonDebugInfo": { + "description": "Container of debugging information in all object levels. Extend as needed.", + "id": "EnterpriseTopazSidekickCommonDebugInfo", "properties": { - "memberType": { - "enum": [ - "MEMBER_TYPE_UNSPECIFIED", - "HUMAN_USER", - "ROSTER_MEMBER" + "message": { + "description": "Debug message.", + "type": "string" + } + }, + "type": "object" + }, + "EnterpriseTopazSidekickCommonDocument": { + "description": "Representation of a document. NEXT_TAG: 15", + "id": "EnterpriseTopazSidekickCommonDocument", + "properties": { + "accessType": { + "description": "Access type, i.e., whether the user has access to the document or not.", + "enum": [ + "UNKNOWN_ACCESS", + "ALLOWED", + "NOT_ALLOWED" ], "enumDescriptions": [ - "default value", - "member is a human user", - "member is a roster" + "Unknown access type.", + "Access allowed.", + "Access not allowed." ], "type": "string" }, - "membershipCount": { - "description": "count of members with given type and state", - "format": "int32", - "type": "integer" + "debugInfo": { + "$ref": "EnterpriseTopazSidekickCommonDebugInfo", + "description": "Information for debugging." + }, + "documentId": { + "description": "Document id.", + "type": "string" + }, + "driveDocumentMetadata": { + "$ref": "EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata", + "description": "Drive document metadata." }, - "membershipState": { + "genericUrl": { + "description": "Generic Drive-based url in the format of drive.google.com/open to be used for deeplink", + "type": "string" + }, + "justification": { + "$ref": "EnterpriseTopazSidekickCommonDocumentJustification", + "description": "Justification on why the document is selected." + }, + "mimeType": { + "description": "MIME type", + "type": "string" + }, + "provenance": { + "description": "Document provenance.", "enum": [ - "MEMBER_UNKNOWN", - "MEMBER_INVITED", - "MEMBER_JOINED", - "MEMBER_NOT_A_MEMBER", - "MEMBER_FAILED" + "UNKNOWN_PROVENANCE", + "CALENDAR_DESCRIPTION", + "CALENDAR_ATTACHMENT", + "MINED", + "CALENDAR_ASSIST_ATTACHMENT" ], "enumDescriptions": [ - "Default state, do not use", - "An invitation to the space has been sent", - "User has joined the space", - "User is not a member", - "This state should never be stored in Spanner. It is a state for responses to the clients to indicate that membership mutations have failed and the member is in its previous state." + "Unknown provenance.", + "Calendar event description.", + "Calendar event attachment.", + "Mined (extracted by some offline/online analysis).", + "Attachment created by enterprise assist." ], "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteSharedSegmentedMembershipCounts": { - "id": "AppsDynamiteSharedSegmentedMembershipCounts", - "properties": { - "value": { - "items": { - "$ref": "AppsDynamiteSharedSegmentedMembershipCount" - }, - "type": "array" - } - }, - "type": "object" - }, - "AppsDynamiteSharedSpaceInfo": { - "description": "Defines the representation of a single matching space.", - "id": "AppsDynamiteSharedSpaceInfo", - "properties": { - "avatarInfo": { - "$ref": "AppsDynamiteSharedAvatarInfo" }, - "avatarUrl": { + "reason": { + "description": "Justification of why this document is being returned.", + "enum": [ + "UNKNOWN", + "TRENDING_IN_COLLABORATORS", + "TRENDING_IN_DOMAIN", + "FREQUENTLY_VIEWED", + "FREQUENTLY_EDITED", + "NEW_UPDATES", + "NEW_COMMENTS", + "EVENT_DESCRIPTION", + "EVENT_ATTACHMENT", + "EVENT_METADATA_ATTACHMENT", + "MINED_DOCUMENT", + "NEW_MENTIONS", + "NEW_SHARES" + ], + "enumDescriptions": [ + "Unknown justification.", + "Popular documents within collaborators.", + "Popular documents within the domain.", + "Documents being reviewed frequently by the current user .", + "Documents being edited frequently by the current user .", + "Documents updated since user's last visit.", + "Documents that receive comments since user's last visit.", + "Documents in the calendar event description.", + "Documents in the calendar event attachments section.", + "Documents attached in calendar event metadata instead of the attachment section. Event metadata is not visible to the final user. Enterprise assist uses this metadata to store auto-generated documents such as meeting notes.", + "Documents mined, and so, probably related to the request context. For example, this category includes documents related to a meeting.", + "Documents that contains mentions of the user.", + "Documents that are shared with the user." + ], "type": "string" }, - "description": { + "snippet": { + "description": "A sampling of the text from the document.", "type": "string" }, - "groupId": { - "$ref": "GroupId" - }, - "inviterEmail": { - "description": "The email address of the user that invited the calling user to the room, if available. This field will only be populated for direct invites, it will be empty if the user was indirectly invited to the group.", + "thumbnailUrl": { + "description": "Thumbnail URL.", "type": "string" }, - "isExternal": { - "description": "Whether this is a space that enables guest access", - "type": "boolean" - }, - "name": { + "title": { + "description": "Title of the document.", "type": "string" }, - "numMembers": { - "description": "Deprecated. Use segmented_membership_counts instead which also includes other counts such as rosters.", - "format": "int32", - "type": "integer" - }, - "segmentedMembershipCounts": { - "$ref": "AppsDynamiteSharedSegmentedMembershipCounts", - "description": "Member counts object with types of members and their respective counts." - }, - "userMembershipState": { - "description": "searching user's membership state in this space", + "type": { + "description": "Type of the document.", "enum": [ - "MEMBER_UNKNOWN", - "MEMBER_INVITED", - "MEMBER_JOINED", - "MEMBER_NOT_A_MEMBER", - "MEMBER_FAILED" + "UNKNOWN", + "DOCUMENT", + "PRESENTATION", + "SPREADSHEET", + "PDF", + "IMAGE", + "BINARY_BLOB", + "FUSION_TABLE", + "FOLDER", + "DRAWING", + "VIDEO", + "FORM", + "LINK_URL", + "LINK_GO", + "LINK_GOO_GL", + "LINK_BIT_LY", + "LINK_GMAIL", + "LINK_MAILTO", + "VIDEO_YOUTUBE", + "VIDEO_LIVE", + "GROUPS", + "NEWS", + "SITES", + "HANGOUT", + "AUDIO", + "MS_WORD", + "MS_POWERPOINT", + "MS_EXCEL", + "MS_OUTLOOK" ], "enumDescriptions": [ - "Default state, do not use", - "An invitation to the space has been sent", - "User has joined the space", - "User is not a member", - "This state should never be stored in Spanner. It is a state for responses to the clients to indicate that membership mutations have failed and the member is in its previous state." + "If the type is unknown or not represented in this enum.", + "Drive document types Writely, Word, etc.", + "Presently, PowerPoint, etc.", + "Trix, Excel, etc.", + "File types for Gdrive objects are below. PDF.", + "Image.", + "Fall-back for unknown Gdrive types.", + "Fusion table.", + "Folder.", + "Drawing.", + "Video.", + "Form.", + "Link formats uncategorized URL links", + "meaningful links that should be renderred specifically", + "Link to goo.gl.", + "Link to bit_ly.", + "Link to Gmail.", + "Mailto link.", + "Videos Youtube videos.", + "Live streams (e.g., liveplayer.googleplex.com)", + "Other types. Google Groups.", + "Google News.", + "Google Sites.", + "Google Hangout.", + "Audio files.", + "Microsoft-specific file types.", + "", + "", + "" ], "type": "string" + }, + "url": { + "description": "Absolute URL of the document.", + "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedTasksAnnotationData": { - "description": "This is the internal version of the API proto at google3/google/chat/v1/gsuite_message_integration.proto", - "id": "AppsDynamiteSharedTasksAnnotationData", + "EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata": { + "description": "Meta data for drive documents.", + "id": "EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata", "properties": { - "assigneeChange": { - "$ref": "AppsDynamiteSharedTasksAnnotationDataAssigneeChange" + "documentId": { + "description": "The drive document cosmo id. Client could use the id to build a URL to open a document. Please use Document.document_id.", + "type": "string" }, - "completionChange": { - "$ref": "AppsDynamiteSharedTasksAnnotationDataCompletionChange" + "isPrivate": { + "description": "Additional field to identify whether a document is private since scope set to LIMITED can mean both that the doc is private or that it's shared with others. is_private indicates whether the doc is not shared with anyone except for the owner.", + "type": "boolean" + }, + "lastCommentTimeMs": { + "description": "Timestamp of the most recent comment added to the document in milliseconds since epoch.", + "format": "uint64", + "type": "string" }, - "creation": { - "$ref": "AppsDynamiteSharedTasksAnnotationDataCreation" + "lastEditTimeMs": { + "description": "Timestamp of the most recent edit from the current user in milliseconds since epoch.", + "format": "uint64", + "type": "string" + }, + "lastModificationTimeMillis": { + "description": "Last modification time of the document (independent of the user that modified it).", + "format": "int64", + "type": "string" }, - "deletionChange": { - "$ref": "AppsDynamiteSharedTasksAnnotationDataDeletionChange" + "lastUpdatedTimeMs": { + "description": "Timestamp of the last updated time of the document in milliseconds since epoch.", + "format": "uint64", + "type": "string" }, - "taskId": { - "description": "ID of task. Will be used to create deep links to Tasks.", + "lastViewTimeMs": { + "description": "Timestamp of the most recent view from the current user in milliseconds since epoch.", + "format": "uint64", "type": "string" }, - "taskProperties": { - "$ref": "AppsDynamiteSharedTasksAnnotationDataTaskProperties", - "description": "Task properties after the update has been applied." + "owner": { + "$ref": "EnterpriseTopazSidekickCommonPerson", + "description": "The owner of the document." }, - "userDefinedMessage": { - "$ref": "AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage" + "scope": { + "description": "ACL scope of the document which identifies the sharing status of the doc (e.g., limited, shared with link, team drive, ...).", + "enum": [ + "UNKNOWN_DOCUMENT_SCOPE", + "LIMITED", + "DASHER_DOMAIN_WITH_LINK", + "DASHER_DOMAIN", + "PUBLIC_WITH_LINK", + "PUBLIC", + "TEAM_DRIVE" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedTasksAnnotationDataAssigneeChange": { - "id": "AppsDynamiteSharedTasksAnnotationDataAssigneeChange", + "EnterpriseTopazSidekickCommonDocumentJustification": { + "description": "Justification of why we are reporting the document.", + "id": "EnterpriseTopazSidekickCommonDocumentJustification", "properties": { - "oldAssignee": { - "$ref": "UserId", - "description": "Obfuscated user ID of previous assignee. Not set if the task was originally not assigned." + "justification": { + "description": "A locale aware message that explains why this document was selected.", + "type": "string" + }, + "reason": { + "description": "Reason on why the document is selected. Populate for trending documents.", + "enum": [ + "UNKNOWN", + "TRENDING_IN_COLLABORATORS", + "TRENDING_IN_DOMAIN", + "FREQUENTLY_VIEWED", + "FREQUENTLY_EDITED", + "NEW_UPDATES", + "NEW_COMMENTS", + "EVENT_DESCRIPTION", + "EVENT_ATTACHMENT", + "EVENT_METADATA_ATTACHMENT", + "MINED_DOCUMENT", + "NEW_MENTIONS", + "NEW_SHARES" + ], + "enumDescriptions": [ + "Unknown justification.", + "Popular documents within collaborators.", + "Popular documents within the domain.", + "Documents being reviewed frequently by the current user .", + "Documents being edited frequently by the current user .", + "Documents updated since user's last visit.", + "Documents that receive comments since user's last visit.", + "Documents in the calendar event description.", + "Documents in the calendar event attachments section.", + "Documents attached in calendar event metadata instead of the attachment section. Event metadata is not visible to the final user. Enterprise assist uses this metadata to store auto-generated documents such as meeting notes.", + "Documents mined, and so, probably related to the request context. For example, this category includes documents related to a meeting.", + "Documents that contains mentions of the user.", + "Documents that are shared with the user." + ], + "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedTasksAnnotationDataCompletionChange": { - "id": "AppsDynamiteSharedTasksAnnotationDataCompletionChange", - "properties": {}, - "type": "object" - }, - "AppsDynamiteSharedTasksAnnotationDataCreation": { - "id": "AppsDynamiteSharedTasksAnnotationDataCreation", - "properties": {}, - "type": "object" - }, - "AppsDynamiteSharedTasksAnnotationDataDeletionChange": { - "id": "AppsDynamiteSharedTasksAnnotationDataDeletionChange", - "properties": {}, - "type": "object" - }, - "AppsDynamiteSharedTasksAnnotationDataTaskProperties": { - "description": "All relevant task properties for a Chat message.", - "id": "AppsDynamiteSharedTasksAnnotationDataTaskProperties", + "EnterpriseTopazSidekickCommonPerson": { + "description": "Common representation of a person.", + "id": "EnterpriseTopazSidekickCommonPerson", "properties": { - "assignee": { - "$ref": "UserId", - "description": "Obfuscated user ID of new assignee. Not set if the task doesn't have an assignee." + "birthday": { + "$ref": "EnterpriseTopazSidekickCommonPersonBirthday", + "description": "The birthday." }, - "completed": { - "description": "Whether the task is marked as completed.", - "type": "boolean" + "cellPhone": { + "description": "Cell phone number.", + "type": "string" }, - "deleted": { - "description": "Whether the task is marked as deleted.", - "type": "boolean" + "department": { + "description": "The department the person works in (e.g. Engineering).", + "type": "string" }, - "description": { - "description": "The description of the task. If Task original description's length is greater than 1024, then Task BE sends the truncated description to Dynamite Integration Server.", + "deskLocation": { + "description": "Desk location (e.g. US-MTV-PR55-5-5B1I).", "type": "string" }, - "startDate": { - "$ref": "Date", - "description": "Set if the task has a date but no time. Source of truth in Tasks BE: http://shortn/_wyT7eB4Ixv" + "deskPhone": { + "description": "Work desk phone number.", + "type": "string" }, - "startTime": { - "description": "Set if the task has both a date and a time. Source of truth in Tasks BE: http://shortn/_u6cr0F5ttE", - "format": "google-datetime", + "displayName": { + "description": "The full name.", "type": "string" }, - "title": { - "description": "The title of the task.", + "email": { + "description": "Email.", + "type": "string" + }, + "familyName": { + "description": "The last name.", + "type": "string" + }, + "fullAddress": { + "description": "The fully formatted address (e.g. 1255 Pear Avenue, Mountain View 94043, United States).", + "type": "string" + }, + "gaiaId": { + "description": "This field is deprecated. The obfuscated_id should be used instead.", + "format": "int64", + "type": "string" + }, + "givenName": { + "description": "The first name.", + "type": "string" + }, + "jobTitle": { + "description": "The person's job title (e.g. Software Engineer).", + "type": "string" + }, + "manager": { + "$ref": "EnterpriseTopazSidekickCommonPerson", + "description": "The manager." + }, + "obfuscatedId": { + "description": "The obfuscated GAIA ID.", + "type": "string" + }, + "photoUrl": { + "description": "The URL for the Focus profile picture.", + "type": "string" + }, + "streetAddress": { + "description": "The street address (e.g. 1255 Pear Avenue).", "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage": { - "description": "Used for task card attachments on custom user messages that should be kept as is without generating an i18n event message, e.g. the user starts a conversation from an existing task. IMPORTANT: please don't populate this field yet as it could break existing flows until it's implemented. See code at http://shortn/_CM74CdENMx used by http://shortn/_5o85POJY8Q.", - "id": "AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage", - "properties": {}, - "type": "object" - }, - "AppsDynamiteSharedTasksMessageIntegrationPayload": { - "description": "A payload containing Tasks metadata for rendering a live card. Currently not used by the Tasks integration.", - "id": "AppsDynamiteSharedTasksMessageIntegrationPayload", - "properties": {}, + "EnterpriseTopazSidekickCommonPersonBirthday": { + "id": "EnterpriseTopazSidekickCommonPersonBirthday", + "properties": { + "value": { + "description": "Unstructured birthday.", + "type": "string" + } + }, "type": "object" }, - "AppsDynamiteSharedTextSegment": { - "description": "Defines a segment in a text.", - "id": "AppsDynamiteSharedTextSegment", + "EnterpriseTopazSidekickConflictingEventsCardProto": { + "description": "Conflicting meetings card proto.", + "id": "EnterpriseTopazSidekickConflictingEventsCardProto", "properties": { - "length": { - "description": "Length of the segment in the text.", - "format": "int32", - "type": "integer" + "conflictingEvent": { + "description": "All the events that conflict with main_event.", + "items": { + "$ref": "EnterpriseTopazSidekickAgendaEntry" + }, + "type": "array" }, - "startIndex": { - "description": "Start index (0-indexed and inclusive) of the segment in the text.", - "format": "int32", - "type": "integer" + "mainEvent": { + "$ref": "EnterpriseTopazSidekickAgendaEntry", + "description": "The event identified as being the most important." } }, "type": "object" }, - "AppsDynamiteSharedTextSegmentsWithDescription": { - "description": "Defines text segments with description type associated.", - "id": "AppsDynamiteSharedTextSegmentsWithDescription", + "EnterpriseTopazSidekickDocumentGroup": { + "description": "Represents a mapping between a document type and its corresponding documents. Use for Work in Progress card in v1 homepage.", + "id": "EnterpriseTopazSidekickDocumentGroup", "properties": { - "descriptionType": { + "groupType": { + "description": "Document group type", "enum": [ - "DESCRIPTION_TYPE_UNSPECIFIED", - "KEYWORD_MATCH", - "SNIPPET" + "UNKNOWN_TYPE", + "ALL" ], "enumDescriptions": [ - "", - "Indicates the text segments contain matched keywords. Client can highlight them in search results page.", - "Indicates the text segments represent parts of the snippeted text. Clients can display just these in SRP as shortened message. Multiple TextSegments with this DescriptionType are returned to denote disjointed snippets i.e. \"a long test message\" -\u003e \"a ... message\"" + "Unknown type.", + "A mix of all the document types." ], "type": "string" }, - "textSegment": { + "personalizedDocument": { + "description": "The list of corresponding documents.", "items": { - "$ref": "AppsDynamiteSharedTextSegment" + "$ref": "EnterpriseTopazSidekickCommonDocument" }, "type": "array" } }, "type": "object" }, - "AppsDynamiteSharedTextWithDescription": { - "description": "Defines a text with descriptive text segments associated.", - "id": "AppsDynamiteSharedTextWithDescription", + "EnterpriseTopazSidekickDocumentPerCategoryList": { + "id": "EnterpriseTopazSidekickDocumentPerCategoryList", "properties": { - "textBody": { - "type": "string" - }, - "textSegmentsWithDescription": { + "documents": { "items": { - "$ref": "AppsDynamiteSharedTextSegmentsWithDescription" + "$ref": "EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry" }, "type": "array" - } - }, - "type": "object" - }, - "AppsDynamiteSharedUserBlockRelationship": { - "description": "User-block relationship", - "id": "AppsDynamiteSharedUserBlockRelationship", - "properties": { - "hasBlockedRequester": { - "type": "boolean" }, - "isBlockedByRequester": { - "type": "boolean" + "helpMessage": { + "description": "Localized message explaining how the documents were derived (e.g. from the last 30 days activity). This field is optional.", + "type": "string" + }, + "listType": { + "enum": [ + "UNKNOWN_LIST_TYPE", + "MENTIONS", + "SHARES", + "NEEDS_ATTENTION", + "VIEWS", + "EDITS" + ], + "enumDescriptions": [ + "", + "All documents in the list correspond to one of the mention categories.", + "All documents in the list correspond to one of the share categories.", + "A mixture of document categories that correspond to documents that need the users attention (e.g. documents that have been explicitly shared with the user but have not been viewed and documents where the user was mentioned but has not replied).", + "All documents in the list correspond to one of the view categories.", + "All documents in the list correspond to one of the edit categories." + ], + "type": "string" + }, + "listTypeDescription": { + "description": "Description of the types of documents present in the list.", + "type": "string" + }, + "responseMessage": { + "description": "Response message in case no documents are present in the card.", + "type": "string" } }, "type": "object" }, - "AppsDynamiteSharedVideoReference": { - "description": "Reference to a transcoded video attachment.", - "id": "AppsDynamiteSharedVideoReference", + "EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry": { + "id": "EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry", "properties": { - "format": { - "description": "Available transcode format. Value is defined in video/storage/proto/content_header.proto", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "status": { - "description": "Transcode status", + "category": { "enum": [ - "UNKNOWN_STATUS", - "SUCCESS", - "ERROR", - "NOT_APPLICABLE", - "THUMBNAIL_SUCCESS", - "GO_LIVE_SUCCESS" + "UNKNOWN_DOCUMENT", + "ACTIONABLE", + "VIEWED", + "REPLIED", + "MENTION_VIEWED", + "MENTION_REPLIED", + "MENTION_NOT_VIEWED", + "SHARED_AND_VIEWED", + "SHARED_NOT_VIEWED", + "EDITED" ], "enumDescriptions": [ "", "", "", "", - "", - "" + "Mention categories. The mention has been viewed by the user, but the user has not replied.", + "The user has replied to the mention.", + "The mention has not been viewed by the user.", + "Share categories. Consists of documents that have been explicitly shared with the user. Document has been viewed.", + "Document has not been viewed.", + "Document has been edited." ], "type": "string" + }, + "document": { + "$ref": "EnterpriseTopazSidekickCommonDocument" + }, + "rationale": { + "description": "Reason this document was selected.", + "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageAction": { - "description": "An action that describes the behavior when the form is submitted. For example, an Apps Script can be invoked to handle the form.", - "id": "AppsDynamiteStorageAction", + "EnterpriseTopazSidekickFindMeetingTimeCardProto": { + "description": "Response to find meeting time among a set of people.", + "id": "EnterpriseTopazSidekickFindMeetingTimeCardProto", "properties": { - "function": { - "description": "Apps Script function to invoke when the containing element is clicked/activated.", - "type": "string" + "commonAvailableTimeSlots": { + "description": "Slots when all attendees have availability.", + "items": { + "$ref": "EnterpriseTopazSidekickTimeSlot" + }, + "type": "array" }, - "interaction": { - "enum": [ - "INTERACTION_UNSPECIFIED", - "OPEN_DIALOG" - ], - "enumDescriptions": [ - "Default value if interaction is not specified.", - "A dialog opens by clicking the button." - ], - "type": "string" + "invitees": { + "description": "Invitees to the event.", + "items": { + "$ref": "EnterpriseTopazSidekickPerson" + }, + "type": "array" }, - "loadIndicator": { - "enum": [ - "SPINNER", - "NONE" - ], - "enumDescriptions": [ - "Displays a spinner to indicate that content is loading.", - "Nothing is displayed." - ], - "type": "string" + "requester": { + "$ref": "EnterpriseTopazSidekickPerson", + "description": "Requester." + }, + "scheduledMeeting": { + "$ref": "EnterpriseTopazSidekickScheduledMeeting", + "description": "Details about the scheduled meeting, if one exists." }, - "parameters": { - "description": "List of action parameters.", + "skippedInvitees": { + "description": "Invitees that have been skipped in the computation, most likely because they are groups.", "items": { - "$ref": "AppsDynamiteStorageActionActionParameter" + "$ref": "EnterpriseTopazSidekickPerson" }, "type": "array" }, - "persistValues": { - "description": "Indicates whether form values persist after the action. The default value is `false`. If `true`, form values remain after the action is triggered. When using [LoadIndicator.NONE](workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) for actions, `persist_values` = `true`is recommended, as it ensures that any changes made by the user after form or on change actions are sent to the server are not overwritten by the response. If `false`, the form values are cleared when the action is triggered. When `persist_values` is set to `false`, it is strongly recommended that the card use [LoadIndicator.SPINNER](workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) for all actions, as this locks the UI to ensure no changes are made by the user while the action is being processed.", - "type": "boolean" + "timeBoundaries": { + "$ref": "EnterpriseTopazSidekickTimeSlot", + "description": "Min and max timestamp used to find a common available timeslot." + }, + "timezoneId": { + "description": "Timezone ID.", + "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageActionActionParameter": { - "description": "List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze 1 day, snooze next week. You might use action method = snooze(), passing the snooze type and snooze time in the list of string parameters.", - "id": "AppsDynamiteStorageActionActionParameter", + "EnterpriseTopazSidekickGap": { + "id": "EnterpriseTopazSidekickGap", "properties": { - "key": { - "description": "The name of the parameter for the action script.", + "displayRemainingTime": { + "description": "Localized time string in the format: 1 hour 15 minutes", "type": "string" }, - "value": { - "description": "The value of the parameter.", + "endTime": { + "description": "Localized time string in the format:(Locale CZ) 8:30 odp.", + "type": "string" + }, + "endTimeMs": { + "format": "uint64", + "type": "string" + }, + "remainingTime": { + "format": "google-duration", + "type": "string" + }, + "startTime": { + "description": "Localized time string in the format:(Locale CZ) 8:30 odp.", + "type": "string" + }, + "startTimeMs": { + "format": "uint64", "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageBorderStyle": { - "description": "The style options for the border of a card or widget, including the border type and color.", - "id": "AppsDynamiteStorageBorderStyle", + "EnterpriseTopazSidekickGenericAnswerCard": { + "id": "EnterpriseTopazSidekickGenericAnswerCard", "properties": { - "cornerRadius": { - "description": "The corner radius for the border.", - "format": "int32", - "type": "integer" + "answer": { + "description": "The answer.", + "type": "string" + }, + "title": { + "description": "Title or header of the card.", + "type": "string" + } + }, + "type": "object" + }, + "EnterpriseTopazSidekickGetAndKeepAheadCardProto": { + "description": "Get and keep ahead card", + "id": "EnterpriseTopazSidekickGetAndKeepAheadCardProto", + "properties": { + "declinedEvents": { + "$ref": "EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents" }, - "strokeColor": { - "$ref": "Color", - "description": "The colors to use when the type is `BORDER_TYPE_STROKE`." + "mentionedDocuments": { + "$ref": "EnterpriseTopazSidekickDocumentPerCategoryList" }, - "type": { - "description": "The border type.", + "sharedDocuments": { + "$ref": "EnterpriseTopazSidekickDocumentPerCategoryList" + } + }, + "type": "object" + }, + "EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents": { + "description": "A list of events where all guests declined.", + "id": "EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents", + "properties": { + "events": { + "items": { + "$ref": "EnterpriseTopazSidekickAgendaEntry" + }, + "type": "array" + } + }, + "type": "object" + }, + "EnterpriseTopazSidekickMeetingNotesCardError": { + "description": "Errors in the creation of meeting notes.", + "id": "EnterpriseTopazSidekickMeetingNotesCardError", + "properties": { + "description": { + "description": "The description of the reason why create-meeting-notes failed.", + "type": "string" + }, + "event": { + "$ref": "EnterpriseTopazSidekickAgendaEntry", + "description": "The event to request meeting notes creation" + }, + "reason": { + "description": "The reason why create-meeting-notes failed.", "enum": [ - "BORDER_TYPE_UNSPECIFIED", - "NO_BORDER", - "STROKE" + "NONE", + "NOT_OWNER", + "UNKNOWN" ], "enumDescriptions": [ - "No value specified.", - "No border.", - "Outline." + "No reason (default value).", + "The user is not an owner.", + "Unknown reason." ], "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageButton": { - "description": "A button. Can be a text button or an image button.", - "id": "AppsDynamiteStorageButton", + "EnterpriseTopazSidekickMeetingNotesCardProto": { + "description": "Information about the meeting notes created.", + "id": "EnterpriseTopazSidekickMeetingNotesCardProto", "properties": { - "altText": { - "description": "The alternative text used for accessibility. Has no effect when an icon is set; use `icon.alt_text` instead.", - "type": "string" - }, - "color": { - "$ref": "Color", - "description": "If set, the button is filled with a solid background." - }, - "disabled": { - "description": "If true, the button is displayed in a disabled state and doesn't respond to user actions.", - "type": "boolean" + "event": { + "$ref": "EnterpriseTopazSidekickAgendaEntry", + "description": "The event to request meeting notes creation." }, - "icon": { - "$ref": "AppsDynamiteStorageIcon", - "description": "The icon image." + "fileId": { + "description": "Google Drive ID (a.k.a. resource ID) of the file.", + "type": "string" }, - "onClick": { - "$ref": "AppsDynamiteStorageOnClick", - "description": "The action to perform when the button is clicked." + "title": { + "description": "Title we want to show for meeting notes in the answer card", + "type": "string" }, - "text": { - "description": "The text of the button.", + "url": { + "description": "New URL.", "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageButtonList": { - "description": "A list of buttons layed out horizontally.", - "id": "AppsDynamiteStorageButtonList", + "EnterpriseTopazSidekickMeetingNotesCardRequest": { + "description": "Meeting notes card request.", + "id": "EnterpriseTopazSidekickMeetingNotesCardRequest", "properties": { - "buttons": { + "canCreateFor": { + "description": "Who are the meeting notes created for.", "items": { - "$ref": "AppsDynamiteStorageButton" + "enum": [ + "UNKNOWN", + "MYSELF", + "ALL_ATTENDEES" + ], + "enumDescriptions": [ + "Unknown (default).", + "For the requester.", + "For all the meeting attendees." + ], + "type": "string" }, "type": "array" + }, + "error": { + "$ref": "EnterpriseTopazSidekickMeetingNotesCardError", + "description": "The error and reason if known error occured." + }, + "event": { + "$ref": "EnterpriseTopazSidekickAgendaEntry", + "description": "The event to request meeting notes creation" + } + }, + "type": "object" + }, + "EnterpriseTopazSidekickNlpMetadata": { + "description": "Metadata about the NLP interpretation of the query.", + "id": "EnterpriseTopazSidekickNlpMetadata", + "properties": { + "confidence": { + "description": "Confidence of the interpretation that generated this card.", + "format": "float", + "type": "number" } }, "type": "object" }, - "AppsDynamiteStorageCard": { - "description": "A card is a UI element that can contain UI widgets such as text and images. For more information, see Cards . For example, the following JSON creates a card that has a header with the name, position, icons, and link for a contact, followed by a section with contact information like email and phone number. ``` { \"header\": { \"title\": \"Heba Salam\", \"subtitle\": \"Software Engineer\", \"imageStyle\": \"ImageStyle.AVATAR\", \"imageUrl\": \"https://example.com/heba_salam.png\", \"imageAltText\": \"Avatar for Heba Salam\" }, \"sections\" : [ { \"header\": \"Contact Info\", \"widgets\": [ { \"decorated_text\": { \"icon\": { \"knownIcon\": \"EMAIL\" }, \"content\": \"heba.salam@example.com\" } }, { \"decoratedText\": { \"icon\": { \"knownIcon\": \"PERSON\" }, \"content\": \"Online\" } }, { \"decoratedText\": { \"icon\": { \"knownIcon\": \"PHONE\" }, \"content\": \"+1 (555) 555-1234\" } }, { \"buttons\": [ { \"textButton\": { \"text\": \"Share\", }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/share\" } } }, { \"textButton\": { \"text\": \"Edit\", }, \"onClick\": { \"action\": { \"function\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"EDIT\" } ], \"loadIndicator\": \"LoadIndicator.SPINNER\" } } } ] } ], \"collapsible\": true, \"uncollapsibleWidgetsCount\": 3 } ], \"cardActions\": [ { \"actionLabel\": \"Send Feedback\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/feedback\" } } } ], \"name\": \"contact-card-K3wB6arF2H9L\" } ```", - "id": "AppsDynamiteStorageCard", + "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo": { + "description": "Metadata for disambiguation.", + "id": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo", "properties": { - "cardActions": { - "description": "The actions of this card. They are added to a card's generated toolbar menu. For example, the following JSON constructs a card action menu with Settings and Send Feedback options: ``` \"card_actions\": [ { \"actionLabel\": \"Setting\", \"onClick\": { \"action\": { \"functionName\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"SETTING\" } ], \"loadIndicator\": \"LoadIndicator.SPINNER\" } } }, { \"actionLabel\": \"Send Feedback\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/feedback\" } } } ] ```", + "disambiguation": { + "description": "A list of people that also matched the query. This list is not complete.", "items": { - "$ref": "AppsDynamiteStorageCardCardAction" + "$ref": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson" }, "type": "array" }, - "header": { - "$ref": "AppsDynamiteStorageCardCardHeader", - "description": "The header of the card. A header usually contains a title and an image." - }, "name": { - "description": "Name of the card, which is used as a identifier for the card in card navigation.", + "description": "The name that was extracted from the query. This may be in the form of the given name, last name, full name, LDAP, or email address. This name can be considered suitable for displaying to the user and can largely be considered to be normalized (e.g. \"Bob's\" -\u003e \"Bob\").", "type": "string" - }, - "sections": { - "description": "Sections are separated by a line divider.", - "items": { - "$ref": "AppsDynamiteStorageCardSection" - }, - "type": "array" } }, "type": "object" }, - "AppsDynamiteStorageCardCardAction": { - "description": "A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser.", - "id": "AppsDynamiteStorageCardCardAction", + "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson": { + "description": "A person that also matches the query, but was not selected due to a lower affinity with the requesting user.", + "id": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson", "properties": { - "actionLabel": { - "description": "The label that displays as the action menu item.", - "type": "string" + "person": { + "$ref": "EnterpriseTopazSidekickCommonPerson", + "description": "The profile of this person." }, - "onClick": { - "$ref": "AppsDynamiteStorageOnClick", - "description": "The onclick action for this action item." + "query": { + "description": "The query that can be used to produce an answer card with the same attribute, but for this person.", + "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageCardCardHeader": { - "id": "AppsDynamiteStorageCardCardHeader", + "EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader": { + "description": "Recommended header to display for the card.", + "id": "EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader", "properties": { - "imageAltText": { - "description": "The alternative text of this image which is used for accessibility.", + "title": { + "description": "The suggested title to display. This defaults to the user's query.", "type": "string" + } + }, + "type": "object" + }, + "EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard": { + "description": "An answer card for a single person.", + "id": "EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard", + "properties": { + "answer": { + "description": "List of answers.", + "items": { + "$ref": "SafeHtmlProto" + }, + "type": "array" + }, + "answerText": { + "$ref": "EnterpriseTopazSidekickAnswerAnswerList", + "description": "List of answers." + }, + "disambiguationInfo": { + "$ref": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo", + "description": "Disambiguation information." }, - "imageType": { - "description": "The image's type.", + "header": { + "$ref": "EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader", + "description": "The header to display for the card." + }, + "responseStatus": { + "description": "The response status.", "enum": [ - "SQUARE", - "CIRCLE" + "UNKNOWN", + "SUCCESS", + "MISSING_PERSON", + "MISSING_DATA" ], "enumDescriptions": [ - "Applies no cropping to the image.", - "Applies a circular mask to the image." + "Unknown.", + "Success.", + "No such person was found in the user's domain.", + "A person was found to match the query, but an answer could not be obtained." ], "type": "string" }, - "imageUrl": { - "description": "The URL of the image in the card header.", - "type": "string" - }, - "subtitle": { - "description": "The subtitle of the card header.", + "statusMessage": { + "description": "Localized user friendly message to display to the user in the case of missing data or an error.", "type": "string" }, - "title": { - "description": "The title of the card header. The title must be specified. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is specified, it takes up both lines.", - "type": "string" + "subject": { + "$ref": "EnterpriseTopazSidekickCommonPerson", + "description": "The profile of the person that was the subject of the query." } }, "type": "object" }, - "AppsDynamiteStorageCardSection": { - "description": "A section contains a collection of widgets that are rendered vertically in the order that they are specified. Across all platforms, cards have a narrow fixed width, so there is currently no need for layout properties, for example, float.", - "id": "AppsDynamiteStorageCardSection", + "EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard": { + "description": "An answer card for a list of people that are related to the subject of the query.", + "id": "EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard", "properties": { - "collapsible": { - "description": "Indicates whether this section is collapsible. If a section is collapsible, the description must be given.", - "type": "boolean" + "disambiguationInfo": { + "$ref": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo", + "description": "Disambiguation information." }, "header": { - "description": "The header of the section. Formatted text is supported.", - "type": "string" - }, - "uncollapsibleWidgetsCount": { - "description": "The number of uncollapsible widgets. For example, when a section contains five widgets and the `numUncollapsibleWidget` is set to `2`, the first two widgets are always shown and the last three are collapsed as default. The `numUncollapsibleWidget` is taken into account only when collapsible is set to `true`.", - "format": "int32", - "type": "integer" + "$ref": "EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader", + "description": "The header to display for the card." }, - "widgets": { - "description": "A section must contain at least 1 widget.", + "relatedPeople": { + "description": "A list of people that are related to the query subject.", "items": { - "$ref": "AppsDynamiteStorageWidget" + "$ref": "EnterpriseTopazSidekickCommonPerson" }, "type": "array" - } - }, - "type": "object" - }, - "AppsDynamiteStorageColumns": { - "description": "Represents a Columns widget that displays a single row of columns.", - "id": "AppsDynamiteStorageColumns", - "properties": { - "columnItems": { - "description": "Each card supports up to 2 columns. If the user's screen width is less than or equal to 480 pixels, the second column wraps below the first column.", - "items": { - "$ref": "AppsDynamiteStorageColumnsColumn" - }, - "type": "array" - } - }, - "type": "object" - }, - "AppsDynamiteStorageColumnsColumn": { - "description": "Represents a Column that consists of widgets stacked vertically.", - "id": "AppsDynamiteStorageColumnsColumn", - "properties": { - "horizontalAlignment": { - "description": "The horizontal alignment of the column.", + }, + "relationType": { + "description": "Defines the type of relation the list of people have with the subject of the card.", "enum": [ - "HORIZONTAL_ALIGNMENT_UNSPECIFIED", - "START", - "CENTER", - "END" + "UNKNOWN", + "DIRECT_REPORTS", + "MANAGER", + "PEERS" ], "enumDescriptions": [ - "Unspecified alignment.", - "Alignment to the start position.", - "Alignment to the center position.", - "Alignment to the end position." + "Unknown.", + "Direct reports.", + "The manager.", + "The teammates/peers of the subject." ], "type": "string" }, - "horizontalSizeStyle": { - "description": "Specifies how the column content is sized horizontally.", + "responseStatus": { + "description": "The response status.", "enum": [ - "HORIZONTAL_SIZE_STYLE_UNSPECIFIED", - "FILL_AVAILABLE_SPACE", - "FILL_MINIMUM_SPACE" + "UNKNOWN", + "SUCCESS", + "MISSING_PERSON", + "MISSING_DATA" ], "enumDescriptions": [ - "Unspecified.", - "Fills up the available horizontal width. Default value if unspecified.", - "Fills up the minimum horizontal width." + "Unknown.", + "Success.", + "No such person was found in the user's domain.", + "A person was found to match the query, but an answer could not be obtained." ], "type": "string" }, - "verticalAlignment": { - "description": "The vertical alignment of the column.", - "enum": [ - "VERTICAL_ALIGNMENT_UNSPECIFIED", - "CENTER", - "TOP", - "BOTTOM" - ], - "enumDescriptions": [ - "Unspecified.", - "Aligns the widget in the center of the column. Default value if unspecified.", - "Aligns the widget at the top of the column.", - "Aligns the widget at the bottom of the column." - ], + "statusMessage": { + "description": "Localized user friendly message to display to the user in the case of missing data or an error.", "type": "string" }, - "widgets": { - "description": "LINT.ThenChange(//depot/google3/google/apps/card/v1/card.proto) Array of widgets included in the column.", - "items": { - "$ref": "AppsDynamiteStorageColumnsColumnWidgets" - }, - "type": "array" + "subject": { + "$ref": "EnterpriseTopazSidekickCommonPerson", + "description": "The profile of the person that was the subject of the query." } }, "type": "object" }, - "AppsDynamiteStorageColumnsColumnWidgets": { - "description": "LINT.IfChange The `column` widget can contain these widgets.", - "id": "AppsDynamiteStorageColumnsColumnWidgets", + "EnterpriseTopazSidekickPeopleDisambiguationCard": { + "id": "EnterpriseTopazSidekickPeopleDisambiguationCard", "properties": { - "buttonList": { - "$ref": "AppsDynamiteStorageButtonList", - "description": "ButtonList widget." - }, - "dateTimePicker": { - "$ref": "AppsDynamiteStorageDateTimePicker", - "description": "DateTimePicker widget." - }, - "decoratedText": { - "$ref": "AppsDynamiteStorageDecoratedText", - "description": "DecoratedText widget." - }, - "image": { - "$ref": "AppsDynamiteStorageImage", - "description": "Image widget." - }, - "selectionInput": { - "$ref": "AppsDynamiteStorageSelectionInput", - "description": "SelectionInput widget." - }, - "textInput": { - "$ref": "AppsDynamiteStorageTextInput", - "description": "TextInput widget." - }, - "textParagraph": { - "$ref": "AppsDynamiteStorageTextParagraph", - "description": "Text paragraph widget." + "person": { + "description": "Candidate persons for the query.", + "items": { + "$ref": "EnterpriseTopazSidekickCommonPerson" + }, + "type": "array" } }, "type": "object" }, - "AppsDynamiteStorageDateTimePicker": { - "description": "The widget that lets users to specify a date and time.", - "id": "AppsDynamiteStorageDateTimePicker", + "EnterpriseTopazSidekickPerson": { + "description": "Person.", + "id": "EnterpriseTopazSidekickPerson", "properties": { - "label": { - "description": "The label for the field that displays to the user.", - "type": "string" - }, - "name": { - "description": "The name of the text input that's used in formInput, and uniquely identifies this input.", + "affinityLevel": { + "description": "The level of affinity this person has with the requesting user.", + "enum": [ + "UNKNOWN", + "LOW", + "MEDIUM", + "HIGH" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], "type": "string" }, - "onChangeAction": { - "$ref": "AppsDynamiteStorageAction", - "description": "Triggered when the user clicks Save or Clear from the date/time picker dialog. This is only triggered if the value changed as a result of the Save/Clear operation." - }, - "timezoneOffsetDate": { - "description": "The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If not set, it uses the user's time zone setting on the client side.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "The type of the date/time picker.", + "attendingStatus": { + "description": "Attendance status of the person when included in a meeting event.", "enum": [ - "DATE_AND_TIME", - "DATE_ONLY", - "TIME_ONLY" + "AWAITING", + "YES", + "NO", + "MAYBE" ], "enumDescriptions": [ - "The user can select a date and time.", - "The user can only select a date.", - "The user can only select a time." + "Awaiting for the user to set the status.", + "Attending.", + "Not attending.", + "Tentatively attending." ], "type": "string" }, - "valueMsEpoch": { - "description": "The value to display as the default value before user input or previous user input. It is represented in milliseconds (Epoch time). For `DATE_AND_TIME` type, the full epoch value is used. For `DATE_ONLY` type, only date of the epoch time is used. For `TIME_ONLY` type, only time of the epoch time is used. For example, you can set epoch time to `3 * 60 * 60 * 1000` to represent 3am.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteStorageDecoratedText": { - "description": "A widget that displays text with optional decorations such as a label above or below the text, an icon in front of the text, a selection widget or a button after the text.", - "id": "AppsDynamiteStorageDecoratedText", - "properties": { - "bottomLabel": { - "description": "The formatted text label that shows below the main text.", + "email": { + "description": "Email.", "type": "string" }, - "button": { - "$ref": "AppsDynamiteStorageButton", - "description": "A button that can be clicked to trigger an action." - }, - "endIcon": { - "$ref": "AppsDynamiteStorageIcon", - "description": "An icon displayed after the text." - }, - "icon": { - "$ref": "AppsDynamiteStorageIcon", - "description": "Deprecated in favor of start_icon." - }, - "onClick": { - "$ref": "AppsDynamiteStorageOnClick", - "description": "Only the top and bottom label and content region are clickable." + "gaiaId": { + "description": "Gaia id.", + "format": "int64", + "type": "string" }, - "startIcon": { - "$ref": "AppsDynamiteStorageIcon", - "description": "The icon displayed in front of the text." + "isGroup": { + "description": "Whether the invitee is a group.", + "type": "boolean" }, - "switchControl": { - "$ref": "AppsDynamiteStorageDecoratedTextSwitchControl", - "description": "A switch widget can be clicked to change its state or trigger an action." + "name": { + "description": "Name.", + "type": "string" }, - "text": { - "description": "Required. The main widget formatted text. See Text formatting for details.", + "obfuscatedGaiaId": { + "description": "Obfuscated Gaia id.", "type": "string" }, - "topLabel": { - "description": "The formatted text label that shows above the main text.", + "photoUrl": { + "description": "Absolute URL to the profile photo of the person.", "type": "string" + } + }, + "type": "object" + }, + "EnterpriseTopazSidekickPersonProfileCard": { + "id": "EnterpriseTopazSidekickPersonProfileCard", + "properties": { + "relatedPeople": { + "items": { + "$ref": "EnterpriseTopazSidekickPersonProfileCardRelatedPeople" + }, + "type": "array" }, - "wrapText": { - "description": "The wrap text setting. If `true`, the text is wrapped and displayed in multiline. Otherwise, the text is truncated.", - "type": "boolean" + "subject": { + "$ref": "EnterpriseTopazSidekickCommonPerson", + "description": "The subject of the card." } }, "type": "object" }, - "AppsDynamiteStorageDecoratedTextSwitchControl": { - "id": "AppsDynamiteStorageDecoratedTextSwitchControl", + "EnterpriseTopazSidekickPersonProfileCardRelatedPeople": { + "id": "EnterpriseTopazSidekickPersonProfileCardRelatedPeople", "properties": { - "controlType": { - "description": "The control type, either switch or checkbox.", + "relatedPerson": { + "description": "Related people.", + "items": { + "$ref": "EnterpriseTopazSidekickCommonPerson" + }, + "type": "array" + }, + "relation": { + "description": "Relation type.", "enum": [ - "SWITCH", - "CHECKBOX", - "CHECK_BOX" + "UNKNOWN", + "MANAGER", + "DIRECT_REPORT" ], "enumDescriptions": [ "", - "Deprecated in favor of `CHECK_BOX`.", + "", "" ], "type": "string" - }, - "name": { - "description": "The name of the switch widget that's used in formInput.", - "type": "string" - }, - "onChangeAction": { - "$ref": "AppsDynamiteStorageAction", - "description": "The action when the switch state is changed." - }, - "selected": { - "description": "If the switch is selected.", - "type": "boolean" - }, - "value": { - "description": "The value is what is passed back in the callback.", - "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageDivider": { - "description": "A divider that appears in between widgets.", - "id": "AppsDynamiteStorageDivider", - "properties": {}, - "type": "object" - }, - "AppsDynamiteStorageGrid": { - "description": "Represents a Grid widget that displays items in a configurable grid layout.", - "id": "AppsDynamiteStorageGrid", + "EnterpriseTopazSidekickPersonalizedDocsCardProto": { + "description": "Personalized docs card proto.", + "id": "EnterpriseTopazSidekickPersonalizedDocsCardProto", "properties": { - "borderStyle": { - "$ref": "AppsDynamiteStorageBorderStyle", - "description": "The border style to apply to each grid item." - }, - "columnCount": { - "description": "The number of columns to display in the grid. A default value is used if this field isn't specified, and that default value is different depending on where the grid is shown (dialog versus companion).", - "format": "int32", - "type": "integer" - }, - "items": { - "description": "The items to display in the grid.", + "documentGroup": { + "description": "Document group.", "items": { - "$ref": "AppsDynamiteStorageGridGridItem" + "$ref": "EnterpriseTopazSidekickDocumentGroup" }, "type": "array" - }, - "onClick": { - "$ref": "AppsDynamiteStorageOnClick", - "description": "This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters." - }, - "title": { - "description": "The text that displays in the grid header.", - "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageGridGridItem": { - "description": "Represents a single item in the grid layout.", - "id": "AppsDynamiteStorageGridGridItem", + "EnterpriseTopazSidekickRankingParams": { + "description": "Ranking params.", + "id": "EnterpriseTopazSidekickRankingParams", "properties": { - "id": { - "description": "A user-specified identifier for this grid item. This identifier is returned in the parent Grid's onClick callback parameters.", + "endTimeMs": { + "description": "The end-time that this object will expect to occur. If the type is marked as FIXED, then this end-time will persist after bidding. If the type is marked as FLEXIBLE, this field is NOT expected to be filled and will be filled in after it has won a bid. Expected to be set when type is set to FIXED.", + "format": "uint64", "type": "string" }, - "image": { - "$ref": "AppsDynamiteStorageImageComponent", - "description": "The image that displays in the grid item." - }, - "layout": { - "description": "The layout to use for the grid item.", + "priority": { + "description": "The priority to determine between objects that have the same start_time_ms The lower-value of priority == ranked higher. Max-priority = 0. Expected to be set for all types.", "enum": [ - "GRID_ITEM_LAYOUT_UNSPECIFIED", - "TEXT_BELOW", - "TEXT_ABOVE" + "UNKNOWN", + "CRITICAL", + "IMPORTANT", + "HIGH", + "NORMAL", + "BEST_EFFORT" ], "enumDescriptions": [ - "No layout specified.", - "The title and subtitle are shown below the grid item's image.", - "The title and subtitle are shown above the grid item's image." + "Unknown (default).", + "Critical.", + "Important.", + "High.", + "Normal.", + "Best effort." ], "type": "string" }, - "subtitle": { - "description": "The grid item's subtitle.", - "type": "string" - }, - "textAlignment": { - "description": "The horizontal alignment of the grid item's text.", - "enum": [ - "HORIZONTAL_ALIGNMENT_UNSPECIFIED", - "START", - "CENTER", - "END" - ], - "enumDescriptions": [ - "Unspecified alignment.", - "Alignment to the start position.", - "Alignment to the center position.", - "Alignment to the end position." - ], - "type": "string" + "score": { + "description": "The score of the card to be used to break priority-ties", + "format": "float", + "type": "number" }, - "title": { - "description": "The grid item's title.", - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteStorageIcon": { - "id": "AppsDynamiteStorageIcon", - "properties": { - "altText": { - "description": "The description of the icon, used for accessibility. The default value is provided if you don't specify one.", + "spanMs": { + "description": "The span that this card will take in the stream Expected to be set when type is set to FLEXIBLE.", + "format": "uint64", "type": "string" }, - "iconUrl": { - "description": "The icon specified by a URL.", + "startTimeMs": { + "description": "The start-time that this object will bid-for If the type is marked as FIXED, then this start-time will persist after bidding. If the type is marked as FLEXIBLE, then it will occur at the given time or sometime after the requested time. Expected to be set for all types.", + "format": "uint64", "type": "string" }, - "imageType": { - "description": "The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a standard icon.", + "type": { + "description": "The packing type of this object.", "enum": [ - "SQUARE", - "CIRCLE" + "FIXED", + "FLEXIBLE" ], "enumDescriptions": [ - "Applies no cropping to the image.", - "Applies a circular mask to the image." + "Fixed, i.e., the card is time sensitive.", + "Flexible, i.e., the card is not time sensitive." ], "type": "string" - }, - "knownIcon": { - "description": "The icon specified by the string name of a list of known icons", - "type": "string" - }, - "materialIcon": { - "$ref": "AppsDynamiteStorageMaterialIcon", - "description": "Display one of the [Google Material Icons](https://fonts.google.com/icons). For example, to display a [check box icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048), use \"material_icon\": { \"name\": \"check_box\" }" } }, "type": "object" }, - "AppsDynamiteStorageImage": { - "description": "An image that is specified by a URL and can have an onClick action.", - "id": "AppsDynamiteStorageImage", + "EnterpriseTopazSidekickRecentDocumentsCardProto": { + "id": "EnterpriseTopazSidekickRecentDocumentsCardProto", "properties": { - "altText": { - "description": "The alternative text of this image, used for accessibility.", - "type": "string" - }, - "imageUrl": { - "description": "An image URL.", - "type": "string" - }, - "onClick": { - "$ref": "AppsDynamiteStorageOnClick" + "document": { + "items": { + "$ref": "EnterpriseTopazSidekickCommonDocument" + }, + "type": "array" } }, "type": "object" }, - "AppsDynamiteStorageImageComponent": { - "id": "AppsDynamiteStorageImageComponent", + "EnterpriseTopazSidekickScheduledMeeting": { + "description": "Details about scheduled meetings.", + "id": "EnterpriseTopazSidekickScheduledMeeting", "properties": { - "altText": { - "description": "The accessibility label for the image.", + "meetingLocation": { + "description": "The meeting location.", "type": "string" }, - "borderStyle": { - "$ref": "AppsDynamiteStorageBorderStyle", - "description": "The border style to apply to the image." - }, - "cropStyle": { - "$ref": "AppsDynamiteStorageImageCropStyle", - "description": "The crop style to apply to the image." + "meetingTime": { + "$ref": "EnterpriseTopazSidekickTimeSlot", + "description": "The meeting time slot." }, - "imageUri": { - "description": "The image URL.", + "meetingTitle": { + "description": "The meeting title.", "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageImageCropStyle": { - "description": "Represents the crop style applied to an image.", - "id": "AppsDynamiteStorageImageCropStyle", + "EnterpriseTopazSidekickShareMeetingDocsCardProto": { + "description": "Share meeting docs card proto.", + "id": "EnterpriseTopazSidekickShareMeetingDocsCardProto", "properties": { - "aspectRatio": { - "description": "The aspect ratio to use if the crop type is `RECTANGLE_CUSTOM`.", - "format": "double", - "type": "number" + "document": { + "description": "Documents to share for the given meeting.", + "items": { + "$ref": "EnterpriseTopazSidekickCommonDocument" + }, + "type": "array" }, - "type": { - "description": "The crop type.", - "enum": [ - "IMAGE_CROP_TYPE_UNSPECIFIED", - "SQUARE", - "CIRCLE", - "RECTANGLE_CUSTOM", - "RECTANGLE_4_3" - ], - "enumDescriptions": [ - "No value specified.", - "Applies a square crop.", - "Applies a circular crop.", - "Applies a rectangular crop with a custom aspect ratio.", - "Applies a rectangular crop with a 4:3 aspect ratio." - ], - "type": "string" + "event": { + "$ref": "EnterpriseTopazSidekickAgendaEntry", + "description": "Event." } }, "type": "object" }, - "AppsDynamiteStorageMaterialIcon": { - "description": "A [Google Font Icon](https://fonts.google.com/icons), which includes over 2500+ options. For example, to display a [check box icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048) with customized weight and grade, write { \"name\": \"check_box\", \"fill\": true, \"weight\": 300, \"grade\": -25 }", - "id": "AppsDynamiteStorageMaterialIcon", + "EnterpriseTopazSidekickTimeSlot": { + "description": "Slot of time.", + "id": "EnterpriseTopazSidekickTimeSlot", "properties": { - "fill": { - "description": "Whether it renders a filled icon. Default value is false. See Customization in [Google Font Icon](https://fonts.google.com/icons) for details.", - "type": "boolean" + "endTimeDay": { + "description": "Day end time at the user's timezone.", + "type": "string" }, - "grade": { - "description": "Weight and grade affect a symbol’s thickness. Adjustments to grade are more granular than adjustments to weight and have a small impact on the size of the symbol. Choose from {-25, 0, 200}. If absent, default value is 0. If any other value is specified, a broken image icon will be displayed. See Customization in [Google Font Icon](https://fonts.google.com/icons) for details.", - "format": "int32", - "type": "integer" + "endTimeHourAndMinute": { + "description": "Hour and minute of the end time at the user's timezone.", + "type": "string" }, - "name": { - "description": "The icon name defined in the [Google Material Icon](https://fonts.google.com/icons) in snake_case. e.g. \"check_box\". Any invalid name will be trimmed as empty string result in the icon falied to render.", + "endTimeInMillis": { + "description": "End time in milliseconds.", + "format": "int64", "type": "string" }, - "weight": { - "description": "The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, a broken image icon will be displayed. See Customization in [Google Font Icon](https://fonts.google.com/icons) for details.", - "format": "int32", - "type": "integer" + "startTimeDay": { + "description": "Day start time at user's timezone.", + "type": "string" + }, + "startTimeHourAndMinute": { + "description": "Hour and minute of the start time at the user's timezone.", + "type": "string" + }, + "startTimeInMillis": { + "description": "Start time in milliseconds.", + "format": "int64", + "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageOnClick": { - "id": "AppsDynamiteStorageOnClick", + "EnumOperatorOptions": { + "description": "Used to provide a search operator for enum properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched. For example, if you provide no operator for a *priority* enum property with possible values *p0* and *p1*, a query that contains the term *p0* returns items that have *p0* as the value of the *priority* property, as well as any items that contain the string *p0* in other fields. If you provide an operator name for the enum, such as *priority*, then search users can use that operator to refine results to only items that have *p0* as this property's value, with the query *priority:p0*.", + "id": "EnumOperatorOptions", "properties": { - "action": { - "$ref": "AppsDynamiteStorageAction", - "description": "If specified, an action is triggered by this onClick." - }, - "hostAppAction": { - "$ref": "HostAppActionMarkup", - "description": "Triggers host app action on click directly without invoking form actions. This is currently not available to end-users and is used internal only." - }, - "openDynamicLinkAction": { - "$ref": "AppsDynamiteStorageAction", - "description": "An add-on triggers this action when the action needs to open a link. This differs from the open_link above in that this needs to talk to server to get the link. Thus some preparation work is required for web client to do before the open link action response comes back." - }, - "openLink": { - "$ref": "AppsDynamiteStorageOpenLink", - "description": "If specified, this onClick triggers an open link action." + "operatorName": { + "description": "Indicates the operator name required in the query in order to isolate the enum property. For example, if operatorName is *priority* and the property's name is *priorityVal*, then queries like *priority:\u003cvalue\u003e* show results only where the value of the property named *priorityVal* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", + "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageOpenLink": { - "id": "AppsDynamiteStorageOpenLink", + "EnumPropertyOptions": { + "description": "The options for enum properties, which allow you to define a restricted set of strings to match user queries, set rankings for those string values, and define an operator name to be paired with those strings so that users can narrow results to only items with a specific value. For example, for items in a request tracking system with priority information, you could define *p0* as an allowable enum value and tie this enum to the operator name *priority* so that search users could add *priority:p0* to their query to restrict the set of results to only those items indexed with the value *p0*.", + "id": "EnumPropertyOptions", "properties": { - "appUri": { - "$ref": "AppsDynamiteStorageOpenLinkAppUri", - "description": "Represents the platform specific uri/intent to open on each client. For example: A companion_url will open in a companion window on the web. An iOS URL and android intent will open in the corresponding hosting apps. If these platform specific URLs can't be handled correctly, i.e. if the companion isn't supported on web and the hosting apps aren't available on the mobile platforms then the `uri` will open in a new browser window on all the platforms." - }, - "onClose": { - "enum": [ - "NOTHING", - "RELOAD" - ], - "enumDescriptions": [ - "Doesn’t reload the card after the child window closes. Reloads the card after the child window closes. If used in conjunction with [OpenAs.OVERLAY](/workspace/add-ons/reference/rpc/google.apps.card.v1#openas), the child window acts as a modal dialog and the main card is blocked until the child window closes.", - "" - ], - "type": "string" + "operatorOptions": { + "$ref": "EnumOperatorOptions", + "description": "If set, describes how the enum should be used as a search operator." }, - "openAs": { + "orderedRanking": { + "description": "Used to specify the ordered ranking for the enumeration that determines how the integer values provided in the possible EnumValuePairs are used to rank results. If specified, integer values must be provided for all possible EnumValuePair values given for this property. Can only be used if isRepeatable is false.", "enum": [ - "FULL_SIZE", - "OVERLAY" + "NO_ORDER", + "ASCENDING", + "DESCENDING" ], "enumDescriptions": [ - "The link opens as a full size window (if that's the frame used by the client.", - "The link opens as an overlay, such as a pop-up." + "There is no ranking order for the property. Results aren't adjusted by this property's value.", + "This property is ranked in ascending order. Lower values indicate lower ranking.", + "This property is ranked in descending order. Lower values indicate higher ranking." ], "type": "string" }, - "url": { - "description": "The URL to open.", - "type": "string" + "possibleValues": { + "description": "The list of possible values for the enumeration property. All EnumValuePairs must provide a string value. If you specify an integer value for one EnumValuePair, then all possible EnumValuePairs must provide an integer value. Both the string value and integer value must be unique over all possible values. Once set, possible values cannot be removed or modified. If you supply an ordered ranking and think you might insert additional enum values in the future, leave gaps in the initial integer values to allow adding a value in between previously registered values. The maximum number of elements is 100.", + "items": { + "$ref": "EnumValuePair" + }, + "type": "array" } }, "type": "object" }, - "AppsDynamiteStorageOpenLinkAppUri": { - "description": "Represents the platform specific uri/intent to open for each client.", - "id": "AppsDynamiteStorageOpenLinkAppUri", + "EnumValuePair": { + "description": "The enumeration value pair defines two things: a required string value and an optional integer value. The string value defines the necessary query term required to retrieve that item, such as *p0* for a priority item. The integer value determines the ranking of that string value relative to other enumerated values for the same property. For example, you might associate *p0* with *0* and define another enum pair such as *p1* and *1*. You must use the integer value in combination with ordered ranking to set the ranking of a given value relative to other enumerated values for the same property name. Here, a ranking order of DESCENDING for *priority* properties results in a ranking boost for items indexed with a value of *p0* compared to items indexed with a value of *p1*. Without a specified ranking order, the integer value has no effect on item ranking.", + "id": "EnumValuePair", "properties": { - "androidIntent": { - "$ref": "AppsDynamiteStorageOpenLinkAppUriIntent", - "description": "An intent object to be opened in the corresponding android hosting app." - }, - "companionUri": { - "description": "A companion uri string to be opened in the chat companion window. on the web.", - "type": "string" + "integerValue": { + "description": "The integer value of the EnumValuePair which must be non-negative. Optional.", + "format": "int32", + "type": "integer" }, - "iosUri": { - "description": "A uri string to be opened in the corresponding iOS hosting app.", + "stringValue": { + "description": "The string value of the EnumValuePair. The maximum length is 32 characters.", "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageOpenLinkAppUriIntent": { - "description": "Android intent.", - "id": "AppsDynamiteStorageOpenLinkAppUriIntent", + "EnumValues": { + "description": "List of enum values.", + "id": "EnumValues", + "properties": { + "values": { + "description": "The maximum allowable length for string values is 32 characters.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ErrorInfo": { + "description": "Error information about the response.", + "id": "ErrorInfo", "properties": { - "extraData": { - "description": "A list of extra data for the android intent. For example, for a calendar event edit intent, the event title information can be passed as extra data.", + "errorMessages": { "items": { - "$ref": "AppsDynamiteStorageOpenLinkAppUriIntentExtraData" + "$ref": "ErrorMessage" }, "type": "array" - }, - "intentAction": { - "description": "An android intent action string for the {@link android.content.Intent} object. For example: for the view intent action type, a valid value will be android.content.Intent.ACTION_VIEW.", - "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageOpenLinkAppUriIntentExtraData": { - "description": "Extra data for an android intent. Valid keys are defined in the hosting app contract.", - "id": "AppsDynamiteStorageOpenLinkAppUriIntentExtraData", + "ErrorMessage": { + "description": "Error message per source response.", + "id": "ErrorMessage", "properties": { - "key": { - "description": "A key for the intent extra data.", + "errorMessage": { "type": "string" }, - "value": { - "description": "Value for the given extra data key.", - "type": "string" + "source": { + "$ref": "Source" } }, "type": "object" }, - "AppsDynamiteStorageSelectionInput": { - "description": "A widget that creates a UI item (for example, a drop-down list) with options for users to select.", - "id": "AppsDynamiteStorageSelectionInput", + "FacetBucket": { + "description": "A bucket in a facet is the basic unit of operation. A bucket can comprise either a single value OR a contiguous range of values, depending on the type of the field bucketed. FacetBucket is currently used only for returning the response object.", + "id": "FacetBucket", "properties": { - "items": { - "items": { - "$ref": "AppsDynamiteStorageSelectionInputSelectionItem" - }, - "type": "array" - }, - "label": { - "description": "The label displayed ahead of the switch control.", - "type": "string" + "count": { + "description": "Number of results that match the bucket value. Counts are only returned for searches when count accuracy is ensured. Cloud Search does not guarantee facet counts for any query and facet counts might be present only intermittently, even for identical queries. Do not build dependencies on facet count existence; instead use facet ount percentages which are always returned.", + "format": "int32", + "type": "integer" }, - "name": { - "description": "The name of the text input which is used in formInput.", - "type": "string" + "filter": { + "$ref": "Filter", + "description": "Filter to be passed in the search request if the corresponding bucket is selected." }, - "onChangeAction": { - "$ref": "AppsDynamiteStorageAction", - "description": "If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button." + "percentage": { + "description": "Percent of results that match the bucket value. The returned value is between (0-100], and is rounded down to an integer if fractional. If the value is not explicitly returned, it represents a percentage value that rounds to 0. Percentages are returned for all searches, but are an estimate. Because percentages are always returned, you should render percentages instead of counts.", + "format": "int32", + "type": "integer" }, - "type": { - "enum": [ - "CHECK_BOX", - "RADIO_BUTTON", - "SWITCH", - "DROPDOWN", - "MULTI_SELECT" - ], - "enumDescriptions": [ - "The selection type is a checkbox.", - "The selection type is a radio button.", - "The selection type is a switch.", - "The selection type is a dropdown.", - "The selection type is multi-select" - ], - "type": "string" + "value": { + "$ref": "Value" } }, "type": "object" }, - "AppsDynamiteStorageSelectionInputSelectionItem": { - "description": "The item in the switch control. A radio button, at most one of the items is selected.", - "id": "AppsDynamiteStorageSelectionInputSelectionItem", + "FacetOptions": { + "description": "Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.", + "id": "FacetOptions", "properties": { - "selected": { - "description": "If more than one item is selected for `RADIO_BUTTON` and `DROPDOWN`, the first selected item is treated as selected and the ones after are ignored.", - "type": "boolean" + "integerFacetingOptions": { + "$ref": "IntegerFacetingOptions", + "description": "If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets returned would be minimum of this and num_facet_buckets." }, - "text": { - "description": "The text to be displayed.", + "numFacetBuckets": { + "description": "Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100.", + "format": "int32", + "type": "integer" + }, + "objectType": { + "description": "If object_type is set, only those objects of that type will be used to compute facets. If empty, then all objects will be used to compute facets.", "type": "string" }, - "value": { - "description": "The value associated with this item. The client should use this as a form input value.", + "operatorName": { + "description": "The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions", + "type": "string" + }, + "sourceName": { + "description": "Source name to facet on. Format: datasources/{source_id} If empty, all data sources will be used.", "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageSuggestions": { - "description": "A container wrapping elements necessary for showing suggestion items used in text input autocomplete.", - "id": "AppsDynamiteStorageSuggestions", + "FacetResult": { + "description": "Source specific facet response", + "id": "FacetResult", "properties": { - "items": { - "description": "A list of suggestions items which will be used in are used in autocomplete.", + "buckets": { + "description": "FacetBuckets for values in response containing at least a single result with the corresponding filter.", "items": { - "$ref": "AppsDynamiteStorageSuggestionsSuggestionItem" + "$ref": "FacetBucket" }, "type": "array" - } - }, - "type": "object" - }, - "AppsDynamiteStorageSuggestionsSuggestionItem": { - "description": "A suggestion item. Only supports text for now.", - "id": "AppsDynamiteStorageSuggestionsSuggestionItem", - "properties": { - "text": { - "type": "string" - } - }, - "type": "object" - }, - "AppsDynamiteStorageTextInput": { - "description": "A text input is a UI item where users can input text. A text input can also have an onChange action and suggestions.", - "id": "AppsDynamiteStorageTextInput", - "properties": { - "autoCompleteAction": { - "$ref": "AppsDynamiteStorageAction", - "description": "The refresh function that returns suggestions based on the user's input text. If the callback is not specified, autocomplete is done in client side based on the initial suggestion items." }, - "hintText": { - "description": "The hint text.", + "objectType": { + "description": "Object type for which facet results are returned. Can be empty.", "type": "string" }, - "initialSuggestions": { - "$ref": "AppsDynamiteStorageSuggestions", - "description": "The initial suggestions made before any user input." - }, - "label": { - "description": "At least one of label and hintText must be specified.", + "operatorName": { + "description": "The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions", "type": "string" }, - "name": { - "description": "The name of the text input which is used in formInput.", + "sourceName": { + "description": "Source name for which facet results are returned. Will not be empty.", "type": "string" - }, - "onChangeAction": { - "$ref": "AppsDynamiteStorageAction", - "description": "The onChange action, for example, invoke a function." - }, - "type": { - "description": "The style of the text, for example, a single line or multiple lines.", - "enum": [ - "SINGLE_LINE", - "MULTIPLE_LINE" - ], - "enumDescriptions": [ - "The text is put into a single line.", - "The text is put into multiple lines." - ], + } + }, + "type": "object" + }, + "FieldViolation": { + "id": "FieldViolation", + "properties": { + "description": { + "description": "The description of the error.", "type": "string" }, - "value": { - "description": "The default value when there is no input from the user.", + "field": { + "description": "Path of field with violation.", "type": "string" } }, "type": "object" }, - "AppsDynamiteStorageTextParagraph": { - "description": "A paragraph of text that supports formatting. See [Text formatting](workspace/add-ons/concepts/widgets#text_formatting\") for details.", - "id": "AppsDynamiteStorageTextParagraph", + "Filter": { + "description": "A generic way of expressing filters in a query, which supports two approaches: **1. Setting a ValueFilter.** The name must match an operator_name defined in the schema for your data source. **2. Setting a CompositeFilter.** The filters are evaluated using the logical operator. The top-level operators can only be either an AND or a NOT. AND can appear only at the top-most level. OR can appear only under a top-level AND.", + "id": "Filter", "properties": { - "text": { - "description": "The text that's shown in the widget.", - "type": "string" + "compositeFilter": { + "$ref": "CompositeFilter" + }, + "valueFilter": { + "$ref": "ValueFilter" } }, "type": "object" }, - "AppsDynamiteStorageWidget": { - "description": "A widget is a UI element that presents texts, images, etc.", - "id": "AppsDynamiteStorageWidget", + "FilterOptions": { + "description": "Filter options to be applied on query.", + "id": "FilterOptions", "properties": { - "buttonList": { - "$ref": "AppsDynamiteStorageButtonList", - "description": "A list of buttons. For example, the following JSON creates two buttons. The first is a filled text button and the second is an image button that opens a link: ``` \"buttonList\": { \"buttons\": [ \"button\": { \"text\": \"Edit\", \"Color\": { \"Red\": 255 \"Green\": 255 \"Blue\": 255 } \"disabled\": true }, \"button\": { \"icon\": { \"knownIcon\": \"INVITE\" \"altText\": \"check calendar\" }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/calendar\" } } }, ] } ```" - }, - "columns": { - "$ref": "AppsDynamiteStorageColumns", - "description": "Displays a single row of columns with widgets stacked vertically in each column. For example, the following JSON creates a 2 column widget each containing a single item. ``` \"columns\": { \"wrapStyle\": \"WRAP\", \"columnItems\": [ { \"horizontalSizeStyle\": \"FILL_AVAILABLE_SPACE\", \"horizontalAlignment\": \"CENTER\", \"verticalAlignment\" : \"CENTER\", \"widgets\": [ { \"textParagraph\": { \"text\": \"First column text paragraph\", } } ] }, { \"horizontalSizeStyle\": \"FILL_AVAILABLE_SPACE\", \"horizontalAlignment\": \"CENTER\", \"verticalAlignment\" : \"CENTER\", \"widgets\": [ { \"textParagraph\": { \"text\": \"Second column text paragraph\", } } ] }, ] } } ```" - }, - "dateTimePicker": { - "$ref": "AppsDynamiteStorageDateTimePicker", - "description": "Displays a selection/input widget for date/time. For example, the following JSON creates a date/time picker for an appointment time: ``` \"date_time_picker\": { \"name\": \"appointment_time\", \"label\": \"Book your appointment at:\", \"type\": \"DateTimePickerType.DATE_AND_TIME\", \"valueMsEpoch\": \"796435200000\" } ```" - }, - "decoratedText": { - "$ref": "AppsDynamiteStorageDecoratedText", - "description": "Displays a decorated text item in this widget. For example, the following JSON creates a decorated text widget showing email address: ``` \"decoratedText\": { \"icon\": { \"knownIcon\": \"EMAIL\" }, \"topLabel\": \"Email Address\", \"content\": \"heba.salam@example.com\", \"bottomLabel\": \"This is a new Email address!\", \"switchWidget\": { \"name\": \"has_send_welcome_email_to_heba_salam\", \"selected\": false, \"controlType\": \"ControlType.CHECKBOX\" } } ```" - }, - "divider": { - "$ref": "AppsDynamiteStorageDivider", - "description": "Displays a divider. For example, the following JSON creates a divider: ``` \"divider\": { } ```" - }, - "grid": { - "$ref": "AppsDynamiteStorageGrid", - "description": "Displays a grid with a collection of items. For example, the following JSON creates a 2 column grid with a single item: ``` \"grid\": { \"title\": \"A fine collection of items\", \"numColumns\": 2, \"borderStyle\": { \"type\": \"STROKE\", \"cornerRadius\": 4.0 }, \"items\": [ \"image\": { \"imageUri\": \"https://www.example.com/image.png\", \"cropStyle\": { \"type\": \"SQUARE\" }, \"borderStyle\": { \"type\": \"STROKE\" } }, \"title\": \"An item\", \"textAlignment\": \"CENTER\" ], \"onClick\": { \"openLink\": { \"url\":\"https://www.example.com\" } } } ```" + "filter": { + "$ref": "Filter", + "description": "Generic filter to restrict the search, such as `lang:en`, `site:xyz`." }, - "horizontalAlignment": { - "description": "The horizontal alignment of this widget.", - "enum": [ - "HORIZONTAL_ALIGNMENT_UNSPECIFIED", - "START", - "CENTER", - "END" - ], - "enumDescriptions": [ - "Unspecified alignment.", - "Alignment to the start position.", - "Alignment to the center position.", - "Alignment to the end position." - ], + "objectType": { + "description": "If object_type is set, only objects of that type are returned. This should correspond to the name of the object that was registered within the definition of schema. The maximum length is 256 characters.", "type": "string" - }, - "image": { - "$ref": "AppsDynamiteStorageImage", - "description": "Displays an image in this widget. For example, the following JSON creates an image with alternative text: ``` \"image\": { \"imageUrl\": \"https://example.com/heba_salam.png\" \"altText\": \"Avatar for Heba Salam\" } ```" - }, - "selectionInput": { - "$ref": "AppsDynamiteStorageSelectionInput", - "description": "Displays a switch control in this widget. For example, the following JSON creates a dropdown selection for size: ``` \"switchControl\": { \"name\": \"size\", \"label\": \"Size\" \"type\": \"SelectionType.DROPDOWN\", \"items\": [ { \"text\": \"S\", \"value\": \"small\", \"selected\": false }, { \"text\": \"M\", \"value\": \"medium\", \"selected\": true }, { \"text\": \"L\", \"value\": \"large\", \"selected\": false }, { \"text\": \"XL\", \"value\": \"extra_large\", \"selected\": false } ] } ```" - }, - "textInput": { - "$ref": "AppsDynamiteStorageTextInput", - "description": "Displays a text input in this widget. For example, the following JSON creates a text input for mail address: ``` \"textInput\": { \"name\": \"mailing_address\", \"label\": \"Mailing Address\" } ``` As another example, the following JSON creates a text input for programming language with static suggestions: ``` \"textInput\": { \"name\": \"preferred_programing_language\", \"label\": \"Preferred Language\", \"initialSuggestions\": { \"items\": [ { \"text\": \"C++\" }, { \"text\": \"Java\" }, { \"text\": \"JavaScript\" }, { \"text\": \"Python\" } ] } } ```" - }, - "textParagraph": { - "$ref": "AppsDynamiteStorageTextParagraph", - "description": "Displays a text paragraph in this widget. For example, the following JSON creates a bolded text: ``` \"textParagraph\": { \"text\": \" *bold text*\" } ```" } }, "type": "object" }, - "AppsDynamiteV1ApiCompatV1Action": { - "description": "Interactive objects inside a message. Documentation: - https://api.slack.com/docs/message-buttons", - "id": "AppsDynamiteV1ApiCompatV1Action", + "FreshnessOptions": { + "description": "Indicates which freshness property to use when adjusting search ranking for an item. Fresher, more recent dates indicate higher quality. Use the freshness option property that best works with your data. For fileshare documents, last modified time is most relevant. For calendar event data, the time when the event occurs is a more relevant freshness indicator. In this way, calendar events that occur closer to the time of the search query are considered higher quality and ranked accordingly.", + "id": "FreshnessOptions", "properties": { - "confirm": { - "$ref": "AppsDynamiteV1ApiCompatV1ActionConfirm", - "description": "Confirmation dialog config." - }, - "name": { - "description": "Unique identifier for this action.", - "type": "string" - }, - "style": { - "description": "Button style (\"default\", \"primary\", or \"danger\").", - "type": "string" - }, - "text": { - "description": "User-facing label for the action.", - "type": "string" - }, - "type": { - "description": "Action type - currently only \"button\".", + "freshnessDuration": { + "description": "The duration after which an object should be considered stale. The default value is 180 days (in seconds).", + "format": "google-duration", "type": "string" }, - "value": { - "description": "Payload for this action. Will be sent to the action handler along with name.", + "freshnessProperty": { + "description": "This property indicates the freshness level of the object in the index. If set, this property must be a top-level property within the property definitions and it must be a timestamp type or date type. Otherwise, the Indexing API uses updateTime as the freshness indicator. The maximum length is 256 characters. When a property is used to calculate freshness, the value defaults to 2 years from the current time.", "type": "string" } }, "type": "object" }, - "AppsDynamiteV1ApiCompatV1ActionConfirm": { - "description": "Confirmation dialog config.", - "id": "AppsDynamiteV1ApiCompatV1ActionConfirm", + "GSuitePrincipal": { + "id": "GSuitePrincipal", "properties": { - "dismiss_text": { - "description": "\"Cancel\" button label.", - "type": "string" - }, - "ok_text": { - "description": "\"OK\" button label.", - "type": "string" + "gsuiteDomain": { + "description": "This principal represents all users of the Google Workspace domain of the customer.", + "type": "boolean" }, - "text": { - "description": "Confirmation dialog body text.", + "gsuiteGroupEmail": { + "description": "This principal references a Google Workspace group name.", "type": "string" }, - "title": { - "description": "Confirmation dialog title.", + "gsuiteUserEmail": { + "description": "This principal references a Google Workspace user account.", "type": "string" } }, "type": "object" }, - "AppsDynamiteV1ApiCompatV1Attachment": { - "description": "Richly formatted attachments. Documentation: - https://api.slack.com/docs/message-attachments", - "id": "AppsDynamiteV1ApiCompatV1Attachment", - "properties": { - "actions": { - "description": "Array of actions (currently only buttons).", - "items": { - "$ref": "AppsDynamiteV1ApiCompatV1Action" - }, - "type": "array" - }, - "attachment_type": { - "description": "Undocumented - used in interactive button examples. The only valid value appears to be \"default\".", - "type": "string" - }, - "author_icon": { - "description": "Avatar URL for the user.", - "type": "string" - }, - "author_link": { - "description": "URL that the user name should link to.", - "type": "string" - }, - "author_name": { - "description": "User name to display as the author of the message.", - "type": "string" - }, - "callback_id": { - "description": "Unique identifier for the collection of buttons within this attachment. Will be sent back to the action handler URL when a button is clicked.", - "type": "string" - }, - "color": { - "description": "A color \"bar\" to display to the left of the attachment.", - "type": "string" - }, - "fallback": { - "description": "Fallback plain-text string for clients that don't support attachments.", - "type": "string" - }, - "fields": { - "description": "Columns of text inside the attachment body.", - "items": { - "$ref": "AppsDynamiteV1ApiCompatV1Field" - }, - "type": "array" - }, - "footer": { - "description": "A string displayed at the bottom of the attachment.", - "type": "string" - }, - "footer_icon": { - "description": "Avatar URL displayed to the left of the footer.", - "type": "string" - }, - "image_url": { - "description": "URL of an image to display in an image chip.", + "GetCustomerIndexStatsResponse": { + "id": "GetCustomerIndexStatsResponse", + "properties": { + "averageIndexedItemCount": { + "description": "Average item count for the given date range for which billing is done.", + "format": "int64", "type": "string" }, - "mrkdwn_in": { - "description": "List of fields to apply formatting to.", + "stats": { + "description": "Summary of indexed item counts, one for each day in the requested range.", "items": { - "type": "string" + "$ref": "CustomerIndexStats" }, "type": "array" - }, - "pretext": { - "description": "A string to show above the attachment.", - "type": "string" - }, - "text": { - "description": "Main text.", - "type": "string" - }, - "thumb_url": { - "description": "URL of a thumbnail image to display to the right of the attachment body.", - "type": "string" - }, - "title": { - "description": "Title string of this attachment.", - "type": "string" - }, - "title_link": { - "description": "URL that the title string should link to.", - "type": "string" - }, - "ts": { - "description": "UNIX timestamp of the attachment.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "AppsDynamiteV1ApiCompatV1Field": { - "description": "A column of text in an attachment. Documentation: - https://api.slack.com/docs/message-attachments", - "id": "AppsDynamiteV1ApiCompatV1Field", - "properties": { - "short": { - "description": "Whether the field can be shown side-by-side with another field.", - "type": "boolean" - }, - "title": { - "description": "The heading text, shown in bold.", - "type": "string" - }, - "value": { - "description": "The text value of the field.", - "type": "string" } }, "type": "object" }, - "AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup": { - "id": "AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup", + "GetCustomerQueryStatsResponse": { + "id": "GetCustomerQueryStatsResponse", "properties": { - "addonAttachments": { + "stats": { "items": { - "$ref": "AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment" + "$ref": "CustomerQueryStats" }, "type": "array" - } - }, - "type": "object" - }, - "AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment": { - "id": "AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment", - "properties": { - "iconUrl": { - "description": "Link to the resource's icon.", - "type": "string" - }, - "mimeType": { - "description": "MIME type of the content in resource_url.", - "type": "string" - }, - "resourceUrl": { - "type": "string" }, - "title": { - "description": "Title of the attachment.", + "totalQueryCount": { + "description": "Total successful query count (status code 200) for the given date range.", + "format": "int64", "type": "string" } }, "type": "object" }, - "AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup": { - "description": "Markup that defines conference data associated to a Google Calendar event.", - "id": "AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup", + "GetCustomerSearchApplicationStatsResponse": { + "description": "Response format for search application stats for a customer.", + "id": "GetCustomerSearchApplicationStatsResponse", "properties": { - "conferenceId": { - "description": "Unique identifier for this conference data. Maximum 512 characters long.", - "type": "string" - }, - "conferenceSolutionId": { - "description": "An identifier of the conferencing solution. Must match a value from the deployment's `calendar.conferenceSolution.id` field.", - "type": "string" - }, - "entryPoints": { - "description": "Entry points to the conference. Maximum 300 entry points are allowed.", - "items": { - "$ref": "AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPointMarkup" - }, - "type": "array" - }, - "error": { - "$ref": "AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupError", - "description": "If set, it means an error occurred during conference creation." - }, - "note": { - "description": "Additional notes (such as instructions from the administrator, legal notices) to display to the user. Can contain HTML. Max length 2048 characters.", + "averageSearchApplicationCount": { + "description": "Average search application count for the given date range.", + "format": "int64", "type": "string" }, - "parameters": { - "description": "Additional add-on parameters. Maximum 300 parameters are allowed.", + "stats": { + "description": "Search application stats by date.", "items": { - "$ref": "AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupParameter" + "$ref": "CustomerSearchApplicationStats" }, "type": "array" } }, "type": "object" }, - "AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPointMarkup": { - "description": "A way to join the conference.", - "id": "AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPointMarkup", + "GetCustomerSessionStatsResponse": { + "id": "GetCustomerSessionStatsResponse", "properties": { - "accessCode": { - "description": "An access code for accessing the conference. Maximum 128 characters long.", - "type": "string" - }, - "features": { - "description": "Features of the entry point, such as being toll or toll-free. One entry point can have multiple features.", + "stats": { "items": { - "enum": [ - "UNKNOWN_FEATURE", - "TOLL", - "TOLL_FREE" - ], - "enumDescriptions": [ - "Unknown feature.", - "Applies to `PHONE` entry point. A call to a toll number is charged to the calling party. A number can't be toll and toll-free at the same time.", - "Applies to `PHONE` entry point. For the calling party, a call to a toll-free number is free of charge. A number can't be toll and toll-free at the same time." - ], - "type": "string" + "$ref": "CustomerSessionStats" }, "type": "array" - }, - "label": { - "description": "The label of the entry point to display to the user. Maximum 512 characters long.", - "type": "string" - }, - "meetingCode": { - "description": "A meeting code for accessing the conference. Maximum 128 characters long.", - "type": "string" - }, - "passcode": { - "description": "A passcode for accessing the conference. Maximum 128 characters long.", - "type": "string" - }, - "password": { - "description": "A password for accessing the conference. Maximum 128 characters long.", - "type": "string" - }, - "pin": { - "description": "A PIN for accessing the conference. Maximum 128 characters long.", - "type": "string" - }, - "regionCode": { - "description": "The CLDR/ISO 3166 region code for the country associated with this entry point. Applicable only to `Type.PHONE`.", - "type": "string" - }, - "type": { - "description": "The type of the entry point. Required.", - "enum": [ - "UNKNOWN", - "VIDEO", - "PHONE", - "MORE", - "SIP" - ], - "enumDescriptions": [ - "Unknown conference type.", - "A video conference.", - "A phone conference.", - "Used to provide a link to further conference joining information.", - "A conference using [Session Initiation Protocol](https://en.wikipedia.org/wiki/Session_Initiation_Protocol)" - ], - "type": "string" - }, - "uri": { - "description": "A URI for joining the conference. Supports tel: and http(s): and should be at most 1300 characters long. Required.", - "type": "string" - } - }, - "type": "object" - }, - "AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupError": { - "description": "Represents an error that occurred during conference creation.", - "id": "AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupError", - "properties": { - "authenticationUrl": { - "description": "If the error type is `AUTHENTICATION`, the add-on can provide a URL allowing users to log in. Maximum 1300 characters long.", - "type": "string" - }, - "type": { - "description": "The type of error. Required.", - "enum": [ - "UNKNOWN", - "AUTHENTICATION", - "TEMPORARY", - "PERMANENT", - "PERMISSION_DENIED", - "CONFERENCE_SOLUTION_FORBIDDEN" - ], - "enumDescriptions": [ - "Unknown error.", - "An authentication error.", - "A temporary error.", - "A permanent error.", - "The user isn't allowed to perform some action in the third-party conferencing system.", - "The user isn't allowed to use the selected conference solution (but might be allowed to use other solutions offered by the add-on)." - ], - "type": "string" - } - }, - "type": "object" - }, - "AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupParameter": { - "description": "Solution-specific parameters that are persisted with the event data and, if an update or delete is needed, are passed to the add-on. For example: `[{key: 'sessionKey', value: '123'}, {key: 'meetingId', value: '456'}]`", - "id": "AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupParameter", - "properties": { - "key": { - "description": "The key of the parameter. Maximum 50 characters long. Required.", - "type": "string" - }, - "value": { - "description": "The value of the parameter. Maximum 1024 characters long. Required.", - "type": "string" } }, "type": "object" }, - "AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup": { - "id": "AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup", + "GetCustomerUserStatsResponse": { + "id": "GetCustomerUserStatsResponse", "properties": { - "addAttendeeEmails": { - "description": "A list of attendees to add to the Google Calendar event.", + "stats": { "items": { - "type": "string" + "$ref": "CustomerUserStats" }, "type": "array" } }, "type": "object" }, - "AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup": { - "id": "AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup", - "properties": { - "conferenceData": { - "$ref": "AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup", - "description": "The conference data to add to the Google Calendar event." - } - }, - "type": "object" - }, - "Attachment": { - "description": "Attachments that follow the message text.", - "id": "Attachment", - "properties": { - "addOnData": { - "$ref": "GoogleChatV1ContextualAddOnMarkup", - "description": "Revised version of Gmail AddOn attachment approved by API design review." - }, - "appId": { - "$ref": "UserId", - "description": "The userId for the bot/app that created this data, to be used for attribution of attachments when the attachment was not created by the message sender." - }, - "attachmentId": { - "description": "To identify an attachment within repeated in a message", - "type": "string" - }, - "cardAddOnData": { - "$ref": "AppsDynamiteStorageCard", - "description": "Card AddOn attachment with the possibility for specifying editable widgets." - }, - "componentSearchInfo": { - "$ref": "AppsDynamiteSharedMessageComponentSearchInfo", - "description": "Contains additional metadata that further enhance the annotation when it is returned as part of search response. For example, this can be used to define how the attachment matches the search. Information can be used to highlight in rendering search results. The following are the different attachment text fields that are covered by this field: 1. ContextualAddOn.Card.CardHeader.title 2. CardItem.CardItemHeader.title" - }, - "deprecatedAddOnData": { - "$ref": "ContextualAddOnMarkup", - "description": "Deprecated version of Gmail AddOn attachment." - }, - "slackData": { - "$ref": "AppsDynamiteV1ApiCompatV1Attachment", - "description": "Slack attachment." - }, - "slackDataImageUrlHeight": { - "description": "The height of image url as fetched by fife. This field is asynchronously filled.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Attribute": { - "description": "An Attribute is a piece of data attached an Item. Attributes are opaque to the Starbox and have no effect on, nor are they effected by, message storage, indexing, or search. ", - "id": "Attribute", - "properties": { - "name": { - "description": "The name of the attribute. Required - If a write is attempted with an empty string, the server will return an error.", - "type": "string" - }, - "value": { - "$ref": "CaribouAttributeValue" - } - }, - "type": "object" - }, - "AttributeRemoved": { - "description": "An attribute was deleted from some (subset of the) messages in this thread.", - "id": "AttributeRemoved", + "GetDataSourceIndexStatsResponse": { + "id": "GetDataSourceIndexStatsResponse", "properties": { - "attributeId": { + "averageIndexedItemCount": { + "description": "Average item count for the given date range for which billing is done.", + "format": "int64", "type": "string" }, - "messageKeys": { + "stats": { + "description": "Summary of indexed item counts, one for each day in the requested range.", "items": { - "$ref": "MultiKey" + "$ref": "DataSourceIndexStats" }, "type": "array" } }, "type": "object" }, - "AttributeSet": { - "description": "An attribute was added to some (subset of the) messages in this thread.", - "id": "AttributeSet", + "GetSearchApplicationQueryStatsResponse": { + "description": "Response format for getting query stats for a search application between given dates.", + "id": "GetSearchApplicationQueryStatsResponse", "properties": { - "attributeId": { - "type": "string" - }, - "attributeValue": { - "description": "The serialized attribute_value as persisted in the storage layer. The application is responsible for deserializing it to an Attribute.Value if appropriate.", - "format": "byte", - "type": "string" - }, - "messageKeys": { + "stats": { + "description": "Query stats per date for a search application.", "items": { - "$ref": "MultiKey" + "$ref": "SearchApplicationQueryStats" }, "type": "array" + }, + "totalQueryCount": { + "description": "Total successful query count (status code 200) for the given date range.", + "format": "int64", + "type": "string" } }, "type": "object" }, - "Attributes": { - "id": "Attributes", + "GetSearchApplicationSessionStatsResponse": { + "id": "GetSearchApplicationSessionStatsResponse", "properties": { - "attribute": { + "stats": { "items": { - "$ref": "Attribute" + "$ref": "SearchApplicationSessionStats" }, "type": "array" } }, "type": "object" }, - "AuditLoggingSettings": { - "description": "Represents the settings for Cloud audit logging", - "id": "AuditLoggingSettings", + "GetSearchApplicationUserStatsResponse": { + "id": "GetSearchApplicationUserStatsResponse", "properties": { - "logAdminReadActions": { - "description": "Indicates whether audit logging is on/off for admin activity read APIs i.e. Get/List DataSources, Get/List SearchApplications etc.", - "type": "boolean" - }, - "logDataReadActions": { - "description": "Indicates whether audit logging is on/off for data access read APIs i.e. ListItems, GetItem etc.", - "type": "boolean" - }, - "logDataWriteActions": { - "description": "Indicates whether audit logging is on/off for data access write APIs i.e. IndexItem etc.", - "type": "boolean" - }, - "project": { - "description": "The resource name of the GCP Project to store audit logs. Cloud audit logging will be enabled after project_name has been updated through CustomerService. Format: projects/{project_id}", - "type": "string" + "stats": { + "items": { + "$ref": "SearchApplicationUserStats" + }, + "type": "array" } }, "type": "object" }, - "AuthorizedItemId": { - "description": "A combination of an identifier for a Drive resource (e.g. file, folder, or drive) and any secrets needed to access it. The secrets should never be logged, and this proto annotates those secret fields to ensure that they are not. Clients are encouraged to use this proto rather than defining their own, to ensure that secrets are correctly annotated.", - "id": "AuthorizedItemId", + "GoogleDocsMetadata": { + "description": "The corpus specific metadata for office-type documents, from Google Docs and other sources. This message is passed to the scorer and beyond. Next tag: 9", + "id": "GoogleDocsMetadata", "properties": { - "id": { - "description": "Serialized ID of the Drive resource", - "type": "string" + "aclInfo": { + "$ref": "AclInfo", + "description": "Contains number of users and groups which can access the document." }, - "resourceKey": { - "description": "Resource key of the Drive item. This field should be unset if, depending on the context, the item does not have a resource key, or if none was specified. This must never be logged.", + "documentType": { + "description": "The conceptual type (presentation, document, etc.) of this document.", + "enum": [ + "UNKNOWN", + "DOCUMENT", + "PRESENTATION", + "SPREADSHEET", + "PDF", + "IMAGE", + "BINARY_BLOB", + "FUSION_TABLE", + "FOLDER", + "DRAWING", + "VIDEO", + "FORM", + "DRAFT_SITE", + "DRAFT_SITE_PAGE", + "JAM", + "SHORTCUT", + "SCRIPT" + ], + "enumDescriptions": [ + "If the type is unknown or not represented in this enum.", + "Writely, Word, etc.", + "Presently, PowerPoint, etc.", + "Trix, Excel, etc.", + "File types for Gdrive objects are below.", + "", + "Fall-back for unknown Gdrive types.", + "", + "", + "", + "", + "", + "For Atari page and site drafts", + "", + "Jamboard Jams (go/jam)", + "Drive Shortcuts (go/shortcuts)", + "" + ], + "type": "string" + }, + "fileExtension": { + "description": "The file extension of the document. NOTE: As of October 2018 this field is not backfilled for old documents.", + "type": "string" + }, + "lastContentModifiedTimestamp": { + "description": "The last time this document was modified, in seconds since epoch. Only counts content modifications.", + "format": "int64", "type": "string" + }, + "numSubscribers": { + "description": "Contains number of subscribers for the document.", + "format": "int32", + "type": "integer" + }, + "numViewers": { + "description": "Size of untruncated viewers list.", + "format": "int32", + "type": "integer" + }, + "resultInfo": { + "$ref": "GoogleDocsResultInfo", + "description": "Additional per-result information, akin to Gmail's SingleThreadResponse. Note: GWS no longer seems to use this field, but there's still one reference to it for Scribe, so we can't remove it." + }, + "typeInfo": { + "$ref": "TypeInfo", + "description": "Contains additional information about the document depending on its type." } }, "type": "object" }, - "AutoComplete": { - "id": "AutoComplete", + "GoogleDocsResultInfo": { + "description": "A message containing information about a specific result. This information is passed to the scorer and beyond; in particular, GWS relies on it to format the result in the UI. Split from GoogleDocsMetadata in case we later want to reuse the message.", + "id": "GoogleDocsResultInfo", "properties": { - "items": { - "items": { - "$ref": "AutoCompleteItem" - }, - "type": "array" + "attachmentSha1": { + "description": "The SHA1 hash of the object in Drive, if any.", + "type": "string" + }, + "cosmoId": { + "$ref": "Id", + "description": "The storage identifier for the object in Cosmo. This field is intended to used by Stratus/Moonshine integration only. It should not be exposed externally (please refer to encrypted_id for that purpose)." + }, + "cosmoNameSpace": { + "description": "For Cosmo objects, the Cosmo namespace the object was in. This allows downstream clients to identify whether a document was created in Writely or Kix, Presently or Punch, or whether it was uploaded from GDrive. See storage_cosmo.Id.NAME_SPACE for a list of all Cosmo name spaces.", + "format": "int32", + "type": "integer" + }, + "encryptedId": { + "description": "The encrypted (user-visible) id of this object. Knowing the id is sufficient to create a canonical URL for this document.", + "type": "string" + }, + "mimeType": { + "description": "The mimetype of the document.", + "type": "string" + }, + "shareScope": { + "$ref": "ShareScope", + "description": "The visibility indicator in the UI will be based upon this." } }, "type": "object" }, - "AutoCompleteItem": { - "id": "AutoCompleteItem", + "HtmlOperatorOptions": { + "description": "Used to provide a search operator for html properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", + "id": "HtmlOperatorOptions", "properties": { - "text": { + "operatorName": { + "description": "Indicates the operator name required in the query in order to isolate the html property. For example, if operatorName is *subject* and the property's name is *subjectLine*, then queries like *subject:\u003cvalue\u003e* show results only where the value of the property named *subjectLine* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator return all items where *\u003cvalue\u003e* matches the value of any html properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", "type": "string" } }, "type": "object" }, - "BabelMessageProps": { - "description": "Container for Babel (Hangouts Classic) only message properties. The properties here will not be consumed by Dynamite clients. They are relevant only for Hangouts Classic.", - "id": "BabelMessageProps", + "HtmlPropertyOptions": { + "description": "The options for html properties.", + "id": "HtmlPropertyOptions", "properties": { - "clientGeneratedId": { - "description": "Babel clients locally generate this ID to dedupe against the async fanout.", - "format": "int64", - "type": "string" - }, - "contentExtension": { - "$ref": "ChatContentExtension", - "description": "Stores additional Babel-specific properties (such as event metadata)." - }, - "deliveryMedium": { - "$ref": "DeliveryMedium", - "description": "Stores the delivery source of messages (such as phone number for SMS)." - }, - "eventId": { - "description": "Primary identifier used by Hangouts Classic for its events (messages).", - "type": "string" - }, - "messageContent": { - "$ref": "ChatConserverMessageContent", - "description": "Stores message segments (text content) and attachments (media URLs)." + "operatorOptions": { + "$ref": "HtmlOperatorOptions", + "description": "If set, describes how the property should be used as a search operator." }, - "wasUpdatedByBackfill": { - "description": "Whether or not these message properties were backfilled by go/dinnertrain.", - "type": "boolean" + "retrievalImportance": { + "$ref": "RetrievalImportance", + "description": "Indicates the search quality importance of the tokens within the field when used for retrieval. Can only be set to DEFAULT or NONE." } }, "type": "object" }, - "BabelPlaceholderMetadata": { - "description": "Annotation metadata for Babel-only items that signals which type of placeholder message should be displayed in Babel clients.", - "id": "BabelPlaceholderMetadata", + "HtmlValues": { + "description": "List of html values.", + "id": "HtmlValues", "properties": { - "deleteMetadata": { - "$ref": "DeleteMetadata" - }, - "editMetadata": { - "$ref": "EditMetadata" - }, - "hangoutVideoMetadata": { - "$ref": "HangoutVideoEventMetadata" + "values": { + "description": "The maximum allowable length for html values is 2048 characters.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "BooleanOperatorOptions": { - "description": "Used to provide a search operator for boolean properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", - "id": "BooleanOperatorOptions", + "Id": { + "description": "Identifies a particular object, including both Users and DirEntries. This Id is unique across the entire server instance, such as the production or qa instance.", + "id": "Id", "properties": { - "operatorName": { - "description": "Indicates the operator name required in the query in order to isolate the boolean property. For example, if operatorName is *closed* and the property's name is *isClosed*, then queries like *closed:\u003cvalue\u003e* show results only where the value of the property named *isClosed* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", + "creatorUserId": { + "description": "The User account in which the DirEntry was originally created. If name_space==GAIA, then it's the gaia_id of the user this id is referring to. This field should really be called the \"bucket ID\", not the creator ID. In some circumstances, such as copying a Google Docs file, a user can create an item in a different user's bucket, so it should not be relied upon for anything other than bucket location. To look up the requesting user who initially created item, use the `creator_id` DirEntry field instead.", + "format": "uint64", "type": "string" + }, + "localId": { + "description": "The local identifier for the DirEntry (local to the creator's account). local_id + app_name is guaranteed to be unique within the creator account, but not across all User accounts. The string is case sensitive. Ignore if name_space==GAIA. NB For name_space==COSMO, all local_id's should be defined in google3/java/com/google/storage/cosmo/server/api/SpecialObjectIds.java as they have a special predefined meaning. See cosmo.client.CosmoIdFactory.createObjectId(long,String) for IMPORTANT recommendations when generating IDs.", + "type": "string" + }, + "nameSpace": { + "description": "The name space in which this id is unique (typically the application that created it). Values should be drawn from the above enum, but for experimentation, use values greater than 1000.", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "BooleanPropertyOptions": { - "description": "The options for boolean properties.", - "id": "BooleanPropertyOptions", + "IndexItemOptions": { + "id": "IndexItemOptions", "properties": { - "operatorOptions": { - "$ref": "BooleanOperatorOptions", - "description": "If set, describes how the boolean should be used as a search operator." + "allowUnknownGsuitePrincipals": { + "description": "Specifies if the index request should allow Google Workspace principals that do not exist or are deleted.", + "type": "boolean" } }, "type": "object" }, - "BorderStyle": { - "description": "Represents a complete border style that can be applied to widgets.", - "id": "BorderStyle", + "IndexItemRequest": { + "id": "IndexItemRequest", "properties": { - "cornerRadius": { - "description": "The corner radius for the border.", - "format": "int32", - "type": "integer" - }, - "strokeColor": { - "description": "The colors to use when the type is STROKE.", + "connectorName": { + "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", "type": "string" }, - "type": { - "description": "The border type.", + "debugOptions": { + "$ref": "DebugOptions", + "description": "Common debug options." + }, + "indexItemOptions": { + "$ref": "IndexItemOptions" + }, + "item": { + "$ref": "Item", + "description": "The name of the item. Format: datasources/{source_id}/items/{item_id}" + }, + "mode": { + "description": "Required. The RequestMode for this request.", "enum": [ - "BORDER_TYPE_NOT_SET", - "NO_BORDER", - "STROKE" + "UNSPECIFIED", + "SYNCHRONOUS", + "ASYNCHRONOUS" ], "enumDescriptions": [ - "No value specified.", - "No border.", - "Outline." + "The priority is not specified in the update request. Leaving priority unspecified results in an update failure.", + "For real-time updates.", + "For changes that are executed after the response is sent back to the caller." ], "type": "string" } }, "type": "object" }, - "BotInfo": { - "description": "Bot-specific profile information.", - "id": "BotInfo", + "InitializeCustomerRequest": { + "description": "Request message for `InitializeCustomer` method.", + "id": "InitializeCustomerRequest", + "properties": {}, + "type": "object" + }, + "IntegerFacetingOptions": { + "description": "Used to specify integer faceting options.", + "id": "IntegerFacetingOptions", + "properties": { + "integerBuckets": { + "description": "Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {\u003c1, [1,5), [5-10), [10-100), \u003e=100}.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "IntegerOperatorOptions": { + "description": "Used to provide a search operator for integer properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", + "id": "IntegerOperatorOptions", "properties": { - "appAllowlistStatus": { - "enum": [ - "UNSPECIFIED_STATUS", - "ALLOWED", - "ALL_APPS_DISABLED_BY_ADMIN", - "APP_NOT_ALLOWLISTED_BY_ADMIN" - ], - "enumDescriptions": [ - "", - "", - "For both ALL_APPS_DISABLED_BY_ADMIN and APP_NOT_ALLOWLISTED_BY_ADMIN, the app should still be visible in the catalog, but usage of the app will be disabled. Indicates that all apps have been disabled by the dasher admin.", - "Indicates that the customer is using allowlisting, but that the bot is not allowlisted." - ], + "greaterThanOperatorName": { + "description": "Indicates the operator name required in the query in order to isolate the integer property using the greater-than operator. For example, if greaterThanOperatorName is *priorityabove* and the property's name is *priorityVal*, then queries like *priorityabove:\u003cvalue\u003e* show results only where the value of the property named *priorityVal* is greater than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", "type": "string" }, - "appId": { - "$ref": "AppId", - "description": "Identifier of the application associated with the bot." - }, - "botAvatarUrl": { - "description": "URL for the avatar picture of the User in dynamite. This field should be populated if the request is FetchBotCategories/ListBotCatalogEntries", + "lessThanOperatorName": { + "description": "Indicates the operator name required in the query in order to isolate the integer property using the less-than operator. For example, if lessThanOperatorName is *prioritybelow* and the property's name is *priorityVal*, then queries like *prioritybelow:\u003cvalue\u003e* show results only where the value of the property named *priorityVal* is less than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", "type": "string" }, - "botName": { - "description": "Non-unique, user-defined display name of the Bot. This field should be populated if the request is FetchBotCategories/ListBotCatalogEntries.", + "operatorName": { + "description": "Indicates the operator name required in the query in order to isolate the integer property. For example, if operatorName is *priority* and the property's name is *priorityVal*, then queries like *priority:\u003cvalue\u003e* show results only where the value of the property named *priorityVal* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", "type": "string" + } + }, + "type": "object" + }, + "IntegerPropertyOptions": { + "description": "The options for integer properties.", + "id": "IntegerPropertyOptions", + "properties": { + "integerFacetingOptions": { + "$ref": "IntegerFacetingOptions", + "description": "If set, describes integer faceting options for the given integer property. The corresponding integer property should be marked isFacetable." }, - "description": { - "description": "Short description for the bot.", + "maximumValue": { + "description": "The maximum value of the property. The minimum and maximum values for the property are used to rank results according to the ordered ranking. Indexing requests with values greater than the maximum are accepted and ranked with the same weight as items indexed with the maximum value.", + "format": "int64", "type": "string" }, - "developerName": { - "description": "Name of bot developer.", + "minimumValue": { + "description": "The minimum value of the property. The minimum and maximum values for the property are used to rank results according to the ordered ranking. Indexing requests with values less than the minimum are accepted and ranked with the same weight as items indexed with the minimum value.", + "format": "int64", "type": "string" }, - "marketPlaceBannerUrl": { - "description": "URL for the banner image in GSuite Market Place. The banner will be 220x140.", - "type": "string" + "operatorOptions": { + "$ref": "IntegerOperatorOptions", + "description": "If set, describes how the integer should be used as a search operator." }, - "status": { - "description": "Indicates whether bot is enabled/disabled.", + "orderedRanking": { + "description": "Used to specify the ordered ranking for the integer. Can only be used if isRepeatable is false.", "enum": [ - "UNKNOWN_STATUS", - "ENABLED", - "DISABLED_BY_DEVELOPER" - ], - "enumDescriptions": [ - "", - "", - "Bot has been disabled by the bot developer. No one can @mention or interact with the bot." + "NO_ORDER", + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "There is no ranking order for the property. Results are not adjusted by this property's value.", + "This property is ranked in ascending order. Lower values indicate lower ranking.", + "This property is ranked in descending order. Lower values indicate higher ranking." ], "type": "string" - }, - "supportHomeScreen": { - "description": "If the app supports a home screen.", - "type": "boolean" - }, - "supportUrls": { - "$ref": "SupportUrls", - "description": "Urls with additional information related to the bot. This field should always be set even if all the fields within it are empty, so that it is convenient for clients to work with this field in javascript." - }, - "supportedUses": { - "description": "The supported uses are limited according to the user that made the request. If the user does not have permission to use the bot, the list will be empty. This could occur for non whitelisted bots in the catalog.", + } + }, + "type": "object" + }, + "IntegerValues": { + "description": "List of integer values.", + "id": "IntegerValues", + "properties": { + "values": { "items": { - "enum": [ - "UNKNOWN", - "CAN_ADD_TO_DM", - "CAN_ADD_TO_ROOM", - "CAN_ADD_TO_HUMAN_DM" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], + "format": "int64", "type": "string" }, "type": "array" + } + }, + "type": "object" + }, + "Interaction": { + "description": "Represents an interaction between a user and an item.", + "id": "Interaction", + "properties": { + "interactionTime": { + "description": "The time when the user acted on the item. If multiple actions of the same type exist for a single user, only the most recent action is recorded.", + "format": "google-datetime", + "type": "string" + }, + "principal": { + "$ref": "Principal", + "description": "The user that acted on the item." }, - "uninstallCapability": { - "description": "Determine how uninstall is permitted for this app.", + "type": { "enum": [ - "UNSPECIFIED_UNINSTALL_CAPABILITY", - "ALWAYS_ALLOWED", - "NEVER_ALLOWED" + "UNSPECIFIED", + "VIEW", + "EDIT" ], "enumDescriptions": [ - "Defaults to ALWAYS_ALLOWED.", - "", - "" + "Invalid value.", + "This interaction indicates the user viewed the item.", + "This interaction indicates the user edited the item." ], "type": "string" } }, "type": "object" }, - "BotResponse": { - "description": "Information about a bot response, branched from shared/bot_response.proto without frontend User proto as we never store it.", - "id": "BotResponse", + "Item": { + "description": "Represents a single object that is an item in the search index, such as a file, folder, or a database record.", + "id": "Item", "properties": { - "botId": { - "$ref": "UserId" + "acl": { + "$ref": "ItemAcl", + "description": "Access control list for this item." }, - "requiredAction": { + "content": { + "$ref": "ItemContent", + "description": "Item content to be indexed and made text searchable." + }, + "itemType": { + "description": "The type for this item.", "enum": [ - "UNKNOWN_SETUP_TYPE", - "CONFIGURATION", - "AUTHENTICATION" + "UNSPECIFIED", + "CONTENT_ITEM", + "CONTAINER_ITEM", + "VIRTUAL_CONTAINER_ITEM" ], "enumDescriptions": [ "", - "Bot requires configuration.", - "Bot requires authentication." + "An item that is indexed for the only purpose of serving information. These items cannot be referred in containerName or inheritAclFrom fields.", + "An item that gets indexed and whose purpose is to supply other items with ACLs and/or contain other items.", + "An item that does not get indexed, but otherwise has the same purpose as CONTAINER_ITEM." ], "type": "string" }, - "responseType": { - "enum": [ - "UNKNOWN_RESPONSE_TYPE", - "ERROR", - "SETUP_REQUIRED", - "DISABLED_BY_ADMIN", - "DISABLED_BY_DEVELOPER", - "PRIVATE", - "APP_SUGGESTION" - ], - "enumDescriptions": [ - "", - "Bot fails to respond because of deadline_exceeded or failing to parse bot message.", - "Bot requires auth or config", - "Bot fails to respond because it is disabled by domain admin", - "Bot fails to respond because it is disabled by the bot's developer", - "Message to bot should be permanently private.", - "A suggestion to promote an app." - ], + "metadata": { + "$ref": "ItemMetadata", + "description": "The metadata information." + }, + "name": { + "description": "The name of the Item. Format: datasources/{source_id}/items/{item_id} This is a required field. The maximum length is 1536 characters.", + "type": "string" + }, + "payload": { + "description": "Additional state connector can store for this item. The maximum length is 10000 bytes.", + "format": "byte", + "type": "string" + }, + "queue": { + "description": "Queue this item belongs to. The maximum length is 100 characters.", "type": "string" }, - "setupUrl": { - "description": "URL for setting up bot.", + "status": { + "$ref": "ItemStatus", + "description": "Status of the item. Output only field." + }, + "structuredData": { + "$ref": "ItemStructuredData", + "description": "The structured data for the item that should conform to a registered object definition in the schema for the data source." + }, + "version": { + "description": "Required. The indexing system stores the version from the datasource as a byte string and compares the Item version in the index to the version of the queued Item using lexical ordering. Cloud Search Indexing won't index or delete any queued item with a version value that is less than or equal to the version of the currently indexed item. The maximum length for this field is 1024 bytes. For information on how item version affects the deletion process, refer to [Handle revisions after manual deletes](https://developers.google.com/cloud-search/docs/guides/operations).", + "format": "byte", "type": "string" } }, "type": "object" }, - "BroadcastAccess": { - "description": "Broadcast access information of a meeting space.", - "id": "BroadcastAccess", + "ItemAcl": { + "description": "Access control list information for the item. For more information see [Map ACLs](https://developers.google.com/cloud-search/docs/guides/acls).", + "id": "ItemAcl", "properties": { - "accessPolicy": { - "description": "The policy that controls the broadcast's viewer access.", + "aclInheritanceType": { + "description": "Sets the type of access rules to apply when an item inherits its ACL from a parent. This should always be set in tandem with the inheritAclFrom field. Also, when the inheritAclFrom field is set, this field should be set to a valid AclInheritanceType.", "enum": [ - "BROADCASTING_ACCESS_POLICY_UNSPECIFIED", - "ORGANIZATION", - "PUBLIC" + "NOT_APPLICABLE", + "CHILD_OVERRIDE", + "PARENT_OVERRIDE", + "BOTH_PERMIT" ], "enumDescriptions": [ - "Used only when broadcast is not enabled, or an unknown enum value is used.", - "Only authenticated Google accounts belonging to the same organization as the meeting organizer can access the broadcast.", - "Anyone with the broadcast view URL can access the broadcast." + "The default value when this item does not inherit an ACL. Use NOT_APPLICABLE when inheritAclFrom is empty. An item without ACL inheritance can still have ACLs supplied by its own readers and deniedReaders fields.", + "During an authorization conflict, the ACL of the child item determines its read access.", + "During an authorization conflict, the ACL of the parent item specified in the inheritAclFrom field determines read access.", + "Access is granted only if this item and the parent item specified in the inheritAclFrom field both permit read access." ], "type": "string" }, - "viewUrl": { - "description": "A URL that can be used to access the broadcast of the meeting. This field will be empty if broadcast is not enabled. It will be populated by the backend. Clients cannot modify the value.", + "deniedReaders": { + "description": "List of principals who are explicitly denied access to the item in search results. While principals are denied access by default, use denied readers to handle exceptions and override the list allowed readers. The maximum number of elements is 100.", + "items": { + "$ref": "Principal" + }, + "type": "array" + }, + "inheritAclFrom": { + "description": "The name of the item to inherit the Access Permission List (ACL) from. Note: ACL inheritance *only* provides access permissions to child items and does not define structural relationships, nor does it provide convenient ways to delete large groups of items. Deleting an ACL parent from the index only alters the access permissions of child items that reference the parent in the inheritAclFrom field. The item is still in the index, but may not visible in search results. By contrast, deletion of a container item also deletes all items that reference the container via the containerName field. The maximum length for this field is 1536 characters.", "type": "string" + }, + "owners": { + "description": "Optional. List of owners for the item. This field has no bearing on document access permissions. It does, however, offer a slight ranking boosts items where the querying user is an owner. The maximum number of elements is 5.", + "items": { + "$ref": "Principal" + }, + "type": "array" + }, + "readers": { + "description": "List of principals who are allowed to see the item in search results. Optional if inheriting permissions from another item or if the item is not intended to be visible, such as virtual containers. The maximum number of elements is 1000.", + "items": { + "$ref": "Principal" + }, + "type": "array" } }, "type": "object" }, - "BroadcastSessionInfo": { - "description": "Information about a broadcast session.", - "id": "BroadcastSessionInfo", + "ItemContent": { + "description": "Content of an item to be indexed and surfaced by Cloud Search. Only UTF-8 encoded strings are allowed as inlineContent. If the content is uploaded and not binary, it must be UTF-8 encoded.", + "id": "ItemContent", "properties": { - "broadcastSessionId": { - "description": "A unique server-generated ID for the broadcast session.", - "type": "string" + "contentDataRef": { + "$ref": "UploadItemRef", + "description": "Upload reference ID of a previously uploaded content via write method." }, - "broadcastStats": { - "$ref": "BroadcastStats", - "description": "Output only. Current broadcast session's statistics.", - "readOnly": true + "contentFormat": { + "enum": [ + "UNSPECIFIED", + "HTML", + "TEXT", + "RAW" + ], + "enumDescriptions": [ + "Invalid value.", + "contentFormat is HTML.", + "contentFormat is free text.", + "contentFormat is raw bytes." + ], + "type": "string" }, - "ingestionId": { - "description": "Input only. Deprecated field, should not be used.", + "hash": { + "description": "Hashing info calculated and provided by the API client for content. Can be used with the items.push method to calculate modified state. The maximum length is 2048 characters.", "type": "string" }, - "sessionStateInfo": { - "$ref": "SessionStateInfo", - "description": "Broadcast session's state information." + "inlineContent": { + "description": "Content that is supplied inlined within the update method. The maximum length is 102400 bytes (100 KiB).", + "format": "byte", + "type": "string" } }, "type": "object" }, - "BroadcastStats": { - "description": "Statistics of the broadcast session.", - "id": "BroadcastStats", + "ItemCountByStatus": { + "id": "ItemCountByStatus", "properties": { - "estimatedViewerCount": { - "description": "Estimated concurrent viewer count.", + "count": { + "description": "Number of items matching the status code.", "format": "int64", "type": "string" - } - }, - "type": "object" - }, - "Button": { - "id": "Button", - "properties": { - "imageButton": { - "$ref": "ImageButton" }, - "textButton": { - "$ref": "TextButton" - } - }, - "type": "object" - }, - "CalendarClientActionMarkup": { - "id": "CalendarClientActionMarkup", - "properties": { - "addAttachmentsActionMarkup": { - "$ref": "AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup", - "description": "An action that adds attachments to the Google Calendar event." - }, - "editAttendeesActionMarkup": { - "$ref": "AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup", - "description": "An action that adds attendees to the Google Calendar event." + "indexedItemsCount": { + "description": "Number of items matching the status code for which billing is done. This excludes virtual container items from the total count. This count would not be applicable for items with ERROR or NEW_ITEM status code.", + "format": "int64", + "type": "string" }, - "editConferenceDataActionMarkup": { - "$ref": "AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup", - "description": "An action that adds conference data to the Google Calendar event." + "statusCode": { + "description": "Status of the items.", + "enum": [ + "CODE_UNSPECIFIED", + "ERROR", + "MODIFIED", + "NEW_ITEM", + "ACCEPTED" + ], + "enumDescriptions": [ + "Input-only value. Used with Items.list to list all items in the queue, regardless of status.", + "Error encountered by Cloud Search while processing this item. Details of the error are in repositoryError.", + "Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search.", + "Item is known to exist in the repository, but is not yet accepted by Cloud Search. An item can be in this state when Items.push has been called for an item of this name that did not exist previously.", + "API has accepted the up-to-date data of this item." + ], + "type": "string" } }, "type": "object" }, - "CallInfo": { - "description": "Contains information regarding an ongoing conference (aka call) for a meeting space.", - "id": "CallInfo", + "ItemMetadata": { + "description": "Available metadata fields for the item.", + "id": "ItemMetadata", "properties": { - "abuseReportingConfig": { - "$ref": "AbuseReportingConfig", - "description": "Abuse reporting configuration for the ongoing conference." + "containerName": { + "description": "The name of the container for this item. Deletion of the container item leads to automatic deletion of this item. Note: ACLs are not inherited from a container item. To provide ACL inheritance for an item, use the inheritAclFrom field. The maximum length is 1536 characters.", + "type": "string" }, - "artifactOwner": { - "$ref": "UserDisplayInfo", - "description": "Output only. Display name of the owner of artifacts generated in this conference. The expected use of this in clients is to present info like \"This recording will be sent to John Doe's Drive\". This field can be empty if preferred display name determination fails for any reason.", - "readOnly": true + "contentLanguage": { + "description": "The BCP-47 language code for the item, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. The maximum length is 32 characters.", + "type": "string" }, - "attachedDocuments": { - "description": "Output only. Documents attached to an ongoing conference.", + "contextAttributes": { + "description": "A set of named attributes associated with the item. This can be used for influencing the ranking of the item based on the context in the request. The maximum number of elements is 10.", "items": { - "$ref": "DocumentInfo" + "$ref": "ContextAttribute" }, - "readOnly": true, "type": "array" }, - "availableAccessTypes": { - "description": "List of available access types of the conference.", - "items": { - "enum": [ - "ACCESS_TYPE_UNSPECIFIED", - "ACCESS_TYPE_OPEN", - "ACCESS_TYPE_TRUSTED", - "ACCESS_TYPE_RESTRICTED", - "ACCESS_TYPE_CLOSED" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "Anyone with meeting join information (url, phone access...) can join, no knocking required. (Subject to organization policies)", - "Members of the Host's organization, invited external users, and dial-in users can join without knocking, everyone else must knock. (Subject to organization policies)", - "Only participants invited by a host can automatically join, everyone else must knock and be admitted. (Subject to organization policies) Participants cannot dial out from the meeting. And only hosts can accept knocks.", - "Only participants invited by a host can join. Knocking is not allowed, dial in and dial out are also disabled." - ], - "type": "string" - }, - "type": "array" + "createTime": { + "description": "The time when the item was created in the source repository.", + "format": "google-datetime", + "type": "string" + }, + "hash": { + "description": "Hashing value provided by the API caller. This can be used with the items.push method to calculate modified state. The maximum length is 2048 characters.", + "type": "string" }, - "availableAnnotationToolTypes": { - "description": "Available screen annotation tool types.", + "interactions": { + "description": "A list of interactions for the item. Interactions are used to improve Search quality, but are not exposed to end users. The maximum number of elements is 1000.", "items": { - "enum": [ - "ANNOTATION_TOOL_TYPE_UNSPECIFIED", - "ANNOTATION_TOOL_CLEAR_ALL", - "ANNOTATION_TOOL_LINE", - "ANNOTATION_TOOL_MAGIC_ERASER", - "ANNOTATION_TOOL_PEN", - "ANNOTATION_TOOL_SHAPE", - "ANNOTATION_TOOL_TEXT_BOX" - ], - "enumDescriptions": [ - "Annotation tool type unspecified.", - "Clears all annotations.", - "Draws vector lines.", - "Deletes elements that are touched.", - "Draws freeform strokes.", - "Draws simple vector shapes (such as rectangles or ellipses).", - "Allows adding/editing text at this location." - ], - "type": "string" + "$ref": "Interaction" }, "type": "array" }, - "availableReactions": { - "description": "Output only. The set of reactions that clients are allowed to send and can expect to receive. Note that a device in the conference should have the MAY_SEND_REACTIONS privilege to be able to send reactions.", + "keywords": { + "description": "Additional keywords or phrases that should match the item. Used internally for user generated content. The maximum number of elements is 100. The maximum length is 8192 characters.", "items": { - "$ref": "ReactionInfo" + "type": "string" }, - "readOnly": true, "type": "array" }, - "broadcastSessionInfo": { - "$ref": "BroadcastSessionInfo", - "description": "Information about active broadcast session in the ongoing conference." - }, - "calendarEventId": { - "description": "Output only. The calendar event ID of a Google Calendar event that the meeting space is associated with. If the meeting space is not associated with an event in Google Calendar, this field is empty. For recurring events, it refers to the recurring instance associated with the current call, as determined by the server.", - "readOnly": true, + "mimeType": { + "description": "The original mime-type of ItemContent.content in the source repository. The maximum length is 256 characters.", "type": "string" }, - "coActivity": { - "$ref": "CoActivity", - "description": "The current co-activity session, or unset if there is none in progress. A co-activity session can be initiated by devices in JOINED state . Initiator of the co-activity is expected to populate this field to start the session. Once clients detect that the co-activity has finished, any JOINED device can clear this field to end the co-activity session. In the case of switching activities, the initiator of the new activity merely needs to override this with the new co-activity data, and all connected clients are expected to handle the transition gracefully." - }, - "collaboration": { - "$ref": "Collaboration", - "description": "The current collaboration session, or unset if no collaboration is in progress." - }, - "cseInfo": { - "$ref": "CseInfo", - "description": "CSE information for the ongoing conference." - }, - "maxJoinedDevices": { - "description": "Output only. The maximum number of devices that may be in the joined state simultaneously in this conference. This can be used by clients to guess whether it will be possible to join, but the only way to know is to try to join. It can also be used to inform users about the limit that is in effect. This limit is normally set when the conference is created and not changed during the lifetime of the conference. But there are some cases where it may change, so clients should be aware that the information may be stale.", - "format": "int32", - "readOnly": true, - "type": "integer" - }, - "organizationName": { - "description": "Output only. The name or description of the organization or domain that the organizer belongs to. The expected use of this in clients is to present messages like \"John Doe (outside of Google.com) is trying to join this call\", where \"Google.com\" is the organization name. The field will be empty if the organization name could not be determined, possibly because of a backend error.", - "readOnly": true, + "objectType": { + "description": "The type of the item. This should correspond to the name of an object definition in the schema registered for the data source. For example, if the schema for the data source contains an object definition with name 'document', then item indexing requests for objects of that type should set objectType to 'document'. The maximum length is 256 characters.", "type": "string" }, - "paygateInfo": { - "$ref": "PaygateInfo", - "description": "Paygate information to clients." - }, - "presenter": { - "$ref": "Presenter", - "description": "The current presenter in the call, or unset if there is no current presenter. Clients can set this to change the presenter." + "searchQualityMetadata": { + "$ref": "SearchQualityMetadata", + "description": "Additional search quality metadata of the item" }, - "recordingInfo": { - "$ref": "RecordingInfo", - "description": "Deprecated, use RecordingSessionInfo instead. Info about recording for this conference. This will always be set in server responses, with a valid recording status. This is superseded by streaming_sessions field, which contains the same information about this recording as well as additional information about other application type at the same time. This will be deprecated and removed at some point." + "sourceRepositoryUrl": { + "description": "Link to the source repository serving the data. Seach results apply this link to the title. Whitespace or special characters may cause Cloud Seach result links to trigger a redirect notice; to avoid this, encode the URL. The maximum length is 2048 characters.", + "type": "string" }, - "recordingSessionInfo": { - "$ref": "RecordingSessionInfo", - "description": "Information about active recording session in the ongoing conference." + "title": { + "description": "The title of the item. If given, this will be the displayed title of the Search result. The maximum length is 2048 characters.", + "type": "string" }, - "settings": { - "$ref": "CallSettings", - "description": "Settings of the ongoing conference." + "updateTime": { + "description": "The time when the item was last modified in the source repository.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "ItemStatus": { + "description": "This contains item's status and any errors.", + "id": "ItemStatus", + "properties": { + "code": { + "description": "Status code.", + "enum": [ + "CODE_UNSPECIFIED", + "ERROR", + "MODIFIED", + "NEW_ITEM", + "ACCEPTED" + ], + "enumDescriptions": [ + "Input-only value. Used with Items.list to list all items in the queue, regardless of status.", + "Error encountered by Cloud Search while processing this item. Details of the error are in repositoryError.", + "Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search.", + "Item is known to exist in the repository, but is not yet accepted by Cloud Search. An item can be in this state when Items.push has been called for an item of this name that did not exist previously.", + "API has accepted the up-to-date data of this item." + ], + "type": "string" }, - "streamingSessions": { - "description": "Output only. Info about streaming sessions (recording or broadcast) for this conference. This should contain all active sessions. Currently, it's guaranteed to have at most one recording and at most one broadcast (at most two sessions in total). For each application type (recording or broadcast), latest inactive session is included if there's no active one.", + "processingErrors": { + "description": "Error details in case the item is in ERROR state.", "items": { - "$ref": "StreamingSessionInfo" + "$ref": "ProcessingError" }, - "readOnly": true, "type": "array" }, - "transcriptionSessionInfo": { - "$ref": "TranscriptionSessionInfo", - "description": "Information about active transcription session in the ongoing conference." - }, - "viewerCount": { - "description": "The number of devices viewing the conference - MeetingDevices that are in VIEWER role and JOINED state in the conference.", - "format": "int32", - "type": "integer" - }, - "youTubeBroadcastSessionInfos": { - "description": "Information about active YouTube broadcast sessions in the ongoing conference.", + "repositoryErrors": { + "description": "Repository error reported by connector.", "items": { - "$ref": "YouTubeBroadcastSessionInfo" + "$ref": "RepositoryError" }, "type": "array" } }, "type": "object" }, - "CallSettings": { - "description": "Effective settings of the ongoing conference.", - "id": "CallSettings", + "ItemStructuredData": { + "description": "Available structured data fields for the item.", + "id": "ItemStructuredData", "properties": { - "accessLock": { - "description": "Indicates whether the access lock is currently on or off.", - "type": "boolean" - }, - "accessType": { - "description": "The current access type of the conference.", - "enum": [ - "ACCESS_TYPE_UNSPECIFIED", - "ACCESS_TYPE_OPEN", - "ACCESS_TYPE_TRUSTED", - "ACCESS_TYPE_RESTRICTED", - "ACCESS_TYPE_CLOSED" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "Anyone with meeting join information (url, phone access...) can join, no knocking required. (Subject to organization policies)", - "Members of the Host's organization, invited external users, and dial-in users can join without knocking, everyone else must knock. (Subject to organization policies)", - "Only participants invited by a host can automatically join, everyone else must knock and be admitted. (Subject to organization policies) Participants cannot dial out from the meeting. And only hosts can accept knocks.", - "Only participants invited by a host can join. Knocking is not allowed, dial in and dial out are also disabled." - ], + "hash": { + "description": "Hashing value provided by the API caller. This can be used with the items.push method to calculate modified state. The maximum length is 2048 characters.", "type": "string" }, - "allowJoiningBeforeHost": { - "description": "Whether users can join this conference before a host (Host or Cohost).", - "type": "boolean" - }, - "attendanceReportEnabled": { - "description": "Indicates whether the attendance report is currently enabled or disabled.", - "type": "boolean" - }, - "audioLock": { - "description": "Indicates whether the audio lock is currently on or off.", - "type": "boolean" - }, - "chatLock": { - "description": "Indicates whether the chat lock is currently on or off.", - "type": "boolean" - }, - "coActivityLock": { - "description": "Indicates whether the co-activity lock is currently on or off.", - "type": "boolean" - }, - "cseEnabled": { - "description": "Whether Client-side Encryption is enabled for this conference.", - "type": "boolean" - }, - "moderationEnabled": { - "description": "Indicates whether moderation is currently on or off.", - "type": "boolean" - }, - "presentLock": { - "description": "Indicates whether the present lock is currently on or off.", - "type": "boolean" - }, - "reactionsLock": { - "description": "Indicates whether the reactions lock is currently on or off.", - "type": "boolean" - }, - "videoLock": { - "description": "Indicates whether the video lock is currently on or off.", - "type": "boolean" + "object": { + "$ref": "StructuredDataObject", + "description": "The structured data object that should conform to a registered object definition in the schema for the data source." } }, "type": "object" }, - "CapTokenHolderProto": { - "description": "Represents a principal which possesses a particular secret string whose cryptographic hash is specified here. CapTokens (\"Capability Tokens\") are used in ACLProto. It's expected that ACLs with CapTokenHolders will strongly enforce them by Keystore-wrapping crypto keys for the corresponding CapTokens.", - "id": "CapTokenHolderProto", + "ListDataSourceResponse": { + "id": "ListDataSourceResponse", "properties": { - "tokenHmacSha1Prefix": { - "description": "The hash of the corresponding capability token. The value is defined to be identical to the one in acl.proto's CapTokenMetadata: 10-byte prefix of HMAC-SHA1 of the token. The HMAC key is the following fixed (non-secret) 512-bit value: 79b1c8f4 82baf523 b8a9ab4a e960f438 c45be041 11f1f222 e8a3f64d aeb05e3d c3576acc ec649194 aede422c 4e48e0d1 ff21234a a6ed6b49 a7fa592e efd7bba3", - "format": "byte", + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", "type": "string" + }, + "sources": { + "items": { + "$ref": "DataSource" + }, + "type": "array" } }, "type": "object" }, - "Card": { - "id": "Card", + "ListItemNamesForUnmappedIdentityResponse": { + "id": "ListItemNamesForUnmappedIdentityResponse", "properties": { - "cardActions": { + "itemNames": { "items": { - "$ref": "CardAction" + "type": "string" }, "type": "array" }, - "displayStyle": { - "enum": [ - "DISPLAY_STYLE_UNSPECIFIED", - "PEEK", - "REPLACE" - ], - "enumDescriptions": [ - "", - "", - "" - ], + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", "type": "string" + } + }, + "type": "object" + }, + "ListItemsResponse": { + "id": "ListItemsResponse", + "properties": { + "items": { + "items": { + "$ref": "Item" + }, + "type": "array" }, - "fixedFooter": { - "$ref": "FixedFooter" - }, - "header": { - "$ref": "CardHeader" - }, - "name": { - "description": "Name of the card used in CardNavigation.pop_to_card_name.", + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", "type": "string" }, - "peekCardHeader": { - "$ref": "CardHeader", - "description": "When displaying contextual content, the peek card header acts as a placeholder so that the user can navigate forward between the homepage cards and the contextual cards." - }, - "sections": { + "operations": { + "description": "A list of operations that matches the specified filter in the request.", "items": { - "$ref": "Section" + "$ref": "Operation" }, "type": "array" } }, "type": "object" }, - "CardAction": { - "description": "When an AddOn Card is shown in detailed view, a card action is the action associated with the card. For an invoice card, a typical action would be: delete invoice, email invoice or open the invoice in browser.", - "id": "CardAction", + "ListQuerySourcesResponse": { + "description": "List sources response.", + "id": "ListQuerySourcesResponse", "properties": { - "actionLabel": { - "description": "The label used to be displayed in the action menu item.", + "nextPageToken": { "type": "string" }, - "onClick": { - "$ref": "OnClick" + "sources": { + "items": { + "$ref": "QuerySource" + }, + "type": "array" } }, "type": "object" }, - "CardCapabilityMetadata": { - "id": "CardCapabilityMetadata", + "ListSearchApplicationsResponse": { + "id": "ListSearchApplicationsResponse", "properties": { - "requiredCapabilities": { - "description": "NEXT TAG : 2", + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "searchApplications": { "items": { - "enum": [ - "UNKNOWN", - "SUPPORTS_BASE_CARDS" - ], - "enumDescriptions": [ - "", - "NEXT TAG : 2" - ], - "type": "string" + "$ref": "SearchApplication" }, "type": "array" } }, "type": "object" }, - "CardHeader": { - "id": "CardHeader", + "ListUnmappedIdentitiesResponse": { + "id": "ListUnmappedIdentitiesResponse", "properties": { - "imageAltText": { - "description": "The alternative text of this image which will be used for accessibility.", - "type": "string" - }, - "imageStyle": { - "enum": [ - "CROP_TYPE_NOT_SET", - "SQUARE", - "CIRCLE", - "RECTANGLE_CUSTOM", - "RECTANGLE_4_3" - ], - "enumDescriptions": [ - "No value specified.", - "Applies a square crop.", - "Applies a circular crop.", - "Applies a rectangular crop with a custom aspect ratio.", - "Applies a rectangular crop with a 4:3 aspect ratio." - ], - "type": "string" - }, - "imageUrl": { - "type": "string" - }, - "subtitle": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", "type": "string" }, - "title": { - "description": "The title must be specified. The header has a fixed height: if both a title and subtitle is specified, each will take up 1 line. If only the title is specified, it will take up both lines. The header is rendered in collapsed and detailed view.", - "type": "string" + "unmappedIdentities": { + "items": { + "$ref": "UnmappedIdentity" + }, + "type": "array" } }, "type": "object" }, - "CaribouAttributeValue": { - "id": "CaribouAttributeValue", + "MapInfo": { + "description": "Geo information used for rendering a map that shows the user's work location.", + "id": "MapInfo", "properties": { - "booleanValue": { - "description": "Tags 1 through 15 are reserved for the most commonly used fields.", - "type": "boolean" + "lat": { + "description": "Latitude in degrees", + "format": "double", + "type": "number" }, - "intValue": { - "format": "int32", - "type": "integer" + "locationUrl": { + "$ref": "SafeUrlProto", + "description": "URL to a view of a map centered on the user's work location in Campus Maps (for google.com) or Google Maps (external)." }, - "longValue": { - "format": "int64", - "type": "string" + "long": { + "description": "Longitude in degrees", + "format": "double", + "type": "number" }, - "rawByteValue": { - "description": "Generally, applications should avoid storing raw bytes and instead store structured data as protocol buffer extensions. This both reduces the amount of ad-hoc attribute parsing code as well as eliminates an intermediate copy of the data when deserializing the value. The rawByteValue field is mainly provided for compatibility with attributes stored before the introduction of the Attribute.Value.", - "format": "byte", - "type": "string" + "mapTile": { + "description": "MapTiles for the area around a user's work location", + "items": { + "$ref": "MapTile" + }, + "type": "array" }, - "stringValue": { - "type": "string" + "zoom": { + "description": "The zoom level of the map. A constant zoom value of 18 is used for now to match the zoom of the map shown on a Moma Teams Profile page", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "ChatClientActionMarkup": { - "description": "Actions handled by Chat Clients.", - "id": "ChatClientActionMarkup", - "properties": {}, - "type": "object" - }, - "ChatConserverDynamitePlaceholderMetadata": { - "description": "Metadata used as inputs to the localization that is performed on Dynamite-originated messages that are incompatible with Hangouts clients. See go/localization-of-system-messages for more details.", - "id": "ChatConserverDynamitePlaceholderMetadata", + "MapTile": { + "description": "Information used to render a map tile image in the proper location on a map.", + "id": "MapTile", "properties": { - "attachmentMetadata": { - "$ref": "ChatConserverDynamitePlaceholderMetadataAttachmentMetadata" - }, - "botMessageMetadata": { - "$ref": "ChatConserverDynamitePlaceholderMetadataBotMessageMetadata" - }, - "calendarEventMetadata": { - "$ref": "ChatConserverDynamitePlaceholderMetadataCalendarEventMetadata" - }, - "deleteMetadata": { - "$ref": "ChatConserverDynamitePlaceholderMetadataDeleteMetadata" - }, - "editMetadata": { - "$ref": "ChatConserverDynamitePlaceholderMetadataEditMetadata" + "imageUrl": { + "$ref": "SafeUrlProto", + "description": "URL to an image file containing an office layout of the user's location for their organization, if one is available. For google.com, this image is from Corp Campus Maps." }, - "spaceUrl": { - "description": "The space URL embedded in the localized string.", - "type": "string" + "tileX": { + "description": "Map tile x coordinate", + "format": "double", + "type": "number" }, - "tasksMetadata": { - "$ref": "ChatConserverDynamitePlaceholderMetadataTasksMetadata" + "tileY": { + "description": "Map tile y coordinate", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "MatchRange": { + "description": "Matched range of a snippet [start, end).", + "id": "MatchRange", + "properties": { + "end": { + "description": "End of the match in the snippet.", + "format": "int32", + "type": "integer" }, - "videoCallMetadata": { - "$ref": "ChatConserverDynamitePlaceholderMetadataVideoCallMetadata" + "start": { + "description": "Starting position of the match in the snippet.", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "ChatConserverDynamitePlaceholderMetadataAttachmentMetadata": { - "description": "An attachment uploaded in Dynamite and its filename.", - "id": "ChatConserverDynamitePlaceholderMetadataAttachmentMetadata", + "Media": { + "description": "Media resource.", + "id": "Media", "properties": { - "filename": { + "resourceName": { + "description": "Name of the media resource.", "type": "string" } }, "type": "object" }, - "ChatConserverDynamitePlaceholderMetadataBotMessageMetadata": { - "description": "A bot sent a message in Dynamite.", - "id": "ChatConserverDynamitePlaceholderMetadataBotMessageMetadata", - "properties": {}, - "type": "object" - }, - "ChatConserverDynamitePlaceholderMetadataCalendarEventMetadata": { - "description": "A Calendar event message in Dynamite.", - "id": "ChatConserverDynamitePlaceholderMetadataCalendarEventMetadata", - "properties": {}, - "type": "object" - }, - "ChatConserverDynamitePlaceholderMetadataDeleteMetadata": { - "description": "A message was deleted in Dynamite.", - "id": "ChatConserverDynamitePlaceholderMetadataDeleteMetadata", - "properties": {}, - "type": "object" - }, - "ChatConserverDynamitePlaceholderMetadataEditMetadata": { - "description": "An edit was made in Dynamite.", - "id": "ChatConserverDynamitePlaceholderMetadataEditMetadata", - "properties": {}, - "type": "object" - }, - "ChatConserverDynamitePlaceholderMetadataTasksMetadata": { - "description": "A Tasks message in Dynamite.", - "id": "ChatConserverDynamitePlaceholderMetadataTasksMetadata", - "properties": {}, - "type": "object" - }, - "ChatConserverDynamitePlaceholderMetadataVideoCallMetadata": { - "description": "A Meet initiated in Dynamite and its URL.", - "id": "ChatConserverDynamitePlaceholderMetadataVideoCallMetadata", + "Metadata": { + "description": "Metadata of a matched search result.", + "id": "Metadata", "properties": { - "meetingUrl": { + "createTime": { + "description": "The creation time for this document or object in the search result.", + "format": "google-datetime", + "type": "string" + }, + "displayOptions": { + "$ref": "ResultDisplayMetadata", + "description": "Options that specify how to display a structured data search result." + }, + "fields": { + "description": "Indexed fields in structured data, returned as a generic named property.", + "items": { + "$ref": "NamedProperty" + }, + "type": "array" + }, + "mimeType": { + "description": "Mime type of the search result.", + "type": "string" + }, + "objectType": { + "description": "Object type of the search result.", + "type": "string" + }, + "owner": { + "$ref": "Person", + "description": "Owner (usually creator) of the document or object of the search result." + }, + "source": { + "$ref": "Source", + "description": "The named source for the result, such as Gmail." + }, + "thumbnailUrl": { + "description": "The thumbnail URL of the result.", + "type": "string" + }, + "updateTime": { + "description": "The last modified date for the object in the search result. If not set in the item, the value returned here is empty. When `updateTime` is used for calculating freshness and is not set, this value defaults to 2 years from the current time.", + "format": "google-datetime", "type": "string" } }, "type": "object" }, - "ChatConserverMessageContent": { - "description": "The content of a chat message, which includes 0 or more segments along with 0 or more embeds, which represent various attachment types (like photos).", - "id": "ChatConserverMessageContent", + "Metaline": { + "description": "A metaline is a list of properties that are displayed along with the search result to provide context.", + "id": "Metaline", "properties": { - "attachment": { - "description": "Items attached to this message, such as photos. This should *NOT* be set by clients. It will be automatically set from media uploaded along with this request and using the information provided in existing_media.", - "items": { - "$ref": "SocialCommonAttachmentAttachment" - }, - "type": "array" - }, - "segment": { - "description": "The text part of the message content. Segments are concatenated together to yield the full message. A message can have zero or more segments.", + "properties": { + "description": "The list of displayed properties for the metaline. The maximum number of properties is 5.", "items": { - "$ref": "Segment" + "$ref": "DisplayedProperty" }, "type": "array" } }, "type": "object" }, - "ChatContentExtension": { - "description": "NEXT ID: 12", - "id": "ChatContentExtension", + "Name": { + "description": "A person's name.", + "id": "Name", "properties": { - "annotation": { - "description": "Annotations to decorate this event.", - "items": { - "$ref": "EventAnnotation" - }, - "type": "array" + "displayName": { + "description": "The read-only display name formatted according to the locale specified by the viewer's account or the `Accept-Language` HTTP header.", + "type": "string" + } + }, + "type": "object" + }, + "NamedProperty": { + "description": "A typed name-value pair for structured data. The type of the value should be the same as the registered type for the `name` property in the object definition of `objectType`.", + "id": "NamedProperty", + "properties": { + "booleanValue": { + "type": "boolean" }, - "dynamitePlaceholderMetadata": { - "$ref": "ChatConserverDynamitePlaceholderMetadata", - "description": "This metadata informs how the placeholder string will be localized dynamically in Hangouts. See go/localization-of-system-messages. This is only used as part of REGULAR_CHAT_MESSAGE events." + "dateValues": { + "$ref": "DateValues" }, - "eventOtrStatus": { - "description": "Is this event OnTR or OffTR? Since some events can be ON_THE_RECORD and have an expiration_timestamp (for example enterprise retention users) we need to store the otr status.", - "enum": [ - "OFF_THE_RECORD", - "ON_THE_RECORD" - ], - "enumDescriptions": [ - "The conversation is completely off the record.", - "The conversation is completely on the record." - ], - "type": "string" + "doubleValues": { + "$ref": "DoubleValues" }, - "groupLinkSharingModificationEvent": { - "$ref": "GroupLinkSharingModificationEvent", - "description": "Group-link sharing toggle event." + "enumValues": { + "$ref": "EnumValues" }, - "hangoutEvent": { - "$ref": "HangoutEvent", - "description": "Audio/video Hangout event." + "htmlValues": { + "$ref": "HtmlValues" }, - "inviteAcceptedEvent": { - "$ref": "InviteAcceptedEvent", - "description": "Invite accepted events. Note: this is only used ephemerally to sync to Gmail. No actual cent is stored in Papyrus." + "integerValues": { + "$ref": "IntegerValues" }, - "membershipChangeEvent": { - "$ref": "MembershipChangeEvent", - "description": "Join/leave events." + "name": { + "description": "The name of the property. This name should correspond to the name of the property that was registered for object definition in the schema. The maximum allowable length for this property is 256 characters.", + "type": "string" }, - "otrChatMessageEvent": { - "$ref": "OtrChatMessageEvent", - "description": "Metadata for off-the-record message." + "objectValues": { + "$ref": "ObjectValues" }, - "otrModificationEvent": { - "$ref": "OtrModificationEvent" + "textValues": { + "$ref": "TextValues" }, - "renameEvent": { - "$ref": "RenameEvent" + "timestampValues": { + "$ref": "TimestampValues" } }, "type": "object" }, - "ChatProto": { - "description": "Represents the invitees or other users associated with a Babel Chat (see http://goto/babel). Corresponds to GroupType CHAT in //social/graph/storage/proto/data.proto.", - "id": "ChatProto", + "ObjectDefinition": { + "description": "The definition for an object within a data source.", + "id": "ObjectDefinition", "properties": { - "chatId": { - "description": "Chat IDs consist of alphanumeric characters and colons. Currently required.", + "name": { + "description": "The name for the object, which then defines its type. Item indexing requests should set the objectType field equal to this value. For example, if *name* is *Document*, then indexing requests for items of type Document should set objectType equal to *Document*. Each object definition must be uniquely named within a schema. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The maximum length is 256 characters.", "type": "string" }, - "memberType": { - "description": "The type of Chat members to consider, e.g. \"all members\" vs. \"invitee\" These are defined by legacy_relation_id values in social.graph.storage.EdgeTypeEnum.EdgeType enum options in social/graph/storage/proto/id.proto. See chat.pb (defined in production/config/cdd/socialgraph/mixer_config/prod/node_type_config) for all valid edge types associated with chat. Currently required.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "CheckAccessResponse": { - "id": "CheckAccessResponse", - "properties": { - "hasAccess": { - "description": "Returns true if principal has access. Returns false otherwise.", - "type": "boolean" + "options": { + "$ref": "ObjectOptions", + "description": "The optional object-specific options." + }, + "propertyDefinitions": { + "description": "The property definitions for the object. The maximum number of elements is 1000.", + "items": { + "$ref": "PropertyDefinition" + }, + "type": "array" } }, "type": "object" }, - "CircleProto": { - "description": "Represents a Google+ Circle. Currently (12/2011), a Circle is identical to the ContactGroup with matching parameters, but Circle must only be used for true Circles and not other Focus groups, and should be preferred over ContactGroup where applicable. Soon it may become more efficient to check membership in a Circle than in a ContactGroup (see http://go/superglue). Support for this principal type is currently (12/2011) incomplete -- e.g., Keystore does not support it yet (see b/5703421).", - "id": "CircleProto", + "ObjectDisplayOptions": { + "description": "The display options for an object.", + "id": "ObjectDisplayOptions", "properties": { - "circleId": { - "description": "Circle ID is unique only relative to the owner's Gaia ID. Currently required.", - "format": "int64", - "type": "string" - }, - "ownerGaiaId": { - "description": "The owner of the circle. Currently required.", - "format": "int64", - "type": "string" + "metalines": { + "description": "Defines the properties that are displayed in the metalines of the search results. The property values are displayed in the order given here. If a property holds multiple values, all of the values are displayed before the next properties. For this reason, it is a good practice to specify singular properties before repeated properties in this list. All of the properties must set is_returnable to true. The maximum number of metalines is 3.", + "items": { + "$ref": "Metaline" + }, + "type": "array" }, - "requiredConsistencyTimestampUsec": { - "description": "If present, then tests for membership in this circle must use data known to be at least as fresh as the given (FBS-assigned) timestamp. See http://go/fbs-consistent-read-after-important-write Before using this, be sure that any service checking authorization against this circle supports checking consistency timestamps. For example, as of 12/2011, Keystore only supports this for the Moonshine configuration, and in others authorization checks will fail if the timestamp is present.", - "format": "int64", + "objectDisplayLabel": { + "description": "The user friendly label to display in the search result to indicate the type of the item. This is OPTIONAL; if not provided, an object label isn't displayed on the context line of the search results. The maximum length is 64 characters.", "type": "string" } }, "type": "object" }, - "ClientContext": { - "description": "Represents the context of the client on behalf of which a HistoryRecord is produced. The ClientContext message can be used to hold context about the service client (e.g. the internal server making fusebox requests) or the user client (e.g. the IP address of the end user).", - "id": "ClientContext", + "ObjectOptions": { + "description": "The options for an object.", + "id": "ObjectOptions", "properties": { - "clientOperationId": { - "description": "The client operation to which this history record belongs. The notion of a client operation is provided to keep track of client operations which might span multiple transactions in the lower level.", - "type": "string" - }, - "clientType": { - "description": "E.g. \"pinto\", \"imap\", \"bigtop\", \"upload\"", - "type": "string" + "displayOptions": { + "$ref": "ObjectDisplayOptions", + "description": "The options that determine how the object is displayed in the Cloud Search results page." }, - "sessionContext": { - "$ref": "SessionContext", - "description": "Contains information about the session which created this history record. This will be empty if the history record was generated by an internal request." + "freshnessOptions": { + "$ref": "FreshnessOptions", + "description": "The freshness options for an object." }, - "userIp": { - "description": "Textual representation of the user's IP address, if available.", - "type": "string" + "suggestionFilteringOperators": { + "description": "Operators that can be used to filter suggestions. For Suggest API, only operators mentioned here will be honored in the FilterOptions. Only TEXT and ENUM operators are supported. NOTE: \"objecttype\", \"type\" and \"mimetype\" are already supported. This property is to configure schema specific operators. Even though this is an array, only one operator can be specified. This is an array for future extensibility. Operators mapping to multiple properties within the same object are not supported. If the operator spans across different object types, this option has to be set once for each object definition.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "CloudPrincipalProto": { - "description": "Principal associated with a Cloud Principal representing third party user.", - "id": "CloudPrincipalProto", + "ObjectPropertyOptions": { + "description": "The options for object properties.", + "id": "ObjectPropertyOptions", "properties": { - "id": { - "description": "Format: \"{identity-pool}:{subject}#\" Details: go/cloud-principal-identifiers", - "type": "string" + "subobjectProperties": { + "description": "The properties of the sub-object. These properties represent a nested object. For example, if this property represents a postal address, the subobjectProperties might be named *street*, *city*, and *state*. The maximum number of elements is 1000.", + "items": { + "$ref": "PropertyDefinition" + }, + "type": "array" } }, "type": "object" }, - "ClusterInfo": { - "description": "ClusterInfo contains clustering related information for a particular thread that would be sent as part of the conversation view. Today, this information would be used by iOS notification server to identify whether the thread belongs to a cluster. If the thread belongs to a grouped cluster, it would identify whether the cluster is throttled.", - "id": "ClusterInfo", + "ObjectValues": { + "description": "List of object values.", + "id": "ObjectValues", "properties": { - "clusterId": { - "description": "IDs of the highest priority clusters to which the thread belongs to. If this field is not present, the thread does not belong to any cluster and would be shown in the inbox, unclustered.", + "values": { "items": { - "type": "string" + "$ref": "StructuredDataObject" }, "type": "array" - }, - "throttled": { - "description": "If the thread belongs to a grouped cluster and all of those clusters are throttled, then this field is set to true.", - "type": "boolean" } }, "type": "object" }, - "CoActivity": { - "description": "Metadata about a co-activity session.", - "id": "CoActivity", + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", "properties": { - "activityTitle": { - "description": "The title of the activity in this co-activity session. For example, this might be the title of the video being co-watched, or the name of the round of a game being co-played.", - "type": "string" - }, - "addOnId": { - "description": "The add-on id of the current add-on being used for co-activity.", - "type": "string" - }, - "addOnStartingState": { - "$ref": "AddOnStartingState", - "description": "The starting state of the add-on frames for co-activity." + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" }, - "coActivityApp": { - "description": "Identifies the app handling this co-activity.", - "enum": [ - "CO_ACTIVITY_APP_UNSPECIFIED", - "CO_ACTIVITY_APP_YOU_TUBE_MAIN", - "CO_ACTIVITY_APP_SPOTIFY", - "CO_ACTIVITY_APP_UNO", - "CO_ACTIVITY_APP_HEADSUP", - "CO_ACTIVITY_APP_KAHOOT", - "CO_ACTIVITY_APP_GQUEUES", - "CO_ACTIVITY_APP_YOU_TUBE_MUSIC", - "CO_ACTIVITY_APP_SAMSUNG_NOTES", - "CO_ACTIVITY_APP_HAPPY_AARDVARK" - ], - "enumDescriptions": [ - "Should never be used.", - "Main YouTube app, for watching videos.", - "Spotify music.", - "Uno game.", - "HeadsUp game.", - "Kahoot! educational software.", - "GQueues task manager.", - "YouTube Music", - "Samsung Notes", - "." - ], - "type": "string" + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." }, - "initiatorDeviceId": { - "description": "The resource name of the device that initiated the co-activity.", - "type": "string" + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" }, - "presentationDeviceId": { - "description": "The resource name of the device that is presenting the add-on.", + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", "type": "string" }, - "projectNumber": { - "description": "The project number of the add-on to determine version.", - "format": "int64", - "type": "string" + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" } }, "type": "object" }, - "Collaboration": { - "description": "Information about a collaboration session.", - "id": "Collaboration", + "PeoplePromotionCard": { + "id": "PeoplePromotionCard", "properties": { - "attachmentId": { - "description": "The attachment being collaborated on.", - "type": "string" - }, - "initiator": { - "$ref": "UserDisplayInfo", - "description": "Display info of the user who initiated the collaboration session." - }, - "uri": { - "description": "The uri of the artifact being collaborated on.", - "type": "string" + "people": { + "items": { + "$ref": "PersonCore" + }, + "type": "array" } }, "type": "object" }, - "Color": { - "description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page does not have information about the absolute color space that should be used to interpret the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:\u0026red green:\u0026green blue:\u0026blue alpha:\u0026alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha \u003c= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red \u003c\u003c 16) | (green \u003c\u003c 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i \u003c missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", - "id": "Color", + "PeopleSuggestion": { + "description": "This field contains information about the person being suggested.", + "id": "PeopleSuggestion", "properties": { - "alpha": { - "description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", - "format": "float", - "type": "number" - }, - "blue": { - "description": "The amount of blue in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" - }, - "green": { - "description": "The amount of green in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" - }, - "red": { - "description": "The amount of red in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" + "person": { + "$ref": "Person", + "description": "Suggested person. All fields of the person object might not be populated." } }, "type": "object" }, - "CommunalLabelTag": { - "description": "An individual instance (or \"tag\") of a label configured as a communal type that's associated with a message.", - "id": "CommunalLabelTag", + "Person": { + "description": "Object to represent a person.", + "id": "Person", "properties": { - "creatorUserId": { - "description": "Gaia ID of the user who added the tag, if any. Not present for any tags automatically created by server-side processing.", - "format": "int64", - "type": "string" + "emailAddresses": { + "description": "The person's email addresses", + "items": { + "$ref": "EmailAddress" + }, + "type": "array" + }, + "name": { + "description": "The resource name of the person to provide information about. See [`People.get`](https://developers.google.com/people/api/rest/v1/people/get) from the Google People API.", + "type": "string" }, - "labelId": { - "description": "A string ID representing the label. Possible ID values are documented at go/chat-labels-howto:ids. Example: \"^*t_p\" for \"Pinned\".", + "obfuscatedId": { + "description": "Obfuscated ID of a person.", "type": "string" + }, + "personNames": { + "description": "The person's name", + "items": { + "$ref": "Name" + }, + "type": "array" + }, + "phoneNumbers": { + "description": "The person's phone numbers", + "items": { + "$ref": "PhoneNumber" + }, + "type": "array" + }, + "photos": { + "description": "A person's read-only photo. A picture shown next to the person's name to help others recognize the person in search results.", + "items": { + "$ref": "Photo" + }, + "type": "array" } }, "type": "object" }, - "CompositeFilter": { - "id": "CompositeFilter", + "PersonCore": { + "description": "Information for rendering a person. NEXT ID: 37", + "id": "PersonCore", "properties": { - "logicOperator": { - "description": "The logic operator of the sub filter.", + "addressMeAs": { + "description": "Instructions for how to address this person (e.g. custom pronouns). For google.com this is a set of pronouns from a defined list of options.", + "type": "string" + }, + "adminTo": { + "description": "People the profile owner is an admin to. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.", + "items": { + "$ref": "PersonCore" + }, + "type": "array" + }, + "admins": { + "description": "The profile owner's admins in no particular order. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.", + "items": { + "$ref": "PersonCore" + }, + "type": "array" + }, + "availabilityStatus": { "enum": [ - "AND", - "OR", - "NOT" + "UNKNOWN", + "OUT_OF_OFFICE", + "OUTSIDE_WORKING_HOURS", + "AVAILABLE" ], "enumDescriptions": [ - "Logical operators, which can only be applied to sub filters.", "", - "NOT can only be applied on a single sub filter." + "", + "", + "" ], "type": "string" }, - "subFilters": { - "description": "Sub filters.", + "birthday": { + "$ref": "Date", + "description": "Person birthday." + }, + "calendarUrl": { + "$ref": "SafeUrlProto", + "description": "The URL to open the profile owner's primary calendar." + }, + "chatUrl": { + "$ref": "SafeUrlProto", + "description": "The URL to start a chat conversation with the profile owner. For google.com this is a Hangouts URL." + }, + "costCenter": { + "description": "Person's cost center as a string, e.g. \"926: Googler Apps\".", + "type": "string" + }, + "department": { + "description": "The person's Organization department, e.g. \"People Operations\". For google.com this is usually called \"area\".", + "type": "string" + }, + "directReports": { + "description": "A subset of the profile owner's direct reports. The number of entities here may be less than total_direct_reports_count, because typically ProfileResponse does not include all the person's reports, if there are too many to retrieve efficiently. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.", "items": { - "$ref": "Filter" + "$ref": "PersonCore" }, "type": "array" - } - }, - "type": "object" - }, - "ConsentedAppUnfurlMetadata": { - "description": "Annotation metadata app unfurl consent.", - "id": "ConsentedAppUnfurlMetadata", - "properties": { - "clientSpecifiedAppId": { - "$ref": "UserId", - "description": "Client specified AppId, which will not be sanitized and is untrusted." - } - }, - "type": "object" - }, - "ContactGroupProto": { - "description": "A group of contacts for a given user, as described in http://cs/p#google3/focus/backend/proto/backend.proto Historically (and in still-existing ACLs), this was used to represent Google+ circles as well as contact groups, but this use is now deprecated. New code should use the CIRCLE principal type to represent Google+ circles.", - "id": "ContactGroupProto", - "properties": { - "groupId": { - "description": "Group ID is unique only relative to the owner's Gaia ID.", - "format": "int64", + }, + "dottedLineManagers": { + "description": "The profile owner's direct dotted line managers in no particular order. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.", + "items": { + "$ref": "PersonCore" + }, + "type": "array" + }, + "dottedLineReports": { + "description": "A subset of the profile owner's dotted-line reports. The number of entities here may be less than total_dlr_count. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.", + "items": { + "$ref": "PersonCore" + }, + "type": "array" + }, + "emails": { + "description": "E-mail addresses of the person. The primary or preferred email should be first.", + "items": { + "type": "string" + }, + "type": "array" + }, + "employeeId": { + "description": "Person's employee number (external ID of type \"organization\") For google.com this is the badge number (e.g. 2 for Larry Page).", "type": "string" }, - "ownerGaiaId": { - "format": "int64", + "fingerprint": { + "description": "A fingerprint used by PAPI to reliably determine if a resource has changed Externally it is used as part of the etag.", "type": "string" }, - "requiredConsistencyTimestampUsec": { - "description": "If present, then tests for membership in this ContactGroup must use data known to be at least as fresh as the given (FBS-assigned) timestamp. See http://go/fbs-consistent-read-after-important-write Before using this, be sure that any service checking authorization against this group supports checking consistency timestamps. For example, as of 12/2011, Keystore only supports this for the Moonshine configuration, and in others authorization checks will fail if the timestamp is present.", + "ftePermille": { + "description": "Full-time equivalent (in ‰) (e.g. 800 for a person who's working 80%).", "format": "int64", "type": "string" - } - }, - "type": "object" - }, - "ContentReport": { - "id": "ContentReport", - "properties": { - "reportCreateTimestamp": { - "description": "The time at which the report is generated. Always populated when it is in a response.", - "format": "google-datetime", + }, + "geoLocation": { + "$ref": "MapInfo" + }, + "gmailUrl": { + "type": "string" + }, + "jobTitle": { + "description": "Profile owner's job title (e.g. \"Software Engineer\"). For google.com this is the Workday preferred job title.", + "type": "string" + }, + "keywordTypes": { + "description": "List of keys to use from the map 'keywords'.", + "items": { + "type": "string" + }, + "type": "array" + }, + "keywords": { + "additionalProperties": { + "type": "string" + }, + "description": "Custom keywords the domain admin has added.", + "type": "object" + }, + "links": { + "description": "Custom links the profile owner has added.", + "items": { + "$ref": "EnterpriseTopazFrontendTeamsLink" + }, + "type": "array" + }, + "location": { + "description": "Detailed desk location within the company. For google.com this is the desk location code (e.g. \"DE-MUC-ARP-6T2-6T2C0C\") if the person has a desk.", + "type": "string" + }, + "managers": { + "description": "The profile owner's management chain from top to bottom, where managers[0] is the CEO, manager[N-2] is the person's manager's manager and managers[N-1] is the person's direct manager. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.", + "items": { + "$ref": "PersonCore" + }, + "type": "array" + }, + "mission": { + "description": "Custom mission statement the profile owner has added.", "type": "string" }, - "reportJustification": { - "$ref": "ContentReportJustification", - "description": "Additional user-provided justification on the report. Optional." + "name": { + "description": "Human-readable Unicode display name.", + "type": "string" + }, + "officeLocation": { + "description": "Office/building identifier within the company. For google.com this is the office code (e.g. \"DE-MUC-ARP\").", + "type": "string" + }, + "personId": { + "description": "The person's obfuscated Gaia ID.", + "type": "string" + }, + "phoneNumbers": { + "items": { + "$ref": "EnterpriseTopazFrontendTeamsPersonCorePhoneNumber" + }, + "type": "array" + }, + "photoUrl": { + "$ref": "SafeUrlProto", + "description": "Person photo." + }, + "postalAddress": { + "description": "Postal address of office/building.", + "type": "string" + }, + "totalDirectReportsCount": { + "description": "Total count of the profile owner's direct reports.", + "format": "int32", + "type": "integer" + }, + "totalDlrCount": { + "description": "Total count of the profile owner's dotted-line reports.", + "format": "int32", + "type": "integer" }, - "reportType": { - "$ref": "AppsDynamiteSharedContentReportType", - "description": "Type of the report. Always populated when it is in a response." + "totalFteCount": { + "description": "The sum of all profile owner's reports and their own full-time-equivalents in ‰ (e.g. 1800 if one report is working 80% and profile owner 100%).", + "format": "int64", + "type": "string" }, - "reporterUserId": { - "$ref": "UserId", - "description": "User ID of the reporter. Always populated when it is in a response." + "username": { + "description": "External ID of type \"login_id\" for the profile. For google.com this is the username/LDAP.", + "type": "string" }, - "revisionCreateTimestamp": { - "description": "Create timestamp of the revisions of the message when it's reported. Always populated when it is in a response.", + "waldoComeBackTime": { "format": "google-datetime", "type": "string" } }, "type": "object" }, - "ContentReportJustification": { - "id": "ContentReportJustification", + "PhoneNumber": { + "description": "A person's Phone Number", + "id": "PhoneNumber", "properties": { - "userJustification": { - "description": "Optional. User-generated free-text justification for the content report.", + "phoneNumber": { + "description": "The phone number of the person.", + "type": "string" + }, + "type": { + "enum": [ + "OTHER", + "MOBILE", + "OFFICE" + ], + "enumDescriptions": [ + "", + "", + "" + ], "type": "string" } }, "type": "object" }, - "ContentReportSummary": { - "description": "Summarized info of content reports. Usually less expensive to fetch than to fetch all detailed reports. Set only when the request asks for it.", - "id": "ContentReportSummary", + "Photo": { + "description": "A person's photo.", + "id": "Photo", "properties": { - "numberReports": { - "description": "Total number of reports attached to this (revision of) message.", - "format": "int32", - "type": "integer" - }, - "numberReportsAllRevisions": { - "description": "Totoal number of reports attached to all revisions of this message (i.e. since creation). Set only when the request asks for it.", - "format": "int32", - "type": "integer" + "url": { + "description": "The URL of the photo.", + "type": "string" } }, "type": "object" }, - "ContextAttribute": { - "description": "A named attribute associated with an item which can be used for influencing the ranking of the item based on the context in the request.", - "id": "ContextAttribute", + "PollItemsRequest": { + "id": "PollItemsRequest", "properties": { - "name": { - "description": "The name of the attribute. It should not be empty. The maximum length is 32 characters. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The name will be normalized (lower-cased) before being matched.", + "connectorName": { + "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", "type": "string" }, - "values": { - "description": "Text values of the attribute. The maximum number of elements is 10. The maximum length of an element in the array is 32 characters. The value will be normalized (lower-cased) before being matched.", + "debugOptions": { + "$ref": "DebugOptions", + "description": "Common debug options." + }, + "limit": { + "description": "Maximum number of items to return. The maximum value is 100 and the default value is 20.", + "format": "int32", + "type": "integer" + }, + "queue": { + "description": "Queue name to fetch items from. If unspecified, PollItems will fetch from 'default' queue. The maximum length is 100 characters.", + "type": "string" + }, + "statusCodes": { + "description": "Limit the items polled to the ones with these statuses.", "items": { + "enum": [ + "CODE_UNSPECIFIED", + "ERROR", + "MODIFIED", + "NEW_ITEM", + "ACCEPTED" + ], + "enumDescriptions": [ + "Input-only value. Used with Items.list to list all items in the queue, regardless of status.", + "Error encountered by Cloud Search while processing this item. Details of the error are in repositoryError.", + "Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search.", + "Item is known to exist in the repository, but is not yet accepted by Cloud Search. An item can be in this state when Items.push has been called for an item of this name that did not exist previously.", + "API has accepted the up-to-date data of this item." + ], "type": "string" }, "type": "array" @@ -6981,10046 +6451,202 @@ }, "type": "object" }, - "ContextualAddOnMarkup": { - "description": "The markup for developers to specify the contents of a contextual AddOn. A contextual AddOn is triggered in context of an email. For that email, there can be N items that are associated with the email (e.g. contacts, sales lead, meeting information). Each item is represented as a \"card\". A card has two views, collapsed and detailed. If there are more than 1 card, the cards are show as a list of collapsed views. The end user can expand into the detailed view for each of those cards. In the detailed view, developers have the freedom to use a variety of \"widgets\" to construct it. The model here is to restrict (make consistent for end users) the navigation of the N cards but providing developers the freedom to build the detailed view that can best represent their use case/content. Go http://go/aoig-widgets1 to see the mocks. Post v1, we plan to support new AddOn use cases that will require different and separate 'templates'. For example, a compose triggered AddOn which will support a new set of use cases with different user interaction patterns. As a result, we will likely need a very different template than this one.", - "id": "ContextualAddOnMarkup", + "PollItemsResponse": { + "id": "PollItemsResponse", "properties": { - "cards": { - "description": "A card must contain a header and at least 1 section.", + "items": { + "description": "Set of items from the queue available for connector to process. These items have the following subset of fields populated: version metadata.hash structured_data.hash content.hash payload status queue", "items": { - "$ref": "Card" + "$ref": "Item" }, "type": "array" - }, - "toolbar": { - "$ref": "Toolbar", - "description": "Deprecated." } }, "type": "object" }, - "CseInfo": { - "description": "Information needed for Client-side Encryption.", - "id": "CseInfo", + "Principal": { + "description": "Reference to a user, group, or domain.", + "id": "Principal", "properties": { - "cseDomain": { - "description": "CSE domain name claimed by the meeting owner's company. This field is expected to be used for display purposes only, i.e., \"Extra encryption added by $cse_domain\". It can differ from the `cse_domain` as defined elsewhere on the User, in the case of cross-domain meetings.", + "groupResourceName": { + "description": "This principal is a group identified using an external identity. The name field must specify the group resource name with this format: identitysources/{source_id}/groups/{ID}", "type": "string" }, - "wrappedKey": { - "description": "The wrapped CSE key used by this conference.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "CustomEmojiMetadata": { - "id": "CustomEmojiMetadata", - "properties": { - "customEmoji": { - "$ref": "AppsDynamiteSharedCustomEmoji" - } - }, - "type": "object" - }, - "CustomFunctionReturnValueMarkup": { - "description": "The result of a user running a custom function.", - "id": "CustomFunctionReturnValueMarkup", - "properties": { - "errorMessage": { - "description": "The error message to show to the user if something went wrong.", - "type": "string" + "gsuitePrincipal": { + "$ref": "GSuitePrincipal", + "description": "This principal is a Google Workspace user, group or domain." }, - "value": { - "description": "The value that resulted from running the custom function.", - "type": "any" + "userResourceName": { + "description": "This principal is a user identified using an external identity. The name field must specify the user resource name with this format: identitysources/{source_id}/users/{ID}", + "type": "string" } }, "type": "object" }, - "CustomerId": { - "description": "Represents a GSuite customer ID. Obfuscated with CustomerIdObfuscator.", - "id": "CustomerId", + "ProcessingError": { + "id": "ProcessingError", "properties": { - "customerId": { - "type": "string" - } - }, - "type": "object" - }, - "CustomerIndexStats": { - "description": "Aggregation of items by status code as of the specified date.", - "id": "CustomerIndexStats", - "properties": { - "date": { - "$ref": "Date", - "description": "The date for which statistics were calculated." - }, - "itemCountByStatus": { - "description": "Number of items aggregrated by status code.", - "items": { - "$ref": "ItemCountByStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomerQueryStats": { - "id": "CustomerQueryStats", - "properties": { - "date": { - "$ref": "Date", - "description": "The date for which query stats were calculated. Stats calculated on the next day close to midnight are returned." - }, - "queryCountByStatus": { - "items": { - "$ref": "QueryCountByStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomerSearchApplicationStats": { - "description": "Search application stats for a customer for the given date.", - "id": "CustomerSearchApplicationStats", - "properties": { - "count": { - "description": "The count of search applications for the date.", - "format": "int64", - "type": "string" - }, - "date": { - "$ref": "Date", - "description": "The date for which search application stats were calculated." - } - }, - "type": "object" - }, - "CustomerSessionStats": { - "id": "CustomerSessionStats", - "properties": { - "date": { - "$ref": "Date", - "description": "The date for which session stats were calculated. Stats are calculated on the following day, close to midnight PST, and then returned." - }, - "searchSessionsCount": { - "description": "The count of search sessions on the day", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "CustomerSettings": { - "description": "Represents settings at a customer level.", - "id": "CustomerSettings", - "properties": { - "auditLoggingSettings": { - "$ref": "AuditLoggingSettings", - "description": "Audit Logging settings for the customer. If update_mask is empty then this field will be updated based on UpdateCustomerSettings request." - }, - "vpcSettings": { - "$ref": "VPCSettings", - "description": "VPC SC settings for the customer. If update_mask is empty then this field will be updated based on UpdateCustomerSettings request." - } - }, - "type": "object" - }, - "CustomerUserStats": { - "id": "CustomerUserStats", - "properties": { - "date": { - "$ref": "Date", - "description": "The date for which session stats were calculated. Stats calculated on the next day close to midnight are returned." - }, - "oneDayActiveUsersCount": { - "description": "The count of unique active users in the past one day", - "format": "int64", - "type": "string" - }, - "sevenDaysActiveUsersCount": { - "description": "The count of unique active users in the past seven days", - "format": "int64", - "type": "string" - }, - "thirtyDaysActiveUsersCount": { - "description": "The count of unique active users in the past thirty days", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "DataLossPreventionMetadata": { - "description": "Annotation metadata for Data Loss Prevention that pertains to DLP violation on message send or edit events. It is used for client -\u003e BE communication and other downstream process in BE (e.g. storage and audit logging), and it should never be returned to the client.", - "id": "DataLossPreventionMetadata", - "properties": { - "dlpMessageScanRecord": { - "$ref": "DlpMessageScanRecord", - "description": "The scan record contains the action taken on the message send as well as scan the summary for the message contents and the attachment, if applicable." - }, - "dlpScanSummary": { - "$ref": "DlpScanSummary", - "description": "Deprecated. To be replaced by DLP scan record. The DLP scan summary that should only be set after the message is scanned in the Chat backend." - }, - "warnAcknowledged": { - "description": "Flag set by client on message resend to bypass WARN violation.", - "type": "boolean" - } - }, - "type": "object" - }, - "DataSource": { - "description": "Datasource is a logical namespace for items to be indexed. All items must belong to a datasource. This is the prerequisite before items can be indexed into Cloud Search.", - "id": "DataSource", - "properties": { - "disableModifications": { - "description": "If true, sets the datasource to read-only mode. In read-only mode, the Indexing API rejects any requests to index or delete items in this source. Enabling read-only mode does not stop the processing of previously accepted data.", - "type": "boolean" - }, - "disableServing": { - "description": "Disable serving any search or assist results.", - "type": "boolean" - }, - "displayName": { - "description": "Required. Display name of the datasource The maximum length is 300 characters.", - "type": "string" - }, - "indexingServiceAccounts": { - "description": "List of service accounts that have indexing access.", - "items": { - "type": "string" - }, - "type": "array" - }, - "itemsVisibility": { - "description": "This field restricts visibility to items at the datasource level. Items within the datasource are restricted to the union of users and groups included in this field. Note that, this does not ensure access to a specific item, as users need to have ACL permissions on the contained items. This ensures a high level access on the entire datasource, and that the individual items are not shared outside this visibility.", - "items": { - "$ref": "GSuitePrincipal" - }, - "type": "array" - }, - "name": { - "description": "The name of the datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource.", - "type": "string" - }, - "operationIds": { - "description": "IDs of the Long Running Operations (LROs) currently running for this schema.", - "items": { - "type": "string" - }, - "type": "array" - }, - "returnThumbnailUrls": { - "description": "Can a user request to get thumbnail URI for Items indexed in this data source.", - "type": "boolean" - }, - "shortName": { - "description": "A short name or alias for the source. This value will be used to match the 'source' operator. For example, if the short name is *\u003cvalue\u003e* then queries like *source:\u003cvalue\u003e* will only return results for this source. The value must be unique across all datasources. The value must only contain alphanumeric characters (a-zA-Z0-9). The value cannot start with 'google' and cannot be one of the following: mail, gmail, docs, drive, groups, sites, calendar, hangouts, gplus, keep, people, teams. Its maximum length is 32 characters.", - "type": "string" - } - }, - "type": "object" - }, - "DataSourceIndexStats": { - "description": "Aggregation of items by status code as of the specified date.", - "id": "DataSourceIndexStats", - "properties": { - "date": { - "$ref": "Date", - "description": "The date for which index stats were calculated. If the date of request is not the current date then stats calculated on the next day are returned. Stats are calculated close to mid night in this case. If date of request is current date, then real time stats are returned." - }, - "itemCountByStatus": { - "description": "Number of items aggregrated by status code.", - "items": { - "$ref": "ItemCountByStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "DataSourceRestriction": { - "description": "Restriction on Datasource.", - "id": "DataSourceRestriction", - "properties": { - "filterOptions": { - "description": "Filter options restricting the results. If multiple filters are present, they are grouped by object type before joining. Filters with the same object type are joined conjunctively, then the resulting expressions are joined disjunctively. The maximum number of elements is 20. NOTE: Suggest API supports only few filters at the moment: \"objecttype\", \"type\" and \"mimetype\". For now, schema specific filters cannot be used to filter suggestions.", - "items": { - "$ref": "FilterOptions" - }, - "type": "array" - }, - "source": { - "$ref": "Source", - "description": "The source of restriction." - } - }, - "type": "object" - }, - "Date": { - "description": "Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date between the year 1 and 9999.", - "id": "Date", - "properties": { - "day": { - "description": "Day of month. Must be from 1 to 31 and valid for the year and month.", - "format": "int32", - "type": "integer" - }, - "month": { - "description": "Month of date. Must be from 1 to 12.", - "format": "int32", - "type": "integer" - }, - "year": { - "description": "Year of date. Must be from 1 to 9999.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "DateOperatorOptions": { - "description": "Optional. Provides a search operator for date properties. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", - "id": "DateOperatorOptions", - "properties": { - "greaterThanOperatorName": { - "description": "Indicates the operator name required in the query in order to isolate the date property using the greater-than operator. For example, if greaterThanOperatorName is *closedafter* and the property's name is *closeDate*, then queries like *closedafter:\u003cvalue\u003e* show results only where the value of the property named *closeDate* is later than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", - "type": "string" - }, - "lessThanOperatorName": { - "description": "Indicates the operator name required in the query in order to isolate the date property using the less-than operator. For example, if lessThanOperatorName is *closedbefore* and the property's name is *closeDate*, then queries like *closedbefore:\u003cvalue\u003e* show results only where the value of the property named *closeDate* is earlier than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", - "type": "string" - }, - "operatorName": { - "description": "Indicates the actual string required in the query in order to isolate the date property. For example, suppose an issue tracking schema object has a property named *closeDate* that specifies an operator with an operatorName of *closedon*. For searches on that data, queries like *closedon:\u003cvalue\u003e* show results only where the value of the *closeDate* property matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the indexed datasource. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", - "type": "string" - } - }, - "type": "object" - }, - "DatePropertyOptions": { - "description": "The options for date properties.", - "id": "DatePropertyOptions", - "properties": { - "operatorOptions": { - "$ref": "DateOperatorOptions", - "description": "If set, describes how the date should be used as a search operator." - } - }, - "type": "object" - }, - "DateTimePicker": { - "id": "DateTimePicker", - "properties": { - "label": { - "description": "The label for the field, which is displayed to the user.", - "type": "string" - }, - "name": { - "description": "The name of the text field which is used in FormInput, and uniquely identifies this input.", - "type": "string" - }, - "onChange": { - "$ref": "FormAction", - "description": "Triggered when the user clicks on the Save, or Clear button from the date / time picker dialog. Will only be triggered if the value changed as a result of the Save / Clear operation." - }, - "timezoneOffsetDate": { - "description": "The number representing the time-zone offset from UTC, in minutes. If set, the value_ms_epoch will be displayed in the specified time zone. If not set, it will use the user's timezone setting in client side.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "The type of the DateTimePicker.", - "enum": [ - "UNSPECIFIED_TYPE", - "DATE_AND_TIME", - "DATE_ONLY", - "TIME_ONLY" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "valueMsEpoch": { - "description": "The value to display which can be the default value before user input or previous user input. It is represented in milliseconds (Epoch time). - For DATE_AND_TIME type, the full epoch value is used. - For DATE_ONLY type, only date of the epoch time is used. - For TIME_ONLY type, only time of the epoch time is used. For example, you can set epoch time to 3 * 60 * 60 * 1000 to represent 3am.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "DateValues": { - "description": "List of date values.", - "id": "DateValues", - "properties": { - "values": { - "items": { - "$ref": "Date" - }, - "type": "array" - } - }, - "type": "object" - }, - "DebugOptions": { - "description": "Shared request debug options for all cloudsearch RPC methods.", - "id": "DebugOptions", - "properties": { - "enableDebugging": { - "description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", - "type": "boolean" - } - }, - "type": "object" - }, - "DeepLinkData": { - "description": "Deep-linking data is used to construct a deep-link URI for an activity or frame's embed, such that on click, the user is taken to the right place in a mobile app. If the app is not installed, the user is taken to the app store. If not on mobile, an analogous web uri is used.", - "id": "DeepLinkData", - "properties": { - "appId": { - "description": "Application ID (or project ID) from Google API Console.", - "format": "int64", - "type": "string" - }, - "client": { - "description": "The data for a Google API Console client is entered by a developer during client registration and is stored in PackagingService.", - "items": { - "$ref": "PackagingServiceClient" - }, - "type": "array" - }, - "deepLinkId": { - "description": "The ID for non-URL content. Embeds may either have no analogous web presence or prefer a native mobile experience if supported. In the case of no web presence, instead of setting the \"url\" field of an embed, such developers will set this field and other content fields, e.g. thumbnail, title, description. If set, this field is used to construct the deep-link URI. Note that the native experience is preferred over the web link and the web link is used as a fallback.", - "type": "string" - }, - "url": { - "description": "Analogous web presence. Used as desktop fallback or when no native link data is present.", - "type": "string" - } - }, - "type": "object" - }, - "DeleteMetadata": { - "description": "A message delete in Dynamite inserts a Babel-only item containing this field. This is only inserted for messages before the source-of-truth flip. See go/hsc-message-deletions for more details.", - "id": "DeleteMetadata", - "properties": {}, - "type": "object" - }, - "DeleteQueueItemsRequest": { - "id": "DeleteQueueItemsRequest", - "properties": { - "connectorName": { - "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", - "type": "string" - }, - "debugOptions": { - "$ref": "DebugOptions", - "description": "Common debug options." - }, - "queue": { - "description": "The name of a queue to delete items from.", - "type": "string" - } - }, - "type": "object" - }, - "DeliveryMedium": { - "id": "DeliveryMedium", - "properties": { - "mediumType": { - "description": "Describes the medium the cent was sent/received. For example, if I receive an SMS via GV, the medium_type will be GV.", - "enum": [ - "UNKNOWN_MEDIUM", - "BABEL_MEDIUM", - "GOOGLE_VOICE_MEDIUM", - "LOCAL_SMS_MEDIUM" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "selfPhone": { - "$ref": "VoicePhoneNumber", - "description": "In the case of multiple GV/native numbers, this defines the exact number to send from. It is used to differentiate mediums that have the same type, but different addresses (e.g. two android phones)." - } - }, - "type": "object" - }, - "DisplayedProperty": { - "description": "A reference to a top-level property within the object that should be displayed in search results. The values of the chosen properties is displayed in the search results along with the display label for that property if one is specified. If a display label is not specified, only the values is shown.", - "id": "DisplayedProperty", - "properties": { - "propertyName": { - "description": "The name of the top-level property as defined in a property definition for the object. If the name is not a defined property in the schema, an error is given when attempting to update the schema.", - "type": "string" - } - }, - "type": "object" - }, - "Divider": { - "id": "Divider", - "properties": {}, - "type": "object" - }, - "DlpAction": { - "id": "DlpAction", - "properties": { - "actionType": { - "enum": [ - "NO_ACTION", - "BLOCK", - "AUDIT_ONLY", - "WARN" - ], - "enumDescriptions": [ - "LINT.IfChange", - "", - "", - "LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/external/dlp/ApplicableDlpActionEvaluator.java)" - ], - "type": "string" - }, - "unsafeHtmlMessageBody": { - "description": "The custom error message defined by the customer administrator.", - "type": "string" - } - }, - "type": "object" - }, - "DlpMessageScanRecord": { - "description": "A summary of a DLP scan. This is a combination summary that contains both scan on message and scan on attachments if any.", - "id": "DlpMessageScanRecord", - "properties": { - "attachmentScanSummary": { - "$ref": "DlpScanSummary", - "description": "Summaries of the attachment scan if any." - }, - "dlpAction": { - "$ref": "DlpAction", - "description": "The applied action." - }, - "messageScanSummary": { - "$ref": "DlpScanSummary", - "description": "Summaries of the message scan." - }, - "scanOutcome": { - "description": "The DLP scan outcome for the message.", - "enum": [ - "SCAN_UNKNOWN_OUTCOME", - "SCAN_SUCCEEDED_NO_VIOLATION", - "SCAN_SUCCEEDED_BLOCK", - "SCAN_SUCCEEDED_WARN", - "SCAN_SUCCEEDED_AUDIT_ONLY", - "SCAN_FAILURE_EXCEPTION", - "SCAN_FAILURE_RULE_FETCH_FAILED", - "SCAN_FAILURE_TIMEOUT", - "SCAN_FAILURE_ALL_RULES_FAILED", - "SCAN_FAILURE_ILLEGAL_STATE_FOR_ATTACHMENTS", - "SCAN_SKIPPED_EXPERIMENT_DISABLED", - "SCAN_SKIPPED_CONSUMER", - "SCAN_SKIPPED_NON_HUMAN_USER", - "SCAN_SKIPPED_NO_MESSAGE", - "SCAN_SKIPPED_USER_ACKNOWLEDGED_WARNING", - "SCAN_SKIPPED_MESSAGE_FROM_UNSUPPORTED_ORIGIN", - "SCAN_SKIPPED_MESSAGE_SENT_DURING_SPACE_MIGRATION", - "SCAN_RULE_EVALUATION_SKIPPED_NO_RULES_FOUND", - "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_ACTION_PARAMS", - "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_TRIGGER", - "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", - "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_PERMANENT_ERROR", - "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_EMPTY_RESPONSE", - "SCAN_RULE_EVALUATION_SKIPPED_UNSUPPORTED_FILE_TYPE", - "SCAN_SUCCEEDED_WITH_FAILURES_NO_VIOLATION", - "SCAN_SUCCEEDED_WITH_FAILURES_BLOCK", - "SCAN_SUCCEEDED_WITH_FAILURES_WARN", - "SCAN_SUCCEEDED_WITH_FAILURES_AUDIT_ONLY" - ], - "enumDescriptions": [ - "", - "This means no violation is detected on the given message/attachment.", - "Violation is detected. The message/attachment will be blocked (or deleted if this happens in failure recovery), the user will be warned, and the violation will be logged to BIP.", - "Violation is detected. The user will be warned, and the violation will be logged to BIP.", - "Violation is detected and will be logged to BIP (no user-facing action performed).", - "Rule fetch and evaluation were attempted but an exception occurred.", - "Rule fetch was attempted but failed, so rule evaluation could not be performed.", - "Rule fetch and evaluation were attempted but the scanning timed out.", - "Rule fetch completed and evaluation were attempted, but all of the rules failed to be evaluated.", - "An IllegalStateException is thrown when executing DLP on attachments. This could happen if the space row is missing.", - "Rule fetch and evaluation is skipped because DLP is not enabled for the user.", - "Rule fetch and evaluation are skipped because the user sending message is consumer.", - "Rule fetch and evaluation are skipped because the user sending message is a non-human user (i.e. a bot).", - "Rule fetch and evaluation are skipped because there is no message to scan. Deprecated: this should not happen since there must be message or attachment for DLP scan.", - "Rule fetch and evaluation are skipped because the user has acknowledged the warning on the message that triggered the Warn violation and sent the message anyway.", - "Scanning was skipped because the message originated from Interop or Babel.", - "Scanning was skipped because the message was sent while the space is in migration mode. See go/migration-mode for details.", - "Rule fetch happened, but rule evaluation is skipped because no rules were found.", - "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given action params. Deprecated. Use SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", - "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given trigger. Deprecated. Use SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", - "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable.", - "Rule fetch happened, but rule evaluation is skipped because Changeling returned permanent failure while converting the attachment to text.", - "Rule fetch happened, but rule evaluation is skipped because Changeling returned an empty response while converting the attachment to text.", - "Rule fetch happened, but rule evaluation is skipped because file type is unsupported.", - "Rules were fetched but some evaluations failed. No violation was found in the rules that were successfully evaluated.", - "Rules were fetched but some evaluations failed. A blocking violation was found in the rules that were successfully evaluated. The message/attachment will be blocked, the user will be notified, and the violation will be logged to BIP. A blocking violation takes precedence over all other violation types.", - "Rules were fetched but some evaluations failed. A warn violation was found in the rules that were successfully evaluated. The user will be warned, and the violation will be logged to BIP.", - "Rules were fetched but some evaluations failed. An audit-only violation was found in the rules that were successfully evaluated. The violation will be logged to BIP (no user-facing action performed)." - ], - "type": "string" - } - }, - "type": "object" - }, - "DlpScanSummary": { - "description": "A summary of a DLP scan event. This is a summary and should contain the minimum amount of data required to identify and process DLP scans. It is written to Starcast and encoded \u0026 returned to the client on attachment upload.", - "id": "DlpScanSummary", - "properties": { - "dlpAction": { - "$ref": "DlpAction" - }, - "scanId": { - "description": "The scan ID of the corresponding {@link DlpViolationScanRecord} in the {@link EphemeralDlpScans} Spanner table. This can be used to fetch additional details about the scan, e.g. for audit logging.", - "type": "string" - }, - "scanNotApplicableForContext": { - "description": "Indicates that was no attempt to scan a message or attachment because it was not applicable in the given context (e.g. atomic mutuate). If this is true, scan_outcome should not be set. This flag is used to identify messages that DLP did not attempt to scan for monitoring scan coverage. Contents that DLP attempted to scan but skipped can be identified by DlpScanOutcome.SCAN_SKIPPED_* reasons. DEPRECATED: The prober can determine this from the context.", - "type": "boolean" - }, - "scanOutcome": { - "description": "The outcome of a DLP Scan. If this is set, scan_not_applicable_for_context should not be true.", - "enum": [ - "SCAN_UNKNOWN_OUTCOME", - "SCAN_SUCCEEDED_NO_VIOLATION", - "SCAN_SUCCEEDED_BLOCK", - "SCAN_SUCCEEDED_WARN", - "SCAN_SUCCEEDED_AUDIT_ONLY", - "SCAN_FAILURE_EXCEPTION", - "SCAN_FAILURE_RULE_FETCH_FAILED", - "SCAN_FAILURE_TIMEOUT", - "SCAN_FAILURE_ALL_RULES_FAILED", - "SCAN_FAILURE_ILLEGAL_STATE_FOR_ATTACHMENTS", - "SCAN_SKIPPED_EXPERIMENT_DISABLED", - "SCAN_SKIPPED_CONSUMER", - "SCAN_SKIPPED_NON_HUMAN_USER", - "SCAN_SKIPPED_NO_MESSAGE", - "SCAN_SKIPPED_USER_ACKNOWLEDGED_WARNING", - "SCAN_SKIPPED_MESSAGE_FROM_UNSUPPORTED_ORIGIN", - "SCAN_SKIPPED_MESSAGE_SENT_DURING_SPACE_MIGRATION", - "SCAN_RULE_EVALUATION_SKIPPED_NO_RULES_FOUND", - "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_ACTION_PARAMS", - "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_TRIGGER", - "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", - "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_PERMANENT_ERROR", - "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_EMPTY_RESPONSE", - "SCAN_RULE_EVALUATION_SKIPPED_UNSUPPORTED_FILE_TYPE", - "SCAN_SUCCEEDED_WITH_FAILURES_NO_VIOLATION", - "SCAN_SUCCEEDED_WITH_FAILURES_BLOCK", - "SCAN_SUCCEEDED_WITH_FAILURES_WARN", - "SCAN_SUCCEEDED_WITH_FAILURES_AUDIT_ONLY" - ], - "enumDescriptions": [ - "", - "This means no violation is detected on the given message/attachment.", - "Violation is detected. The message/attachment will be blocked (or deleted if this happens in failure recovery), the user will be warned, and the violation will be logged to BIP.", - "Violation is detected. The user will be warned, and the violation will be logged to BIP.", - "Violation is detected and will be logged to BIP (no user-facing action performed).", - "Rule fetch and evaluation were attempted but an exception occurred.", - "Rule fetch was attempted but failed, so rule evaluation could not be performed.", - "Rule fetch and evaluation were attempted but the scanning timed out.", - "Rule fetch completed and evaluation were attempted, but all of the rules failed to be evaluated.", - "An IllegalStateException is thrown when executing DLP on attachments. This could happen if the space row is missing.", - "Rule fetch and evaluation is skipped because DLP is not enabled for the user.", - "Rule fetch and evaluation are skipped because the user sending message is consumer.", - "Rule fetch and evaluation are skipped because the user sending message is a non-human user (i.e. a bot).", - "Rule fetch and evaluation are skipped because there is no message to scan. Deprecated: this should not happen since there must be message or attachment for DLP scan.", - "Rule fetch and evaluation are skipped because the user has acknowledged the warning on the message that triggered the Warn violation and sent the message anyway.", - "Scanning was skipped because the message originated from Interop or Babel.", - "Scanning was skipped because the message was sent while the space is in migration mode. See go/migration-mode for details.", - "Rule fetch happened, but rule evaluation is skipped because no rules were found.", - "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given action params. Deprecated. Use SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", - "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable to the given trigger. Deprecated. Use SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES", - "Rule fetch happened, but rule evaluation is skipped because none of the rules are applicable.", - "Rule fetch happened, but rule evaluation is skipped because Changeling returned permanent failure while converting the attachment to text.", - "Rule fetch happened, but rule evaluation is skipped because Changeling returned an empty response while converting the attachment to text.", - "Rule fetch happened, but rule evaluation is skipped because file type is unsupported.", - "Rules were fetched but some evaluations failed. No violation was found in the rules that were successfully evaluated.", - "Rules were fetched but some evaluations failed. A blocking violation was found in the rules that were successfully evaluated. The message/attachment will be blocked, the user will be notified, and the violation will be logged to BIP. A blocking violation takes precedence over all other violation types.", - "Rules were fetched but some evaluations failed. A warn violation was found in the rules that were successfully evaluated. The user will be warned, and the violation will be logged to BIP.", - "Rules were fetched but some evaluations failed. An audit-only violation was found in the rules that were successfully evaluated. The violation will be logged to BIP (no user-facing action performed)." - ], - "type": "string" - }, - "scanTrigger": { - "description": "The event that triggered the scan. This corresponds to the rule trigger configured in admin console and maps to the different things that can be scanned.", - "enum": [ - "UNKNOWN_TRIGGER_TYPE", - "MESSAGE_SENT", - "ATTACHMENT_UPLOADED" - ], - "enumDescriptions": [ - "LINT.IfChange", - "", - "LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/external/dlp/DlpTriggerInfo.java)" - ], - "type": "string" - } - }, - "type": "object" - }, - "DmId": { - "id": "DmId", - "properties": { - "dmId": { - "description": "Unique server assigned Id, per Direct Message Space.", - "type": "string" - } - }, - "type": "object" - }, - "DocumentInfo": { - "description": "Information on a document attached to an active conference.", - "id": "DocumentInfo", - "properties": { - "whiteboardInfo": { - "$ref": "WhiteboardInfo", - "description": "A whiteboard document." - } - }, - "type": "object" - }, - "DoubleOperatorOptions": { - "description": "Used to provide a search operator for double properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", - "id": "DoubleOperatorOptions", - "properties": { - "operatorName": { - "description": "Indicates the operator name required in the query in order to use the double property in sorting or as a facet. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", - "type": "string" - } - }, - "type": "object" - }, - "DoublePropertyOptions": { - "description": "The options for double properties.", - "id": "DoublePropertyOptions", - "properties": { - "operatorOptions": { - "$ref": "DoubleOperatorOptions", - "description": "If set, describes how the double should be used as a search operator." - } - }, - "type": "object" - }, - "DoubleValues": { - "description": "List of double values.", - "id": "DoubleValues", - "properties": { - "values": { - "items": { - "format": "double", - "type": "number" - }, - "type": "array" - } - }, - "type": "object" - }, - "DriveClientActionMarkup": { - "id": "DriveClientActionMarkup", - "properties": { - "requestFileScope": { - "$ref": "RequestFileScope" - } - }, - "type": "object" - }, - "DriveFollowUpRestrict": { - "description": "Drive follow-up search restricts (e.g. \"followup:suggestions\").", - "id": "DriveFollowUpRestrict", - "properties": { - "type": { - "enum": [ - "UNSPECIFIED", - "FOLLOWUP_SUGGESTIONS", - "FOLLOWUP_ACTION_ITEMS" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "DriveLocationRestrict": { - "description": "Drive location search restricts (e.g. \"is:starred\").", - "id": "DriveLocationRestrict", - "properties": { - "type": { - "enum": [ - "UNSPECIFIED", - "TRASHED", - "STARRED" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "DriveMetadata": { - "description": "Annotation metadata for Drive artifacts.", - "id": "DriveMetadata", - "properties": { - "aclFixRequest": { - "$ref": "AclFixRequest" - }, - "aclFixStatus": { - "$ref": "AclFixStatus" - }, - "canEdit": { - "description": "Can the current user edit this resource", - "type": "boolean" - }, - "canShare": { - "description": "Can the current user share this resource", - "type": "boolean" - }, - "canView": { - "description": "Can the current user view this resource", - "type": "boolean" - }, - "driveAction": { - "description": "DriveAction for organizing this file in Drive. If the user does not have access to the Drive file, the value will be DriveAction.DRIVE_ACTION_UNSPECIFIED. This field is only set when part of a FileResult in a ListFilesResponse.", - "enum": [ - "DRIVE_ACTION_UNSPECIFIED", - "ADD_TO_DRIVE", - "ORGANIZE", - "ADD_SHORTCUT", - "ADD_ANOTHER_SHORTCUT" - ], - "enumDescriptions": [ - "No organize action should be shown.", - "Show \"Add to Drive\" button, for adding file that doesn't exist in Drive to Drive. Note that deleted Drive files that still exist (i.e. in your Trash) will still be ORGANIZE (this is consistent with Gmail Drive attachments).", - "Show \"Move\" button, for organizing a Drive file the user has permission to move.", - "Show \"Add shortcut\" button, for adding a shortcut to a Drive file the user does not have permission to move.", - "Show \"Add another shortcut\" button, for Drive files the user has already created a shortcut to." - ], - "type": "string" - }, - "driveState": { - "enum": [ - "DRIVE_STATE_UNSPECIFIED", - "IN_MY_DRIVE", - "IN_TEAM_DRIVE", - "SHARED_IN_DRIVE", - "NOT_IN_DRIVE" - ], - "enumDescriptions": [ - "Default value", - "File in My Drive", - "File in Team Drive", - "File in someone else's Drive, but is shared with the current user", - "File not in drive" - ], - "type": "string" - }, - "embedUrl": { - "$ref": "TrustedResourceUrlProto", - "description": "Output only. Trusted Resource URL for drive file embedding.", - "readOnly": true - }, - "encryptedDocId": { - "description": "Indicates whether the Drive link contains an encrypted doc ID. If true, Dynamite should not attempt to query the doc ID in Drive Service. See go/docid-encryption for details.", - "type": "boolean" - }, - "encryptedResourceKey": { - "description": "This is deprecated and unneeded. TODO (b/182479059): Remove this.", - "type": "string" - }, - "externalMimetype": { - "description": "External mimetype of the Drive Resource (Useful for creating Drive URL) See: http://b/35219462", - "type": "string" - }, - "id": { - "description": "Drive resource ID of the artifact.", - "type": "string" - }, - "isDownloadRestricted": { - "description": "Deprecated. Whether the setting to restrict downloads is enabled for this file. This was previously used to determine whether to hide the download and print buttons in the UI, but is no longer used by clients, because Projector now independently queries Drive to ensure that we have the most up-to-date value.", - "type": "boolean" - }, - "isOwner": { - "description": "If the current user is the Drive file's owner. The field is currently only set for Annotations for the ListFiles action (as opposed to fetching Topics/Messages with Drive annotations).", - "type": "boolean" - }, - "legacyUploadMetadata": { - "$ref": "LegacyUploadMetadata", - "description": "Only present if this DriveMetadata is converted from an UploadMetadata." - }, - "mimetype": { - "description": "Mimetype of the Drive Resource", - "type": "string" - }, - "organizationDisplayName": { - "description": "The display name of the organization owning the Drive item.", - "type": "string" - }, - "shortcutAuthorizedItemId": { - "$ref": "AuthorizedItemId", - "description": "Shortcut ID of this drive file in the shared drive, which is associated with a named room this file was shared in. Shortcuts will not be created for DMs or unnamed rooms. This is populated after the DriveMetadata is migrated to shared drive. go/chat-shared-drive-uploads." - }, - "shouldNotRender": { - "description": "If this field is set to true, server should still contact external backends to get metadata for search but clients should not render this chip.", - "type": "boolean" - }, - "thumbnailHeight": { - "description": "Thumbnail image of the Drive Resource", - "format": "int32", - "type": "integer" - }, - "thumbnailUrl": { - "description": "Thumbnail image of the Drive Resource", - "type": "string" - }, - "thumbnailWidth": { - "description": "Thumbnail image of the Drive Resource", - "format": "int32", - "type": "integer" - }, - "title": { - "description": "Title of the Drive Resource", - "type": "string" - }, - "urlFragment": { - "description": "Url string fragment that generally indicates the specific location in the linked file. Example: #header=h.123abc456. If the fragment is not present this will not be present and therefore default to an empty string. The \"#\" will not be included.", - "type": "string" - }, - "wrappedResourceKey": { - "$ref": "WrappedResourceKey", - "description": "This is considered SPII and should not be logged." - } - }, - "type": "object" - }, - "DriveMimeTypeRestrict": { - "description": "Drive mime-type search restricts (e.g. \"type:pdf\").", - "id": "DriveMimeTypeRestrict", - "properties": { - "type": { - "enum": [ - "UNSPECIFIED", - "PDF", - "DOCUMENT", - "PRESENTATION", - "SPREADSHEET", - "FORM", - "DRAWING", - "SCRIPT", - "MAP", - "IMAGE", - "AUDIO", - "VIDEO", - "FOLDER", - "ARCHIVE", - "SITE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "DriveTimeSpanRestrict": { - "description": "The time span search restrict (e.g. \"after:2017-09-11 before:2017-09-12\").", - "id": "DriveTimeSpanRestrict", - "properties": { - "type": { - "enum": [ - "UNSPECIFIED", - "TODAY", - "YESTERDAY", - "LAST_7_DAYS", - "LAST_30_DAYS", - "LAST_90_DAYS" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "Not Enabled", - "Not Enabled" - ], - "type": "string" - } - }, - "type": "object" - }, - "DynamiteMessagesScoringInfo": { - "description": "This is the proto for holding message level scoring information. This data is used for logging in query-api server and for testing purposes.", - "id": "DynamiteMessagesScoringInfo", - "properties": { - "commonContactCount": { - "format": "int64", - "type": "string" - }, - "commonCountToContactListCountRatio": { - "format": "double", - "type": "number" - }, - "commonCountToMembershipCountRatio": { - "format": "double", - "type": "number" - }, - "creatorGaiaId": { - "format": "int64", - "type": "string" - }, - "creatorInSearcherContactList": { - "type": "boolean" - }, - "crowdingMultiplier": { - "format": "double", - "type": "number" - }, - "dasContactCount": { - "format": "int64", - "type": "string" - }, - "finalScore": { - "format": "double", - "type": "number" - }, - "freshnessScore": { - "format": "double", - "type": "number" - }, - "joinedSpaceAffinityScore": { - "format": "double", - "type": "number" - }, - "lastReadTimestampAgeInDays": { - "format": "double", - "type": "number" - }, - "messageAgeInDays": { - "format": "double", - "type": "number" - }, - "messageSenderAffinityScore": { - "format": "double", - "type": "number" - }, - "spaceId": { - "format": "int64", - "type": "string" - }, - "spaceMembershipCount": { - "format": "int64", - "type": "string" - }, - "topicalityScore": { - "format": "double", - "type": "number" - }, - "unjoinedSpaceAffinityScore": { - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "DynamiteSpacesScoringInfo": { - "description": "This is the proto for holding space level scoring information. This data is used for logging in query-api server and for testing purposes.", - "id": "DynamiteSpacesScoringInfo", - "properties": { - "affinityScore": { - "format": "double", - "type": "number" - }, - "commonContactCountAffinityScore": { - "format": "double", - "type": "number" - }, - "contactsIntersectionCount": { - "format": "double", - "type": "number" - }, - "finalScore": { - "format": "double", - "type": "number" - }, - "freshnessScore": { - "format": "double", - "type": "number" - }, - "joinedSpacesAffinityScore": { - "format": "double", - "type": "number" - }, - "lastMessagePostedTimestampSecs": { - "format": "int64", - "type": "string" - }, - "lastReadTimestampSecs": { - "format": "int64", - "type": "string" - }, - "memberCountScore": { - "format": "double", - "type": "number" - }, - "memberMetadataCount": { - "format": "double", - "type": "number" - }, - "messageScore": { - "format": "double", - "type": "number" - }, - "numAucContacts": { - "format": "int64", - "type": "string" - }, - "smallContactListAffinityScore": { - "format": "double", - "type": "number" - }, - "smallUnjoinedSpacesAffinityScore": { - "format": "double", - "type": "number" - }, - "spaceAgeInDays": { - "format": "double", - "type": "number" - }, - "spaceCreationTimestampSecs": { - "format": "int64", - "type": "string" - }, - "topicalityScore": { - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "EditMetadata": { - "description": "A message edit in Dynamite inserts a Babel-only item containing this field.", - "id": "EditMetadata", - "properties": {}, - "type": "object" - }, - "EditorClientActionMarkup": { - "id": "EditorClientActionMarkup", - "properties": { - "requestFileScopeForActiveDocument": { - "$ref": "RequestFileScopeForActiveDocument" - } - }, - "type": "object" - }, - "EmailAddress": { - "description": "A person's email address.", - "id": "EmailAddress", - "properties": { - "customType": { - "description": "If the value of type is custom, this property contains the custom type string.", - "type": "string" - }, - "emailAddress": { - "description": "The email address.", - "type": "string" - }, - "emailUrl": { - "description": "The URL to send email.", - "type": "string" - }, - "primary": { - "description": "Indicates if this is the user's primary email. Only one entry can be marked as primary.", - "type": "boolean" - }, - "type": { - "description": "The type of the email account. Acceptable values are: \"custom\", \"home\", \"other\", \"work\".", - "type": "string" - } - }, - "type": "object" - }, - "EmailOwnerProto": { - "description": "Represents a verified owner of the given email address. Note that a single address may have many owners, and a single user may own many addresses. (All lower-case, in display form -- see com.google.gaia.client.GaiaEmail)", - "id": "EmailOwnerProto", - "properties": { - "email": { - "type": "string" - } - }, - "type": "object" - }, - "EmbedClientItem": { - "description": "Represents an embedded object in an update. This is a wrapper class that can contain a single specific item proto in an extension field. Think of it as a base class like `Message` in Java. Each item proto must declare that it extends this proto: message ExampleObject { option (item_type) = EXAMPLE_OBJECT; extend EmbedClientItem { optional ExampleObject example_object = ; } } See go/es-embeds for details.", - "id": "EmbedClientItem", - "properties": { - "canonicalId": { - "description": "The canonical ID of the embed. If absent, the canonical ID is equal to the ID; if present, then the canonical ID represents an \"equivalence class\" of embeds which really refer to the same object. (For example, the URLs http://www.foo.com/ and http://foo.com/ refer to the same object) This field may be updated periodically by background processes.", - "type": "string" - }, - "deepLinkData": { - "$ref": "DeepLinkData", - "description": "Deep-linking data to take the user to the right place in a mobile app. This is only used for preview and attribution. Links that are specific to a given embed type should live on that specific embed's proto by using Link. See http://goto.google.com/mariana-design." - }, - "id": { - "description": "The ID of the embed. This corresponds to the schema.org ID, as represented in the ItemScope.id field.", - "type": "string" - }, - "provenance": { - "$ref": "Provenance", - "description": "The provenance of the embed, populated when the embed originated from a web fetch. The provenance captures information about the web page the embed had originated, like the URL that was retrieved and the retrieved URL's canonical form. This is useful in the case where the URL shared by the URL redirects (e.g., in the case of a shortened URL)." - }, - "renderId": { - "description": "The ID used to identify the embed during rendering. This field will match ID, if set, otherwise it will be the ID of the parent activity. This field is only populated on the server for client use and is not persisted to storage.", - "type": "string" - }, - "signature": { - "description": "Signature of the embed, used for verification.", - "type": "string" - }, - "transientData": { - "$ref": "TransientData", - "description": "Transient generic data that will not be saved on the server." - }, - "type": { - "description": "The first value in `type` determines which extension field will be set. When creating an EmbedClientItem, you only need to set the first (primary) type in this field. When the server receives the item, it will populate the full type list using the parent annotations in the ItemType enum.", - "items": { - "enum": [ - "UNKNOWN", - "ACTION_V2", - "ADD_ACTION_V2", - "AGGREGATE_RATING_V2", - "ARTICLE_V2", - "ASSESS_ACTION_V2", - "AUDIO_OBJECT_V2", - "BASIC_INTERACTION_V2", - "BLOG_POSTING_V2", - "BLOG_V2", - "BOOK_V2", - "BUY_ACTION_V2", - "CHECK_IN_ACTION_V2", - "CHECKIN_V2", - "COLLEXION_V2", - "COMMENT_ACTION_V2", - "COMMENT_V2", - "COMMUNICATE_ACTION_V2", - "CONSUME_ACTION_V2", - "CREATE_ACTION_V2", - "CREATIVE_WORK_V2", - "DISCOVER_ACTION_V2", - "DOCUMENT_OBJECT_V2", - "DRAWING_OBJECT_V2", - "DRIVE_OBJECT_V2", - "EMOTISHARE_V2", - "ENTRY_POINT_V2", - "EVENT_TIME_V2", - "EVENT_V2", - "FILE_OBJECT_V2", - "FIND_ACTION_V2", - "FINANCIAL_QUOTE_V2", - "FORM_OBJECT_V2", - "GEO_COORDINATES_V2", - "GOOGLE_OFFER_V2", - "HANGOUT_CHAT_MESSAGE", - "HANGOUT_QUOTE", - "HANGOUT_V2", - "HOA_PLUS_EVENT_V2", - "IMAGE_OBJECT_V2", - "INTERACT_ACTION_V2", - "INTERACTION_V2", - "LISTEN_ACTION_V2", - "LOCAL_BUSINESS_V2", - "LOCAL_PLUS_PHOTO_ALBUM_V2", - "MAGAZINE_V2", - "MEDIA_OBJECT_V2", - "MOBILE_APPLICATION_V2", - "MOVIE_V2", - "MUSIC_ALBUM_V2", - "MUSIC_GROUP_V2", - "MUSIC_PLAYLIST_V2", - "MUSIC_RECORDING_V2", - "NEWS_ARTICLE_V2", - "OFFER_V2", - "ORGANIZATION_V2", - "ORGANIZE_ACTION_V2", - "PERSON_V2", - "PLACE_REVIEW_V2", - "PLACE_V2", - "PLAN_ACTION_V2", - "PLAY_MUSIC_ALBUM_V2", - "PLAY_MUSIC_TRACK_V2", - "PLAY_OBJECT_V2", - "PLUS_AUDIO_V2", - "PLUS_EVENT_V2", - "PLUS_MEDIA_COLLECTION_V2", - "PLUS_MEDIA_OBJECT_V2", - "PLUS_PAGE_V2", - "PLUS_PHOTOS_ADDED_TO_COLLECTION_V2", - "PLUS_PHOTO_ALBUM_V2", - "PLUS_PHOTO_COLLECTION_V2", - "PLUS_PHOTO_V2", - "PLUS_POST_V2", - "PLUS_RESHARE_V2", - "PLUS_SOFTWARE_APPLICATION_V2", - "POLL_OPTION_V2", - "POLL_V2", - "POSTAL_ADDRESS_V2", - "PRESENTATION_OBJECT_V2", - "PRODUCT_REVIEW_V2", - "RATING_V2", - "REACT_ACTION_V2", - "RESERVATION_V2", - "RESERVE_ACTION_V2", - "REVIEW_V2", - "REVIEW_ACTION_V2", - "SOFTWARE_APPLICATION_V2", - "SPREADSHEET_OBJECT_V2", - "SQUARE_INVITE_V2", - "SQUARE_V2", - "STICKER_V2", - "STORY_V2", - "THING_V2", - "TRADE_ACTION_V2", - "DEPRECATED_TOUR_OBJECT_V2", - "TV_EPISODE_V2", - "TV_SERIES_V2", - "UPDATE_ACTION_V2", - "VIEW_ACTION_V2", - "VIDEO_OBJECT_V2", - "VIDEO_GALLERY_V2", - "WANT_ACTION_V2", - "WEB_PAGE_V2", - "WRITE_ACTION_V2", - "YOUTUBE_CHANNEL_V2", - "GOOGLE_USER_PHOTO_V2", - "GOOGLE_USER_PHOTO_ALBUM", - "GOOGLE_PHOTO_RECIPE", - "THING", - "CREATIVE_WORK", - "EVENT", - "INTANGIBLE", - "ORGANIZATION", - "PERSON", - "PLACE", - "PRODUCT", - "ARTICLE", - "BLOG_POSTING", - "NEWS_ARTICLE", - "SCHOLARLY_ARTICLE", - "BLOG", - "BOOK", - "COMMENT", - "ITEM_LIST", - "MAP", - "MEDIA_OBJECT", - "AUDIO_OBJECT", - "IMAGE_OBJECT", - "MUSIC_VIDEO_OBJECT", - "VIDEO_OBJECT", - "MOVIE", - "MUSIC_PLAYLIST", - "MUSIC_ALBUM", - "MUSIC_RECORDING", - "PAINTING", - "PHOTOGRAPH", - "RECIPE", - "REVIEW", - "SCULPTURE", - "SOFTWARE_APPLICATION", - "MOBILE_APPLICATION", - "WEB_APPLICATION", - "TV_EPISODE", - "TV_SEASON", - "TV_SERIES", - "WEB_PAGE", - "ABOUT_PAGE", - "CHECKOUT_PAGE", - "COLLECTION_PAGE", - "IMAGE_GALLERY", - "VIDEO_GALLERY", - "CONTACT_PAGE", - "ITEM_PAGE", - "PROFILE_PAGE", - "SEARCH_RESULTS_PAGE", - "WEB_PAGE_ELEMENT", - "SITE_NAVIGATION_ELEMENT", - "TABLE", - "WP_AD_BLOCK", - "WP_FOOTER", - "WP_HEADER", - "WP_SIDEBAR", - "APP_INVITE", - "EMOTISHARE", - "BUSINESS_EVENT", - "CHILDRENS_EVENT", - "COMEDY_EVENT", - "DANCE_EVENT", - "EDUCATION_EVENT", - "FESTIVAL", - "FOOD_EVENT", - "LITERARY_EVENT", - "MUSIC_EVENT", - "SALE_EVENT", - "SOCIAL_EVENT", - "SPORTS_EVENT", - "THEATER_EVENT", - "VISUAL_ARTS_EVENT", - "RESERVATION", - "TRAVEL_EVENT", - "CORPORATION", - "EDUCATIONAL_ORGANIZATION", - "COLLEGE_OR_UNIVERSITY", - "ELEMENTARY_SCHOOL", - "HIGH_SCHOOL", - "MIDDLE_SCHOOL", - "PRESCHOOL", - "SCHOOL", - "GOVERNMENT_ORGANIZATION", - "LOCAL_BUSINESS", - "ANIMAL_SHELTER", - "AUTOMOTIVE_BUSINESS", - "AUTO_BODY_SHOP", - "AUTO_DEALER", - "AUTO_PARTS_STORE", - "AUTO_RENTAL", - "AUTO_REPAIR", - "AUTO_WASH", - "GAS_STATION", - "MOTORCYCLE_DEALER", - "MOTORCYCLE_REPAIR", - "CHILD_CARE", - "DRY_CLEANING_OR_LAUNDRY", - "EMERGENCY_SERVICE", - "FIRE_STATION", - "HOSPITAL", - "POLICE_STATION", - "EMPLOYMENT_AGENGY", - "ENTERTAINMENT_BUSINESS", - "ADULT_ENTERTAINMENT", - "AMUSEMENT_PARK", - "ART_GALLERY", - "CASINO", - "COMEDY_CLUB", - "MOVIE_THEATER", - "NIGHT_CLUB", - "FINANCIAL_SERVICE", - "ACCOUNTING_SERVICE", - "AUTOMATED_TELLER", - "BANK_OR_CREDIT_UNION", - "INSURANCE_AGENCY", - "FOOD_ESTABLISHMENT", - "BAKERY", - "BAR_OR_PUB", - "BREWERY", - "CAFE_OR_COFFEE_SHOP", - "FAST_FOOD_RESTAURANT", - "ICE_CREAM_SHOP", - "RESTAURANT", - "WINERY", - "GOVERNMENT_OFFICE", - "POST_OFFICE", - "HEALTH_AND_BEAUTY_BUSINESS", - "BEAUTY_SALON", - "DAY_SPA", - "HAIR_SALON", - "HEALTH_CLUB", - "NAIL_SALON", - "TATTOO_PARLOR", - "HOME_AND_CONSTRUCTION_BUSINESS", - "ELECTRICIAN", - "GENERAL_CONTRACTOR", - "HVAC_BUSINESS", - "HOUSE_PAINTER", - "LOCKSMITH", - "MOVING_COMPANY", - "PLUMBER", - "ROOFING_CONTRACTOR", - "INTERNET_CAFE", - "LIBRARY", - "LODGING_BUSINESS", - "BED_AND_BREAKFAST", - "HOSTEL", - "HOTEL", - "MOTEL", - "MEDICAL_ORGANIZATION", - "DENTIST", - "MEDICAL_CLINIC", - "OPTICIAN", - "PHARMACY", - "PHYSICIAN", - "VETERINARY_CARE", - "PROFESSIONAL_SERVICE", - "ATTORNEY", - "NOTARY", - "RADIO_STATION", - "REAL_ESTATE_AGENT", - "RECYCLING_CENTER", - "SELF_STORAGE", - "SHOPPING_CENTER", - "SPORTS_ACTIVITY_LOCATION", - "BOWLING_ALLEY", - "EXERCISE_GYM", - "GOLF_COURSE", - "PUBLIC_SWIMMING_POOL", - "SKI_RESORT", - "SPORTS_CLUB", - "STADIUM_OR_ARENA", - "TENNIS_COMPLEX", - "STORE", - "BIKE_STORE", - "BOOK_STORE", - "CLOTHING_STORE", - "COMPUTER_STORE", - "CONVENIENCE_STORE", - "DEPARTMENT_STORE", - "ELECTRONICS_STORE", - "FLORIST", - "FURNITURE_STORE", - "GARDEN_STORE", - "GROCERY_STORE", - "HARDWARE_STORE", - "HOBBY_SHOP", - "HOME_GOODS_STORE", - "JEWELRY_STORE", - "LIQUOR_STORE", - "MENS_CLOTHING_STORE", - "MOBILE_PHONE_STORE", - "MOVIE_RENTAL_STORE", - "MUSIC_STORE", - "OFFICE_EQUIPMENT_STORE", - "OUTLET_STORE", - "PAWN_SHOP", - "PET_STORE", - "SHOE_STORE", - "SPORTING_GOODS_STORE", - "TIRE_SHOP", - "TOY_STORE", - "WHOLESALE_STORE", - "TELEVISION_STATION", - "TOURIST_INFORMATION_CENTER", - "TRAVEL_AGENCY", - "PERFORMING_GROUP", - "MUSIC_GROUP", - "ADMINISTRATIVE_AREA", - "CITY", - "COUNTRY", - "STATE", - "CIVIC_STRUCTURE", - "AIRPORT", - "AQUARIUM", - "BEACH", - "BUS_STATION", - "BUS_STOP", - "CAMPGROUND", - "CEMETERY", - "CREMATORIUM", - "EVENT_VENUE", - "GOVERNMENT_BUILDING", - "CITY_HALL", - "COURTHOUSE", - "DEFENCE_ESTABLISHMENT", - "EMBASSY", - "LEGISLATIVE_BUILDING", - "MUSEUM", - "MUSIC_VENUE", - "PARK", - "PARKING_FACILITY", - "PERFORMING_ARTS_THEATER", - "PLACE_OF_WORSHIP", - "BUDDHIST_TEMPLE", - "CATHOLIC_CHURCH", - "CHURCH", - "HINDU_TEMPLE", - "MOSQUE", - "SYNAGOGUE", - "PLAYGROUND", - "R_V_PARK", - "RESIDENCE", - "APARTMENT_COMPLEX", - "GATED_RESIDENCE_COMMUNITY", - "SINGLE_FAMILY_RESIDENCE", - "TOURIST_ATTRACTION", - "SUBWAY_STATION", - "TAXI_STAND", - "TRAIN_STATION", - "ZOO", - "LANDFORM", - "BODY_OF_WATER", - "CANAL", - "LAKE_BODY_OF_WATER", - "OCEAN_BODY_OF_WATER", - "POND", - "RESERVOIR", - "RIVER_BODY_OF_WATER", - "SEA_BODY_OF_WATER", - "WATERFALL", - "CONTINENT", - "MOUNTAIN", - "VOLCANO", - "LANDMARKS_OR_HISTORICAL_BUILDINGS", - "USER_INTERACTION", - "USER_PLUS_ONES", - "ENUMERATION", - "BOOK_FORMAT_TYPE", - "ITEM_AVAILABILITY", - "OFFER_ITEM_CONDITION", - "JOB_POSTING", - "LANGUAGE", - "OFFER", - "QUANTITY", - "DISTANCE", - "DURATION", - "ENERGY", - "MASS", - "RATING", - "AGGREGATE_RATING", - "STRUCTURED_VALUE", - "CONTACT_POINT", - "POSTAL_ADDRESS", - "GEO_COORDINATES", - "GEO_SHAPE", - "NUTRITION_INFORMATION", - "PRESENTATION_OBJECT", - "DOCUMENT_OBJECT", - "SPREADSHEET_OBJECT", - "FORM_OBJECT", - "DRAWING_OBJECT", - "PLACE_REVIEW", - "FILE_OBJECT", - "PLAY_MUSIC_TRACK", - "PLAY_MUSIC_ALBUM", - "MAGAZINE", - "CAROUSEL_FRAME", - "PLUS_EVENT", - "HANGOUT", - "HANGOUT_BROADCAST", - "HANGOUT_CONSUMER", - "CHECKIN", - "EXAMPLE_OBJECT", - "SQUARE", - "SQUARE_INVITE", - "PLUS_PHOTO", - "PLUS_PHOTO_ALBUM", - "LOCAL_PLUS_PHOTO_ALBUM", - "PRODUCT_REVIEW", - "FINANCIAL_QUOTE", - "DEPRECATED_TOUR_OBJECT", - "PLUS_PAGE", - "GOOGLE_CHART", - "PLUS_PHOTOS_ADDED_TO_COLLECTION", - "RECOMMENDED_PEOPLE", - "PLUS_POST", - "DATE", - "DRIVE_OBJECT_COLLECTION", - "NEWS_MEDIA_ORGANIZATION", - "DYNAMITE_ATTACHMENT_METADATA", - "DYNAMITE_MESSAGE_METADATA" - ], - "enumDescriptions": [ - "Largely deprecated, effectively an error condition and should not be in storage.", - "Embeds V2 types", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "The action of checking in, as opposed to a \"check-in\".", - "", - "", - "The act of commenting, which might result in a comment.", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "Boswell story (see goto/boswell)", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "A photo stored in photo service owned by a Google account user. This is distinct from PlusPhoto as it isn't tied to GPlus, but is instead intended to be a more general photo tied to a google user.", - "A photo album in photo service owned by a Google account user. This is distinct from PlusPhotoAlbum as it isn't tied to GPlus, but is instead intended to be a general photo album tied to a google user.", - "An embed used to create a single photo in photo service. This type is never stored but is used to create a GOOGLE_USER_PHOTO_V2 or PLUS_PHOTO_V2 embed.", - "Embeds V1 types", - "", - "", - "", - "", - "", - "", - "", - "CREATIVE_WORK subtypes", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "EVENT subtypes", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "ORGANIZATION subtypes", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "PLACE subtypes", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "NOTE(jpanzer): This is a badly designed hierarchy and we should avoid depending on Event properties inside UserInteractions as much as possible IMHO.", - "", - "Intangibles, primarily used as sub-objects of other types", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "CREATIVE_WORK extensions", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "Single frame for http://goto/carousel.", - "EVENT extensions", - "No declared proto. Used only as a base type for now.", - "", - "", - "", - "", - "NOTE(melchang): These correspond to http://schema.org/WebPage/Community and http://schema.org/WebPage/CommunityInvite. See b/7653610 for why these are \"SQUARE\" and not \"COMMUNITY\".", - "", - "", - "", - "", - "", - "", - "", - "", - "Data visualizations. See http://code.google.com/apis/chart/index.html", - "", - "A collection of people that have been recommended to a user.", - "A Google+ post.", - "An http://schema.org/Date unstructured ISO-8859 timestamp string.", - "Embed representing a collection of multiple Drive objects.", - "https://schema.org/NewsMediaOrganization", - "Deprecated in favor of DYNAMITE_MESSAGE_METADATA", - "Used for Dynamite message metadata in Hangouts" - ], - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnumOperatorOptions": { - "description": "Used to provide a search operator for enum properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched. For example, if you provide no operator for a *priority* enum property with possible values *p0* and *p1*, a query that contains the term *p0* returns items that have *p0* as the value of the *priority* property, as well as any items that contain the string *p0* in other fields. If you provide an operator name for the enum, such as *priority*, then search users can use that operator to refine results to only items that have *p0* as this property's value, with the query *priority:p0*.", - "id": "EnumOperatorOptions", - "properties": { - "operatorName": { - "description": "Indicates the operator name required in the query in order to isolate the enum property. For example, if operatorName is *priority* and the property's name is *priorityVal*, then queries like *priority:\u003cvalue\u003e* show results only where the value of the property named *priorityVal* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", - "type": "string" - } - }, - "type": "object" - }, - "EnumPropertyOptions": { - "description": "The options for enum properties, which allow you to define a restricted set of strings to match user queries, set rankings for those string values, and define an operator name to be paired with those strings so that users can narrow results to only items with a specific value. For example, for items in a request tracking system with priority information, you could define *p0* as an allowable enum value and tie this enum to the operator name *priority* so that search users could add *priority:p0* to their query to restrict the set of results to only those items indexed with the value *p0*.", - "id": "EnumPropertyOptions", - "properties": { - "operatorOptions": { - "$ref": "EnumOperatorOptions", - "description": "If set, describes how the enum should be used as a search operator." - }, - "orderedRanking": { - "description": "Used to specify the ordered ranking for the enumeration that determines how the integer values provided in the possible EnumValuePairs are used to rank results. If specified, integer values must be provided for all possible EnumValuePair values given for this property. Can only be used if isRepeatable is false.", - "enum": [ - "NO_ORDER", - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "There is no ranking order for the property. Results aren't adjusted by this property's value.", - "This property is ranked in ascending order. Lower values indicate lower ranking.", - "This property is ranked in descending order. Lower values indicate higher ranking." - ], - "type": "string" - }, - "possibleValues": { - "description": "The list of possible values for the enumeration property. All EnumValuePairs must provide a string value. If you specify an integer value for one EnumValuePair, then all possible EnumValuePairs must provide an integer value. Both the string value and integer value must be unique over all possible values. Once set, possible values cannot be removed or modified. If you supply an ordered ranking and think you might insert additional enum values in the future, leave gaps in the initial integer values to allow adding a value in between previously registered values. The maximum number of elements is 100.", - "items": { - "$ref": "EnumValuePair" - }, - "type": "array" - } - }, - "type": "object" - }, - "EnumValuePair": { - "description": "The enumeration value pair defines two things: a required string value and an optional integer value. The string value defines the necessary query term required to retrieve that item, such as *p0* for a priority item. The integer value determines the ranking of that string value relative to other enumerated values for the same property. For example, you might associate *p0* with *0* and define another enum pair such as *p1* and *1*. You must use the integer value in combination with ordered ranking to set the ranking of a given value relative to other enumerated values for the same property name. Here, a ranking order of DESCENDING for *priority* properties results in a ranking boost for items indexed with a value of *p0* compared to items indexed with a value of *p1*. Without a specified ranking order, the integer value has no effect on item ranking.", - "id": "EnumValuePair", - "properties": { - "integerValue": { - "description": "The integer value of the EnumValuePair which must be non-negative. Optional.", - "format": "int32", - "type": "integer" - }, - "stringValue": { - "description": "The string value of the EnumValuePair. The maximum length is 32 characters.", - "type": "string" - } - }, - "type": "object" - }, - "EnumValues": { - "description": "List of enum values.", - "id": "EnumValues", - "properties": { - "values": { - "description": "The maximum allowable length for string values is 32 characters.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ErrorInfo": { - "description": "Error information about the response.", - "id": "ErrorInfo", - "properties": { - "errorMessages": { - "items": { - "$ref": "ErrorMessage" - }, - "type": "array" - } - }, - "type": "object" - }, - "ErrorMessage": { - "description": "Error message per source response.", - "id": "ErrorMessage", - "properties": { - "errorMessage": { - "type": "string" - }, - "source": { - "$ref": "Source" - } - }, - "type": "object" - }, - "EventAnnotation": { - "id": "EventAnnotation", - "properties": { - "type": { - "format": "int32", - "type": "integer" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "EventProto": { - "description": "Represents the invitees or other users associated with a Google+ Event (see http://goto/events-backend-design).", - "id": "EventProto", - "properties": { - "eventId": { - "description": "Event IDs consist of alphanumeric characters and colons. Currently required.", - "type": "string" - }, - "memberType": { - "description": "The type of Event members to consider, e.g. \"all members\" vs. \"owners\" vs. \"admins\". These are defined by legacy_relation_id values in social.graph.storage.EdgeTypeEnum.EdgeType enum options in social/graph/storage/proto/id.proto. See event.pb (defined in production/config/cdd/socialgraph/mixer_config/prod/node_type_config) for all valid edge types associated with event. Currently required.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "FacetBucket": { - "description": "A bucket in a facet is the basic unit of operation. A bucket can comprise either a single value OR a contiguous range of values, depending on the type of the field bucketed. FacetBucket is currently used only for returning the response object.", - "id": "FacetBucket", - "properties": { - "count": { - "description": "Number of results that match the bucket value. Counts are only returned for searches when count accuracy is ensured. Cloud Search does not guarantee facet counts for any query and facet counts might be present only intermittently, even for identical queries. Do not build dependencies on facet count existence; instead use facet ount percentages which are always returned.", - "format": "int32", - "type": "integer" - }, - "filter": { - "$ref": "Filter", - "description": "Filter to be passed in the search request if the corresponding bucket is selected." - }, - "percentage": { - "description": "Percent of results that match the bucket value. The returned value is between (0-100], and is rounded down to an integer if fractional. If the value is not explicitly returned, it represents a percentage value that rounds to 0. Percentages are returned for all searches, but are an estimate. Because percentages are always returned, you should render percentages instead of counts.", - "format": "int32", - "type": "integer" - }, - "value": { - "$ref": "Value" - } - }, - "type": "object" - }, - "FacetOptions": { - "description": "Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.", - "id": "FacetOptions", - "properties": { - "integerFacetingOptions": { - "$ref": "IntegerFacetingOptions", - "description": "If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets returned would be minimum of this and num_facet_buckets." - }, - "numFacetBuckets": { - "description": "Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100.", - "format": "int32", - "type": "integer" - }, - "objectType": { - "description": "If object_type is set, only those objects of that type will be used to compute facets. If empty, then all objects will be used to compute facets.", - "type": "string" - }, - "operatorName": { - "description": "The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions", - "type": "string" - }, - "sourceName": { - "description": "Source name to facet on. Format: datasources/{source_id} If empty, all data sources will be used.", - "type": "string" - } - }, - "type": "object" - }, - "FacetResult": { - "description": "Source specific facet response", - "id": "FacetResult", - "properties": { - "buckets": { - "description": "FacetBuckets for values in response containing at least a single result with the corresponding filter.", - "items": { - "$ref": "FacetBucket" - }, - "type": "array" - }, - "objectType": { - "description": "Object type for which facet results are returned. Can be empty.", - "type": "string" - }, - "operatorName": { - "description": "The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions", - "type": "string" - }, - "sourceName": { - "description": "Source name for which facet results are returned. Will not be empty.", - "type": "string" - } - }, - "type": "object" - }, - "FieldViolation": { - "id": "FieldViolation", - "properties": { - "description": { - "description": "The description of the error.", - "type": "string" - }, - "field": { - "description": "Path of field with violation.", - "type": "string" - } - }, - "type": "object" - }, - "Filter": { - "description": "A generic way of expressing filters in a query, which supports two approaches: **1. Setting a ValueFilter.** The name must match an operator_name defined in the schema for your data source. **2. Setting a CompositeFilter.** The filters are evaluated using the logical operator. The top-level operators can only be either an AND or a NOT. AND can appear only at the top-most level. OR can appear only under a top-level AND.", - "id": "Filter", - "properties": { - "compositeFilter": { - "$ref": "CompositeFilter" - }, - "valueFilter": { - "$ref": "ValueFilter" - } - }, - "type": "object" - }, - "FilterCreated": { - "description": "A filter was created.", - "id": "FilterCreated", - "properties": {}, - "type": "object" - }, - "FilterDeleted": { - "description": "A filter was deleted.", - "id": "FilterDeleted", - "properties": {}, - "type": "object" - }, - "FilterOptions": { - "description": "Filter options to be applied on query.", - "id": "FilterOptions", - "properties": { - "filter": { - "$ref": "Filter", - "description": "Generic filter to restrict the search, such as `lang:en`, `site:xyz`." - }, - "objectType": { - "description": "If object_type is set, only objects of that type are returned. This should correspond to the name of the object that was registered within the definition of schema. The maximum length is 256 characters.", - "type": "string" - } - }, - "type": "object" - }, - "FilterUpdate": { - "description": "HistoryRecord for changes associated with a filter, namely: FILTER_CREATED FILTER_DELETED", - "id": "FilterUpdate", - "properties": { - "filterCreated": { - "$ref": "FilterCreated" - }, - "filterDeleted": { - "$ref": "FilterDeleted" - }, - "filterId": { - "type": "string" - } - }, - "type": "object" - }, - "FixedFooter": { - "description": "A persistent (sticky) footer that is added to the bottom of the card.", - "id": "FixedFooter", - "properties": { - "buttons": { - "items": { - "$ref": "Button" - }, - "type": "array" - }, - "primaryButton": { - "$ref": "TextButton" - }, - "secondaryButton": { - "$ref": "TextButton" - } - }, - "type": "object" - }, - "Folder": { - "id": "Folder", - "properties": { - "id": { - "description": "Folder mapping id.", - "format": "uint64", - "type": "string" - }, - "message": { - "description": "One for each copy of the message in the IMAP folder.", - "items": { - "$ref": "ImapsyncFolderAttributeFolderMessage" - }, - "type": "array" - } - }, - "type": "object" - }, - "FolderAttribute": { - "description": "This is the content of //imapsync/folder attribute.", - "id": "FolderAttribute", - "properties": { - "folder": { - "description": "List of all IMAP folders where the message presents.", - "items": { - "$ref": "Folder" - }, - "type": "array" - } - }, - "type": "object" - }, - "FormAction": { - "id": "FormAction", - "properties": { - "actionMethodName": { - "description": "Apps script function that should be invoked in the developer's apps script when the containing element is clicked/activated.", - "type": "string" - }, - "loadIndicator": { - "enum": [ - "SPINNER", - "NONE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "parameters": { - "items": { - "$ref": "ActionParameter" - }, - "type": "array" - }, - "persistValues": { - "description": "Indicates whether form values persist after the action. When false, the Apps Script is responsible for persisting values, by setting any form field values using the formInputs in the event. Disabling this behavior can be used if the add-on needs the ability to clear form fields, for example, as with persistent values, there is no means for clearing existing values. When disabling persistent values, it is strongly recommended that the add-on use LoadIndicator.SPINNER for all events, as this locks the UI to ensure no changes are made by the user while the action is being processed. When using LoadIndicator.NONE for any of the actions, persistent values are recommended, as it ensures that any changes made by the user after form / on change actions are sent to the server are not overwritten by the response. Persistent values disabled by default. While we recommend persistent values be used in the typical use case, we do not enable by default, as doing so would change the current behavior of existing add-ons in prod.", - "type": "boolean" - } - }, - "type": "object" - }, - "FormatMetadata": { - "description": "Annotation metadata for markup formatting", - "id": "FormatMetadata", - "properties": { - "fontColor": { - "description": "Font color is set if and only if format_type is FONT_COLOR. The components are stored as (alpha \u003c\u003c 24) | (red \u003c\u003c 16) | (green \u003c\u003c 8) | blue. Clients should always set the alpha component to 0xFF. NEXT TAG: 3", - "format": "uint32", - "type": "integer" - }, - "formatType": { - "description": "LINT.ThenChange(//depot/google3/apps/dynamite/v1/web/datakeys/annotated_span.proto)", - "enum": [ - "TYPE_UNSPECIFIED", - "BOLD", - "ITALIC", - "STRIKE", - "SOURCE_CODE", - "MONOSPACE", - "HIDDEN", - "MONOSPACE_BLOCK", - "UNDERLINE", - "FONT_COLOR", - "BULLETED_LIST", - "BULLETED_LIST_ITEM", - "CLIENT_HIDDEN" - ], - "enumDescriptions": [ - "Default value for the enum.", - "", - "", - "", - "", - "Inline monospace.", - "", - "Multi-line monospace block.", - "", - "", - "Encloses BULLETED_LIST_ITEM annotations.", - "Must cover the whole line including the newline", - "character at the end. Not used anymore." - ], - "type": "string" - } - }, - "type": "object" - }, - "Formatting": { - "description": "Formatting information for a segment.", - "id": "Formatting", - "properties": { - "bold": { - "type": "boolean" - }, - "highlight": { - "description": "This indicates that the segment should be rendered as highlighted or visually emphasized.", - "type": "boolean" - }, - "italics": { - "type": "boolean" - }, - "strikethrough": { - "type": "boolean" - }, - "style": { - "description": "If set, this indicates that the segment should be rendered with the specified style. The absence of an explicit style represents \"no style\", i.e. the segment can be rendered with the default style chosen by the application.", - "enum": [ - "UNKNOWN_STYLE", - "HEADING_1", - "HEADING_2", - "HEADING_3", - "HEADING_4" - ], - "enumDescriptions": [ - "This represents a style that is unknown (e.g. a new style was introduced but not supported by older mobile app versions) and should generally not be used as a value in a proto. If the segment does not need to be rendered with a special style, the 'style' field should simply be left unset. A reasonable fallback for an unknown style is to render the segment in the default style.", - "The most important heading to the least important heading.", - "", - "", - "" - ], - "type": "string" - }, - "underline": { - "type": "boolean" - } - }, - "type": "object" - }, - "FreshnessOptions": { - "description": "Indicates which freshness property to use when adjusting search ranking for an item. Fresher, more recent dates indicate higher quality. Use the freshness option property that best works with your data. For fileshare documents, last modified time is most relevant. For calendar event data, the time when the event occurs is a more relevant freshness indicator. In this way, calendar events that occur closer to the time of the search query are considered higher quality and ranked accordingly.", - "id": "FreshnessOptions", - "properties": { - "freshnessDuration": { - "description": "The duration after which an object should be considered stale. The default value is 180 days (in seconds).", - "format": "google-duration", - "type": "string" - }, - "freshnessProperty": { - "description": "This property indicates the freshness level of the object in the index. If set, this property must be a top-level property within the property definitions and it must be a timestamp type or date type. Otherwise, the Indexing API uses updateTime as the freshness indicator. The maximum length is 256 characters. When a property is used to calculate freshness, the value defaults to 2 years from the current time.", - "type": "string" - } - }, - "type": "object" - }, - "FuseboxItem": { - "description": "The Item message is the read interface for user data (traditionally referred to as a \"message\", such as a mail message or a chat message, but generalized to encompass other types such as tasks) and stored in Tingle. Each Item is associated with a single Thread. An Item contains three classes of data. (1): Item \"fields\" are common to items of all message types (e.g. mail, chat, task, etc.) and are identified by the ItemFieldSpec.FetchType enum when fetching Items. (2): Item \"attributes\" represent data associated with an Item that is stored on behalf of the client but to which the fusebox and storage layers are otherwise agnostic. (3): Item \"parts\" are application-defined protocol buffers that affect how the Item is indexed. Item parts are referenced as extensions to the ItemParts message. By default the application specifies the index terms associated with an Item part. For performance sensitive applications, the storage layer can be modified to understand and index data types natively.", - "id": "FuseboxItem", - "properties": { - "attributes": { - "$ref": "Attributes" - }, - "creationTimeMicroseconds": { - "description": "The creation time of the Item in micro seconds.", - "format": "uint64", - "type": "string" - }, - "history": { - "$ref": "History" - }, - "itemKey": { - "$ref": "MultiKey", - "description": "The key is used to refer to an item. Note that every field of the MultiKey is unique to the Item, and thus the Item can be looked up by any of the fields." - }, - "labels": { - "$ref": "Labels" - }, - "lastModificationTimeUs": { - "description": "The modification time of the Item in micro seconds. Modifications to the message include label addition, deletion, etc.", - "format": "uint64", - "type": "string" - }, - "lockerReferences": { - "$ref": "References", - "description": "go/lockpicker Locker counterpart of references." - }, - "matchInfo": { - "$ref": "MatchInfo" - }, - "parts": { - "$ref": "ItemParts", - "description": "Type-specific data are represented as extensions to the ItemParts message." - }, - "readTs": { - "description": "The read timestamp at which this item was read. This is a temporary field used to check if two items streamed during dual reading were read at the same timestamp. This will be populated by Fusebox RPCs. \"DO NOT USE UNLESS YOU TALK TO FUSEBOX TEAM (gmail-fusebox@)\".", - "format": "int64", - "type": "string" - }, - "references": { - "$ref": "References", - "description": "References to attachments, video attachments in Youtube and Hangout messages." - }, - "snippet": { - "description": "The snippet is a brief bit of text describing this item.", - "type": "string" - }, - "threadKey": { - "$ref": "MultiKey", - "description": "The key of the Thread with which this Item is associated." - }, - "threadLocator": { - "description": "A base64 encoded and encrypted string generated from the Gaia Id and the thread id. Used to generate the permalink for this thread, exposed from Gmail API.", - "type": "string" - }, - "triggers": { - "$ref": "Triggers" - }, - "version": { - "description": "The latest history operation id that resulted in a mutation of the item.", - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "FuseboxItemThreadMatchInfo": { - "description": "In the context of a search, the MatchInfo contains information about which Items matched the query.", - "id": "FuseboxItemThreadMatchInfo", - "properties": { - "clusterId": { - "description": "If SearchQuery.Options.Clustering is present, the query will be treated as a cluster query, and this field may be populated with the cluster ID of the cluster to which this thread belongs, if any. The cluster ID will be a label on the message.", - "type": "string" - }, - "lastMatchingItemId": { - "description": "The server id of the last item that matched the query. This is always set, regardless of the compute_matching_items_per_thread option. This is the value by which search results are sorted, in descending (i.e. newest first) order.", - "format": "uint64", - "type": "string" - }, - "lastMatchingItemKey": { - "$ref": "MultiKey", - "description": "The MultiKey of the last item that matched the query. This is always set, regardless of the compute_matching_items_per_thread option. This is the value by which search results are sorted, in descending (i.e. newest first) order." - }, - "matchingItemKey": { - "description": "If SearchQuery.Options.compute_matching_items_per_thread, this field will contain the keys of all items that matched the query, in ascending order. Note that this option requires extra computation.", - "items": { - "$ref": "MultiKey" - }, - "type": "array" - }, - "rank": { - "$ref": "Rank", - "description": "The rank of this ItemThread in the result set of the query. This rank may be used to sort ItemThreads in proper order. Ranks are specific to a query, and stable for a given query at a specific time." - } - }, - "type": "object" - }, - "FuseboxPrefUpdatePreState": { - "description": "If the Value field is not set this means the pref did not exist.", - "id": "FuseboxPrefUpdatePreState", - "properties": { - "value": { - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "GSuitePrincipal": { - "id": "GSuitePrincipal", - "properties": { - "gsuiteDomain": { - "description": "This principal represents all users of the Google Workspace domain of the customer.", - "type": "boolean" - }, - "gsuiteGroupEmail": { - "description": "This principal references a Google Workspace group name.", - "type": "string" - }, - "gsuiteUserEmail": { - "description": "This principal references a Google Workspace user account.", - "type": "string" - } - }, - "type": "object" - }, - "GaiaGroupProto": { - "id": "GaiaGroupProto", - "properties": { - "groupId": { - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GaiaUserProto": { - "description": "A Gaia account, which may represent a user, device, service account, etc. For prod (@prod.google.com) accounts, use MdbUserProto instead.", - "id": "GaiaUserProto", - "properties": { - "userId": { - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GatewayAccess": { - "description": "Details on the third-party interoperability settings for the meeting space.", - "id": "GatewayAccess", - "properties": { - "enabled": { - "description": "Whether third-party gateway accesses are enabled for this meeting space. If enabled, the actual access code can be retrieved by calling the GetGatewayAccess RPC method.", - "type": "boolean" - } - }, - "type": "object" - }, - "GatewaySipAccess": { - "description": "Details how to join the conference via a SIP gateway.", - "id": "GatewaySipAccess", - "properties": { - "sipAccessCode": { - "description": "Permanent numeric code for manual entry on specially configured devices, currently the same as the PSTN \"Universal pin\".", - "type": "string" - }, - "uri": { - "description": "The SIP URI the conference can be reached through. The string is on one of the formats: \"sip:@\" \"sips:@\" where currently is the 13-digit universal pin (with the future option to support using a Meet meeting code as well), and is a valid address to be resolved using a DNS SRV lookup, or a dotted quad.", - "type": "string" - } - }, - "type": "object" - }, - "GetCustomerIndexStatsResponse": { - "id": "GetCustomerIndexStatsResponse", - "properties": { - "averageIndexedItemCount": { - "description": "Average item count for the given date range for which billing is done.", - "format": "int64", - "type": "string" - }, - "stats": { - "description": "Summary of indexed item counts, one for each day in the requested range.", - "items": { - "$ref": "CustomerIndexStats" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetCustomerQueryStatsResponse": { - "id": "GetCustomerQueryStatsResponse", - "properties": { - "stats": { - "items": { - "$ref": "CustomerQueryStats" - }, - "type": "array" - }, - "totalQueryCount": { - "description": "Total successful query count (status code 200) for the given date range.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GetCustomerSearchApplicationStatsResponse": { - "description": "Response format for search application stats for a customer.", - "id": "GetCustomerSearchApplicationStatsResponse", - "properties": { - "averageSearchApplicationCount": { - "description": "Average search application count for the given date range.", - "format": "int64", - "type": "string" - }, - "stats": { - "description": "Search application stats by date.", - "items": { - "$ref": "CustomerSearchApplicationStats" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetCustomerSessionStatsResponse": { - "id": "GetCustomerSessionStatsResponse", - "properties": { - "stats": { - "items": { - "$ref": "CustomerSessionStats" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetCustomerUserStatsResponse": { - "id": "GetCustomerUserStatsResponse", - "properties": { - "stats": { - "items": { - "$ref": "CustomerUserStats" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetDataSourceIndexStatsResponse": { - "id": "GetDataSourceIndexStatsResponse", - "properties": { - "averageIndexedItemCount": { - "description": "Average item count for the given date range for which billing is done.", - "format": "int64", - "type": "string" - }, - "stats": { - "description": "Summary of indexed item counts, one for each day in the requested range.", - "items": { - "$ref": "DataSourceIndexStats" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetSearchApplicationQueryStatsResponse": { - "description": "Response format for getting query stats for a search application between given dates.", - "id": "GetSearchApplicationQueryStatsResponse", - "properties": { - "stats": { - "description": "Query stats per date for a search application.", - "items": { - "$ref": "SearchApplicationQueryStats" - }, - "type": "array" - }, - "totalQueryCount": { - "description": "Total successful query count (status code 200) for the given date range.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "GetSearchApplicationSessionStatsResponse": { - "id": "GetSearchApplicationSessionStatsResponse", - "properties": { - "stats": { - "items": { - "$ref": "SearchApplicationSessionStats" - }, - "type": "array" - } - }, - "type": "object" - }, - "GetSearchApplicationUserStatsResponse": { - "id": "GetSearchApplicationUserStatsResponse", - "properties": { - "stats": { - "items": { - "$ref": "SearchApplicationUserStats" - }, - "type": "array" - } - }, - "type": "object" - }, - "GmailClientActionMarkup": { - "id": "GmailClientActionMarkup", - "properties": { - "addonComposeUiActionMarkup": { - "$ref": "AddonComposeUiActionMarkup" - }, - "openCreatedDraftActionMarkup": { - "$ref": "OpenCreatedDraftActionMarkup" - }, - "taskAction": { - "$ref": "TaskActionMarkup" - }, - "updateDraftActionMarkup": { - "$ref": "UpdateDraftActionMarkup" - } - }, - "type": "object" - }, - "GoogleChatV1ContextualAddOnMarkup": { - "description": "The markup for developers to specify the contents of a contextual AddOn.", - "id": "GoogleChatV1ContextualAddOnMarkup", - "properties": { - "cards": { - "description": "A list of cards. A card must contain a header and at least 1 section.", - "items": { - "$ref": "GoogleChatV1ContextualAddOnMarkupCard" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleChatV1ContextualAddOnMarkupCard": { - "description": "A card is a UI element that can contain UI widgets such as text and images.", - "id": "GoogleChatV1ContextualAddOnMarkupCard", - "properties": { - "cardActions": { - "description": "The actions of this card.", - "items": { - "$ref": "GoogleChatV1ContextualAddOnMarkupCardCardAction" - }, - "type": "array" - }, - "header": { - "$ref": "GoogleChatV1ContextualAddOnMarkupCardCardHeader", - "description": "The header of the card. A header usually contains a title and an image." - }, - "name": { - "description": "Name of the card.", - "type": "string" - }, - "sections": { - "description": "Sections are separated by a line divider.", - "items": { - "$ref": "GoogleChatV1ContextualAddOnMarkupCardSection" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleChatV1ContextualAddOnMarkupCardCardAction": { - "description": "A card action is the action associated with the card. For an invoice card, a typical action would be: delete invoice, email invoice or open the invoice in browser. Not supported by Google Chat apps.", - "id": "GoogleChatV1ContextualAddOnMarkupCardCardAction", - "properties": { - "actionLabel": { - "description": "The label used to be displayed in the action menu item.", - "type": "string" - }, - "onClick": { - "$ref": "GoogleChatV1WidgetMarkupOnClick", - "description": "The onclick action for this action item." - } - }, - "type": "object" - }, - "GoogleChatV1ContextualAddOnMarkupCardCardHeader": { - "id": "GoogleChatV1ContextualAddOnMarkupCardCardHeader", - "properties": { - "imageStyle": { - "description": "The image's type (for example, square border or circular border).", - "enum": [ - "IMAGE_STYLE_UNSPECIFIED", - "IMAGE", - "AVATAR" - ], - "enumDescriptions": [ - "", - "Square border.", - "Circular border." - ], - "type": "string" - }, - "imageUrl": { - "description": "The URL of the image in the card header.", - "type": "string" - }, - "subtitle": { - "description": "The subtitle of the card header.", - "type": "string" - }, - "title": { - "description": "The title must be specified. The header has a fixed height: if both a title and subtitle is specified, each takes up one line. If only the title is specified, it takes up both lines.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleChatV1ContextualAddOnMarkupCardSection": { - "description": "A section contains a collection of widgets that are rendered (vertically) in the order that they are specified. Across all platforms, cards have a narrow fixed width, so there's currently no need for layout properties (for example, float).", - "id": "GoogleChatV1ContextualAddOnMarkupCardSection", - "properties": { - "header": { - "description": "The header of the section. Formatted text is supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).", - "type": "string" - }, - "widgets": { - "description": "A section must contain at least one widget.", - "items": { - "$ref": "GoogleChatV1WidgetMarkup" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleChatV1WidgetMarkup": { - "description": "A widget is a UI element that presents text and images.", - "id": "GoogleChatV1WidgetMarkup", - "properties": { - "buttons": { - "description": "A list of buttons. Buttons is also `oneof data` and only one of these fields should be set.", - "items": { - "$ref": "GoogleChatV1WidgetMarkupButton" - }, - "type": "array" - }, - "image": { - "$ref": "GoogleChatV1WidgetMarkupImage", - "description": "Display an image in this widget." - }, - "keyValue": { - "$ref": "GoogleChatV1WidgetMarkupKeyValue", - "description": "Display a key value item in this widget." - }, - "textParagraph": { - "$ref": "GoogleChatV1WidgetMarkupTextParagraph", - "description": "Display a text paragraph in this widget." - } - }, - "type": "object" - }, - "GoogleChatV1WidgetMarkupButton": { - "description": "A button. Can be a text button or an image button.", - "id": "GoogleChatV1WidgetMarkupButton", - "properties": { - "imageButton": { - "$ref": "GoogleChatV1WidgetMarkupImageButton", - "description": "A button with image and `onclick` action." - }, - "textButton": { - "$ref": "GoogleChatV1WidgetMarkupTextButton", - "description": "A button with text and `onclick` action." - } - }, - "type": "object" - }, - "GoogleChatV1WidgetMarkupFormAction": { - "description": "A form action describes the behavior when the form is submitted. For example, you can invoke Apps Script to handle the form.", - "id": "GoogleChatV1WidgetMarkupFormAction", - "properties": { - "actionMethodName": { - "description": "The method name is used to identify which part of the form triggered the form submission. This information is echoed back to the Chat app as part of the card click event. You can use the same method name for several elements that trigger a common behavior.", - "type": "string" - }, - "parameters": { - "description": "List of action parameters.", - "items": { - "$ref": "GoogleChatV1WidgetMarkupFormActionActionParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleChatV1WidgetMarkupFormActionActionParameter": { - "description": "List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze one day, snooze next week. You might use `action method = snooze()`, passing the snooze type and snooze time in the list of string parameters.", - "id": "GoogleChatV1WidgetMarkupFormActionActionParameter", - "properties": { - "key": { - "description": "The name of the parameter for the action script.", - "type": "string" - }, - "value": { - "description": "The value of the parameter.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleChatV1WidgetMarkupImage": { - "description": "An image that's specified by a URL and can have an `onclick` action.", - "id": "GoogleChatV1WidgetMarkupImage", - "properties": { - "aspectRatio": { - "description": "The aspect ratio of this image (width and height). This field lets you reserve the right height for the image while waiting for it to load. It's not meant to override the built-in aspect ratio of the image. If unset, the server fills it by prefetching the image.", - "format": "double", - "type": "number" - }, - "imageUrl": { - "description": "The URL of the image.", - "type": "string" - }, - "onClick": { - "$ref": "GoogleChatV1WidgetMarkupOnClick", - "description": "The `onclick` action." - } - }, - "type": "object" - }, - "GoogleChatV1WidgetMarkupImageButton": { - "description": "An image button with an `onclick` action.", - "id": "GoogleChatV1WidgetMarkupImageButton", - "properties": { - "icon": { - "description": "The icon specified by an `enum` that indices to an icon provided by Chat API.", - "enum": [ - "ICON_UNSPECIFIED", - "AIRPLANE", - "BOOKMARK", - "BUS", - "CAR", - "CLOCK", - "CONFIRMATION_NUMBER_ICON", - "DOLLAR", - "DESCRIPTION", - "EMAIL", - "EVENT_PERFORMER", - "EVENT_SEAT", - "FLIGHT_ARRIVAL", - "FLIGHT_DEPARTURE", - "HOTEL", - "HOTEL_ROOM_TYPE", - "INVITE", - "MAP_PIN", - "MEMBERSHIP", - "MULTIPLE_PEOPLE", - "OFFER", - "PERSON", - "PHONE", - "RESTAURANT_ICON", - "SHOPPING_CART", - "STAR", - "STORE", - "TICKET", - "TRAIN", - "VIDEO_CAMERA", - "VIDEO_PLAY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "iconUrl": { - "description": "The icon specified by a URL.", - "type": "string" - }, - "name": { - "description": "The name of this `image_button` that's used for accessibility. Default value is provided if this name isn't specified.", - "type": "string" - }, - "onClick": { - "$ref": "GoogleChatV1WidgetMarkupOnClick", - "description": "The `onclick` action." - } - }, - "type": "object" - }, - "GoogleChatV1WidgetMarkupKeyValue": { - "description": "A UI element contains a key (label) and a value (content). This element can also contain some actions such as `onclick` button.", - "id": "GoogleChatV1WidgetMarkupKeyValue", - "properties": { - "bottomLabel": { - "description": "The text of the bottom label. Formatted text supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).", - "type": "string" - }, - "button": { - "$ref": "GoogleChatV1WidgetMarkupButton", - "description": "A button that can be clicked to trigger an action." - }, - "content": { - "description": "The text of the content. Formatted text supported and always required. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).", - "type": "string" - }, - "contentMultiline": { - "description": "If the content should be multiline.", - "type": "boolean" - }, - "icon": { - "description": "An enum value that's replaced by the Chat API with the corresponding icon image.", - "enum": [ - "ICON_UNSPECIFIED", - "AIRPLANE", - "BOOKMARK", - "BUS", - "CAR", - "CLOCK", - "CONFIRMATION_NUMBER_ICON", - "DOLLAR", - "DESCRIPTION", - "EMAIL", - "EVENT_PERFORMER", - "EVENT_SEAT", - "FLIGHT_ARRIVAL", - "FLIGHT_DEPARTURE", - "HOTEL", - "HOTEL_ROOM_TYPE", - "INVITE", - "MAP_PIN", - "MEMBERSHIP", - "MULTIPLE_PEOPLE", - "OFFER", - "PERSON", - "PHONE", - "RESTAURANT_ICON", - "SHOPPING_CART", - "STAR", - "STORE", - "TICKET", - "TRAIN", - "VIDEO_CAMERA", - "VIDEO_PLAY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "iconUrl": { - "description": "The icon specified by a URL.", - "type": "string" - }, - "onClick": { - "$ref": "GoogleChatV1WidgetMarkupOnClick", - "description": "The `onclick` action. Only the top label, bottom label, and content region are clickable." - }, - "topLabel": { - "description": "The text of the top label. Formatted text supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).", - "type": "string" - } - }, - "type": "object" - }, - "GoogleChatV1WidgetMarkupOnClick": { - "description": "An `onclick` action (for example, open a link).", - "id": "GoogleChatV1WidgetMarkupOnClick", - "properties": { - "action": { - "$ref": "GoogleChatV1WidgetMarkupFormAction", - "description": "A form action is triggered by this `onclick` action if specified." - }, - "openLink": { - "$ref": "GoogleChatV1WidgetMarkupOpenLink", - "description": "This `onclick` action triggers an open link action if specified." - } - }, - "type": "object" - }, - "GoogleChatV1WidgetMarkupOpenLink": { - "description": "A link that opens a new window.", - "id": "GoogleChatV1WidgetMarkupOpenLink", - "properties": { - "url": { - "description": "The URL to open.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleChatV1WidgetMarkupTextButton": { - "description": "A button with text and `onclick` action.", - "id": "GoogleChatV1WidgetMarkupTextButton", - "properties": { - "onClick": { - "$ref": "GoogleChatV1WidgetMarkupOnClick", - "description": "The `onclick` action of the button." - }, - "text": { - "description": "The text of the button.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleChatV1WidgetMarkupTextParagraph": { - "description": "A paragraph of text. Formatted text supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).", - "id": "GoogleChatV1WidgetMarkupTextParagraph", - "properties": { - "text": { - "type": "string" - } - }, - "type": "object" - }, - "GoogleDocsMetadata": { - "description": "The corpus specific metadata for office-type documents, from Google Docs and other sources. This message is passed to the scorer and beyond. Next tag: 9", - "id": "GoogleDocsMetadata", - "properties": { - "aclInfo": { - "$ref": "AclInfo", - "description": "Contains number of users and groups which can access the document." - }, - "documentType": { - "description": "The conceptual type (presentation, document, etc.) of this document.", - "enum": [ - "UNKNOWN", - "DOCUMENT", - "PRESENTATION", - "SPREADSHEET", - "PDF", - "IMAGE", - "BINARY_BLOB", - "FUSION_TABLE", - "FOLDER", - "DRAWING", - "VIDEO", - "FORM", - "DRAFT_SITE", - "DRAFT_SITE_PAGE", - "JAM", - "SHORTCUT", - "SCRIPT" - ], - "enumDescriptions": [ - "If the type is unknown or not represented in this enum.", - "Writely, Word, etc.", - "Presently, PowerPoint, etc.", - "Trix, Excel, etc.", - "File types for Gdrive objects are below.", - "", - "Fall-back for unknown Gdrive types.", - "", - "", - "", - "", - "", - "For Atari page and site drafts", - "", - "Jamboard Jams (go/jam)", - "Drive Shortcuts (go/shortcuts)", - "" - ], - "type": "string" - }, - "fileExtension": { - "description": "The file extension of the document. NOTE: As of October 2018 this field is not backfilled for old documents.", - "type": "string" - }, - "lastContentModifiedTimestamp": { - "description": "The last time this document was modified, in seconds since epoch. Only counts content modifications.", - "format": "int64", - "type": "string" - }, - "numSubscribers": { - "description": "Contains number of subscribers for the document.", - "format": "int32", - "type": "integer" - }, - "numViewers": { - "description": "Size of untruncated viewers list.", - "format": "int32", - "type": "integer" - }, - "resultInfo": { - "$ref": "GoogleDocsResultInfo", - "description": "Additional per-result information, akin to Gmail's SingleThreadResponse. Note: GWS no longer seems to use this field, but there's still one reference to it for Scribe, so we can't remove it." - }, - "typeInfo": { - "$ref": "TypeInfo", - "description": "Contains additional information about the document depending on its type." - } - }, - "type": "object" - }, - "GoogleDocsResultInfo": { - "description": "A message containing information about a specific result. This information is passed to the scorer and beyond; in particular, GWS relies on it to format the result in the UI. Split from GoogleDocsMetadata in case we later want to reuse the message.", - "id": "GoogleDocsResultInfo", - "properties": { - "attachmentSha1": { - "description": "The SHA1 hash of the object in Drive, if any.", - "type": "string" - }, - "cosmoId": { - "$ref": "Id", - "description": "The storage identifier for the object in Cosmo. This field is intended to used by Stratus/Moonshine integration only. It should not be exposed externally (please refer to encrypted_id for that purpose)." - }, - "cosmoNameSpace": { - "description": "For Cosmo objects, the Cosmo namespace the object was in. This allows downstream clients to identify whether a document was created in Writely or Kix, Presently or Punch, or whether it was uploaded from GDrive. See storage_cosmo.Id.NAME_SPACE for a list of all Cosmo name spaces.", - "format": "int32", - "type": "integer" - }, - "encryptedId": { - "description": "The encrypted (user-visible) id of this object. Knowing the id is sufficient to create a canonical URL for this document.", - "type": "string" - }, - "mimeType": { - "description": "The mimetype of the document.", - "type": "string" - }, - "shareScope": { - "$ref": "ShareScope", - "description": "The visibility indicator in the UI will be based upon this." - } - }, - "type": "object" - }, - "Grid": { - "id": "Grid", - "properties": { - "borderStyle": { - "$ref": "BorderStyle", - "description": "The border style to apply to each grid item." - }, - "items": { - "description": "The items to display in the grid.", - "items": { - "$ref": "GridItem" - }, - "type": "array" - }, - "numColumns": { - "description": "The number of columns to display in the grid. Note that a default value will be used if this field is not specified, and that default value will be different depending on where the grid is shown (dialog vs companion).", - "format": "int32", - "type": "integer" - }, - "onClick": { - "$ref": "OnClick", - "description": "This callback will be reused by each individual GridItem, but with the item's identifier and index in the items list added to the callback's parameters." - }, - "title": { - "description": "The text to display in the grid header.", - "type": "string" - } - }, - "type": "object" - }, - "GridItem": { - "id": "GridItem", - "properties": { - "identifier": { - "description": "A user-specified identifier for this grid item. This identifier will be returned in the parent Grid's on_click callback's parameters.", - "type": "string" - }, - "image": { - "$ref": "ImageComponent" - }, - "layout": { - "enum": [ - "NOT_SET", - "TEXT_BELOW", - "TEXT_ABOVE" - ], - "enumDescriptions": [ - "", - "The title and subtitle are shown below the grid item's image.", - "The title and subtitle are shown above the grid item's image." - ], - "type": "string" - }, - "subtitle": { - "type": "string" - }, - "textAlignment": { - "enum": [ - "HORIZONTAL_ALIGNMENT_UNSPECIFIED", - "START", - "CENTER", - "END" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "title": { - "description": "Text properties.", - "type": "string" - } - }, - "type": "object" - }, - "GroupDetailsUpdatedMetadata": { - "id": "GroupDetailsUpdatedMetadata", - "properties": { - "newGroupDetails": { - "$ref": "AppsDynamiteSharedGroupDetails" - }, - "prevGroupDetails": { - "$ref": "AppsDynamiteSharedGroupDetails" - } - }, - "type": "object" - }, - "GroupId": { - "description": "Id representing a group that could be a space, a chat, or a direct message space. Which ID is set here will determine which group", - "id": "GroupId", - "properties": { - "dmId": { - "$ref": "DmId", - "description": "Unique, immutable ID of the Direct Message Space" - }, - "spaceId": { - "$ref": "SpaceId", - "description": "Unique, immutable ID of the Space" - } - }, - "type": "object" - }, - "GroupLinkSharingModificationEvent": { - "id": "GroupLinkSharingModificationEvent", - "properties": { - "newStatus": { - "enum": [ - "UNKNOWN_LINK_SHARING_STATUS", - "LINK_SHARING_ON", - "LINK_SHARING_OFF", - "NOT_AVAILABLE" - ], - "enumDescriptions": [ - "", - "Link sharing is turned on.", - "Link sharing is turned off.", - "Link sharing is not available for the conversation." - ], - "type": "string" - } - }, - "type": "object" - }, - "GroupRetentionSettingsUpdatedMetaData": { - "id": "GroupRetentionSettingsUpdatedMetaData", - "properties": { - "initiator": { - "$ref": "UserId", - "description": "The user who triggered the retention settings update" - }, - "retentionSettings": { - "$ref": "AppsDynamiteSharedRetentionSettings", - "description": "The updated space retention settings" - } - }, - "type": "object" - }, - "GsuiteIntegrationMetadata": { - "description": "Annotation metadata for a GsuiteIntegration artifact.", - "id": "GsuiteIntegrationMetadata", - "properties": { - "activityFeedData": { - "$ref": "AppsDynamiteSharedActivityFeedAnnotationData" - }, - "assistantData": { - "$ref": "AppsDynamiteSharedAssistantAnnotationData" - }, - "calendarEventData": { - "$ref": "AppsDynamiteSharedCalendarEventAnnotationData" - }, - "callData": { - "$ref": "AppsDynamiteSharedCallAnnotationData", - "description": "Data used to render call artifacts." - }, - "clientType": { - "enum": [ - "UNKNOWN_CLIENT_TYPE", - "MEET", - "TASKS", - "CALENDAR_EVENT", - "ASSISTANT", - "ACTIVITY_FEED_SERVICE" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "indexableTexts": { - "description": "A list of all strings that are to be indexed for this 1P chip. Each string in this list would be the contents of a single string field in the 1P chip. Eg. For Tasks[title = “hello world”, description = “good bye”]. If we want to index only the title, this would be set to [“hello world”]. If both title and description, then this would be [“hello world”, “good bye”]. Please make sure that the contents of this field is a subset of strings that are rendered as part of the 1P Chip.", - "items": { - "type": "string" - }, - "type": "array" - }, - "tasksData": { - "$ref": "AppsDynamiteSharedTasksAnnotationData" - } - }, - "type": "object" - }, - "HangoutEvent": { - "id": "HangoutEvent", - "properties": { - "hangoutDurationSecs": { - "format": "int64", - "type": "string" - }, - "mediaType": { - "enum": [ - "AUDIO_VIDEO", - "AUDIO_ONLY", - "PUSH_TO_TALK" - ], - "enumDescriptions": [ - "", - "", - "A user has started a PTT broadcast. When receiving a notification with this HangoutMediaType, other users in the conversation will take different actions depending on their active clients: a) If there is a recent \"reasonable\" active client, the user will join hangout and play audio. b) If there is no \"reasonable\" active client an invite will be displayed on all clients." - ], - "type": "string" - }, - "participantId": { - "items": { - "$ref": "StoredParticipantId" - }, - "type": "array" - }, - "type": { - "enum": [ - "START_HANGOUT", - "JOIN_HANGOUT", - "LEAVE_HANGOUT", - "END_HANGOUT", - "HANGOUT_COMING_SOON", - "ONGOING_HANGOUT" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "HangoutVideoEventMetadata": { - "description": "A message representing the Hangout video start/end events in Babel", - "id": "HangoutVideoEventMetadata", - "properties": { - "hangoutVideoType": { - "enum": [ - "UNKNOWN_HANGOUT_VIDEO_EVENT_TYPE", - "VIDEO_START", - "VIDEO_END" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "HashtagData": { - "description": "Hashtag metadata, for HASHTAG segments. For a hashtag, the \"text\" field should contain the display text, and the search_text field should represent the topic being referenced, without the hash symbol; for example, we might have: text = \"#Google\" hashtag_data.search_text = \"Google\" Another example: text = \"#pikachu\" hashtag_data.search_text = \"Pokemon\" Both strings should be considered part of the searchable text. In go/sbe, both are indexed and searchable.", - "id": "HashtagData", - "properties": { - "searchText": { - "type": "string" - } - }, - "type": "object" - }, - "History": { - "description": "The most recent history records associated with the item.", - "id": "History", - "properties": { - "record": { - "items": { - "$ref": "HistoryRecord" - }, - "type": "array" - } - }, - "type": "object" - }, - "HistoryRecord": { - "id": "HistoryRecord", - "properties": { - "clientContext": { - "$ref": "ClientContext", - "description": "This will almost always be set, but there are corner cases in which the information is not available, and thus applications must handle its absence appropriately." - }, - "filterUpdate": { - "$ref": "FilterUpdate" - }, - "imapUpdate": { - "$ref": "ImapUpdate" - }, - "labelUpdate": { - "$ref": "LabelUpdate" - }, - "prefUpdate": { - "$ref": "PrefUpdate" - }, - "recordId": { - "description": "Each HistoryRecord has a unique id. Ids are monotonically increasing, and not necessarily contiguous.", - "format": "uint64", - "type": "string" - }, - "threadUpdate": { - "$ref": "ThreadUpdate" - }, - "transactionContext": { - "$ref": "TransactionContext", - "description": "This will almost always be set, but there are corner cases in which the information is not available, and thus applications must handle its absence appropriately." - }, - "txnDebugInfo": { - "$ref": "TransactionDebugInfo" - }, - "type": { - "enum": [ - "UNKNOWN", - "INTERNAL", - "MESSAGE_ADDED", - "MESSAGE_DELETED", - "LABEL_ADDED", - "LABEL_REMOVED", - "ATTRIBUTE_SET", - "ATTRIBUTE_REMOVED", - "THREAD_KEY_SET", - "LABEL_CREATED", - "LABEL_DELETED", - "LABEL_RENAMED", - "LABEL_UPDATED", - "PREF_WRITTEN", - "PREF_DELETED", - "FILTER_CREATED", - "FILTER_DELETED", - "IMAP_UIDS_REASSIGN", - "TOPIC_STATE_UPDATED", - "TXN_DEBUG_INFO" - ], - "enumDescriptions": [ - "Represents a type that is deprecated or not known by the executing code. Even if Fusebox sends a HistoryRecord with Type not UNKNOWN, it may send Type values that are not yet defined on the client-side, in which case they will be appear as Type.UNKNOWN on the client.", - "Represents a change internal to the Fusebox. HistoryRecords for Fusebox internal changes contribute to the user's version, which is defined as the latest HistoryRecord's record_id. INTERNAL HistoryRecords exist to allow a client to update its notion of the latest record_id it has processed, but do not necessarily contain any other information.", - "ThreadUpdate:", - "", - "", - "", - "", - "", - "", - "LabelUpdate:", - "", - "", - "", - "PrefUpdate:", - "", - "FilterUpdate:", - "", - "IMAP", - "EAI", - "TXN_DEBUG_INFO" - ], - "type": "string" - } - }, - "type": "object" - }, - "HostAppActionMarkup": { - "description": "Actions handled by individual host apps.", - "id": "HostAppActionMarkup", - "properties": { - "calendarAction": { - "$ref": "CalendarClientActionMarkup", - "description": "Actions handled by Calendar." - }, - "chatAction": { - "$ref": "ChatClientActionMarkup", - "description": "Actions handled by Chat." - }, - "driveAction": { - "$ref": "DriveClientActionMarkup", - "description": "Actions handled by Drive." - }, - "editorAction": { - "$ref": "EditorClientActionMarkup", - "description": "Actions handled by Docs, Sheets, or Slides." - }, - "gmailAction": { - "$ref": "GmailClientActionMarkup", - "description": "Actions handled by Gmail." - }, - "sheetsAction": { - "$ref": "SheetsClientActionMarkup", - "description": "Actions handled by Sheets." - } - }, - "type": "object" - }, - "HostProto": { - "description": "Represents a single host. Optionally, the MDB owner of the host can be specified.", - "id": "HostProto", - "properties": { - "hostName": { - "description": "Lower-case, fully qualified hostname.", - "type": "string" - }, - "hostOwner": { - "description": "If present, then any checks that compare this Principal to LOAS peer info must confirm the peer's machine owner is equal to 'host_owner'. If absent, then any peer machine owner is acceptable.", - "type": "string" - } - }, - "type": "object" - }, - "HtmlOperatorOptions": { - "description": "Used to provide a search operator for html properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", - "id": "HtmlOperatorOptions", - "properties": { - "operatorName": { - "description": "Indicates the operator name required in the query in order to isolate the html property. For example, if operatorName is *subject* and the property's name is *subjectLine*, then queries like *subject:\u003cvalue\u003e* show results only where the value of the property named *subjectLine* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator return all items where *\u003cvalue\u003e* matches the value of any html properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", - "type": "string" - } - }, - "type": "object" - }, - "HtmlPropertyOptions": { - "description": "The options for html properties.", - "id": "HtmlPropertyOptions", - "properties": { - "operatorOptions": { - "$ref": "HtmlOperatorOptions", - "description": "If set, describes how the property should be used as a search operator." - }, - "retrievalImportance": { - "$ref": "RetrievalImportance", - "description": "Indicates the search quality importance of the tokens within the field when used for retrieval. Can only be set to DEFAULT or NONE." - } - }, - "type": "object" - }, - "HtmlValues": { - "description": "List of html values.", - "id": "HtmlValues", - "properties": { - "values": { - "description": "The maximum allowable length for html values is 2048 characters.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "IconImage": { - "id": "IconImage", - "properties": { - "altText": { - "description": "The alternative text of this icon_url which will be used for accessibility.", - "type": "string" - }, - "icon": { - "enum": [ - "NONE", - "AIRPLANE", - "BOOKMARK", - "BUS", - "CAR", - "CLOCK", - "CONFIRMATION_NUMBER_ICON", - "DOLLAR", - "DESCRIPTION", - "EDIT", - "EDIT_NOTE", - "EMAIL", - "EVENT_PERFORMER", - "EVENT_SEAT", - "FLIGHT_ARRIVAL", - "FLIGHT_DEPARTURE", - "HOTEL", - "HOTEL_ROOM_TYPE", - "INVITE", - "MAP_PIN", - "MEMBERSHIP", - "MULTIPLE_PEOPLE", - "OFFER", - "OPEN_IN_NEW", - "PERSON", - "PHONE", - "RESTAURANT_ICON", - "SHOPPING_CART", - "STAR", - "STORE", - "TICKET", - "TRAIN", - "VIDEO_CAMERA", - "VIDEO_PLAY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "Add new items in alphabetical order. Next Available ID: 34" - ], - "type": "string" - }, - "iconUrl": { - "type": "string" - }, - "imageStyle": { - "description": "The image cropping style. Note that icons with a CIRCLE style are rendered larger than the default icon size.", - "enum": [ - "CROP_TYPE_NOT_SET", - "SQUARE", - "CIRCLE", - "RECTANGLE_CUSTOM", - "RECTANGLE_4_3" - ], - "enumDescriptions": [ - "No value specified.", - "Applies a square crop.", - "Applies a circular crop.", - "Applies a rectangular crop with a custom aspect ratio.", - "Applies a rectangular crop with a 4:3 aspect ratio." - ], - "type": "string" - } - }, - "type": "object" - }, - "Id": { - "description": "Identifies a particular object, including both Users and DirEntries. This Id is unique across the entire server instance, such as the production or qa instance.", - "id": "Id", - "properties": { - "creatorUserId": { - "description": "The User account in which the DirEntry was originally created. If name_space==GAIA, then it's the gaia_id of the user this id is referring to. This field should really be called the \"bucket ID\", not the creator ID. In some circumstances, such as copying a Google Docs file, a user can create an item in a different user's bucket, so it should not be relied upon for anything other than bucket location. To look up the requesting user who initially created item, use the `creator_id` DirEntry field instead.", - "format": "uint64", - "type": "string" - }, - "localId": { - "description": "The local identifier for the DirEntry (local to the creator's account). local_id + app_name is guaranteed to be unique within the creator account, but not across all User accounts. The string is case sensitive. Ignore if name_space==GAIA. NB For name_space==COSMO, all local_id's should be defined in google3/java/com/google/storage/cosmo/server/api/SpecialObjectIds.java as they have a special predefined meaning. See cosmo.client.CosmoIdFactory.createObjectId(long,String) for IMPORTANT recommendations when generating IDs.", - "type": "string" - }, - "nameSpace": { - "description": "The name space in which this id is unique (typically the application that created it). Values should be drawn from the above enum, but for experimentation, use values greater than 1000.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Image": { - "id": "Image", - "properties": { - "altText": { - "description": "The alternative text of this image which will be used for accessibility.", - "type": "string" - }, - "aspectRatio": { - "description": "The aspect ratio of this image (width/height).", - "format": "double", - "type": "number" - }, - "imageUrl": { - "description": "Image url specified by developers. Server side, we will wrap with FIFE so client apps can configure size/cropping/etc.", - "type": "string" - }, - "onClick": { - "$ref": "OnClick" - } - }, - "type": "object" - }, - "ImageButton": { - "id": "ImageButton", - "properties": { - "icon": { - "enum": [ - "NONE", - "AIRPLANE", - "BOOKMARK", - "BUS", - "CAR", - "CLOCK", - "CONFIRMATION_NUMBER_ICON", - "DOLLAR", - "DESCRIPTION", - "EDIT", - "EDIT_NOTE", - "EMAIL", - "EVENT_PERFORMER", - "EVENT_SEAT", - "FLIGHT_ARRIVAL", - "FLIGHT_DEPARTURE", - "HOTEL", - "HOTEL_ROOM_TYPE", - "INVITE", - "MAP_PIN", - "MEMBERSHIP", - "MULTIPLE_PEOPLE", - "OFFER", - "OPEN_IN_NEW", - "PERSON", - "PHONE", - "RESTAURANT_ICON", - "SHOPPING_CART", - "STAR", - "STORE", - "TICKET", - "TRAIN", - "VIDEO_CAMERA", - "VIDEO_PLAY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "Add new items in alphabetical order. Next Available ID: 34" - ], - "type": "string" - }, - "iconUrl": { - "type": "string" - }, - "name": { - "type": "string" - }, - "onClick": { - "$ref": "OnClick" - } - }, - "type": "object" - }, - "ImageComponent": { - "description": "NOTE: Through future refactoring work, this image component will eventually be used in the Image widget, and will likely replace the Icon proto as well.", - "id": "ImageComponent", - "properties": { - "altText": { - "type": "string" - }, - "borderStyle": { - "$ref": "BorderStyle" - }, - "cropStyle": { - "$ref": "ImageCropStyle" - }, - "imageUrl": { - "type": "string" - } - }, - "type": "object" - }, - "ImageCropStyle": { - "description": "Represents a crop style that can be applied to an image.", - "id": "ImageCropStyle", - "properties": { - "aspectRatio": { - "description": "The aspect ratio to use if the crop type is RECTANGLE_CUSTOM.", - "format": "double", - "type": "number" - }, - "type": { - "description": "The crop type.", - "enum": [ - "CROP_TYPE_NOT_SET", - "SQUARE", - "CIRCLE", - "RECTANGLE_CUSTOM", - "RECTANGLE_4_3" - ], - "enumDescriptions": [ - "No value specified.", - "Applies a square crop.", - "Applies a circular crop.", - "Applies a rectangular crop with a custom aspect ratio.", - "Applies a rectangular crop with a 4:3 aspect ratio." - ], - "type": "string" - } - }, - "type": "object" - }, - "ImageKeyValue": { - "description": "This is deprecated and please use KeyValue.", - "id": "ImageKeyValue", - "properties": { - "icon": { - "enum": [ - "NONE", - "AIRPLANE", - "BOOKMARK", - "BUS", - "CAR", - "CLOCK", - "CONFIRMATION_NUMBER_ICON", - "DOLLAR", - "DESCRIPTION", - "EDIT", - "EDIT_NOTE", - "EMAIL", - "EVENT_PERFORMER", - "EVENT_SEAT", - "FLIGHT_ARRIVAL", - "FLIGHT_DEPARTURE", - "HOTEL", - "HOTEL_ROOM_TYPE", - "INVITE", - "MAP_PIN", - "MEMBERSHIP", - "MULTIPLE_PEOPLE", - "OFFER", - "OPEN_IN_NEW", - "PERSON", - "PHONE", - "RESTAURANT_ICON", - "SHOPPING_CART", - "STAR", - "STORE", - "TICKET", - "TRAIN", - "VIDEO_CAMERA", - "VIDEO_PLAY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "Add new items in alphabetical order. Next Available ID: 34" - ], - "type": "string" - }, - "iconUrl": { - "type": "string" - }, - "onClick": { - "$ref": "OnClick" - }, - "text": { - "type": "string" - } - }, - "type": "object" - }, - "ImapSessionContext": { - "id": "ImapSessionContext", - "properties": { - "app": { - "enum": [ - "OTHER_APP", - "CHROME", - "FIREFOX", - "MSIE", - "SAFARI", - "OPERA", - "EDGE", - "MSIE_COMPATIBILITY", - "OTHER_BROWSER", - "SAMSUNG_BROWSER", - "UC_BROWSER", - "ANDROID_BROWSER", - "YANDEX_BROWSER", - "SILK_BROWSER", - "COC_COC_BROWSER", - "HEADLESS_CHROME", - "MAX_BROWSER_APP_VALUE", - "GMAIL_APP", - "GMAIL_INBOX_APP", - "ANDROID_EMAIL_APP", - "SAMSUNG_MAIL_APP", - "MOTO_EMAIL_APP", - "BOXER_APP", - "LIMILABS_MAIL_DLL", - "BIS_APP", - "OUTLOOK_MAIL_APP", - "APPLE_NATIVE_APP", - "CHROME_WEBVIEW_APP", - "SAFARI_WEBVIEW_APP", - "CHROME_SYNC_APP", - "GSA_APP", - "GMM_APP", - "CALENDAR_APP", - "PLUS_APP", - "HANGOUTS_APP", - "HANGOUTS_MEET_APP", - "JAMBOARD_APP", - "VOICE_APP", - "PHOTOS_APP", - "DRIVE_SYNC_APP", - "DRIVE_APP", - "DOCS_APP", - "SHEETS_APP", - "SLIDES_APP", - "KEEP_APP", - "WHATS_APP_IN_DRIVE_APP", - "TRANSLATE_APP", - "YOUTUBE_APP", - "YOUTUBE_MUSIC_APP", - "YOUTUBE_GAMING_APP", - "YOUTUBE_KIDS_APP", - "YOUTUBE_CAPTURE_APP", - "YOUTUBE_CREATOR_APP", - "YOUTUBE_GO_APP", - "YOUTUBE_TV_APP", - "YOUTUBE_VR_APP", - "PLAY_APP", - "PLAY_MUSIC_APP", - "PLAY_BOOKS_APP", - "PLAY_MOVIES_APP", - "PLAY_NEWSSTAND_APP", - "PLAY_GAMES_APP", - "POKEMON_GO_APP", - "ALLO_APP", - "DUO_APP", - "CLASSROOM_APP", - "TRIPS_APP", - "GOOGLE_PAY_APP", - "WAZE_APP", - "ASSISTANT_APP", - "GBOARD_APP", - "NEWS_APP", - "HOME_APP", - "EARTH_APP", - "STREET_VIEW_APP", - "TEZ_APP", - "GOOGLE_ANALYTICS_APP", - "ADSENSE_APP", - "ADWORDS_APP", - "EXPRESS_APP", - "WEAR_APP", - "GOOGLE_MY_BUSINESS_APP", - "FAMILY_LINK_APP", - "OPINION_REWARDS_APP", - "WALLET_APP", - "ARTS_AND_CULTURE_APP", - "ANDROID_DEVICE_MANAGER_APP", - "GOOGLE_GO_APP", - "FILES_GO_APP", - "DATALLY_APP", - "WIFI_APP", - "STADIA_APP", - "BATTLESTAR_APP", - "SMART_LOCK_APP", - "LOGDOG_APP", - "DEPRECATED_MAC_OSX_MAIL_APP", - "DEPRECATED_IOS_MAIL_APP" - ], - "enumDescriptions": [ - "Unknown", - "Browsers Google Chrome", - "Mozilla Firefox", - "Microsoft Internet Explorer", - "Apple Safari", - "Opera", - "Tag #7 used to be CHROME_WEBVIEW, which was deprecated and replaced by CHROME_WEBVIEW_APP. When adding a new browser, skip #7 for safety. Microsoft Edge", - "MSIE in Compatibility View. See b/22467241.", - "Browser not otherwise specified", - "Samsung browser on Android", - "UC Browser", - "Android's legacy default AOSP browser (distinct", - "from customized OEM flavours). Yandex Browser", - "Amazon Silk browser", - "Popoular browser in Vietnam", - "Headless version of Chrome", - "Tag for the maximum enum value that represents a browser. Enum values (strictly) between OTHER_APP and this value represent browsers. This should never appear in real data.", - "Email apps Gmail", - "Inbox by Gmail", - "Native Android email app", - "(replaced by Gmail in Lollipop) Samsung mail", - "Motorola email app", - "Boxer", - "Mail.dll by Limilabs", - "BlackBerry Internet Service", - "Microsoft Outlook", - "Apple apps (mail, contacts \u0026 calendar)", - "Chrome Webview", - "Safari Webview", - "Chrome Sync", - "Includes both Now and Search on GSA.", - "Maps", - "Calendar", - "Google+", - "Hangouts Classic", - "Hangouts Meet", - "Jamboard app (go/jamboard)", - "Google Voice", - "Photos", - "Drive Sync", - "Drive", - "Docs", - "Sheets", - "Slides", - "Keep", - "WhatsApp in Drive", - "Translate", - "YouTube", - "YouTube Music", - "YouTube Gaming", - "YouTube Kids", - "YouTube Capture", - "YouTube Creator Studio", - "YouTube Go", - "YouTube TV", - "YouTube VR", - "Google Play", - "Google Play Music", - "Google Play Books", - "Google Play Movies \u0026 TV", - "Google Play Newsstand", - "Google Play Games", - "Pokemon GO (uses Google to sign in)", - "Allo", - "Duo", - "Google Classroom", - "Google Trips", - "Google Pay (formerly Android Pay)", - "Waze", - "Google Assistant standalone app. iOS only,", - "since on Android OPA is integrated in GSA. Gboard - the Google Keyboard", - "Google News \u0026 Weather", - "Google Home app (rebranded from Chromecast app)", - "Google Earth", - "Google Street View", - "Tez payment app for India (go/paisa)", - "Google Analytics", - "AdSense", - "AdWords", - "Google Express (formerly Shopping Express)", - "Android Wear companion app", - "Google My Business", - "Google Family Link", - "Google Opinion Rewards", - "Google Wallet", - "Google Arts \u0026 Culture", - "Android Device Manager", - "Google Go", - "Files Go", - "Datally", - "Google Wifi (incl. OnHub)", - "Stadia (go/stadia)", - "Battlestar (go/battlestar)", - "SmartLock", - "Non-browser, non-mail, non-first-party apps LogDog (https://getlogdog.com/)", - "Do not remove this fields - remvoing them caused issues in the past (see cl/180425348 for reference).", - "" - ], - "type": "string" - }, - "deviceType": { - "description": "User agent information", - "enum": [ - "UNKNOWN", - "PC", - "MOBILE", - "TABLET", - "PORTABLE_MEDIA_PLAYER", - "TV", - "GAME_CONSOLE", - "MEDIA_PLAYER", - "SMART_SPEAKER", - "SMART_DISPLAY", - "CONNECTED_HOME_OTHER", - "WEARABLE", - "GLASS", - "CAR", - "VR_HEADSET" - ], - "enumDescriptions": [ - "Unknown device type.", - "PCs (incl. Macs). Desktops, laptops and various niche form factors that typically run desktop-class OSes (all-in-ones, HTPCs etc.).", - "Primarily used for phones, but also set as default for OSes that are predominantly for phones (Android, iOS etc.) when we can't determine otherwise.", - "Tablets.", - "Mobile devices which are not phones, but are capable of storing and playing digital media such as audio, images, and video files. Example: iPod.", - "Smart TVs which interact with Google products without an external additional device. Includes TV sets which run Android TV directly. Refers to actual TV screens, rather than connected boxes or dongles.", - "Devices whose primary purpose is playing games. Examples: Xbox, Playstation.", - "Add-on devices (i.e. devices which require connecting to another device, such as screens/TVs/speakers) whose primary purpose is media consumption (excludes physical TV screens). Examples: Chromecast, Roku, Apple TV, Nexus Player.", - "Examples: Google Home, Amazon Echo.", - "Examples: Google Home Display (Quartz/Manhattan/Jasper/Dragonglass), Amazon Echo Spot, Amazon Echo Show.", - "Other connected home devices which do not fit in any of the above categories; that is, neither media- or gaming-focused, nor primarily a voice-enabled speaker.", - "Wearable devices such as smartwatches.", - "Google Glass.", - "Examples: Android Auto (Embedded mode, not mirrored from phone).", - "Standalone VR headsets, such as the Lenovo Mirage Solo. Does not include phone-based VR (such as Daydream View or Gear VR) or PC/Console-based such as Oculus Rift, HTC Vive and PSVR; in such cases, the form factor may be PHONE, PC or GAME_CONSOLE as applicable." - ], - "type": "string" - }, - "guidFingerprint": { - "description": "As agreed with Bond team, this holds the fingerprint of any \"aguid\" or \"guid\" provided by the ID command. The fingerprint should be calculated by fingerprint2011. Note that not all clients will provide aguid or guid through ID command.", - "format": "uint64", - "type": "string" - }, - "os": { - "enum": [ - "UNKNOWN_OS", - "ANDROID_OS", - "IOS_OS", - "BLACKBERRY_OS", - "WIN_PHONE_OS", - "FIRE_OS", - "MAX_MOBILE_OS_VALUE", - "WINDOWS_OS", - "LINUX_OS", - "MAC_OS", - "CHROME_OS", - "PLAYSTATION_OS", - "XBOX_OS", - "TIZEN_OS", - "APPLE_TV_OS", - "KAI_OS", - "ANDROID_THINGS_OS", - "CAST_OS", - "STADIA_OS" - ], - "enumDescriptions": [ - "", - "Mobile operating systems (1-99).", - "", - "", - "", - "Amazon Fire OS (for Kindle Fire devices or Fire TV).", - "Tag for the maximum enum value that represents a mobile OS. Enum values (strictly) between UNKNOWN_OS and this value represent mobile OSes. This should never appear in real data.", - "PC operating systems.", - "", - "", - "", - "The OS powering Playstation consoles. Ignores OS changes across console generations.", - "The Windows-derived OS used on Xbox consoles.", - "Tizen OS, popular in Samsung TVs, watches and more.", - "Apple tvOS (powering the Apple TV).", - "KaiOS, a fork from Firefox OS that is between a full smartphone and a feature phone. Notably, it supports the Google Assistant. go/kaiosama", - "Android optimized for IoT devices. go/things", - "Cast family devices, including Chromecast, Google Home, and third-party speaker with integrated Assistant.", - "Stadia on Cast devices. This is not truly an OS, but it's a temporary setting since Stadia uses a different sign-in flow (and is revoked differently) from Cast. See http://go/stadia-in-google-account. Do not use without discussing with id-devices-eng@." - ], - "type": "string" - }, - "osVersion": { - "$ref": "OsVersion" - }, - "possiblyTrimmedModel": { - "$ref": "PossiblyTrimmedModel" - } - }, - "type": "object" - }, - "ImapSyncDelete": { - "description": "Message delete history record extension that exports //imapsync/folder attribute of deleted messages which have ^is label.", - "id": "ImapSyncDelete", - "properties": { - "mappings": { - "$ref": "FolderAttribute", - "description": "Contains the value of //imapsync/folder attribute of deleted message." - }, - "msgId": { - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "ImapUidsReassign": { - "id": "ImapUidsReassign", - "properties": { - "labelId": { - "description": "Label", - "type": "string" - }, - "messageId": { - "description": "The message Ids", - "items": { - "format": "uint64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ImapUpdate": { - "description": "HistoryRecord for changes associated with IMAP, namely: IMAP_UIDS_REASSIGN", - "id": "ImapUpdate", - "properties": { - "imapUidsReassign": { - "$ref": "ImapUidsReassign" - } - }, - "type": "object" - }, - "ImapsyncFolderAttributeFolderMessage": { - "id": "ImapsyncFolderAttributeFolderMessage", - "properties": { - "flags": { - "$ref": "ImapsyncFolderAttributeFolderMessageFlags", - "description": "Flags of the message. Represents unseen and flagged state." - }, - "uid": { - "description": "UID of the message.", - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "ImapsyncFolderAttributeFolderMessageFlags": { - "id": "ImapsyncFolderAttributeFolderMessageFlags", - "properties": { - "flagged": { - "description": "Flagged state of the message.", - "type": "boolean" - }, - "seen": { - "description": "Seen state of the message.", - "type": "boolean" - } - }, - "type": "object" - }, - "IncomingWebhookChangedMetadata": { - "description": "Annotation metadata to display system messages for incoming webhook events. Next Tag: 7", - "id": "IncomingWebhookChangedMetadata", - "properties": { - "incomingWebhookName": { - "description": "The webhook name at the time of the change. Used in Spanner storage, BE API responses and FE API responses.", - "type": "string" - }, - "initiatorId": { - "$ref": "UserId", - "description": "The user id of the user whose action triggered this system message. Used in Spanner storage, BE API responses and FE API responses." - }, - "initiatorProfile": { - "$ref": "User", - "description": "Complete profile when ListTopicsRequest FetchOptions.USER is set. Otherwise, only the id will be filled in. Used in FE API responses." - }, - "obfuscatedIncomingWebhookId": { - "description": "The webhook id of the incoming webhook in question. This field should not be used to load webhook information dynamically and is only present for debugging purposes. Used in Spanner storage, BE API responses and FE API responses.", - "type": "string" - }, - "oldIncomingWebhookName": { - "description": "Only populated for UPDATED_NAME and UPDATED_NAME_AND_AVATAR events, where the webhook name was changed. Used in Spanner storage, BE API responses and FE API responses.", - "type": "string" - }, - "type": { - "description": "Used in Spanner storage, BE API responses and FE API responses.", - "enum": [ - "UNSPECIFIED", - "ADDED", - "UPDATED", - "REMOVED", - "UPDATED_NAME", - "UPDATED_AVATAR", - "UPDATED_NAME_AND_AVATAR" - ], - "enumDescriptions": [ - "", - "", - "TODO (b/154857280): remove UPDATED field.", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "IndexItemOptions": { - "id": "IndexItemOptions", - "properties": { - "allowUnknownGsuitePrincipals": { - "description": "Specifies if the index request should allow Google Workspace principals that do not exist or are deleted.", - "type": "boolean" - } - }, - "type": "object" - }, - "IndexItemRequest": { - "id": "IndexItemRequest", - "properties": { - "connectorName": { - "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", - "type": "string" - }, - "debugOptions": { - "$ref": "DebugOptions", - "description": "Common debug options." - }, - "indexItemOptions": { - "$ref": "IndexItemOptions" - }, - "item": { - "$ref": "Item", - "description": "The name of the item. Format: datasources/{source_id}/items/{item_id}" - }, - "mode": { - "description": "Required. The RequestMode for this request.", - "enum": [ - "UNSPECIFIED", - "SYNCHRONOUS", - "ASYNCHRONOUS" - ], - "enumDescriptions": [ - "The priority is not specified in the update request. Leaving priority unspecified results in an update failure.", - "For real-time updates.", - "For changes that are executed after the response is sent back to the caller." - ], - "type": "string" - } - }, - "type": "object" - }, - "InitializeCustomerRequest": { - "description": "Request message for `InitializeCustomer` method.", - "id": "InitializeCustomerRequest", - "properties": {}, - "type": "object" - }, - "InsertContent": { - "id": "InsertContent", - "properties": { - "content": { - "description": "The content to be inserted.", - "type": "string" - }, - "contentType": { - "description": "The type of inserted content.", - "enum": [ - "UNSPECIFIED_CONTENT_TYPE", - "TEXT", - "MUTABLE_HTML", - "IMMUTABLE_HTML" - ], - "enumDescriptions": [ - "Default value when nothing is set for ContentType.", - "Specifies that the content is in plain text.", - "Specifies that the content is in HTML and is mutable (can be edited).", - "Specifies that the content is in HTML and is immutable (cannot be edited)." - ], - "type": "string" - }, - "mimeType": { - "enum": [ - "UNSPECIFIED_EMAIL_MIME_TYPE", - "PLAIN_TEXT", - "HTML" - ], - "enumDescriptions": [ - "Default value when nothing is set for EmailMimeType.", - "Specifies that the inserted content is in plain text.", - "Specifies that the inserted content is in HTML." - ], - "type": "string" - } - }, - "type": "object" - }, - "IntegerFacetingOptions": { - "description": "Used to specify integer faceting options.", - "id": "IntegerFacetingOptions", - "properties": { - "integerBuckets": { - "description": "Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {\u003c1, [1,5), [5-10), [10-100), \u003e=100}.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "IntegerOperatorOptions": { - "description": "Used to provide a search operator for integer properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", - "id": "IntegerOperatorOptions", - "properties": { - "greaterThanOperatorName": { - "description": "Indicates the operator name required in the query in order to isolate the integer property using the greater-than operator. For example, if greaterThanOperatorName is *priorityabove* and the property's name is *priorityVal*, then queries like *priorityabove:\u003cvalue\u003e* show results only where the value of the property named *priorityVal* is greater than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", - "type": "string" - }, - "lessThanOperatorName": { - "description": "Indicates the operator name required in the query in order to isolate the integer property using the less-than operator. For example, if lessThanOperatorName is *prioritybelow* and the property's name is *priorityVal*, then queries like *prioritybelow:\u003cvalue\u003e* show results only where the value of the property named *priorityVal* is less than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", - "type": "string" - }, - "operatorName": { - "description": "Indicates the operator name required in the query in order to isolate the integer property. For example, if operatorName is *priority* and the property's name is *priorityVal*, then queries like *priority:\u003cvalue\u003e* show results only where the value of the property named *priorityVal* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", - "type": "string" - } - }, - "type": "object" - }, - "IntegerPropertyOptions": { - "description": "The options for integer properties.", - "id": "IntegerPropertyOptions", - "properties": { - "integerFacetingOptions": { - "$ref": "IntegerFacetingOptions", - "description": "If set, describes integer faceting options for the given integer property. The corresponding integer property should be marked isFacetable." - }, - "maximumValue": { - "description": "The maximum value of the property. The minimum and maximum values for the property are used to rank results according to the ordered ranking. Indexing requests with values greater than the maximum are accepted and ranked with the same weight as items indexed with the maximum value.", - "format": "int64", - "type": "string" - }, - "minimumValue": { - "description": "The minimum value of the property. The minimum and maximum values for the property are used to rank results according to the ordered ranking. Indexing requests with values less than the minimum are accepted and ranked with the same weight as items indexed with the minimum value.", - "format": "int64", - "type": "string" - }, - "operatorOptions": { - "$ref": "IntegerOperatorOptions", - "description": "If set, describes how the integer should be used as a search operator." - }, - "orderedRanking": { - "description": "Used to specify the ordered ranking for the integer. Can only be used if isRepeatable is false.", - "enum": [ - "NO_ORDER", - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "There is no ranking order for the property. Results are not adjusted by this property's value.", - "This property is ranked in ascending order. Lower values indicate lower ranking.", - "This property is ranked in descending order. Lower values indicate higher ranking." - ], - "type": "string" - } - }, - "type": "object" - }, - "IntegerValues": { - "description": "List of integer values.", - "id": "IntegerValues", - "properties": { - "values": { - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "IntegrationConfigMutation": { - "id": "IntegrationConfigMutation", - "properties": { - "addApp": { - "$ref": "AppId", - "description": "Add an app using its identifier." - }, - "addPinnedItem": { - "$ref": "PinnedItemId", - "description": "Add a pinned tab using its identifier." - }, - "removeApp": { - "$ref": "AppId", - "description": "Remove an active app using its identifier." - }, - "removePinnedItem": { - "$ref": "PinnedItemId", - "description": "Remove an active pinned tab using its identifier." - } - }, - "type": "object" - }, - "IntegrationConfigUpdatedMetadata": { - "description": "Annotation metadata to display system message for integration config updated event. This metadata is stored in spanner, and can be dispatched to clients without any field modification or transformation.", - "id": "IntegrationConfigUpdatedMetadata", - "properties": { - "initiatorId": { - "$ref": "UserId", - "description": "The user whose action triggered this system message." - }, - "mutations": { - "description": "A list of updates applied on the integration config.", - "items": { - "$ref": "IntegrationConfigMutation" - }, - "type": "array" - } - }, - "type": "object" - }, - "Interaction": { - "description": "Represents an interaction between a user and an item.", - "id": "Interaction", - "properties": { - "interactionTime": { - "description": "The time when the user acted on the item. If multiple actions of the same type exist for a single user, only the most recent action is recorded.", - "format": "google-datetime", - "type": "string" - }, - "principal": { - "$ref": "Principal", - "description": "The user that acted on the item." - }, - "type": { - "enum": [ - "UNSPECIFIED", - "VIEW", - "EDIT" - ], - "enumDescriptions": [ - "Invalid value.", - "This interaction indicates the user viewed the item.", - "This interaction indicates the user edited the item." - ], - "type": "string" - } - }, - "type": "object" - }, - "InteractionData": { - "description": "Interaction data for an annotation, which may be supplemental to the metadata oneof. For example, this will contain the fully built navigation target for smart chips. NEXT TAG: 2", - "id": "InteractionData", - "properties": { - "url": { - "$ref": "SafeUrlProto", - "description": "A general navigation target associated with the annotation this message is contained in. For smart chips, this will be the destination of the tap/click target and will be returned by the server. For scenarios where the chip originated from a user-provided url, this value will be provided by clients; otherwise it will be built by the corresponding metadata parts." - } - }, - "type": "object" - }, - "InviteAcceptedEvent": { - "id": "InviteAcceptedEvent", - "properties": { - "participantId": { - "items": { - "$ref": "StoredParticipantId" - }, - "type": "array" - } - }, - "type": "object" - }, - "InviteeInfo": { - "description": "Invitee information from a Dynamite invitation. See go/dynamite-invitee-mgmt.", - "id": "InviteeInfo", - "properties": { - "email": { - "description": "Email as typed by the user when invited to Room or DM. This value will be canonicalized and hashed before retained in storage.", - "type": "string" - }, - "userId": { - "$ref": "UserId", - "description": "Unique, immutable ID of the User." - } - }, - "type": "object" - }, - "Item": { - "description": "Represents a single object that is an item in the search index, such as a file, folder, or a database record.", - "id": "Item", - "properties": { - "acl": { - "$ref": "ItemAcl", - "description": "Access control list for this item." - }, - "content": { - "$ref": "ItemContent", - "description": "Item content to be indexed and made text searchable." - }, - "itemType": { - "description": "The type for this item.", - "enum": [ - "UNSPECIFIED", - "CONTENT_ITEM", - "CONTAINER_ITEM", - "VIRTUAL_CONTAINER_ITEM" - ], - "enumDescriptions": [ - "", - "An item that is indexed for the only purpose of serving information. These items cannot be referred in containerName or inheritAclFrom fields.", - "An item that gets indexed and whose purpose is to supply other items with ACLs and/or contain other items.", - "An item that does not get indexed, but otherwise has the same purpose as CONTAINER_ITEM." - ], - "type": "string" - }, - "metadata": { - "$ref": "ItemMetadata", - "description": "The metadata information." - }, - "name": { - "description": "The name of the Item. Format: datasources/{source_id}/items/{item_id} This is a required field. The maximum length is 1536 characters.", - "type": "string" - }, - "payload": { - "description": "Additional state connector can store for this item. The maximum length is 10000 bytes.", - "format": "byte", - "type": "string" - }, - "queue": { - "description": "Queue this item belongs to. The maximum length is 100 characters.", - "type": "string" - }, - "status": { - "$ref": "ItemStatus", - "description": "Status of the item. Output only field." - }, - "structuredData": { - "$ref": "ItemStructuredData", - "description": "The structured data for the item that should conform to a registered object definition in the schema for the data source." - }, - "version": { - "description": "Required. The indexing system stores the version from the datasource as a byte string and compares the Item version in the index to the version of the queued Item using lexical ordering. Cloud Search Indexing won't index or delete any queued item with a version value that is less than or equal to the version of the currently indexed item. The maximum length for this field is 1024 bytes. For information on how item version affects the deletion process, refer to [Handle revisions after manual deletes](https://developers.google.com/cloud-search/docs/guides/operations).", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "ItemAcl": { - "description": "Access control list information for the item. For more information see [Map ACLs](https://developers.google.com/cloud-search/docs/guides/acls).", - "id": "ItemAcl", - "properties": { - "aclInheritanceType": { - "description": "Sets the type of access rules to apply when an item inherits its ACL from a parent. This should always be set in tandem with the inheritAclFrom field. Also, when the inheritAclFrom field is set, this field should be set to a valid AclInheritanceType.", - "enum": [ - "NOT_APPLICABLE", - "CHILD_OVERRIDE", - "PARENT_OVERRIDE", - "BOTH_PERMIT" - ], - "enumDescriptions": [ - "The default value when this item does not inherit an ACL. Use NOT_APPLICABLE when inheritAclFrom is empty. An item without ACL inheritance can still have ACLs supplied by its own readers and deniedReaders fields.", - "During an authorization conflict, the ACL of the child item determines its read access.", - "During an authorization conflict, the ACL of the parent item specified in the inheritAclFrom field determines read access.", - "Access is granted only if this item and the parent item specified in the inheritAclFrom field both permit read access." - ], - "type": "string" - }, - "deniedReaders": { - "description": "List of principals who are explicitly denied access to the item in search results. While principals are denied access by default, use denied readers to handle exceptions and override the list allowed readers. The maximum number of elements is 100.", - "items": { - "$ref": "Principal" - }, - "type": "array" - }, - "inheritAclFrom": { - "description": "The name of the item to inherit the Access Permission List (ACL) from. Note: ACL inheritance *only* provides access permissions to child items and does not define structural relationships, nor does it provide convenient ways to delete large groups of items. Deleting an ACL parent from the index only alters the access permissions of child items that reference the parent in the inheritAclFrom field. The item is still in the index, but may not visible in search results. By contrast, deletion of a container item also deletes all items that reference the container via the containerName field. The maximum length for this field is 1536 characters.", - "type": "string" - }, - "owners": { - "description": "Optional. List of owners for the item. This field has no bearing on document access permissions. It does, however, offer a slight ranking boosts items where the querying user is an owner. The maximum number of elements is 5.", - "items": { - "$ref": "Principal" - }, - "type": "array" - }, - "readers": { - "description": "List of principals who are allowed to see the item in search results. Optional if inheriting permissions from another item or if the item is not intended to be visible, such as virtual containers. The maximum number of elements is 1000.", - "items": { - "$ref": "Principal" - }, - "type": "array" - } - }, - "type": "object" - }, - "ItemContent": { - "description": "Content of an item to be indexed and surfaced by Cloud Search. Only UTF-8 encoded strings are allowed as inlineContent. If the content is uploaded and not binary, it must be UTF-8 encoded.", - "id": "ItemContent", - "properties": { - "contentDataRef": { - "$ref": "UploadItemRef", - "description": "Upload reference ID of a previously uploaded content via write method." - }, - "contentFormat": { - "enum": [ - "UNSPECIFIED", - "HTML", - "TEXT", - "RAW" - ], - "enumDescriptions": [ - "Invalid value.", - "contentFormat is HTML.", - "contentFormat is free text.", - "contentFormat is raw bytes." - ], - "type": "string" - }, - "hash": { - "description": "Hashing info calculated and provided by the API client for content. Can be used with the items.push method to calculate modified state. The maximum length is 2048 characters.", - "type": "string" - }, - "inlineContent": { - "description": "Content that is supplied inlined within the update method. The maximum length is 102400 bytes (100 KiB).", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "ItemCountByStatus": { - "id": "ItemCountByStatus", - "properties": { - "count": { - "description": "Number of items matching the status code.", - "format": "int64", - "type": "string" - }, - "indexedItemsCount": { - "description": "Number of items matching the status code for which billing is done. This excludes virtual container items from the total count. This count would not be applicable for items with ERROR or NEW_ITEM status code.", - "format": "int64", - "type": "string" - }, - "statusCode": { - "description": "Status of the items.", - "enum": [ - "CODE_UNSPECIFIED", - "ERROR", - "MODIFIED", - "NEW_ITEM", - "ACCEPTED" - ], - "enumDescriptions": [ - "Input-only value. Used with Items.list to list all items in the queue, regardless of status.", - "Error encountered by Cloud Search while processing this item. Details of the error are in repositoryError.", - "Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search.", - "Item is known to exist in the repository, but is not yet accepted by Cloud Search. An item can be in this state when Items.push has been called for an item of this name that did not exist previously.", - "API has accepted the up-to-date data of this item." - ], - "type": "string" - } - }, - "type": "object" - }, - "ItemMetadata": { - "description": "Available metadata fields for the item.", - "id": "ItemMetadata", - "properties": { - "containerName": { - "description": "The name of the container for this item. Deletion of the container item leads to automatic deletion of this item. Note: ACLs are not inherited from a container item. To provide ACL inheritance for an item, use the inheritAclFrom field. The maximum length is 1536 characters.", - "type": "string" - }, - "contentLanguage": { - "description": "The BCP-47 language code for the item, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. The maximum length is 32 characters.", - "type": "string" - }, - "contextAttributes": { - "description": "A set of named attributes associated with the item. This can be used for influencing the ranking of the item based on the context in the request. The maximum number of elements is 10.", - "items": { - "$ref": "ContextAttribute" - }, - "type": "array" - }, - "createTime": { - "description": "The time when the item was created in the source repository.", - "format": "google-datetime", - "type": "string" - }, - "hash": { - "description": "Hashing value provided by the API caller. This can be used with the items.push method to calculate modified state. The maximum length is 2048 characters.", - "type": "string" - }, - "interactions": { - "description": "A list of interactions for the item. Interactions are used to improve Search quality, but are not exposed to end users. The maximum number of elements is 1000.", - "items": { - "$ref": "Interaction" - }, - "type": "array" - }, - "keywords": { - "description": "Additional keywords or phrases that should match the item. Used internally for user generated content. The maximum number of elements is 100. The maximum length is 8192 characters.", - "items": { - "type": "string" - }, - "type": "array" - }, - "mimeType": { - "description": "The original mime-type of ItemContent.content in the source repository. The maximum length is 256 characters.", - "type": "string" - }, - "objectType": { - "description": "The type of the item. This should correspond to the name of an object definition in the schema registered for the data source. For example, if the schema for the data source contains an object definition with name 'document', then item indexing requests for objects of that type should set objectType to 'document'. The maximum length is 256 characters.", - "type": "string" - }, - "searchQualityMetadata": { - "$ref": "SearchQualityMetadata", - "description": "Additional search quality metadata of the item" - }, - "sourceRepositoryUrl": { - "description": "Link to the source repository serving the data. Seach results apply this link to the title. Whitespace or special characters may cause Cloud Seach result links to trigger a redirect notice; to avoid this, encode the URL. The maximum length is 2048 characters.", - "type": "string" - }, - "title": { - "description": "The title of the item. If given, this will be the displayed title of the Search result. The maximum length is 2048 characters.", - "type": "string" - }, - "updateTime": { - "description": "The time when the item was last modified in the source repository.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "ItemParts": { - "description": "Container for type-specific extensions of an Item. This protobuf is defined in a separate file to allow types to reference/extend the message without depending on other fusebox protobufs. See items.proto.", - "id": "ItemParts", - "properties": {}, - "type": "object" - }, - "ItemStatus": { - "description": "This contains item's status and any errors.", - "id": "ItemStatus", - "properties": { - "code": { - "description": "Status code.", - "enum": [ - "CODE_UNSPECIFIED", - "ERROR", - "MODIFIED", - "NEW_ITEM", - "ACCEPTED" - ], - "enumDescriptions": [ - "Input-only value. Used with Items.list to list all items in the queue, regardless of status.", - "Error encountered by Cloud Search while processing this item. Details of the error are in repositoryError.", - "Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search.", - "Item is known to exist in the repository, but is not yet accepted by Cloud Search. An item can be in this state when Items.push has been called for an item of this name that did not exist previously.", - "API has accepted the up-to-date data of this item." - ], - "type": "string" - }, - "processingErrors": { - "description": "Error details in case the item is in ERROR state.", - "items": { - "$ref": "ProcessingError" - }, - "type": "array" - }, - "repositoryErrors": { - "description": "Repository error reported by connector.", - "items": { - "$ref": "RepositoryError" - }, - "type": "array" - } - }, - "type": "object" - }, - "ItemStructuredData": { - "description": "Available structured data fields for the item.", - "id": "ItemStructuredData", - "properties": { - "hash": { - "description": "Hashing value provided by the API caller. This can be used with the items.push method to calculate modified state. The maximum length is 2048 characters.", - "type": "string" - }, - "object": { - "$ref": "StructuredDataObject", - "description": "The structured data object that should conform to a registered object definition in the schema for the data source." - } - }, - "type": "object" - }, - "ItemThread": { - "description": "An ItemThread is an ordered list of Items. An ItemThread corresponds to a \"conversation\" in the context of mail. An Item belongs to exactly one ItemThread.", - "id": "ItemThread", - "properties": { - "clusterInfo": { - "$ref": "ClusterInfo" - }, - "item": { - "description": "The Items in the ItemThread. In the context of a search, the list of Items may be a subset of those that logically belong to the ItemThread. The details of which items are included are available in the ItemThreadView returned in the overall rpc response.", - "items": { - "$ref": "FuseboxItem" - }, - "type": "array" - }, - "lastItemId": { - "description": "The server id of the last item returned in the ItemThread. This can be deduced from the [item] list but is provided for convenience. When manually constructing an ItemThreadViewSpec to perform operations on the ItemThread, this value can be used as the [high_item_id_watermark].", - "format": "uint64", - "type": "string" - }, - "matchInfo": { - "$ref": "FuseboxItemThreadMatchInfo" - }, - "snippet": { - "description": "A snippet summarizing the thread. This field is only populated for searches.", - "type": "string" - }, - "threadKey": { - "$ref": "MultiKey", - "description": "The MultiKey that identifies this thread. This value never changes, i.e. remains constant across modifications to the thread, including addition, relabeling, or deletion of contained Items. As such, the thread key may not necessarily correspond to the key of an contained Item. Legacy note: The \"server_id\" of the thread key is equivalent to the notion of the \"original thread id\" in the CSS API." - }, - "threadLocator": { - "description": "A base64 encoded and encrypted string generated from the Gaia Id and the thread id. Used to generate the permalink for this thread, exposed from Gmail API.", - "type": "string" - }, - "topicState": { - "$ref": "TopicState", - "description": "Next available id : 10" - }, - "version": { - "description": "The latest history operation id that resulted in a mutation of any item in the thread.", - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "JobsettedServerSpec": { - "description": "Identifies a jobsetted server as a target for Trigger dispatch.", - "id": "JobsettedServerSpec", - "properties": { - "portName": { - "description": "E.g. \"gateway\", \"stubby\" etc. Leave unset to use the default unnamed port.", - "type": "string" - }, - "serverName": { - "description": "E.g. \"satellite-server\", \"bigtop-sync\", etc.", - "type": "string" - } - }, - "type": "object" - }, - "KeyValue": { - "id": "KeyValue", - "properties": { - "bottomLabel": { - "description": "Formatted text supported.", - "type": "string" - }, - "button": { - "$ref": "Button" - }, - "content": { - "description": "Formatted text supported and always required.", - "type": "string" - }, - "contentMultiline": { - "type": "boolean" - }, - "endIcon": { - "$ref": "IconImage" - }, - "icon": { - "enum": [ - "NONE", - "AIRPLANE", - "BOOKMARK", - "BUS", - "CAR", - "CLOCK", - "CONFIRMATION_NUMBER_ICON", - "DOLLAR", - "DESCRIPTION", - "EDIT", - "EDIT_NOTE", - "EMAIL", - "EVENT_PERFORMER", - "EVENT_SEAT", - "FLIGHT_ARRIVAL", - "FLIGHT_DEPARTURE", - "HOTEL", - "HOTEL_ROOM_TYPE", - "INVITE", - "MAP_PIN", - "MEMBERSHIP", - "MULTIPLE_PEOPLE", - "OFFER", - "OPEN_IN_NEW", - "PERSON", - "PHONE", - "RESTAURANT_ICON", - "SHOPPING_CART", - "STAR", - "STORE", - "TICKET", - "TRAIN", - "VIDEO_CAMERA", - "VIDEO_PLAY" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "Add new items in alphabetical order. Next Available ID: 34" - ], - "type": "string" - }, - "iconAltText": { - "description": "The alternative text of this icon_url which will be used for accessibility.", - "type": "string" - }, - "iconUrl": { - "type": "string" - }, - "imageStyle": { - "enum": [ - "CROP_TYPE_NOT_SET", - "SQUARE", - "CIRCLE", - "RECTANGLE_CUSTOM", - "RECTANGLE_4_3" - ], - "enumDescriptions": [ - "No value specified.", - "Applies a square crop.", - "Applies a circular crop.", - "Applies a rectangular crop with a custom aspect ratio.", - "Applies a rectangular crop with a 4:3 aspect ratio." - ], - "type": "string" - }, - "onClick": { - "$ref": "OnClick", - "description": "Only the top/bottom label + content region is clickable." - }, - "startIcon": { - "$ref": "IconImage", - "description": "The optional icon to display before the text content." - }, - "switchWidget": { - "$ref": "SwitchWidget" - }, - "topLabel": { - "description": "Formatted text supported.", - "type": "string" - } - }, - "type": "object" - }, - "LabelAdded": { - "description": "A label was added to some (subset of the) messages in this thread.", - "id": "LabelAdded", - "properties": { - "labelId": { - "type": "string" - }, - "labelName": { - "type": "string" - }, - "messageKeys": { - "items": { - "$ref": "MultiKey" - }, - "type": "array" - }, - "syncId": { - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "LabelCreated": { - "description": "A label was created.", - "id": "LabelCreated", - "properties": {}, - "type": "object" - }, - "LabelDeleted": { - "description": "A label was deleted.", - "id": "LabelDeleted", - "properties": {}, - "type": "object" - }, - "LabelRemoved": { - "description": "A label was removed from some (subset of the) messages in this thread.", - "id": "LabelRemoved", - "properties": { - "labelId": { - "type": "string" - }, - "labelName": { - "type": "string" - }, - "messageKeys": { - "items": { - "$ref": "MultiKey" - }, - "type": "array" - }, - "syncId": { - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "LabelRenamed": { - "description": "A label was renamed.", - "id": "LabelRenamed", - "properties": { - "oldCanonicalName": { - "type": "string" - } - }, - "type": "object" - }, - "LabelUpdate": { - "description": "HistoryRecord for changes associated with a label, namely: LABEL_CREATED LABEL_DELETED LABEL_RENAMED LABEL_UPDATED", - "id": "LabelUpdate", - "properties": { - "canonicalName": { - "type": "string" - }, - "labelCreated": { - "$ref": "LabelCreated" - }, - "labelDeleted": { - "$ref": "LabelDeleted" - }, - "labelId": { - "type": "string" - }, - "labelRenamed": { - "$ref": "LabelRenamed" - }, - "labelUpdated": { - "$ref": "LabelUpdated" - }, - "syncId": { - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "LabelUpdated": { - "description": "A label pref was updated outside of a rename, create, or delete.", - "id": "LabelUpdated", - "properties": {}, - "type": "object" - }, - "Labels": { - "id": "Labels", - "properties": { - "displayName": { - "description": "The display name of the labels. This is populated (instead of the id) when the request fetch_spec has LABEL_DISPLAY_NAMES.", - "items": { - "type": "string" - }, - "type": "array" - }, - "id": { - "description": "The ids of the labels attached to the Item, e.g. \"^i\", \"^x_1\"", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "LanguageConfig": { - "description": "The language configuration for the session.", - "id": "LanguageConfig", - "properties": { - "spokenLanguages": { - "description": "The spoken language(s) in BCP47 language code.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "LdapGroupProto": { - "id": "LdapGroupProto", - "properties": { - "groupName": { - "type": "string" - } - }, - "type": "object" - }, - "LdapUserProto": { - "id": "LdapUserProto", - "properties": { - "userName": { - "type": "string" - } - }, - "type": "object" - }, - "LegacyUploadMetadata": { - "description": "The original UploadMetadata that this DriveMetadata was converted from.", - "id": "LegacyUploadMetadata", - "properties": { - "legacyUniqueId": { - "description": "A unique ID generated from legacy UploadMetadata. This is used for interopping URLs after uploading blob to shared drive. Links in Classic might break without this. go/drive-file-attachment-interop-from-dynamite.", - "type": "string" - }, - "uploadMetadata": { - "$ref": "UploadMetadata", - "description": "The blob in this UploadMetadata has been uploaded to shared drive. This UploadMetadata is no longer attached to a message. go/shared-drive-data-migration." - } - }, - "type": "object" - }, - "LinkData": { - "description": "Link metadata, for LINK segments. Anchor text should be stored in the \"text\" field of the Segment, which can also serve as a fallback.", - "id": "LinkData", - "properties": { - "attachment": { - "$ref": "SocialCommonAttachmentAttachment", - "description": "An Attachment represents the structured entity to which we are linking. It contains an Embed (apps/tacotown/proto/embeds/embed_client.proto) with fields specific to the appropriate type of linked entity. For example, if we are linking to a photo album, the Embed may include the album ID and gaia ID of the creator. Clients that understand the Embed type within the Attachment may construct and/or decorate their link appropriately e.g. to make use of type-specific functionality or first-party integrations. The link_target and (if appropriate) display_url fields must still be set even when an Attachment is present, so that clients who do not know how to interpret the Attachment can fall back to those fields, and render the Segment as an ordinary web link. N.B. Even when an Attachment is present, the intention of a \"LINK\" Segment is for the Segment to be presented inline with the rest of the text of a post or comment, with a clickable link or other UI suitable for inlining (though the client may modify the UI based on Attachment data, e.g. to add appropriate hovers, icons, etc.). When an entity is intended to be rendered separately from the main body of the post/comment, a separate Attachment proto can be added outside the set of Segments. N.B. Within the Attachment, fields of EmbedClientItem have their own visibility annotations, which should be enforced separately from Segment visibility annotations. See: apps/tacotown/proto/embeds/embed_annotations.proto" - }, - "attachmentRenderHint": { - "description": "The hint to use when rendering the associated attachment. Ignored if there is no associated attachment.", - "enum": [ - "ATTACHMENT_RENDER_HINT_UNKNOWN", - "ATTACHMENT_RENDER_HINT_AFTER", - "ATTACHMENT_RENDER_HINT_INTERLEAVED" - ], - "enumDescriptions": [ - "No rendering hint; should not be used (equivalent to having no hint)", - "Render any associated attachment at the end of the block, after all sibling Segments. Leave the link in place in the text and render it normally as well.", - "Render any associated attachment inline in the text in place of the link text, forcing a line break before and after the attachment so the text and the attachment are \"interleaved\". If this is not possible, render as if AFTER." - ], - "type": "string" - }, - "displayUrl": { - "description": "If we wish to show the user a different (e.g. shortened) version of the URL for display purposes, then that version should be set here. If this field isn't set, link_target will be used for both purposes.", - "type": "string" - }, - "linkTarget": { - "description": "link_target is the URL to navigate to when clicked. This could be the original URL, or a URL signed by the GWS URL signing service.", - "type": "string" - }, - "linkType": { - "description": "LinkType is an optional field that provides additional information regarding link target. For example, link type can be identified as the SELF_LINK when the request was executed from the same link as the link target.", - "enum": [ - "UNKNOWN_LINK_TYPE", - "SELF_LINK" - ], - "enumDescriptions": [ - "No link type specified.", - "This indicates that the link target points to the same object related to this segment. Example: A YouTube link with text=\"0.07\" and link_target: \"https://www.youtube.com/watch?v=leHVmSqd4_w\u0026t=0m07s\" points to the same YouTube video where this segment appears. See http://go/ignore-badwords-filtering-for-selflink for adding link_type design document." - ], - "type": "string" - }, - "title": { - "description": "Title is an optional field that provides a short string that describes the link or its destination. User interfaces often use title as a tooltip or for accessibility purposes. However, they are of course free to present this data in any form. This field is plain text.", - "type": "string" - } - }, - "type": "object" - }, - "ListDataSourceResponse": { - "id": "ListDataSourceResponse", - "properties": { - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - }, - "sources": { - "items": { - "$ref": "DataSource" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListItemNamesForUnmappedIdentityResponse": { - "id": "ListItemNamesForUnmappedIdentityResponse", - "properties": { - "itemNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - } - }, - "type": "object" - }, - "ListItemsResponse": { - "id": "ListItemsResponse", - "properties": { - "items": { - "items": { - "$ref": "Item" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - } - }, - "type": "object" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListQuerySourcesResponse": { - "description": "List sources response.", - "id": "ListQuerySourcesResponse", - "properties": { - "nextPageToken": { - "type": "string" - }, - "sources": { - "items": { - "$ref": "QuerySource" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListSearchApplicationsResponse": { - "id": "ListSearchApplicationsResponse", - "properties": { - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - }, - "searchApplications": { - "items": { - "$ref": "SearchApplication" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListUnmappedIdentitiesResponse": { - "id": "ListUnmappedIdentitiesResponse", - "properties": { - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - }, - "unmappedIdentities": { - "items": { - "$ref": "UnmappedIdentity" - }, - "type": "array" - } - }, - "type": "object" - }, - "MatchInfo": { - "id": "MatchInfo", - "properties": { - "matchingImageReferenceKey": { - "description": "Reference keys for image attachments that matches search query.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "MatchRange": { - "description": "Matched range of a snippet [start, end).", - "id": "MatchRange", - "properties": { - "end": { - "description": "End of the match in the snippet.", - "format": "int32", - "type": "integer" - }, - "start": { - "description": "Starting position of the match in the snippet.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "MdbGroupProto": { - "description": "An entity from the MDB namespace that is to be interpreted as a group. If using this for authorization, you should do an exact match of the peer role against group_name or any of the names in the Chubby expansion of the MDB group named group_name.", - "id": "MdbGroupProto", - "properties": { - "groupName": { - "type": "string" - } - }, - "type": "object" - }, - "MdbUserProto": { - "description": "An entity from the MDB namespace that is to be interpreted as a user. If using this for authorization, you should only do an exact match on the peer role against user_name.", - "id": "MdbUserProto", - "properties": { - "gaiaId": { - "description": "Do not set this field. Contact credentials-eng@ if you believe you absolutely need to use it. This is the @prod.google.com Gaia ID that corresponds to the MDB user, see go/authn-merge for details. This field may always be safely ignored when performing an authorization check.", - "format": "int64", - "type": "string" - }, - "userName": { - "type": "string" - } - }, - "type": "object" - }, - "Media": { - "description": "Media resource.", - "id": "Media", - "properties": { - "resourceName": { - "description": "Name of the media resource.", - "type": "string" - } - }, - "type": "object" - }, - "MeetingSpace": { - "description": " A meeting space is a persistent object that is the context for one or more calls. The meeting space is what makes users find each other when they want to meet and to find shared resources. With two exceptions, all the fields in the meeting space resource are visible publicly to any client, even anonymous users. The exceptions are that * The call_info field is only visible to clients that have a device (as indicated by the meeting token) in the JOINED or HIDDEN state. * The meeting_alias field will only be set for users who are in the same domain as the meeting space. The meeting space resource (outside call_info) should only contain information necessary to join a call in the meeting space, and not any other metadata about the meeting space, such as what organization it belongs to or things related to ongoing calls.", - "id": "MeetingSpace", - "properties": { - "acceptedNumberClass": { - "description": "Which number classes are accepted by this meeting at the moment? When there is no ongoing conference, this field may change independent of the version number of the MeetingSpace. When a conference starts, this field will be locked to the value at that time, and then will be unlocked again at the end of the conference.", - "items": { - "enum": [ - "NUMBER_CLASS_UNSPECIFIED", - "LOW_COST", - "HIGH_COST", - "LEGACY" - ], - "enumDescriptions": [ - "No number class has been specified.", - "The number has a low cost to receive calls on.", - "The number has a high cost to receive calls on.", - "Class for legacy numbers." - ], - "type": "string" - }, - "type": "array" - }, - "broadcastAccess": { - "$ref": "BroadcastAccess", - "description": "Broadcast access information for this meeting space." - }, - "callInfo": { - "$ref": "CallInfo", - "description": "Information relevant to an ongoing conference. This field will be set in responses if the client requesting the meeting space has a device in one of the JOINED, HIDDEN, or MISSING_PREREQUISITES states. The field will also be set without a created device if the client requesting the meeting space is eligible to directly create a device in the JOINED state without knocking, eg a same-domain joiner. Can also only be updated by clients with a device in the JOINED state." - }, - "gatewayAccess": { - "$ref": "GatewayAccess", - "description": "The interop gateway access information for the meeting space. A gateway access can be used when joining conferences from non-Google equipment through an interop gateway." - }, - "gatewaySipAccess": { - "description": "The SIP based access methods that can be used to join the conference.", - "items": { - "$ref": "GatewaySipAccess" - }, - "type": "array" - }, - "meetingAlias": { - "description": "An optional alias for the meeting space. The alias can in some cases be resolved to the meeting space, similar to the meeting code. The limitation is that the user needs to be in the same meeting domain as the meeting space.", - "type": "string" - }, - "meetingCode": { - "description": "A meeting code is a globally unique code which points to a meeting space. Note: Meeting codes may be regenerated, which will cause old meeting codes to become invalid.", - "type": "string" - }, - "meetingSpaceId": { - "description": "A unique server-generated ID for the meeting space. This is the resource name of the meeting space resource and has the form `spaces/`, where is a sequence of characters in the [base64url set](https://tools.ietf.org/html/rfc4648#section-5), without any `=` characters.", - "type": "string" - }, - "meetingUrl": { - "description": "A URL to identify and access the meeting space. Output only.", - "type": "string" - }, - "moreJoinUrl": { - "description": "Output only. A URL that clients (e.g. Calendar) can use to show the web page with all join methods available for this meeting space. This link is also used in iOS universal links and Android intents, used for opening the \"More ways to join\" view in the Meet mobile apps. Example: https://tel.meet/mee-ting-cod?pin=1234567891011 Here, \"pin\" is the universal phone PIN. We include it explicitly to better support the offline case on the mobile. This is set when the meeting space has either a universal PIN or an interop PIN and clients who can show a \"more ways to join\" button should show it whenever this field is set.", - "readOnly": true, - "type": "string" - }, - "phoneAccess": { - "description": "All regional phone access methods for this meeting space. Can be empty.", - "items": { - "$ref": "PhoneAccess" - }, - "type": "array" - }, - "settings": { - "$ref": "Settings", - "description": "Settings of the meeting space." - }, - "universalPhoneAccess": { - "$ref": "UniversalPhoneAccess", - "description": "A universal phone access method for this meeting space. Can be unset." - } - }, - "type": "object" - }, - "Member": { - "id": "Member", - "properties": { - "roster": { - "$ref": "Roster" - }, - "user": { - "$ref": "User" - } - }, - "type": "object" - }, - "MemberId": { - "description": "Eventually this can be updated to a oneOf User, Space (for nested spaces), Bots or Service, as and when these use cases come up.", - "id": "MemberId", - "properties": { - "rosterId": { - "$ref": "RosterId", - "description": "Unique, immutable ID of the Roster." - }, - "userId": { - "$ref": "UserId", - "description": "Unique, immutable ID of the User." - } - }, - "type": "object" - }, - "MembershipChangeEvent": { - "id": "MembershipChangeEvent", - "properties": { - "leaveReason": { - "description": "This should only be set when MembershipChange type is LEAVE.", - "enum": [ - "LEAVE_REASON_UNKNOWN", - "FORCE_HISTORY_POLICY_CHANGE", - "USER_INITIATED" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "participantId": { - "items": { - "$ref": "StoredParticipantId" - }, - "type": "array" - }, - "type": { - "enum": [ - "JOIN", - "LEAVE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "MembershipChangedMetadata": { - "description": "Annotation metadata to display system messages for membership changes. Next Tag: 13", - "id": "MembershipChangedMetadata", - "properties": { - "affectedMemberProfiles": { - "items": { - "$ref": "Member" - }, - "type": "array" - }, - "affectedMembers": { - "description": "List of users and rosters whose membership status changed.", - "items": { - "$ref": "MemberId" - }, - "type": "array" - }, - "affectedMemberships": { - "items": { - "$ref": "AffectedMembership" - }, - "type": "array" - }, - "initiator": { - "$ref": "UserId", - "description": "The user whose action triggered this system message." - }, - "initiatorProfile": { - "$ref": "User", - "description": "Complete member profiles, when ListTopicsRequest FetchOptions.USER is set. Otherwise, only the id will be filled in." - }, - "initiatorType": { - "description": "The type of the user who initiated this membership change.", - "enum": [ - "INITIATOR_TYPE_UNSPECIFIED", - "INITIATOR_TYPE_END_USER", - "INITIATOR_TYPE_ADMIN" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "type": { - "enum": [ - "TYPE_UNSPECIFIED", - "INVITED", - "JOINED", - "ADDED", - "REMOVED", - "LEFT", - "BOT_ADDED", - "BOT_REMOVED", - "KICKED_DUE_TO_OTR_CONFLICT", - "ROLE_UPDATED", - "ROLE_TARGET_AUDIENCE_UPDATED", - "SPACE_LIMIT_EXCEEDED", - "HUMAN_MEMBERSHIP_DISPLAY_DISABLED" - ], - "enumDescriptions": [ - "Default value for the enum. DO NOT USE.", - "Non-member -\u003e Can join. Multiple groups and users.", - "Can join -\u003e Member. One user.", - "Non-member -\u003e Member. Multiple users.", - "Member or can join -\u003e Non-member. One group or user.", - "Before April 2023, a user transitioned from joined", - "Bot added to the room.", - "Bot removed from the room.", - "This signifies the user is kicked because the user's OTR policy is conflicted with the room history settings. Joined -\u003e Non-member. One user.", - "MembershipRole changed. Multiple users.", - "The room is now joinable by an", - "Space limit exceeded", - "HUMAN_MEMBERSHIP_DISPLAY_DISABLED indicates that the space has crossed the member size threshold above which human membership change system messages will be muted. This event can only occur once for a space over its lifetime. When this event is received, clients should display a system message stating that human membership changes will no longer be displayed in the space." - ], - "type": "string" - } - }, - "type": "object" - }, - "Menu": { - "description": "This is deprecated and please use SelectionControl by setting type to DROPDOWN.", - "id": "Menu", - "properties": { - "items": { - "items": { - "$ref": "MenuItem" - }, - "type": "array" - }, - "label": { - "description": "Label used to be displayed ahead of the menu. It is optional.", - "type": "string" - }, - "name": { - "description": "The name of the text field which is will be used in FormInput.", - "type": "string" - }, - "onChange": { - "$ref": "FormAction", - "description": "If specified, form is submitted when selection changed. If not specified, developer will need to specify a separate button." - } - }, - "type": "object" - }, - "MenuItem": { - "id": "MenuItem", - "properties": { - "selected": { - "type": "boolean" - }, - "text": { - "description": "The text to be displayed.", - "type": "string" - }, - "value": { - "description": "The value associated with this item which will be sent back to app scripts. Client should use as a form input value.", - "type": "string" - } - }, - "type": "object" - }, - "Message": { - "description": "Message posted to a Space.", - "id": "Message", - "properties": { - "annotations": { - "description": "Annotations parsed and extracted from the text body.", - "items": { - "$ref": "Annotation" - }, - "type": "array" - }, - "appProfile": { - "$ref": "AppsDynamiteSharedAppProfile", - "description": "Custom display profile info for apps. Leave the field empty for real users." - }, - "attachments": { - "description": "Attachments parsed from incoming webhooks", - "items": { - "$ref": "Attachment" - }, - "type": "array" - }, - "attributes": { - "$ref": "MessageAttributes", - "description": "Lightweight message attributes which values are calculated and set in the servers." - }, - "botResponses": { - "description": "Responses from bots indicating if extra auth/config is needed.", - "items": { - "$ref": "BotResponse" - }, - "type": "array" - }, - "communalLabels": { - "description": "Communal labels associated with a message. These exist on the message itself regardless of which user fetches them. Order of entries is arbitrary and will not list duplicates of the same label_id. See go/chat-labels-design for details.", - "items": { - "$ref": "CommunalLabelTag" - }, - "type": "array" - }, - "contentReportSummary": { - "$ref": "ContentReportSummary", - "readOnly": true - }, - "createTime": { - "description": "Time when the Message was posted in microseconds.", - "format": "int64", - "type": "string" - }, - "creatorId": { - "$ref": "UserId", - "description": "ID of the User who posted the Message. This includes information to identify if this was posted by an App on behalf of a user." - }, - "deletableBy": { - "description": "Indicates who can delete the message. This field is set on the read path (e.g. ListTopics) but doesn’t have any effect on the write path (e.g. CreateMessageRequest).", - "enum": [ - "PERMISSION_UNSPECIFIED", - "PERMISSION_NO_ONE", - "PERMISSION_CREATOR", - "PERMISSION_MEMBER" - ], - "enumDescriptions": [ - "Default case, should never be used. If this data is encountered in the DB any request should throw an exception.", - "No one except for the message creator/origin pair can mutate. This permission checks both gaia id and the request origin. Request origin can be Chat API or Chat UI. Mutation is allowed iff both attributes of the request match the original message creation. Use case: this allows historical 1P apps lock down message edit permission i.e. In Chat UI, humans cannot edit their messages created via these 1P apps. Do not use this for additional use cases.", - "The message creator can mutate regardless of request origin. Use case: for messages created by human via Chat UI or Chat API. These messages can be mutated by the same human user via Chat UI or via any app on Chat API.", - "Every human member of a space or the creator can mutate the entity. This excludes app acting on behalf of human via Chat API. Use case: This is to enable humans to delete messages created by apps." - ], - "type": "string" - }, - "deleteTime": { - "description": "Time when the Message was deleted in microseconds. This field is set to nonzero value only for Messages deleted globally.", - "format": "int64", - "type": "string" - }, - "deleteTimeForRequester": { - "description": "Time when the Message was per-user deleted by the message requester in microseconds. This field is set to nonzero value only for Message per-user deleted by the requester.", - "format": "int64", - "type": "string" - }, - "deletedByVault": { - "description": "Was this message deleted by Vault (Only used for Vault support) This is false if message is live or message was deleted by user.", - "type": "boolean" - }, - "dlpScanSummary": { - "$ref": "DlpScanSummary", - "description": "Data Loss Prevention scan information for this message. Messages are evaluated in the backend on create message/topic and edit message actions. DEPRECATED: Use DATA_LOSS_PREVENTION Annotation." - }, - "editableBy": { - "description": "Indicates who can edit the message. This field is set on the read path (e.g. ListTopics) but doesn’t have any effect on the write path (e.g. CreateMessageRequest).", - "enum": [ - "PERMISSION_UNSPECIFIED", - "PERMISSION_NO_ONE", - "PERMISSION_CREATOR", - "PERMISSION_MEMBER" - ], - "enumDescriptions": [ - "Default case, should never be used. If this data is encountered in the DB any request should throw an exception.", - "No one except for the message creator/origin pair can mutate. This permission checks both gaia id and the request origin. Request origin can be Chat API or Chat UI. Mutation is allowed iff both attributes of the request match the original message creation. Use case: this allows historical 1P apps lock down message edit permission i.e. In Chat UI, humans cannot edit their messages created via these 1P apps. Do not use this for additional use cases.", - "The message creator can mutate regardless of request origin. Use case: for messages created by human via Chat UI or Chat API. These messages can be mutated by the same human user via Chat UI or via any app on Chat API.", - "Every human member of a space or the creator can mutate the entity. This excludes app acting on behalf of human via Chat API. Use case: This is to enable humans to delete messages created by apps." - ], - "type": "string" - }, - "fallbackText": { - "description": "A plain-text description of the attachment, used when clients cannot display formatted attachment (e.g. mobile push notifications).", - "type": "string" - }, - "id": { - "$ref": "MessageId", - "description": "ID of the resource." - }, - "isContentPurged": { - "description": "Whether the message is content purged. Content purged messages contain only data required for tombstone (see go/chat-infinite-tombstone). This field is only used by Vault to display tombstone and should only be set to true if the message is a tombstone.", - "type": "boolean" - }, - "isInlineReply": { - "description": "Output only. Indicates if the message is an inline reply. Set to true only if the message's ParentPath is non-NULL. Currently, only inline replies have non-NULL ParentPath. See go/chat-be-inline-reply-indicator.", - "readOnly": true, - "type": "boolean" - }, - "lastEditTime": { - "description": "If the message was edited by a user, timestamp of the last edit, in microseconds.", - "format": "int64", - "type": "string" - }, - "lastUpdateTime": { - "description": "Time when the Message text was last updated in microseconds.", - "format": "int64", - "type": "string" - }, - "localId": { - "description": "A unique id specified on the client side.", - "type": "string" - }, - "messageIntegrationPayload": { - "$ref": "AppsDynamiteSharedMessageIntegrationPayload", - "description": "An optional payload (restricted to 1P applications) that will be stored with this message. This can only be set by the 1P API and should be used to deliver additional data such a 1P sync version, 1P entity ID to the client for more advanced functionality [Eg. inform Group Tasks tab of new version while linking, fetch \u0026 render a live Task/Meet call tile]." - }, - "messageOrigin": { - "description": "Where the message was posted from", - "enum": [ - "ORIGIN_NOT_SET", - "ORIGIN_DYNAMITE", - "ORIGIN_BABEL_INTEROP_LIVE", - "ORIGIN_BABEL_INTEROP_RETRY", - "ORIGIN_BABEL", - "ORIGIN_BABEL_DUAL_WRITE", - "ORIGIN_BABEL_DUAL_WRITE_RETRY", - "ORIGIN_BACKFILL_FROM_PAPYRUS", - "ORIGIN_BACKFILL_FROM_GMAIL_ARCHIVE" - ], - "enumDescriptions": [ - "", - "", - "The message is from Babel (Hangouts Classic) interop.", - "The message is from Babel interop retries from Manifold queue.", - "The message came directly from Babel as source-of-truth", - "The message came directly from Babel during dual-write", - "The message came directly from Babel Manifold queue during dual write", - "The message was backfilled by go/dinnertrain as part of go/storage-consolidation. The backfill origin corresponds to the BackfillState in which the message was created.", - "" - ], - "type": "string" - }, - "messageReference": { - "$ref": "MessageReference", - "description": "Contains reference to another message. It is used in shortcuts which are used to collect messages from different spaces with a certain common property into another space. For example, all @mentions of a user are collected into a mention shortcut space (go/chat-shortcuts-backend-design for more details). Most information from the source message (like text) are copied onto top-level Message fields of shortcut messages by the server. The MessageReference is helpful for clients to enable things like click navigation to source message." - }, - "messageSearchInfo": { - "$ref": "AppsDynamiteSharedMessageSearchInfo", - "description": "Contains additional metadata that further annotates this message when returned as a search response. For example, this field can be used to highlight messages during search results rendering. In this case, clients can use this field to highlight matched segments in the message text_body (defined with tag 6)." - }, - "messageState": { - "description": "State of the message, indicating whether the message is visible to all members in the group or is only visible to the sender only, or the private_message_viewer if it is set.", - "enum": [ - "PUBLIC", - "PRIVATE" - ], - "enumDescriptions": [ - "Default - visible to the room / DM.", - "Private state - only visible to the message creator, and the private_message_viewer if set." - ], - "type": "string" - }, - "numberOfUnicodeEmojis": { - "description": "Indicates the number of unicode emojis in the message.", - "format": "int32", - "type": "integer" - }, - "originAppSuggestions": { - "description": "Indicates if this message contains any suggestions that were provided by any Apps.", - "items": { - "$ref": "AppsDynamiteSharedOriginAppSuggestion" - }, - "type": "array" - }, - "personalLabels": { - "description": "Personal labels associated with a message for the viewing user. Order of entries is arbitrary and will not list duplicates of the same label_id. See go/chat-labels-design for details. NOTE: This will be unpopulated in the case of SpaceChangelog events.", - "items": { - "$ref": "PersonalLabelTag" - }, - "type": "array" - }, - "privateMessageInfos": { - "description": "A list of per-user private information. This is deprecated, because we no longer plan to support partially private messages or private messages for multiple users. The message_state and private_message_viewer fields should be sufficient for this infrastructure.", - "items": { - "$ref": "PrivateMessageInfo" - }, - "type": "array" - }, - "privateMessageViewer": { - "$ref": "UserId", - "description": "Should only be set if the Message State is PRIVATE. If set, the message content is only visible to this user (and any apps associated with the message), as well as the message creator. If unset, a private message is visible to the message creator only." - }, - "props": { - "$ref": "MessageProps", - "description": "Contains additional (currently Hangouts Classic only) properties applicable to this message." - }, - "quotedByState": { - "description": "Output only. Whether this message has been quoted by another message or not. Used by clients to handle message edit flows for messages that have been quoted.", - "enum": [ - "QUOTED_BY_STATE_UNSPECIFIED", - "QUOTED_BY_STATE_HAS_BEEN_QUOTED", - "QUOTED_BY_STATE_HAS_NOT_BEEN_QUOTED" - ], - "enumDescriptions": [ - "Unspecified state for QuotedByState.", - "State to indicate that this message is quoted by another message (excluding purged message).", - "State to indicate that this message are not quoted by another message." - ], - "readOnly": true, - "type": "string" - }, - "quotedMessageMetadata": { - "$ref": "QuotedMessageMetadata", - "description": "Output only. Metadata for a message that is quoted by this message.", - "readOnly": true - }, - "reactions": { - "description": "A list of user reactions to this message. Ordered by the timestamp of the first reaction, ascending (oldest to newest).", - "items": { - "$ref": "AppsDynamiteSharedReaction" - }, - "type": "array" - }, - "reports": { - "description": "Output only. Details of content reports. Set only when the request asks for it.", - "items": { - "$ref": "ContentReport" - }, - "readOnly": true, - "type": "array" - }, - "retentionSettings": { - "$ref": "AppsDynamiteSharedRetentionSettings", - "description": "The retention settings of the message." - }, - "richTextFormattingType": { - "description": "Used by clients to correctly log format type for message creation due to complexity with client side optimistic update (see go/content-metric-post-send-logging for details). Currently, only set by server in the message or topic creation path.", - "enum": [ - "NONE", - "MARKDOWN", - "FORMAT_ANNOTATIONS", - "FORMAT_ANNOTATIONS_IGNORED", - "FORMAT_ANNOTATIONS_IGNORED_WITH_MARKDOWN" - ], - "enumDescriptions": [ - "", - "The formatting was specified as *markdown characters* in message text.", - "The formatting was specified as {@link com.google.apps.dynamite.v1.shared.FormatMetadata} annotations.", - "The client sent the format annotations, but didn't set the accept_format_annotations field to true. This shouldn't happen, but there might be some old clients that end up here.", - "A combination of MARKDOWN and FORMAT_ANNOTATIONS_IGNORED." - ], - "type": "string" - }, - "secondaryMessageKey": { - "description": "A client-specified string that can be used to uniquely identify a message in a space, in lieu of `id.message_id`.", - "type": "string" - }, - "textBody": { - "description": "Plaintext body of the Message.", - "type": "string" - }, - "tombstoneMetadata": { - "$ref": "TombstoneMetadata", - "description": "Information for the stoning of a Message." - }, - "updaterId": { - "$ref": "UserId", - "description": "ID of the User who last updated (created/edited/deleted) the Message. This includes information to identify if this was updated by an App on behalf of a user." - }, - "uploadMetadata": { - "description": "UploadMetadata b/36864213 is an ongoing effort to move UploadMetadata out of annotations field and save it to upload_metadata field only. After the migration, UploadMetadata will only be saved in this field.", - "items": { - "$ref": "UploadMetadata" - }, - "type": "array" - } - }, - "type": "object" - }, - "MessageAdded": { - "description": "A message was added. Specifying id and initial labels.", - "id": "MessageAdded", - "properties": { - "attributeIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "labelIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "messageKey": { - "$ref": "MultiKey" - }, - "syncIds": { - "description": "Note that there can be fewer sync ids than label ids.", - "items": { - "format": "uint32", - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "MessageAttributes": { - "description": "Stores tombstone message attributes: go/tombstone-message-attributes-overview", - "id": "MessageAttributes", - "properties": { - "isTombstone": { - "description": "If true: message is a tombstone in the client. Default false.", - "type": "boolean" - } - }, - "type": "object" - }, - "MessageDeleted": { - "description": "Some (subset of the) messages in this thread were deleted.", - "id": "MessageDeleted", - "properties": { - "imapSyncMappings": { - "description": "Value of coproc's message delete history record extension that exports /imapsync/folder attribute of deleted messages which have ^is label.", - "items": { - "$ref": "ImapSyncDelete" - }, - "type": "array" - }, - "messageKeys": { - "items": { - "$ref": "MultiKey" - }, - "type": "array" - }, - "wonderCardMappings": { - "description": "Value of coproc's message delete history record extension that exports /wonder/message_mapping/{vertical} attribute of deleted messages which have smartmail label (eg. ^cob_sm_invoice, etc).", - "items": { - "$ref": "WonderCardDelete" - }, - "type": "array" - } - }, - "type": "object" - }, - "MessageId": { - "description": "Primary key for Message resource.", - "id": "MessageId", - "properties": { - "messageId": { - "description": "Opaque, server-assigned ID of the Message. While this ID is guaranteed to be unique within the Space, it's not guaranteed to be globally unique.", - "type": "string" - }, - "parentId": { - "$ref": "MessageParentId", - "description": "ID of the Message's immediate parent." - } - }, - "type": "object" - }, - "MessageInfo": { - "id": "MessageInfo", - "properties": { - "authorUserType": { - "description": "Message author’s user type (human/bot).", - "enum": [ - "HUMAN", - "BOT" - ], - "enumDescriptions": [ - "Notes on HUMAN type: 1) Leaving UserId.UserType field empty will return HUMAN as default value. This is expected because all the existing UserIds are without explicitly setting UserType, most of which are HUMAN Ids. For Bot Ids we will always set BOT in UserType field. 2) DO NOT explicitly set HUMAN as type. This is a proto2 issue, that a UserId with explicitly set default value HUMAN as type is NOT equal to an id without setting the field. aka. UserId id1 = UserId.newBuilder() .setId(\"dummy\").setType(UserType.HUMAN).build(); UserId id2 = UserId.newBuilder().setId(\"dummy\").build(); AssertThat(id1).isNotEqual(id2); AssertThat(id2.getType()).isEqualTo(UserType.HUMAN);", - "" - ], - "type": "string" - }, - "message": { - "$ref": "Message", - "description": "The content of a matching message." - }, - "searcherMembershipState": { - "description": "Searcher's membership state in the space where the message is posted.", - "enum": [ - "MEMBER_UNKNOWN", - "MEMBER_INVITED", - "MEMBER_JOINED", - "MEMBER_NOT_A_MEMBER", - "MEMBER_FAILED" - ], - "enumDescriptions": [ - "Default state, do not use", - "An invitation to the space has been sent", - "User has joined the space", - "User is not a member", - "This state should never be stored in Spanner. It is a state for responses to the clients to indicate that membership mutations have failed and the member is in its previous state." - ], - "type": "string" - } - }, - "type": "object" - }, - "MessageParentId": { - "description": "Primary key identifying Message resource's immediate parent. For top-level Messages, either topic_id or chat_id is populated. For replies, message_id is populated with the topic Message's ID.", - "id": "MessageParentId", - "properties": { - "topicId": { - "$ref": "TopicId", - "description": "ID of the Topic this Message is posted to. NEXT TAG : 5" - } - }, - "type": "object" - }, - "MessageProps": { - "description": "Container for storing properties applicable to messages. For now (until storage consolidation is complete), it will only be used for babel props. In the future it could be used to house Dynamite properties for experimenting/rapid prototyping.", - "id": "MessageProps", - "properties": { - "babelProps": { - "$ref": "BabelMessageProps" - } - }, - "type": "object" - }, - "MessageReference": { - "description": "Contains reference to another message. It is used in shortcuts which are used to collect messages from different spaces with a certain common property into another space. For example, all @mentions of a user are collected into a mention shortcut space (go/chat-shortcuts-backend-design for more details). Clients can use this reference to enable navigation to the source message when the shortcut message is clicked and also to identify a few other details about the source message. Other fields (like text) from the source message are copied on to the top-level fields in the Message proto by the server (More details in go/chat-shortcuts-client-server-design).", - "id": "MessageReference", - "properties": { - "sourceInfo": { - "$ref": "SourceMessageInfo" - } - }, - "type": "object" - }, - "MessageSet": { - "description": "This is proto2's version of MessageSet.", - "id": "MessageSet", - "properties": {}, - "type": "object" - }, - "Metadata": { - "description": "Metadata of a matched search result.", - "id": "Metadata", - "properties": { - "createTime": { - "description": "The creation time for this document or object in the search result.", - "format": "google-datetime", - "type": "string" - }, - "displayOptions": { - "$ref": "ResultDisplayMetadata", - "description": "Options that specify how to display a structured data search result." - }, - "fields": { - "description": "Indexed fields in structured data, returned as a generic named property.", - "items": { - "$ref": "NamedProperty" - }, - "type": "array" - }, - "mimeType": { - "description": "Mime type of the search result.", - "type": "string" - }, - "objectType": { - "description": "Object type of the search result.", - "type": "string" - }, - "owner": { - "$ref": "Person", - "description": "Owner (usually creator) of the document or object of the search result." - }, - "source": { - "$ref": "Source", - "description": "The named source for the result, such as Gmail." - }, - "thumbnailUrl": { - "description": "The thumbnail URL of the result.", - "type": "string" - }, - "updateTime": { - "description": "The last modified date for the object in the search result. If not set in the item, the value returned here is empty. When `updateTime` is used for calculating freshness and is not set, this value defaults to 2 years from the current time.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "Metaline": { - "description": "A metaline is a list of properties that are displayed along with the search result to provide context.", - "id": "Metaline", - "properties": { - "properties": { - "description": "The list of displayed properties for the metaline. The maximum number of properties is 5.", - "items": { - "$ref": "DisplayedProperty" - }, - "type": "array" - } - }, - "type": "object" - }, - "MultiKey": { - "description": "A union-like type for identifiying an object in storage. MultiKeys contain multiple key fields, each in a separate key space. At least one key field must be set. More than one key field may be set as long as all key values refer to the same object. All objects in storage have unique server_id keys. All MultiKeys returned from storage to storage clients will always have the server_id field set. When creating an object, if a MultiKey without a server_id is supplied to storage, the storage system will auto-assign a server ID to the new object. For all other storage requests (i.e. those not creating new objects), clients may omit server_id (as long as they supply another key). Instead of server ids, clients can specify string based client_assigned_perm_id keys. Mail message drafts are a prime example of these kinds of objects. Each time a user saves a new version of a draft, the storage system needs to create a new object with the updated draft content and needs to delete the object containing the old content. The new object gets a new SERVER_ID but should get the same CLIENT_ASSIGNED_PERM_ID as the now-deleted object containing the old content. Carrying forward the perm ID allows it to be used to consistently refer to the same logical object across revisions. These perm IDs save sync clients from having to deal with changing object IDs. For example, assume there's a mail message in storage with SERVER_ID = 123 and CLIENT_ASSIGNED_PERM_ID = \"foo\". The following are all valid ways of addressing the object using MultiKeys: 1) MultiKey { server_id = 123 } 2) MultiKey { server_id = 123, client_assigned_perm_id = \"foo\" } 3) MultiKey { client_assigned_perm_id = \"foo\" } Multikeys are never serialized in the storage. The individual keys are extracted and processed separately. Both the integer ids as well as string ids are indexed for efficient retrieval using the same fields in the backend. See go/tingle-multikeys for more information on background and motivation.", - "id": "MultiKey", - "properties": { - "clientAssignedPermId": { - "description": "A client-assigned string based key.", - "type": "string" - }, - "serverId": { - "description": "A server-assigned ID. This ID must be used only by Gmail and is constructed using millesecond ts \u003c\u003c 20 + randomness. The ID affects the sort order of the index.", - "format": "uint64", - "type": "string" - } - }, - "type": "object" - }, - "Name": { - "description": "A person's name.", - "id": "Name", - "properties": { - "displayName": { - "description": "The read-only display name formatted according to the locale specified by the viewer's account or the `Accept-Language` HTTP header.", - "type": "string" - } - }, - "type": "object" - }, - "NamedProperty": { - "description": "A typed name-value pair for structured data. The type of the value should be the same as the registered type for the `name` property in the object definition of `objectType`.", - "id": "NamedProperty", - "properties": { - "booleanValue": { - "type": "boolean" - }, - "dateValues": { - "$ref": "DateValues" - }, - "doubleValues": { - "$ref": "DoubleValues" - }, - "enumValues": { - "$ref": "EnumValues" - }, - "htmlValues": { - "$ref": "HtmlValues" - }, - "integerValues": { - "$ref": "IntegerValues" - }, - "name": { - "description": "The name of the property. This name should correspond to the name of the property that was registered for object definition in the schema. The maximum allowable length for this property is 256 characters.", - "type": "string" - }, - "objectValues": { - "$ref": "ObjectValues" - }, - "textValues": { - "$ref": "TextValues" - }, - "timestampValues": { - "$ref": "TimestampValues" - } - }, - "type": "object" - }, - "OAuthConsumerProto": { - "description": "Represents an OAuth consumer, a/k/a AuthSub target. These principals are identified by domain name (e.g., example.com). Historically, Dasher domain GAIA group IDs have been used instead, but that doesn't work: http://go/tricky-gaia-ids", - "id": "OAuthConsumerProto", - "properties": { - "domain": { - "type": "string" - } - }, - "type": "object" - }, - "ObjectDefinition": { - "description": "The definition for an object within a data source.", - "id": "ObjectDefinition", - "properties": { - "name": { - "description": "The name for the object, which then defines its type. Item indexing requests should set the objectType field equal to this value. For example, if *name* is *Document*, then indexing requests for items of type Document should set objectType equal to *Document*. Each object definition must be uniquely named within a schema. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The maximum length is 256 characters.", - "type": "string" - }, - "options": { - "$ref": "ObjectOptions", - "description": "The optional object-specific options." - }, - "propertyDefinitions": { - "description": "The property definitions for the object. The maximum number of elements is 1000.", - "items": { - "$ref": "PropertyDefinition" - }, - "type": "array" - } - }, - "type": "object" - }, - "ObjectDisplayOptions": { - "description": "The display options for an object.", - "id": "ObjectDisplayOptions", - "properties": { - "metalines": { - "description": "Defines the properties that are displayed in the metalines of the search results. The property values are displayed in the order given here. If a property holds multiple values, all of the values are displayed before the next properties. For this reason, it is a good practice to specify singular properties before repeated properties in this list. All of the properties must set is_returnable to true. The maximum number of metalines is 3.", - "items": { - "$ref": "Metaline" - }, - "type": "array" - }, - "objectDisplayLabel": { - "description": "The user friendly label to display in the search result to indicate the type of the item. This is OPTIONAL; if not provided, an object label isn't displayed on the context line of the search results. The maximum length is 64 characters.", - "type": "string" - } - }, - "type": "object" - }, - "ObjectOptions": { - "description": "The options for an object.", - "id": "ObjectOptions", - "properties": { - "displayOptions": { - "$ref": "ObjectDisplayOptions", - "description": "The options that determine how the object is displayed in the Cloud Search results page." - }, - "freshnessOptions": { - "$ref": "FreshnessOptions", - "description": "The freshness options for an object." - }, - "suggestionFilteringOperators": { - "description": "Operators that can be used to filter suggestions. For Suggest API, only operators mentioned here will be honored in the FilterOptions. Only TEXT and ENUM operators are supported. NOTE: \"objecttype\", \"type\" and \"mimetype\" are already supported. This property is to configure schema specific operators. Even though this is an array, only one operator can be specified. This is an array for future extensibility. Operators mapping to multiple properties within the same object are not supported. If the operator spans across different object types, this option has to be set once for each object definition.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ObjectPropertyOptions": { - "description": "The options for object properties.", - "id": "ObjectPropertyOptions", - "properties": { - "subobjectProperties": { - "description": "The properties of the sub-object. These properties represent a nested object. For example, if this property represents a postal address, the subobjectProperties might be named *street*, *city*, and *state*. The maximum number of elements is 1000.", - "items": { - "$ref": "PropertyDefinition" - }, - "type": "array" - } - }, - "type": "object" - }, - "ObjectValues": { - "description": "List of object values.", - "id": "ObjectValues", - "properties": { - "values": { - "items": { - "$ref": "StructuredDataObject" - }, - "type": "array" - } - }, - "type": "object" - }, - "OnClick": { - "id": "OnClick", - "properties": { - "action": { - "$ref": "FormAction" - }, - "link": { - "description": "This can be used as a short form for OpenLink with the default OpenAs and OnClose. It may be undeprecated if this proves to be handy for developers.", - "type": "string" - }, - "openLink": { - "$ref": "OpenLink" - }, - "openLinkAction": { - "$ref": "FormAction", - "description": "An add-on triggers this action when the form action needs to open a link. This differs from the open_link above in that this needs to talk to server to get the link. Thus some preparation work is required for web client to do before the open link action response comes back." - } - }, - "type": "object" - }, - "OpenCreatedDraftActionMarkup": { - "id": "OpenCreatedDraftActionMarkup", - "properties": { - "draftId": { - "description": "The ID of the newly created draft in the form \"r123\".", - "type": "string" - }, - "draftStorageId": { - "description": "The server storage ID in hex format, for example,\"15e9fa622ce1029d\".", - "type": "string" - }, - "draftThreadId": { - "description": "The ID of the thread containing the newly created draft, for example, \"15e9fa622ce1029d\".", - "type": "string" - }, - "draftThreadServerPermId": { - "description": "The server permanent ID for the draft's thread. This field isn't set anywhere, and it's ignored when processing OpenCreatedDraftActionMarkup. Supply and use draftThreadStorageId instead.", - "type": "string" - } - }, - "type": "object" - }, - "OpenLink": { - "id": "OpenLink", - "properties": { - "loadIndicator": { - "description": "Next available ID: 5", - "enum": [ - "NONE", - "SPINNER" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "onClose": { - "enum": [ - "NOTHING", - "RELOAD_ADD_ON" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "openAs": { - "enum": [ - "FULL_SIZE", - "OVERLAY" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "url": { - "type": "string" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", - "type": "boolean" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", - "type": "string" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", - "type": "object" - } - }, - "type": "object" - }, - "OsVersion": { - "id": "OsVersion", - "properties": { - "majorVersion": { - "format": "int32", - "type": "integer" - }, - "minorVersion": { - "format": "int32", - "type": "integer" - }, - "tertiaryVersion": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "OtrChatMessageEvent": { - "id": "OtrChatMessageEvent", - "properties": { - "expirationTimestampUsec": { - "format": "int64", - "type": "string" - }, - "kansasRowId": { - "type": "string" - }, - "kansasVersionInfo": { - "type": "string" - }, - "messageOtrStatus": { - "enum": [ - "OFF_THE_RECORD", - "ON_THE_RECORD" - ], - "enumDescriptions": [ - "The conversation is completely off the record.", - "The conversation is completely on the record." - ], - "type": "string" - } - }, - "type": "object" - }, - "OtrModificationEvent": { - "id": "OtrModificationEvent", - "properties": { - "newOtrStatus": { - "enum": [ - "OFF_THE_RECORD", - "ON_THE_RECORD" - ], - "enumDescriptions": [ - "The conversation is completely off the record.", - "The conversation is completely on the record." - ], - "type": "string" - }, - "newOtrToggle": { - "enum": [ - "ENABLED", - "DISABLED" - ], - "enumDescriptions": [ - "The conversation can be toggled", - "The conversation cannot be toggled" - ], - "type": "string" - }, - "oldOtrStatus": { - "enum": [ - "OFF_THE_RECORD", - "ON_THE_RECORD" - ], - "enumDescriptions": [ - "The conversation is completely off the record.", - "The conversation is completely on the record." - ], - "type": "string" - }, - "oldOtrToggle": { - "enum": [ - "ENABLED", - "DISABLED" - ], - "enumDescriptions": [ - "The conversation can be toggled", - "The conversation cannot be toggled" - ], - "type": "string" - } - }, - "type": "object" - }, - "PackagingServiceClient": { - "description": "Developers register a client in Google API Console to get the deep-linking feature on Google+ posts or frames about their apps. The client data is stored in this proto.", - "id": "PackagingServiceClient", - "properties": { - "androidPackageName": { - "description": "Android app's package name to generate the deep-link URI.", - "type": "string" - }, - "iosAppStoreId": { - "description": "iOS app's App Store ID to generate the App Store URL when app is not installed on device.", - "type": "string" - }, - "iosBundleId": { - "description": "iOS app's bundle ID to generate the deep-link URI.", - "type": "string" - }, - "type": { - "description": "Type of Google API Console client.", - "enum": [ - "ANDROID", - "IOS" - ], - "enumDescriptions": [ - "Client for Android app.", - "Client for iOS app." - ], - "type": "string" - } - }, - "type": "object" - }, - "PaygateInfo": { - "description": "Information provided to clients so that they can show upgrade promos and warnings on call ending early (for non-paying users).", - "id": "PaygateInfo", - "properties": { - "callEndingSoonWarningTime": { - "description": "Time when client should show message that the call is ending soon.", - "format": "google-datetime", - "type": "string" - }, - "callEndingTime": { - "description": "Time when the call will end if the user does not upgrade (after in-call upgrade support check has been implemented).", - "format": "google-datetime", - "type": "string" - }, - "showUpgradePromos": { - "description": "This boolean is used by clients to decide whether the user should be shown promos to upgrade.", - "type": "boolean" - } - }, - "type": "object" - }, - "PeopleSuggestion": { - "description": "This field contains information about the person being suggested.", - "id": "PeopleSuggestion", - "properties": { - "person": { - "$ref": "Person", - "description": "Suggested person. All fields of the person object might not be populated." - } - }, - "type": "object" - }, - "Person": { - "description": "Object to represent a person.", - "id": "Person", - "properties": { - "emailAddresses": { - "description": "The person's email addresses", - "items": { - "$ref": "EmailAddress" - }, - "type": "array" - }, - "name": { - "description": "The resource name of the person to provide information about. See [`People.get`](https://developers.google.com/people/api/rest/v1/people/get) from the Google People API.", - "type": "string" - }, - "obfuscatedId": { - "description": "Obfuscated ID of a person.", - "type": "string" - }, - "personNames": { - "description": "The person's name", - "items": { - "$ref": "Name" - }, - "type": "array" - }, - "phoneNumbers": { - "description": "The person's phone numbers", - "items": { - "$ref": "PhoneNumber" - }, - "type": "array" - }, - "photos": { - "description": "A person's read-only photo. A picture shown next to the person's name to help others recognize the person in search results.", - "items": { - "$ref": "Photo" - }, - "type": "array" - } - }, - "type": "object" - }, - "PersonalLabelTag": { - "description": "An individual instance (or \"tag\") of a label configured as a personal type that's associated with a message.", - "id": "PersonalLabelTag", - "properties": { - "labelId": { - "description": "A string ID representing the label. Possible ID values are documented at go/chat-labels-howto:ids. Examples: \"^t\" for \"Starred\", \"^nu\" for \"Nudged\".", - "type": "string" - } - }, - "type": "object" - }, - "PhoneAccess": { - "description": "Phone access contains information required to dial into a conference using a regional phone number and a PIN that is specific to that phone number.", - "id": "PhoneAccess", - "properties": { - "formattedPhoneNumber": { - "description": "The phone number to dial for this meeting space in INTERNATIONAL format. Full phone number with a leading '+' character and whitespace separations.", - "type": "string" - }, - "languageCode": { - "description": "The BCP 47/LDML language code for the language associated with this phone access. To be parsed by the i18n LanguageCode utility. Examples: \"es-419\" for Latin American Spanish, \"fr-CA\" for Canadian French.", - "type": "string" - }, - "phoneNumber": { - "description": "The phone number to dial for this meeting space in E.164 format. Full phone number with a leading '+' character.", - "type": "string" - }, - "pin": { - "description": "The PIN that users must enter after dialing the given number. The PIN consists of only decimal digits and the length may vary.", - "type": "string" - }, - "regionCode": { - "description": "The CLDR/ISO 3166 region code for the country associated with this phone access. To be parsed by the i18n RegionCode utility. Example: \"SE\" for Sweden.", - "type": "string" - } - }, - "type": "object" - }, - "PhoneNumber": { - "description": "A person's Phone Number", - "id": "PhoneNumber", - "properties": { - "phoneNumber": { - "description": "The phone number of the person.", - "type": "string" - }, - "type": { - "enum": [ - "OTHER", - "MOBILE", - "OFFICE" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "Photo": { - "description": "A person's photo.", - "id": "Photo", - "properties": { - "url": { - "description": "The URL of the photo.", - "type": "string" - } - }, - "type": "object" - }, - "PinnedItemId": { - "id": "PinnedItemId", - "properties": { - "driveId": { - "description": "Identifier for a Drive file (e.g. Docs, Sheets, Slides).", - "type": "string" - } - }, - "type": "object" - }, - "PollItemsRequest": { - "id": "PollItemsRequest", - "properties": { - "connectorName": { - "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", - "type": "string" - }, - "debugOptions": { - "$ref": "DebugOptions", - "description": "Common debug options." - }, - "limit": { - "description": "Maximum number of items to return. The maximum value is 100 and the default value is 20.", - "format": "int32", - "type": "integer" - }, - "queue": { - "description": "Queue name to fetch items from. If unspecified, PollItems will fetch from 'default' queue. The maximum length is 100 characters.", - "type": "string" - }, - "statusCodes": { - "description": "Limit the items polled to the ones with these statuses.", - "items": { - "enum": [ - "CODE_UNSPECIFIED", - "ERROR", - "MODIFIED", - "NEW_ITEM", - "ACCEPTED" - ], - "enumDescriptions": [ - "Input-only value. Used with Items.list to list all items in the queue, regardless of status.", - "Error encountered by Cloud Search while processing this item. Details of the error are in repositoryError.", - "Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search.", - "Item is known to exist in the repository, but is not yet accepted by Cloud Search. An item can be in this state when Items.push has been called for an item of this name that did not exist previously.", - "API has accepted the up-to-date data of this item." - ], - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "PollItemsResponse": { - "id": "PollItemsResponse", - "properties": { - "items": { - "description": "Set of items from the queue available for connector to process. These items have the following subset of fields populated: version metadata.hash structured_data.hash content.hash payload status queue", - "items": { - "$ref": "Item" - }, - "type": "array" - } - }, - "type": "object" - }, - "PossiblyTrimmedModel": { - "description": "This message contains either the device model, or a prefix of the device model (AKA a trimmed device model). The \"is_trimmed\" field indicates which one it is.", - "id": "PossiblyTrimmedModel", - "properties": { - "isTrimmed": { - "type": "boolean" - }, - "model": { - "type": "string" - } - }, - "type": "object" - }, - "PostiniUserProto": { - "description": "See http://s/?fileprint=//depot/google3/security/authentication/postini/auth_token.proto", - "id": "PostiniUserProto", - "properties": { - "postiniUserId": { - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "PreState": { - "description": "State of the thread previous to the update. This really just describes the label state of all messages before the update.", - "id": "PreState", - "properties": { - "labelIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "messageKey": { - "$ref": "MultiKey" - }, - "syncIds": { - "description": "Note that there can be fewer sync ids than label ids.", - "items": { - "format": "uint32", - "type": "integer" - }, - "type": "array" - }, - "threadKey": { - "$ref": "MultiKey" - } - }, - "type": "object" - }, - "PrefDeleted": { - "description": "PREF_DELETED", - "id": "PrefDeleted", - "properties": {}, - "type": "object" - }, - "PrefUpdate": { - "description": "HistoryRecord for changes associated with prefs, namely: PREF_WRITTEN PREF_DELETED", - "id": "PrefUpdate", - "properties": { - "name": { - "description": "Name of the affected preference.", - "type": "string" - }, - "preState": { - "$ref": "FuseboxPrefUpdatePreState" - }, - "prefDeleted": { - "$ref": "PrefDeleted" - }, - "prefWritten": { - "$ref": "PrefWritten" - } - }, - "type": "object" - }, - "PrefWritten": { - "description": "PREF_WRITTEN", - "id": "PrefWritten", - "properties": { - "value": { - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "Presenter": { - "description": "Presenter contains information about which device is currently presenting as well as which device requested the presenter to be set.", - "id": "Presenter", - "properties": { - "annotationInfo": { - "$ref": "AnnotationInfo", - "description": "Screen annotation information associated with this presentation session." - }, - "byDeviceId": { - "description": "The device resource name of the device which requested the current presenter to be set. This field can not be modified by clients.", - "type": "string" - }, - "copresenterDeviceIds": { - "description": "The device resource names of other devices which can control the current presentation.", - "items": { - "type": "string" - }, - "type": "array" - }, - "presenterDeviceId": { - "description": "The device resource name of the currently presenting device.", - "type": "string" - } - }, - "type": "object" - }, - "Principal": { - "description": "Reference to a user, group, or domain.", - "id": "Principal", - "properties": { - "groupResourceName": { - "description": "This principal is a group identified using an external identity. The name field must specify the group resource name with this format: identitysources/{source_id}/groups/{ID}", - "type": "string" - }, - "gsuitePrincipal": { - "$ref": "GSuitePrincipal", - "description": "This principal is a Google Workspace user, group or domain." - }, - "userResourceName": { - "description": "This principal is a user identified using an external identity. The name field must specify the user resource name with this format: identitysources/{source_id}/users/{ID}", - "type": "string" - } - }, - "type": "object" - }, - "PrincipalProto": { - "description": "A Principal represents something to which permissions are assigned, often but not always a user or group of some kind. It is most appropriate for use in ACLs and authorization checks. Callers should prefer to use the wrapper classes in google3/security/credentials/public/principal.h google3/java/com/google/security/credentials/Principal.java google3/security/credentials/go/principal.go unless direct proto access is essential. If you update this protocol buffer, please update the wrapper classes as well. LINT.IfChange", - "id": "PrincipalProto", - "properties": { - "allAuthenticatedUsers": { - "$ref": "AllAuthenticatedUsersProto", - "description": "scope = ALL_AUTHENTICATED_USERS" - }, - "capTokenHolder": { - "$ref": "CapTokenHolderProto", - "description": "scope = CAP_TOKEN_HOLDER" - }, - "chat": { - "$ref": "ChatProto", - "description": "scope = CHAT" - }, - "circle": { - "$ref": "CircleProto", - "description": "scope = CIRCLE" - }, - "cloudPrincipal": { - "$ref": "CloudPrincipalProto", - "description": "scope = CLOUD_PRINCIPAL" - }, - "contactGroup": { - "$ref": "ContactGroupProto", - "description": "scope = CONTACT_GROUP" - }, - "emailOwner": { - "$ref": "EmailOwnerProto", - "description": "scope = EMAIL_OWNER" - }, - "event": { - "$ref": "EventProto", - "description": "scope = EVENT" - }, - "gaiaGroup": { - "$ref": "GaiaGroupProto", - "description": "scope = GAIA_GROUP" - }, - "gaiaUser": { - "$ref": "GaiaUserProto", - "description": "scope = GAIA_USER" - }, - "host": { - "$ref": "HostProto", - "description": "scope = HOST" - }, - "ldapGroup": { - "$ref": "LdapGroupProto", - "description": "scope = LDAP_GROUP" - }, - "ldapUser": { - "$ref": "LdapUserProto", - "description": "scope = LDAP_USER" - }, - "mdbGroup": { - "$ref": "MdbGroupProto", - "description": "scope = MDB_GROUP" - }, - "mdbUser": { - "$ref": "MdbUserProto", - "description": "scope = MDB_USER" - }, - "oauthConsumer": { - "$ref": "OAuthConsumerProto", - "description": "scope = OAUTH_CONSUMER;" - }, - "postiniUser": { - "$ref": "PostiniUserProto", - "description": "scope = POSTINI_USER" - }, - "rbacRole": { - "$ref": "RbacRoleProto", - "description": "scope = RBAC_ROLE" - }, - "rbacSubject": { - "$ref": "RbacSubjectProto", - "description": "scope = RBAC_SUBJECT" - }, - "resourceRole": { - "$ref": "ResourceRoleProto", - "description": "scope = RESOURCE_ROLE" - }, - "scope": { - "description": "This is only optional because required enums cannot be extended. Currently required.", - "enum": [ - "INVALID", - "GAIA_USER", - "GAIA_GROUP", - "LDAP_USER", - "LDAP_GROUP", - "MDB_USER", - "MDB_GROUP", - "POSTINI_USER", - "CONTACT_GROUP", - "SIMPLE_SECRET_HOLDER", - "SIGNING_KEY_POSSESSOR", - "ALL_AUTHENTICATED_USERS", - "OAUTH_CONSUMER", - "HOST", - "SOCIAL_GRAPH_NODE", - "EMAIL_OWNER", - "CAP_TOKEN_HOLDER", - "CIRCLE", - "SQUARE", - "EVENT", - "RESOURCE_ROLE", - "CHAT", - "YOUTUBE_USER", - "UNUSED_ZWIEBACK_SESSION", - "ZWIEBACK_SESSION", - "RBAC_ROLE", - "RBAC_SUBJECT", - "CLOUD_PRINCIPAL" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "next tag: 29" - ], - "type": "string" - }, - "signingKeyPossessor": { - "$ref": "SigningKeyPossessorProto", - "description": "scope = SIGNING_KEY_POSSESSOR" - }, - "simpleSecretHolder": { - "$ref": "SimpleSecretHolderProto", - "description": "scope = SIMPLE_SECRET_HOLDER" - }, - "socialGraphNode": { - "$ref": "SocialGraphNodeProto", - "description": "scope = SOCIAL_GRAPH_NODE" - }, - "square": { - "$ref": "SquareProto", - "description": "scope = SQUARE" - }, - "youtubeUser": { - "$ref": "YoutubeUserProto", - "description": "scope = YOUTUBE_USER" - }, - "zwiebackSession": { - "$ref": "ZwiebackSessionProto", - "description": "scope = ZWIEBACK_SESSION" - } - }, - "type": "object" - }, - "PrivateMessageInfo": { - "description": "Private message information specific to a given user. DEPRECATED: Use the privateMessageViewer field in CreateMessageInfo instead.", - "id": "PrivateMessageInfo", - "properties": { - "annotations": { - "description": "Annotations private to {@code userId}.", - "items": { - "$ref": "Annotation" - }, - "type": "array" - }, - "attachments": { - "description": "Attachments private to {@code userId}.", - "items": { - "$ref": "Attachment" - }, - "type": "array" - }, - "contextualAddOnMarkup": { - "items": { - "$ref": "GoogleChatV1ContextualAddOnMarkup" - }, - "type": "array" - }, - "gsuiteIntegrationMetadata": { - "items": { - "$ref": "GsuiteIntegrationMetadata" - }, - "type": "array" - }, - "text": { - "description": "Text private to {@code user_id}. Initial restriction: Only one of public text or private text is rendered on the client. So if public text is set, private text is ignored.", - "type": "string" - }, - "userId": { - "$ref": "UserId", - "description": "Required. The elements in this struct are visible to this user." - } - }, - "type": "object" - }, - "ProcessingError": { - "id": "ProcessingError", - "properties": { - "code": { - "description": "Error code indicating the nature of the error.", - "enum": [ - "PROCESSING_ERROR_CODE_UNSPECIFIED", - "MALFORMED_REQUEST", - "UNSUPPORTED_CONTENT_FORMAT", - "INDIRECT_BROKEN_ACL", - "ACL_CYCLE" - ], - "enumDescriptions": [ - "Input only value. Use this value in Items.", - "Item's ACL, metadata, or content is malformed or in invalid state. FieldViolations contains more details on where the problem is.", - "Countent format is unsupported.", - "Items with incomplete ACL information due to inheriting other items with broken ACL or having groups with unmapped descendants.", - "ACL inheritance graph formed a cycle." - ], - "type": "string" - }, - "errorMessage": { - "description": "The description of the error.", - "type": "string" - }, - "fieldViolations": { - "description": "In case the item fields are invalid, this field contains the details about the validation errors.", - "items": { - "$ref": "FieldViolation" - }, - "type": "array" - } - }, - "type": "object" - }, - "PropertyDefinition": { - "description": "The definition of a property within an object.", - "id": "PropertyDefinition", - "properties": { - "booleanPropertyOptions": { - "$ref": "BooleanPropertyOptions" - }, - "datePropertyOptions": { - "$ref": "DatePropertyOptions" - }, - "displayOptions": { - "$ref": "PropertyDisplayOptions", - "description": "The options that determine how the property is displayed in the Cloud Search results page if it's specified to be displayed in the object's display options." - }, - "doublePropertyOptions": { - "$ref": "DoublePropertyOptions" - }, - "enumPropertyOptions": { - "$ref": "EnumPropertyOptions" - }, - "htmlPropertyOptions": { - "$ref": "HtmlPropertyOptions" - }, - "integerPropertyOptions": { - "$ref": "IntegerPropertyOptions" - }, - "isFacetable": { - "description": "Indicates that the property can be used for generating facets. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, enum, integer, and text properties.", - "type": "boolean" - }, - "isRepeatable": { - "description": "Indicates that multiple values are allowed for the property. For example, a document only has one description but can have multiple comments. Cannot be true for properties whose type is a boolean. If set to false, properties that contain more than one value cause the indexing request for that item to be rejected.", - "type": "boolean" - }, - "isReturnable": { - "description": "Indicates that the property identifies data that should be returned in search results via the Query API. If set to *true*, indicates that Query API users can use matching property fields in results. However, storing fields requires more space allocation and uses more bandwidth for search queries, which impacts performance over large datasets. Set to *true* here only if the field is needed for search results. Cannot be true for properties whose type is an object.", - "type": "boolean" - }, - "isSortable": { - "description": "Indicates that the property can be used for sorting. Cannot be true for properties that are repeatable. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, date, double, integer, and timestamp properties.", - "type": "boolean" - }, - "isSuggestable": { - "description": "Indicates that the property can be used for generating query suggestions.", - "type": "boolean" - }, - "isWildcardSearchable": { - "description": "Indicates that users can perform wildcard search for this property. Only supported for Text properties. IsReturnable must be true to set this option. In a given datasource maximum of 5 properties can be marked as is_wildcard_searchable. For more details, see [Define object properties](https://developers.google.com/cloud-search/docs/guides/schema-guide#properties)", - "type": "boolean" - }, - "name": { - "description": "The name of the property. Item indexing requests sent to the Indexing API should set the property name equal to this value. For example, if name is *subject_line*, then indexing requests for document items with subject fields should set the name for that field equal to *subject_line*. Use the name as the identifier for the object property. Once registered as a property for an object, you cannot re-use this name for another property within that object. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The maximum length is 256 characters.", - "type": "string" - }, - "objectPropertyOptions": { - "$ref": "ObjectPropertyOptions" - }, - "textPropertyOptions": { - "$ref": "TextPropertyOptions" - }, - "timestampPropertyOptions": { - "$ref": "TimestampPropertyOptions" - } - }, - "type": "object" - }, - "PropertyDisplayOptions": { - "description": "The display options for a property.", - "id": "PropertyDisplayOptions", - "properties": { - "displayLabel": { - "description": "The user friendly label for the property that is used if the property is specified to be displayed in ObjectDisplayOptions. If provided, the display label is shown in front of the property values when the property is part of the object display options. For example, if the property value is '1', the value by itself may not be useful context for the user. If the display name given was 'priority', then the user sees 'priority : 1' in the search results which provides clear context to search users. This is OPTIONAL; if not given, only the property values are displayed. The maximum length is 64 characters.", - "type": "string" - } - }, - "type": "object" - }, - "Provenance": { - "description": "This field records where the ItemScope was retrieved, if it was created via a web fetch.", - "id": "Provenance", - "properties": { - "annotationBlob": { - "description": "Annotation blob from Annotation Service.", - "format": "byte", - "type": "string" - }, - "canonicalUrl": { - "description": "Canonical url of the retrieved_url, if one was resolved during retrieval, for example, if a rel=\"canonical\" link tag was provided in the retrieved web page.", - "type": "string" - }, - "inputUrl": { - "description": "The url originally passed in the PRS request, which should be used to re-discover the content. Note that this URL may be a forwarding service or link shortener (bit.ly), so it should not be assumed to be canonical, but should be used for navigation back to the original source of the itemscope.", - "type": "string" - }, - "itemtype": { - "description": "Contains exact types as parsed, whether or not we recognized that type at parse time. If an itemscope is created by merging SchemaOrg markup and open graph markup then the first itemtype would be schemaorg type, the second would be open graph and so on. example: http://schema.org/VideoObject, og:video.movie Plain text; usually a URL", - "items": { - "type": "string" - }, - "type": "array" - }, - "retrievedTimestampMsec": { - "description": "The server retrieved timestamp (in msec).", - "format": "uint64", - "type": "string" - }, - "retrievedUrl": { - "description": "The final URL that was the actual source of the itemscope, after any redirects.", - "type": "string" - } - }, - "type": "object" - }, - "PushItem": { - "description": "Represents an item to be pushed to the indexing queue.", - "id": "PushItem", - "properties": { - "contentHash": { - "description": "Content hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.", - "type": "string" - }, - "metadataHash": { - "description": "The metadata hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.", - "type": "string" - }, - "payload": { - "description": "Provides additional document state information for the connector, such as an alternate repository ID and other metadata. The maximum length is 8192 bytes.", - "format": "byte", - "type": "string" - }, - "queue": { - "description": "Queue to which this item belongs. The `default` queue is chosen if this field is not specified. The maximum length is 512 characters.", - "type": "string" - }, - "repositoryError": { - "$ref": "RepositoryError", - "description": "Populate this field to store Connector or repository error details. This information is displayed in the Admin Console. This field may only be populated when the Type is REPOSITORY_ERROR." - }, - "structuredDataHash": { - "description": "Structured data hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.", - "type": "string" - }, - "type": { - "description": "The type of the push operation that defines the push behavior.", - "enum": [ - "UNSPECIFIED", - "MODIFIED", - "NOT_MODIFIED", - "REPOSITORY_ERROR", - "REQUEUE" - ], - "enumDescriptions": [ - "Default UNSPECIFIED. Specifies that the push operation should not modify ItemStatus", - "Indicates that the repository document has been modified or updated since the previous update call. This changes status to MODIFIED state for an existing item. If this is called on a non existing item, the status is changed to NEW_ITEM.", - "Item in the repository has not been modified since the last update call. This push operation will set status to ACCEPTED state.", - "Connector is facing a repository error regarding this item. Change status to REPOSITORY_ERROR state. Item is unreserved and rescheduled at a future time determined by exponential backoff.", - "Call push with REQUEUE only for items that have been reserved. This action unreserves the item and resets its available time to the wall clock time." - ], - "type": "string" - } - }, - "type": "object" - }, - "PushItemRequest": { - "id": "PushItemRequest", - "properties": { - "connectorName": { - "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", - "type": "string" - }, - "debugOptions": { - "$ref": "DebugOptions", - "description": "Common debug options." - }, - "item": { - "$ref": "PushItem", - "description": "Item to push onto the queue." - } - }, - "type": "object" - }, - "QueryActivity": { - "description": "Details about a user's query activity.", - "id": "QueryActivity", - "properties": { - "query": { - "description": "User input query to be logged/removed.", - "type": "string" - } - }, - "type": "object" - }, - "QueryCountByStatus": { - "id": "QueryCountByStatus", - "properties": { - "count": { - "format": "int64", - "type": "string" - }, - "statusCode": { - "description": "This represents the http status code.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "QueryInterpretation": { - "id": "QueryInterpretation", - "properties": { - "interpretationType": { - "enum": [ - "NONE", - "BLEND", - "REPLACE" - ], - "enumDescriptions": [ - "Neither the natural language interpretation, nor a broader version of the query is used to fetch the search results.", - "The results from original query are blended with other results. The reason for blending these other results with the results from original query is populated in the 'Reason' field below.", - "The results from original query are replaced. The reason for replacing the results from original query is populated in the 'Reason' field below." - ], - "type": "string" - }, - "interpretedQuery": { - "description": "The interpretation of the query used in search. For example, queries with natural language intent like \"email from john\" will be interpreted as \"from:john source:mail\". This field will not be filled when the reason is NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY.", - "type": "string" - }, - "reason": { - "description": "The reason for interpretation of the query. This field will not be UNSPECIFIED if the interpretation type is not NONE.", - "enum": [ - "UNSPECIFIED", - "QUERY_HAS_NATURAL_LANGUAGE_INTENT", - "NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY" - ], - "enumDescriptions": [ - "", - "Natural language interpretation of the query is used to fetch the search results.", - "Query and document terms similarity is used to selectively broaden the query to retrieve additional search results since enough results were not found for the user query. Interpreted query will be empty for this case." - ], - "type": "string" - } - }, - "type": "object" - }, - "QueryInterpretationConfig": { - "description": "Default options to interpret user query.", - "id": "QueryInterpretationConfig", - "properties": { - "forceDisableSupplementalResults": { - "description": "Set this flag to disable supplemental results retrieval, setting a flag here will not retrieve supplemental results for queries associated with a given search application. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for supplemental results.", - "type": "boolean" - }, - "forceVerbatimMode": { - "description": "Enable this flag to turn off all internal optimizations like natural language (NL) interpretation of queries, supplemental results retrieval, and usage of synonyms including custom ones. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for verbatim mode.", - "type": "boolean" - } - }, - "type": "object" - }, - "QueryInterpretationOptions": { - "description": "Options to interpret user query.", - "id": "QueryInterpretationOptions", - "properties": { - "disableNlInterpretation": { - "description": "Flag to disable natural language (NL) interpretation of queries. Default is false, Set to true to disable natural language interpretation. NL interpretation only applies to predefined datasources.", - "type": "boolean" - }, - "disableSupplementalResults": { - "description": "Use this flag to disable supplemental results for a query. Supplemental results setting chosen at SearchApplication level will take precedence if set to True.", - "type": "boolean" - }, - "enableVerbatimMode": { - "description": "Enable this flag to turn off all internal optimizations like natural language (NL) interpretation of queries, supplemental result retrieval, and usage of synonyms including custom ones. Nl interpretation will be disabled if either one of the two flags is true.", - "type": "boolean" - } - }, - "type": "object" - }, - "QueryItem": { - "description": "Information relevant only to a query entry.", - "id": "QueryItem", - "properties": { - "isSynthetic": { - "description": "True if the text was generated by means other than a previous user search.", - "type": "boolean" - } - }, - "type": "object" - }, - "QueryOperator": { - "description": "The definition of a operator that can be used in a Search/Suggest request.", - "id": "QueryOperator", - "properties": { - "displayName": { - "description": "Display name of the operator", - "type": "string" - }, - "enumValues": { - "description": "Potential list of values for the opeatror field. This field is only filled when we can safely enumerate all the possible values of this operator.", - "items": { - "type": "string" - }, - "type": "array" - }, - "greaterThanOperatorName": { - "description": "Indicates the operator name that can be used to isolate the property using the greater-than operator.", - "type": "string" - }, - "isFacetable": { - "description": "Can this operator be used to get facets.", - "type": "boolean" - }, - "isRepeatable": { - "description": "Indicates if multiple values can be set for this property.", - "type": "boolean" - }, - "isReturnable": { - "description": "Will the property associated with this facet be returned as part of search results.", - "type": "boolean" - }, - "isSortable": { - "description": "Can this operator be used to sort results.", - "type": "boolean" - }, - "isSuggestable": { - "description": "Can get suggestions for this field.", - "type": "boolean" - }, - "lessThanOperatorName": { - "description": "Indicates the operator name that can be used to isolate the property using the less-than operator.", - "type": "string" - }, - "objectType": { - "description": "The name of the object corresponding to the operator. This field is only filled for schema-specific operators, and is unset for common operators.", - "type": "string" - }, - "operatorName": { - "description": "The name of the operator.", - "type": "string" - }, - "type": { - "description": "The type of the operator.", - "enum": [ - "UNKNOWN", - "INTEGER", - "DOUBLE", - "TIMESTAMP", - "BOOLEAN", - "ENUM", - "DATE", - "TEXT", - "HTML" - ], - "enumDescriptions": [ - "Invalid value.", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "QuerySource": { - "description": "List of sources that the user can search using the query API.", - "id": "QuerySource", - "properties": { - "displayName": { - "description": "Display name of the data source.", - "type": "string" - }, - "operators": { - "description": "List of all operators applicable for this source.", - "items": { - "$ref": "QueryOperator" - }, - "type": "array" - }, - "shortName": { - "description": "A short name or alias for the source. This value can be used with the 'source' operator.", - "type": "string" - }, - "source": { - "$ref": "Source", - "description": "The name of the source" - } - }, - "type": "object" - }, - "QuerySuggestion": { - "description": "This field does not contain anything as of now and is just used as an indicator that the suggest result was a phrase completion.", - "id": "QuerySuggestion", - "properties": {}, - "type": "object" - }, - "QuotedMessageMetadata": { - "description": "Quote metadata: go/message-quoting-be-dd-v2. This proto is only used on the read path. For the request proto, refer to `QuotedMessagePayload`. Fields are either derived from storage directly from the Item this metadata belongs to, or is hydrated at read time from another Item read. Note: QuotedMessageMetadata proto is similar to Message proto with less field. Reasons to differtiate QuotedMessageMetadata from Message are: 1. Not all fields for original message is applicable for quoted message. (E.g. reactions, is_inline_reply, etc.), thus separting out for confusion. 2. We don't support nested message quoting. For more detailed discussion, please see http://shortn/_VsSXQb2C7P. For future reference: if your new feature/field will be supported in message quoting feature (go/chat-quoting-prd), you will need to add that field within QuotedMessageMetadata", - "id": "QuotedMessageMetadata", - "properties": { - "annotations": { - "description": "Output only. Snapshot of the annotations of the quoted message.", - "items": { - "$ref": "Annotation" - }, - "readOnly": true, - "type": "array" - }, - "appProfile": { - "$ref": "AppsDynamiteSharedAppProfile", - "description": "Output only. Custom display profile info for apps. Will be empty for real users.", - "readOnly": true - }, - "botAttachmentState": { - "description": "Output only. The bot attachment state of the quoted message. Used by clients to display a bot attachment indicator in the UI.", - "enum": [ - "BOT_ATTACHMENT_STATE_UNSPECIFIED", - "BOT_ATTACHMENT_STATE_HAS_BOT_ATTACHMENT", - "BOT_ATTACHMENT_STATE_NO_BOT_ATTACHMENT" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "readOnly": true, - "type": "string" - }, - "createTimeMicros": { - "description": "Output only. Time when the quoted message was posted in microseconds.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "creatorId": { - "$ref": "UserId", - "description": "Output only. ID of the User who posted the quoted message. This includes information to identify if the quoted message was posted by an App on behalf of a user.", - "readOnly": true - }, - "lastEditTimeMicros": { - "description": "Output only. Time when the quoted message was last edited by a user at the time when quoting action happens. Time is in microseconds.", - "format": "int64", - "readOnly": true, - "type": "string" - }, - "lastUpdateTimeWhenQuotedMicros": { - "description": "The `last_update_time` of the original message when the client initiated the quote creation. This is derived from the request payload passed from clients. Used to fetch the quoted message contents at a specific time on the read path. This field is populated from storage directly.", - "format": "int64", - "type": "string" - }, - "messageId": { - "$ref": "MessageId", - "description": "MessageId of the original message that is being quoted. This is derived from the request payload passed from clients. This field is populated from storage directly." - }, - "messageState": { - "description": "Output only. The state of the quoted message. Used by clients to display tombstones for quotes that reference a deleted message.", - "enum": [ - "MESSAGE_STATE_UNSPECIFIED", - "MESSAGE_STATE_ACTIVE", - "MESSAGE_STATE_DELETED", - "MESSAGE_STATE_OTR_EDITED" - ], - "enumDescriptions": [ - "", - "The original message is present in storage and not deleted; the message contents can be hydrated.", - "The original message has been deleted; the message contents cannot be hydrated.", - "The OTR original message was edited and therefore no longer retrievable from storage; the message contents cannot be hydrated. See go/message-quoting-otr-edits for more context." - ], - "readOnly": true, - "type": "string" - }, - "retentionSettings": { - "$ref": "AppsDynamiteSharedRetentionSettings", - "description": "Output only. The retention (OTR) settings of the quoted message.", - "readOnly": true - }, - "textBody": { - "description": "Output only. Snapshot of the text body of the quoted message.", - "readOnly": true, - "type": "string" - }, - "updaterId": { - "$ref": "UserId", - "description": "Output only. ID of the User who last updated (created/edited/deleted) the quoted message at the time when quoting action happens. This includes information to identify if the quoted message was posted by an App on behalf of a user.", - "readOnly": true - }, - "uploadMetadata": { - "description": "Output only. Upload metadata of the quoted message.", - "items": { - "$ref": "UploadMetadata" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "Rank": { - "description": "The rank contains a tuple of numbers which may be used as a general sort order. The rank should be treated as an ordered set of numbers, where the ordering is done in descending order of the most significant rank member. For example, given the following ranks described as (primary, secondary): (1,1), (1,2), (2,2) (2,1) The descending rank-order is: (2,2) \u003e (2,1) \u003e (1,2) \u003e (1,1)", - "id": "Rank", - "properties": { - "primary": { - "description": "The primary rank is the most significant rank member. This rank element should always be present. Items with higher primary rank are always considered of higher rank than those of lower primary rank.", - "format": "int64", - "type": "string" - }, - "secondary": { - "description": "The secondary rank may be used to rank items of identical primary rank. This rank element should always be present.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "RbacRoleProto": { - "description": "Principal associated with a given RBAC role. This principal is used by Sphinx Provisioning Service for RBAC provisionable (go/sphinx-rbacz).", - "id": "RbacRoleProto", - "properties": { - "name": { - "type": "string" - }, - "objectId": { - "type": "string" - }, - "rbacNamespace": { - "description": "DEPRECATED as of 01.11.2019", - "type": "string" - }, - "rbacRoleName": { - "description": "Format: \"role/z?\" - \"role\" is the Sphinx globally unique name of the Sphinx role that provisions the RBAC role. - \"/z?\" suffix indicates which Zanzibar environment stores the role membership data (\"/zd\": dev, \"/zs\": staging, \"/zp\": prod, \"/zt\": local test instance). Example: \"mysystem_myrole/zp\"", - "type": "string" - } - }, - "type": "object" - }, - "RbacSubjectProto": { - "description": "Principal associated with a given RBAC subject. This principal is used by Sphinx Provisioning Service for RBAC provisionable (go/sphinx-rbacz).", - "id": "RbacSubjectProto", - "properties": { - "username": { - "description": "Format \"username\" without \"@domain\", e.g., \"bogdand\".", - "type": "string" - } - }, - "type": "object" - }, - "ReactionInfo": { - "description": "Contains information about an emoji reaction.", - "id": "ReactionInfo", - "properties": { - "emoji": { - "description": "Unicode string representing a single emoji.", - "type": "string" - } - }, - "type": "object" - }, - "ReadReceiptsSettingsUpdatedMetadata": { - "id": "ReadReceiptsSettingsUpdatedMetadata", - "properties": { - "readReceiptsEnabled": { - "description": "The new read receipts state.", - "type": "boolean" - } - }, - "type": "object" - }, - "Recipient": { - "id": "Recipient", - "properties": { - "email": { - "type": "string" - } - }, - "type": "object" - }, - "RecordingEvent": { - "description": "A recording event is something that happens to the recording in a conference.", - "id": "RecordingEvent", - "properties": { - "deviceId": { - "description": "The initiator of the latest event of the recording. It will be set for all user events (`type` is 100-199) and unset for all server events (`type` is 200-299).", - "type": "string" - }, - "type": { - "description": "The type of event.", - "enum": [ - "RECORDING_EVENT_UNSPECIFIED", - "USER_ACTION", - "STARTED_BY_USER", - "STOPPED_BY_USER", - "CANCELLED_BY_USER", - "CANCELLED_INITIALIZATION_FAILED", - "CANCELLED_INITIATOR_LEFT", - "ACTIVE_ABOUT_TO_STOP_TOO_LONG", - "STOPPED_TOO_LONG", - "STOPPED_ALL_DEVICES_LEFT", - "STOPPED_INTERNAL_FAILURES" - ], - "enumDescriptions": [ - "This is never used.", - "Deprecated, use detailed user actions instead.", - "Recording was started or is being started by a user.", - "Recording was stopped by a user.", - "Recording was cancelled by a user.", - "Recording was cancelled by the server because of a failure during recording initialization.", - "Recording was cancelled by the server because the recording initiator left the conference during initialization. When the initiator leaves after the recording is started, no event is triggered.", - "Recording is about to be stopped by the server because the recording is about to reach the maximum duration.", - "Recording was stopped because the recording reached the maximum duration.", - "Recording was stopped because there were no devices left in the conference.", - "Recording was stopped because of an internal error." - ], - "type": "string" - } - }, - "type": "object" - }, - "RecordingInfo": { - "description": "This message is deprecated, please use RecordingSessionInfo instead. Information about recording in the current conference.", - "id": "RecordingInfo", - "properties": { - "latestRecordingEvent": { - "$ref": "RecordingEvent", - "description": "The latest recording event. This can be used by clients to help explain what is going on, why recording stopped, etc. This will always be set if there is or was an active recording, which means there can be latest event when recording is INACTIVE." - }, - "ownerDisplayName": { - "description": "The display name of the owner of the recording output. Email notifications about uploaded recordings will also be sent to this owner.", - "type": "string" - }, - "producerDeviceId": { - "description": "The device resource name of the producer device for the currently active recording. Note that, after the producer drops/leaves the conference, this field will be cleaned up by the server after a delay.", - "type": "string" - }, - "recordingApplicationType": { - "description": "The application type of the current active recording. `RECORDING_APPLICATION_TYPE_UNSPECIFIED` if `recording_status` is inactive.", - "enum": [ - "RECORDING_APPLICATION_TYPE_UNSPECIFIED", - "RECORDING", - "GLIVE_STREAM", - "BROADCAST" - ], - "enumDescriptions": [ - "This is never used.", - "A meeting recording saved to a video file in Google Drive.", - "A *Google Live* managed stream.", - "A meeting broadcast." - ], - "type": "string" - }, - "recordingId": { - "description": "An identifier for the current recording, if any. This is returned whenever recording_status is either `RECORDING_STARTING` or `RECORDING_STARTED`.", - "type": "string" - }, - "recordingStatus": { - "description": "The current status of the recording. This can be used by clients to show a recording dot or similar to indicated to the user that a recording is taking place.", - "enum": [ - "RECORDING_UNSPECIFIED", - "RECORDING_INACTIVE", - "RECORDING_STARTING", - "RECORDING_STARTED" - ], - "enumDescriptions": [ - "This value is never used.", - "The conference is not being recorded. This can mean either that no recording has been started, or that a previous recording has stopped.", - "Recording is about to begin. The status will be updated to RECORDING_STARTED when the recording actually starts, which happens when all the backend plumbing is set up.", - "The recording is started. Any media sent to the conference may be included in the resulting recording." - ], - "type": "string" - } - }, - "type": "object" - }, - "RecordingSessionInfo": { - "description": "Information about a recording session.", - "id": "RecordingSessionInfo", - "properties": { - "ownerEmail": { - "description": "Input only. Deprecated field, should not be used.", - "type": "string" - }, - "recordingSessionId": { - "description": "A unique server-generated ID for the recording session.", - "type": "string" - }, - "sessionStateInfo": { - "$ref": "SessionStateInfo", - "description": "Recording session's state information." - } - }, - "type": "object" - }, - "Reference": { - "description": "All fields in this proto are now columns in spanner see google3/storage/slice/production/gmail/user_data_tables.pi for documentation.", - "id": "Reference", - "properties": { - "blobId": { - "type": "string" - }, - "contentType": { - "type": "string" - }, - "hash": { - "type": "string" - }, - "key": { - "description": "LINT.IfChange", - "type": "string" - }, - "name": { - "description": "LINT.ThenChange(//depot/google3/storage/slice/production/gmail/ user_data_tables.pi)", - "type": "string" - }, - "size": { - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "References": { - "id": "References", - "properties": { - "references": { - "items": { - "$ref": "Reference" - }, - "type": "array" - } - }, - "type": "object" - }, - "RemoveActivityRequest": { - "description": "Remove Logged Activity Request.", - "id": "RemoveActivityRequest", - "properties": { - "requestOptions": { - "$ref": "RequestOptions", - "description": "Request options, such as the search application and clientId." - }, - "userActivity": { - "$ref": "UserActivity", - "description": "User Activity containing the data to be deleted." - } - }, - "type": "object" - }, - "RemoveActivityResponse": { - "description": "Remove Logged Activity Response. will return an empty response for now. Will be revisited in later phases.", - "id": "RemoveActivityResponse", - "properties": {}, - "type": "object" - }, - "RenameEvent": { - "id": "RenameEvent", - "properties": { - "newName": { - "type": "string" - }, - "originalName": { - "type": "string" - } - }, - "type": "object" - }, - "RepositoryError": { - "description": "Errors when the connector is communicating to the source repository.", - "id": "RepositoryError", - "properties": { - "errorMessage": { - "description": "Message that describes the error. The maximum allowable length of the message is 8192 characters.", - "type": "string" - }, - "httpStatusCode": { - "description": "Error codes. Matches the definition of HTTP status codes.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "The type of error.", - "enum": [ - "UNKNOWN", - "NETWORK_ERROR", - "DNS_ERROR", - "CONNECTION_ERROR", - "AUTHENTICATION_ERROR", - "AUTHORIZATION_ERROR", - "SERVER_ERROR", - "QUOTA_EXCEEDED", - "SERVICE_UNAVAILABLE", - "CLIENT_ERROR" - ], - "enumDescriptions": [ - "Unknown error.", - "Unknown or unreachable host.", - "DNS problem, such as the DNS server is not responding.", - "Cannot connect to the repository server.", - "Failed authentication due to incorrect credentials.", - "Service account is not authorized for the repository.", - "Repository server error.", - "Quota exceeded.", - "Server temporarily unavailable.", - "Client-related error, such as an invalid request from the connector to the repository server." - ], - "type": "string" - } - }, - "type": "object" - }, - "RequestFileScope": { - "id": "RequestFileScope", - "properties": { - "itemId": { - "type": "string" - } - }, - "type": "object" - }, - "RequestFileScopeForActiveDocument": { - "id": "RequestFileScopeForActiveDocument", - "properties": {}, - "type": "object" - }, - "RequestOptions": { - "description": "Shared request options for all RPC methods.", - "id": "RequestOptions", - "properties": { - "debugOptions": { - "$ref": "DebugOptions", - "description": "Debug options of the request" - }, - "languageCode": { - "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. From Suggest API perspective, for 3p suggest this is used as a hint while making predictions to add language boosting.", - "type": "string" - }, - "searchApplicationId": { - "description": "The ID generated when you create a search application using the [admin console](https://support.google.com/a/answer/9043922).", - "type": "string" - }, - "timeZone": { - "description": "Current user's time zone id, such as \"America/Los_Angeles\" or \"Australia/Sydney\". These IDs are defined by [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/) project, and currently available in the file [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml). This field is used to correctly interpret date and time queries. If this field is not specified, the default time zone (UTC) is used.", - "type": "string" - } - }, - "type": "object" - }, - "RequiredMessageFeaturesMetadata": { - "description": "A list of capabilities that are used in this message.", - "id": "RequiredMessageFeaturesMetadata", - "properties": { - "requiredFeatures": { - "items": { - "enum": [ - "REQUIRED_FEATURE_UNSPECIFIED", - "REQUIRED_FEATURE_MESSAGE_QUOTING", - "REQUIRED_FEATURE_TOMBSTONES_IN_DMS_AND_UFRS", - "REQUIRED_FEATURE_CUSTOM_HYPERLINK", - "REQUIRED_FEATURE_DRIVE_SMART_CHIP", - "REQUIRED_FEATURE_LEGACY_TOPIC_START" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ResetSearchApplicationRequest": { - "id": "ResetSearchApplicationRequest", - "properties": { - "debugOptions": { - "$ref": "DebugOptions", - "description": "Common debug options." - } - }, - "type": "object" - }, - "ResourceRoleProto": { - "description": "A type of sharing target that points to some resource's ACL. Used to refer to the set of Principals that have the given privilege ('role_id') for the given resource ('application_id', 'object_id', 'object_part'). The meaning of 'role_id' is interpreted only by implementations of AclRpcService and is usually dependent on 'application_id' All fields except object_part are required. If present, object_part must be non-empty.", - "id": "ResourceRoleProto", - "properties": { - "applicationId": { - "type": "string" - }, - "objectId": { - "type": "string" - }, - "objectPart": { - "type": "string" - }, - "roleId": { - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "ResponseDebugInfo": { - "description": "Debugging information about the response.", - "id": "ResponseDebugInfo", - "properties": { - "formattedDebugInfo": { - "description": "General debug info formatted for display.", - "type": "string" - } - }, - "type": "object" - }, - "RestrictItem": { - "description": "Information relevant only to a restrict entry. NextId: 12", - "id": "RestrictItem", - "properties": { - "driveFollowUpRestrict": { - "$ref": "DriveFollowUpRestrict" - }, - "driveLocationRestrict": { - "$ref": "DriveLocationRestrict" - }, - "driveMimeTypeRestrict": { - "$ref": "DriveMimeTypeRestrict", - "description": "Drive Types." - }, - "driveTimeSpanRestrict": { - "$ref": "DriveTimeSpanRestrict" - }, - "searchOperator": { - "description": "The search restrict (e.g. \"after:2017-09-11 before:2017-09-12\").", - "type": "string" - } - }, - "type": "object" - }, - "ResultCounts": { - "description": "Result count information", - "id": "ResultCounts", - "properties": { - "sourceResultCounts": { - "description": "Result count information for each source with results.", - "items": { - "$ref": "SourceResultCount" - }, - "type": "array" - } - }, - "type": "object" - }, - "ResultDebugInfo": { - "description": "Debugging information about the result.", - "id": "ResultDebugInfo", - "properties": { - "formattedDebugInfo": { - "description": "General debug info formatted for display.", - "type": "string" - } - }, - "type": "object" - }, - "ResultDisplayField": { - "description": "Display Fields for Search Results", - "id": "ResultDisplayField", - "properties": { - "label": { - "description": "The display label for the property.", - "type": "string" - }, - "operatorName": { - "description": "The operator name of the property.", - "type": "string" - }, - "property": { - "$ref": "NamedProperty", - "description": "The name value pair for the property." - } - }, - "type": "object" - }, - "ResultDisplayLine": { - "description": "The collection of fields that make up a displayed line", - "id": "ResultDisplayLine", - "properties": { - "fields": { - "items": { - "$ref": "ResultDisplayField" - }, - "type": "array" - } - }, - "type": "object" - }, - "ResultDisplayMetadata": { - "id": "ResultDisplayMetadata", - "properties": { - "metalines": { - "description": "The metalines content to be displayed with the result.", - "items": { - "$ref": "ResultDisplayLine" - }, - "type": "array" - }, - "objectTypeLabel": { - "description": "The display label for the object.", - "type": "string" - } - }, - "type": "object" - }, - "RetrievalImportance": { - "id": "RetrievalImportance", - "properties": { - "importance": { - "description": "Indicates the ranking importance given to property when it is matched during retrieval. Once set, the token importance of a property cannot be changed.", - "enum": [ - "DEFAULT", - "HIGHEST", - "HIGH", - "LOW", - "NONE" - ], - "enumDescriptions": [ - "Treat the match like a body text match.", - "Treat the match like a match against title of the item.", - "Treat the match with higher importance than body text.", - "Treat the match with lower importance than body text.", - "Do not match against this field during retrieval. The property can still be used for operator matching, faceting, and suggest if desired." - ], - "type": "string" - } - }, - "type": "object" - }, - "RoomRenameMetadata": { - "id": "RoomRenameMetadata", - "properties": { - "newName": { - "type": "string" - }, - "prevName": { - "description": "NEXT_TAG: 3", - "type": "string" - } - }, - "type": "object" - }, - "RoomUpdatedMetadata": { - "id": "RoomUpdatedMetadata", - "properties": { - "groupDetailsMetadata": { - "$ref": "GroupDetailsUpdatedMetadata" - }, - "groupLinkSharingEnabled": { - "type": "boolean" - }, - "initiator": { - "$ref": "User", - "description": "The user who initiated this room update. Complete member profiles, when ListTopicsRequest FetchOptions.USER is set. Otherwise, only the id will be filled in." - }, - "initiatorType": { - "description": "The type of the user who initiated this room update.", - "enum": [ - "INITIATOR_TYPE_UNSPECIFIED", - "INITIATOR_TYPE_END_USER", - "INITIATOR_TYPE_ADMIN" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, - "name": { - "description": "What was updated in the room.", - "type": "string" - }, - "renameMetadata": { - "$ref": "RoomRenameMetadata" - }, - "visibility": { - "$ref": "AppsDynamiteSharedGroupVisibility", - "description": "DEPRECATED: See GroupVisibility proto definition." - } - }, - "type": "object" - }, - "Roster": { - "description": "Roster profile information.", - "id": "Roster", - "properties": { - "avatarUrl": { - "type": "string" - }, - "id": { - "$ref": "RosterId" - }, - "isMembershipVisibleToCaller": { - "description": "Whether caller has visibility into members of the roster.", - "type": "boolean" - }, - "membershipCount": { - "format": "int32", - "type": "integer" - }, - "name": { - "type": "string" - }, - "rosterGaiaKey": { - "description": "Roster gaia key, usually an email address. Set in looking up rosters response.", - "type": "string" - }, - "rosterState": { - "description": "Roster deletion state - considered active unless set to deleted", - "enum": [ - "ROSTER_STATE_UNKNOWN", - "ROSTER_ACTIVE", - "ROSTER_DELETED" - ], - "enumDescriptions": [ - "", - "Roster is active", - "Roster deleted" - ], - "type": "string" - }, - "segmentedMembershipCounts": { - "$ref": "AppsDynamiteSharedSegmentedMembershipCounts", - "description": "Roster membership count. May contain counts based on member type and membership state." - } - }, - "type": "object" - }, - "RosterId": { - "description": "Primary key for Roster resource.", - "id": "RosterId", - "properties": { - "id": { - "description": "Opaque, server-assigned ID of the Roster.", - "type": "string" - } - }, - "type": "object" - }, - "RpcOptions": { - "description": "Options for Triggers dispatched via RPC.", - "id": "RpcOptions", - "properties": { - "requestExtensions": { - "$ref": "MessageSet", - "description": "The RPC's request extensions (i.e. RPC::request_extensions(), a.k.a. the Stubby side channel) will be merged with the specified [request_extensions]. When Triggers are batched, the RPC's request extensions will be merged with all of the [request_extensions] of the Triggers in the batch. Note that merging of request extensions follows standard protocol buffer semantics; values of singular fields override previous values, and values of repeated fields are appended (In the case of Triggers, Triggers with later fire times will be merged after Triggers with earlier fire times in the same batch). It is not advised to specify extensions with repeated fields on batchable Triggers." - } - }, - "type": "object" - }, - "SafeHtmlProto": { - "description": "IMPORTANT: It is unsafe to accept this message from an untrusted source, since it's trivial for an attacker to forge serialized messages that don't fulfill the type's safety contract -- for example, it could contain attacker controlled script. A system which receives a SafeHtmlProto implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe to return this message in RPC responses, but generally unsafe to accept it in RPC requests.", - "id": "SafeHtmlProto", - "properties": { - "privateDoNotAccessOrElseSafeHtmlWrappedValue": { - "description": "IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read this message.", - "type": "string" - } - }, - "type": "object" - }, - "SafeUrlProto": { - "description": "Message containing a string that is safe to use in URL contexts in DOM APIs and HTML documents, where the URL context does not refer to a resource that loads code.", - "id": "SafeUrlProto", - "properties": { - "privateDoNotAccessOrElseSafeUrlWrappedValue": { - "description": "IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read this message.", - "type": "string" - } - }, - "type": "object" - }, - "Schema": { - "description": "The schema definition for a data source.", - "id": "Schema", - "properties": { - "objectDefinitions": { - "description": "The list of top-level objects for the data source. The maximum number of elements is 10.", - "items": { - "$ref": "ObjectDefinition" - }, - "type": "array" - }, - "operationIds": { - "description": "IDs of the Long Running Operations (LROs) currently running for this schema. After modifying the schema, wait for operations to complete before indexing additional content.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ScoringConfig": { - "description": "Scoring configurations for a source while processing a Search or Suggest request.", - "id": "ScoringConfig", - "properties": { - "disableFreshness": { - "description": "Whether to use freshness as a ranking signal. By default, freshness is used as a ranking signal. Note that this setting is not available in the Admin UI.", - "type": "boolean" - }, - "disablePersonalization": { - "description": "Whether to personalize the results. By default, personal signals will be used to boost results.", - "type": "boolean" - } - }, - "type": "object" - }, - "SearchApplication": { - "description": "SearchApplication", - "id": "SearchApplication", - "properties": { - "dataSourceRestrictions": { - "description": "Retrictions applied to the configurations. The maximum number of elements is 10.", - "items": { - "$ref": "DataSourceRestriction" - }, - "type": "array" - }, - "defaultFacetOptions": { - "description": "The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above.", - "items": { - "$ref": "FacetOptions" - }, - "type": "array" - }, - "defaultSortOptions": { - "$ref": "SortOptions", - "description": "The default options for sorting the search results" - }, - "displayName": { - "description": "Display name of the Search Application. The maximum length is 300 characters.", - "type": "string" - }, - "enableAuditLog": { - "description": "Indicates whether audit logging is on/off for requests made for the search application in query APIs.", - "type": "boolean" - }, - "name": { - "description": "The name of the Search Application. Format: searchapplications/{application_id}.", - "type": "string" - }, - "operationIds": { - "description": "Output only. IDs of the Long Running Operations (LROs) currently running for this schema. Output only field.", - "items": { - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "queryInterpretationConfig": { - "$ref": "QueryInterpretationConfig", - "description": "The default options for query interpretation" - }, - "returnResultThumbnailUrls": { - "description": "With each result we should return the URI for its thumbnail (when applicable)", - "type": "boolean" - }, - "scoringConfig": { - "$ref": "ScoringConfig", - "description": "Configuration for ranking results." - }, - "sourceConfig": { - "description": "Configuration for a sources specified in data_source_restrictions.", - "items": { - "$ref": "SourceConfig" - }, - "type": "array" - } - }, - "type": "object" - }, - "SearchApplicationQueryStats": { - "description": "Search application level query stats per date", - "id": "SearchApplicationQueryStats", - "properties": { - "date": { - "$ref": "Date", - "description": "The date for which query stats were calculated. Stats calculated on the next day close to midnight are returned." - }, - "queryCountByStatus": { - "items": { - "$ref": "QueryCountByStatus" - }, - "type": "array" - } - }, - "type": "object" - }, - "SearchApplicationSessionStats": { - "id": "SearchApplicationSessionStats", - "properties": { - "date": { - "$ref": "Date", - "description": "The date for which session stats were calculated. Stats are calculated on the following day, close to midnight PST, and then returned." - }, - "searchSessionsCount": { - "description": "The count of search sessions on the day", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "SearchApplicationUserStats": { - "id": "SearchApplicationUserStats", - "properties": { - "date": { - "$ref": "Date", - "description": "The date for which session stats were calculated. Stats calculated on the next day close to midnight are returned." - }, - "oneDayActiveUsersCount": { - "description": "The count of unique active users in the past one day", - "format": "int64", - "type": "string" - }, - "sevenDaysActiveUsersCount": { - "description": "The count of unique active users in the past seven days", - "format": "int64", - "type": "string" - }, - "thirtyDaysActiveUsersCount": { - "description": "The count of unique active users in the past thirty days", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "SearchItemsByViewUrlRequest": { - "id": "SearchItemsByViewUrlRequest", - "properties": { - "debugOptions": { - "$ref": "DebugOptions", - "description": "Common debug options." - }, - "pageToken": { - "description": "The next_page_token value returned from a previous request, if any.", - "type": "string" - }, - "viewUrl": { - "description": "Specify the full view URL to find the corresponding item. The maximum length is 2048 characters.", - "type": "string" - } - }, - "type": "object" - }, - "SearchItemsByViewUrlResponse": { - "id": "SearchItemsByViewUrlResponse", - "properties": { - "items": { - "items": { - "$ref": "Item" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", - "type": "string" - } - }, - "type": "object" - }, - "SearchLinkData": { - "description": "SearchLink metadata, for SEARCH_LINK segments. For a search link, the \"text\" field should contain the display text. This is currently not indexed.", - "id": "SearchLinkData", - "properties": { - "kgEntityConfidence": { - "description": "For lightweight scoring in serving time.", - "format": "float", - "type": "number" - }, - "mid": { - "description": "MID of the KG entity being linked.", - "type": "string" - }, - "queryBroadnessScore": { - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "SearchQualityMetadata": { - "description": "Additional search quality metadata of the item.", - "id": "SearchQualityMetadata", - "properties": { - "quality": { - "description": "An indication of the quality of the item, used to influence search quality. Value should be between 0.0 (lowest quality) and 1.0 (highest quality). The default value is 0.0.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "SearchRequest": { - "description": "The search API request.", - "id": "SearchRequest", - "properties": { - "contextAttributes": { - "description": "Context attributes for the request which will be used to adjust ranking of search results. The maximum number of elements is 10.", - "items": { - "$ref": "ContextAttribute" - }, - "type": "array" - }, - "dataSourceRestrictions": { - "description": "The sources to use for querying. If not specified, all data sources from the current search application are used.", - "items": { - "$ref": "DataSourceRestriction" - }, - "type": "array" - }, - "facetOptions": { - "items": { - "$ref": "FacetOptions" - }, - "type": "array" - }, - "pageSize": { - "description": "Maximum number of search results to return in one page. Valid values are between 1 and 100, inclusive. Default value is 10. Minimum value is 50 when results beyond 2000 are requested.", - "format": "int32", - "type": "integer" - }, - "query": { - "description": "The raw query string. See supported search operators in the [Narrow your search with operators](https://support.google.com/cloudsearch/answer/6172299)", - "type": "string" - }, - "queryInterpretationOptions": { - "$ref": "QueryInterpretationOptions", - "description": "Options to interpret the user query." - }, - "requestOptions": { - "$ref": "RequestOptions", - "description": "Request options, such as the search application and user timezone." - }, - "sortOptions": { - "$ref": "SortOptions", - "description": "The options for sorting the search results" - }, - "start": { - "description": "Starting index of the results.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "SearchResponse": { - "description": "The search API response.", - "id": "SearchResponse", - "properties": { - "debugInfo": { - "$ref": "ResponseDebugInfo", - "description": "Debugging information about the response." - }, - "errorInfo": { - "$ref": "ErrorInfo", - "description": "Error information about the response." - }, - "facetResults": { - "description": "Repeated facet results.", - "items": { - "$ref": "FacetResult" - }, - "type": "array" - }, - "hasMoreResults": { - "description": "Whether there are more search results matching the query.", - "type": "boolean" - }, - "queryInterpretation": { - "$ref": "QueryInterpretation", - "description": "Query interpretation result for user query. Empty if query interpretation is disabled." - }, - "resultCountEstimate": { - "description": "The estimated result count for this query.", - "format": "int64", - "type": "string" - }, - "resultCountExact": { - "description": "The exact result count for this query.", - "format": "int64", - "type": "string" - }, - "resultCounts": { - "$ref": "ResultCounts", - "description": "Expanded result count information." - }, - "results": { - "description": "Results from a search query.", - "items": { - "$ref": "SearchResult" - }, - "type": "array" - }, - "spellResults": { - "description": "Suggested spelling for the query.", - "items": { - "$ref": "SpellResult" - }, - "type": "array" - }, - "structuredResults": { - "description": "Structured results for the user query. These results are not counted against the page_size.", - "items": { - "$ref": "StructuredResult" - }, - "type": "array" - } - }, - "type": "object" - }, - "SearchResult": { - "description": "Results containing indexed information for a document.", - "id": "SearchResult", - "properties": { - "clusteredResults": { - "description": "If source is clustered, provide list of clustered results. There will only be one level of clustered results. If current source is not enabled for clustering, this field will be empty.", - "items": { - "$ref": "SearchResult" - }, - "type": "array" - }, - "debugInfo": { - "$ref": "ResultDebugInfo", - "description": "Debugging information about this search result." - }, - "metadata": { - "$ref": "Metadata", - "description": "Metadata of the search result." - }, - "snippet": { - "$ref": "Snippet", - "description": "The concatenation of all snippets (summaries) available for this result." - }, - "title": { - "description": "Title of the search result.", - "type": "string" - }, - "url": { - "description": "The URL of the search result. The URL contains a Google redirect to the actual item. This URL is signed and shouldn't be changed.", - "type": "string" - } - }, - "type": "object" - }, - "Section": { - "description": "Sections are separated by a line divider. They contain a collection of widgets that are rendered (vertically) in the order that they are specified. Across all platforms, AddOns have a narrow fixed width, so there is currently no need for layout properties (e.g. float).", - "id": "Section", - "properties": { - "collapsable": { - "description": "Indicating whether this section is collapsable. If a section is collapsable, the description must be given.", - "type": "boolean" - }, - "description": { - "description": "The header of the section, text formatted supported.", - "type": "string" - }, - "numUncollapsableWidgets": { - "description": "The number of uncollapsable widgets. For example, when a section contains 5 widgets and the num_uncollapsable_widget are set to be 2, The first 2 widgets will always shown and the last 3 is collapsed as default. Only when collapsable is set to be true, the num_uncollapsable_widget will be taken into account.", - "format": "int32", - "type": "integer" - }, - "widgets": { - "description": "A section must contain at least 1 widget.", - "items": { - "$ref": "WidgetMarkup" - }, - "type": "array" - } - }, - "type": "object" - }, - "Segment": { - "id": "Segment", - "properties": { - "formatting": { - "$ref": "Formatting", - "description": "Formatting to be applied when rendering the Segment. For all segment types, this is the standard way of representing that the Segment should be rendered in bold, italics, etc." - }, - "hashtagData": { - "$ref": "HashtagData", - "description": "For HASHTAG type:" - }, - "linkData": { - "$ref": "LinkData", - "description": "Type-specific metadata. At most one of these should be populated, and the one that is populated should correspond to the type of the Segment. For LINK type:" - }, - "searchLinkData": { - "$ref": "SearchLinkData", - "description": "For SEARCH_LINK type:" - }, - "text": { - "description": "Text content of the Segment. As a general rule, this field should contain the actual text that should be rendered in the UI. Thus, for a hashtag, it should be \"#Foo\", and for a link, it should be the display text. Clients that do not understand a particular segment type may use this text, along with the Formatting info below, as a fallback for display. The field is not required -- if all relevant information is carried in other metadata fields and there is no need for a fallback, or it is not practical for a fallback to be provided for any other reason, the field may be left blank. A standard example would be a user reference being transmitted between server layers, where a gaia-ID representation may be sufficient and there is no need for a textual fallback. In such a case, it would be valid and useful - though not required - for servers to compute and populate a fallback on the serving path.", - "type": "string" - }, - "type": { - "description": "Type of Segment.", - "enum": [ - "TEXT", - "LINE_BREAK", - "LINK", - "USER_MENTION", - "ALL_USER_MENTION", - "HASHTAG", - "SEARCH_LINK" - ], - "enumDescriptions": [ - "A TEXT segment represents plain-text subject to particular formatting constraints (as represented in the \"formatting\" field of the Segment).", - "A LINE_BREAK segment is simply a placeholder to represent a line break between other segments. The \"text\" variable may be set to a newline as a fallback, but clients that understand this segment type should simply insert a line break without needing to reference any fields.", - "A LINK segment represents a link to a web entity. The \"text\" field should be used for anchor text. Additional link data should be put in the link_data protobuf.", - "A USER_MENTION segment represents a reference to a (possibly non-Gaia, possibly off-network) user. The \"text\" field may be populated as a fallback, but information identifying the user should be contained in the user_mention_data protobuf. (The set of fields that are populated in user_mention_data may differ depending on the context in which the segment is viewed, but the interpretation of the fields is uniform. See comments over UserMentionData).", - "An ALL_USER_MENTION segment represents a reference to all users in the context, that is, the conversation, discussion, or other context containing the segment. For example, an ALL_USER_MENTION segment (\"@all\") can be useful to ping all participants in a conversation if the notification setting of the conversation is not set to ping on normal messages. An ALL_USER_MENTION should be treated as a USER_MENTION for all users who receives the segment.", - "A HASHTAG segment represents a structured reference to a topic. The \"text\" field should represent display text (e.g. \"#Google\"), and additional metadata should be put in the Segment's hashtag_data field.", - "A SEARCH_LINK segment respresents a link to search results for a KG entity. The \"text\" field should represent the part of the comment where the KG entity is extracted from, and additional metadata of the entity should be put in the Segment's search_link_data field." - ], - "type": "string" - }, - "userMentionData": { - "$ref": "UserMentionData", - "description": "For USER_MENTION type:" - } - }, - "type": "object" - }, - "SelectionControl": { - "id": "SelectionControl", - "properties": { - "items": { - "description": "For radio button, at most one of the items will be selected.", - "items": { - "$ref": "SelectionItem" - }, - "type": "array" - }, - "label": { - "description": "Label used to be displayed ahead of the selection control. It is optional.", - "type": "string" - }, - "name": { - "description": "The name of the text field which is will be used in FormInput.", - "type": "string" - }, - "onChange": { - "$ref": "FormAction", - "description": "If specified, form is submitted when selection changed. If not specified, developer will need to specify a separate button." - }, - "type": { - "enum": [ - "CHECK_BOX", - "RADIO_BUTTON", - "SWITCH", - "DROPDOWN" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "SelectionItem": { - "id": "SelectionItem", - "properties": { - "selected": { - "description": "If more than one items are selected for RADIO_BUTTON and DROPDOWN, the first selected item is treated as sElected and the after ones are all ignored.", - "type": "boolean" - }, - "text": { - "description": "The text to be displayed.", - "type": "string" - }, - "value": { - "description": "The value associated with this item which will be sent back to app scripts. Client should use as a form input value.", - "type": "string" - } - }, - "type": "object" - }, - "SessionContext": { - "id": "SessionContext", - "properties": { - "authTime": { - "description": "Time at which this activity's session was authenticated, in seconds since the epoch.", - "format": "int64", - "type": "string" - }, - "delegateUserId": { - "description": "Gaia ID of the authenticated user when delegate access is active. In such sessions the main gaia ID is that of the delegator, i.e. the account being accessed.", - "format": "int64", - "type": "string" - }, - "dusi": { - "description": "Device User Session ID, see go/dusi.", - "type": "string" - }, - "imapSessionContext": { - "$ref": "ImapSessionContext", - "description": "Imap session context for Bond/Gmail integration" - }, - "oauthLoginId": { - "description": "OAuth login ID.", - "format": "int32", - "type": "integer" - }, - "oauthProjectId": { - "description": "The devconsole project ID of the developer who authenticated with OAuth.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "SessionEvent": { - "description": "A session event is something that happens to the streaming session in a conference.", - "id": "SessionEvent", - "properties": { - "deviceId": { - "description": "The initiator of the latest event of the streaming session. It will be set for all user events (`type` is 100-199) and unset for all server events(`type` is 200-299).", - "type": "string" - }, - "type": { - "description": "The type of event.", - "enum": [ - "EVENT_UNSPECIFIED", - "STARTED_BY_USER", - "STOPPED_BY_USER", - "CANCELLED_BY_USER", - "CANCELLED_INITIALIZATION_FAILED", - "CANCELLED_INITIATOR_LEFT", - "ACTIVE_ABOUT_TO_STOP_TOO_LONG", - "STOPPED_TOO_LONG", - "STOPPED_ALL_DEVICES_LEFT", - "STOPPED_INTERNAL_FAILURES" - ], - "enumDescriptions": [ - "This is never used.", - "Streaming session was started or is being started by a user.", - "Streaming session was stopped by a user.", - "Streaming session was cancelled by a user.", - "Streaming session was cancelled by the server because of a failure during session initialization.", - "Streaming session was cancelled by the server because the session initiator left the conference during initialization. When the initiator leaves after the session is started, no event is triggered.", - "Streaming session is about to be stopped by the server because the session is about to reach the maximum duration.", - "Streaming session was stopped because the session reached the maximum duration.", - "Streaming session was stopped because there were no devices left in the conference.", - "Streaming session was stopped because of an internal error." - ], - "type": "string" - } - }, - "type": "object" - }, - "SessionStateInfo": { - "description": "Information about the state of a (recording, broadcast, transcription...) session in a conference.", - "id": "SessionStateInfo", - "properties": { - "ackInfo": { - "$ref": "AckInfo", - "description": "Output only. The ack info of the session.", - "readOnly": true - }, - "languageConfig": { - "$ref": "LanguageConfig", - "description": "Immutable. The language configuration used by this session. When empty, captions will be disabled. It's a required field for transcription sessions." - }, - "lastActorDeviceId": { - "description": "Output only. The device id of the actor is set if the current state is a result of a user action, is empty otherwise.", - "readOnly": true, - "type": "string" - }, - "maxEndTime": { - "description": "Output only. The max end time of the session, at this time the session will be force stopped/terminated. Clients are expected to use this timestamp to warn users about the force stop.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "sessionState": { - "description": "State of the session.", - "enum": [ - "SESSION_STATE_UNSPECIFIED", - "STARTING", - "ACTIVE", - "STOPPED" - ], - "enumDescriptions": [ - "Unspecified session state.", - "The session is starting.", - "The session is active/ongoing.", - "The session has stopped." - ], - "type": "string" - }, - "sessionStopReason": { - "description": "Output only. The reason the session was transitioned to STOPPED state.", - "enum": [ - "SESSION_STOP_REASON_UNSPECIFIED", - "USER_ACTION", - "STOPPED_INITIALIZATION_FAILED", - "STOPPED_TOO_LONG", - "STOPPED_ALL_DEVICES_LEFT", - "STOPPED_INTERNAL_FAILURES", - "STOPPED_YOU_TUBE_LIVE_EVENT_ENDED" - ], - "enumDescriptions": [ - "Session stop reason unspecified.", - "Stopped by user action.", - "Stopped by the server because of an initialization failure.", - "Stopped because the session reached the maximum duration.", - "Stopped because there were no devices left in the conference.", - "Stopped because of an internal error.", - "Stopped because the broadcast event ended on YouTube." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "Settings": { - "description": "Settings of a meeting space that can be edited by users with corresponding manage privilege. These settings are always populated in responses.", - "id": "Settings", - "properties": { - "accessLock": { - "description": "The access lock of the meeting space that lets hosts control who can join the meeting.", - "type": "boolean" - }, - "accessType": { - "description": "The access type of the meeting space.", - "enum": [ - "ACCESS_TYPE_UNSPECIFIED", - "ACCESS_TYPE_OPEN", - "ACCESS_TYPE_TRUSTED", - "ACCESS_TYPE_RESTRICTED", - "ACCESS_TYPE_CLOSED" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "Anyone with meeting join information (url, phone access...) can join, no knocking required. (Subject to organization policies)", - "Members of the Host's organization, invited external users, and dial-in users can join without knocking, everyone else must knock. (Subject to organization policies)", - "Only participants invited by a host can automatically join, everyone else must knock and be admitted. (Subject to organization policies) Participants cannot dial out from the meeting. And only hosts can accept knocks.", - "Only participants invited by a host can join. Knocking is not allowed, dial in and dial out are also disabled." - ], - "type": "string" - }, - "allowJoiningBeforeHost": { - "description": "Whether users can join before host in the conferences of this meeting space.", - "type": "boolean" - }, - "attendanceReportEnabled": { - "description": "Whether attendance report is enabled for the meeting space.", - "type": "boolean" - }, - "chatLock": { - "description": "The chat lock of the meeting space that lets owner control whether the participants can send chat messages.", - "type": "boolean" - }, - "coActivityLock": { - "description": "The co-activity lock of the meeting space that lets owner control whether the participants can start/stop or update the state of co-activity.", - "type": "boolean" - }, - "cohostArtifactSharingEnabled": { - "description": "Whether meeting artifacts will be shared with cohosts.", - "type": "boolean" - }, - "cseEnabled": { - "description": "Whether Client-side Encryption is enabled for the meeting space.", - "type": "boolean" - }, - "defaultAsViewer": { - "description": "Whether the default role is viewer or not.", - "type": "boolean" - }, - "moderationEnabled": { - "description": "Indicates whether the meeting space is moderated.", - "type": "boolean" - }, - "presentLock": { - "description": "The present lock of the meeting space that lets owner control whether the participants can present their screen.", - "type": "boolean" - }, - "reactionsLock": { - "description": "The reactions lock of the meeting space that lets owner control whether the participants can send reactions.", - "type": "boolean" - } - }, - "type": "object" - }, - "ShareScope": { - "id": "ShareScope", - "properties": { - "domain": { - "description": "If scope is DOMAIN, this field contains the dasher domain, for example \"google.com\".", - "type": "string" - }, - "scope": { - "description": "The scope to which the content was shared.", - "enum": [ - "UNKNOWN", - "PRIVATE", - "LIMITED", - "EXTENDED", - "DASHER_DOMAIN", - "PUBLIC" - ], - "enumDescriptions": [ - "", - "Only the author can view the post.", - "Viewable only by a set of people.", - "Viewable by extended circles.", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "SheetsClientActionMarkup": { - "id": "SheetsClientActionMarkup", - "properties": { - "customFunctionReturnValueMarkup": { - "$ref": "CustomFunctionReturnValueMarkup" - } - }, - "type": "object" - }, - "SigningKeyPossessorProto": { - "description": "Represents a principal who possesses a signing key corresponding to the verification key or keyset described here.", - "id": "SigningKeyPossessorProto", - "properties": { - "keymasterKeyType": { - "description": "This value must be from the KeyMetadata.Type enum in keymaster.proto.", - "format": "int32", - "type": "integer" - }, - "serializedVerificationKey": { - "description": "The actual verification key bytes corresponding to the above type.", - "format": "byte", - "type": "string" - }, - "serializedVerificationKeyset": { - "description": "The binary serialized Keymaster SerializedReader of a public keyset. The keyset must contain exactly one key. N.B.: If this field is populated, serialized_verification_key should be set to the empty string and keymaster_key_type should be set to zero.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "SimpleSecretHolderProto": { - "description": "Represents a principal which possesses a particular, presumably secret, string. Useful for things like \"auth keys,\" used for anonymous sharing. Since representing this principal with the actual secret included reveals the secret, it's best if the requisite condition is enforced in some other way, for example via Keystore wrapping attributes (Keystore will unwrap only if the specified secret, aka \"attribute\", is presented). All that's stored here is an identifying label.", - "id": "SimpleSecretHolderProto", - "properties": { - "label": { - "$ref": "SimpleSecretLabelProto", - "description": "A descriptive label to help identify a relevant ACL entry or otherwise disambiguate this instance." - } - }, - "type": "object" - }, - "SimpleSecretLabelProto": { - "description": "SimpleSecretProto (in authenticator.proto) and SimpleSecretHolderProto (below) share the notion of a \"label\", which identifies a particular secret without (hopefully) revealing the secret. Note that a SimpleSecretLabel only disambiguates between secrets used to get access to some particular object. Two different secrets that apply to two different objects could have the same label. For example, in the common sharing model, each object has no more than one \"auth key\". Therefore, the label for an auth key simply has type = AUTH_KEY with no additional information. In theory, we could add some sort of resource ID to SimpleSecretLabel to make it more explicit. However, in practice, this is never really needed. A SimpleSecret for one object is never used to authorize a request on some other object, so there is no ambiguity. Also, since SimpleSecrets must obviously be unguessable, there is no risk that a SimpleSecret intended for one object will accidentally grant access to another.", - "id": "SimpleSecretLabelProto", - "properties": { - "capabilityId": { - "description": "***DEPRECATED (3-Oct-2011) *** This field should be deleted when code stops using CAP_TOKEN labels. Used when type = CAP_TOKEN. When a CAP_TOKEN label appears in a SimpleSecretHolder Principal, |capability_id| must be filled in to identify one of the capabilities on the ACL. When a CAP_TOKEN label appears in a SimpleSecret Authenticator, it is NOT necessary to fill in |capability_id| -- ACL Service will find the ID by searching all capabilities on the ACL for one associated with the token given by the SimpleSecret's secret data. If |capability_id| is specified, though, then the Authenticator will only be accepted if it actually matches that particular token ID.", - "format": "int32", - "type": "integer" - }, - "genericLabel": { - "description": "Used when type = GENERIC_SECRET", - "format": "byte", - "type": "string" - }, - "inviteId": { - "description": "Used when type == INVITE.", - "format": "int64", - "type": "string" - }, - "type": { - "description": "This is optional because required enums cannot be extended.", - "enum": [ - "INVALID", - "AUTH_KEY", - "INVITE", - "GENERIC_SECRET", - "CAP_TOKEN", - "REKE" - ], - "enumDescriptions": [ - "Used as a default value.", - "The singleton auth key for a common-sharing ACL. No other fields of SimpleSecretLabelProto need to be filled in, since there is only one of these per ACL. The corresponding secret is the auth key encoded in 64-bit big-endian.", - "A common-sharing invite token. |invite_id| (below) must be set to identify the invite. The corresponding secret is the SecretMaterial, as defined by InviteToken.SecretMaterial in acl.proto, encoded in 64-bit big-endian. If there is no SecretMaterial, the secret should be omitted; in this case the invite ID itself is the secret, which is less secure.", - "A generic secret value. Do not use this if any more specific type is appropriate.", - "***DEPRECATED (3-Oct-2011)*** Use the new CapTokenProto and CapTokenHolderProto instead. A capability token. The corresponding secret is an arbitrary-length random byte string (recommended: 128 bits). |capability_id| may be filled in (see below). See CapTokenMetadata in acl.proto.", - "Identifies a principal that can perform a successful REKE handshake. The holder is not authenticated by presenting a SimpleSecretProto, but rather by knowing either the REKE resumption ticket secret or the private key corresponding to a public key specified outside the PrincipalProto. For more information, see: http://goto.google.com/loas2cert" - ], - "type": "string" - } - }, - "type": "object" - }, - "SlashCommandMetadata": { - "description": "Annotation metadata for slash commands (/).", - "id": "SlashCommandMetadata", - "properties": { - "argumentsHint": { - "description": "Hint string for the arguments expected by the slash command.", - "type": "string" - }, - "commandId": { - "description": "Unique id for the slash command.", - "format": "int64", - "type": "string" - }, - "commandName": { - "description": "Name of the slash command.", - "type": "string" - }, - "id": { - "$ref": "UserId", - "description": "ID of the bot which owns the slash command." - }, - "triggersDialog": { - "description": "Whether or not this slash command should trigger a dialog.", - "type": "boolean" - }, - "type": { - "enum": [ - "TYPE_UNSPECIFIED", - "ADD", - "INVOKE", - "FAILED_TO_ADD" - ], - "enumDescriptions": [ - "Default value for the enum. DO NOT USE.", - "If a bot is added by a Slash Command, it means the bot was invoked by the user but hasn't yet been added to the group. Attaching an ADD annotation both add and invoke the bot.", - "", - "Server-generated slash command metadata, for clients to strikethrough." - ], - "type": "string" - } - }, - "type": "object" - }, - "Snippet": { - "description": "Snippet of the search result, which summarizes the content of the resulting page.", - "id": "Snippet", - "properties": { - "matchRanges": { - "description": "The matched ranges in the snippet.", - "items": { - "$ref": "MatchRange" - }, - "type": "array" - }, - "snippet": { - "description": "The snippet of the document. The snippet of the document. May contain escaped HTML character that should be unescaped prior to rendering.", - "type": "string" - } - }, - "type": "object" - }, - "SocialCommonAttachmentAttachment": { - "description": "An Attachment represents a linked entity associated with a piece of social content. This may be a 1st-party or 3rd-party entity. In the Papyrus context, an Attachment is part of a Cent, and sits alongside the main content of the cent, which is represented as a sequence of Segments. Right now an Attachment is just a wrapper around an Embed, but we provide the extra layer of abstraction since, as Embeds move to separate storage in Briefcase, we may want to add additional fields that are not part of the Embed proper, but that (for example) relate to the usage of the linked content within the particular post/cent.", - "id": "SocialCommonAttachmentAttachment", - "properties": { - "embedItem": { - "$ref": "EmbedClientItem", - "description": "An embed represents an external entity. See go/es-embeds." - }, - "id": { - "description": "An id to uniquely identify an attachment when several attachments are in a collection.", - "type": "string" - } - }, - "type": "object" - }, - "SocialGraphNodeProto": { - "description": "Represents a user pseudonym. Pseudonyms are linked accounts on Google and third-party services (e.g. YouTube or Twitter) and are described by a Social Graph Node.", - "id": "SocialGraphNodeProto", - "properties": { - "sgnDomain": { - "description": "The fields from ccc/socialgraph/socialgraphnode.proto:SgnNode that uniquely identify a social graph node. The 'ident' field is not included here because its value can be changed.", - "type": "string" - }, - "sgnPk": { - "type": "string" - } - }, - "type": "object" - }, - "SortOptions": { - "id": "SortOptions", - "properties": { - "operatorName": { - "description": "The name of the operator corresponding to the field to sort on. The corresponding property must be marked as sortable.", - "type": "string" - }, - "sortOrder": { - "description": "Ascending is the default sort order", - "enum": [ - "ASCENDING", - "DESCENDING" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "Source": { - "description": "Defines sources for the suggest/search APIs.", - "id": "Source", - "properties": { - "name": { - "description": "Source name for content indexed by the Indexing API.", - "type": "string" - }, - "predefinedSource": { - "description": "Predefined content source for Google Apps.", - "enum": [ - "NONE", - "QUERY_HISTORY", - "PERSON", - "GOOGLE_DRIVE", - "GOOGLE_GMAIL", - "GOOGLE_SITES", - "GOOGLE_GROUPS", - "GOOGLE_CALENDAR", - "GOOGLE_KEEP" - ], - "enumDescriptions": [ - "", - "Suggests queries issued by the user in the past. Only valid when used with the suggest API. Ignored when used in the query API.", - "Suggests people in the organization. Only valid when used with the suggest API. Results in an error when used in the query API.", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "SourceConfig": { - "description": "Configurations for a source while processing a Search or Suggest request.", - "id": "SourceConfig", - "properties": { - "crowdingConfig": { - "$ref": "SourceCrowdingConfig", - "description": "The crowding configuration for the source." - }, - "scoringConfig": { - "$ref": "SourceScoringConfig", - "description": "The scoring configuration for the source." - }, - "source": { - "$ref": "Source", - "description": "The source for which this configuration is to be used." - } - }, - "type": "object" - }, - "SourceCrowdingConfig": { - "description": "Set search results crowding limits. Crowding is a situation in which multiple results from the same source or host \"crowd out\" other results, diminishing the quality of search for users. To foster better search quality and source diversity in search results, you can set a condition to reduce repetitive results by source.", - "id": "SourceCrowdingConfig", - "properties": { - "numResults": { - "description": "Maximum number of results allowed from a datasource in a result page as long as results from other sources are not exhausted. Value specified must not be negative. A default value is used if this value is equal to 0. To disable crowding, set the value greater than 100.", - "format": "int32", - "type": "integer" - }, - "numSuggestions": { - "description": "Maximum number of suggestions allowed from a source. No limits will be set on results if this value is less than or equal to 0.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "SourceMessageInfo": { - "id": "SourceMessageInfo", - "properties": { - "messageId": { - "$ref": "MessageId", - "description": "Source message ID" - }, - "messageType": { + "code": { + "description": "Error code indicating the nature of the error.", "enum": [ - "SOURCE_MESSAGE_TYPE_UNDEFINED", - "ROOT_MESSAGE", - "INLINE_REPLY" + "PROCESSING_ERROR_CODE_UNSPECIFIED", + "MALFORMED_REQUEST", + "UNSUPPORTED_CONTENT_FORMAT", + "INDIRECT_BROKEN_ACL", + "ACL_CYCLE" ], "enumDescriptions": [ - "", - "", - "" + "Input only value. Use this value in Items.", + "Item's ACL, metadata, or content is malformed or in invalid state. FieldViolations contains more details on where the problem is.", + "Countent format is unsupported.", + "Items with incomplete ACL information due to inheriting other items with broken ACL or having groups with unmapped descendants.", + "ACL inheritance graph formed a cycle." ], "type": "string" + }, + "errorMessage": { + "description": "The description of the error.", + "type": "string" + }, + "fieldViolations": { + "description": "In case the item fields are invalid, this field contains the details about the validation errors.", + "items": { + "$ref": "FieldViolation" + }, + "type": "array" } }, "type": "object" }, - "SourceResultCount": { - "description": "Per source result count information.", - "id": "SourceResultCount", + "PropertyDefinition": { + "description": "The definition of a property within an object.", + "id": "PropertyDefinition", "properties": { - "hasMoreResults": { - "description": "Whether there are more search results for this source.", + "booleanPropertyOptions": { + "$ref": "BooleanPropertyOptions" + }, + "datePropertyOptions": { + "$ref": "DatePropertyOptions" + }, + "displayOptions": { + "$ref": "PropertyDisplayOptions", + "description": "The options that determine how the property is displayed in the Cloud Search results page if it's specified to be displayed in the object's display options." + }, + "doublePropertyOptions": { + "$ref": "DoublePropertyOptions" + }, + "enumPropertyOptions": { + "$ref": "EnumPropertyOptions" + }, + "htmlPropertyOptions": { + "$ref": "HtmlPropertyOptions" + }, + "integerPropertyOptions": { + "$ref": "IntegerPropertyOptions" + }, + "isFacetable": { + "description": "Indicates that the property can be used for generating facets. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, enum, integer, and text properties.", "type": "boolean" }, - "resultCountEstimate": { - "description": "The estimated result count for this source.", - "format": "int64", - "type": "string" + "isRepeatable": { + "description": "Indicates that multiple values are allowed for the property. For example, a document only has one description but can have multiple comments. Cannot be true for properties whose type is a boolean. If set to false, properties that contain more than one value cause the indexing request for that item to be rejected.", + "type": "boolean" }, - "resultCountExact": { - "description": "The exact result count for this source.", - "format": "int64", + "isReturnable": { + "description": "Indicates that the property identifies data that should be returned in search results via the Query API. If set to *true*, indicates that Query API users can use matching property fields in results. However, storing fields requires more space allocation and uses more bandwidth for search queries, which impacts performance over large datasets. Set to *true* here only if the field is needed for search results. Cannot be true for properties whose type is an object.", + "type": "boolean" + }, + "isSortable": { + "description": "Indicates that the property can be used for sorting. Cannot be true for properties that are repeatable. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, date, double, integer, and timestamp properties.", + "type": "boolean" + }, + "isSuggestable": { + "description": "Indicates that the property can be used for generating query suggestions.", + "type": "boolean" + }, + "isWildcardSearchable": { + "description": "Indicates that users can perform wildcard search for this property. Only supported for Text properties. IsReturnable must be true to set this option. In a given datasource maximum of 5 properties can be marked as is_wildcard_searchable. For more details, see [Define object properties](https://developers.google.com/cloud-search/docs/guides/schema-guide#properties)", + "type": "boolean" + }, + "name": { + "description": "The name of the property. Item indexing requests sent to the Indexing API should set the property name equal to this value. For example, if name is *subject_line*, then indexing requests for document items with subject fields should set the name for that field equal to *subject_line*. Use the name as the identifier for the object property. Once registered as a property for an object, you cannot re-use this name for another property within that object. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The maximum length is 256 characters.", "type": "string" }, - "source": { - "$ref": "Source", - "description": "The source the result count information is associated with." + "objectPropertyOptions": { + "$ref": "ObjectPropertyOptions" + }, + "textPropertyOptions": { + "$ref": "TextPropertyOptions" + }, + "timestampPropertyOptions": { + "$ref": "TimestampPropertyOptions" } }, "type": "object" }, - "SourceScoringConfig": { - "description": "Set the scoring configuration. This allows modifying the ranking of results for a source.", - "id": "SourceScoringConfig", + "PropertyDisplayOptions": { + "description": "The display options for a property.", + "id": "PropertyDisplayOptions", "properties": { - "sourceImportance": { - "description": "Importance of the source.", - "enum": [ - "DEFAULT", - "LOW", - "HIGH" - ], - "enumDescriptions": [ - "", - "", - "" - ], + "displayLabel": { + "description": "The user friendly label for the property that is used if the property is specified to be displayed in ObjectDisplayOptions. If provided, the display label is shown in front of the property values when the property is part of the object display options. For example, if the property value is '1', the value by itself may not be useful context for the user. If the display name given was 'priority', then the user sees 'priority : 1' in the search results which provides clear context to search users. This is OPTIONAL; if not given, only the property values are displayed. The maximum length is 64 characters.", "type": "string" } }, "type": "object" }, - "SpaceId": { - "description": "Primary key for Space resource.", - "id": "SpaceId", + "PushItem": { + "description": "Represents an item to be pushed to the indexing queue.", + "id": "PushItem", "properties": { - "spaceId": { - "description": "Unique, immutable ID of the Space", + "contentHash": { + "description": "Content hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.", "type": "string" - } - }, - "type": "object" - }, - "SpellResult": { - "id": "SpellResult", - "properties": { - "suggestedQuery": { - "description": "The suggested spelling of the query.", + }, + "metadataHash": { + "description": "The metadata hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.", "type": "string" }, - "suggestedQueryHtml": { - "$ref": "SafeHtmlProto", - "description": "The sanitized HTML representing the spell corrected query that can be used in the UI. This usually has language-specific tags to mark up parts of the query that are spell checked." + "payload": { + "description": "Provides additional document state information for the connector, such as an alternate repository ID and other metadata. The maximum length is 8192 bytes.", + "format": "byte", + "type": "string" }, - "suggestionType": { - "description": "Suggestion triggered for the current query.", + "queue": { + "description": "Queue to which this item belongs. The `default` queue is chosen if this field is not specified. The maximum length is 512 characters.", + "type": "string" + }, + "repositoryError": { + "$ref": "RepositoryError", + "description": "Populate this field to store Connector or repository error details. This information is displayed in the Admin Console. This field may only be populated when the Type is REPOSITORY_ERROR." + }, + "structuredDataHash": { + "description": "Structured data hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.", + "type": "string" + }, + "type": { + "description": "The type of the push operation that defines the push behavior.", "enum": [ - "SUGGESTION_TYPE_UNSPECIFIED", - "NON_EMPTY_RESULTS_SPELL_SUGGESTION", - "ZERO_RESULTS_FULL_PAGE_REPLACEMENT" + "UNSPECIFIED", + "MODIFIED", + "NOT_MODIFIED", + "REPOSITORY_ERROR", + "REQUEUE" ], "enumDescriptions": [ - "Default spell check type", - "Spell suggestion without any results changed. The results are still shown for the original query (which has non zero / results) with a suggestion for spelling that would have results.", - "Spell suggestion triggered when original query has no results. When the original query has no results, and spell suggestion has results we trigger results for the spell corrected query." + "Default UNSPECIFIED. Specifies that the push operation should not modify ItemStatus", + "Indicates that the repository document has been modified or updated since the previous update call. This changes status to MODIFIED state for an existing item. If this is called on a non existing item, the status is changed to NEW_ITEM.", + "Item in the repository has not been modified since the last update call. This push operation will set status to ACCEPTED state.", + "Connector is facing a repository error regarding this item. Change status to REPOSITORY_ERROR state. Item is unreserved and rescheduled at a future time determined by exponential backoff.", + "Call push with REQUEUE only for items that have been reserved. This action unreserves the item and resets its available time to the wall clock time." ], "type": "string" } }, "type": "object" }, - "SquareProto": { - "description": "Represents the set of members (of a given type) in a Google+ Square (see http://go/squares). A Square with default member_type is currently (1/2012) identical to the GaiaGroup with the same ID, but that is expected to change soon (see http://go/superglue). Support for this principal type is currently (1/2012) incomplete -- e.g., Keystore does not support it yet (see b/5703421).", - "id": "SquareProto", - "properties": { - "memberType": { - "description": "The type of Square members to consider, e.g. \"all members\" vs. \"owners\" vs. \"admins\". These are defined by legacy_relation_id values in social.graph.storage.EdgeTypeEnum.EdgeType enum options in social/graph/storage/proto/id.proto. See square.pb (defined in production/config/cdd/socialgraph/mixer_config/prod/node_type_config) for all valid edge types associated with square. Currently required.", - "format": "int32", - "type": "integer" - }, - "squareId": { - "description": "Currently required.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "StartUploadItemRequest": { - "description": "Start upload file request.", - "id": "StartUploadItemRequest", + "PushItemRequest": { + "id": "PushItemRequest", "properties": { "connectorName": { "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", @@ -17029,1459 +6655,1024 @@ "debugOptions": { "$ref": "DebugOptions", "description": "Common debug options." - } - }, - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", - "id": "Status", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "details": { - "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "type": "array" }, - "message": { - "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" + "item": { + "$ref": "PushItem", + "description": "Item to push onto the queue." } }, "type": "object" }, - "StoredParticipantId": { - "id": "StoredParticipantId", + "QueryActivity": { + "description": "Details about a user's query activity.", + "id": "QueryActivity", "properties": { - "gaiaId": { - "format": "int64", + "query": { + "description": "User input query to be logged/removed.", "type": "string" } }, "type": "object" }, - "StreamViewerStats": { - "description": "Information about viewers of the stream.", - "id": "StreamViewerStats", + "QueryCountByStatus": { + "id": "QueryCountByStatus", "properties": { - "estimatedViewerCount": { - "description": "The estimate of the current viewer count.", + "count": { "format": "int64", "type": "string" + }, + "statusCode": { + "description": "This represents the http status code.", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "StreamingSessionInfo": { - "description": "Information about a streaming session in conference.", - "id": "StreamingSessionInfo", + "QueryInterpretation": { + "id": "QueryInterpretation", "properties": { - "applicationType": { - "description": "The application type of the current streaming session.", - "enum": [ - "RECORDING_APPLICATION_TYPE_UNSPECIFIED", - "RECORDING", - "GLIVE_STREAM", - "BROADCAST" - ], - "enumDescriptions": [ - "This is never used.", - "A meeting recording saved to a video file in Google Drive.", - "A *Google Live* managed stream.", - "A meeting broadcast." - ], - "type": "string" - }, - "latestSessionEvent": { - "$ref": "SessionEvent", - "description": "The latest streaming session event. This can be used by clients to help explain what is going on, why recording stopped, etc. This will always be set to a valid event and consistent with the status. It can be set when current session is inactive to indicate latest event that makes current session to become inactive." - }, - "ownerDisplayName": { - "description": "The display name of the owner of the recording output. It's only set when there will be uploaded recordings. Currently, it's only set when application type is RECORDING or GLIVE_STREAM.", - "type": "string" - }, - "sessionId": { - "description": "This is the REST name and unique identifier of this streaming session and has the form `spaces//recordings/` This is returned whenever status is either `STARTING` or `STARTED`.", - "type": "string" - }, - "status": { - "description": "The current status of this streaming session. This can be used by clients to show session status indicator and/or notification.", + "interpretationType": { "enum": [ - "STATUS_UNSPECIFIED", - "INACTIVE", - "STARTING", - "LIVE" + "NONE", + "BLEND", + "REPLACE" ], "enumDescriptions": [ - "This value is never used.", - "The streaming session is inactive. This means either it's not started yet or it's already stopped.", - "The streaming session is about to begin. The status will be updated to LIVE when the streaming session actually starts, which happens when all the backend plumbing is set up.", - "The streaming session is live. Any media sent to the conference may be included in the resulting recording/broadcast." + "Neither the natural language interpretation, nor a broader version of the query is used to fetch the search results.", + "The results from original query are blended with other results. The reason for blending these other results with the results from original query is populated in the 'Reason' field below.", + "The results from original query are replaced. The reason for replacing the results from original query is populated in the 'Reason' field below." ], "type": "string" }, - "trainingEnabled": { - "description": "When true, this recording may be used for training new transcription models.", - "type": "boolean" + "interpretedQuery": { + "description": "The interpretation of the query used in search. For example, queries with natural language intent like \"email from john\" will be interpreted as \"from:john source:mail\". This field will not be filled when the reason is NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY.", + "type": "string" }, - "viewerAccessPolicy": { - "description": "The policy that controls who can view the broadcast. This setting applies for broadcast session.", + "reason": { + "description": "The reason for interpretation of the query. This field will not be UNSPECIFIED if the interpretation type is not NONE.", "enum": [ - "BROADCASTING_ACCESS_POLICY_UNSPECIFIED", - "ORGANIZATION", - "PUBLIC" + "UNSPECIFIED", + "QUERY_HAS_NATURAL_LANGUAGE_INTENT", + "NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY" ], "enumDescriptions": [ - "Used only when broadcast is not enabled, or an unknown enum value is used.", - "Only authenticated Google accounts belonging to the same organization as the meeting organizer can access the broadcast.", - "Anyone with the broadcast view URL can access the broadcast." + "", + "Natural language interpretation of the query is used to fetch the search results.", + "Query and document terms similarity is used to selectively broaden the query to retrieve additional search results since enough results were not found for the user query. Interpreted query will be empty for this case." ], "type": "string" - }, - "viewerStats": { - "$ref": "StreamViewerStats", - "description": "Contains information about viewers of the livestream. It is only set when application type is BROADCAST." } }, "type": "object" }, - "StructuredDataObject": { - "description": "A structured data object consisting of named properties.", - "id": "StructuredDataObject", + "QueryInterpretationConfig": { + "description": "Default options to interpret user query.", + "id": "QueryInterpretationConfig", "properties": { - "properties": { - "description": "The properties for the object. The maximum number of elements is 1000.", - "items": { - "$ref": "NamedProperty" - }, - "type": "array" + "forceDisableSupplementalResults": { + "description": "Set this flag to disable supplemental results retrieval, setting a flag here will not retrieve supplemental results for queries associated with a given search application. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for supplemental results.", + "type": "boolean" + }, + "forceVerbatimMode": { + "description": "Enable this flag to turn off all internal optimizations like natural language (NL) interpretation of queries, supplemental results retrieval, and usage of synonyms including custom ones. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for verbatim mode.", + "type": "boolean" } }, "type": "object" }, - "StructuredResult": { - "description": "Structured results that are returned as part of search request.", - "id": "StructuredResult", + "QueryInterpretationOptions": { + "description": "Options to interpret user query.", + "id": "QueryInterpretationOptions", "properties": { - "person": { - "$ref": "Person", - "description": "Representation of a person" + "disableNlInterpretation": { + "description": "Flag to disable natural language (NL) interpretation of queries. Default is false, Set to true to disable natural language interpretation. NL interpretation only applies to predefined datasources.", + "type": "boolean" + }, + "disableSupplementalResults": { + "description": "Use this flag to disable supplemental results for a query. Supplemental results setting chosen at SearchApplication level will take precedence if set to True.", + "type": "boolean" + }, + "enableVerbatimMode": { + "description": "Enable this flag to turn off all internal optimizations like natural language (NL) interpretation of queries, supplemental result retrieval, and usage of synonyms including custom ones. Nl interpretation will be disabled if either one of the two flags is true.", + "type": "boolean" } }, "type": "object" }, - "SuggestRequest": { - "description": "Request of suggest API.", - "id": "SuggestRequest", + "QueryItem": { + "description": "Information relevant only to a query entry.", + "id": "QueryItem", "properties": { - "dataSourceRestrictions": { - "description": "The sources to use for suggestions. If not specified, the data sources are taken from the current search application. NOTE: Suggestions are only supported for the following sources: * Third-party data sources * PredefinedSource.PERSON * PredefinedSource.GOOGLE_DRIVE", - "items": { - "$ref": "DataSourceRestriction" - }, - "type": "array" - }, - "query": { - "description": "Partial query for which autocomplete suggestions will be shown. For example, if the query is \"sea\", then the server might return \"season\", \"search\", \"seagull\" and so on.", - "type": "string" - }, - "requestOptions": { - "$ref": "RequestOptions", - "description": "Request options, such as the search application and user timezone." + "isSynthetic": { + "description": "True if the text was generated by means other than a previous user search.", + "type": "boolean" } }, "type": "object" }, - "SuggestResponse": { - "description": "Response of the suggest API.", - "id": "SuggestResponse", + "QueryOperator": { + "description": "The definition of a operator that can be used in a Search/Suggest request.", + "id": "QueryOperator", "properties": { - "suggestResults": { - "description": "List of suggestions.", + "displayName": { + "description": "Display name of the operator", + "type": "string" + }, + "enumValues": { + "description": "Potential list of values for the opeatror field. This field is only filled when we can safely enumerate all the possible values of this operator.", "items": { - "$ref": "SuggestResult" + "type": "string" }, "type": "array" - } - }, - "type": "object" - }, - "SuggestResult": { - "description": "One suggestion result.", - "id": "SuggestResult", - "properties": { - "peopleSuggestion": { - "$ref": "PeopleSuggestion", - "description": "This is present when the suggestion indicates a person. It contains more information about the person - like their email ID, name etc." }, - "querySuggestion": { - "$ref": "QuerySuggestion", - "description": "This field will be present if the suggested query is a word/phrase completion." + "greaterThanOperatorName": { + "description": "Indicates the operator name that can be used to isolate the property using the greater-than operator.", + "type": "string" }, - "source": { - "$ref": "Source", - "description": "The source of the suggestion." + "isFacetable": { + "description": "Can this operator be used to get facets.", + "type": "boolean" }, - "suggestedQuery": { - "description": "The suggested query that will be used for search, when the user clicks on the suggestion", - "type": "string" - } - }, - "type": "object" - }, - "SupportUrls": { - "description": "Urls with additional bot related information.", - "id": "SupportUrls", - "properties": { - "adminConfigUrl": { - "description": "Link to the admin configuration webpage for the bot. Configured by Pantheon, may be empty.", - "type": "string" + "isRepeatable": { + "description": "Indicates if multiple values can be set for this property.", + "type": "boolean" }, - "deletionPolicyUrl": { - "description": "Link to the deletion policy webpage for the bot. Configured by Pantheon, may be empty.", - "type": "string" + "isReturnable": { + "description": "Will the property associated with this facet be returned as part of search results.", + "type": "boolean" }, - "gwmUrl": { - "description": "Link to GWM page of the app. May be empty.", - "type": "string" + "isSortable": { + "description": "Can this operator be used to sort results.", + "type": "boolean" }, - "privacyPolicyUrl": { - "description": "Link to the privacy policy webpage for the bot. May be empty.", - "type": "string" + "isSuggestable": { + "description": "Can get suggestions for this field.", + "type": "boolean" }, - "setupUrl": { - "description": "Link to the setup webpage for the bot. Configured by Pantheon, may be empty.", + "lessThanOperatorName": { + "description": "Indicates the operator name that can be used to isolate the property using the less-than operator.", "type": "string" }, - "supportUrl": { - "description": "Link to the support webpage for the developer of the bot. May be empty.", + "objectType": { + "description": "The name of the object corresponding to the operator. This field is only filled for schema-specific operators, and is unset for common operators.", "type": "string" }, - "tosUrl": { - "description": "Link to the terms of service webpage for the bot. May be empty.", + "operatorName": { + "description": "The name of the operator.", "type": "string" - } - }, - "type": "object" - }, - "SwitchWidget": { - "id": "SwitchWidget", - "properties": { - "controlType": { + }, + "type": { + "description": "The type of the operator.", "enum": [ - "UNSPECIFIED", - "SWITCH", - "CHECKBOX" + "UNKNOWN", + "INTEGER", + "DOUBLE", + "TIMESTAMP", + "BOOLEAN", + "ENUM", + "DATE", + "TEXT", + "HTML" ], "enumDescriptions": [ + "Invalid value.", + "", + "", + "", + "", + "", "", "", "" ], "type": "string" - }, - "name": { - "description": "The name of the switch widget which is will be used in FormInput.", + } + }, + "type": "object" + }, + "QuerySource": { + "description": "List of sources that the user can search using the query API.", + "id": "QuerySource", + "properties": { + "displayName": { + "description": "Display name of the data source.", "type": "string" }, - "onChange": { - "$ref": "FormAction" - }, - "selected": { - "type": "boolean" + "operators": { + "description": "List of all operators applicable for this source.", + "items": { + "$ref": "QueryOperator" + }, + "type": "array" }, - "value": { - "description": "The value is what is passed back in apps script callback.", + "shortName": { + "description": "A short name or alias for the source. This value can be used with the 'source' operator.", "type": "string" + }, + "source": { + "$ref": "Source", + "description": "The name of the source" } }, "type": "object" }, - "TaskActionMarkup": { - "id": "TaskActionMarkup", - "properties": { - "reloadTasks": { - "type": "boolean" - } - }, + "QuerySuggestion": { + "description": "This field does not contain anything as of now and is just used as an indicator that the suggest result was a phrase completion.", + "id": "QuerySuggestion", + "properties": {}, "type": "object" }, - "TextButton": { - "id": "TextButton", + "RemoveActivityRequest": { + "description": "Remove Logged Activity Request.", + "id": "RemoveActivityRequest", "properties": { - "altText": { - "description": "The alternative text used for accessibility Next field number: 7.", - "type": "string" - }, - "backgroundColor": { - "description": "Optional color of the button's background in RAISE mode. The default is the secondary color from addon's manifest.", - "type": "string" - }, - "disabled": { - "type": "boolean" - }, - "onClick": { - "$ref": "OnClick" - }, - "style": { - "enum": [ - "UNSPECIFIED", - "TEXT", - "FILLED" - ], - "enumDescriptions": [ - "", - "Simple text button with ripple touch feedback.", - "Button with solid background." - ], - "type": "string" + "requestOptions": { + "$ref": "RequestOptions", + "description": "Request options, such as the search application and clientId." }, - "text": { - "description": "Text color can be set via HTML markup.", - "type": "string" + "userActivity": { + "$ref": "UserActivity", + "description": "User Activity containing the data to be deleted." } }, "type": "object" }, - "TextField": { - "id": "TextField", + "RemoveActivityResponse": { + "description": "Remove Logged Activity Response. will return an empty response for now. Will be revisited in later phases.", + "id": "RemoveActivityResponse", + "properties": {}, + "type": "object" + }, + "RepositoryError": { + "description": "Errors when the connector is communicating to the source repository.", + "id": "RepositoryError", "properties": { - "autoComplete": { - "$ref": "AutoComplete", - "description": "The initial set of auto complete items without any user input." - }, - "autoCompleteCallback": { - "$ref": "FormAction", - "description": "The refresh function which returns AutoComplete based on the user's input text. If the callback is not specified, auto complete will be purely done in client side based on the auto_complete items." - }, - "autoCompleteMultipleSelections": { - "description": "When set to true, a user can input multiple auto-complet items.", - "type": "boolean" - }, - "hintText": { - "type": "string" - }, - "label": { - "description": "One of label or hint_text is required to be specified by the developers.", + "errorMessage": { + "description": "Message that describes the error. The maximum allowable length of the message is 8192 characters.", "type": "string" }, - "maxLines": { + "httpStatusCode": { + "description": "Error codes. Matches the definition of HTTP status codes.", "format": "int32", "type": "integer" }, - "name": { - "description": "The name of the text field which is will be used in FormInput.", - "type": "string" - }, - "onChange": { - "$ref": "FormAction" - }, "type": { + "description": "The type of error.", "enum": [ - "SINGLE_LINE", - "MULTIPLE_LINE" + "UNKNOWN", + "NETWORK_ERROR", + "DNS_ERROR", + "CONNECTION_ERROR", + "AUTHENTICATION_ERROR", + "AUTHORIZATION_ERROR", + "SERVER_ERROR", + "QUOTA_EXCEEDED", + "SERVICE_UNAVAILABLE", + "CLIENT_ERROR" ], "enumDescriptions": [ - "", - "" + "Unknown error.", + "Unknown or unreachable host.", + "DNS problem, such as the DNS server is not responding.", + "Cannot connect to the repository server.", + "Failed authentication due to incorrect credentials.", + "Service account is not authorized for the repository.", + "Repository server error.", + "Quota exceeded.", + "Server temporarily unavailable.", + "Client-related error, such as an invalid request from the connector to the repository server." ], "type": "string" - }, - "value": { - "description": "The default value when no input from user.", - "type": "string" } }, "type": "object" }, - "TextKeyValue": { - "description": "This is deprecated and please use KeyValue.", - "id": "TextKeyValue", + "RequestOptions": { + "description": "Shared request options for all RPC methods.", + "id": "RequestOptions", "properties": { - "key": { + "debugOptions": { + "$ref": "DebugOptions", + "description": "Debug options of the request" + }, + "languageCode": { + "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. From Suggest API perspective, for 3p suggest this is used as a hint while making predictions to add language boosting.", "type": "string" }, - "onClick": { - "$ref": "OnClick" + "searchApplicationId": { + "description": "The ID generated when you create a search application using the [admin console](https://support.google.com/a/answer/9043922).", + "type": "string" }, - "text": { + "timeZone": { + "description": "Current user's time zone id, such as \"America/Los_Angeles\" or \"Australia/Sydney\". These IDs are defined by [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/) project, and currently available in the file [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml). This field is used to correctly interpret date and time queries. If this field is not specified, the default time zone (UTC) is used.", "type": "string" } }, "type": "object" }, - "TextOperatorOptions": { - "description": "Used to provide a search operator for text properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", - "id": "TextOperatorOptions", + "ResetSearchApplicationRequest": { + "id": "ResetSearchApplicationRequest", "properties": { - "exactMatchWithOperator": { - "description": "If true, the text value is tokenized as one atomic value in operator searches and facet matches. For example, if the operator name is \"genre\" and the value is \"science-fiction\" the query restrictions \"genre:science\" and \"genre:fiction\" doesn't match the item; \"genre:science-fiction\" does. Text value matching is case-sensitive and does not remove special characters. If false, the text is tokenized. For example, if the value is \"science-fiction\" the queries \"genre:science\" and \"genre:fiction\" matches the item.", - "type": "boolean" - }, - "operatorName": { - "description": "Indicates the operator name required in the query in order to isolate the text property. For example, if operatorName is *subject* and the property's name is *subjectLine*, then queries like *subject:\u003cvalue\u003e* show results only where the value of the property named *subjectLine* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any text properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", - "type": "string" + "debugOptions": { + "$ref": "DebugOptions", + "description": "Common debug options." } }, "type": "object" }, - "TextParagraph": { - "id": "TextParagraph", + "ResponseDebugInfo": { + "description": "Debugging information about the response.", + "id": "ResponseDebugInfo", "properties": { - "text": { + "formattedDebugInfo": { + "description": "General debug info formatted for display.", "type": "string" } }, "type": "object" }, - "TextPropertyOptions": { - "description": "The options for text properties.", - "id": "TextPropertyOptions", + "RestrictItem": { + "description": "Information relevant only to a restrict entry. NextId: 12", + "id": "RestrictItem", "properties": { - "operatorOptions": { - "$ref": "TextOperatorOptions", - "description": "If set, describes how the property should be used as a search operator." + "driveFollowUpRestrict": { + "$ref": "DriveFollowUpRestrict" }, - "retrievalImportance": { - "$ref": "RetrievalImportance", - "description": "Indicates the search quality importance of the tokens within the field when used for retrieval." - } - }, - "type": "object" - }, - "TextValues": { - "description": "List of text values.", - "id": "TextValues", - "properties": { - "values": { - "description": "The maximum allowable length for text values is 2048 characters.", - "items": { - "type": "string" - }, - "type": "array" + "driveLocationRestrict": { + "$ref": "DriveLocationRestrict" + }, + "driveMimeTypeRestrict": { + "$ref": "DriveMimeTypeRestrict", + "description": "Drive Types." + }, + "driveTimeSpanRestrict": { + "$ref": "DriveTimeSpanRestrict" + }, + "searchOperator": { + "description": "The search restrict (e.g. \"after:2017-09-11 before:2017-09-12\").", + "type": "string" } }, "type": "object" }, - "ThreadKeySet": { - "description": "The ThreadKey was set on some (subset of the) messages in this thread.", - "id": "ThreadKeySet", + "ResultCounts": { + "description": "Result count information", + "id": "ResultCounts", "properties": { - "messageKeys": { - "description": "Messages on which the thread_key was changed.", + "sourceResultCounts": { + "description": "Result count information for each source with results.", "items": { - "$ref": "MultiKey" + "$ref": "SourceResultCount" }, "type": "array" - }, - "newThreadKey": { - "$ref": "MultiKey", - "description": "The new thread_key for this thread" } }, "type": "object" }, - "ThreadUpdate": { - "description": "HistoryRecord for changes associated with a thread, namely: MESSAGE_ADDED MESSAGE_DELETED LABEL_ADDED LABEL_REMOVED ATTRIBUTE_SET ATTRIBUTE_REMOVED THREAD_KEY_SET All label_ids refer to the (unchanging) value as defined by the Label.id field in labels.proto. In particular, it is *not* the canonical_name.", - "id": "ThreadUpdate", + "ResultDebugInfo": { + "description": "Debugging information about the result.", + "id": "ResultDebugInfo", "properties": { - "attributeRemoved": { - "$ref": "AttributeRemoved" - }, - "attributeSet": { - "$ref": "AttributeSet" - }, - "labelAdded": { - "$ref": "LabelAdded" - }, - "labelRemoved": { - "$ref": "LabelRemoved" - }, - "lastHistoryRecordId": { - "description": "Indicates the record id of the last operation that modified this thread.", - "format": "uint64", - "type": "string" - }, - "messageAdded": { - "$ref": "MessageAdded" - }, - "messageDeleted": { - "$ref": "MessageDeleted" - }, - "originalThreadKey": { - "$ref": "MultiKey", - "description": "The first non-empty thread-key on any message in the thread (including deleted messages). This field has been introduced to maintain backward compatibility for clients that are not subthread aware." - }, - "preState": { - "description": "The PreStates of all messages before the transaction. These are suppressed if the client requested that prestates not be included in the output of the GetHistoryRequest.", - "items": { - "$ref": "PreState" - }, - "type": "array" - }, - "threadKey": { - "$ref": "MultiKey", - "description": "Affected thread" - }, - "threadKeySet": { - "$ref": "ThreadKeySet" - }, - "threadLocator": { - "description": "Thread PLID", + "formattedDebugInfo": { + "description": "General debug info formatted for display.", "type": "string" - }, - "topicStateUpdate": { - "$ref": "TopicStateUpdate" } }, "type": "object" }, - "TimestampOperatorOptions": { - "description": "Used to provide a search operator for timestamp properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", - "id": "TimestampOperatorOptions", + "ResultDisplayField": { + "description": "Display Fields for Search Results", + "id": "ResultDisplayField", "properties": { - "greaterThanOperatorName": { - "description": "Indicates the operator name required in the query in order to isolate the timestamp property using the greater-than operator. For example, if greaterThanOperatorName is *closedafter* and the property's name is *closeDate*, then queries like *closedafter:\u003cvalue\u003e* show results only where the value of the property named *closeDate* is later than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", - "type": "string" - }, - "lessThanOperatorName": { - "description": "Indicates the operator name required in the query in order to isolate the timestamp property using the less-than operator. For example, if lessThanOperatorName is *closedbefore* and the property's name is *closeDate*, then queries like *closedbefore:\u003cvalue\u003e* show results only where the value of the property named *closeDate* is earlier than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", + "label": { + "description": "The display label for the property.", "type": "string" }, "operatorName": { - "description": "Indicates the operator name required in the query in order to isolate the timestamp property. For example, if operatorName is *closedon* and the property's name is *closeDate*, then queries like *closedon:\u003cvalue\u003e* show results only where the value of the property named *closeDate* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", + "description": "The operator name of the property.", "type": "string" + }, + "property": { + "$ref": "NamedProperty", + "description": "The name value pair for the property." } }, "type": "object" }, - "TimestampPropertyOptions": { - "description": "The options for timestamp properties.", - "id": "TimestampPropertyOptions", + "ResultDisplayLine": { + "description": "The collection of fields that make up a displayed line", + "id": "ResultDisplayLine", "properties": { - "operatorOptions": { - "$ref": "TimestampOperatorOptions", - "description": "If set, describes how the timestamp should be used as a search operator." + "fields": { + "items": { + "$ref": "ResultDisplayField" + }, + "type": "array" } }, "type": "object" }, - "TimestampValues": { - "description": "List of timestamp values.", - "id": "TimestampValues", + "ResultDisplayMetadata": { + "id": "ResultDisplayMetadata", "properties": { - "values": { + "metalines": { + "description": "The metalines content to be displayed with the result.", "items": { - "format": "google-datetime", - "type": "string" + "$ref": "ResultDisplayLine" }, "type": "array" + }, + "objectTypeLabel": { + "description": "The display label for the object.", + "type": "string" } }, "type": "object" }, - "TombstoneMetadata": { - "description": "Tombstoning is the act of leaving a contextual trace when deleting a message. See more: go/tombstone-prd, go/hub-dynamite-tombstones-server-design-v2.", - "id": "TombstoneMetadata", + "RetrievalImportance": { + "id": "RetrievalImportance", "properties": { - "tombstoneType": { - "description": "Indicates the type of Tombstone.", + "importance": { + "description": "Indicates the ranking importance given to property when it is matched during retrieval. Once set, the token importance of a property cannot be changed.", "enum": [ - "TOMBSTONE_UNSPECIFIED", - "CREATOR", - "ROOM_OWNER", - "ADMIN", - "APP_MESSAGE_EXPIRY", - "CREATOR_VIA_APP", - "ROOM_OWNER_VIA_APP" + "DEFAULT", + "HIGHEST", + "HIGH", + "LOW", + "NONE" ], "enumDescriptions": [ - "This should not be used.", - "User deleted their own message.", - "The space owner deleted a message in their space.", - "The customer admin deleted a message in a space or DM owned by the customer. (go/chat-customer-owned-data)", - "App scheduled deletion of their own message. See go/bme-dd.", - "User deleted their own message via an app. See go/chat-api-delete-message.", - "The space owner deleted a message in their space via an app. See go/chat-api-delete-message." + "Treat the match like a body text match.", + "Treat the match like a match against title of the item.", + "Treat the match with higher importance than body text.", + "Treat the match with lower importance than body text.", + "Do not match against this field during retrieval. The property can still be used for operator matching, faceting, and suggest if desired." ], "type": "string" } }, "type": "object" }, - "Toolbar": { - "description": "The Toolbar markup has been deprecated. The information is now specified in the manifest.", - "id": "Toolbar", + "SafeHtmlProto": { + "description": "IMPORTANT: It is unsafe to accept this message from an untrusted source, since it's trivial for an attacker to forge serialized messages that don't fulfill the type's safety contract -- for example, it could contain attacker controlled script. A system which receives a SafeHtmlProto implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe to return this message in RPC responses, but generally unsafe to accept it in RPC requests.", + "id": "SafeHtmlProto", "properties": { - "color": { - "description": "Background color of the toolbar in RBG hex representation.", - "type": "string" - }, - "iconUrl": { - "type": "string" - }, - "name": { + "privateDoNotAccessOrElseSafeHtmlWrappedValue": { + "description": "IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read this message.", "type": "string" } }, "type": "object" }, - "TopicId": { - "id": "TopicId", + "SafeUrlProto": { + "description": "Message containing a string that is safe to use in URL contexts in DOM APIs and HTML documents, where the URL context does not refer to a resource that loads code.", + "id": "SafeUrlProto", "properties": { - "groupId": { - "$ref": "GroupId", - "description": "The Space or DM that the topic belongs to." - }, - "topicId": { - "description": "Opaque, server-assigned ID of the Topic. While this ID is guaranteed to be unique within the Space, it's not guaranteed to be globally unique. Internal usage: this field can be empty in the following cases: 1. To create the first message in a topic. 2. To list last N messages of a Space (regardless of topic).", + "privateDoNotAccessOrElseSafeUrlWrappedValue": { + "description": "IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read this message.", "type": "string" } }, "type": "object" }, - "TopicState": { - "description": "State of an topic thread as maintained within Tingle.", - "id": "TopicState", + "Schema": { + "description": "The schema definition for a data source.", + "id": "Schema", "properties": { - "labelIdMessageCount": { - "additionalProperties": { - "format": "int32", - "type": "integer" + "objectDefinitions": { + "description": "The list of top-level objects for the data source. The maximum number of elements is 10.", + "items": { + "$ref": "ObjectDefinition" }, - "description": "Map of label =\u003e count of topic constituent messages with label These only contain counts of labels that are relevant for topic normalization/denormalization. Eg. If a topic thread has 5 constituents, 4 of which are in inbox, this will contain ^i =\u003e 4. Some labels of interest are archive, inbox, trash, spam, etc.", - "type": "object" - }, - "numConstituents": { - "description": "Number of constituents for this entity.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "TopicStateUpdate": { - "id": "TopicStateUpdate", - "properties": { - "topicState": { - "$ref": "TopicState" - } - }, - "type": "object" - }, - "TransactionContext": { - "description": "Storage information pertaining to the transaction with which a HistoryRecord is associated.", - "id": "TransactionContext", - "properties": { - "endingRecordId": { - "description": "The last HistoryRecord of the transaction. Note that this may correspond to a record that is filtered by Tingle (and thus not returned to the client). See http://b/9513464.", - "format": "uint64", - "type": "string" - }, - "startingRecordId": { - "description": "The first HistoryRecord of the transaction. Note that this may be a record of type INTERNAL.", - "format": "uint64", - "type": "string" + "type": "array" }, - "writeTimestampUs": { - "description": "The microsecond timestamp of the transaction.", - "format": "int64", - "type": "string" + "operationIds": { + "description": "IDs of the Long Running Operations (LROs) currently running for this schema. After modifying the schema, wait for operations to complete before indexing additional content.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "TransactionDebugInfo": { - "description": "HistoryRecord for debug info associated with the transaction, namely: TXN_DEBUG_INFO TODO(b/143845917) This is a short-term workaround for unblocking fusebox writes migration. Clean up the code or land a long-term solution after the rollout. go/diff-to-historyrecord", - "id": "TransactionDebugInfo", - "properties": {}, - "type": "object" - }, - "TranscriptionSessionInfo": { - "description": "Information about a transcription session.", - "id": "TranscriptionSessionInfo", + "ScoringConfig": { + "description": "Scoring configurations for a source while processing a Search or Suggest request.", + "id": "ScoringConfig", "properties": { - "sessionStateInfo": { - "$ref": "SessionStateInfo", - "description": "Transcription session's state information." + "disableFreshness": { + "description": "Whether to use freshness as a ranking signal. By default, freshness is used as a ranking signal. Note that this setting is not available in the Admin UI.", + "type": "boolean" }, - "transcriptionSessionId": { - "description": "A unique server-generated ID for the transcription session.", - "type": "string" + "disablePersonalization": { + "description": "Whether to personalize the results. By default, personal signals will be used to boost results.", + "type": "boolean" } }, "type": "object" }, - "TransientData": { - "description": "Transient generic data that will not be saved on the server.", - "id": "TransientData", - "properties": {}, - "type": "object" - }, - "Trigger": { - "id": "Trigger", + "SearchApplication": { + "description": "SearchApplication", + "id": "SearchApplication", "properties": { - "actionType": { - "description": "Each dispatcher should use an enum to for the actions that it supports. If a dispatcher has only one action, this does not need to be set. (It can be expanded later, defining the default behaviour as type 0.) For purposes such as batching, the type of a trigger is (dispatcher, action_type).", - "format": "uint32", - "type": "integer" - }, - "batchTimeUs": { - "description": "Maximum possible delay in micros that can be tolerated so triggers can be batched, which makes processing more efficient compared to firing triggers individually. Note that the actual fire time will be somewhere in the timerange interval [fire_time_us, fire_time_us + batch_time_us).", - "format": "int64", - "type": "string" + "dataSourceRestrictions": { + "description": "Retrictions applied to the configurations. The maximum number of elements is 10.", + "items": { + "$ref": "DataSourceRestriction" + }, + "type": "array" }, - "dispatchId": { - "description": "Must be set for DISPATCHER_STUBBY_DISPATCHER.", - "format": "uint32", - "type": "integer" + "defaultFacetOptions": { + "description": "The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above.", + "items": { + "$ref": "FacetOptions" + }, + "type": "array" }, - "dispatcher": { - "description": "Which server should interpret action_type.", - "enum": [ - "DISPATCHER_COPROC", - "DISPATCHER_JOBSETTED_PRIMARY", - "DISPATCHER_STRATUS", - "DISPATCHER_TASKS_SERVER", - "DISPATCHER_STUBBY_DISPATCHER", - "DISPATCHER_CS" - ], - "enumDescriptions": [ - "Replace ACTION_INVOKE_X; the CS and Stratus are no longer limited to a single type of action. Each additional remote client should be defined here.", - "", - "", - "", - "", - "" - ], - "type": "string" + "defaultSortOptions": { + "$ref": "SortOptions", + "description": "The default options for sorting the search results" }, - "fireTimeUs": { - "description": "Earliest time to fire at in microseconds. The actual time that the trigger will fire will be in the timerange: [fire_time_us, fire_time_us + batch_time_us).", - "format": "int64", + "displayName": { + "description": "Display name of the Search Application. The maximum length is 300 characters.", "type": "string" }, - "jobsettedServerSpec": { - "$ref": "JobsettedServerSpec", - "description": "Must be set for DISPATCHER_JOBSETTED_PRIMARY." + "enableAuditLog": { + "description": "Indicates whether audit logging is on/off for requests made for the search application in query APIs.", + "type": "boolean" }, - "key": { - "description": "The trigger key, if applicable.", + "name": { + "description": "The name of the Search Application. Format: searchapplications/{application_id}.", "type": "string" }, - "rpcOptions": { - "$ref": "RpcOptions" - }, - "sliceFireTimeUs": { - "description": "The slice_fire_time_us is automatically computed and stored as part of the trigger write. It represents the exact fire time at which the trigger will be queued to fire and will satisfy fire_time_us \u003c slice_fire_time_us \u003c= fire_time_us + batch_time_us Triggers have an index row in the slice trigger index with the row prefix matching this time. Note that this field is internal to gmail_cp and is ignored if set by external clients when adding / updating triggers.", - "format": "int64", - "type": "string" + "operationIds": { + "description": "Output only. IDs of the Long Running Operations (LROs) currently running for this schema. Output only field.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" }, - "triggerAction": { - "$ref": "TriggerAction", - "description": "Trigger action to perform. This should always be set." + "queryInterpretationConfig": { + "$ref": "QueryInterpretationConfig", + "description": "The default options for query interpretation" }, - "triggerKey": { - "$ref": "TriggerKey", - "description": "The TriggerKey will uniquely determine a trigger within a given context. A context is a single message for message triggers or a single account for account triggers." - } - }, - "type": "object" - }, - "TriggerAction": { - "id": "TriggerAction", - "properties": { - "action": { - "enum": [ - "ACTION_NONE", - "ACTION_DELETE", - "ACTION_CREATE_NEW_TRIGGER", - "ACTION_MESSAGE_EXPUNGE", - "ACTION_RETENTION_POLICY_UPDATE", - "ACTION_UPDATE_ICEBOX_MODEL", - "ACTION_INVOKE_CS", - "ACTION_INVOKE_STRATUS", - "ACTION_PDH_EXPUNGE", - "ACTION_QUERY_RETENTION", - "ACTION_INVOKE_JOBSETTED_PRIMARY", - "ACTION_INVOKE_TASKS_SERVER", - "ACTION_INVOKE_PUBLISHER", - "ACTION_INVOKE_OBSERVER", - "ACTION_PUSH_HISTORY_TO_PDH", - "ACTION_INVOKE_STUBBY_DISPATCHER", - "ACTION_PDH_BACKFILL", - "ACTION_MESSAGE_UNDELETE", - "ACTION_VAULT_END_USER_ACCESS", - "ACTION_INVOKE_GROUPS", - "ACTION_ACCOUNT_INITIALIZATION", - "ACTION_INVOKE_OBSERVER_WIPEOUT", - "ACTION_SERVICE_REMOVED_MESSAGE_EXPUNGE", - "ACTION_EVERCLEAR_EXPUNGE", - "ACTION_INVOKE_SMIME_CERTIFICATE_ISSUER", - "ACTION_GROUPS_QUERY_RETENTION", - "ACTION_INVOKE_SATELLITE_BACKUP", - "ACTION_INVOKE_DEBUG_LOG", - "ACTION_PREFERENCE_CLEANUP", - "ACTION_CARIBOU_DATA_RETENTION", - "ACTION_HISTORY_CLEANUP", - "ACTION_ITEM_BULK_RELABEL", - "ACTION_INVOKE_SATELLITE_IMAGE_PROCESSING", - "ACTION_CARIBOU_DATA_RETENTION_DIFF", - "ACTION_RELEVANCY_SCORE_BACKFILL", - "ACTION_PDH_PUSH_NOTIFICATION_BACKFILL", - "ACTION_AUTO_SAVE_DRAFT_EXPUNGE", - "ACTION_RELEVANCY_SCORE_CATCHUP" - ], - "enumDescriptions": [ - "", - "No-op", - "No-op", - "This action begins the message expunge process. It will trigger a purge attempt for all messages that have this trigger.", - "When this trigger fires, the current retention policy will be loaded from the policy management system and stored into the preference cache (if necessary). This will also create new expunge triggers if necessary.", - "When this trigger fires, the message should be used to update the user's importance model. See http://go/io-tingle for more details.", - "Sends the trigger to the master Caribou server via the Stubby TriggerHandlerService interface (defined in caribou/coproc/proto/trigger_handler.proto). The trigger is handled at fire time in the account's primary replica, and only in non-primary replicas after a delay.", - "Similar to ACTION_INVOKE_CS, but instead of sending the trigger to the master Caribou server, sends it to a Stratus server that also implements the TriggerHandlerService. This Stratus server is specified via FLAGS_triggers_stratus_server_address. The trigger is handled at fire time in the account's primary replica, and only in non-primary replicas after a delay.", - "This action begins the message's PDH expunge. It will trigger a expunge (from pdh) attempt for all messages that have this trigger.", - "When this trigger fires, based on the latest retention policy: 1. messages that need to be deleted will be deleted through the CS trigger handler 2. ^deleted messages that need to be expunged will be expunged", - "Similar to ACTION_INVOKE_CS, but instead of sending the trigger to the master Caribou server, sends it to a jobsetted server in the user's master jobset using the consistent-hash homing algorithm. The jobsetted_server_spec must be specified when using this TriggerAction.", - "Send the trigger to a Tasks server that implements the TriggerHandlerService. Dispatched via GSLB target specified by FLAGS_triggers_tasks_server_address.", - "Send the trigger to a SmartMail Publisher server that implements the TriggerHandlerService. Dispatched via GSLB target specified by FLAGS_triggers_publisher_server_address.", - "Send the trigger to an Observer server that implements the TriggerHandlerService. Dispatched via GSLB target specified by FLAGS_triggers_observer_server_address.", - "Push a set of history records to PDH.", - "Send the trigger to the stubby dispatcher, which routes the RPC using the value of Trigger.dispatch_id as the RoutingInfo.extension_tag field. Dispatched via the GSLB target specified by FLAGS_triggers_stubby_dispatcher_address.", - "Backfills a set of records from an account and pushes them to PDH.", - "Move messages from ^deleted to ^all. This trigger will only undelete messages that were deleted before the fire time of the trigger. Also, messages whose blobs are already deleted will not be undeleted. This is an account trigger.", - "This trigger will undelete messages that were ^deleted arbitrarily long in the past and a trash label will be applied to these undeleted messages. This is an account trigger that will be written when the Vault admin enables end user access for the Vault customer. This trigger shares its implementation with the ACTION_MESSAGE_UNDELETE trigger.", - "Send the trigger to a groups server that implements the TriggerHandlerService. Dispatched via GSLB target specified by FLAGS_triggers_groups_server_address.", - "This trigger will be executed once per newly created account. It will be created as part of the first transaction written to the account. The trigger can also be written as part of an SVF in case we want to re-initialize every account.", - "Send the trigger to an Observer server that implements the TriggerHandlerService for wipeout purpose. Dispatched via GSLB target specified by FLAGS_triggers_observer_server_address. It behaves differently from the invoke observer trigger (ACTION_INVOKE_OBSERVER) and should be batched separately. Tingle always fires this kind of action trigger for ^deleted messages.", - "Begins the message expunge similar to ACTION_MESSAGE_EXPUNGE but doesn't check if the message was deleted at least 30 days back. To be used ONLY for service removal. See go/gmail-service-removal for more details.", - "Sends RPC to everclear for the message expunge.", - "Send the trigger to the S/MIME certificate issuer server. Dispatched via the GSLB target specified by FLAGS_triggers_smime_certificate_issuer_server_address.", - "The retention trigger that will be written to implement Groups retention.", - "Dispatches the permanent backup trigger to Satellite through Stubby dispatcher.", - "Process the debug log trigger by adding message body before dispatching to the Caribou Server through Stubby Dispatcher.", - "This trigger deletes expired temporary preferences. See go/tingle-temp-prefs for more details.", - "Similar to ACTION_QUERY_RETENTION but uses the MessageRetention policies to trash/delete the messages: cs/caribou/base/lib/proto/data_retention.proto .", - "This trigger deletes expired HistoryRecords. See go/history-record-cleanup for more details.", - "This trigger relabels messages asynchronously. See go/fusebox-bulk-api for more details.", - "Dispatches the image processing trigger to Satellite through Stubby dispatcher. See go/gmail-photo-sharing for details.", - "Trigger for executing comparison logic between the output of ApplyDataRetention idle task and CaribouDataRetention trigger.", - "Trigger for backfill relevancy score. see go/gmail-relevancy-scoring-write for detail.", - "Trigger to backfill gaps left by pdh pushed via push notification. see go/tingle-moonshine-push-v2", - "Begins the message expunge similar to ACTION_MESSAGE_EXPUNGE but fires within one day. To be used ONLY for auto save drafts. See go/faster-auto-save-draft-deletion for more details.", - "Trigger for relevancy score catchup. See go/relevancy-trigger-doc for detail." - ], - "type": "string" + "returnResultThumbnailUrls": { + "description": "With each result we should return the URI for its thumbnail (when applicable)", + "type": "boolean" }, - "data": { - "description": "Clients should use extensions on the Trigger message instead.", - "format": "byte", - "type": "string" + "scoringConfig": { + "$ref": "ScoringConfig", + "description": "Configuration for ranking results." }, - "dataInt": { - "format": "int64", - "type": "string" + "sourceConfig": { + "description": "Configuration for a sources specified in data_source_restrictions.", + "items": { + "$ref": "SourceConfig" + }, + "type": "array" } }, "type": "object" }, - "TriggerKey": { - "description": "A TriggerKey (type + instance_id) uniquely identifies a trigger within a message for a message-trigger and within an account for an account-trigger.", - "id": "TriggerKey", + "SearchApplicationQueryStats": { + "description": "Search application level query stats per date", + "id": "SearchApplicationQueryStats", "properties": { - "instanceId": { - "description": "Identifier to distinguish multiple Triggers of the same type (per message or per account).", - "type": "string" + "date": { + "$ref": "Date", + "description": "The date for which query stats were calculated. Stats calculated on the next day close to midnight are returned." }, - "type": { - "description": "A non-empty string that identifies the type of Trigger. Triggers of the same type may be batched together. The universe of values for the type field should be finite as it is used as a stats key.", - "type": "string" - } - }, - "type": "object" - }, - "Triggers": { - "id": "Triggers", - "properties": { - "triggers": { - "description": "A list of triggers.", + "queryCountByStatus": { "items": { - "$ref": "Trigger" + "$ref": "QueryCountByStatus" }, "type": "array" } }, "type": "object" }, - "TrustedResourceUrlProto": { - "description": "Message containing a string that is safe to use in all URL contexts in DOM APIs and HTML documents; even where the referred-to resource is interpreted as code, e.g., as the src of a script element.", - "id": "TrustedResourceUrlProto", + "SearchApplicationSessionStats": { + "id": "SearchApplicationSessionStats", "properties": { - "privateDoNotAccessOrElseTrustedResourceUrlWrappedValue": { - "description": "IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read this message.", + "date": { + "$ref": "Date", + "description": "The date for which session stats were calculated. Stats are calculated on the following day, close to midnight PST, and then returned." + }, + "searchSessionsCount": { + "description": "The count of search sessions on the day", + "format": "int64", "type": "string" } }, "type": "object" }, - "TypeInfo": { - "description": "Next tag: 2", - "id": "TypeInfo", - "properties": { - "videoInfo": { - "$ref": "VideoInfo", - "description": "Contains additional video information only if document_type is VIDEO." - } - }, - "type": "object" - }, - "UniversalPhoneAccess": { - "description": "Universal phone access contains information required to dial into a conference using one of a static list of phone numbers and a universal PIN. The phone number list is distributed separately.", - "id": "UniversalPhoneAccess", + "SearchApplicationUserStats": { + "id": "SearchApplicationUserStats", "properties": { - "pin": { - "description": "The PIN that users must enter after dialing a universal number. The pin consists of only decimal digits and the length may vary, though it generally is longer than a PhoneAccess.pin.", + "date": { + "$ref": "Date", + "description": "The date for which session stats were calculated. Stats calculated on the next day close to midnight are returned." + }, + "oneDayActiveUsersCount": { + "description": "The count of unique active users in the past one day", + "format": "int64", "type": "string" }, - "pstnInfoUrl": { - "description": "This field has the same contents as the MeetingSpace.more_join_url field, and is included for compatibility reasons. Clients should use the other field instead. This field is deprecated and will be removed.", + "sevenDaysActiveUsersCount": { + "description": "The count of unique active users in the past seven days", + "format": "int64", "type": "string" - } - }, - "type": "object" - }, - "UnmappedIdentity": { - "id": "UnmappedIdentity", - "properties": { - "externalIdentity": { - "$ref": "Principal", - "description": "The resource name for an external user." }, - "resolutionStatusCode": { - "description": "The resolution status for the external identity.", - "enum": [ - "CODE_UNSPECIFIED", - "NOT_FOUND", - "IDENTITY_SOURCE_NOT_FOUND", - "IDENTITY_SOURCE_MISCONFIGURED", - "TOO_MANY_MAPPINGS_FOUND", - "INTERNAL_ERROR" - ], - "enumDescriptions": [ - "Input-only value. Used to list all unmapped identities regardless of status.", - "The unmapped identity was not found in IDaaS, and needs to be provided by the user.", - "The identity source associated with the identity was either not found or deleted.", - "IDaaS does not understand the identity source, probably because the schema was modified in a non compatible way.", - "The number of users associated with the external identity is too large.", - "Internal error." - ], + "thirtyDaysActiveUsersCount": { + "description": "The count of unique active users in the past thirty days", + "format": "int64", "type": "string" } }, "type": "object" }, - "UnreserveItemsRequest": { - "id": "UnreserveItemsRequest", + "SearchItemsByViewUrlRequest": { + "id": "SearchItemsByViewUrlRequest", "properties": { - "connectorName": { - "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", - "type": "string" - }, "debugOptions": { "$ref": "DebugOptions", "description": "Common debug options." }, - "queue": { - "description": "The name of a queue to unreserve items from.", + "pageToken": { + "description": "The next_page_token value returned from a previous request, if any.", + "type": "string" + }, + "viewUrl": { + "description": "Specify the full view URL to find the corresponding item. The maximum length is 2048 characters.", "type": "string" } }, "type": "object" }, - "UpdateBccRecipients": { - "id": "UpdateBccRecipients", + "SearchItemsByViewUrlResponse": { + "id": "SearchItemsByViewUrlResponse", "properties": { - "bccRecipients": { + "items": { "items": { - "$ref": "Recipient" + "$ref": "Item" }, "type": "array" + }, + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" } }, "type": "object" }, - "UpdateBody": { - "id": "UpdateBody", + "SearchQualityMetadata": { + "description": "Additional search quality metadata of the item.", + "id": "SearchQualityMetadata", "properties": { - "insertContents": { - "description": "A repeated field that contains a series of content to insert into the draft that the user is currently editing. The content can contain HTML content or plain text content.", - "items": { - "$ref": "InsertContent" - }, - "type": "array" - }, - "type": { - "enum": [ - "UNSPECIFIED_ACTION_TYPE", - "IN_PLACE_INSERT", - "INSERT_AT_START", - "INSERT_AT_END", - "REPLACE" - ], - "enumDescriptions": [ - "Default value when nothing is set for Type.", - "Indicates this action is to perform an in-place insertion. By default the content is inserted at the current cursor position, if there is selected content, it replaces the selected content.", - "Indicates this action is to perform insert at the start of the message body.", - "Indicates this action is to perform insert at the end of the message body.", - "Indicates this action is to replace the message body." - ], - "type": "string" + "quality": { + "description": "An indication of the quality of the item, used to influence search quality. Value should be between 0.0 (lowest quality) and 1.0 (highest quality). The default value is 0.0.", + "format": "double", + "type": "number" } }, "type": "object" }, - "UpdateCcRecipients": { - "id": "UpdateCcRecipients", + "SearchRequest": { + "description": "The search API request.", + "id": "SearchRequest", "properties": { - "ccRecipients": { + "contextAttributes": { + "description": "Context attributes for the request which will be used to adjust ranking of search results. The maximum number of elements is 10.", "items": { - "$ref": "Recipient" + "$ref": "ContextAttribute" }, "type": "array" - } - }, - "type": "object" - }, - "UpdateDataSourceRequest": { - "id": "UpdateDataSourceRequest", - "properties": { - "debugOptions": { - "$ref": "DebugOptions", - "description": "Common debug options." }, - "source": { - "$ref": "DataSource" + "dataSourceRestrictions": { + "description": "The sources to use for querying. If not specified, all data sources from the current search application are used.", + "items": { + "$ref": "DataSourceRestriction" + }, + "type": "array" }, - "updateMask": { - "description": "Only applies to [`settings.datasources.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask to control which fields to update. Example field paths: `name`, `displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the source, that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are updated.", - "format": "google-fieldmask", - "type": "string" - } - }, - "type": "object" - }, - "UpdateDraftActionMarkup": { - "id": "UpdateDraftActionMarkup", - "properties": { - "updateBccRecipients": { - "$ref": "UpdateBccRecipients", - "description": "If set, replaces the existing Bcc recipients of the draft the user is currently editing." + "facetOptions": { + "items": { + "$ref": "FacetOptions" + }, + "type": "array" + }, + "pageSize": { + "description": "Maximum number of search results to return in one page. Valid values are between 1 and 100, inclusive. Default value is 10. Minimum value is 50 when results beyond 2000 are requested.", + "format": "int32", + "type": "integer" + }, + "query": { + "description": "The raw query string. See supported search operators in the [Narrow your search with operators](https://support.google.com/cloudsearch/answer/6172299)", + "type": "string" }, - "updateBody": { - "$ref": "UpdateBody", - "description": "A field that contains a series of update actions to perform on the draft body that the user is currently editing." + "queryInterpretationOptions": { + "$ref": "QueryInterpretationOptions", + "description": "Options to interpret the user query." }, - "updateCcRecipients": { - "$ref": "UpdateCcRecipients", - "description": "If set, replaces the existing Cc recipients of the draft the user is currently editing." + "requestOptions": { + "$ref": "RequestOptions", + "description": "Request options, such as the search application and user timezone." }, - "updateSubject": { - "$ref": "UpdateSubject", - "description": "If set, replaces the existing subject of the draft the user is currently editing." + "sortOptions": { + "$ref": "SortOptions", + "description": "The options for sorting the search results" }, - "updateToRecipients": { - "$ref": "UpdateToRecipients", - "description": "If set, replaces the existing To recipients of the draft the user is currently editing." + "start": { + "description": "Starting index of the results.", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "UpdateSchemaRequest": { - "id": "UpdateSchemaRequest", + "SearchResponse": { + "description": "The search API response.", + "id": "SearchResponse", "properties": { - "debugOptions": { - "$ref": "DebugOptions", - "description": "Common debug options." + "debugInfo": { + "$ref": "ResponseDebugInfo", + "description": "Debugging information about the response." }, - "schema": { - "$ref": "Schema", - "description": "The new schema for the source." + "errorInfo": { + "$ref": "ErrorInfo", + "description": "Error information about the response." }, - "validateOnly": { - "description": "If true, the schema will be checked for validity, but will not be registered with the data source, even if valid.", + "facetResults": { + "description": "Repeated facet results.", + "items": { + "$ref": "FacetResult" + }, + "type": "array" + }, + "hasMoreResults": { + "description": "Whether there are more search results matching the query.", "type": "boolean" - } - }, - "type": "object" - }, - "UpdateSubject": { - "id": "UpdateSubject", - "properties": { - "subject": { + }, + "queryInterpretation": { + "$ref": "QueryInterpretation", + "description": "Query interpretation result for user query. Empty if query interpretation is disabled." + }, + "resultCountEstimate": { + "description": "The estimated result count for this query.", + "format": "int64", "type": "string" - } - }, - "type": "object" - }, - "UpdateToRecipients": { - "id": "UpdateToRecipients", - "properties": { - "toRecipients": { + }, + "resultCountExact": { + "description": "The exact result count for this query.", + "format": "int64", + "type": "string" + }, + "resultCounts": { + "$ref": "ResultCounts", + "description": "Expanded result count information." + }, + "results": { + "description": "Results from a search query.", "items": { - "$ref": "Recipient" + "$ref": "SearchResult" + }, + "type": "array" + }, + "spellResults": { + "description": "Suggested spelling for the query.", + "items": { + "$ref": "SpellResult" + }, + "type": "array" + }, + "structuredResults": { + "description": "Structured results for the user query. These results are not counted against the page_size.", + "items": { + "$ref": "StructuredResult" }, "type": "array" } }, "type": "object" }, - "UploadItemRef": { - "description": "Represents an upload session reference. This reference is created via upload method. This reference is valid for 30 days after its creation. Updating of item content may refer to this uploaded content via contentDataRef.", - "id": "UploadItemRef", - "properties": { - "name": { - "description": "The name of the content reference. The maximum length is 2048 characters.", - "type": "string" - } - }, - "type": "object" - }, - "UploadMetadata": { - "description": "Annotation metadata for user Upload artifacts.", - "id": "UploadMetadata", + "SearchResult": { + "description": "Results containing indexed information for a document.", + "id": "SearchResult", "properties": { - "attachmentToken": { - "description": "Opaque token. Clients shall simply pass it back to the Backend. There is no guarantee the attachment_token returned on subsequent reads is the same even if nothing has changed. This field will NOT be saved into storage.", - "type": "string" - }, - "backendUploadMetadata": { - "$ref": "AppsDynamiteSharedBackendUploadMetadata", - "description": "Information about the uploaded attachment that is only used in Backend. This field will NOT be sent out of Google." - }, - "clonedAuthorizedItemId": { - "$ref": "AuthorizedItemId", - "description": "The \"new\" secure identifier for Drive files. Should be used instead of the deprecated string drive_id field above. This should only be set if the upload file has been added to Drive. Note that older Drive files that do not have a ResourceKey should still use this field, with the resource_key field unset." + "clusteredResults": { + "description": "If source is clustered, provide list of clustered results. There will only be one level of clustered results. If current source is not enabled for clustering, this field will be empty.", + "items": { + "$ref": "SearchResult" + }, + "type": "array" }, - "clonedDriveAction": { - "description": "DriveAction for organizing the cloned version of this upload in Drive, if the file has been added to Drive. This field is not set if the file has not been added to Drive. Additionally, this field is only set when part of a FileResult in a ListFilesResponse.", - "enum": [ - "DRIVE_ACTION_UNSPECIFIED", - "ADD_TO_DRIVE", - "ORGANIZE", - "ADD_SHORTCUT", - "ADD_ANOTHER_SHORTCUT" - ], - "enumDescriptions": [ - "No organize action should be shown.", - "Show \"Add to Drive\" button, for adding file that doesn't exist in Drive to Drive. Note that deleted Drive files that still exist (i.e. in your Trash) will still be ORGANIZE (this is consistent with Gmail Drive attachments).", - "Show \"Move\" button, for organizing a Drive file the user has permission to move.", - "Show \"Add shortcut\" button, for adding a shortcut to a Drive file the user does not have permission to move.", - "Show \"Add another shortcut\" button, for Drive files the user has already created a shortcut to." - ], - "type": "string" + "debugInfo": { + "$ref": "ResultDebugInfo", + "description": "Debugging information about this search result." }, - "clonedDriveId": { - "description": "Reference to a Drive ID, if this upload file has been previously cloned to Drive. Note: this is deprecated in favor of the AuthorizedItemId below.", - "type": "string" + "metadata": { + "$ref": "Metadata", + "description": "Metadata of the search result." }, - "contentName": { - "description": "The original file name for the content, not the full path.", - "type": "string" + "snippet": { + "$ref": "Snippet", + "description": "The concatenation of all snippets (summaries) available for this result." }, - "contentType": { - "description": "Type is from Scotty's best_guess by default: http://google3/uploader/agent/scotty_agent.proto?l=51\u0026rcl=140889785", + "title": { + "description": "Title of the search result.", "type": "string" }, - "dlpMetricsMetadata": { - "$ref": "AppsDynamiteSharedDlpMetricsMetadata", - "description": "The metrics metadata of the Data Loss Prevention attachment scan." - }, - "internalOnlyComponentSearchInfo": { - "$ref": "AppsDynamiteSharedMessageComponentSearchInfo", - "description": "Message component search metadata for this upload_metadata (currently used for message highlighting and snippeting). For use by Search backend only; clients should get upload_metadata search info from Annotation.component_search_info. This field is necessary because backend Message keeps UploadMetadata in a separate field. Upon converting from backend message to frontend message, this field will be copied to Annotation.component_search_info while the corresponding UploadMetadata is converted into an Annotation." - }, - "latestVirusScanTimestamp": { - "description": "The timestamp of the most recent virus scan completed (in microseconds).", - "format": "int64", + "url": { + "description": "The URL of the search result. The URL contains a Google redirect to the actual item. This URL is signed and shouldn't be changed.", "type": "string" - }, - "localId": { - "description": "A copy of the LocalId in Annotation. This field is supposed to be filled by server only.", + } + }, + "type": "object" + }, + "ShareScope": { + "id": "ShareScope", + "properties": { + "domain": { + "description": "If scope is DOMAIN, this field contains the dasher domain, for example \"google.com\".", "type": "string" }, - "originalDimension": { - "$ref": "AppsDynamiteSharedDimension", - "description": "Original dimension of the content. Only set for image attachments." - }, - "videoReference": { - "$ref": "AppsDynamiteSharedVideoReference", - "description": "Reference to a transcoded video attachment. Only set for video attachments." - }, - "virusScanResult": { - "description": "Result for a virus scan. It's duplicated in the above field apps.dynamite.shared.BackendUploadMetadata", + "scope": { + "description": "The scope to which the content was shared.", "enum": [ - "UNKNOWN_VIRUS_SCAN_RESULT", - "CLEAN", - "INFECTED", - "ERROR", - "POLICY_VIOLATION" + "UNKNOWN", + "PRIVATE", + "LIMITED", + "EXTENDED", + "DASHER_DOMAIN", + "PUBLIC" ], "enumDescriptions": [ "", + "Only the author can view the post.", + "Viewable only by a set of people.", + "Viewable by extended circles.", "", - "", - "", - "The document violates Google's policy for executables and archives." + "" ], "type": "string" } }, "type": "object" }, - "UrlMetadata": { - "description": "Annotation metadata for a Weblink. In case of pasted link it can qualify to be other types in addition to being a URL - like DRIVE_DOC/DRIVE_SHEET and so on. The URL metadata will also be present and it's up to the client to decide which metadata to render it with. These fields are filled in using page render service.", - "id": "UrlMetadata", + "Snippet": { + "description": "Snippet of the search result, which summarizes the content of the resulting page.", + "id": "Snippet", "properties": { - "domain": { - "description": "Domain for this url. If it's an IP address the address is returned.", - "type": "string" - }, - "gwsUrl": { - "$ref": "SafeUrlProto", - "description": "The signed GWS URL." - }, - "gwsUrlExpirationTimestamp": { - "description": "The expiration timestamp for GWS URL, only set when gws_url is set.", - "format": "int64", - "type": "string" - }, - "imageHeight": { - "description": "Dimensions of the image: height. This field is string to match with page render service response. Deprecated. Use int_image_height instead.", - "type": "string" - }, - "imageUrl": { - "description": "Representative image of the website.", - "type": "string" - }, - "imageWidth": { - "description": "Dimensions of the image: width. This field is string to match with page render service response. Deprecated. Use int_image_height instead.", - "type": "string" - }, - "intImageHeight": { - "description": "Dimensions of the image: height.", - "format": "int32", - "type": "integer" - }, - "intImageWidth": { - "description": "Dimensions of the image: width.", - "format": "int32", - "type": "integer" - }, - "mimeType": { - "description": "Mime type of the content (Currently mapped from Page Render Service ItemType) Note that this is not necessarily the mime type of the http resource. For example a text/html from youtube or vimeo may actually be classified as a video type. Then we shall mark it as video/* since we don't know exactly what type of video it is.", - "type": "string" - }, - "redirectUrl": { - "$ref": "SafeUrlProto", - "description": "The stable redirect URL pointing to frontend server." - }, - "shouldNotRender": { - "description": "If the UrlMetadata is missing data for rendering a chip. Deprecated. Use Annotation.ChipRenderType instead.", - "type": "boolean" + "matchRanges": { + "description": "The matched ranges in the snippet.", + "items": { + "$ref": "MatchRange" + }, + "type": "array" }, "snippet": { - "description": "Snippet/small description of the weblink.", + "description": "The snippet of the document. The snippet of the document. May contain escaped HTML character that should be unescaped prior to rendering.", "type": "string" - }, - "title": { - "description": "Title of the Weblink.", + } + }, + "type": "object" + }, + "SortOptions": { + "id": "SortOptions", + "properties": { + "operatorName": { + "description": "The name of the operator corresponding to the field to sort on. The corresponding property must be marked as sortable.", "type": "string" }, - "url": { - "$ref": "SafeUrlProto", - "description": "The original URL." - }, - "urlSource": { + "sortOrder": { + "description": "Ascending is the default sort order", "enum": [ - "URL_SOURCE_UNKNOWN", - "SERVER_SUPPLIED_POLICY_VIOLATION", - "AUTO_DETECTED_PLAIN_TEXT", - "RICH_TEXT" + "ASCENDING", + "DESCENDING" ], "enumDescriptions": [ "", - "", - "Set by the server, when it detects a URL in the message text", - "Set by the client, when the user adds a link as a custom hyperlink. Validated by the server and persisted in storage." + "" ], "type": "string" } }, "type": "object" }, - "User": { - "description": "User profile information. This user is not necessarily member of a space.", - "id": "User", + "Source": { + "description": "Defines sources for the suggest/search APIs.", + "id": "Source", "properties": { - "avatarUrl": { - "description": "URL for the avatar picture of the User in dynamite", - "type": "string" - }, - "blockRelationship": { - "$ref": "AppsDynamiteSharedUserBlockRelationship", - "description": "Information about whether the user is blocked by requester and/or has blocked requester." - }, - "botInfo": { - "$ref": "BotInfo", - "description": "Bot-specific profile information. Leave it empty for human users." - }, - "deleted": { - "description": "Deleted flag, if true, means User has been soft-deleted/purged Deprecated. Use user_account_state field instead.", - "type": "boolean" - }, - "email": { - "description": "Email ID of the user", - "type": "string" - }, - "firstName": { - "description": "First or given name of the user", - "type": "string" - }, - "gender": { - "description": "Gender of the user", - "type": "string" - }, - "id": { - "$ref": "UserId", - "description": "UserId" - }, - "isAnonymous": { - "description": "Set to true if none of the depending services (Gaia, PeopleApi) returns any info for this user.", - "type": "boolean" - }, - "lastName": { - "description": "Last or family name of the user", - "type": "string" - }, "name": { - "description": "Non-unique, user-defined display name of the User", + "description": "Source name for content indexed by the Indexing API.", "type": "string" }, - "organizationInfo": { - "$ref": "AppsDynamiteSharedOrganizationInfo", - "description": "Information about whether the user is a consumer user, or the GSuite customer that they belong to." - }, - "phoneNumber": { - "description": "Phone number(s) of the user", - "items": { - "$ref": "AppsDynamiteSharedPhoneNumber" - }, - "type": "array" - }, - "userAccountState": { - "description": "State of user's Gaia Account", + "predefinedSource": { + "description": "Predefined content source for Google Apps.", "enum": [ - "UNKNOWN_USER_ACCOUNT_STATE", - "ENABLED", - "DISABLED", - "DELETED", - "TEMPORARY_UNAVAILABLE" + "NONE", + "QUERY_HISTORY", + "PERSON", + "GOOGLE_DRIVE", + "GOOGLE_GMAIL", + "GOOGLE_SITES", + "GOOGLE_GROUPS", + "GOOGLE_CALENDAR", + "GOOGLE_KEEP" ], "enumDescriptions": [ "", - "User has Dynamite enabled.", - "User doesn't have Dynamite enabled. This includes service disabled by admin, or user's account is suspended", - "User account is deleted", - "Failed to retrieve user's info. Will use user's email address as name and first_name." - ], - "type": "string" - }, - "userProfileVisibility": { - "description": "Visibility of user's Profile", - "enum": [ - "UNKNOWN_USER_PROFILE_VISIBILITY", - "FULL_PROFILE", - "PRIMARY_MAIL", - "INVITEE_EMAIL", - "DELETED_USER", - "UNKNOWN_USER", - "FAILURE" - ], - "enumDescriptions": [ + "Suggests queries issued by the user in the past. Only valid when used with the suggest API. Ignored when used in the query API.", + "Suggests people in the organization. Only valid when used with the suggest API. Results in an error when used in the query API.", + "", "", - "Caller has full visibility.", - "Caller can only see target user's primary email from Gaia", - "Caller can only see the email used to invite the target user", - "Caller can only see the target user as a deleted user. Email is empty. Names are redacted as \"Deleted User\".", - "Caller has no visibility to the target user at all. Email is empty. Names are redacted as \"Unknown User\".", - "Stubby failed. Clients should always retry ASAP" + "", + "", + "", + "" ], "type": "string" } }, "type": "object" }, - "UserActivity": { - "description": "User's single or bulk query activity. This can be a logging query or deletion query.", - "id": "UserActivity", + "SourceConfig": { + "description": "Configurations for a source while processing a Search or Suggest request.", + "id": "SourceConfig", "properties": { - "queryActivity": { - "$ref": "QueryActivity", - "description": "Contains data which needs to be logged/removed." + "crowdingConfig": { + "$ref": "SourceCrowdingConfig", + "description": "The crowding configuration for the source." + }, + "scoringConfig": { + "$ref": "SourceScoringConfig", + "description": "The scoring configuration for the source." + }, + "source": { + "$ref": "Source", + "description": "The source for which this configuration is to be used." } }, "type": "object" }, - "UserDisplayInfo": { - "description": "Resource for displaying user info", - "id": "UserDisplayInfo", + "SourceCrowdingConfig": { + "description": "Set search results crowding limits. Crowding is a situation in which multiple results from the same source or host \"crowd out\" other results, diminishing the quality of search for users. To foster better search quality and source diversity in search results, you can set a condition to reduce repetitive results by source.", + "id": "SourceCrowdingConfig", "properties": { - "avatarUrl": { - "description": "The avatar to show for this user", - "type": "string" + "numResults": { + "description": "Maximum number of results allowed from a datasource in a result page as long as results from other sources are not exhausted. Value specified must not be negative. A default value is used if this value is equal to 0. To disable crowding, set the value greater than 100.", + "format": "int32", + "type": "integer" }, - "displayName": { - "description": "The name to show for this user", - "type": "string" + "numSuggestions": { + "description": "Maximum number of suggestions allowed from a source. No limits will be set on results if this value is less than or equal to 0.", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "UserId": { - "description": "Primary key for User resource.", - "id": "UserId", + "SourceResultCount": { + "description": "Per source result count information.", + "id": "SourceResultCount", "properties": { - "actingUserId": { - "description": "Optional. Opaque, server-assigned ID of the user profile associated with App/user acting on behalf of the human user. This is currently only set when a 3P application is acting on the user's behalf.", - "type": "string" + "hasMoreResults": { + "description": "Whether there are more search results for this source.", + "type": "boolean" }, - "id": { - "description": "Opaque, server-assigned ID of the User.", + "resultCountEstimate": { + "description": "The estimated result count for this source.", + "format": "int64", "type": "string" }, - "originAppId": { - "$ref": "AppId", - "description": "Optional. Identifier of the App involved (directly or on behalf of a human creator) in creating this message. This is not set if the user posted a message directly, but is used in the case of, for example, a message being generated by a 1P integration based on a user action (creating an event, creating a task etc). This should only be used on the BE. For clients, please use the field in the FE message proto instead (google3/apps/dynamite/v1/frontend/api/message.proto?q=origin_app_id)." + "resultCountExact": { + "description": "The exact result count for this source.", + "format": "int64", + "type": "string" }, - "type": { - "description": "Clients do not need to send UserType to Backend, but Backend will always send this field to clients per the following rule: 1. For HUMAN Ids, the field is empty but by default .getType() will return HUMAN. 2. For BOT Ids, the field is ALWAYS set to BOT.", + "source": { + "$ref": "Source", + "description": "The source the result count information is associated with." + } + }, + "type": "object" + }, + "SourceScoringConfig": { + "description": "Set the scoring configuration. This allows modifying the ranking of results for a source.", + "id": "SourceScoringConfig", + "properties": { + "sourceImportance": { + "description": "Importance of the source.", "enum": [ - "HUMAN", - "BOT" + "DEFAULT", + "LOW", + "HIGH" ], "enumDescriptions": [ - "Notes on HUMAN type: 1) Leaving UserId.UserType field empty will return HUMAN as default value. This is expected because all the existing UserIds are without explicitly setting UserType, most of which are HUMAN Ids. For Bot Ids we will always set BOT in UserType field. 2) DO NOT explicitly set HUMAN as type. This is a proto2 issue, that a UserId with explicitly set default value HUMAN as type is NOT equal to an id without setting the field. aka. UserId id1 = UserId.newBuilder() .setId(\"dummy\").setType(UserType.HUMAN).build(); UserId id2 = UserId.newBuilder().setId(\"dummy\").build(); AssertThat(id1).isNotEqual(id2); AssertThat(id2.getType()).isEqualTo(UserType.HUMAN);", + "", + "", "" ], "type": "string" @@ -18489,501 +7680,456 @@ }, "type": "object" }, - "UserInfo": { - "description": "Contains info regarding the updater of an Activity Feed item. Next Id: 8", - "id": "UserInfo", + "SpellResult": { + "id": "SpellResult", "properties": { - "driveNotificationAvatarUrl": { - "description": "Avatar url of the user who triggered the Drive Notification email. This field will be populated if we can extract such information from the Drive Notification email. This should only be used to fetch user avatars when updater_to_show_email is not populated. This field is not set for non-Drive Notification items.", + "suggestedQuery": { + "description": "The suggested spelling of the query.", "type": "string" }, - "updaterCountDisplayType": { - "description": "Describes how updater_count_to_show should be used.", + "suggestedQueryHtml": { + "$ref": "SafeHtmlProto", + "description": "The sanitized HTML representing the spell corrected query that can be used in the UI. This usually has language-specific tags to mark up parts of the query that are spell checked." + }, + "suggestionType": { + "description": "Suggestion triggered for the current query.", "enum": [ - "UPDATER_COUNT_DISPLAY_TYPE_UNSPECIFIED", - "NO_DISPLAY_COUNT", - "EXACT_COUNT", - "NONZERO_COUNT" + "SUGGESTION_TYPE_UNSPECIFIED", + "NON_EMPTY_RESULTS_SPELL_SUGGESTION", + "ZERO_RESULTS_FULL_PAGE_REPLACEMENT" ], "enumDescriptions": [ - "", - "No additional updaters where involved. Shows up in clients as \"$USERNAME replied\".", - "A precise updater count is known and the value set in updater_count_to_show should be used. If set, updater_count_to_show is set to the total number of updaters minus the one set in updater_to_show. Shows up in clients as \"$USERNAME and $NUM others replied\".", - "A precise updater count could not be calculated, but there is at least one. Any value set in updater_count_to_show should NOT be used. Shows up in clients as \"$USERNAME and others replied\"." + "Default spell check type", + "Spell suggestion without any results changed. The results are still shown for the original query (which has non zero / results) with a suggestion for spelling that would have results.", + "Spell suggestion triggered when original query has no results. When the original query has no results, and spell suggestion has results we trigger results for the spell corrected query." ], "type": "string" - }, - "updaterCountToShow": { - "description": "The number of updaters for clients to show depending on UpdaterCountDisplayType.", - "format": "int32", - "type": "integer" - }, - "updaterToShowEmail": { - "description": "The email of the updater for clients to show used for Gmail items. For Drive Notifications, this is the email of the user who triggered the Drive Notification email. This field will be populated if we can extract such information from the Drive Notification email. This is not the actual sender of the email, as the sender is always comments-noreply@docs.google.com.", - "type": "string" - }, - "updaterToShowGaiaId": { - "description": "The gaia id of the updater for clients to show used for Gmail items. If the updater is an external user, the email field below should be populated.", - "format": "int64", - "type": "string" - }, - "updaterToShowName": { - "description": "The display name of the updater for clients to show used for Gmail items. For non-Drive Notification items, this field will always be populated. If the display name cannot be found for the user, the fallback string will be the email address. For Drive Notification items, this is the name of the user who triggered the Drive notification email. This field will be populated if we can extract such information from the Drive Notification email. If the name cannot be extracted, then the email will be the fallback string, which is used as the display name text in the UI when needed. This is not the actual sender of the email, as the sender is always comments-noreply@docs.google.com.", - "type": "string" - }, - "updaterToShowUserId": { - "$ref": "UserId", - "description": "The updater for clients to show used for Dynamite Chat items." } }, "type": "object" }, - "UserMentionData": { - "description": "Person metadata, for USER_MENTION segments. Should always contain at least one of user_gaia_id, user_id, email or user. The exact set of populated fields may differ depending on the context and the level in the serving stack; for example, emails will be elided on the viewing path. But as a general rule, a proto having any one of the four is valid, subject to the standard constraints of the applied annotations -- that is, communication between servers and clients will ignore jspb.ignore fields, and communication between servers and other servers (or between servers and storage) will ignore client_only fields. For more on the annotations, see the comments in social/common/segment_annotations.proto", - "id": "UserMentionData", + "StartUploadItemRequest": { + "description": "Start upload file request.", + "id": "StartUploadItemRequest", "properties": { - "email": { - "type": "string" - }, - "user": { - "$ref": "PrincipalProto", - "description": "If the principal is backed by a gaia id, DO NOT use this field. Use user_gaia_id/user_id fields instead." - }, - "userGaiaId": { - "description": "An unobfuscated gaia ID:", - "format": "int64", + "connectorName": { + "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", "type": "string" }, - "userId": { - "description": "An obfuscated gaia ID:", - "type": "string" + "debugOptions": { + "$ref": "DebugOptions", + "description": "Common debug options." } }, "type": "object" }, - "UserMentionMetadata": { - "description": "Annotation metadata for user mentions (+/@/-).", - "id": "UserMentionMetadata", + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", "properties": { - "displayName": { - "description": "Display name of the mentioned user. This field should remain empty when clients resolve a UserMention annotation. It will be filled in when a UserMention is generated by the Integration Server.", - "type": "string" - }, - "gender": { - "description": "Gender of the mentioned user. One of \"female\", \"male\" or \"other\". Used for choosing accurate translations for strings that contain the UserMention, when these need to be constructed (e.g. task assignment update message). This field should remain empty when clients resolve a UserMention. It will be filled in when a UserMention is generated by the Integration Server.", - "type": "string" - }, - "id": { - "$ref": "UserId", - "description": "To be deprecated. Use invitee_info field instead. ID of the User mentioned. This field should remain empty when type == MENTION_ALL." - }, - "inviteeInfo": { - "$ref": "InviteeInfo", - "description": "Invitee UserId and email used when mentioned. This field should remain empty when type == MENTION_ALL. Invitee_info.email is only used when a user is @-mentioned with an email address, and it will be empty when clients get messages from Backend." + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" }, - "type": { - "enum": [ - "TYPE_UNSPECIFIED", - "INVITE", - "UNINVITE", - "MENTION", - "MENTION_ALL", - "FAILED_TO_ADD" - ], - "enumDescriptions": [ - "Default value for the enum. DO NOT USE.", - "An @mention that invites a new member into the space", - "DEPRECATED: An @mention that removes a member from a space. Support for this has been removed.", - "An @mention of an existing member in the space.", - "An @mention of all members in the space.", - "Server-generated user mention, for clients to strikethrough." - ], - "type": "string" + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" }, - "userMentionError": { - "description": "Specific reason for the user mention failing, for fine-grained processing by clients (i.e. specific error message for space limit exceeded case) IMPORTANT: Set this only for FAILED_TO_ADD case.", - "enum": [ - "USER_MENTION_ERROR_UNSPECIFIED", - "MEMBERSHIP_LIMIT_EXCEEDED" - ], - "enumDescriptions": [ - "", - "Failure caused by adding user to a room that is full" - ], + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", "type": "string" } }, "type": "object" }, - "VPCSettings": { - "id": "VPCSettings", + "StructuredDataObject": { + "description": "A structured data object consisting of named properties.", + "id": "StructuredDataObject", "properties": { - "project": { - "description": "The resource name of the GCP Project to be used for VPC SC policy check. VPC security settings on this project will be honored for Cloud Search APIs after project_name has been updated through CustomerService. Format: projects/{project_id}", - "type": "string" + "properties": { + "description": "The properties for the object. The maximum number of elements is 1000.", + "items": { + "$ref": "NamedProperty" + }, + "type": "array" } }, "type": "object" }, - "Value": { - "description": "Definition of a single value with generic type.", - "id": "Value", + "StructuredResult": { + "description": "Structured results that are returned as part of search request.", + "id": "StructuredResult", "properties": { - "booleanValue": { - "type": "boolean" - }, - "dateValue": { - "$ref": "Date" - }, - "doubleValue": { - "format": "double", - "type": "number" - }, - "integerValue": { - "format": "int64", - "type": "string" + "person": { + "$ref": "Person", + "description": "Representation of a person" + } + }, + "type": "object" + }, + "SuggestRequest": { + "description": "Request of suggest API.", + "id": "SuggestRequest", + "properties": { + "dataSourceRestrictions": { + "description": "The sources to use for suggestions. If not specified, the data sources are taken from the current search application. NOTE: Suggestions are only supported for the following sources: * Third-party data sources * PredefinedSource.PERSON * PredefinedSource.GOOGLE_DRIVE", + "items": { + "$ref": "DataSourceRestriction" + }, + "type": "array" }, - "stringValue": { + "query": { + "description": "Partial query for which autocomplete suggestions will be shown. For example, if the query is \"sea\", then the server might return \"season\", \"search\", \"seagull\" and so on.", "type": "string" }, - "timestampValue": { - "format": "google-datetime", - "type": "string" + "requestOptions": { + "$ref": "RequestOptions", + "description": "Request options, such as the search application and user timezone." } }, "type": "object" }, - "ValueFilter": { - "id": "ValueFilter", + "SuggestResponse": { + "description": "Response of the suggest API.", + "id": "SuggestResponse", "properties": { - "operatorName": { - "description": "The `operator_name` applied to the query, such as *price_greater_than*. The filter can work against both types of filters defined in the schema for your data source: 1. `operator_name`, where the query filters results by the property that matches the value. 2. `greater_than_operator_name` or `less_than_operator_name` in your schema. The query filters the results for the property values that are greater than or less than the supplied value in the query.", + "suggestResults": { + "description": "List of suggestions.", + "items": { + "$ref": "SuggestResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "SuggestResult": { + "description": "One suggestion result.", + "id": "SuggestResult", + "properties": { + "peopleSuggestion": { + "$ref": "PeopleSuggestion", + "description": "This is present when the suggestion indicates a person. It contains more information about the person - like their email ID, name etc." + }, + "querySuggestion": { + "$ref": "QuerySuggestion", + "description": "This field will be present if the suggested query is a word/phrase completion." + }, + "source": { + "$ref": "Source", + "description": "The source of the suggestion." + }, + "suggestedQuery": { + "description": "The suggested query that will be used for search, when the user clicks on the suggestion", "type": "string" - }, - "value": { - "$ref": "Value", - "description": "The value to be compared with." } }, "type": "object" }, - "VideoCallMetadata": { - "id": "VideoCallMetadata", + "TextOperatorOptions": { + "description": "Used to provide a search operator for text properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", + "id": "TextOperatorOptions", "properties": { - "meetingSpace": { - "$ref": "MeetingSpace", - "description": "Thor meeting space." - }, - "shouldNotRender": { - "description": "If this field is set to true, server should still contact external backends to get metadata for search but clients should not render this chip.", + "exactMatchWithOperator": { + "description": "If true, the text value is tokenized as one atomic value in operator searches and facet matches. For example, if the operator name is \"genre\" and the value is \"science-fiction\" the query restrictions \"genre:science\" and \"genre:fiction\" doesn't match the item; \"genre:science-fiction\" does. Text value matching is case-sensitive and does not remove special characters. If false, the text is tokenized. For example, if the value is \"science-fiction\" the queries \"genre:science\" and \"genre:fiction\" matches the item.", "type": "boolean" }, - "wasCreatedInCurrentGroup": { - "description": "Whether this meeting space was created via Dynamite in this Dynamite group.", - "type": "boolean" + "operatorName": { + "description": "Indicates the operator name required in the query in order to isolate the text property. For example, if operatorName is *subject* and the property's name is *subjectLine*, then queries like *subject:\u003cvalue\u003e* show results only where the value of the property named *subjectLine* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any text properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", + "type": "string" } }, "type": "object" }, - "VideoInfo": { - "description": "Next tag: 2", - "id": "VideoInfo", + "TextPropertyOptions": { + "description": "The options for text properties.", + "id": "TextPropertyOptions", "properties": { - "duration": { - "description": "Duration of the video in milliseconds. This field can be absent for recently uploaded video or inaccurate sometimes.", - "format": "int32", - "type": "integer" + "operatorOptions": { + "$ref": "TextOperatorOptions", + "description": "If set, describes how the property should be used as a search operator." + }, + "retrievalImportance": { + "$ref": "RetrievalImportance", + "description": "Indicates the search quality importance of the tokens within the field when used for retrieval." } }, "type": "object" }, - "VoicePhoneNumber": { - "description": "Represents both long and short phone number that can be called or texted. Short telephone numbers are used to reach local services. Short numbers and their purpose differ from country to country. These numbers in US are in the form of N11 which is a three-digit abbreviated dialing telephone number.", - "id": "VoicePhoneNumber", + "TextValues": { + "description": "List of text values.", + "id": "TextValues", "properties": { - "e164": { - "description": "E.164 formatted full phone number with leading +. This field also represents encoded form of short telephone numbers in E.164 format. e.g. \"911\" is encoded as \"+1911\".", - "type": "string" - }, - "i18nData": { - "$ref": "VoicePhoneNumberI18nData", - "description": "Additional data that could be added using the libphonenumber API." + "values": { + "description": "The maximum allowable length for text values is 2048 characters.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "VoicePhoneNumberI18nData": { - "id": "VoicePhoneNumberI18nData", + "ThirdPartyGenericCard": { + "id": "ThirdPartyGenericCard", "properties": { - "countryCode": { - "description": "The country calling code for this number, as defined by the ITU. For example, this would be 1 for NANPA countries, and 33 for France (for more info see i18n.phonenumbers.PhoneNumber.country_code).", - "format": "int32", - "type": "integer" + "cardId": { + "description": "Unique identifier for the card.", + "type": "string" }, - "internationalNumber": { - "description": "Display number formatted using the INTERNATIONAL format.", + "category": { + "description": "Category that the card belongs to.", "type": "string" }, - "isValid": { - "description": "When present, indicates the number is valid according to the libphonenumber's isValidNumber API (see https://code.google.com/p/libphonenumber/).", - "type": "boolean" + "content": { + "$ref": "Content", + "description": "[Required] Card content." }, - "nationalNumber": { - "description": "Display number formatted using the NATIONAL format.", - "type": "string" + "context": { + "$ref": "Context", + "description": "[Required] Context where the card should be triggered." }, - "regionCode": { - "description": "A region (country, territory, continent, etc), as defined by Unicode's \"CLDR\", itself based on ISO 3166 (UN country codes). For details, see https://www.corp.google.com/~engdocs/java/com/google/i18n/identifiers/RegionCode.html", - "type": "string" + "isDismissible": { + "description": "Whether the card can be dismissed.", + "type": "boolean" }, - "validationResult": { - "description": "When set to a non-default value, indicates the validation reason that is set when phone number is invalid (is_valid is false).", - "enum": [ - "UNKNOWN", - "IS_POSSIBLE", - "INVALID_COUNTRY_CODE", - "TOO_SHORT", - "TOO_LONG", - "IS_POSSIBLE_LOCAL_ONLY", - "INVALID_LENGTH" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" + "priority": { + "description": "Priority of the card, where 0 is the highest priority.", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "WhiteboardInfo": { - "description": "Information on a whiteboard attached to an active conference. A whiteboard is a Jam document.", - "id": "WhiteboardInfo", + "TimestampOperatorOptions": { + "description": "Used to provide a search operator for timestamp properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", + "id": "TimestampOperatorOptions", "properties": { - "id": { - "description": "The Cosmo Id of the whiteboard document (Jam).", + "greaterThanOperatorName": { + "description": "Indicates the operator name required in the query in order to isolate the timestamp property using the greater-than operator. For example, if greaterThanOperatorName is *closedafter* and the property's name is *closeDate*, then queries like *closedafter:\u003cvalue\u003e* show results only where the value of the property named *closeDate* is later than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", "type": "string" }, - "title": { - "description": "Title of the whiteboard document.", + "lessThanOperatorName": { + "description": "Indicates the operator name required in the query in order to isolate the timestamp property using the less-than operator. For example, if lessThanOperatorName is *closedbefore* and the property's name is *closeDate*, then queries like *closedbefore:\u003cvalue\u003e* show results only where the value of the property named *closeDate* is earlier than *\u003cvalue\u003e*. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", "type": "string" }, - "uri": { - "description": "The uri for whiteboard document.", + "operatorName": { + "description": "Indicates the operator name required in the query in order to isolate the timestamp property. For example, if operatorName is *closedon* and the property's name is *closeDate*, then queries like *closedon:\u003cvalue\u003e* show results only where the value of the property named *closeDate* matches *\u003cvalue\u003e*. By contrast, a search that uses the same *\u003cvalue\u003e* without an operator returns all items where *\u003cvalue\u003e* matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", "type": "string" } }, "type": "object" }, - "WidgetMarkup": { - "id": "WidgetMarkup", + "TimestampPropertyOptions": { + "description": "The options for timestamp properties.", + "id": "TimestampPropertyOptions", + "properties": { + "operatorOptions": { + "$ref": "TimestampOperatorOptions", + "description": "If set, describes how the timestamp should be used as a search operator." + } + }, + "type": "object" + }, + "TimestampValues": { + "description": "List of timestamp values.", + "id": "TimestampValues", "properties": { - "buttons": { - "description": "buttons is also oneof data and only one of these fields should be set.", + "values": { "items": { - "$ref": "Button" + "format": "google-datetime", + "type": "string" }, "type": "array" + } + }, + "type": "object" + }, + "TypeInfo": { + "description": "Next tag: 2", + "id": "TypeInfo", + "properties": { + "videoInfo": { + "$ref": "VideoInfo", + "description": "Contains additional video information only if document_type is VIDEO." + } + }, + "type": "object" + }, + "UnmappedIdentity": { + "id": "UnmappedIdentity", + "properties": { + "externalIdentity": { + "$ref": "Principal", + "description": "The resource name for an external user." }, - "dateTimePicker": { - "$ref": "DateTimePicker" - }, - "divider": { - "$ref": "Divider" - }, - "grid": { - "$ref": "Grid" - }, - "horizontalAlignment": { - "description": "The horizontal alignment of this widget.", + "resolutionStatusCode": { + "description": "The resolution status for the external identity.", "enum": [ - "HORIZONTAL_ALIGNMENT_UNSPECIFIED", - "START", - "CENTER", - "END" + "CODE_UNSPECIFIED", + "NOT_FOUND", + "IDENTITY_SOURCE_NOT_FOUND", + "IDENTITY_SOURCE_MISCONFIGURED", + "TOO_MANY_MAPPINGS_FOUND", + "INTERNAL_ERROR" ], "enumDescriptions": [ - "", - "", - "", - "" + "Input-only value. Used to list all unmapped identities regardless of status.", + "The unmapped identity was not found in IDaaS, and needs to be provided by the user.", + "The identity source associated with the identity was either not found or deleted.", + "IDaaS does not understand the identity source, probably because the schema was modified in a non compatible way.", + "The number of users associated with the external identity is too large.", + "Internal error." ], "type": "string" + } + }, + "type": "object" + }, + "UnreserveItemsRequest": { + "id": "UnreserveItemsRequest", + "properties": { + "connectorName": { + "description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", + "type": "string" }, - "image": { - "$ref": "Image" - }, - "imageKeyValue": { - "$ref": "ImageKeyValue" - }, - "keyValue": { - "$ref": "KeyValue" - }, - "menu": { - "$ref": "Menu", - "description": "Input Widgets" - }, - "selectionControl": { - "$ref": "SelectionControl" - }, - "textField": { - "$ref": "TextField" - }, - "textKeyValue": { - "$ref": "TextKeyValue" + "debugOptions": { + "$ref": "DebugOptions", + "description": "Common debug options." }, - "textParagraph": { - "$ref": "TextParagraph", - "description": "Read-only Widgets" + "queue": { + "description": "The name of a queue to unreserve items from.", + "type": "string" } }, "type": "object" }, - "WonderCardDelete": { - "description": "Message delete history record extension that exports /wonder/message_mapping/{vertical} attribute of deleted messages which have any smartmail label (eg. ^cob_sm_invoice). go/how-dd-card-deletion", - "id": "WonderCardDelete", + "UpdateDataSourceRequest": { + "id": "UpdateDataSourceRequest", "properties": { - "messageMappings": { - "additionalProperties": { - "$ref": "WonderMessageMapping" - }, - "description": "Contains \u003c{@code WonderCardType} enum value, value of /wonder/message_mapping/{vertical} attribute of deleted message\u003e pairs.", - "type": "object" + "debugOptions": { + "$ref": "DebugOptions", + "description": "Common debug options." }, - "msgId": { - "description": "Message ID of the original deleted message", - "format": "uint64", + "source": { + "$ref": "DataSource" + }, + "updateMask": { + "description": "Only applies to [`settings.datasources.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask to control which fields to update. Example field paths: `name`, `displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the source, that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are updated.", + "format": "google-fieldmask", "type": "string" } }, "type": "object" }, - "WonderMessageMapping": { - "description": "Card mapping attached to original message as an attribute stored at /wonder/message_mapping/{vertical} Next ID: 2", - "id": "WonderMessageMapping", + "UpdateSchemaRequest": { + "id": "UpdateSchemaRequest", "properties": { - "wonderCardMessageId": { - "description": "List of wonder card (client-generated) message IDs generated based on the original message.", - "items": { - "type": "string" - }, - "type": "array" + "debugOptions": { + "$ref": "DebugOptions", + "description": "Common debug options." + }, + "schema": { + "$ref": "Schema", + "description": "The new schema for the source." + }, + "validateOnly": { + "description": "If true, the schema will be checked for validity, but will not be registered with the data source, even if valid.", + "type": "boolean" } }, "type": "object" }, - "WrappedResourceKey": { - "description": "A wrapper around a raw resource key. The secret should never be logged, and this proto annotates those secret fields to ensure that they are not. Clients are encouraged to use this proto rather than defining their own, to ensure that secrets are correctly annotated.", - "id": "WrappedResourceKey", + "UploadItemRef": { + "description": "Represents an upload session reference. This reference is created via upload method. This reference is valid for 30 days after its creation. Updating of item content may refer to this uploaded content via contentDataRef.", + "id": "UploadItemRef", "properties": { - "resourceKey": { - "description": "Resource key of the Drive item. This field should be unset if, depending on the context, the item does not have a resource key, or if none was specified. This must never be logged.", + "name": { + "description": "The name of the content reference. The maximum length is 2048 characters.", "type": "string" } }, "type": "object" }, - "YouTubeBroadcastSessionInfo": { - "description": "Information about a YouTube broadcast session.", - "id": "YouTubeBroadcastSessionInfo", + "UserActivity": { + "description": "User's single or bulk query activity. This can be a logging query or deletion query.", + "id": "UserActivity", "properties": { - "broadcastStats": { - "$ref": "YouTubeBroadcastStats", - "description": "Current broadcast session's statistics." - }, - "sessionStateInfo": { - "$ref": "SessionStateInfo", - "description": "YouTube broadcast session's state information." - }, - "youTubeBroadcastSessionId": { - "description": "A unique server-generated ID for the broadcast session.", - "type": "string" - }, - "youTubeLiveBroadcastEvent": { - "$ref": "YouTubeLiveBroadcastEvent", - "description": "The YouTube Live broadcast event that is being streamed to." + "queryActivity": { + "$ref": "QueryActivity", + "description": "Contains data which needs to be logged/removed." } }, "type": "object" }, - "YouTubeBroadcastStats": { - "description": "Statistics of the YouTube broadcast session.", - "id": "YouTubeBroadcastStats", + "VPCSettings": { + "id": "VPCSettings", "properties": { - "estimatedViewerCount": { - "description": "Estimated concurrent viewer count.", - "format": "int64", + "project": { + "description": "The resource name of the GCP Project to be used for VPC SC policy check. VPC security settings on this project will be honored for Cloud Search APIs after project_name has been updated through CustomerService. Format: projects/{project_id}", "type": "string" } }, "type": "object" }, - "YouTubeLiveBroadcastEvent": { - "description": "Information about the broadcast to YouTube.", - "id": "YouTubeLiveBroadcastEvent", + "Value": { + "description": "Definition of a single value with generic type.", + "id": "Value", "properties": { - "brandAccountGaiaId": { - "description": "Input only. If the channel_id is for a YouTube Channel owned by a Brand Account, client is required to populate this field with the obfuscated gaia id of the Brand account when starting the broadcast.", - "type": "string" + "booleanValue": { + "type": "boolean" + }, + "dateValue": { + "$ref": "Date" + }, + "doubleValue": { + "format": "double", + "type": "number" }, - "broadcastId": { - "description": "Input only. The broadcast id, used to control the lifecycle of the event on YouTube", + "integerValue": { + "format": "int64", "type": "string" }, - "channelId": { - "description": "YouTube Channel associated with the broadcast.", + "stringValue": { "type": "string" }, - "viewUrl": { - "description": "Output only. A URL that can be used to watch the meeting broadcast. Will be populated by the backend.", - "readOnly": true, + "timestampValue": { + "format": "google-datetime", "type": "string" } }, "type": "object" }, - "YoutubeMetadata": { - "description": "Annotation metadata for YouTube artifact.", - "id": "YoutubeMetadata", + "ValueFilter": { + "id": "ValueFilter", "properties": { - "id": { - "description": "YouTube resource ID of the artifact.", + "operatorName": { + "description": "The `operator_name` applied to the query, such as *price_greater_than*. The filter can work against both types of filters defined in the schema for your data source: 1. `operator_name`, where the query filters results by the property that matches the value. 2. `greater_than_operator_name` or `less_than_operator_name` in your schema. The query filters the results for the property values that are greater than or less than the supplied value in the query.", "type": "string" }, - "shouldNotRender": { - "description": "If this field is set to true, server should still contact external backends to get metadata for search but clients should not render this chip.", - "type": "boolean" - }, - "startTime": { - "description": "YouTube query parameter for timestamp. YouTube specific flag that allows users to embed time token when sharing a link. This property contains parsed time token in seconds.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "YoutubeUserProto": { - "id": "YoutubeUserProto", - "properties": { - "youtubeUserId": { - "format": "int64", - "type": "string" + "value": { + "$ref": "Value", + "description": "The value to be compared with." } }, "type": "object" }, - "ZwiebackSessionProto": { - "description": "See go/zwieback. New uses of Zwieback sessions must be approved via go/zwieback-request.", - "id": "ZwiebackSessionProto", + "VideoInfo": { + "description": "Next tag: 2", + "id": "VideoInfo", "properties": { - "zwiebackSessionId": { - "format": "uint64", - "type": "string" + "duration": { + "description": "Duration of the video in milliseconds. This field can be absent for recently uploaded video or inaccurate sometimes.", + "format": "int32", + "type": "integer" } }, "type": "object" diff --git a/cloudsearch/v1/cloudsearch-gen.go b/cloudsearch/v1/cloudsearch-gen.go index 9c044c4428b..fe107aeaa07 100644 --- a/cloudsearch/v1/cloudsearch-gen.go +++ b/cloudsearch/v1/cloudsearch-gen.go @@ -506,18 +506,30 @@ type V1Service struct { s *Service } -// AbuseReportingConfig: Abuse reporting configuration outlining what is -// supported in this conference. -type AbuseReportingConfig struct { - // RecordingAllowed: Whether the current call may include video - // recordings in its abuse reports. - RecordingAllowed bool `json:"recordingAllowed,omitempty"` - - // WrittenUgcAllowed: Whether the current call may include user - // generated content (chat, polls, Q&A...) in its abuse reports. - WrittenUgcAllowed bool `json:"writtenUgcAllowed,omitempty"` - - // ForceSendFields is a list of field names (e.g. "RecordingAllowed") to +// AclInfo: Next tag: 4 +type AclInfo struct { + // GroupsCount: Number of groups which have at least read access to the + // document. + GroupsCount int64 `json:"groupsCount,omitempty"` + + // Scope: The scope to which the content was shared. + // + // Possible values: + // "LIMITED" - Explicit set of people and groups. + // "DASHER_DOMAIN_WITH_LINK" - Anybody at the same domain with the + // link. + // "DASHER_DOMAIN" - Now it works only for google.com. Anybody at the + // same domain. Now it works only + // "PUBLIC_WITH_LINK" - for google.com. Anybody with the link. + // "PUBLIC" - Anybody. + // "TEAM_DRIVE" - Special tag to indicate TeamDrive scope. + Scope string `json:"scope,omitempty"` + + // UsersCount: Number of users which have at least read access to the + // document. + UsersCount int64 `json:"usersCount,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GroupsCount") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -525,34 +537,72 @@ type AbuseReportingConfig struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "RecordingAllowed") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "GroupsCount") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *AclInfo) MarshalJSON() ([]byte, error) { + type NoMethod AclInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +type Action struct { + // Title: [Required] Title of the action. + Title string `json:"title,omitempty"` + + // Url: [Optional] Url of the action. + Url string `json:"url,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Title") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Title") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AbuseReportingConfig) MarshalJSON() ([]byte, error) { - type NoMethod AbuseReportingConfig +func (s *Action) MarshalJSON() ([]byte, error) { + type NoMethod Action raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AckInfo: Information about how devices in a meeting have acked for a -// session/operation. -type AckInfo struct { - // UnackedDeviceCount: Output only. Number of meeting devices that have - // not acked yet. - UnackedDeviceCount int64 `json:"unackedDeviceCount,omitempty"` +// AuditLoggingSettings: Represents the settings for Cloud audit logging +type AuditLoggingSettings struct { + // LogAdminReadActions: Indicates whether audit logging is on/off for + // admin activity read APIs i.e. Get/List DataSources, Get/List + // SearchApplications etc. + LogAdminReadActions bool `json:"logAdminReadActions,omitempty"` + + // LogDataReadActions: Indicates whether audit logging is on/off for + // data access read APIs i.e. ListItems, GetItem etc. + LogDataReadActions bool `json:"logDataReadActions,omitempty"` + + // LogDataWriteActions: Indicates whether audit logging is on/off for + // data access write APIs i.e. IndexItem etc. + LogDataWriteActions bool `json:"logDataWriteActions,omitempty"` - // UnackedDeviceIds: Output only. IDs of meeting devices (at most ten - // are provided) that have not acked yet. - UnackedDeviceIds []string `json:"unackedDeviceIds,omitempty"` + // Project: The resource name of the GCP Project to store audit logs. + // Cloud audit logging will be enabled after project_name has been + // updated through CustomerService. Format: projects/{project_id} + Project string `json:"project,omitempty"` - // ForceSendFields is a list of field names (e.g. "UnackedDeviceCount") + // ForceSendFields is a list of field names (e.g. "LogAdminReadActions") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -560,7 +610,7 @@ type AckInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "UnackedDeviceCount") to + // NullFields is a list of field names (e.g. "LogAdminReadActions") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -570,38 +620,32 @@ type AckInfo struct { NullFields []string `json:"-"` } -func (s *AckInfo) MarshalJSON() ([]byte, error) { - type NoMethod AckInfo +func (s *AuditLoggingSettings) MarshalJSON() ([]byte, error) { + type NoMethod AuditLoggingSettings raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AclFixRequest: The request set by clients to instruct Backend how the -// user intend to fix the ACL. Technically it's not a request to ACL -// Fixer, because Backend uses /DriveService.Share to modify Drive ACLs. -type AclFixRequest struct { - // RecipientEmails: For Spaces messages: This field is ignored. For DMs - // messages: The list of email addresses that should be added to the - // Drive item's ACL. In general, the list should not be empty when the - // boolean "should_fix" field is set; otherwise, the list should be - // empty. During transition - when clients do not specify this field but - // the "should_fix" is true, we follow the legacy behavior: share to all - // users in the DM regardless of emails. This behavior is being phased - // out. - RecipientEmails []string `json:"recipientEmails,omitempty"` - +type BackgroundColoredText struct { + // BackgroundColor: [Optional] Color of the background. The text color + // can change depending on the selected background color, and the client + // does not have control over this. If missing, the background will be + // WHITE. + // // Possible values: - // "UNKNOWN" - // "READER" - // "COMMENTER" - // "WRITER" - Role string `json:"role,omitempty"` + // "UNKNOWN_COLOR" + // "WHITE" + // "YELLOW" + // "ORANGE" + // "GREEN" + // "BLUE" + // "GREY" + BackgroundColor string `json:"backgroundColor,omitempty"` - // ShouldFix: Whether to attempt to fix the ACL by adding the room or DM - // members to the Drive file's ACL. - ShouldFix bool `json:"shouldFix,omitempty"` + // Text: [Required] The text to display. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "RecipientEmails") to + // ForceSendFields is a list of field names (e.g. "BackgroundColor") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -609,7 +653,7 @@ type AclFixRequest struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "RecipientEmails") to + // NullFields is a list of field names (e.g. "BackgroundColor") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -619,42 +663,28 @@ type AclFixRequest struct { NullFields []string `json:"-"` } -func (s *AclFixRequest) MarshalJSON() ([]byte, error) { - type NoMethod AclFixRequest +func (s *BackgroundColoredText) MarshalJSON() ([]byte, error) { + type NoMethod BackgroundColoredText raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AclFixStatus: The message reconstructed based on information in the -// response of /PermissionFixOptionsService.Query (or the Apiary API -// that wraps it). Indicates the ability of the requester to change the -// access to the Drive file for the room roster or the DM members. Used -// in GetMessagePreviewMetadataResponse only. -type AclFixStatus struct { - // Possible values: - // "UNKNOWN" - // "ALREADY_ACCESSIBLE" - // "CAN_FIX" - // "CANNOT_FIX" - // "ACL_FIXER_ERROR" - Fixability string `json:"fixability,omitempty"` - - // FixableEmailAddress: List of recipient email addresses for which - // access can be granted. This field contains the same email addresses - // from the GetMessagePreviewMetadata request if all recipients can be - // successfully added to the ACL as determined by Drive ACL Fixer. For - // now, the field is non-empty if and only if the "fixability" value is - // "CAN_FIX". - FixableEmailAddress []string `json:"fixableEmailAddress,omitempty"` - - // OutOfDomainWarningEmailAddress: List of recipient email addresses for - // which an out-of-domain-sharing warning must be shown, stating that - // these email addresses are not in the Google Apps organization that - // the requested item belong to. Empty if all recipients are in the same - // Google Apps organization. - OutOfDomainWarningEmailAddress []string `json:"outOfDomainWarningEmailAddress,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Fixability") to +// BooleanOperatorOptions: Used to provide a search operator for boolean +// properties. This is optional. Search operators let users restrict the +// query to specific fields relevant to the type of item being searched. +type BooleanOperatorOptions struct { + // OperatorName: Indicates the operator name required in the query in + // order to isolate the boolean property. For example, if operatorName + // is *closed* and the property's name is *isClosed*, then queries like + // *closed:* show results only where the value of the property + // named *isClosed* matches **. By contrast, a search that uses + // the same ** without an operator returns all items where + // ** matches the value of any String properties or text within + // the content field for the item. The operator name can only contain + // lowercase letters (a-z). The maximum length is 32 characters. + OperatorName string `json:"operatorName,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OperatorName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -662,45 +692,28 @@ type AclFixStatus struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Fixability") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "OperatorName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AclFixStatus) MarshalJSON() ([]byte, error) { - type NoMethod AclFixStatus +func (s *BooleanOperatorOptions) MarshalJSON() ([]byte, error) { + type NoMethod BooleanOperatorOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AclInfo: Next tag: 4 -type AclInfo struct { - // GroupsCount: Number of groups which have at least read access to the - // document. - GroupsCount int64 `json:"groupsCount,omitempty"` - - // Scope: The scope to which the content was shared. - // - // Possible values: - // "LIMITED" - Explicit set of people and groups. - // "DASHER_DOMAIN_WITH_LINK" - Anybody at the same domain with the - // link. - // "DASHER_DOMAIN" - Now it works only for google.com. Anybody at the - // same domain. Now it works only - // "PUBLIC_WITH_LINK" - for google.com. Anybody with the link. - // "PUBLIC" - Anybody. - // "TEAM_DRIVE" - Special tag to indicate TeamDrive scope. - Scope string `json:"scope,omitempty"` - - // UsersCount: Number of users which have at least read access to the - // document. - UsersCount int64 `json:"usersCount,omitempty"` +// BooleanPropertyOptions: The options for boolean properties. +type BooleanPropertyOptions struct { + // OperatorOptions: If set, describes how the boolean should be used as + // a search operator. + OperatorOptions *BooleanOperatorOptions `json:"operatorOptions,omitempty"` - // ForceSendFields is a list of field names (e.g. "GroupsCount") to + // ForceSendFields is a list of field names (e.g. "OperatorOptions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -708,32 +721,32 @@ type AclInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "GroupsCount") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "OperatorOptions") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *AclInfo) MarshalJSON() ([]byte, error) { - type NoMethod AclInfo +func (s *BooleanPropertyOptions) MarshalJSON() ([]byte, error) { + type NoMethod BooleanPropertyOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ActionParameter: List of string parameters that developers can -// specify when the above action method (in apps script) is invoked. An -// example use case is for 3 snooze buttons: snooze now, snooze 1 day, -// snooze next week. Developers can have action method = snooze() and -// pass the snooze type and snooze time in list of string parameters. -type ActionParameter struct { - Key string `json:"key,omitempty"` +type CheckAccessResponse struct { + // HasAccess: Returns true if principal has access. Returns false + // otherwise. + HasAccess bool `json:"hasAccess,omitempty"` - Value string `json:"value,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Key") to + // ForceSendFields is a list of field names (e.g. "HasAccess") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -741,8 +754,8 @@ type ActionParameter struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Key") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "HasAccess") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -750,23 +763,26 @@ type ActionParameter struct { NullFields []string `json:"-"` } -func (s *ActionParameter) MarshalJSON() ([]byte, error) { - type NoMethod ActionParameter +func (s *CheckAccessResponse) MarshalJSON() ([]byte, error) { + type NoMethod CheckAccessResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AddOnFrameStartingState: Starting state for an individual add-on -// frame. -type AddOnFrameStartingState struct { - // AdditionalData: Additional data internal to the add-on that can be - // used to initialize itself. - AdditionalData string `json:"additionalData,omitempty"` +type CompositeFilter struct { + // LogicOperator: The logic operator of the sub filter. + // + // Possible values: + // "AND" - Logical operators, which can only be applied to sub + // filters. + // "OR" + // "NOT" - NOT can only be applied on a single sub filter. + LogicOperator string `json:"logicOperator,omitempty"` - // Uri: The uri of the artifact being used for an add-on co-activity. - Uri string `json:"uri,omitempty"` + // SubFilters: Sub filters. + SubFilters []*Filter `json:"subFilters,omitempty"` - // ForceSendFields is a list of field names (e.g. "AdditionalData") to + // ForceSendFields is a list of field names (e.g. "LogicOperator") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -774,61 +790,35 @@ type AddOnFrameStartingState struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AdditionalData") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "LogicOperator") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AddOnFrameStartingState) MarshalJSON() ([]byte, error) { - type NoMethod AddOnFrameStartingState +func (s *CompositeFilter) MarshalJSON() ([]byte, error) { + type NoMethod CompositeFilter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AddOnStartingState: Starting state properties for add-on co-activity. -type AddOnStartingState struct { - // AddOnFrameStartingStates: List of starting state frames for the - // add-on co-activity. Keys for this map are the values of the - // AddOnFrameType enum. - AddOnFrameStartingStates map[string]AddOnFrameStartingState `json:"addOnFrameStartingStates,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "AddOnFrameStartingStates") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` +type Content struct { + // Actions: [Optional] Actions for this card. + Actions []*Action `json:"actions,omitempty"` - // NullFields is a list of field names (e.g. "AddOnFrameStartingStates") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} + // Description: [Optional] Description of the card. + Description *SafeHtmlProto `json:"description,omitempty"` -func (s *AddOnStartingState) MarshalJSON() ([]byte, error) { - type NoMethod AddOnStartingState - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // Subtitle: [Optional] Subtitle of the card. + Subtitle *BackgroundColoredText `json:"subtitle,omitempty"` -type AddonComposeUiActionMarkup struct { - // Possible values: - // "UNSPECIFIED" - Default. When unspecified, no action is taken. - // "DISMISS" - Dismisses the add-on compose UI. - Type string `json:"type,omitempty"` + // Title: [Optional] Title of the card. + Title *BackgroundColoredText `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "Type") to + // ForceSendFields is a list of field names (e.g. "Actions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -836,8 +826,8 @@ type AddonComposeUiActionMarkup struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Type") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Actions") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -845,67 +835,84 @@ type AddonComposeUiActionMarkup struct { NullFields []string `json:"-"` } -func (s *AddonComposeUiActionMarkup) MarshalJSON() ([]byte, error) { - type NoMethod AddonComposeUiActionMarkup +func (s *Content) MarshalJSON() ([]byte, error) { + type NoMethod Content raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AffectedMembership: Earlier we used to populate just the -// affected_members list and inferred the new membership state (roles -// didn't exist back then) from the Type. go/dynamite-finra required -// backend to know the previous membership state to reconstruct -// membership history. The proper solution involved cleaning up up Type -// enum, but it was used in many, many places. This was added as a -// stop-gap solution to unblock FINRA without breaking everything. Later -// role update and target audience update started relying on this to -// communicate information to clients about what transition happened. So -// this is now required to be populated and should be in sync with -// affected_members for new messages. -type AffectedMembership struct { - AffectedMember *MemberId `json:"affectedMember,omitempty"` - +type Context struct { + // App: [Optional] App where the card should be shown. If missing, the + // card will be shown in TOPAZ. + // // Possible values: - // "ROLE_UNKNOWN" - // "ROLE_NONE" - This role is used when a user is forcibly removed - // from a room by another user. They will no longer be able to search - // for the room, but their history will be retained. - // "ROLE_INVITEE" - This role is used for two purposes. 1. A group is - // invited to a room, making it discoverable for its members. 2. A user - // was part of a room, but willingly left the room. - // "ROLE_MEMBER" - --- Following roles are for joined members of a - // roster. --- Default role for any joined user. Has basic capabilities - // within a room. - // "ROLE_OWNER" - Role assigned to room creators and explicitly - // promoted members. Has broad powers to manage the room. - PriorMembershipRole string `json:"priorMembershipRole,omitempty"` - + // "UNKNOWN_APP" + // "TOPAZ" + // "MOMA" + App []string `json:"app,omitempty"` + + // DayOfWeek: [Optional] Day of week when the card should be shown, + // where 0 is Monday. + DayOfWeek []int64 `json:"dayOfWeek,omitempty"` + + // EndDateSec: [Optional] Date (in seconds since epoch) when the card + // should stop being shown. If missing, end_date_sec will be set to Jan + // 1st, 2100. + EndDateSec int64 `json:"endDateSec,omitempty,string"` + + // EndDayOffsetSec: [Optional] End time in seconds, within a day, when + // the card should stop being shown if it's within [start_date_sec, + // end_date_sec]. If missing, this is set to 86400 (24 hours x 3600 + // sec/hour), i.e., midnight next day. + EndDayOffsetSec int64 `json:"endDayOffsetSec,omitempty,string"` + + // Locale: [Optional] The locales for which the card should be triggered + // (e.g., en_US and en_CA). If missing, the card is going to show to + // clients regardless of their locale. + Locale []string `json:"locale,omitempty"` + + // Location: [Optional] Text-free locations where the card should be + // shown. This is expected to match the user's location in focus. If no + // location is specified, the card will be shown for any location. + Location []string `json:"location,omitempty"` + + // Query: [Required only for Answer and RHS cards - will be ignored for + // Homepage] cards. It's the exact case-insensitive queries that will + // trigger the Answer or RHS card. + Query []string `json:"query,omitempty"` + + // StartDateSec: [Optional] Date (in seconds since epoch) when the card + // should start being shown. If missing, start_date_sec will be Jan 1st, + // 1970 UTC. + StartDateSec int64 `json:"startDateSec,omitempty,string"` + + // StartDayOffsetSec: [Optional] Start time in seconds, within a day, + // when the card should be shown if it's within [start_date_sec, + // end_date_sec]. If 0, the card will be shown from 12:00am on. + StartDayOffsetSec int64 `json:"startDayOffsetSec,omitempty,string"` + + // Surface: [Optional] Surface where the card should be shown in. If + // missing, the card will be shown in any surface. + // // Possible values: - // "MEMBER_UNKNOWN" - Default state, do not use - // "MEMBER_INVITED" - An invitation to the space has been sent - // "MEMBER_JOINED" - User has joined the space - // "MEMBER_NOT_A_MEMBER" - User is not a member - // "MEMBER_FAILED" - This state should never be stored in Spanner. It - // is a state for responses to the clients to indicate that membership - // mutations have failed and the member is in its previous state. - PriorMembershipState string `json:"priorMembershipState,omitempty"` - + // "UNKNOWN_SURFACE" + // "DESKTOP" + // "ANDROID" + // "IOS" + // "MOBILE" - Any mobile device. + // "ANY" + Surface []string `json:"surface,omitempty"` + + // Type: [Required] Type of the card (homepage, Answer or RHS). + // // Possible values: - // "ROLE_UNKNOWN" - // "ROLE_NONE" - This role is used when a user is forcibly removed - // from a room by another user. They will no longer be able to search - // for the room, but their history will be retained. - // "ROLE_INVITEE" - This role is used for two purposes. 1. A group is - // invited to a room, making it discoverable for its members. 2. A user - // was part of a room, but willingly left the room. - // "ROLE_MEMBER" - --- Following roles are for joined members of a - // roster. --- Default role for any joined user. Has basic capabilities - // within a room. - // "ROLE_OWNER" - Role assigned to room creators and explicitly - // promoted members. Has broad powers to manage the room. - TargetMembershipRole string `json:"targetMembershipRole,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AffectedMember") to + // "UNKNOWN_CARD_TYPE" + // "HOMEPAGE_CARD" + // "ANSWER_CARD" + // "RHS_CARD" + Type []string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "App") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -913,310 +920,38 @@ type AffectedMembership struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AffectedMember") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "App") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AffectedMembership) MarshalJSON() ([]byte, error) { - type NoMethod AffectedMembership +func (s *Context) MarshalJSON() ([]byte, error) { + type NoMethod Context raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AllAuthenticatedUsersProto: Represents a principal who has -// authenticated as any kind of user which the application understands. -// This is typically used for "wiki-like" security, where anyone is -// allowed access so long as they can be held accountable for that -// access. Since the purpose is knowing whom to blame, it is up to the -// application to decide what kinds of users it knows how to blame. For -// example, an application might choose to include GAIA users in "all -// authenticated users", but not include MDB users. Nothing here. -type AllAuthenticatedUsersProto struct { -} - -// Annotation: NOTE WHEN ADDING NEW PROTO FIELDS: Be sure to add datapol -// annotations to new fields with potential PII, so they get scrubbed -// when logging protos for errors. NEXT TAG: 32 -type Annotation struct { - BabelPlaceholderMetadata *BabelPlaceholderMetadata `json:"babelPlaceholderMetadata,omitempty"` - - // CardCapabilityMetadata: - // LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/backe - // nd/action/common/SystemMessageHelper.java) - CardCapabilityMetadata *CardCapabilityMetadata `json:"cardCapabilityMetadata,omitempty"` - - // ChipRenderType: Whether the annotation should be rendered as a - // preview chip. If this is missing or unspecified, fallback to - // should_not_render on the metadata. - // - // Possible values: - // "CHIP_RENDER_TYPE_UNSPECIFIED" - // "RENDER" - Clients must render the annotation as a preview chip, - // and if they cannot render this many Annotations, show a fallback - // card. - // "RENDER_IF_POSSIBLE" - Client can render the annotation if it has - // room to render it. - // "DO_NOT_RENDER" - Client should not render the annotation as a - // preview chip. - ChipRenderType string `json:"chipRenderType,omitempty"` - - // ComponentSearchInfo: Contains additional metadata that further - // enhances the annotation when it is returned as part of search - // response. For example, this can be used to define how the annotation - // matches the search. Information can be used to highlight in rendering - // search results. The following are the different annotation text - // fields that can be highlighted by this field: 1. DriveMetadata.title - // 2. UploadMetadata.content_name 3. - // GsuiteIntegrationMetadata.TasksMessageIntegrationRenderData.title 4. - // GsuiteIntegrationMetadata.CalendarEventAnnotationData.title - ComponentSearchInfo *AppsDynamiteSharedMessageComponentSearchInfo `json:"componentSearchInfo,omitempty"` - - ConsentedAppUnfurlMetadata *ConsentedAppUnfurlMetadata `json:"consentedAppUnfurlMetadata,omitempty"` - - CustomEmojiMetadata *CustomEmojiMetadata `json:"customEmojiMetadata,omitempty"` - - DataLossPreventionMetadata *DataLossPreventionMetadata `json:"dataLossPreventionMetadata,omitempty"` - - // DriveMetadata: Chip annotations - DriveMetadata *DriveMetadata `json:"driveMetadata,omitempty"` - - FormatMetadata *FormatMetadata `json:"formatMetadata,omitempty"` - - GroupRetentionSettingsUpdated *GroupRetentionSettingsUpdatedMetaData `json:"groupRetentionSettingsUpdated,omitempty"` - - // GsuiteIntegrationMetadata: Metadata for 1P integrations like tasks, - // calendar. These are supported only through integration server as 1P - // integrations use the integration API (which in turn uses backend API - // with special permissions) to post messages. Clients should never set - // this. LINT.IfChange - GsuiteIntegrationMetadata *GsuiteIntegrationMetadata `json:"gsuiteIntegrationMetadata,omitempty"` - - IncomingWebhookChangedMetadata *IncomingWebhookChangedMetadata `json:"incomingWebhookChangedMetadata,omitempty"` - - // InlineRenderFormat: The inline render format of this annotation. - // go/drive-smart-chips-chat-v2. - // - // Possible values: - // "INLINE_RENDER_FORMAT_UNSPECIFIED" - // "SMART_CHIP" - InlineRenderFormat string `json:"inlineRenderFormat,omitempty"` - - // IntegrationConfigUpdated: - // LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/backe - // nd/action/common/SystemMessageHelper.java) - IntegrationConfigUpdated *IntegrationConfigUpdatedMetadata `json:"integrationConfigUpdated,omitempty"` - - // InteractionData: Additional interaction data for this annotation. - InteractionData *InteractionData `json:"interactionData,omitempty"` - - // Length: Length of the text_body substring beginning from start_index - // the Annotation corresponds to. - Length int64 `json:"length,omitempty"` - - // LocalId: * A client-assigned ID for this annotation. This is helpful - // in matching the back-filled annotations to the original annotations - // on client side, without having to re-parse the message. There is no - // guarantee an annotation has a local_id, it's a purely client used and - // controlled field with no guarantee of uniqueness. - LocalId string `json:"localId,omitempty"` - - // MembershipChanged: Metadata for system messages. Clients should never - // set this. LINT.IfChange - MembershipChanged *MembershipChangedMetadata `json:"membershipChanged,omitempty"` - - ReadReceiptsSettingsMetadata *ReadReceiptsSettingsUpdatedMetadata `json:"readReceiptsSettingsMetadata,omitempty"` - - // RequiredMessageFeaturesMetadata: Metadata that defines all of the - // required features that must be rendered in the message. Clients can - // use this to see whether they support the entire message, or show a - // fallback chip otherwise. See go/message-quoting-client-to-server for - // details. LINT.ThenChange( - // //depot/google3/java/com/google/apps/dynamite/v1/allshared/parser/Anno - // tationSanitizer.java, - // //depot/google3/java/com/google/apps/dynamite/v1/backend/action/common - // /SystemMessageHelper.java, - // //depot/google3/java/com/google/caribou/eli/mediation/chat/AnnotationC - // onverter.java ) - RequiredMessageFeaturesMetadata *RequiredMessageFeaturesMetadata `json:"requiredMessageFeaturesMetadata,omitempty"` - - RoomUpdated *RoomUpdatedMetadata `json:"roomUpdated,omitempty"` - - // ServerInvalidated: Whether or not the annotation is invalidated by - // the server. Example of situations for invalidation include: when the - // URL is malformed, or when Drive item ID is rejected by Drive Service. - ServerInvalidated bool `json:"serverInvalidated,omitempty"` - - SlashCommandMetadata *SlashCommandMetadata `json:"slashCommandMetadata,omitempty"` - - // StartIndex: Start index (0-indexed) of the Message text the - // Annotation corresponds to, inclusive. - StartIndex int64 `json:"startIndex,omitempty"` - - // Type: Type of the Annotation. - // - // Possible values: - // "TYPE_UNSPECIFIED" - Default value for the enum. DO NOT USE. - // "URL" - These can have overlaps, i.e. same message can have - // multiple of these. For example a Drive link to a PDF can have URL, - // DRIVE_FILE and PDF all set Links - // "DRIVE_FILE" - Any drive file - // "DRIVE_DOC" - // "DRIVE_SHEET" - // "DRIVE_SLIDE" - // "DRIVE_FORM" - // "USER_MENTION" - // "SLASH_COMMAND" - // "CONSENTED_APP_UNFURL" - // "VIDEO" - Any video, not just youtube, the url decides how to play - // "FORMAT_DATA" - UI should not be concerned with FORMAT_DATA - // "IMAGE" - // "PDF" - // "VIDEO_CALL" - For Thor integration - // "UPLOAD_METADATA" - Blobstore uploads - // "GSUITE_INTEGRATION" - Generic annotation for gsuite integrations - // "CUSTOM_EMOJI" - // "CARD_CAPABILITY" - Card capability for in-stream widgets. - // "DATA_LOSS_PREVENTION" - // "REQUIRED_MESSAGE_FEATURES_METADATA" - Clients can use this to see - // whether they support the entire message, or show a fallback chip - // otherwise. - // "MEMBERSHIP_CHANGED" - Annotation types for system messages. - // Clients should never set this. - // "ROOM_UPDATED" - // "GROUP_RETENTION_SETTINGS_UPDATED" - // "BABEL_PLACEHOLDER" - // "READ_RECEIPTS_SETTINGS_UPDATED" - // "INCOMING_WEBHOOK_CHANGED" - // "INTEGRATION_CONFIG_UPDATED" - // "INVITATION" - Message-level annotations. First message of an - // invite. Should not be set by clients. - Type string `json:"type,omitempty"` - - // UniqueId: * A unique server-assigned ID for this annotation. This is - // helpful in matching annotation objects when fetched from service. All - // uploads should have a unique_id after the message they are attached - // to is successfully sent. Url annotations that originally were uploads - // (i.e. policy violations) will have a unique_id after the message they - // are attached to is successfully sent. No other url annotations should - // have a unique_id. All drive annotations should have a unique_id after - // the message they are attached to is successfully sent. - UniqueId string `json:"uniqueId,omitempty"` - - UploadMetadata *UploadMetadata `json:"uploadMetadata,omitempty"` - - UrlMetadata *UrlMetadata `json:"urlMetadata,omitempty"` - - // UserMentionMetadata: Metadata that clients can set for annotations. - // LINT.IfChange In-text annotations - UserMentionMetadata *UserMentionMetadata `json:"userMentionMetadata,omitempty"` - - VideoCallMetadata *VideoCallMetadata `json:"videoCallMetadata,omitempty"` - - YoutubeMetadata *YoutubeMetadata `json:"youtubeMetadata,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "BabelPlaceholderMetadata") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "BabelPlaceholderMetadata") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *Annotation) MarshalJSON() ([]byte, error) { - type NoMethod Annotation - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// AnnotationInfo: Information about the screen annotation session. -type AnnotationInfo struct { - // CoannotatorDeviceIds: The device resource names of other devices - // which can annotate the screen. - CoannotatorDeviceIds []string `json:"coannotatorDeviceIds,omitempty"` - - // IsActive: Whether the annotation is active. - IsActive bool `json:"isActive,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "CoannotatorDeviceIds") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "CoannotatorDeviceIds") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} +// ContextAttribute: A named attribute associated with an item which can +// be used for influencing the ranking of the item based on the context +// in the request. +type ContextAttribute struct { + // Name: The name of the attribute. It should not be empty. The maximum + // length is 32 characters. The name must start with a letter and can + // only contain letters (A-Z, a-z) or numbers (0-9). The name will be + // normalized (lower-cased) before being matched. + Name string `json:"name,omitempty"` -func (s *AnnotationInfo) MarshalJSON() ([]byte, error) { - type NoMethod AnnotationInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // Values: Text values of the attribute. The maximum number of elements + // is 10. The maximum length of an element in the array is 32 + // characters. The value will be normalized (lower-cased) before being + // matched. + Values []string `json:"values,omitempty"` -// AppId: Identifier of an App. -type AppId struct { - // AppType: Enum indicating the type of App this is. - // - // Possible values: - // "APP_TYPE_UNSPECIFIED" - // "APP" - 3P APP eg. external Bots(Asana Bot), 1P Bots(Drive Bot). - // "GSUITE_APP" - 1P APP eg. Tasks, Meet, Docs, Calendar.. - // "INCOMING_WEBHOOK" - Asynchronous messages via an incoming webhook. - AppType string `json:"appType,omitempty"` - - // GsuiteAppType: Enum indicating which 1P App this is when app_type is - // GSUITE_APP. Determined & set by the 1P API as a convenience for all - // users of this identifier(Eg. clients, chime, backend etc.) to map to - // 1P properties. - // - // Possible values: - // "GSUITE_APP_TYPE_UNSPECIFIED" - // "TASKS_APP" - // "CALENDAR_APP" - // "DOCS_APP" - // "SHEETS_APP" - // "SLIDES_APP" - // "MEET_APP" - // "ASSISTIVE_SUGGESTION_APP" - Powered by Bullseye - // "CONTACTS_APP" - // "ACTIVITY_FEED_APP" - // "DRIVE_APP" - // "CHAT_IN_MEET_APP" - // "SHORTCUT_APP" - GsuiteAppType string `json:"gsuiteAppType,omitempty"` - - // Id: Numeric identifier of the App. Set to Project number for 1/3P - // Apps. For Webhook, this is WebhookId. Determined & set by the 1P API - // from App credentials on the side channel. - Id int64 `json:"id,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "AppType") to + // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1224,8 +959,8 @@ type AppId struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AppType") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Name") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -1233,123 +968,22 @@ type AppId struct { NullFields []string `json:"-"` } -func (s *AppId) MarshalJSON() ([]byte, error) { - type NoMethod AppId - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// AppsDynamiteSharedActivityFeedAnnotationData: Next Id: 7 -type AppsDynamiteSharedActivityFeedAnnotationData struct { - // ActivityFeedMessageCreateTime: Timestamp of when the Activity Feed - // message that contains this annotation was created. This is roughly - // when the activity happened, such as when a reaction happened, but - // will have at least some small delay, since the Activity Feed message - // is created asynchronously after. This timestamp should only be used - // for display when the activity create time is not available in the - // Chat UI, like the time of a reaction. - ActivityFeedMessageCreateTime string `json:"activityFeedMessageCreateTime,omitempty"` - - // ActivityFeedMessageId: Unique id of the Activity Feed message used by - // clients to implement click-to-source. This is the same messageId as - // the top-level id field for the Activity Feed item. - ActivityFeedMessageId *MessageId `json:"activityFeedMessageId,omitempty"` - - ChatItem *AppsDynamiteSharedChatItem `json:"chatItem,omitempty"` - - // SharedUserInfo: Only populated on read path and should not be - // persisted in storage. - SharedUserInfo *UserInfo `json:"sharedUserInfo,omitempty"` - - // UserInfo: Use shared_user_info instead. - UserInfo *AppsDynamiteSharedActivityFeedAnnotationDataUserInfo `json:"userInfo,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "ActivityFeedMessageCreateTime") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. - // "ActivityFeedMessageCreateTime") to include in API requests with the - // JSON null value. By default, fields with empty values are omitted - // from API requests. However, any field with an empty value appearing - // in NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *AppsDynamiteSharedActivityFeedAnnotationData) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedActivityFeedAnnotationData - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// AppsDynamiteSharedActivityFeedAnnotationDataUserInfo: UserId of the -// AF item updater to show and the updater count to show. -type AppsDynamiteSharedActivityFeedAnnotationDataUserInfo struct { - // UpdaterCountDisplayType: Describes how updater_count_to_show should - // be used. - // - // Possible values: - // "UPDATER_COUNT_DISPLAY_TYPE_UNSPECIFIED" - // "EXACT_COUNT" - A precise updater count is known and the value set - // in updater_count_to_show should be used. - // "NONZERO_COUNT" - A precise updater count could not be calculated, - // but there is at least one. Any value set in updater_count_to_show - // should NOT be used. - UpdaterCountDisplayType string `json:"updaterCountDisplayType,omitempty"` - - // UpdaterCountToShow: The number of updaters for clients to show, - // currently set to the total number of updaters minus the one set in - // updater_to_show. - UpdaterCountToShow int64 `json:"updaterCountToShow,omitempty"` - - // UpdaterToShow: The updater for clients to show. - UpdaterToShow *UserId `json:"updaterToShow,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "UpdaterCountDisplayType") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "UpdaterCountDisplayType") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *AppsDynamiteSharedActivityFeedAnnotationDataUserInfo) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedActivityFeedAnnotationDataUserInfo +func (s *ContextAttribute) MarshalJSON() ([]byte, error) { + type NoMethod ContextAttribute raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedAppProfile: Optional field for apps overriding -// display info -type AppsDynamiteSharedAppProfile struct { - // AvatarEmoji: Displayed user avatar emoji. - AvatarEmoji string `json:"avatarEmoji,omitempty"` - - // AvatarUrl: Displayed user avatar url. - AvatarUrl string `json:"avatarUrl,omitempty"` +// CustomerIndexStats: Aggregation of items by status code as of the +// specified date. +type CustomerIndexStats struct { + // Date: The date for which statistics were calculated. + Date *Date `json:"date,omitempty"` - // Name: Displayed user name. - Name string `json:"name,omitempty"` + // ItemCountByStatus: Number of items aggregrated by status code. + ItemCountByStatus []*ItemCountByStatus `json:"itemCountByStatus,omitempty"` - // ForceSendFields is a list of field names (e.g. "AvatarEmoji") to + // ForceSendFields is a list of field names (e.g. "Date") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1357,37 +991,29 @@ type AppsDynamiteSharedAppProfile struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AvatarEmoji") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Date") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedAppProfile) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedAppProfile +func (s *CustomerIndexStats) MarshalJSON() ([]byte, error) { + type NoMethod CustomerIndexStats raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedAssistantAnnotationData: This is the internal -// version of the API proto at -// google3/google/chat/v1/gsuite_message_integration.proto Data used to -// render Assistant suggestions. See go/bullseye-rendering. -type AppsDynamiteSharedAssistantAnnotationData struct { - // Suggestion: The suggestion to render in the card. - Suggestion *AppsDynamiteSharedAssistantSuggestion `json:"suggestion,omitempty"` +type CustomerQueryStats struct { + // Date: The date for which query stats were calculated. Stats + // calculated on the next day close to midnight are returned. + Date *Date `json:"date,omitempty"` - // Unfulfillable: Set when the initial query was unfulfillable. Only an - // on-demand unfulfillable query will result in a response (not a - // proactive query). 1. On-demand: user explicitly invokes the bot 2. - // Proactive: bot makes proactive suggestion (when available) by - // listening to all user messages. - Unfulfillable *AppsDynamiteSharedAssistantUnfulfillableRequest `json:"unfulfillable,omitempty"` + QueryCountByStatus []*QueryCountByStatus `json:"queryCountByStatus,omitempty"` - // ForceSendFields is a list of field names (e.g. "Suggestion") to + // ForceSendFields is a list of field names (e.g. "Date") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1395,8 +1021,8 @@ type AppsDynamiteSharedAssistantAnnotationData struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Suggestion") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Date") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -1404,19 +1030,22 @@ type AppsDynamiteSharedAssistantAnnotationData struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedAssistantAnnotationData) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedAssistantAnnotationData +func (s *CustomerQueryStats) MarshalJSON() ([]byte, error) { + type NoMethod CustomerQueryStats raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedAssistantDebugContext: Represents info regarding -// suggestion debug information. -type AppsDynamiteSharedAssistantDebugContext struct { - // Query: The query that triggered the resulting suggestion. - Query string `json:"query,omitempty"` +// CustomerSearchApplicationStats: Search application stats for a +// customer for the given date. +type CustomerSearchApplicationStats struct { + // Count: The count of search applications for the date. + Count int64 `json:"count,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "Query") to + // Date: The date for which search application stats were calculated. + Date *Date `json:"date,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Count") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1424,7 +1053,7 @@ type AppsDynamiteSharedAssistantDebugContext struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Query") to include in API + // NullFields is a list of field names (e.g. "Count") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -1433,28 +1062,22 @@ type AppsDynamiteSharedAssistantDebugContext struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedAssistantDebugContext) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedAssistantDebugContext +func (s *CustomerSearchApplicationStats) MarshalJSON() ([]byte, error) { + type NoMethod CustomerSearchApplicationStats raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedAssistantFeedbackContext: Data needed to render -// feedback on the Assistant card -type AppsDynamiteSharedAssistantFeedbackContext struct { - // FeedbackChips: Specifies a list of feedback chips to show - FeedbackChips []*AppsDynamiteSharedAssistantFeedbackContextFeedbackChip `json:"feedbackChips,omitempty"` +type CustomerSessionStats struct { + // Date: The date for which session stats were calculated. Stats are + // calculated on the following day, close to midnight PST, and then + // returned. + Date *Date `json:"date,omitempty"` - // ThumbsFeedback: Whether the thumbs feedback is provided - // - // Possible values: - // "THUMBS_FEEDBACK_UNSPECIFIED" - Unspecified thumbs state - // "NONE_SELECTED" - Thumbs are not selected - // "UP" - Thumbs up selected - // "DOWN" - Thumbs down selected - ThumbsFeedback string `json:"thumbsFeedback,omitempty"` + // SearchSessionsCount: The count of search sessions on the day + SearchSessionsCount int64 `json:"searchSessionsCount,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "FeedbackChips") to + // ForceSendFields is a list of field names (e.g. "Date") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1462,54 +1085,47 @@ type AppsDynamiteSharedAssistantFeedbackContext struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FeedbackChips") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Date") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedAssistantFeedbackContext) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedAssistantFeedbackContext +func (s *CustomerSessionStats) MarshalJSON() ([]byte, error) { + type NoMethod CustomerSessionStats raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedAssistantFeedbackContextFeedbackChip: Suggestion -// chips for users to indicate positive or negative feedback -type AppsDynamiteSharedAssistantFeedbackContextFeedbackChip struct { - // FeedbackChipType: What type of chip to display - // - // Possible values: - // "FEEDBACK_CHIP_TYPE_UNSPECIFIED" - Unspecified type of feedback - // chip - // "WRONG_TRIGGER" - Bad/noisy triggering - // "WRONG_FILE" - Incorrect files were presented - // "CORRECT_TRIGGER" - The Assistant card triggered appropriately - // "CORRECT_FILE" - The correct files were presented - // "DISRUPTIVE" - The feature is disruptive - // "OTHER" - Other reason - FeedbackChipType string `json:"feedbackChipType,omitempty"` - - // State: Whether the chip has been selected - // - // Possible values: - // "FEEDBACK_CHIP_STATE_UNSPECIFIED" - Unspecified selection state - // "SELECTED" - Chip is selected - // "UNSELECTED" - Chip is not selected - State string `json:"state,omitempty"` +// CustomerSettings: Represents settings at a customer level. +type CustomerSettings struct { + // AuditLoggingSettings: Audit Logging settings for the customer. If + // update_mask is empty then this field will be updated based on + // UpdateCustomerSettings request. + AuditLoggingSettings *AuditLoggingSettings `json:"auditLoggingSettings,omitempty"` - // ForceSendFields is a list of field names (e.g. "FeedbackChipType") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // VpcSettings: VPC SC settings for the customer. If update_mask is + // empty then this field will be updated based on UpdateCustomerSettings + // request. + VpcSettings *VPCSettings `json:"vpcSettings,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. + // "AuditLoggingSettings") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FeedbackChipType") to + // NullFields is a list of field names (e.g. "AuditLoggingSettings") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -1519,97 +1135,30 @@ type AppsDynamiteSharedAssistantFeedbackContextFeedbackChip struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedAssistantFeedbackContextFeedbackChip) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedAssistantFeedbackContextFeedbackChip +func (s *CustomerSettings) MarshalJSON() ([]byte, error) { + type NoMethod CustomerSettings raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedAssistantSessionContext: Session context specific -// for Assistant suggestions. -type AppsDynamiteSharedAssistantSessionContext struct { - // ContextualSessionId: Unique identifier populated by the contextual - // request handler for each vertical (Ex: File Suggestions, Smart - // Scheduling, etc.) that can be used to track sessions end-to-end. May - // span multiple users (sender-specific). - ContextualSessionId string `json:"contextualSessionId,omitempty"` +type CustomerUserStats struct { + // Date: The date for which session stats were calculated. Stats + // calculated on the next day close to midnight are returned. + Date *Date `json:"date,omitempty"` - // ForceSendFields is a list of field names (e.g. "ContextualSessionId") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ContextualSessionId") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *AppsDynamiteSharedAssistantSessionContext) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedAssistantSessionContext - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// AppsDynamiteSharedAssistantSuggestion: Data for an Assistant -// suggestion. -type AppsDynamiteSharedAssistantSuggestion struct { - // DebugContext: Info regarding suggestion debug information. - DebugContext *AppsDynamiteSharedAssistantDebugContext `json:"debugContext,omitempty"` - - // FeedbackContext: Data for rendering feedback. - FeedbackContext *AppsDynamiteSharedAssistantFeedbackContext `json:"feedbackContext,omitempty"` - - // FindDocumentSuggestion: Suggestion type that suggests documents - // (docs, slides, sheets). - FindDocumentSuggestion *AppsDynamiteSharedFindDocumentSuggestion `json:"findDocumentSuggestion,omitempty"` - - // SerializedSuggestions: String representation of the suggestions - // provided. - SerializedSuggestions string `json:"serializedSuggestions,omitempty"` - - // SessionContext: Session context specific to the Assistant suggestion. - SessionContext *AppsDynamiteSharedAssistantSessionContext `json:"sessionContext,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DebugContext") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DebugContext") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *AppsDynamiteSharedAssistantSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedAssistantSuggestion - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // OneDayActiveUsersCount: The count of unique active users in the past + // one day + OneDayActiveUsersCount int64 `json:"oneDayActiveUsersCount,omitempty,string"` -// AppsDynamiteSharedAssistantUnfulfillableRequest: Data for a response -// to an unfulfillable request. -type AppsDynamiteSharedAssistantUnfulfillableRequest struct { -} + // SevenDaysActiveUsersCount: The count of unique active users in the + // past seven days + SevenDaysActiveUsersCount int64 `json:"sevenDaysActiveUsersCount,omitempty,string"` -type AppsDynamiteSharedAvatarInfo struct { - Emoji *AppsDynamiteSharedEmoji `json:"emoji,omitempty"` + // ThirtyDaysActiveUsersCount: The count of unique active users in the + // past thirty days + ThirtyDaysActiveUsersCount int64 `json:"thirtyDaysActiveUsersCount,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "Emoji") to + // ForceSendFields is a list of field names (e.g. "Date") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1617,7 +1166,7 @@ type AppsDynamiteSharedAvatarInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Emoji") to include in API + // NullFields is a list of field names (e.g. "Date") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -1626,241 +1175,109 @@ type AppsDynamiteSharedAvatarInfo struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedAvatarInfo) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedAvatarInfo +func (s *CustomerUserStats) MarshalJSON() ([]byte, error) { + type NoMethod CustomerUserStats raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedBackendUploadMetadata: Metadata used only in -// Dynamite backend for uploaded attachments. NEXT ID: 20 -type AppsDynamiteSharedBackendUploadMetadata struct { - // BlobPath: Blobstore path for the uploaded attachment - BlobPath string `json:"blobPath,omitempty"` - - // ContentName: The original file name for the content, not the full - // path. - ContentName string `json:"contentName,omitempty"` - - // ContentSize: Scotty reported content size by default. - // http://google3/uploader/agent/scotty_agent.proto?l=101&rcl=140889785 - ContentSize int64 `json:"contentSize,omitempty,string"` - - // ContentType: Type is from Scotty's best_guess by default: - // http://google3/uploader/agent/scotty_agent.proto?l=51&rcl=140889785 - ContentType string `json:"contentType,omitempty"` - - // DlpScanOutcome: The results of the Data Loss Prevention (DLP) scan of - // the attachment. DEPRECATED: use dlp_scan_summary instead. - // - // Possible values: - // "SCAN_UNKNOWN_OUTCOME" - // "SCAN_SUCCEEDED_NO_VIOLATION" - This means no violation is detected - // on the given message/attachment. - // "SCAN_SUCCEEDED_BLOCK" - Violation is detected. The - // message/attachment will be blocked (or deleted if this happens in - // failure recovery), the user will be warned, and the violation will be - // logged to BIP. - // "SCAN_SUCCEEDED_WARN" - Violation is detected. The user will be - // warned, and the violation will be logged to BIP. - // "SCAN_SUCCEEDED_AUDIT_ONLY" - Violation is detected and will be - // logged to BIP (no user-facing action performed). - // "SCAN_FAILURE_EXCEPTION" - Rule fetch and evaluation were attempted - // but an exception occurred. - // "SCAN_FAILURE_RULE_FETCH_FAILED" - Rule fetch was attempted but - // failed, so rule evaluation could not be performed. - // "SCAN_FAILURE_TIMEOUT" - Rule fetch and evaluation were attempted - // but the scanning timed out. - // "SCAN_FAILURE_ALL_RULES_FAILED" - Rule fetch completed and - // evaluation were attempted, but all of the rules failed to be - // evaluated. - // "SCAN_FAILURE_ILLEGAL_STATE_FOR_ATTACHMENTS" - An - // IllegalStateException is thrown when executing DLP on attachments. - // This could happen if the space row is missing. - // "SCAN_SKIPPED_EXPERIMENT_DISABLED" - Rule fetch and evaluation is - // skipped because DLP is not enabled for the user. - // "SCAN_SKIPPED_CONSUMER" - Rule fetch and evaluation are skipped - // because the user sending message is consumer. - // "SCAN_SKIPPED_NON_HUMAN_USER" - Rule fetch and evaluation are - // skipped because the user sending message is a non-human user (i.e. a - // bot). - // "SCAN_SKIPPED_NO_MESSAGE" - Rule fetch and evaluation are skipped - // because there is no message to scan. Deprecated: this should not - // happen since there must be message or attachment for DLP scan. - // "SCAN_SKIPPED_USER_ACKNOWLEDGED_WARNING" - Rule fetch and - // evaluation are skipped because the user has acknowledged the warning - // on the message that triggered the Warn violation and sent the message - // anyway. - // "SCAN_SKIPPED_MESSAGE_FROM_UNSUPPORTED_ORIGIN" - Scanning was - // skipped because the message originated from Interop or Babel. - // "SCAN_SKIPPED_MESSAGE_SENT_DURING_SPACE_MIGRATION" - Scanning was - // skipped because the message was sent while the space is in migration - // mode. See go/migration-mode for details. - // "SCAN_RULE_EVALUATION_SKIPPED_NO_RULES_FOUND" - Rule fetch - // happened, but rule evaluation is skipped because no rules were found. - // - // "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_ACTION_PARAMS" - // - Rule fetch happened, but rule evaluation is skipped because none of - // the rules are applicable to the given action params. Deprecated. Use - // SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES - // "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_TRIGGER" - - // Rule fetch happened, but rule evaluation is skipped because none of - // the rules are applicable to the given trigger. Deprecated. Use - // SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES - // "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES" - Rule fetch - // happened, but rule evaluation is skipped because none of the rules - // are applicable. - // "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_PERMANENT_ERROR" - Rule - // fetch happened, but rule evaluation is skipped because Changeling - // returned permanent failure while converting the attachment to text. - // "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_EMPTY_RESPONSE" - Rule - // fetch happened, but rule evaluation is skipped because Changeling - // returned an empty response while converting the attachment to text. - // "SCAN_RULE_EVALUATION_SKIPPED_UNSUPPORTED_FILE_TYPE" - Rule fetch - // happened, but rule evaluation is skipped because file type is - // unsupported. - // "SCAN_SUCCEEDED_WITH_FAILURES_NO_VIOLATION" - Rules were fetched - // but some evaluations failed. No violation was found in the rules that - // were successfully evaluated. - // "SCAN_SUCCEEDED_WITH_FAILURES_BLOCK" - Rules were fetched but some - // evaluations failed. A blocking violation was found in the rules that - // were successfully evaluated. The message/attachment will be blocked, - // the user will be notified, and the violation will be logged to BIP. A - // blocking violation takes precedence over all other violation types. - // "SCAN_SUCCEEDED_WITH_FAILURES_WARN" - Rules were fetched but some - // evaluations failed. A warn violation was found in the rules that were - // successfully evaluated. The user will be warned, and the violation - // will be logged to BIP. - // "SCAN_SUCCEEDED_WITH_FAILURES_AUDIT_ONLY" - Rules were fetched but - // some evaluations failed. An audit-only violation was found in the - // rules that were successfully evaluated. The violation will be logged - // to BIP (no user-facing action performed). - DlpScanOutcome string `json:"dlpScanOutcome,omitempty"` - - // DlpScanSummary: Summary of a Data Loss Prevention (DLP) scan of the - // attachment. Attachments are evaluated in the backend when they are - // uploaded. - DlpScanSummary *DlpScanSummary `json:"dlpScanSummary,omitempty"` - - // Experiment: The list of experiments this video is enabled for - // - // Possible values: - // "UNKNOWN_EXPERIMENT" - // "KRONOS_FAST_FORMAT" - Experiment []string `json:"experiment,omitempty"` - - // GroupId: GroupId to which this attachment is uploaded. - GroupId *GroupId `json:"groupId,omitempty"` - - // IsClientSideTranscodedVideo: If the uploaded file is a video that has - // been transcoded on the client side - IsClientSideTranscodedVideo bool `json:"isClientSideTranscodedVideo,omitempty"` - - MigratedFromHangoutsMetadata *AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata `json:"migratedFromHangoutsMetadata,omitempty"` - - // OriginalDimension: Original dimension of the content. Only set for - // image attachments. - OriginalDimension *AppsDynamiteSharedDimension `json:"originalDimension,omitempty"` - - // QuoteReplyMessageId: The message id of a quote reply referencing this - // attachment. When present, this attachment has been quoted in a reply - // message. Normally, the attachment is fetched through the message id - // in the blob_path, but in the case of a quote reply, the blob_path - // would contain the quoted message id. Thus this message id field is - // needed to fetch the quote reply message instead. This field is - // conditionally populated at read time for quotes and never persisted - // in storage. See go/message-quoting-attachments for more context. - QuoteReplyMessageId *MessageId `json:"quoteReplyMessageId,omitempty"` - - // Sha256: The SHA256 hash of the attachment bytes. - Sha256 string `json:"sha256,omitempty"` +// DataSource: Datasource is a logical namespace for items to be +// indexed. All items must belong to a datasource. This is the +// prerequisite before items can be indexed into Cloud Search. +type DataSource struct { + // DisableModifications: If true, sets the datasource to read-only mode. + // In read-only mode, the Indexing API rejects any requests to index or + // delete items in this source. Enabling read-only mode does not stop + // the processing of previously accepted data. + DisableModifications bool `json:"disableModifications,omitempty"` - // UploadIp: User IP address at upload time. Ex. "123.1.2.3". Used by - // Ares abuse scanning. - UploadIp string `json:"uploadIp,omitempty"` + // DisableServing: Disable serving any search or assist results. + DisableServing bool `json:"disableServing,omitempty"` - // UploadTimestampUsec: Timestamp of when user finished uploading the - // content. - UploadTimestampUsec int64 `json:"uploadTimestampUsec,omitempty,string"` + // DisplayName: Required. Display name of the datasource The maximum + // length is 300 characters. + DisplayName string `json:"displayName,omitempty"` - // VideoId: VideoID of the video attachments. This ID shall meets the - // Youtube ID format of 16 hex characters. For example, - // '4c14b8825af6059b' is a valid ID. - VideoId string `json:"videoId,omitempty"` + // IndexingServiceAccounts: List of service accounts that have indexing + // access. + IndexingServiceAccounts []string `json:"indexingServiceAccounts,omitempty"` - // VideoThumbnailBlobId: Full Blobstore ID for the video thumbnail. - VideoThumbnailBlobId string `json:"videoThumbnailBlobId,omitempty"` + // ItemsVisibility: This field restricts visibility to items at the + // datasource level. Items within the datasource are restricted to the + // union of users and groups included in this field. Note that, this + // does not ensure access to a specific item, as users need to have ACL + // permissions on the contained items. This ensures a high level access + // on the entire datasource, and that the individual items are not + // shared outside this visibility. + ItemsVisibility []*GSuitePrincipal `json:"itemsVisibility,omitempty"` - // VirusScanResult: Result for a virus scan. - // - // Possible values: - // "UNKNOWN_VIRUS_SCAN_RESULT" - // "CLEAN" - // "INFECTED" - // "ERROR" - // "POLICY_VIOLATION" - The document violates Google's policy for - // executables and archives. - VirusScanResult string `json:"virusScanResult,omitempty"` - - // ForceSendFields is a list of field names (e.g. "BlobPath") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // Name: The name of the datasource resource. Format: + // datasources/{source_id}. The name is ignored when creating a + // datasource. + Name string `json:"name,omitempty"` - // NullFields is a list of field names (e.g. "BlobPath") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // OperationIds: IDs of the Long Running Operations (LROs) currently + // running for this schema. + OperationIds []string `json:"operationIds,omitempty"` -func (s *AppsDynamiteSharedBackendUploadMetadata) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedBackendUploadMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // ReturnThumbnailUrls: Can a user request to get thumbnail URI for + // Items indexed in this data source. + ReturnThumbnailUrls bool `json:"returnThumbnailUrls,omitempty"` -// AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata: -// Metadata for attachments migrated from Hangouts -type AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata struct { - PhotoId *AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId `json:"photoId,omitempty"` + // ShortName: A short name or alias for the source. This value will be + // used to match the 'source' operator. For example, if the short name + // is ** then queries like *source:* will only return + // results for this source. The value must be unique across all + // datasources. The value must only contain alphanumeric characters + // (a-zA-Z0-9). The value cannot start with 'google' and cannot be one + // of the following: mail, gmail, docs, drive, groups, sites, calendar, + // hangouts, gplus, keep, people, teams. Its maximum length is 32 + // characters. + ShortName string `json:"shortName,omitempty"` - UpdateTimestampUsec int64 `json:"updateTimestampUsec,omitempty,string"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "PhotoId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "DisableModifications") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PhotoId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "DisableModifications") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadata +func (s *DataSource) MarshalJSON() ([]byte, error) { + type NoMethod DataSource raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId struct { - PhotoId int64 `json:"photoId,omitempty,string"` +// DataSourceIndexStats: Aggregation of items by status code as of the +// specified date. +type DataSourceIndexStats struct { + // Date: The date for which index stats were calculated. If the date of + // request is not the current date then stats calculated on the next day + // are returned. Stats are calculated close to mid night in this case. + // If date of request is current date, then real time stats are + // returned. + Date *Date `json:"date,omitempty"` - UserId int64 `json:"userId,omitempty,string"` + // ItemCountByStatus: Number of items aggregrated by status code. + ItemCountByStatus []*ItemCountByStatus `json:"itemCountByStatus,omitempty"` - // ForceSendFields is a list of field names (e.g. "PhotoId") to + // ForceSendFields is a list of field names (e.g. "Date") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1868,8 +1285,8 @@ type AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PhotoId") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Date") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -1877,19 +1294,27 @@ type AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedBackendUploadMetadataMigratedFromHangoutsMetadataPhotoId +func (s *DataSourceIndexStats) MarshalJSON() ([]byte, error) { + type NoMethod DataSourceIndexStats raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteSharedCalendarEventAnnotationData struct { - CalendarEvent *AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent `json:"calendarEvent,omitempty"` +// DataSourceRestriction: Restriction on Datasource. +type DataSourceRestriction struct { + // FilterOptions: Filter options restricting the results. If multiple + // filters are present, they are grouped by object type before joining. + // Filters with the same object type are joined conjunctively, then the + // resulting expressions are joined disjunctively. The maximum number of + // elements is 20. NOTE: Suggest API supports only few filters at the + // moment: "objecttype", "type" and "mimetype". For now, schema specific + // filters cannot be used to filter suggestions. + FilterOptions []*FilterOptions `json:"filterOptions,omitempty"` - // EventCreation: Notification about the creation of an event. - EventCreation *AppsDynamiteSharedCalendarEventAnnotationDataEventCreation `json:"eventCreation,omitempty"` + // Source: The source of restriction. + Source *Source `json:"source,omitempty"` - // ForceSendFields is a list of field names (e.g. "CalendarEvent") to + // ForceSendFields is a list of field names (e.g. "FilterOptions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1897,7 +1322,7 @@ type AppsDynamiteSharedCalendarEventAnnotationData struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CalendarEvent") to include + // NullFields is a list of field names (e.g. "FilterOptions") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -1906,26 +1331,30 @@ type AppsDynamiteSharedCalendarEventAnnotationData struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedCalendarEventAnnotationData) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedCalendarEventAnnotationData +func (s *DataSourceRestriction) MarshalJSON() ([]byte, error) { + type NoMethod DataSourceRestriction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent struct { - // EndTime: The end time of the event. - EndTime *AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime `json:"endTime,omitempty"` - - // EventId: ID of the event. - EventId string `json:"eventId,omitempty"` +// Date: Represents a whole calendar date, for example a date of birth. +// The time of day and time zone are either specified elsewhere or are +// not significant. The date is relative to the Proleptic Gregorian +// Calendar +// (https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar). The +// date must be a valid calendar date between the year 1 and 9999. +type Date struct { + // Day: Day of month. Must be from 1 to 31 and valid for the year and + // month. + Day int64 `json:"day,omitempty"` - // StartTime: The start time of the event. - StartTime *AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime `json:"startTime,omitempty"` + // Month: Month of date. Must be from 1 to 12. + Month int64 `json:"month,omitempty"` - // Title: Title of the event (at the time the message was generated). - Title string `json:"title,omitempty"` + // Year: Year of date. Must be from 1 to 9999. + Year int64 `json:"year,omitempty"` - // ForceSendFields is a list of field names (e.g. "EndTime") to + // ForceSendFields is a list of field names (e.g. "Day") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1933,8 +1362,8 @@ type AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EndTime") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Day") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -1942,80 +1371,89 @@ type AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent +func (s *Date) MarshalJSON() ([]byte, error) { + type NoMethod Date raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime struct { - // AllDay: All day event. - AllDay *Date `json:"allDay,omitempty"` +// DateOperatorOptions: Optional. Provides a search operator for date +// properties. Search operators let users restrict the query to specific +// fields relevant to the type of item being searched. +type DateOperatorOptions struct { + // GreaterThanOperatorName: Indicates the operator name required in the + // query in order to isolate the date property using the greater-than + // operator. For example, if greaterThanOperatorName is *closedafter* + // and the property's name is *closeDate*, then queries like + // *closedafter:* show results only where the value of the + // property named *closeDate* is later than **. The operator name + // can only contain lowercase letters (a-z). The maximum length is 32 + // characters. + GreaterThanOperatorName string `json:"greaterThanOperatorName,omitempty"` - // Timed: Non all day event. - Timed string `json:"timed,omitempty"` + // LessThanOperatorName: Indicates the operator name required in the + // query in order to isolate the date property using the less-than + // operator. For example, if lessThanOperatorName is *closedbefore* and + // the property's name is *closeDate*, then queries like + // *closedbefore:* show results only where the value of the + // property named *closeDate* is earlier than **. The operator + // name can only contain lowercase letters (a-z). The maximum length is + // 32 characters. + LessThanOperatorName string `json:"lessThanOperatorName,omitempty"` - // ForceSendFields is a list of field names (e.g. "AllDay") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // OperatorName: Indicates the actual string required in the query in + // order to isolate the date property. For example, suppose an issue + // tracking schema object has a property named *closeDate* that + // specifies an operator with an operatorName of *closedon*. For + // searches on that data, queries like *closedon:* show results + // only where the value of the *closeDate* property matches **. + // By contrast, a search that uses the same ** without an + // operator returns all items where ** matches the value of any + // String properties or text within the content field for the indexed + // datasource. The operator name can only contain lowercase letters + // (a-z). The maximum length is 32 characters. + OperatorName string `json:"operatorName,omitempty"` - // NullFields is a list of field names (e.g. "AllDay") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "GreaterThanOperatorName") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "GreaterThanOperatorName") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime +func (s *DateOperatorOptions) MarshalJSON() ([]byte, error) { + type NoMethod DateOperatorOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedCalendarEventAnnotationDataEventCreation: Creation -// of an event (no extra data for now). -type AppsDynamiteSharedCalendarEventAnnotationDataEventCreation struct { -} - -// AppsDynamiteSharedCallAnnotationData: Data used to render Meet or -// Google Voice chips in Chat. See -// go/dynamite-calling-artifacts-in-chat. -type AppsDynamiteSharedCallAnnotationData struct { - // CallEndedTimestamp: Timestamp when the call ended. Used to render the - // call ended system message. - CallEndedTimestamp string `json:"callEndedTimestamp,omitempty"` - - // CallMetadata: Required. Call metadata required to create the call - // artifacts. For now, the metadata contains only the call id to - // identify the call. This field allows additional data (e.g. voice call - // type) to be added if needed in the future. - CallMetadata *AppsDynamiteSharedCallMetadata `json:"callMetadata,omitempty"` - - // CallStatus: Required. Indicates the call status for the space. Used - // to determine the chip's state. - // - // Possible values: - // "CALL_STATUS_UNSPECIFIED" - Default value for the enum. DO NOT USE. - // "CALL_STARTED" - Indicates that the call has started. - // "CALL_MISSED" - Indicates that the call is missed. - // "CALL_ENDED" - Indicates that the call has ended. - CallStatus string `json:"callStatus,omitempty"` +// DatePropertyOptions: The options for date properties. +type DatePropertyOptions struct { + // OperatorOptions: If set, describes how the date should be used as a + // search operator. + OperatorOptions *DateOperatorOptions `json:"operatorOptions,omitempty"` - // ForceSendFields is a list of field names (e.g. "CallEndedTimestamp") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "OperatorOptions") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CallEndedTimestamp") to + // NullFields is a list of field names (e.g. "OperatorOptions") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -2025,20 +1463,17 @@ type AppsDynamiteSharedCallAnnotationData struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedCallAnnotationData) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedCallAnnotationData +func (s *DatePropertyOptions) MarshalJSON() ([]byte, error) { + type NoMethod DatePropertyOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedCallMetadata: Metadata required to generate call -// artifacts. This can either be the metadata for a Meet or, in the -// future, Google Voice call. -type AppsDynamiteSharedCallMetadata struct { - // MeetMetadata: Metadata specific for the Meet call. - MeetMetadata *AppsDynamiteSharedMeetMetadata `json:"meetMetadata,omitempty"` +// DateValues: List of date values. +type DateValues struct { + Values []*Date `json:"values,omitempty"` - // ForceSendFields is a list of field names (e.g. "MeetMetadata") to + // ForceSendFields is a list of field names (e.g. "Values") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2046,34 +1481,29 @@ type AppsDynamiteSharedCallMetadata struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MeetMetadata") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Values") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedCallMetadata) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedCallMetadata +func (s *DateValues) MarshalJSON() ([]byte, error) { + type NoMethod DateValues raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedCardClickSuggestion: Card click which identifies -// one suggestion provided by the app/bot. -type AppsDynamiteSharedCardClickSuggestion struct { - // ActionId: Identify the button/action that created the suggestion. A - // simple example would be a card button within the stream, or the id - // which can identify a specific suggestion. - ActionId string `json:"actionId,omitempty"` - - // SuggestionMessageId: The message_id for the message that was posted - // by the app/bot. - SuggestionMessageId *MessageId `json:"suggestionMessageId,omitempty"` +// DebugOptions: Shared request debug options for all cloudsearch RPC +// methods. +type DebugOptions struct { + // EnableDebugging: If you are asked by Google to help with debugging, + // set this field. Otherwise, ignore this field. + EnableDebugging bool `json:"enableDebugging,omitempty"` - // ForceSendFields is a list of field names (e.g. "ActionId") to + // ForceSendFields is a list of field names (e.g. "EnableDebugging") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2081,36 +1511,34 @@ type AppsDynamiteSharedCardClickSuggestion struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ActionId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "EnableDebugging") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedCardClickSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedCardClickSuggestion +func (s *DebugOptions) MarshalJSON() ([]byte, error) { + type NoMethod DebugOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedChatItem: Next Id: 5 -type AppsDynamiteSharedChatItem struct { - // ActivityInfo: Information needed to render the specific type of feed - // item. - ActivityInfo []*AppsDynamiteSharedChatItemActivityInfo `json:"activityInfo,omitempty"` +type DeleteQueueItemsRequest struct { + // ConnectorName: The name of connector making this call. Format: + // datasources/{source_id}/connectors/{ID} + ConnectorName string `json:"connectorName,omitempty"` - // GroupInfo: Only populated on read path and should not be persisted in - // storage. - GroupInfo *AppsDynamiteSharedChatItemGroupInfo `json:"groupInfo,omitempty"` + // DebugOptions: Common debug options. + DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - // MessageInfo: Additional information about the original chat message - // that isn't captured in the top-level message proto. - MessageInfo *AppsDynamiteSharedMessageInfo `json:"messageInfo,omitempty"` + // Queue: The name of a queue to delete items from. + Queue string `json:"queue,omitempty"` - // ForceSendFields is a list of field names (e.g. "ActivityInfo") to + // ForceSendFields is a list of field names (e.g. "ConnectorName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2118,7 +1546,7 @@ type AppsDynamiteSharedChatItem struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ActivityInfo") to include + // NullFields is a list of field names (e.g. "ConnectorName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -2127,22 +1555,25 @@ type AppsDynamiteSharedChatItem struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedChatItem) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedChatItem +func (s *DeleteQueueItemsRequest) MarshalJSON() ([]byte, error) { + type NoMethod DeleteQueueItemsRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteSharedChatItemActivityInfo struct { - FeedItemNudge *AppsDynamiteSharedChatItemActivityInfoFeedItemNudge `json:"feedItemNudge,omitempty"` - - FeedItemReactions *AppsDynamiteSharedChatItemActivityInfoFeedItemReactions `json:"feedItemReactions,omitempty"` - - FeedItemThreadReply *AppsDynamiteSharedChatItemActivityInfoFeedItemThreadReply `json:"feedItemThreadReply,omitempty"` - - FeedItemUserMention *AppsDynamiteSharedChatItemActivityInfoFeedItemUserMention `json:"feedItemUserMention,omitempty"` +// DisplayedProperty: A reference to a top-level property within the +// object that should be displayed in search results. The values of the +// chosen properties is displayed in the search results along with the +// display label for that property if one is specified. If a display +// label is not specified, only the values is shown. +type DisplayedProperty struct { + // PropertyName: The name of the top-level property as defined in a + // property definition for the object. If the name is not a defined + // property in the schema, an error is given when attempting to update + // the schema. + PropertyName string `json:"propertyName,omitempty"` - // ForceSendFields is a list of field names (e.g. "FeedItemNudge") to + // ForceSendFields is a list of field names (e.g. "PropertyName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2150,7 +1581,7 @@ type AppsDynamiteSharedChatItemActivityInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FeedItemNudge") to include + // NullFields is a list of field names (e.g. "PropertyName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -2159,27 +1590,23 @@ type AppsDynamiteSharedChatItemActivityInfo struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedChatItemActivityInfo) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedChatItemActivityInfo +func (s *DisplayedProperty) MarshalJSON() ([]byte, error) { + type NoMethod DisplayedProperty raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedChatItemActivityInfoFeedItemNudge: Existence of -// this attribute indicates that the AF item is for a message nudge -// item. -type AppsDynamiteSharedChatItemActivityInfoFeedItemNudge struct { - // NudgeType: Nudge type of the nudge feed item. - // - // Possible values: - // "UNDEFINED" - // "REPLY" - The message receiver is nudged since the message may - // require a reply. - // "FOLLOW_UP" - The message creator is nudged since the message may - // require a follow-up. - NudgeType string `json:"nudgeType,omitempty"` - - // ForceSendFields is a list of field names (e.g. "NudgeType") to +// DoubleOperatorOptions: Used to provide a search operator for double +// properties. This is optional. Search operators let users restrict the +// query to specific fields relevant to the type of item being searched. +type DoubleOperatorOptions struct { + // OperatorName: Indicates the operator name required in the query in + // order to use the double property in sorting or as a facet. The + // operator name can only contain lowercase letters (a-z). The maximum + // length is 32 characters. + OperatorName string `json:"operatorName,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OperatorName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2187,43 +1614,28 @@ type AppsDynamiteSharedChatItemActivityInfoFeedItemNudge struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NudgeType") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "OperatorName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedChatItemActivityInfoFeedItemNudge) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedChatItemActivityInfoFeedItemNudge +func (s *DoubleOperatorOptions) MarshalJSON() ([]byte, error) { + type NoMethod DoubleOperatorOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedChatItemActivityInfoFeedItemReactions: Existence of -// this attribute indicates that the AF item is for message reactions, -// but it is intentionally left empty since the list of reactions can be -// found in the top-level Message.Reactions. -type AppsDynamiteSharedChatItemActivityInfoFeedItemReactions struct { -} - -// AppsDynamiteSharedChatItemActivityInfoFeedItemThreadReply: Existence -// of this attribute indicates that the AF item is for thread reply. -type AppsDynamiteSharedChatItemActivityInfoFeedItemThreadReply struct { - // ReplyType: Reply type of the thread reply feed item. The field is not - // persisted in storage. It's populated when constructing Activity Feed - // payload. - // - // Possible values: - // "UNSPECIFIED" - // "ROOT" - The thread reply feed item is for the root message poster. - // "FOLLOWER" - The thread reply feed item is for a thread follower - // who's not the root message poster. - ReplyType string `json:"replyType,omitempty"` +// DoublePropertyOptions: The options for double properties. +type DoublePropertyOptions struct { + // OperatorOptions: If set, describes how the double should be used as a + // search operator. + OperatorOptions *DoubleOperatorOptions `json:"operatorOptions,omitempty"` - // ForceSendFields is a list of field names (e.g. "ReplyType") to + // ForceSendFields is a list of field names (e.g. "OperatorOptions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2231,34 +1643,27 @@ type AppsDynamiteSharedChatItemActivityInfoFeedItemThreadReply struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ReplyType") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "OperatorOptions") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedChatItemActivityInfoFeedItemThreadReply) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedChatItemActivityInfoFeedItemThreadReply +func (s *DoublePropertyOptions) MarshalJSON() ([]byte, error) { + type NoMethod DoublePropertyOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedChatItemActivityInfoFeedItemUserMention: Existence -// of this attribute indicates that the AF item is for a user mention -// item. -type AppsDynamiteSharedChatItemActivityInfoFeedItemUserMention struct { - // Type: User mention type - // - // Possible values: - // "TYPE_UNSPECIFIED" - Mention type not specified. - // "DIRECT" - Mentioned directly by name. - // "ALL" - Mentioned by @all. - Type string `json:"type,omitempty"` +// DoubleValues: List of double values. +type DoubleValues struct { + Values []float64 `json:"values,omitempty"` - // ForceSendFields is a list of field names (e.g. "Type") to + // ForceSendFields is a list of field names (e.g. "Values") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2266,7 +1671,7 @@ type AppsDynamiteSharedChatItemActivityInfoFeedItemUserMention struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Type") to include in API + // NullFields is a list of field names (e.g. "Values") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -2275,204 +1680,39 @@ type AppsDynamiteSharedChatItemActivityInfoFeedItemUserMention struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedChatItemActivityInfoFeedItemUserMention) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedChatItemActivityInfoFeedItemUserMention +func (s *DoubleValues) MarshalJSON() ([]byte, error) { + type NoMethod DoubleValues raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedChatItemGroupInfo: Information about the space that -// the item originated from. This will be used to display Activity Feed -// items from rooms, and only contain the necessary information, such as -// the space name and group attributes. NEXT TAG: 6 -type AppsDynamiteSharedChatItemGroupInfo struct { - // AttributeCheckerGroupType: This is needed to determine what type of - // group the source message came from to support click-to-source. - // - // Possible values: - // "ATTRIBUTE_CHECKER_GROUP_TYPE_UNSPECIFIED" - LINT.IfChange - // "ONE_TO_ONE_HUMAN_DM" - A 1:1 DM that has two human users. - // Deprecated. Use IMMUTABLE_MEMBERSHIP_HUMAN_DM instead. - // "ONE_TO_ONE_BOT_DM" - A 1:1 DM between a human user and a bot. - // "IMMUTABLE_MEMBERSHIP_GROUP_DM" - A group DM that has multiple - // human users with immutable group membership. Deprecated. Use - // IMMUTABLE_MEMBERSHIP_HUMAN_DM instead. - // "FLAT_ROOM" - A flat room that contains a single thread. - // "THREADED_ROOM" - A threaded room. Topics in this room are - // threaded, and users can reply to any topic. - // "IMMUTABLE_MEMBERSHIP_HUMAN_DM" - A DM with immutable group - // membership. It can be a 1:1 DM or a group DM with multiple human - // users. - // "ACTIVITY_FEED" - Represents an Activity Feed space. These groups - // are modeled like flat rooms and contain items for users to catch up - // on important things. Each user should only have one group of this - // type. See go/activity-feed. Deprecated: The go/activity-feed project - // is cancelled and this should no longer be used. - // "SHORTCUT" - Represents a shortcut space. These groups are modeled - // like flat rooms and contain items for users to catch up on important - // things such as user mentioned messages and starred messages. - // LINT.ThenChange(//depot/google3/logs/proto/apps_dynamite/dynamite_visu - // al_element_entry.proto:LoggingGroupType,//depot/google3/java/com/googl - // e/apps/dynamite/v1/web/ui/group/groups.js:LoggingGroupType) - AttributeCheckerGroupType string `json:"attributeCheckerGroupType,omitempty"` - - GroupName string `json:"groupName,omitempty"` - - // GroupReadTimeUsec: Timestamp of when the group containing the message - // has been read by the user. - GroupReadTimeUsec int64 `json:"groupReadTimeUsec,omitempty,string"` - - // InlineThreadingEnabled: Indicates whether the group has inline - // replies enabled. If enabled, clients will render the space with - // inline replies. - InlineThreadingEnabled bool `json:"inlineThreadingEnabled,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "AttributeCheckerGroupType") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. - // "AttributeCheckerGroupType") to include in API requests with the JSON - // null value. By default, fields with empty values are omitted from API - // requests. However, any field with an empty value appearing in - // NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *AppsDynamiteSharedChatItemGroupInfo) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedChatItemGroupInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +func (s *DoubleValues) UnmarshalJSON(data []byte) error { + type NoMethod DoubleValues + var s1 struct { + Values []gensupport.JSONFloat64 `json:"values"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Values = make([]float64, len(s1.Values)) + for i := range s1.Values { + s.Values[i] = float64(s1.Values[i]) + } + return nil } -// AppsDynamiteSharedContentReportType: Denotes a type of content report -// a user can send. -type AppsDynamiteSharedContentReportType struct { - // SystemViolation: Required. Google-defined system violation, covering - // the most common violations. - // +// DriveFollowUpRestrict: Drive follow-up search restricts (e.g. +// "followup:suggestions"). +type DriveFollowUpRestrict struct { // Possible values: - // "VIOLATION_UNSPECIFIED" - Default value if unset. Do not use - // directly. This value should not appear as a selectable violation - // during content reporting. - // "HARASSMENT" - "Harassment, offensive, or rude behavior" - // "DISCRIMINATION" - "Discrimination or harmful stereotypes against - // anyone, including protected groups" - // "EXPLICIT_CONTENT" - "Explicit content that's graphic, violent, or - // otherwise inappropriate" - // "SPAM" - "Spam" - // "CONFIDENTIAL_INFORMATION" - "Confidential information" - // "SENSITIVE_INFORMATION" - "Sensitive information" - // "FRAUD" - Phishing, impersonation/misrepresentation, or deceiving - // other users into sharing information under false pretenses. - // "MALWARE" - Malware, viruses, Trojan horses, corrupted files, - // destructive code, etc. - // "ILLEGAL_ACTIVITIES" - Promoting, organizing, or engaging in - // illegal activities. - // "OTHER" - "Something else" - SystemViolation string `json:"systemViolation,omitempty"` - - // ForceSendFields is a list of field names (e.g. "SystemViolation") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "SystemViolation") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *AppsDynamiteSharedContentReportType) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedContentReportType - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // "UNSPECIFIED" + // "FOLLOWUP_SUGGESTIONS" + // "FOLLOWUP_ACTION_ITEMS" + Type string `json:"type,omitempty"` -// AppsDynamiteSharedCustomEmoji: Proto representation of a custom -// emoji. May be used in both APIs and in Spanner, but certain fields -// should be restricted to one or the other. See the per-field -// documentation for details. NEXT_TAG: 14 -type AppsDynamiteSharedCustomEmoji struct { - // BlobId: ID for the underlying image data in Blobstore. This field - // should *only* be present in Spanner or within the server, but should - // not be exposed in public APIs. - BlobId string `json:"blobId,omitempty"` - - // ContentType: Content type of the file used to upload the emoji. Used - // for takeout. Written to Spanner when the emoji is created. - ContentType string `json:"contentType,omitempty"` - - // CreateTimeMicros: Time when the Emoji was created, in microseconds. - // This field may be present in Spanner, within the server, or in public - // APIs. - CreateTimeMicros int64 `json:"createTimeMicros,omitempty,string"` - - // CreatorUserId: This field should *never* be persisted to Spanner. - CreatorUserId *UserId `json:"creatorUserId,omitempty"` - - // DeleteTimeMicros: Time when the emoji was deleted, in microseconds. - // This field may be present in Spanner, within the server, or in public - // APIs. Only present if the emoji has been deleted. - DeleteTimeMicros int64 `json:"deleteTimeMicros,omitempty,string"` - - // EphemeralUrl: Output only. A short-lived URL clients can use for - // directly accessing a custom emoji image. This field is intended for - // API consumption, and should *never* be persisted to Spanner. - EphemeralUrl string `json:"ephemeralUrl,omitempty"` - - // OwnerCustomerId: This field should *never* be persisted to Spanner. - OwnerCustomerId *CustomerId `json:"ownerCustomerId,omitempty"` - - // ReadToken: Opaque token that clients use to construct the URL for - // accessing the custom emoji’s image data. This field is intended for - // API consumption, and should *never* be persisted to Spanner. - ReadToken string `json:"readToken,omitempty"` - - // Shortcode: User-provided, human-readable ID for the custom emoji. - // Users are expected to observe this field in the UI instead of the - // UUID. This shortcode should be unique within an organization, but has - // no global uniqueness guarantees, unlike the UUID. This field should - // *never* be persisted to Spanner. - Shortcode string `json:"shortcode,omitempty"` - - // State: Snapshot of the current state of the emoji, which may differ - // from the source-of-truth in the CustomEmojis table. This field should - // *never* be persisted to Spanner. - // - // Possible values: - // "EMOJI_STATE_UNSPECIFIED" - // "EMOJI_ENABLED" - Emoji is visible and available to be used, - // subject to access control requirements. - // "EMOJI_SYSTEM_DISABLED" - Emoji can no longer be used (e.g. due to - // a shortcode conflict), but is not removed from existing embeddings. - // "EMOJI_HIDDEN" - Emoji is hidden from pickers, so new usages are - // not allowed, but is not removed from existing embeddings. - // "EMOJI_DELETED" - Emoji is removed everywhere and is not available - // to end-users. - State string `json:"state,omitempty"` - - UpdateTimeMicros int64 `json:"updateTimeMicros,omitempty,string"` - - // Uuid: Unique key for a custom emoji resource. Required. This field is - // *always* populated. - Uuid string `json:"uuid,omitempty"` - - // ForceSendFields is a list of field names (e.g. "BlobId") to + // ForceSendFields is a list of field names (e.g. "Type") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2480,7 +1720,7 @@ type AppsDynamiteSharedCustomEmoji struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BlobId") to include in API + // NullFields is a list of field names (e.g. "Type") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -2489,19 +1729,22 @@ type AppsDynamiteSharedCustomEmoji struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedCustomEmoji) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedCustomEmoji +func (s *DriveFollowUpRestrict) MarshalJSON() ([]byte, error) { + type NoMethod DriveFollowUpRestrict raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedDimension: Dimension for the uploaded attachments. -type AppsDynamiteSharedDimension struct { - Height int64 `json:"height,omitempty"` - - Width int64 `json:"width,omitempty"` +// DriveLocationRestrict: Drive location search restricts (e.g. +// "is:starred"). +type DriveLocationRestrict struct { + // Possible values: + // "UNSPECIFIED" + // "TRASHED" + // "STARRED" + Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "Height") to + // ForceSendFields is a list of field names (e.g. "Type") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2509,7 +1752,7 @@ type AppsDynamiteSharedDimension struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Height") to include in API + // NullFields is a list of field names (e.g. "Type") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -2518,47 +1761,43 @@ type AppsDynamiteSharedDimension struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedDimension) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedDimension +func (s *DriveLocationRestrict) MarshalJSON() ([]byte, error) { + type NoMethod DriveLocationRestrict raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedDlpMetricsMetadata: LINT.IfChange -type AppsDynamiteSharedDlpMetricsMetadata struct { - // DlpStatus: [required] Describes the DLP status of message send and - // attachment upload events. - // +// DriveMimeTypeRestrict: Drive mime-type search restricts (e.g. +// "type:pdf"). +type DriveMimeTypeRestrict struct { // Possible values: - // "DLP_STATUS_UNKNOWN" - // "DLP_DISABLED" - Rule fetch and evaluation are skipped because DLP - // experiment is not enabled. - // "DLP_ENABLED_NO_RULE_FETCH" - Rule fetch and evaluation are skipped - // because there is no rule to be fetched (e.g. message is sent from a - // consumer, or there is no message.) - // "DLP_ENABLED_RULES_FETCHED_NO_RULES" - Rule fetch happened, but - // rule evalution is skipped because the fetch returned no rules. - // "DLP_ENABLED_RULES_FETCHED_NO_APPLICABLE_RULES" - Rule fetch - // happened, but rule evaluation is skipped because none of the rules - // are applicable. - // "DLP_ENABLED_RULES_FETCHED_AND_EVALUATED" - Rule fetch and - // evaluation were performed and completed successfully. - // "DLP_ENABLED_SCAN_TIMEOUT" - DLP scan was attempted but timed out. - // "DLP_ENABLED_SCAN_FAILED" - Generic DLP failure. This case covers - // any other errors/exceptions in the Chat backend that caused the DLP - // scan to fail. - DlpStatus string `json:"dlpStatus,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DlpStatus") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // "UNSPECIFIED" + // "PDF" + // "DOCUMENT" + // "PRESENTATION" + // "SPREADSHEET" + // "FORM" + // "DRAWING" + // "SCRIPT" + // "MAP" + // "IMAGE" + // "AUDIO" + // "VIDEO" + // "FOLDER" + // "ARCHIVE" + // "SITE" + Type string `json:"type,omitempty"` - // NullFields is a list of field names (e.g. "DlpStatus") to include in - // API requests with the JSON null value. By default, fields with empty + // ForceSendFields is a list of field names (e.g. "Type") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Type") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -2566,35 +1805,25 @@ type AppsDynamiteSharedDlpMetricsMetadata struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedDlpMetricsMetadata) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedDlpMetricsMetadata +func (s *DriveMimeTypeRestrict) MarshalJSON() ([]byte, error) { + type NoMethod DriveMimeTypeRestrict raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedDocument: Data for rendering a document. -type AppsDynamiteSharedDocument struct { - // FileId: Unique file ID. - FileId string `json:"fileId,omitempty"` - - // Justification: Justification to explain why this document is being - // suggested. - Justification *AppsDynamiteSharedJustification `json:"justification,omitempty"` - - // LastModifiedTime: Time the document was last modified. - LastModifiedTime string `json:"lastModifiedTime,omitempty"` - - // MimeType: Used to determine which icon to render (e.g. docs, slides, - // sheets) - MimeType string `json:"mimeType,omitempty"` - - // Title: Title of the document. - Title string `json:"title,omitempty"` - - // Url: URL of the document. - Url string `json:"url,omitempty"` +// DriveTimeSpanRestrict: The time span search restrict (e.g. +// "after:2017-09-11 before:2017-09-12"). +type DriveTimeSpanRestrict struct { + // Possible values: + // "UNSPECIFIED" + // "TODAY" + // "YESTERDAY" + // "LAST_7_DAYS" + // "LAST_30_DAYS" - Not Enabled + // "LAST_90_DAYS" - Not Enabled + Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "FileId") to + // ForceSendFields is a list of field names (e.g. "Type") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2602,7 +1831,7 @@ type AppsDynamiteSharedDocument struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FileId") to include in API + // NullFields is a list of field names (e.g. "Type") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -2611,20 +1840,33 @@ type AppsDynamiteSharedDocument struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedDocument) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedDocument +func (s *DriveTimeSpanRestrict) MarshalJSON() ([]byte, error) { + type NoMethod DriveTimeSpanRestrict raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteSharedEmoji struct { - // CustomEmoji: A custom emoji. - CustomEmoji *AppsDynamiteSharedCustomEmoji `json:"customEmoji,omitempty"` +// EmailAddress: A person's email address. +type EmailAddress struct { + // CustomType: If the value of type is custom, this property contains + // the custom type string. + CustomType string `json:"customType,omitempty"` + + // EmailAddress: The email address. + EmailAddress string `json:"emailAddress,omitempty"` + + // EmailUrl: The URL to send email. + EmailUrl string `json:"emailUrl,omitempty"` + + // Primary: Indicates if this is the user's primary email. Only one + // entry can be marked as primary. + Primary bool `json:"primary,omitempty"` - // Unicode: A basic emoji represented by a unicode string. - Unicode string `json:"unicode,omitempty"` + // Type: The type of the email account. Acceptable values are: "custom", + // "home", "other", "work". + Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "CustomEmoji") to + // ForceSendFields is a list of field names (e.g. "CustomType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2632,68 +1874,66 @@ type AppsDynamiteSharedEmoji struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CustomEmoji") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "CustomType") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedEmoji) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedEmoji +func (s *EmailAddress) MarshalJSON() ([]byte, error) { + type NoMethod EmailAddress raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedFindDocumentSuggestion: Data for a FindDocument -// suggestion type. -type AppsDynamiteSharedFindDocumentSuggestion struct { - // DocumentSuggestions: List of documents to render as suggestions. - DocumentSuggestions []*AppsDynamiteSharedDocument `json:"documentSuggestions,omitempty"` +type EnterpriseTopazFrontendTeamsLink struct { + // Type: The identifying link type + Type string `json:"type,omitempty"` - // ShowActionButtons: Whether to show the action buttons in the card for - // the suggestions. - ShowActionButtons bool `json:"showActionButtons,omitempty"` + Url *SafeUrlProto `json:"url,omitempty"` - // ForceSendFields is a list of field names (e.g. "DocumentSuggestions") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Type") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DocumentSuggestions") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Type") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedFindDocumentSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedFindDocumentSuggestion +func (s *EnterpriseTopazFrontendTeamsLink) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazFrontendTeamsLink raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedGroupDetails: NEXT TAG: 3 A GroupDetails proto will -// store the information pertaining to single Group. -type AppsDynamiteSharedGroupDetails struct { - // Description: A simple text that describes the purpose of a single - // Group, the general theme of the topics to be posted and/or the - // denominator of the Group participants. - Description string `json:"description,omitempty"` +type EnterpriseTopazFrontendTeamsPersonCorePhoneNumber struct { + // PhoneNumber: Phone number in no particular format (as comes from the + // Focus profile). + PhoneNumber string `json:"phoneNumber,omitempty"` - // Guidelines: A simple text describing the rules and expectations from - // members when participating in conversation. - Guidelines string `json:"guidelines,omitempty"` + // PhoneUrl: Phone number URL + PhoneUrl *SafeUrlProto `json:"phoneUrl,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // Possible values: + // "UNKNOWN" + // "MOBILE" + // "OFFICE" + // "OTHER" + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PhoneNumber") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2701,7 +1941,7 @@ type AppsDynamiteSharedGroupDetails struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "PhoneNumber") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -2710,20 +1950,125 @@ type AppsDynamiteSharedGroupDetails struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedGroupDetails) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedGroupDetails +func (s *EnterpriseTopazFrontendTeamsPersonCorePhoneNumber) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazFrontendTeamsPersonCorePhoneNumber raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteSharedGroupVisibility struct { +// EnterpriseTopazSidekickAgendaEntry: An AgendaEntry, e.g., a Calendar +// Event. +type EnterpriseTopazSidekickAgendaEntry struct { + // AgendaItemUrl: URL of the agenda item. + AgendaItemUrl string `json:"agendaItemUrl,omitempty"` + + // Chronology: The chronology from the present. + // + // Possible values: + // "STALE" - Stale. + // "ALL_DAY" - All day. + // "PAST" - Past. + // "RECENTLY_PAST" - Recently past. + // "PRESENT" - Present. + // "NEAR_FUTURE" - Near future. + // "FUTURE" - Future. + Chronology string `json:"chronology,omitempty"` + + // Creator: Person who created the event. + Creator *EnterpriseTopazSidekickPerson `json:"creator,omitempty"` + + // CurrentUserAttendingStatus: Attendance status for the current user + // making the request. This is a convenience data member in order to + // avoid figuring out the same by iterating the invitee list above on + // the caller side. + // // Possible values: - // "UNKNOWN" - Do not use. - // "PRIVATE" - Explicitly invited users may join the room. - // "PUBLIC" - Anyone in the domain may join the room. - State string `json:"state,omitempty"` + // "AWAITING" - Awaiting for the user to set the status. + // "YES" - Attending. + // "NO" - Not attending. + // "MAYBE" - Tentatively attending. + CurrentUserAttendingStatus string `json:"currentUserAttendingStatus,omitempty"` + + // Description: Description of the agenda item (i.e., typically, summary + // in calendar event). + Description string `json:"description,omitempty"` + + // Document: Items related to the current AgendaEntry. E.g., related + // drive/mail/groups documents. + Document []*EnterpriseTopazSidekickCommonDocument `json:"document,omitempty"` + + // EndDate: End date "Friday, August 26" in the user's timezone. + EndDate string `json:"endDate,omitempty"` + + // EndTime: End time (HH:mm) in the user's timezone. + EndTime string `json:"endTime,omitempty"` + + // EndTimeMs: End time in milliseconds + EndTimeMs int64 `json:"endTimeMs,omitempty,string"` + + // EventId: Event id provided by Calendar API. + EventId string `json:"eventId,omitempty"` + + // GuestsCanInviteOthers: Whether the guests can invite other guests. + GuestsCanInviteOthers bool `json:"guestsCanInviteOthers,omitempty"` + + // GuestsCanModify: Whether the guests can modify the event. + GuestsCanModify bool `json:"guestsCanModify,omitempty"` + + // GuestsCanSeeGuests: Whether the guests of the event can be seen. If + // false, the user is going to be reported as the only attendee to the + // meeting, even though there may be more attendees. + GuestsCanSeeGuests bool `json:"guestsCanSeeGuests,omitempty"` + + // HangoutId: Hangout meeting identifier. + HangoutId string `json:"hangoutId,omitempty"` + + // HangoutUrl: Absolute URL for the Hangout meeting. + HangoutUrl string `json:"hangoutUrl,omitempty"` - // ForceSendFields is a list of field names (e.g. "State") to + // Invitee: People attending the meeting. + Invitee []*EnterpriseTopazSidekickPerson `json:"invitee,omitempty"` + + // IsAllDay: Whether the entry lasts all day. + IsAllDay bool `json:"isAllDay,omitempty"` + + // LastModificationTimeMs: Last time the event was modified. + LastModificationTimeMs int64 `json:"lastModificationTimeMs,omitempty,string"` + + // Location: Agenda item location. + Location string `json:"location,omitempty"` + + // NotifyToUser: Whether this should be notified to the user. + NotifyToUser bool `json:"notifyToUser,omitempty"` + + // OtherAttendeesExcluded: Whether guest list is not returned because + // number of attendees is too large. + OtherAttendeesExcluded bool `json:"otherAttendeesExcluded,omitempty"` + + // RequesterIsOwner: Whether the requester is the owner of the agenda + // entry. + RequesterIsOwner bool `json:"requesterIsOwner,omitempty"` + + // ShowFullEventDetailsToUse: Whether the details of this entry should + // be displayed to the user. + ShowFullEventDetailsToUse bool `json:"showFullEventDetailsToUse,omitempty"` + + // StartDate: Start date "Friday, August 26" in the user's timezone. + StartDate string `json:"startDate,omitempty"` + + // StartTime: Start time (HH:mm) in the user's timezone. + StartTime string `json:"startTime,omitempty"` + + // StartTimeMs: Start time in milliseconds. + StartTimeMs int64 `json:"startTimeMs,omitempty,string"` + + // TimeZone: User's calendar timezone; + TimeZone string `json:"timeZone,omitempty"` + + // Title: Title of the agenda item. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AgendaItemUrl") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2731,50 +2076,29 @@ type AppsDynamiteSharedGroupVisibility struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "State") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "AgendaItemUrl") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedGroupVisibility) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedGroupVisibility +func (s *EnterpriseTopazSidekickAgendaEntry) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickAgendaEntry raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedJustification: Data for rendering a justification -// for a document. -type AppsDynamiteSharedJustification struct { - // ActionTime: Time the action took place. - ActionTime string `json:"actionTime,omitempty"` +type EnterpriseTopazSidekickAgendaGroupCardProto struct { + AgendaItem []*EnterpriseTopazSidekickAgendaItem `json:"agendaItem,omitempty"` - // ActionType: Type of action performed on the document. - // - // Possible values: - // "ACTION_TYPE_UNSPECIFIED" - Unspecified action. - // "COMMENTED" - Commented on document. - // "CREATED" - Created document. - // "EDITED" - Edited document. - // "PRESENTED" - Presented document. - // "SHARED" - Shared document. - // "VIEWED" - Viewed document. - // "COMMENT_RESOLVED" - Resolved comment on document. - // "SENT" - Sent document over chat/email. - ActionType string `json:"actionType,omitempty"` - - // DocumentOwner: Owner of the document. - DocumentOwner *AppsDynamiteSharedJustificationPerson `json:"documentOwner,omitempty"` - - // Topics: Words or phrases from the user's query that describes the - // document content. (Ex: Users query is "Can you share the document - // about Bullseye?" the extracted topic would be "Bullseye"). - Topics []string `json:"topics,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ActionTime") to + Context *EnterpriseTopazSidekickAgendaGroupCardProtoContext `json:"context,omitempty"` + + CurrentAgendaItem *EnterpriseTopazSidekickAgendaItem `json:"currentAgendaItem,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AgendaItem") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2782,7 +2106,7 @@ type AppsDynamiteSharedJustification struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ActionTime") to include in + // NullFields is a list of field names (e.g. "AgendaItem") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -2791,22 +2115,33 @@ type AppsDynamiteSharedJustification struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedJustification) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedJustification +func (s *EnterpriseTopazSidekickAgendaGroupCardProto) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickAgendaGroupCardProto raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedJustificationPerson: Data for rendering a person -// associated with a document. -type AppsDynamiteSharedJustificationPerson struct { - // IsRecipient: Whether the person is the recipient of the suggestions. - IsRecipient bool `json:"isRecipient,omitempty"` +// EnterpriseTopazSidekickAgendaGroupCardProtoContext: The context that +// resulted in the generation of the card. +type EnterpriseTopazSidekickAgendaGroupCardProtoContext struct { + // Context: User friendly free text that describes the context of the + // card (e.g. "Next meeting with Bob"). This is largely only applicable + // when the card is generated from a query. + Context string `json:"context,omitempty"` - // User: Obfuscated user ID. - User *UserId `json:"user,omitempty"` + // Date: Localized free text that describes the dates represented by the + // card. Currently, the card will only represent a single day. + Date string `json:"date,omitempty"` + + // EventsRestrict: Represents restrictions applied to the events + // requested in the user's query. + // + // Possible values: + // "NONE" - No specific event was requested. + // "NEXT_MEETING" - The next meeting was requested. + EventsRestrict string `json:"eventsRestrict,omitempty"` - // ForceSendFields is a list of field names (e.g. "IsRecipient") to + // ForceSendFields is a list of field names (e.g. "Context") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2814,45 +2149,29 @@ type AppsDynamiteSharedJustificationPerson struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "IsRecipient") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Context") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedJustificationPerson) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedJustificationPerson +func (s *EnterpriseTopazSidekickAgendaGroupCardProtoContext) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickAgendaGroupCardProtoContext raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedMeetMetadata: Metadata specific for a Meet call -// that are required to generate call artifacts. -type AppsDynamiteSharedMeetMetadata struct { - // MeetingCode: Required. A globally unique code (e.g. "cxv-zbgj-wzw") - // that points to a meeting space. Note: Meeting codes may be - // regenerated, which will cause old meeting codes to become invalid. - MeetingCode string `json:"meetingCode,omitempty"` +type EnterpriseTopazSidekickAgendaItem struct { + ConflictedGroup *EnterpriseTopazSidekickConflictingEventsCardProto `json:"conflictedGroup,omitempty"` - // MeetingType: Required. Type of the meeting. This controls the chat - // client UX. - // - // Possible values: - // "MEETING_TYPE_UNSPECIFIED" - // "HUDDLE" - // "CALL" - MeetingType string `json:"meetingType,omitempty"` - - // MeetingUrl: Required. A URL, in the format - // "https://meet.google.com/*" (e.g. - // https://meet.google.com/cxv-zbgj-wzw), to identify and access the - // meeting space. - MeetingUrl string `json:"meetingUrl,omitempty"` - - // ForceSendFields is a list of field names (e.g. "MeetingCode") to + GapBefore *EnterpriseTopazSidekickGap `json:"gapBefore,omitempty"` + + Meeting *EnterpriseTopazSidekickAgendaEntry `json:"meeting,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConflictedGroup") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2860,34 +2179,42 @@ type AppsDynamiteSharedMeetMetadata struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MeetingCode") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "ConflictedGroup") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedMeetMetadata) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedMeetMetadata +func (s *EnterpriseTopazSidekickAgendaItem) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickAgendaItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedMessageComponentSearchInfo: Metadata used to -// describe search information in a specific component of a chat -// message, for example an annotation or an attachment. -type AppsDynamiteSharedMessageComponentSearchInfo struct { - // MatchedSearch: Whether the whole component matched the search. - MatchedSearch bool `json:"matchedSearch,omitempty"` +// EnterpriseTopazSidekickAnswerAnswerList: A list of answers +// represented as free text. +type EnterpriseTopazSidekickAnswerAnswerList struct { + // LabeledAnswer: Answers that have a corresponding label. + LabeledAnswer []*EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer `json:"labeledAnswer,omitempty"` - // TitleTextWithDescription: Backend should always set - // TextWithDescription.text_body based on the title (or its snippet) of - // the annotation or attachment. - TitleTextWithDescription *AppsDynamiteSharedTextWithDescription `json:"titleTextWithDescription,omitempty"` + // Type: Answer type. + // + // Possible values: + // "UNKNOWN" + // "PERSON_ADDRESS" + // "PERSON_BIRTHDAY" + // "PERSON_DEPARTMENT" + // "PERSON_DESK_LOCATION" + // "PERSON_EMAIL" + // "PERSON_JOB_TITLE" + // "PERSON_PHONE" + Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "MatchedSearch") to + // ForceSendFields is a list of field names (e.g. "LabeledAnswer") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2895,7 +2222,7 @@ type AppsDynamiteSharedMessageComponentSearchInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MatchedSearch") to include + // NullFields is a list of field names (e.g. "LabeledAnswer") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -2904,35 +2231,23 @@ type AppsDynamiteSharedMessageComponentSearchInfo struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedMessageComponentSearchInfo) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedMessageComponentSearchInfo +func (s *EnterpriseTopazSidekickAnswerAnswerList) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickAnswerAnswerList raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedMessageInfo: Information that references a Dynamite -// chat message. This is only used for Activity Feed messages. -type AppsDynamiteSharedMessageInfo struct { - // MessageId: Id of the source chat message. This is kept here because - // the top-level message ID to refers the AF message ID. - MessageId *MessageId `json:"messageId,omitempty"` +// EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer: An answer with +// a corresponding label. +type EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer struct { + // Answer: The free text answer. + Answer string `json:"answer,omitempty"` - // MessageType: The type of the source chat message. - // - // Possible values: - // "MESSAGE_TYPE_UNSPECIFIED" - Default value where type is not - // specified. - // "INLINE_REPLY" - The source chat message is a threaded reply to - // another message. - MessageType string `json:"messageType,omitempty"` - - // TopicReadTimeUsec: Timestamp of when the topic containing the message - // has been read by the user. This is populated if the message - // references an inline reply, in which case the space may be marked as - // read but the topic still has unread messages. - TopicReadTimeUsec int64 `json:"topicReadTimeUsec,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "MessageId") to + // Label: A localized label for the answer (e.g. "Cell phone" vs "Desk + // phone"). + Label string `json:"label,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Answer") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2940,8 +2255,8 @@ type AppsDynamiteSharedMessageInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MessageId") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Answer") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -2949,30 +2264,66 @@ type AppsDynamiteSharedMessageInfo struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedMessageInfo) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedMessageInfo +func (s *EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedMessageIntegrationPayload: The payload(restricted -// to 1P applications) to be stored with a specific message. -type AppsDynamiteSharedMessageIntegrationPayload struct { - // ProjectNumber: Pantheon project number used to identify the calling - // app. - ProjectNumber int64 `json:"projectNumber,omitempty,string"` +// EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard: Contains a +// list of suggested queries. Allows the user to determine what natural +// language queries they can ask Cloud Search (e.g. "what can I search +// for?"). +type EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard struct { + // SuggestedQueryCategory: A list of queries to suggest. + SuggestedQueryCategory []*EnterpriseTopazSidekickAnswerSuggestedQueryCategory `json:"suggestedQueryCategory,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "SuggestedQueryCategory") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "SuggestedQueryCategory") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} - TasksMessageIntegrationPayload *AppsDynamiteSharedTasksMessageIntegrationPayload `json:"tasksMessageIntegrationPayload,omitempty"` +func (s *EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Type: An enum indicating which 1P application's payload this is. This - // field is required to add 1P payload. +// EnterpriseTopazSidekickAnswerSuggestedQueryCategory: Contains a list +// of suggested queries for a single category. +type EnterpriseTopazSidekickAnswerSuggestedQueryCategory struct { + // Category: The query list category. // // Possible values: - // "PAYLOAD_TYPE_UNSPECIFIED" - // "TASKS" - Type string `json:"type,omitempty"` + // "UNKNOWN" - Unknown. + // "CALENDAR" - Calendar based queries (e.g. "my agenda for + // tomorrow"). + // "DOCUMENT" - Document based queries (e.g. "files shared with me"). + // "PEOPLE" - People based queries (e.g. "what is x's email + // address?"). + Category string `json:"category,omitempty"` + + // IsEnabled: Whether this category is enabled. + IsEnabled bool `json:"isEnabled,omitempty"` - // ForceSendFields is a list of field names (e.g. "ProjectNumber") to + // Query: List of suggested queries to show the user. + Query []string `json:"query,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Category") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2980,67 +2331,238 @@ type AppsDynamiteSharedMessageIntegrationPayload struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ProjectNumber") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Category") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedMessageIntegrationPayload) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedMessageIntegrationPayload +func (s *EnterpriseTopazSidekickAnswerSuggestedQueryCategory) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickAnswerSuggestedQueryCategory raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedMessageSearchInfo: Metadata used to describe how to -// render a message in search results page, e.g., highlighting and -// snipetting. In future, we can use this proto to return more search -// specific data attached to a message. -type AppsDynamiteSharedMessageSearchInfo struct { - // MatchedSegmentsInTextBody: Current usage: - - // DescriptionType=KEYWORD_MATCH is populated in this field to return - // metadata for keyword matches, which clients can use to highlight - // matched segments in a message's text_body. - DescriptionType=SNIPPET - // can be used to return metadata describing how a message's text_body - // can be broken up to provide a snippet. - MatchedSegmentsInTextBody []*AppsDynamiteSharedTextSegmentsWithDescription `json:"matchedSegmentsInTextBody,omitempty"` +// EnterpriseTopazSidekickAssistCardProto: Wrapper proto for the Assist +// cards. +type EnterpriseTopazSidekickAssistCardProto struct { + // AgendaGroupCardProto: Agenda group card. + AgendaGroupCardProto *EnterpriseTopazSidekickAgendaGroupCardProto `json:"agendaGroupCardProto,omitempty"` + + // CardMetadata: Card metadata such as chronology and render mode of the + // card. + CardMetadata *EnterpriseTopazSidekickCardMetadata `json:"cardMetadata,omitempty"` + + // CardType: Card type. + // + // Possible values: + // "UNKNOWN_TYPE" - The default type, an unknown card type. + // "AGENDA" - The user's agenda for the day. + // "CHANGELISTS" - Changelists. + // "CONFLICTING_MEETINGS" - Any group of meetings for the day that are + // overlapping. + // "CREATE_NOTES_FOR_MEETING" - Create notes for a meeting specified + // in the request. + // "CREATE_NOTES_FOR_MEETING_REQUEST" - Create notes for meeting + // query. + // "CUSTOMER_NEWS" - News about your SFDC customers. + // "FIND_MEETING_TIME" - Find a time for two people to meet. + // "NEXT_MEETING" - The user's next non-declined meeting. + // "PERSONALIZED_DOCS" - Important documents for you since you have + // viewed them in the last month and there's some action going on. + // "TRENDING_DOCS" - Documents that are trending in your company. A + // TRENDING_DOCS card can be of two types: TRENDING_IN_COLLABORATORS + // (i.e., Stay in the Loop) and TRENDING_IN_DOMAIN (i.e., Popular + // Content). Use DOMAIN_TRENDING_DOCS/TEAM_TRENDING_DOCS instead. + // "UPCOMING_TRIP" - An upcoming trip with all trip information along + // with calendar events in the destination timezone. + // "SUMMARY" - The Morning/Evening Summary Card for the next working + // day. + // "MEETINGS" - A meeting. When requesting meetings, the service will + // return a MEETING card for each meeting the user has in his agenda. + // "HOMEPAGE" - All cards related to the homepage (agenda, + // conflicting-meetings, summary, etc...). This type should no longer be + // used. Use HOMEPAGE_V3 instead. + // "SHARE_MEETING_DOCS" - A card to with specifics to share meeting + // documents with all attendees. + // "DISCOVER_PEOPLE" - Represents a set of users that the requesting + // user has low affinity with. + // "HOMEPAGE_V3" - All cards related to the homepage-v3 (agenda-group, + // WIP, etc...) + // "AGENDA_GROUP" - A group of agenda-events (meeting, conflicts) + // "WORK_IN_PROGRESS" - The documents that you were recently working + // on. + // "GET_AND_KEEP_AHEAD" - (v3) The "get and keep ahead" card for today + // and tomorrow + // "GENERIC_ANSWER_CARD" - Generic answer card. + // "THIRD_PARTY_ANSWER_CARD" - Third party answer card. + // "DOMAIN_TRENDING_DOCS" - Documents that are trending in your + // company/domain (i.e., Popular Content). + // "TEAM_TRENDING_DOCS" - Documents that are trending in your team + // (i.e., Stay in the Loop). + // "DOCUMENT_LIST_ANSWER_CARD" - Documents that match the user's query + // (e.g. sheets shared with me). + // "SUGGESTED_QUERY_ANSWER_CARD" - A help card that provides examples + // of queries the user can ask. + // "PERSON_ANSWER_CARD" - Answer card for a single person (e.g. what + // is x's phone number). + // "RELATED_PEOPLE_ANSWER_CARD" - Answer card for a list of people + // related to the person that is the subject of the query (e.g. who + // reports to x). + // "PERSON_KNOWLEDGE_CARD" - Knowledge card for a single person and + // their related people. + // "PEOPLE_SEARCH_PROMOTION_CARD" - People Search promotion card. + CardType string `json:"cardType,omitempty"` + + // ConflictingMeetingsCard: Conflicting events card. + ConflictingMeetingsCard *EnterpriseTopazSidekickConflictingEventsCardProto `json:"conflictingMeetingsCard,omitempty"` + + // DocumentListCard: Answer card for documents that are applicable to + // the current query. + DocumentListCard *EnterpriseTopazSidekickDocumentPerCategoryList `json:"documentListCard,omitempty"` + + // DocumentsWithMentions: Documents with mentions. + DocumentsWithMentions *EnterpriseTopazSidekickDocumentPerCategoryList `json:"documentsWithMentions,omitempty"` + + // FindMeetingTimeCard: Find meeting time card. + FindMeetingTimeCard *EnterpriseTopazSidekickFindMeetingTimeCardProto `json:"findMeetingTimeCard,omitempty"` + + // GenericAnswerCard: Generic answer card. + GenericAnswerCard *EnterpriseTopazSidekickGenericAnswerCard `json:"genericAnswerCard,omitempty"` + + // GetAndKeepAheadCard: Get and keep ahead card. + GetAndKeepAheadCard *EnterpriseTopazSidekickGetAndKeepAheadCardProto `json:"getAndKeepAheadCard,omitempty"` + + // Meeting: Meeting card. + Meeting *EnterpriseTopazSidekickAgendaEntry `json:"meeting,omitempty"` + + // MeetingNotesCard: Meeting notes card. + MeetingNotesCard *EnterpriseTopazSidekickMeetingNotesCardProto `json:"meetingNotesCard,omitempty"` + + // MeetingNotesCardRequest: Request for meeting notes card. + MeetingNotesCardRequest *EnterpriseTopazSidekickMeetingNotesCardRequest `json:"meetingNotesCardRequest,omitempty"` + + // PeopleDisambiguationCard: The people disambiguation card. + PeopleDisambiguationCard *EnterpriseTopazSidekickPeopleDisambiguationCard `json:"peopleDisambiguationCard,omitempty"` + + // PeoplePromotionCard: People Search promotion card. + PeoplePromotionCard *PeoplePromotionCard `json:"peoplePromotionCard,omitempty"` + + // PersonAnswerCard: Answer card that represents a single person. + PersonAnswerCard *EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard `json:"personAnswerCard,omitempty"` + + // PersonProfileCard: Full profile card. + PersonProfileCard *EnterpriseTopazSidekickPersonProfileCard `json:"personProfileCard,omitempty"` + + // PersonalizedDocsCard: Card with recommended documents for the user. + PersonalizedDocsCard *EnterpriseTopazSidekickPersonalizedDocsCardProto `json:"personalizedDocsCard,omitempty"` + + // RelatedPeopleAnswerCard: Answer card that represents a list of people + // related to a person. + RelatedPeopleAnswerCard *EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard `json:"relatedPeopleAnswerCard,omitempty"` + + // ShareMeetingDocsCard: Sahre meeting docs card. + ShareMeetingDocsCard *EnterpriseTopazSidekickShareMeetingDocsCardProto `json:"shareMeetingDocsCard,omitempty"` + + // SharedDocuments: Shared documents. + SharedDocuments *EnterpriseTopazSidekickDocumentPerCategoryList `json:"sharedDocuments,omitempty"` + + // SuggestedQueryAnswerCard: Answer card for what natural language + // queries the user can ask. + SuggestedQueryAnswerCard *EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard `json:"suggestedQueryAnswerCard,omitempty"` + + // ThirdPartyAnswerCard: Third party answer cards. + ThirdPartyAnswerCard *ThirdPartyGenericCard `json:"thirdPartyAnswerCard,omitempty"` + + // WorkInProgressCardProto: Work In Progress card. + WorkInProgressCardProto *EnterpriseTopazSidekickRecentDocumentsCardProto `json:"workInProgressCardProto,omitempty"` // ForceSendFields is a list of field names (e.g. - // "MatchedSegmentsInTextBody") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. + // "AgendaGroupCardProto") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "MatchedSegmentsInTextBody") to include in API requests with the JSON - // null value. By default, fields with empty values are omitted from API - // requests. However, any field with an empty value appearing in - // NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. + // NullFields is a list of field names (e.g. "AgendaGroupCardProto") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedMessageSearchInfo) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedMessageSearchInfo +func (s *EnterpriseTopazSidekickAssistCardProto) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickAssistCardProto raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedOrganizationInfo: Contains info about the entity -// that something is, or is owned by. -type AppsDynamiteSharedOrganizationInfo struct { - ConsumerInfo *AppsDynamiteSharedOrganizationInfoConsumerInfo `json:"consumerInfo,omitempty"` +// EnterpriseTopazSidekickCardMetadata: Card metadata. +type EnterpriseTopazSidekickCardMetadata struct { + // CardCategory: Declares a preference for how this card should be + // packed in MSCR. All cards in a response must correspond to a single + // category. As a result, cards may be dropped from the response if this + // field is set. Any card that does not match the category of the card + // with the highest priority in the response will be dropped. + // + // Possible values: + // "DEFAULT" - Let MSCR decide how this card should be packed. Most + // cards should choose this type. This type should largely be considered + // equivalent to ANSWER. However, this is not guaranteed to be the case + // as the request to MSCR may override the static configuration. + // "ANSWER" - This card should be rendered as an answer card. + // "KNOWLEDGE" - This card should be rendered as a knowledge card (a + // non-organic result). + // "HOMEPAGE" - This card should be rendered in the Homepage. + CardCategory string `json:"cardCategory,omitempty"` + + // CardId: An ID to identify the card and match actions to it. Be + // thoughtful of new card IDs since actions will be associated to that + // ID. E.g., if two card IDs collide, the system will think that the + // actions have been applied to the same card. Similarly, if EAS can + // return multiple cards of the same type (e.g., Meetings), ensure that + // the card_id identifies a given instance of the card so that, e.g., + // dismissals only affect the dismissed card as opposed to affecting all + // meeting cards. + CardId string `json:"cardId,omitempty"` + + // Chronology: Chronology. + // + // Possible values: + // "UNKNOWN" - Unknown chronology (default). + // "PAST" - Past. + // "RECENTLY_PAST" - Recently past. + // "PRESENT" - Present. + // "NEAR_FUTURE" - Near future. + // "FUTURE" - Future. + Chronology string `json:"chronology,omitempty"` + + // DebugInfo: Debug info (only reported if request's debug_level > 0). + DebugInfo string `json:"debugInfo,omitempty"` + + // NlpMetadata: Information about the NLP done to get the card. + NlpMetadata *EnterpriseTopazSidekickNlpMetadata `json:"nlpMetadata,omitempty"` - CustomerInfo *AppsDynamiteSharedOrganizationInfoCustomerInfo `json:"customerInfo,omitempty"` + // RankingParams: Ranking params. + RankingParams *EnterpriseTopazSidekickRankingParams `json:"rankingParams,omitempty"` - // ForceSendFields is a list of field names (e.g. "ConsumerInfo") to + // RenderMode: Render mode. + // + // Possible values: + // "UNKNOWN_RENDER" - Unknown mode (default). + // "COLLAPSED" - Collapsed. + // "EXPANDED" - Expanded. + RenderMode string `json:"renderMode,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CardCategory") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3048,7 +2570,7 @@ type AppsDynamiteSharedOrganizationInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ConsumerInfo") to include + // NullFields is a list of field names (e.g. "CardCategory") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -3057,21 +2579,19 @@ type AppsDynamiteSharedOrganizationInfo struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedOrganizationInfo) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedOrganizationInfo +func (s *EnterpriseTopazSidekickCardMetadata) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickCardMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedOrganizationInfoConsumerInfo: Intentionally empty. -// Used to disambiguate consumer and customer use cases in oneof below. -type AppsDynamiteSharedOrganizationInfoConsumerInfo struct { -} - -type AppsDynamiteSharedOrganizationInfoCustomerInfo struct { - CustomerId *CustomerId `json:"customerId,omitempty"` +// EnterpriseTopazSidekickCommonDebugInfo: Container of debugging +// information in all object levels. Extend as needed. +type EnterpriseTopazSidekickCommonDebugInfo struct { + // Message: Debug message. + Message string `json:"message,omitempty"` - // ForceSendFields is a list of field names (e.g. "CustomerId") to + // ForceSendFields is a list of field names (e.g. "Message") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3079,7 +2599,7 @@ type AppsDynamiteSharedOrganizationInfoCustomerInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CustomerId") to include in + // NullFields is a list of field names (e.g. "Message") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -3088,50 +2608,129 @@ type AppsDynamiteSharedOrganizationInfoCustomerInfo struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedOrganizationInfoCustomerInfo) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedOrganizationInfoCustomerInfo +func (s *EnterpriseTopazSidekickCommonDebugInfo) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickCommonDebugInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedOriginAppSuggestion: Stores the suggestion provided -// by apps/bots. -type AppsDynamiteSharedOriginAppSuggestion struct { - AppId *AppId `json:"appId,omitempty"` - - CardClickSuggestion *AppsDynamiteSharedCardClickSuggestion `json:"cardClickSuggestion,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AppId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` +// EnterpriseTopazSidekickCommonDocument: Representation of a document. +// NEXT_TAG: 15 +type EnterpriseTopazSidekickCommonDocument struct { + // AccessType: Access type, i.e., whether the user has access to the + // document or not. + // + // Possible values: + // "UNKNOWN_ACCESS" - Unknown access type. + // "ALLOWED" - Access allowed. + // "NOT_ALLOWED" - Access not allowed. + AccessType string `json:"accessType,omitempty"` - // NullFields is a list of field names (e.g. "AppId") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // DebugInfo: Information for debugging. + DebugInfo *EnterpriseTopazSidekickCommonDebugInfo `json:"debugInfo,omitempty"` -func (s *AppsDynamiteSharedOriginAppSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedOriginAppSuggestion - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // DocumentId: Document id. + DocumentId string `json:"documentId,omitempty"` + + // DriveDocumentMetadata: Drive document metadata. + DriveDocumentMetadata *EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata `json:"driveDocumentMetadata,omitempty"` + + // GenericUrl: Generic Drive-based url in the format of + // drive.google.com/open to be used for deeplink + GenericUrl string `json:"genericUrl,omitempty"` + + // Justification: Justification on why the document is selected. + Justification *EnterpriseTopazSidekickCommonDocumentJustification `json:"justification,omitempty"` + + // MimeType: MIME type + MimeType string `json:"mimeType,omitempty"` + + // Provenance: Document provenance. + // + // Possible values: + // "UNKNOWN_PROVENANCE" - Unknown provenance. + // "CALENDAR_DESCRIPTION" - Calendar event description. + // "CALENDAR_ATTACHMENT" - Calendar event attachment. + // "MINED" - Mined (extracted by some offline/online analysis). + // "CALENDAR_ASSIST_ATTACHMENT" - Attachment created by enterprise + // assist. + Provenance string `json:"provenance,omitempty"` + + // Reason: Justification of why this document is being returned. + // + // Possible values: + // "UNKNOWN" - Unknown justification. + // "TRENDING_IN_COLLABORATORS" - Popular documents within + // collaborators. + // "TRENDING_IN_DOMAIN" - Popular documents within the domain. + // "FREQUENTLY_VIEWED" - Documents being reviewed frequently by the + // current user . + // "FREQUENTLY_EDITED" - Documents being edited frequently by the + // current user . + // "NEW_UPDATES" - Documents updated since user's last visit. + // "NEW_COMMENTS" - Documents that receive comments since user's last + // visit. + // "EVENT_DESCRIPTION" - Documents in the calendar event description. + // "EVENT_ATTACHMENT" - Documents in the calendar event attachments + // section. + // "EVENT_METADATA_ATTACHMENT" - Documents attached in calendar event + // metadata instead of the attachment section. Event metadata is not + // visible to the final user. Enterprise assist uses this metadata to + // store auto-generated documents such as meeting notes. + // "MINED_DOCUMENT" - Documents mined, and so, probably related to the + // request context. For example, this category includes documents + // related to a meeting. + // "NEW_MENTIONS" - Documents that contains mentions of the user. + // "NEW_SHARES" - Documents that are shared with the user. + Reason string `json:"reason,omitempty"` + + // Snippet: A sampling of the text from the document. + Snippet string `json:"snippet,omitempty"` + + // ThumbnailUrl: Thumbnail URL. + ThumbnailUrl string `json:"thumbnailUrl,omitempty"` + + // Title: Title of the document. + Title string `json:"title,omitempty"` -type AppsDynamiteSharedPhoneNumber struct { - // Type: The phone number type, e.g., work, mobile, etc. + // Type: Type of the document. + // + // Possible values: + // "UNKNOWN" - If the type is unknown or not represented in this enum. + // "DOCUMENT" - Drive document types Writely, Word, etc. + // "PRESENTATION" - Presently, PowerPoint, etc. + // "SPREADSHEET" - Trix, Excel, etc. + // "PDF" - File types for Gdrive objects are below. PDF. + // "IMAGE" - Image. + // "BINARY_BLOB" - Fall-back for unknown Gdrive types. + // "FUSION_TABLE" - Fusion table. + // "FOLDER" - Folder. + // "DRAWING" - Drawing. + // "VIDEO" - Video. + // "FORM" - Form. + // "LINK_URL" - Link formats uncategorized URL links + // "LINK_GO" - meaningful links that should be renderred specifically + // "LINK_GOO_GL" - Link to goo.gl. + // "LINK_BIT_LY" - Link to bit_ly. + // "LINK_GMAIL" - Link to Gmail. + // "LINK_MAILTO" - Mailto link. + // "VIDEO_YOUTUBE" - Videos Youtube videos. + // "VIDEO_LIVE" - Live streams (e.g., liveplayer.googleplex.com) + // "GROUPS" - Other types. Google Groups. + // "NEWS" - Google News. + // "SITES" - Google Sites. + // "HANGOUT" - Google Hangout. + // "AUDIO" - Audio files. + // "MS_WORD" - Microsoft-specific file types. + // "MS_POWERPOINT" + // "MS_EXCEL" + // "MS_OUTLOOK" Type string `json:"type,omitempty"` - // Value: The actual phone number. - Value string `json:"value,omitempty"` + // Url: Absolute URL of the document. + Url string `json:"url,omitempty"` - // ForceSendFields is a list of field names (e.g. "Type") to + // ForceSendFields is a list of field names (e.g. "AccessType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3139,8 +2738,8 @@ type AppsDynamiteSharedPhoneNumber struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Type") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "AccessType") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -3148,27 +2747,62 @@ type AppsDynamiteSharedPhoneNumber struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedPhoneNumber) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedPhoneNumber +func (s *EnterpriseTopazSidekickCommonDocument) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickCommonDocument raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteSharedReaction struct { - // Count: The total number of users who have reacted. - Count int64 `json:"count,omitempty"` +// EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata: Meta data +// for drive documents. +type EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata struct { + // DocumentId: The drive document cosmo id. Client could use the id to + // build a URL to open a document. Please use Document.document_id. + DocumentId string `json:"documentId,omitempty"` - // CreateTimestamp: When the first emoji of this type was added. - CreateTimestamp int64 `json:"createTimestamp,omitempty,string"` + // IsPrivate: Additional field to identify whether a document is private + // since scope set to LIMITED can mean both that the doc is private or + // that it's shared with others. is_private indicates whether the doc is + // not shared with anyone except for the owner. + IsPrivate bool `json:"isPrivate,omitempty"` - // CurrentUserParticipated: Whether the current user reacted using this - // emoji. Note: Unlike most properties of messages, this is different - // per-user. - CurrentUserParticipated bool `json:"currentUserParticipated,omitempty"` + // LastCommentTimeMs: Timestamp of the most recent comment added to the + // document in milliseconds since epoch. + LastCommentTimeMs uint64 `json:"lastCommentTimeMs,omitempty,string"` - Emoji *AppsDynamiteSharedEmoji `json:"emoji,omitempty"` + // LastEditTimeMs: Timestamp of the most recent edit from the current + // user in milliseconds since epoch. + LastEditTimeMs uint64 `json:"lastEditTimeMs,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "Count") to + // LastModificationTimeMillis: Last modification time of the document + // (independent of the user that modified it). + LastModificationTimeMillis int64 `json:"lastModificationTimeMillis,omitempty,string"` + + // LastUpdatedTimeMs: Timestamp of the last updated time of the document + // in milliseconds since epoch. + LastUpdatedTimeMs uint64 `json:"lastUpdatedTimeMs,omitempty,string"` + + // LastViewTimeMs: Timestamp of the most recent view from the current + // user in milliseconds since epoch. + LastViewTimeMs uint64 `json:"lastViewTimeMs,omitempty,string"` + + // Owner: The owner of the document. + Owner *EnterpriseTopazSidekickCommonPerson `json:"owner,omitempty"` + + // Scope: ACL scope of the document which identifies the sharing status + // of the doc (e.g., limited, shared with link, team drive, ...). + // + // Possible values: + // "UNKNOWN_DOCUMENT_SCOPE" + // "LIMITED" + // "DASHER_DOMAIN_WITH_LINK" + // "DASHER_DOMAIN" + // "PUBLIC_WITH_LINK" + // "PUBLIC" + // "TEAM_DRIVE" + Scope string `json:"scope,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DocumentId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3176,8 +2810,8 @@ type AppsDynamiteSharedReaction struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Count") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "DocumentId") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -3185,30 +2819,49 @@ type AppsDynamiteSharedReaction struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedReaction) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedReaction +func (s *EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedRetentionSettings: The settings of retention period -// of a message or topic. -type AppsDynamiteSharedRetentionSettings struct { - // ExpiryTimestamp: The timestamp after which the message/topic should - // be removed, in microseconds since the epoch, when state == - // EPHEMERAL_ONE_DAY. The value should not be set in other cases. - ExpiryTimestamp int64 `json:"expiryTimestamp,omitempty,string"` +// EnterpriseTopazSidekickCommonDocumentJustification: Justification of +// why we are reporting the document. +type EnterpriseTopazSidekickCommonDocumentJustification struct { + // Justification: A locale aware message that explains why this document + // was selected. + Justification string `json:"justification,omitempty"` - // State: The retention state. + // Reason: Reason on why the document is selected. Populate for trending + // documents. // // Possible values: - // "UNKNOWN_RETENTION_STATE" - // "PERMANENT" - The message/topic should be kept permanently. - // "EPHEMERAL_ONE_DAY" - The message/topic should be kept with a - // 24-hour TTL. - State string `json:"state,omitempty"` + // "UNKNOWN" - Unknown justification. + // "TRENDING_IN_COLLABORATORS" - Popular documents within + // collaborators. + // "TRENDING_IN_DOMAIN" - Popular documents within the domain. + // "FREQUENTLY_VIEWED" - Documents being reviewed frequently by the + // current user . + // "FREQUENTLY_EDITED" - Documents being edited frequently by the + // current user . + // "NEW_UPDATES" - Documents updated since user's last visit. + // "NEW_COMMENTS" - Documents that receive comments since user's last + // visit. + // "EVENT_DESCRIPTION" - Documents in the calendar event description. + // "EVENT_ATTACHMENT" - Documents in the calendar event attachments + // section. + // "EVENT_METADATA_ATTACHMENT" - Documents attached in calendar event + // metadata instead of the attachment section. Event metadata is not + // visible to the final user. Enterprise assist uses this metadata to + // store auto-generated documents such as meeting notes. + // "MINED_DOCUMENT" - Documents mined, and so, probably related to the + // request context. For example, this category includes documents + // related to a meeting. + // "NEW_MENTIONS" - Documents that contains mentions of the user. + // "NEW_SHARES" - Documents that are shared with the user. + Reason string `json:"reason,omitempty"` - // ForceSendFields is a list of field names (e.g. "ExpiryTimestamp") to + // ForceSendFields is a list of field names (e.g. "Justification") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3216,72 +2869,75 @@ type AppsDynamiteSharedRetentionSettings struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ExpiryTimestamp") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Justification") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedRetentionSettings) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedRetentionSettings +func (s *EnterpriseTopazSidekickCommonDocumentJustification) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickCommonDocumentJustification raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedSegmentedMembershipCount: Contains info on -// membership count for member types: HUMAN_USER, APP_USER & -// ROSTER_MEMBER different states: INVITED, JOINED -type AppsDynamiteSharedSegmentedMembershipCount struct { - // Possible values: - // "MEMBER_TYPE_UNSPECIFIED" - default value - // "HUMAN_USER" - member is a human user - // "ROSTER_MEMBER" - member is a roster - MemberType string `json:"memberType,omitempty"` +// EnterpriseTopazSidekickCommonPerson: Common representation of a +// person. +type EnterpriseTopazSidekickCommonPerson struct { + // Birthday: The birthday. + Birthday *EnterpriseTopazSidekickCommonPersonBirthday `json:"birthday,omitempty"` - // MembershipCount: count of members with given type and state - MembershipCount int64 `json:"membershipCount,omitempty"` + // CellPhone: Cell phone number. + CellPhone string `json:"cellPhone,omitempty"` - // Possible values: - // "MEMBER_UNKNOWN" - Default state, do not use - // "MEMBER_INVITED" - An invitation to the space has been sent - // "MEMBER_JOINED" - User has joined the space - // "MEMBER_NOT_A_MEMBER" - User is not a member - // "MEMBER_FAILED" - This state should never be stored in Spanner. It - // is a state for responses to the clients to indicate that membership - // mutations have failed and the member is in its previous state. - MembershipState string `json:"membershipState,omitempty"` - - // ForceSendFields is a list of field names (e.g. "MemberType") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // Department: The department the person works in (e.g. Engineering). + Department string `json:"department,omitempty"` - // NullFields is a list of field names (e.g. "MemberType") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // DeskLocation: Desk location (e.g. US-MTV-PR55-5-5B1I). + DeskLocation string `json:"deskLocation,omitempty"` -func (s *AppsDynamiteSharedSegmentedMembershipCount) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedSegmentedMembershipCount - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // DeskPhone: Work desk phone number. + DeskPhone string `json:"deskPhone,omitempty"` -type AppsDynamiteSharedSegmentedMembershipCounts struct { - Value []*AppsDynamiteSharedSegmentedMembershipCount `json:"value,omitempty"` + // DisplayName: The full name. + DisplayName string `json:"displayName,omitempty"` - // ForceSendFields is a list of field names (e.g. "Value") to + // Email: Email. + Email string `json:"email,omitempty"` + + // FamilyName: The last name. + FamilyName string `json:"familyName,omitempty"` + + // FullAddress: The fully formatted address (e.g. 1255 Pear Avenue, + // Mountain View 94043, United States). + FullAddress string `json:"fullAddress,omitempty"` + + // GaiaId: This field is deprecated. The obfuscated_id should be used + // instead. + GaiaId int64 `json:"gaiaId,omitempty,string"` + + // GivenName: The first name. + GivenName string `json:"givenName,omitempty"` + + // JobTitle: The person's job title (e.g. Software Engineer). + JobTitle string `json:"jobTitle,omitempty"` + + // Manager: The manager. + Manager *EnterpriseTopazSidekickCommonPerson `json:"manager,omitempty"` + + // ObfuscatedId: The obfuscated GAIA ID. + ObfuscatedId string `json:"obfuscatedId,omitempty"` + + // PhotoUrl: The URL for the Focus profile picture. + PhotoUrl string `json:"photoUrl,omitempty"` + + // StreetAddress: The street address (e.g. 1255 Pear Avenue). + StreetAddress string `json:"streetAddress,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Birthday") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3289,8 +2945,8 @@ type AppsDynamiteSharedSegmentedMembershipCounts struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Value") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Birthday") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -3298,55 +2954,17 @@ type AppsDynamiteSharedSegmentedMembershipCounts struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedSegmentedMembershipCounts) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedSegmentedMembershipCounts +func (s *EnterpriseTopazSidekickCommonPerson) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickCommonPerson raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedSpaceInfo: Defines the representation of a single -// matching space. -type AppsDynamiteSharedSpaceInfo struct { - AvatarInfo *AppsDynamiteSharedAvatarInfo `json:"avatarInfo,omitempty"` - - AvatarUrl string `json:"avatarUrl,omitempty"` - - Description string `json:"description,omitempty"` - - GroupId *GroupId `json:"groupId,omitempty"` - - // InviterEmail: The email address of the user that invited the calling - // user to the room, if available. This field will only be populated for - // direct invites, it will be empty if the user was indirectly invited - // to the group. - InviterEmail string `json:"inviterEmail,omitempty"` - - // IsExternal: Whether this is a space that enables guest access - IsExternal bool `json:"isExternal,omitempty"` - - Name string `json:"name,omitempty"` - - // NumMembers: Deprecated. Use segmented_membership_counts instead which - // also includes other counts such as rosters. - NumMembers int64 `json:"numMembers,omitempty"` - - // SegmentedMembershipCounts: Member counts object with types of members - // and their respective counts. - SegmentedMembershipCounts *AppsDynamiteSharedSegmentedMembershipCounts `json:"segmentedMembershipCounts,omitempty"` +type EnterpriseTopazSidekickCommonPersonBirthday struct { + // Value: Unstructured birthday. + Value string `json:"value,omitempty"` - // UserMembershipState: searching user's membership state in this space - // - // Possible values: - // "MEMBER_UNKNOWN" - Default state, do not use - // "MEMBER_INVITED" - An invitation to the space has been sent - // "MEMBER_JOINED" - User has joined the space - // "MEMBER_NOT_A_MEMBER" - User is not a member - // "MEMBER_FAILED" - This state should never be stored in Spanner. It - // is a state for responses to the clients to indicate that membership - // mutations have failed and the member is in its previous state. - UserMembershipState string `json:"userMembershipState,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AvatarInfo") to + // ForceSendFields is a list of field names (e.g. "Value") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3354,8 +2972,8 @@ type AppsDynamiteSharedSpaceInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AvatarInfo") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Value") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -3363,33 +2981,22 @@ type AppsDynamiteSharedSpaceInfo struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedSpaceInfo) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedSpaceInfo +func (s *EnterpriseTopazSidekickCommonPersonBirthday) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickCommonPersonBirthday raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedTasksAnnotationData: This is the internal version -// of the API proto at -// google3/google/chat/v1/gsuite_message_integration.proto -type AppsDynamiteSharedTasksAnnotationData struct { - AssigneeChange *AppsDynamiteSharedTasksAnnotationDataAssigneeChange `json:"assigneeChange,omitempty"` - - CompletionChange *AppsDynamiteSharedTasksAnnotationDataCompletionChange `json:"completionChange,omitempty"` - - Creation *AppsDynamiteSharedTasksAnnotationDataCreation `json:"creation,omitempty"` - - DeletionChange *AppsDynamiteSharedTasksAnnotationDataDeletionChange `json:"deletionChange,omitempty"` - - // TaskId: ID of task. Will be used to create deep links to Tasks. - TaskId string `json:"taskId,omitempty"` - - // TaskProperties: Task properties after the update has been applied. - TaskProperties *AppsDynamiteSharedTasksAnnotationDataTaskProperties `json:"taskProperties,omitempty"` +// EnterpriseTopazSidekickConflictingEventsCardProto: Conflicting +// meetings card proto. +type EnterpriseTopazSidekickConflictingEventsCardProto struct { + // ConflictingEvent: All the events that conflict with main_event. + ConflictingEvent []*EnterpriseTopazSidekickAgendaEntry `json:"conflictingEvent,omitempty"` - UserDefinedMessage *AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage `json:"userDefinedMessage,omitempty"` + // MainEvent: The event identified as being the most important. + MainEvent *EnterpriseTopazSidekickAgendaEntry `json:"mainEvent,omitempty"` - // ForceSendFields is a list of field names (e.g. "AssigneeChange") to + // ForceSendFields is a list of field names (e.g. "ConflictingEvent") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3397,7 +3004,7 @@ type AppsDynamiteSharedTasksAnnotationData struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AssigneeChange") to + // NullFields is a list of field names (e.g. "ConflictingEvent") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -3407,18 +3014,27 @@ type AppsDynamiteSharedTasksAnnotationData struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedTasksAnnotationData) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedTasksAnnotationData +func (s *EnterpriseTopazSidekickConflictingEventsCardProto) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickConflictingEventsCardProto raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteSharedTasksAnnotationDataAssigneeChange struct { - // OldAssignee: Obfuscated user ID of previous assignee. Not set if the - // task was originally not assigned. - OldAssignee *UserId `json:"oldAssignee,omitempty"` +// EnterpriseTopazSidekickDocumentGroup: Represents a mapping between a +// document type and its corresponding documents. Use for Work in +// Progress card in v1 homepage. +type EnterpriseTopazSidekickDocumentGroup struct { + // GroupType: Document group type + // + // Possible values: + // "UNKNOWN_TYPE" - Unknown type. + // "ALL" - A mix of all the document types. + GroupType string `json:"groupType,omitempty"` - // ForceSendFields is a list of field names (e.g. "OldAssignee") to + // PersonalizedDocument: The list of corresponding documents. + PersonalizedDocument []*EnterpriseTopazSidekickCommonDocument `json:"personalizedDocument,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GroupType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3426,60 +3042,55 @@ type AppsDynamiteSharedTasksAnnotationDataAssigneeChange struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OldAssignee") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "GroupType") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedTasksAnnotationDataAssigneeChange) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedTasksAnnotationDataAssigneeChange +func (s *EnterpriseTopazSidekickDocumentGroup) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickDocumentGroup raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteSharedTasksAnnotationDataCompletionChange struct { -} - -type AppsDynamiteSharedTasksAnnotationDataCreation struct { -} - -type AppsDynamiteSharedTasksAnnotationDataDeletionChange struct { -} - -// AppsDynamiteSharedTasksAnnotationDataTaskProperties: All relevant -// task properties for a Chat message. -type AppsDynamiteSharedTasksAnnotationDataTaskProperties struct { - // Assignee: Obfuscated user ID of new assignee. Not set if the task - // doesn't have an assignee. - Assignee *UserId `json:"assignee,omitempty"` - - // Completed: Whether the task is marked as completed. - Completed bool `json:"completed,omitempty"` +type EnterpriseTopazSidekickDocumentPerCategoryList struct { + Documents []*EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry `json:"documents,omitempty"` - // Deleted: Whether the task is marked as deleted. - Deleted bool `json:"deleted,omitempty"` + // HelpMessage: Localized message explaining how the documents were + // derived (e.g. from the last 30 days activity). This field is + // optional. + HelpMessage string `json:"helpMessage,omitempty"` - // Description: The description of the task. If Task original - // description's length is greater than 1024, then Task BE sends the - // truncated description to Dynamite Integration Server. - Description string `json:"description,omitempty"` - - // StartDate: Set if the task has a date but no time. Source of truth in - // Tasks BE: http://shortn/_wyT7eB4Ixv - StartDate *Date `json:"startDate,omitempty"` + // Possible values: + // "UNKNOWN_LIST_TYPE" + // "MENTIONS" - All documents in the list correspond to one of the + // mention categories. + // "SHARES" - All documents in the list correspond to one of the share + // categories. + // "NEEDS_ATTENTION" - A mixture of document categories that + // correspond to documents that need the users attention (e.g. documents + // that have been explicitly shared with the user but have not been + // viewed and documents where the user was mentioned but has not + // replied). + // "VIEWS" - All documents in the list correspond to one of the view + // categories. + // "EDITS" - All documents in the list correspond to one of the edit + // categories. + ListType string `json:"listType,omitempty"` - // StartTime: Set if the task has both a date and a time. Source of - // truth in Tasks BE: http://shortn/_u6cr0F5ttE - StartTime string `json:"startTime,omitempty"` + // ListTypeDescription: Description of the types of documents present in + // the list. + ListTypeDescription string `json:"listTypeDescription,omitempty"` - // Title: The title of the task. - Title string `json:"title,omitempty"` + // ResponseMessage: Response message in case no documents are present in + // the card. + ResponseMessage string `json:"responseMessage,omitempty"` - // ForceSendFields is a list of field names (e.g. "Assignee") to + // ForceSendFields is a list of field names (e.g. "Documents") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3487,7 +3098,7 @@ type AppsDynamiteSharedTasksAnnotationDataTaskProperties struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Assignee") to include in + // NullFields is a list of field names (e.g. "Documents") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -3496,38 +3107,34 @@ type AppsDynamiteSharedTasksAnnotationDataTaskProperties struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedTasksAnnotationDataTaskProperties) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedTasksAnnotationDataTaskProperties +func (s *EnterpriseTopazSidekickDocumentPerCategoryList) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickDocumentPerCategoryList raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage: Used for -// task card attachments on custom user messages that should be kept as -// is without generating an i18n event message, e.g. the user starts a -// conversation from an existing task. IMPORTANT: please don't populate -// this field yet as it could break existing flows until it's -// implemented. See code at http://shortn/_CM74CdENMx used by -// http://shortn/_5o85POJY8Q. -type AppsDynamiteSharedTasksAnnotationDataUserDefinedMessage struct { -} - -// AppsDynamiteSharedTasksMessageIntegrationPayload: A payload -// containing Tasks metadata for rendering a live card. Currently not -// used by the Tasks integration. -type AppsDynamiteSharedTasksMessageIntegrationPayload struct { -} +type EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry struct { + // Possible values: + // "UNKNOWN_DOCUMENT" + // "ACTIONABLE" + // "VIEWED" + // "REPLIED" + // "MENTION_VIEWED" - Mention categories. The mention has been viewed + // by the user, but the user has not replied. + // "MENTION_REPLIED" - The user has replied to the mention. + // "MENTION_NOT_VIEWED" - The mention has not been viewed by the user. + // "SHARED_AND_VIEWED" - Share categories. Consists of documents that + // have been explicitly shared with the user. Document has been viewed. + // "SHARED_NOT_VIEWED" - Document has not been viewed. + // "EDITED" - Document has been edited. + Category string `json:"category,omitempty"` -// AppsDynamiteSharedTextSegment: Defines a segment in a text. -type AppsDynamiteSharedTextSegment struct { - // Length: Length of the segment in the text. - Length int64 `json:"length,omitempty"` + Document *EnterpriseTopazSidekickCommonDocument `json:"document,omitempty"` - // StartIndex: Start index (0-indexed and inclusive) of the segment in - // the text. - StartIndex int64 `json:"startIndex,omitempty"` + // Rationale: Reason this document was selected. + Rationale string `json:"rationale,omitempty"` - // ForceSendFields is a list of field names (e.g. "Length") to + // ForceSendFields is a list of field names (e.g. "Category") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3535,8 +3142,8 @@ type AppsDynamiteSharedTextSegment struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Length") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Category") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -3544,37 +3151,90 @@ type AppsDynamiteSharedTextSegment struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedTextSegment) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedTextSegment +func (s *EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedTextSegmentsWithDescription: Defines text segments -// with description type associated. -type AppsDynamiteSharedTextSegmentsWithDescription struct { - // Possible values: - // "DESCRIPTION_TYPE_UNSPECIFIED" - // "KEYWORD_MATCH" - Indicates the text segments contain matched - // keywords. Client can highlight them in search results page. - // "SNIPPET" - Indicates the text segments represent parts of the - // snippeted text. Clients can display just these in SRP as shortened - // message. Multiple TextSegments with this DescriptionType are returned - // to denote disjointed snippets i.e. "a long test message" -> "a ... - // message" - DescriptionType string `json:"descriptionType,omitempty"` - - TextSegment []*AppsDynamiteSharedTextSegment `json:"textSegment,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DescriptionType") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. +// EnterpriseTopazSidekickFindMeetingTimeCardProto: Response to find +// meeting time among a set of people. +type EnterpriseTopazSidekickFindMeetingTimeCardProto struct { + // CommonAvailableTimeSlots: Slots when all attendees have availability. + CommonAvailableTimeSlots []*EnterpriseTopazSidekickTimeSlot `json:"commonAvailableTimeSlots,omitempty"` + + // Invitees: Invitees to the event. + Invitees []*EnterpriseTopazSidekickPerson `json:"invitees,omitempty"` + + // Requester: Requester. + Requester *EnterpriseTopazSidekickPerson `json:"requester,omitempty"` + + // ScheduledMeeting: Details about the scheduled meeting, if one exists. + ScheduledMeeting *EnterpriseTopazSidekickScheduledMeeting `json:"scheduledMeeting,omitempty"` + + // SkippedInvitees: Invitees that have been skipped in the computation, + // most likely because they are groups. + SkippedInvitees []*EnterpriseTopazSidekickPerson `json:"skippedInvitees,omitempty"` + + // TimeBoundaries: Min and max timestamp used to find a common available + // timeslot. + TimeBoundaries *EnterpriseTopazSidekickTimeSlot `json:"timeBoundaries,omitempty"` + + // TimezoneId: Timezone ID. + TimezoneId string `json:"timezoneId,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "CommonAvailableTimeSlots") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CommonAvailableTimeSlots") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *EnterpriseTopazSidekickFindMeetingTimeCardProto) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickFindMeetingTimeCardProto + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +type EnterpriseTopazSidekickGap struct { + // DisplayRemainingTime: Localized time string in the format: 1 hour 15 + // minutes + DisplayRemainingTime string `json:"displayRemainingTime,omitempty"` + + // EndTime: Localized time string in the format:(Locale CZ) 8:30 odp. + EndTime string `json:"endTime,omitempty"` + + EndTimeMs uint64 `json:"endTimeMs,omitempty,string"` + + RemainingTime string `json:"remainingTime,omitempty"` + + // StartTime: Localized time string in the format:(Locale CZ) 8:30 odp. + StartTime string `json:"startTime,omitempty"` + + StartTimeMs uint64 `json:"startTimeMs,omitempty,string"` + + // ForceSendFields is a list of field names (e.g. + // "DisplayRemainingTime") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DescriptionType") to + // NullFields is a list of field names (e.g. "DisplayRemainingTime") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -3584,20 +3244,20 @@ type AppsDynamiteSharedTextSegmentsWithDescription struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedTextSegmentsWithDescription) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedTextSegmentsWithDescription +func (s *EnterpriseTopazSidekickGap) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickGap raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedTextWithDescription: Defines a text with -// descriptive text segments associated. -type AppsDynamiteSharedTextWithDescription struct { - TextBody string `json:"textBody,omitempty"` +type EnterpriseTopazSidekickGenericAnswerCard struct { + // Answer: The answer. + Answer string `json:"answer,omitempty"` - TextSegmentsWithDescription []*AppsDynamiteSharedTextSegmentsWithDescription `json:"textSegmentsWithDescription,omitempty"` + // Title: Title or header of the card. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "TextBody") to + // ForceSendFields is a list of field names (e.g. "Answer") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3605,8 +3265,8 @@ type AppsDynamiteSharedTextWithDescription struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "TextBody") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Answer") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -3614,27 +3274,30 @@ type AppsDynamiteSharedTextWithDescription struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedTextWithDescription) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedTextWithDescription +func (s *EnterpriseTopazSidekickGenericAnswerCard) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickGenericAnswerCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedUserBlockRelationship: User-block relationship -type AppsDynamiteSharedUserBlockRelationship struct { - HasBlockedRequester bool `json:"hasBlockedRequester,omitempty"` +// EnterpriseTopazSidekickGetAndKeepAheadCardProto: Get and keep ahead +// card +type EnterpriseTopazSidekickGetAndKeepAheadCardProto struct { + DeclinedEvents *EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents `json:"declinedEvents,omitempty"` - IsBlockedByRequester bool `json:"isBlockedByRequester,omitempty"` + MentionedDocuments *EnterpriseTopazSidekickDocumentPerCategoryList `json:"mentionedDocuments,omitempty"` - // ForceSendFields is a list of field names (e.g. "HasBlockedRequester") - // to unconditionally include in API requests. By default, fields with + SharedDocuments *EnterpriseTopazSidekickDocumentPerCategoryList `json:"sharedDocuments,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DeclinedEvents") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "HasBlockedRequester") to + // NullFields is a list of field names (e.g. "DeclinedEvents") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -3644,31 +3307,18 @@ type AppsDynamiteSharedUserBlockRelationship struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedUserBlockRelationship) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedUserBlockRelationship +func (s *EnterpriseTopazSidekickGetAndKeepAheadCardProto) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickGetAndKeepAheadCardProto raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedVideoReference: Reference to a transcoded video -// attachment. -type AppsDynamiteSharedVideoReference struct { - // Format: Available transcode format. Value is defined in - // video/storage/proto/content_header.proto - Format []int64 `json:"format,omitempty"` +// EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents: A list +// of events where all guests declined. +type EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents struct { + Events []*EnterpriseTopazSidekickAgendaEntry `json:"events,omitempty"` - // Status: Transcode status - // - // Possible values: - // "UNKNOWN_STATUS" - // "SUCCESS" - // "ERROR" - // "NOT_APPLICABLE" - // "THUMBNAIL_SUCCESS" - // "GO_LIVE_SUCCESS" - Status string `json:"status,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Format") to + // ForceSendFields is a list of field names (e.g. "Events") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3676,7 +3326,7 @@ type AppsDynamiteSharedVideoReference struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Format") to include in API + // NullFields is a list of field names (e.g. "Events") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -3685,50 +3335,31 @@ type AppsDynamiteSharedVideoReference struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteSharedVideoReference) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteSharedVideoReference +func (s *EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageAction: An action that describes the behavior when -// the form is submitted. For example, an Apps Script can be invoked to -// handle the form. -type AppsDynamiteStorageAction struct { - // Function: Apps Script function to invoke when the containing element - // is clicked/activated. - Function string `json:"function,omitempty"` +// EnterpriseTopazSidekickMeetingNotesCardError: Errors in the creation +// of meeting notes. +type EnterpriseTopazSidekickMeetingNotesCardError struct { + // Description: The description of the reason why create-meeting-notes + // failed. + Description string `json:"description,omitempty"` - // Possible values: - // "INTERACTION_UNSPECIFIED" - Default value if interaction is not - // specified. - // "OPEN_DIALOG" - A dialog opens by clicking the button. - Interaction string `json:"interaction,omitempty"` + // Event: The event to request meeting notes creation + Event *EnterpriseTopazSidekickAgendaEntry `json:"event,omitempty"` + // Reason: The reason why create-meeting-notes failed. + // // Possible values: - // "SPINNER" - Displays a spinner to indicate that content is loading. - // "NONE" - Nothing is displayed. - LoadIndicator string `json:"loadIndicator,omitempty"` - - // Parameters: List of action parameters. - Parameters []*AppsDynamiteStorageActionActionParameter `json:"parameters,omitempty"` - - // PersistValues: Indicates whether form values persist after the - // action. The default value is `false`. If `true`, form values remain - // after the action is triggered. When using LoadIndicator.NONE - // (workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) - // for actions, `persist_values` = `true`is recommended, as it ensures - // that any changes made by the user after form or on change actions are - // sent to the server are not overwritten by the response. If `false`, - // the form values are cleared when the action is triggered. When - // `persist_values` is set to `false`, it is strongly recommended that - // the card use LoadIndicator.SPINNER - // (workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) - // for all actions, as this locks the UI to ensure no changes are made - // by the user while the action is being processed. - PersistValues bool `json:"persistValues,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Function") to + // "NONE" - No reason (default value). + // "NOT_OWNER" - The user is not an owner. + // "UNKNOWN" - Unknown reason. + Reason string `json:"reason,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3736,34 +3367,37 @@ type AppsDynamiteStorageAction struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Function") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageAction) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageAction +func (s *EnterpriseTopazSidekickMeetingNotesCardError) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickMeetingNotesCardError raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageActionActionParameter: List of string parameters -// to supply when the action method is invoked. For example, consider -// three snooze buttons: snooze now, snooze 1 day, snooze next week. You -// might use action method = snooze(), passing the snooze type and -// snooze time in the list of string parameters. -type AppsDynamiteStorageActionActionParameter struct { - // Key: The name of the parameter for the action script. - Key string `json:"key,omitempty"` +// EnterpriseTopazSidekickMeetingNotesCardProto: Information about the +// meeting notes created. +type EnterpriseTopazSidekickMeetingNotesCardProto struct { + // Event: The event to request meeting notes creation. + Event *EnterpriseTopazSidekickAgendaEntry `json:"event,omitempty"` - // Value: The value of the parameter. - Value string `json:"value,omitempty"` + // FileId: Google Drive ID (a.k.a. resource ID) of the file. + FileId string `json:"fileId,omitempty"` + + // Title: Title we want to show for meeting notes in the answer card + Title string `json:"title,omitempty"` + + // Url: New URL. + Url string `json:"url,omitempty"` - // ForceSendFields is a list of field names (e.g. "Key") to + // ForceSendFields is a list of field names (e.g. "Event") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3771,7 +3405,7 @@ type AppsDynamiteStorageActionActionParameter struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Key") to include in API + // NullFields is a list of field names (e.g. "Event") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -3780,30 +3414,30 @@ type AppsDynamiteStorageActionActionParameter struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageActionActionParameter) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageActionActionParameter +func (s *EnterpriseTopazSidekickMeetingNotesCardProto) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickMeetingNotesCardProto raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageBorderStyle: The style options for the border of a -// card or widget, including the border type and color. -type AppsDynamiteStorageBorderStyle struct { - // CornerRadius: The corner radius for the border. - CornerRadius int64 `json:"cornerRadius,omitempty"` - - // StrokeColor: The colors to use when the type is `BORDER_TYPE_STROKE`. - StrokeColor *Color `json:"strokeColor,omitempty"` - - // Type: The border type. +// EnterpriseTopazSidekickMeetingNotesCardRequest: Meeting notes card +// request. +type EnterpriseTopazSidekickMeetingNotesCardRequest struct { + // CanCreateFor: Who are the meeting notes created for. // // Possible values: - // "BORDER_TYPE_UNSPECIFIED" - No value specified. - // "NO_BORDER" - No border. - // "STROKE" - Outline. - Type string `json:"type,omitempty"` + // "UNKNOWN" - Unknown (default). + // "MYSELF" - For the requester. + // "ALL_ATTENDEES" - For all the meeting attendees. + CanCreateFor []string `json:"canCreateFor,omitempty"` - // ForceSendFields is a list of field names (e.g. "CornerRadius") to + // Error: The error and reason if known error occured. + Error *EnterpriseTopazSidekickMeetingNotesCardError `json:"error,omitempty"` + + // Event: The event to request meeting notes creation + Event *EnterpriseTopazSidekickAgendaEntry `json:"event,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CanCreateFor") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3811,7 +3445,7 @@ type AppsDynamiteStorageBorderStyle struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CornerRadius") to include + // NullFields is a list of field names (e.g. "CanCreateFor") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -3820,36 +3454,20 @@ type AppsDynamiteStorageBorderStyle struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageBorderStyle) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageBorderStyle +func (s *EnterpriseTopazSidekickMeetingNotesCardRequest) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickMeetingNotesCardRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageButton: A button. Can be a text button or an image -// button. -type AppsDynamiteStorageButton struct { - // AltText: The alternative text used for accessibility. Has no effect - // when an icon is set; use `icon.alt_text` instead. - AltText string `json:"altText,omitempty"` - - // Color: If set, the button is filled with a solid background. - Color *Color `json:"color,omitempty"` - - // Disabled: If true, the button is displayed in a disabled state and - // doesn't respond to user actions. - Disabled bool `json:"disabled,omitempty"` - - // Icon: The icon image. - Icon *AppsDynamiteStorageIcon `json:"icon,omitempty"` - - // OnClick: The action to perform when the button is clicked. - OnClick *AppsDynamiteStorageOnClick `json:"onClick,omitempty"` - - // Text: The text of the button. - Text string `json:"text,omitempty"` +// EnterpriseTopazSidekickNlpMetadata: Metadata about the NLP +// interpretation of the query. +type EnterpriseTopazSidekickNlpMetadata struct { + // Confidence: Confidence of the interpretation that generated this + // card. + Confidence float64 `json:"confidence,omitempty"` - // ForceSendFields is a list of field names (e.g. "AltText") to + // ForceSendFields is a list of field names (e.g. "Confidence") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3857,7 +3475,7 @@ type AppsDynamiteStorageButton struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AltText") to include in + // NullFields is a list of field names (e.g. "Confidence") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -3866,85 +3484,40 @@ type AppsDynamiteStorageButton struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageButton) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageButton +func (s *EnterpriseTopazSidekickNlpMetadata) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickNlpMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageButtonList: A list of buttons layed out -// horizontally. -type AppsDynamiteStorageButtonList struct { - Buttons []*AppsDynamiteStorageButton `json:"buttons,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Buttons") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` +func (s *EnterpriseTopazSidekickNlpMetadata) UnmarshalJSON(data []byte) error { + type NoMethod EnterpriseTopazSidekickNlpMetadata + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil } -func (s *AppsDynamiteStorageButtonList) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageButtonList - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} +// EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo: Metadata for +// disambiguation. +type EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo struct { + // Disambiguation: A list of people that also matched the query. This + // list is not complete. + Disambiguation []*EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson `json:"disambiguation,omitempty"` -// AppsDynamiteStorageCard: A card is a UI element that can contain UI -// widgets such as text and images. For more information, see Cards . -// For example, the following JSON creates a card that has a header with -// the name, position, icons, and link for a contact, followed by a -// section with contact information like email and phone number. ``` { -// "header": { "title": "Heba Salam", "subtitle": "Software Engineer", -// "imageStyle": "ImageStyle.AVATAR", "imageUrl": -// "https://example.com/heba_salam.png", "imageAltText": "Avatar for -// Heba Salam" }, "sections" : [ { "header": "Contact Info", "widgets": -// [ { "decorated_text": { "icon": { "knownIcon": "EMAIL" }, "content": -// "heba.salam@example.com" } }, { "decoratedText": { "icon": { -// "knownIcon": "PERSON" }, "content": "Online" } }, { "decoratedText": -// { "icon": { "knownIcon": "PHONE" }, "content": "+1 (555) 555-1234" } -// }, { "buttons": [ { "textButton": { "text": "Share", }, "onClick": { -// "openLink": { "url": "https://example.com/share" } } }, { -// "textButton": { "text": "Edit", }, "onClick": { "action": { -// "function": "goToView", "parameters": [ { "key": "viewType", "value": -// "EDIT" } ], "loadIndicator": "LoadIndicator.SPINNER" } } } ] } ], -// "collapsible": true, "uncollapsibleWidgetsCount": 3 } ], -// "cardActions": [ { "actionLabel": "Send Feedback", "onClick": { -// "openLink": { "url": "https://example.com/feedback" } } } ], "name": -// "contact-card-K3wB6arF2H9L" } ``` -type AppsDynamiteStorageCard struct { - // CardActions: The actions of this card. They are added to a card's - // generated toolbar menu. For example, the following JSON constructs a - // card action menu with Settings and Send Feedback options: ``` - // "card_actions": [ { "actionLabel": "Setting", "onClick": { "action": - // { "functionName": "goToView", "parameters": [ { "key": "viewType", - // "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } - // }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { - // "url": "https://example.com/feedback" } } } ] ``` - CardActions []*AppsDynamiteStorageCardCardAction `json:"cardActions,omitempty"` - - // Header: The header of the card. A header usually contains a title and - // an image. - Header *AppsDynamiteStorageCardCardHeader `json:"header,omitempty"` - - // Name: Name of the card, which is used as a identifier for the card in - // card navigation. + // Name: The name that was extracted from the query. This may be in the + // form of the given name, last name, full name, LDAP, or email address. + // This name can be considered suitable for displaying to the user and + // can largely be considered to be normalized (e.g. "Bob's" -> "Bob"). Name string `json:"name,omitempty"` - // Sections: Sections are separated by a line divider. - Sections []*AppsDynamiteStorageCardSection `json:"sections,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CardActions") to + // ForceSendFields is a list of field names (e.g. "Disambiguation") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3952,33 +3525,34 @@ type AppsDynamiteStorageCard struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CardActions") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "Disambiguation") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageCard) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageCard +func (s *EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageCardCardAction: A card action is the action -// associated with the card. For example, an invoice card might include -// actions such as delete invoice, email invoice, or open the invoice in -// a browser. -type AppsDynamiteStorageCardCardAction struct { - // ActionLabel: The label that displays as the action menu item. - ActionLabel string `json:"actionLabel,omitempty"` +// EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPer +// son: A person that also matches the query, but was not selected due +// to a lower affinity with the requesting user. +type EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson struct { + // Person: The profile of this person. + Person *EnterpriseTopazSidekickCommonPerson `json:"person,omitempty"` - // OnClick: The onclick action for this action item. - OnClick *AppsDynamiteStorageOnClick `json:"onClick,omitempty"` + // Query: The query that can be used to produce an answer card with the + // same attribute, but for this person. + Query string `json:"query,omitempty"` - // ForceSendFields is a list of field names (e.g. "ActionLabel") to + // ForceSendFields is a list of field names (e.g. "Person") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3986,46 +3560,29 @@ type AppsDynamiteStorageCardCardAction struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ActionLabel") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Person") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageCardCardAction) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageCardCardAction +func (s *EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteStorageCardCardHeader struct { - // ImageAltText: The alternative text of this image which is used for - // accessibility. - ImageAltText string `json:"imageAltText,omitempty"` - - // ImageType: The image's type. - // - // Possible values: - // "SQUARE" - Applies no cropping to the image. - // "CIRCLE" - Applies a circular mask to the image. - ImageType string `json:"imageType,omitempty"` - - // ImageUrl: The URL of the image in the card header. - ImageUrl string `json:"imageUrl,omitempty"` - - // Subtitle: The subtitle of the card header. - Subtitle string `json:"subtitle,omitempty"` - - // Title: The title of the card header. The title must be specified. The - // header has a fixed height: if both a title and subtitle are - // specified, each takes up one line. If only the title is specified, it - // takes up both lines. +// EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader: +// Recommended header to display for the card. +type EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader struct { + // Title: The suggested title to display. This defaults to the user's + // query. Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "ImageAltText") to + // ForceSendFields is a list of field names (e.g. "Title") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4033,76 +3590,54 @@ type AppsDynamiteStorageCardCardHeader struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ImageAltText") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Title") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageCardCardHeader) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageCardCardHeader +func (s *EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageCardSection: A section contains a collection of -// widgets that are rendered vertically in the order that they are -// specified. Across all platforms, cards have a narrow fixed width, so -// there is currently no need for layout properties, for example, float. -type AppsDynamiteStorageCardSection struct { - // Collapsible: Indicates whether this section is collapsible. If a - // section is collapsible, the description must be given. - Collapsible bool `json:"collapsible,omitempty"` +// EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard: An answer card +// for a single person. +type EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard struct { + // Answer: List of answers. + Answer []*SafeHtmlProto `json:"answer,omitempty"` - // Header: The header of the section. Formatted text is supported. - Header string `json:"header,omitempty"` + // AnswerText: List of answers. + AnswerText *EnterpriseTopazSidekickAnswerAnswerList `json:"answerText,omitempty"` - // UncollapsibleWidgetsCount: The number of uncollapsible widgets. For - // example, when a section contains five widgets and the - // `numUncollapsibleWidget` is set to `2`, the first two widgets are - // always shown and the last three are collapsed as default. The - // `numUncollapsibleWidget` is taken into account only when collapsible - // is set to `true`. - UncollapsibleWidgetsCount int64 `json:"uncollapsibleWidgetsCount,omitempty"` + // DisambiguationInfo: Disambiguation information. + DisambiguationInfo *EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo `json:"disambiguationInfo,omitempty"` - // Widgets: A section must contain at least 1 widget. - Widgets []*AppsDynamiteStorageWidget `json:"widgets,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Collapsible") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // Header: The header to display for the card. + Header *EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader `json:"header,omitempty"` - // NullFields is a list of field names (e.g. "Collapsible") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // ResponseStatus: The response status. + // + // Possible values: + // "UNKNOWN" - Unknown. + // "SUCCESS" - Success. + // "MISSING_PERSON" - No such person was found in the user's domain. + // "MISSING_DATA" - A person was found to match the query, but an + // answer could not be obtained. + ResponseStatus string `json:"responseStatus,omitempty"` -func (s *AppsDynamiteStorageCardSection) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageCardSection - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // StatusMessage: Localized user friendly message to display to the user + // in the case of missing data or an error. + StatusMessage string `json:"statusMessage,omitempty"` -// AppsDynamiteStorageColumns: Represents a Columns widget that displays -// a single row of columns. -type AppsDynamiteStorageColumns struct { - // ColumnItems: Each card supports up to 2 columns. If the user's screen - // width is less than or equal to 480 pixels, the second column wraps - // below the first column. - ColumnItems []*AppsDynamiteStorageColumnsColumn `json:"columnItems,omitempty"` + // Subject: The profile of the person that was the subject of the query. + Subject *EnterpriseTopazSidekickCommonPerson `json:"subject,omitempty"` - // ForceSendFields is a list of field names (e.g. "ColumnItems") to + // ForceSendFields is a list of field names (e.g. "Answer") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4110,59 +3645,63 @@ type AppsDynamiteStorageColumns struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ColumnItems") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Answer") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageColumns) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageColumns +func (s *EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageColumnsColumn: Represents a Column that consists -// of widgets stacked vertically. -type AppsDynamiteStorageColumnsColumn struct { - // HorizontalAlignment: The horizontal alignment of the column. - // - // Possible values: - // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Unspecified alignment. - // "START" - Alignment to the start position. - // "CENTER" - Alignment to the center position. - // "END" - Alignment to the end position. - HorizontalAlignment string `json:"horizontalAlignment,omitempty"` - - // HorizontalSizeStyle: Specifies how the column content is sized - // horizontally. +// EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard: An answer +// card for a list of people that are related to the subject of the +// query. +type EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard struct { + // DisambiguationInfo: Disambiguation information. + DisambiguationInfo *EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo `json:"disambiguationInfo,omitempty"` + + // Header: The header to display for the card. + Header *EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader `json:"header,omitempty"` + + // RelatedPeople: A list of people that are related to the query + // subject. + RelatedPeople []*EnterpriseTopazSidekickCommonPerson `json:"relatedPeople,omitempty"` + + // RelationType: Defines the type of relation the list of people have + // with the subject of the card. // // Possible values: - // "HORIZONTAL_SIZE_STYLE_UNSPECIFIED" - Unspecified. - // "FILL_AVAILABLE_SPACE" - Fills up the available horizontal width. - // Default value if unspecified. - // "FILL_MINIMUM_SPACE" - Fills up the minimum horizontal width. - HorizontalSizeStyle string `json:"horizontalSizeStyle,omitempty"` + // "UNKNOWN" - Unknown. + // "DIRECT_REPORTS" - Direct reports. + // "MANAGER" - The manager. + // "PEERS" - The teammates/peers of the subject. + RelationType string `json:"relationType,omitempty"` - // VerticalAlignment: The vertical alignment of the column. + // ResponseStatus: The response status. // // Possible values: - // "VERTICAL_ALIGNMENT_UNSPECIFIED" - Unspecified. - // "CENTER" - Aligns the widget in the center of the column. Default - // value if unspecified. - // "TOP" - Aligns the widget at the top of the column. - // "BOTTOM" - Aligns the widget at the bottom of the column. - VerticalAlignment string `json:"verticalAlignment,omitempty"` - - // Widgets: - // LINT.ThenChange(//depot/google3/google/apps/card/v1/card.proto) Array - // of widgets included in the column. - Widgets []*AppsDynamiteStorageColumnsColumnWidgets `json:"widgets,omitempty"` - - // ForceSendFields is a list of field names (e.g. "HorizontalAlignment") + // "UNKNOWN" - Unknown. + // "SUCCESS" - Success. + // "MISSING_PERSON" - No such person was found in the user's domain. + // "MISSING_DATA" - A person was found to match the query, but an + // answer could not be obtained. + ResponseStatus string `json:"responseStatus,omitempty"` + + // StatusMessage: Localized user friendly message to display to the user + // in the case of missing data or an error. + StatusMessage string `json:"statusMessage,omitempty"` + + // Subject: The profile of the person that was the subject of the query. + Subject *EnterpriseTopazSidekickCommonPerson `json:"subject,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisambiguationInfo") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4170,7 +3709,7 @@ type AppsDynamiteStorageColumnsColumn struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "HorizontalAlignment") to + // NullFields is a list of field names (e.g. "DisambiguationInfo") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -4180,37 +3719,17 @@ type AppsDynamiteStorageColumnsColumn struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageColumnsColumn) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageColumnsColumn +func (s *EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageColumnsColumnWidgets: LINT.IfChange The `column` -// widget can contain these widgets. -type AppsDynamiteStorageColumnsColumnWidgets struct { - // ButtonList: ButtonList widget. - ButtonList *AppsDynamiteStorageButtonList `json:"buttonList,omitempty"` - - // DateTimePicker: DateTimePicker widget. - DateTimePicker *AppsDynamiteStorageDateTimePicker `json:"dateTimePicker,omitempty"` - - // DecoratedText: DecoratedText widget. - DecoratedText *AppsDynamiteStorageDecoratedText `json:"decoratedText,omitempty"` - - // Image: Image widget. - Image *AppsDynamiteStorageImage `json:"image,omitempty"` +type EnterpriseTopazSidekickPeopleDisambiguationCard struct { + // Person: Candidate persons for the query. + Person []*EnterpriseTopazSidekickCommonPerson `json:"person,omitempty"` - // SelectionInput: SelectionInput widget. - SelectionInput *AppsDynamiteStorageSelectionInput `json:"selectionInput,omitempty"` - - // TextInput: TextInput widget. - TextInput *AppsDynamiteStorageTextInput `json:"textInput,omitempty"` - - // TextParagraph: Text paragraph widget. - TextParagraph *AppsDynamiteStorageTextParagraph `json:"textParagraph,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ButtonList") to + // ForceSendFields is a list of field names (e.g. "Person") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4218,8 +3737,8 @@ type AppsDynamiteStorageColumnsColumnWidgets struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ButtonList") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Person") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -4227,50 +3746,53 @@ type AppsDynamiteStorageColumnsColumnWidgets struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageColumnsColumnWidgets) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageColumnsColumnWidgets +func (s *EnterpriseTopazSidekickPeopleDisambiguationCard) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickPeopleDisambiguationCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageDateTimePicker: The widget that lets users to -// specify a date and time. -type AppsDynamiteStorageDateTimePicker struct { - // Label: The label for the field that displays to the user. - Label string `json:"label,omitempty"` +// EnterpriseTopazSidekickPerson: Person. +type EnterpriseTopazSidekickPerson struct { + // AffinityLevel: The level of affinity this person has with the + // requesting user. + // + // Possible values: + // "UNKNOWN" + // "LOW" + // "MEDIUM" + // "HIGH" + AffinityLevel string `json:"affinityLevel,omitempty"` - // Name: The name of the text input that's used in formInput, and - // uniquely identifies this input. - Name string `json:"name,omitempty"` + // AttendingStatus: Attendance status of the person when included in a + // meeting event. + // + // Possible values: + // "AWAITING" - Awaiting for the user to set the status. + // "YES" - Attending. + // "NO" - Not attending. + // "MAYBE" - Tentatively attending. + AttendingStatus string `json:"attendingStatus,omitempty"` - // OnChangeAction: Triggered when the user clicks Save or Clear from the - // date/time picker dialog. This is only triggered if the value changed - // as a result of the Save/Clear operation. - OnChangeAction *AppsDynamiteStorageAction `json:"onChangeAction,omitempty"` + // Email: Email. + Email string `json:"email,omitempty"` - // TimezoneOffsetDate: The number representing the time zone offset from - // UTC, in minutes. If set, the `value_ms_epoch` is displayed in the - // specified time zone. If not set, it uses the user's time zone setting - // on the client side. - TimezoneOffsetDate int64 `json:"timezoneOffsetDate,omitempty"` + // GaiaId: Gaia id. + GaiaId int64 `json:"gaiaId,omitempty,string"` - // Type: The type of the date/time picker. - // - // Possible values: - // "DATE_AND_TIME" - The user can select a date and time. - // "DATE_ONLY" - The user can only select a date. - // "TIME_ONLY" - The user can only select a time. - Type string `json:"type,omitempty"` + // IsGroup: Whether the invitee is a group. + IsGroup bool `json:"isGroup,omitempty"` + + // Name: Name. + Name string `json:"name,omitempty"` - // ValueMsEpoch: The value to display as the default value before user - // input or previous user input. It is represented in milliseconds - // (Epoch time). For `DATE_AND_TIME` type, the full epoch value is used. - // For `DATE_ONLY` type, only date of the epoch time is used. For - // `TIME_ONLY` type, only time of the epoch time is used. For example, - // you can set epoch time to `3 * 60 * 60 * 1000` to represent 3am. - ValueMsEpoch int64 `json:"valueMsEpoch,omitempty,string"` + // ObfuscatedGaiaId: Obfuscated Gaia id. + ObfuscatedGaiaId string `json:"obfuscatedGaiaId,omitempty"` - // ForceSendFields is a list of field names (e.g. "Label") to + // PhotoUrl: Absolute URL to the profile photo of the person. + PhotoUrl string `json:"photoUrl,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AffinityLevel") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4278,60 +3800,28 @@ type AppsDynamiteStorageDateTimePicker struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Label") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "AffinityLevel") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageDateTimePicker) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageDateTimePicker +func (s *EnterpriseTopazSidekickPerson) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickPerson raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageDecoratedText: A widget that displays text with -// optional decorations such as a label above or below the text, an icon -// in front of the text, a selection widget or a button after the text. -type AppsDynamiteStorageDecoratedText struct { - // BottomLabel: The formatted text label that shows below the main text. - BottomLabel string `json:"bottomLabel,omitempty"` - - // Button: A button that can be clicked to trigger an action. - Button *AppsDynamiteStorageButton `json:"button,omitempty"` - - // EndIcon: An icon displayed after the text. - EndIcon *AppsDynamiteStorageIcon `json:"endIcon,omitempty"` - - // Icon: Deprecated in favor of start_icon. - Icon *AppsDynamiteStorageIcon `json:"icon,omitempty"` - - // OnClick: Only the top and bottom label and content region are - // clickable. - OnClick *AppsDynamiteStorageOnClick `json:"onClick,omitempty"` - - // StartIcon: The icon displayed in front of the text. - StartIcon *AppsDynamiteStorageIcon `json:"startIcon,omitempty"` - - // SwitchControl: A switch widget can be clicked to change its state or - // trigger an action. - SwitchControl *AppsDynamiteStorageDecoratedTextSwitchControl `json:"switchControl,omitempty"` - - // Text: Required. The main widget formatted text. See Text formatting - // for details. - Text string `json:"text,omitempty"` - - // TopLabel: The formatted text label that shows above the main text. - TopLabel string `json:"topLabel,omitempty"` +type EnterpriseTopazSidekickPersonProfileCard struct { + RelatedPeople []*EnterpriseTopazSidekickPersonProfileCardRelatedPeople `json:"relatedPeople,omitempty"` - // WrapText: The wrap text setting. If `true`, the text is wrapped and - // displayed in multiline. Otherwise, the text is truncated. - WrapText bool `json:"wrapText,omitempty"` + // Subject: The subject of the card. + Subject *EnterpriseTopazSidekickCommonPerson `json:"subject,omitempty"` - // ForceSendFields is a list of field names (e.g. "BottomLabel") to + // ForceSendFields is a list of field names (e.g. "RelatedPeople") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4339,7 +3829,7 @@ type AppsDynamiteStorageDecoratedText struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BottomLabel") to include + // NullFields is a list of field names (e.g. "RelatedPeople") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -4348,34 +3838,25 @@ type AppsDynamiteStorageDecoratedText struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageDecoratedText) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageDecoratedText +func (s *EnterpriseTopazSidekickPersonProfileCard) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickPersonProfileCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteStorageDecoratedTextSwitchControl struct { - // ControlType: The control type, either switch or checkbox. +type EnterpriseTopazSidekickPersonProfileCardRelatedPeople struct { + // RelatedPerson: Related people. + RelatedPerson []*EnterpriseTopazSidekickCommonPerson `json:"relatedPerson,omitempty"` + + // Relation: Relation type. // // Possible values: - // "SWITCH" - // "CHECKBOX" - Deprecated in favor of `CHECK_BOX`. - // "CHECK_BOX" - ControlType string `json:"controlType,omitempty"` - - // Name: The name of the switch widget that's used in formInput. - Name string `json:"name,omitempty"` - - // OnChangeAction: The action when the switch state is changed. - OnChangeAction *AppsDynamiteStorageAction `json:"onChangeAction,omitempty"` - - // Selected: If the switch is selected. - Selected bool `json:"selected,omitempty"` - - // Value: The value is what is passed back in the callback. - Value string `json:"value,omitempty"` + // "UNKNOWN" + // "MANAGER" + // "DIRECT_REPORT" + Relation string `json:"relation,omitempty"` - // ForceSendFields is a list of field names (e.g. "ControlType") to + // ForceSendFields is a list of field names (e.g. "RelatedPerson") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4383,7 +3864,7 @@ type AppsDynamiteStorageDecoratedTextSwitchControl struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ControlType") to include + // NullFields is a list of field names (e.g. "RelatedPerson") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -4392,41 +3873,19 @@ type AppsDynamiteStorageDecoratedTextSwitchControl struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageDecoratedTextSwitchControl) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageDecoratedTextSwitchControl +func (s *EnterpriseTopazSidekickPersonProfileCardRelatedPeople) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickPersonProfileCardRelatedPeople raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageDivider: A divider that appears in between -// widgets. -type AppsDynamiteStorageDivider struct { -} - -// AppsDynamiteStorageGrid: Represents a Grid widget that displays items -// in a configurable grid layout. -type AppsDynamiteStorageGrid struct { - // BorderStyle: The border style to apply to each grid item. - BorderStyle *AppsDynamiteStorageBorderStyle `json:"borderStyle,omitempty"` - - // ColumnCount: The number of columns to display in the grid. A default - // value is used if this field isn't specified, and that default value - // is different depending on where the grid is shown (dialog versus - // companion). - ColumnCount int64 `json:"columnCount,omitempty"` - - // Items: The items to display in the grid. - Items []*AppsDynamiteStorageGridGridItem `json:"items,omitempty"` - - // OnClick: This callback is reused by each individual grid item, but - // with the item's identifier and index in the items list added to the - // callback's parameters. - OnClick *AppsDynamiteStorageOnClick `json:"onClick,omitempty"` - - // Title: The text that displays in the grid header. - Title string `json:"title,omitempty"` +// EnterpriseTopazSidekickPersonalizedDocsCardProto: Personalized docs +// card proto. +type EnterpriseTopazSidekickPersonalizedDocsCardProto struct { + // DocumentGroup: Document group. + DocumentGroup []*EnterpriseTopazSidekickDocumentGroup `json:"documentGroup,omitempty"` - // ForceSendFields is a list of field names (e.g. "BorderStyle") to + // ForceSendFields is a list of field names (e.g. "DocumentGroup") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4434,7 +3893,7 @@ type AppsDynamiteStorageGrid struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BorderStyle") to include + // NullFields is a list of field names (e.g. "DocumentGroup") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -4443,48 +3902,56 @@ type AppsDynamiteStorageGrid struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageGrid) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageGrid +func (s *EnterpriseTopazSidekickPersonalizedDocsCardProto) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickPersonalizedDocsCardProto raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageGridGridItem: Represents a single item in the grid -// layout. -type AppsDynamiteStorageGridGridItem struct { - // Id: A user-specified identifier for this grid item. This identifier - // is returned in the parent Grid's onClick callback parameters. - Id string `json:"id,omitempty"` +// EnterpriseTopazSidekickRankingParams: Ranking params. +type EnterpriseTopazSidekickRankingParams struct { + // EndTimeMs: The end-time that this object will expect to occur. If the + // type is marked as FIXED, then this end-time will persist after + // bidding. If the type is marked as FLEXIBLE, this field is NOT + // expected to be filled and will be filled in after it has won a bid. + // Expected to be set when type is set to FIXED. + EndTimeMs uint64 `json:"endTimeMs,omitempty,string"` - // Image: The image that displays in the grid item. - Image *AppsDynamiteStorageImageComponent `json:"image,omitempty"` - - // Layout: The layout to use for the grid item. + // Priority: The priority to determine between objects that have the + // same start_time_ms The lower-value of priority == ranked higher. + // Max-priority = 0. Expected to be set for all types. // // Possible values: - // "GRID_ITEM_LAYOUT_UNSPECIFIED" - No layout specified. - // "TEXT_BELOW" - The title and subtitle are shown below the grid - // item's image. - // "TEXT_ABOVE" - The title and subtitle are shown above the grid - // item's image. - Layout string `json:"layout,omitempty"` - - // Subtitle: The grid item's subtitle. - Subtitle string `json:"subtitle,omitempty"` - - // TextAlignment: The horizontal alignment of the grid item's text. + // "UNKNOWN" - Unknown (default). + // "CRITICAL" - Critical. + // "IMPORTANT" - Important. + // "HIGH" - High. + // "NORMAL" - Normal. + // "BEST_EFFORT" - Best effort. + Priority string `json:"priority,omitempty"` + + // Score: The score of the card to be used to break priority-ties + Score float64 `json:"score,omitempty"` + + // SpanMs: The span that this card will take in the stream Expected to + // be set when type is set to FLEXIBLE. + SpanMs uint64 `json:"spanMs,omitempty,string"` + + // StartTimeMs: The start-time that this object will bid-for If the type + // is marked as FIXED, then this start-time will persist after bidding. + // If the type is marked as FLEXIBLE, then it will occur at the given + // time or sometime after the requested time. Expected to be set for all + // types. + StartTimeMs uint64 `json:"startTimeMs,omitempty,string"` + + // Type: The packing type of this object. // // Possible values: - // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Unspecified alignment. - // "START" - Alignment to the start position. - // "CENTER" - Alignment to the center position. - // "END" - Alignment to the end position. - TextAlignment string `json:"textAlignment,omitempty"` - - // Title: The grid item's title. - Title string `json:"title,omitempty"` + // "FIXED" - Fixed, i.e., the card is time sensitive. + // "FLEXIBLE" - Flexible, i.e., the card is not time sensitive. + Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "Id") to + // ForceSendFields is a list of field names (e.g. "EndTimeMs") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4492,8 +3959,8 @@ type AppsDynamiteStorageGridGridItem struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Id") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "EndTimeMs") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -4501,41 +3968,30 @@ type AppsDynamiteStorageGridGridItem struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageGridGridItem) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageGridGridItem +func (s *EnterpriseTopazSidekickRankingParams) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickRankingParams raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteStorageIcon struct { - // AltText: The description of the icon, used for accessibility. The - // default value is provided if you don't specify one. - AltText string `json:"altText,omitempty"` +func (s *EnterpriseTopazSidekickRankingParams) UnmarshalJSON(data []byte) error { + type NoMethod EnterpriseTopazSidekickRankingParams + var s1 struct { + Score gensupport.JSONFloat64 `json:"score"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Score = float64(s1.Score) + return nil +} - // IconUrl: The icon specified by a URL. - IconUrl string `json:"iconUrl,omitempty"` +type EnterpriseTopazSidekickRecentDocumentsCardProto struct { + Document []*EnterpriseTopazSidekickCommonDocument `json:"document,omitempty"` - // ImageType: The crop style applied to the image. In some cases, - // applying a `CIRCLE` crop causes the image to be drawn larger than a - // standard icon. - // - // Possible values: - // "SQUARE" - Applies no cropping to the image. - // "CIRCLE" - Applies a circular mask to the image. - ImageType string `json:"imageType,omitempty"` - - // KnownIcon: The icon specified by the string name of a list of known - // icons - KnownIcon string `json:"knownIcon,omitempty"` - - // MaterialIcon: Display one of the Google Material Icons - // (https://fonts.google.com/icons). For example, to display a check box - // icon - // (https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048), - // use "material_icon": { "name": "check_box" } - MaterialIcon *AppsDynamiteStorageMaterialIcon `json:"materialIcon,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AltText") to + // ForceSendFields is a list of field names (e.g. "Document") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4543,7 +3999,7 @@ type AppsDynamiteStorageIcon struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AltText") to include in + // NullFields is a list of field names (e.g. "Document") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -4552,24 +4008,25 @@ type AppsDynamiteStorageIcon struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageIcon) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageIcon +func (s *EnterpriseTopazSidekickRecentDocumentsCardProto) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickRecentDocumentsCardProto raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageImage: An image that is specified by a URL and can -// have an onClick action. -type AppsDynamiteStorageImage struct { - // AltText: The alternative text of this image, used for accessibility. - AltText string `json:"altText,omitempty"` +// EnterpriseTopazSidekickScheduledMeeting: Details about scheduled +// meetings. +type EnterpriseTopazSidekickScheduledMeeting struct { + // MeetingLocation: The meeting location. + MeetingLocation string `json:"meetingLocation,omitempty"` - // ImageUrl: An image URL. - ImageUrl string `json:"imageUrl,omitempty"` + // MeetingTime: The meeting time slot. + MeetingTime *EnterpriseTopazSidekickTimeSlot `json:"meetingTime,omitempty"` - OnClick *AppsDynamiteStorageOnClick `json:"onClick,omitempty"` + // MeetingTitle: The meeting title. + MeetingTitle string `json:"meetingTitle,omitempty"` - // ForceSendFields is a list of field names (e.g. "AltText") to + // ForceSendFields is a list of field names (e.g. "MeetingLocation") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4577,35 +4034,32 @@ type AppsDynamiteStorageImage struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AltText") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "MeetingLocation") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageImage) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageImage +func (s *EnterpriseTopazSidekickScheduledMeeting) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickScheduledMeeting raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteStorageImageComponent struct { - // AltText: The accessibility label for the image. - AltText string `json:"altText,omitempty"` - - // BorderStyle: The border style to apply to the image. - BorderStyle *AppsDynamiteStorageBorderStyle `json:"borderStyle,omitempty"` - - // CropStyle: The crop style to apply to the image. - CropStyle *AppsDynamiteStorageImageCropStyle `json:"cropStyle,omitempty"` +// EnterpriseTopazSidekickShareMeetingDocsCardProto: Share meeting docs +// card proto. +type EnterpriseTopazSidekickShareMeetingDocsCardProto struct { + // Document: Documents to share for the given meeting. + Document []*EnterpriseTopazSidekickCommonDocument `json:"document,omitempty"` - // ImageUri: The image URL. - ImageUri string `json:"imageUri,omitempty"` + // Event: Event. + Event *EnterpriseTopazSidekickAgendaEntry `json:"event,omitempty"` - // ForceSendFields is a list of field names (e.g. "AltText") to + // ForceSendFields is a list of field names (e.g. "Document") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4613,7 +4067,7 @@ type AppsDynamiteStorageImageComponent struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AltText") to include in + // NullFields is a list of field names (e.g. "Document") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -4622,102 +4076,35 @@ type AppsDynamiteStorageImageComponent struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageImageComponent) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageImageComponent +func (s *EnterpriseTopazSidekickShareMeetingDocsCardProto) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickShareMeetingDocsCardProto raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageImageCropStyle: Represents the crop style applied -// to an image. -type AppsDynamiteStorageImageCropStyle struct { - // AspectRatio: The aspect ratio to use if the crop type is - // `RECTANGLE_CUSTOM`. - AspectRatio float64 `json:"aspectRatio,omitempty"` +// EnterpriseTopazSidekickTimeSlot: Slot of time. +type EnterpriseTopazSidekickTimeSlot struct { + // EndTimeDay: Day end time at the user's timezone. + EndTimeDay string `json:"endTimeDay,omitempty"` - // Type: The crop type. - // - // Possible values: - // "IMAGE_CROP_TYPE_UNSPECIFIED" - No value specified. - // "SQUARE" - Applies a square crop. - // "CIRCLE" - Applies a circular crop. - // "RECTANGLE_CUSTOM" - Applies a rectangular crop with a custom - // aspect ratio. - // "RECTANGLE_4_3" - Applies a rectangular crop with a 4:3 aspect - // ratio. - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AspectRatio") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AspectRatio") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // EndTimeHourAndMinute: Hour and minute of the end time at the user's + // timezone. + EndTimeHourAndMinute string `json:"endTimeHourAndMinute,omitempty"` -func (s *AppsDynamiteStorageImageCropStyle) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageImageCropStyle - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // EndTimeInMillis: End time in milliseconds. + EndTimeInMillis int64 `json:"endTimeInMillis,omitempty,string"` -func (s *AppsDynamiteStorageImageCropStyle) UnmarshalJSON(data []byte) error { - type NoMethod AppsDynamiteStorageImageCropStyle - var s1 struct { - AspectRatio gensupport.JSONFloat64 `json:"aspectRatio"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.AspectRatio = float64(s1.AspectRatio) - return nil -} + // StartTimeDay: Day start time at user's timezone. + StartTimeDay string `json:"startTimeDay,omitempty"` -// AppsDynamiteStorageMaterialIcon: A Google Font Icon -// (https://fonts.google.com/icons), which includes over 2500+ options. -// For example, to display a check box icon -// (https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048) -// with customized weight and grade, write { "name": "check_box", -// "fill": true, "weight": 300, "grade": -25 } -type AppsDynamiteStorageMaterialIcon struct { - // Fill: Whether it renders a filled icon. Default value is false. See - // Customization in Google Font Icon (https://fonts.google.com/icons) - // for details. - Fill bool `json:"fill,omitempty"` - - // Grade: Weight and grade affect a symbol’s thickness. Adjustments to - // grade are more granular than adjustments to weight and have a small - // impact on the size of the symbol. Choose from {-25, 0, 200}. If - // absent, default value is 0. If any other value is specified, a broken - // image icon will be displayed. See Customization in Google Font Icon - // (https://fonts.google.com/icons) for details. - Grade int64 `json:"grade,omitempty"` - - // Name: The icon name defined in the Google Material Icon - // (https://fonts.google.com/icons) in snake_case. e.g. "check_box". Any - // invalid name will be trimmed as empty string result in the icon - // falied to render. - Name string `json:"name,omitempty"` + // StartTimeHourAndMinute: Hour and minute of the start time at the + // user's timezone. + StartTimeHourAndMinute string `json:"startTimeHourAndMinute,omitempty"` - // Weight: The stroke weight of the icon. Choose from {100, 200, 300, - // 400, 500, 600, 700}. If absent, default value is 400. If any other - // value is specified, a broken image icon will be displayed. See - // Customization in Google Font Icon (https://fonts.google.com/icons) - // for details. - Weight int64 `json:"weight,omitempty"` + // StartTimeInMillis: Start time in milliseconds. + StartTimeInMillis int64 `json:"startTimeInMillis,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "Fill") to + // ForceSendFields is a list of field names (e.g. "EndTimeDay") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4725,8 +4112,8 @@ type AppsDynamiteStorageMaterialIcon struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Fill") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "EndTimeDay") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -4734,32 +4121,36 @@ type AppsDynamiteStorageMaterialIcon struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageMaterialIcon) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageMaterialIcon +func (s *EnterpriseTopazSidekickTimeSlot) MarshalJSON() ([]byte, error) { + type NoMethod EnterpriseTopazSidekickTimeSlot raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteStorageOnClick struct { - // Action: If specified, an action is triggered by this onClick. - Action *AppsDynamiteStorageAction `json:"action,omitempty"` - - // HostAppAction: Triggers host app action on click directly without - // invoking form actions. This is currently not available to end-users - // and is used internal only. - HostAppAction *HostAppActionMarkup `json:"hostAppAction,omitempty"` - - // OpenDynamicLinkAction: An add-on triggers this action when the action - // needs to open a link. This differs from the open_link above in that - // this needs to talk to server to get the link. Thus some preparation - // work is required for web client to do before the open link action - // response comes back. - OpenDynamicLinkAction *AppsDynamiteStorageAction `json:"openDynamicLinkAction,omitempty"` - - // OpenLink: If specified, this onClick triggers an open link action. - OpenLink *AppsDynamiteStorageOpenLink `json:"openLink,omitempty"` +// EnumOperatorOptions: Used to provide a search operator for enum +// properties. This is optional. Search operators let users restrict the +// query to specific fields relevant to the type of item being searched. +// For example, if you provide no operator for a *priority* enum +// property with possible values *p0* and *p1*, a query that contains +// the term *p0* returns items that have *p0* as the value of the +// *priority* property, as well as any items that contain the string +// *p0* in other fields. If you provide an operator name for the enum, +// such as *priority*, then search users can use that operator to refine +// results to only items that have *p0* as this property's value, with +// the query *priority:p0*. +type EnumOperatorOptions struct { + // OperatorName: Indicates the operator name required in the query in + // order to isolate the enum property. For example, if operatorName is + // *priority* and the property's name is *priorityVal*, then queries + // like *priority:* show results only where the value of the + // property named *priorityVal* matches **. By contrast, a search + // that uses the same ** without an operator returns all items + // where ** matches the value of any String properties or text + // within the content field for the item. The operator name can only + // contain lowercase letters (a-z). The maximum length is 32 characters. + OperatorName string `json:"operatorName,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") to + // ForceSendFields is a list of field names (e.g. "OperatorName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4767,89 +4158,110 @@ type AppsDynamiteStorageOnClick struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "OperatorName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageOnClick) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageOnClick +func (s *EnumOperatorOptions) MarshalJSON() ([]byte, error) { + type NoMethod EnumOperatorOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsDynamiteStorageOpenLink struct { - // AppUri: Represents the platform specific uri/intent to open on each - // client. For example: A companion_url will open in a companion window - // on the web. An iOS URL and android intent will open in the - // corresponding hosting apps. If these platform specific URLs can't be - // handled correctly, i.e. if the companion isn't supported on web and - // the hosting apps aren't available on the mobile platforms then the - // `uri` will open in a new browser window on all the platforms. - AppUri *AppsDynamiteStorageOpenLinkAppUri `json:"appUri,omitempty"` - - // Possible values: - // "NOTHING" - Doesn’t reload the card after the child window - // closes. Reloads the card after the child window closes. If used in - // conjunction with - // [OpenAs.OVERLAY](/workspace/add-ons/reference/rpc/google.apps.card.v1# - // openas), the child window acts as a modal dialog and the main card is - // blocked until the child window closes. - // "RELOAD" - OnClose string `json:"onClose,omitempty"` - - // Possible values: - // "FULL_SIZE" - The link opens as a full size window (if that's the - // frame used by the client. - // "OVERLAY" - The link opens as an overlay, such as a pop-up. - OpenAs string `json:"openAs,omitempty"` - - // Url: The URL to open. - Url string `json:"url,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AppUri") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. +// EnumPropertyOptions: The options for enum properties, which allow you +// to define a restricted set of strings to match user queries, set +// rankings for those string values, and define an operator name to be +// paired with those strings so that users can narrow results to only +// items with a specific value. For example, for items in a request +// tracking system with priority information, you could define *p0* as +// an allowable enum value and tie this enum to the operator name +// *priority* so that search users could add *priority:p0* to their +// query to restrict the set of results to only those items indexed with +// the value *p0*. +type EnumPropertyOptions struct { + // OperatorOptions: If set, describes how the enum should be used as a + // search operator. + OperatorOptions *EnumOperatorOptions `json:"operatorOptions,omitempty"` + + // OrderedRanking: Used to specify the ordered ranking for the + // enumeration that determines how the integer values provided in the + // possible EnumValuePairs are used to rank results. If specified, + // integer values must be provided for all possible EnumValuePair values + // given for this property. Can only be used if isRepeatable is false. + // + // Possible values: + // "NO_ORDER" - There is no ranking order for the property. Results + // aren't adjusted by this property's value. + // "ASCENDING" - This property is ranked in ascending order. Lower + // values indicate lower ranking. + // "DESCENDING" - This property is ranked in descending order. Lower + // values indicate higher ranking. + OrderedRanking string `json:"orderedRanking,omitempty"` + + // PossibleValues: The list of possible values for the enumeration + // property. All EnumValuePairs must provide a string value. If you + // specify an integer value for one EnumValuePair, then all possible + // EnumValuePairs must provide an integer value. Both the string value + // and integer value must be unique over all possible values. Once set, + // possible values cannot be removed or modified. If you supply an + // ordered ranking and think you might insert additional enum values in + // the future, leave gaps in the initial integer values to allow adding + // a value in between previously registered values. The maximum number + // of elements is 100. + PossibleValues []*EnumValuePair `json:"possibleValues,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OperatorOptions") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AppUri") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "OperatorOptions") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageOpenLink) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageOpenLink +func (s *EnumPropertyOptions) MarshalJSON() ([]byte, error) { + type NoMethod EnumPropertyOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageOpenLinkAppUri: Represents the platform specific -// uri/intent to open for each client. -type AppsDynamiteStorageOpenLinkAppUri struct { - // AndroidIntent: An intent object to be opened in the corresponding - // android hosting app. - AndroidIntent *AppsDynamiteStorageOpenLinkAppUriIntent `json:"androidIntent,omitempty"` - - // CompanionUri: A companion uri string to be opened in the chat - // companion window. on the web. - CompanionUri string `json:"companionUri,omitempty"` +// EnumValuePair: The enumeration value pair defines two things: a +// required string value and an optional integer value. The string value +// defines the necessary query term required to retrieve that item, such +// as *p0* for a priority item. The integer value determines the ranking +// of that string value relative to other enumerated values for the same +// property. For example, you might associate *p0* with *0* and define +// another enum pair such as *p1* and *1*. You must use the integer +// value in combination with ordered ranking to set the ranking of a +// given value relative to other enumerated values for the same property +// name. Here, a ranking order of DESCENDING for *priority* properties +// results in a ranking boost for items indexed with a value of *p0* +// compared to items indexed with a value of *p1*. Without a specified +// ranking order, the integer value has no effect on item ranking. +type EnumValuePair struct { + // IntegerValue: The integer value of the EnumValuePair which must be + // non-negative. Optional. + IntegerValue int64 `json:"integerValue,omitempty"` - // IosUri: A uri string to be opened in the corresponding iOS hosting - // app. - IosUri string `json:"iosUri,omitempty"` + // StringValue: The string value of the EnumValuePair. The maximum + // length is 32 characters. + StringValue string `json:"stringValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "AndroidIntent") to + // ForceSendFields is a list of field names (e.g. "IntegerValue") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4857,7 +4269,7 @@ type AppsDynamiteStorageOpenLinkAppUri struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AndroidIntent") to include + // NullFields is a list of field names (e.g. "IntegerValue") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -4866,26 +4278,19 @@ type AppsDynamiteStorageOpenLinkAppUri struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageOpenLinkAppUri) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageOpenLinkAppUri +func (s *EnumValuePair) MarshalJSON() ([]byte, error) { + type NoMethod EnumValuePair raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageOpenLinkAppUriIntent: Android intent. -type AppsDynamiteStorageOpenLinkAppUriIntent struct { - // ExtraData: A list of extra data for the android intent. For example, - // for a calendar event edit intent, the event title information can be - // passed as extra data. - ExtraData []*AppsDynamiteStorageOpenLinkAppUriIntentExtraData `json:"extraData,omitempty"` - - // IntentAction: An android intent action string for the {@link - // android.content.Intent} object. For example: for the view intent - // action type, a valid value will be - // android.content.Intent.ACTION_VIEW. - IntentAction string `json:"intentAction,omitempty"` +// EnumValues: List of enum values. +type EnumValues struct { + // Values: The maximum allowable length for string values is 32 + // characters. + Values []string `json:"values,omitempty"` - // ForceSendFields is a list of field names (e.g. "ExtraData") to + // ForceSendFields is a list of field names (e.g. "Values") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4893,8 +4298,8 @@ type AppsDynamiteStorageOpenLinkAppUriIntent struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ExtraData") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Values") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -4902,22 +4307,17 @@ type AppsDynamiteStorageOpenLinkAppUriIntent struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageOpenLinkAppUriIntent) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageOpenLinkAppUriIntent +func (s *EnumValues) MarshalJSON() ([]byte, error) { + type NoMethod EnumValues raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageOpenLinkAppUriIntentExtraData: Extra data for an -// android intent. Valid keys are defined in the hosting app contract. -type AppsDynamiteStorageOpenLinkAppUriIntentExtraData struct { - // Key: A key for the intent extra data. - Key string `json:"key,omitempty"` - - // Value: Value for the given extra data key. - Value string `json:"value,omitempty"` +// ErrorInfo: Error information about the response. +type ErrorInfo struct { + ErrorMessages []*ErrorMessage `json:"errorMessages,omitempty"` - // ForceSendFields is a list of field names (e.g. "Key") to + // ForceSendFields is a list of field names (e.g. "ErrorMessages") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4925,46 +4325,28 @@ type AppsDynamiteStorageOpenLinkAppUriIntentExtraData struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Key") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "ErrorMessages") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageOpenLinkAppUriIntentExtraData) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageOpenLinkAppUriIntentExtraData +func (s *ErrorInfo) MarshalJSON() ([]byte, error) { + type NoMethod ErrorInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageSelectionInput: A widget that creates a UI item -// (for example, a drop-down list) with options for users to select. -type AppsDynamiteStorageSelectionInput struct { - Items []*AppsDynamiteStorageSelectionInputSelectionItem `json:"items,omitempty"` - - // Label: The label displayed ahead of the switch control. - Label string `json:"label,omitempty"` - - // Name: The name of the text input which is used in formInput. - Name string `json:"name,omitempty"` - - // OnChangeAction: If specified, the form is submitted when the - // selection changes. If not specified, you must specify a separate - // button. - OnChangeAction *AppsDynamiteStorageAction `json:"onChangeAction,omitempty"` +// ErrorMessage: Error message per source response. +type ErrorMessage struct { + ErrorMessage string `json:"errorMessage,omitempty"` - // Possible values: - // "CHECK_BOX" - The selection type is a checkbox. - // "RADIO_BUTTON" - The selection type is a radio button. - // "SWITCH" - The selection type is a switch. - // "DROPDOWN" - The selection type is a dropdown. - // "MULTI_SELECT" - The selection type is multi-select - Type string `json:"type,omitempty"` + Source *Source `json:"source,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") to + // ForceSendFields is a list of field names (e.g. "ErrorMessage") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -4972,37 +4354,49 @@ type AppsDynamiteStorageSelectionInput struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "ErrorMessage") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageSelectionInput) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageSelectionInput +func (s *ErrorMessage) MarshalJSON() ([]byte, error) { + type NoMethod ErrorMessage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageSelectionInputSelectionItem: The item in the -// switch control. A radio button, at most one of the items is selected. -type AppsDynamiteStorageSelectionInputSelectionItem struct { - // Selected: If more than one item is selected for `RADIO_BUTTON` and - // `DROPDOWN`, the first selected item is treated as selected and the - // ones after are ignored. - Selected bool `json:"selected,omitempty"` +// FacetBucket: A bucket in a facet is the basic unit of operation. A +// bucket can comprise either a single value OR a contiguous range of +// values, depending on the type of the field bucketed. FacetBucket is +// currently used only for returning the response object. +type FacetBucket struct { + // Count: Number of results that match the bucket value. Counts are only + // returned for searches when count accuracy is ensured. Cloud Search + // does not guarantee facet counts for any query and facet counts might + // be present only intermittently, even for identical queries. Do not + // build dependencies on facet count existence; instead use facet ount + // percentages which are always returned. + Count int64 `json:"count,omitempty"` - // Text: The text to be displayed. - Text string `json:"text,omitempty"` + // Filter: Filter to be passed in the search request if the + // corresponding bucket is selected. + Filter *Filter `json:"filter,omitempty"` - // Value: The value associated with this item. The client should use - // this as a form input value. - Value string `json:"value,omitempty"` + // Percentage: Percent of results that match the bucket value. The + // returned value is between (0-100], and is rounded down to an integer + // if fractional. If the value is not explicitly returned, it represents + // a percentage value that rounds to 0. Percentages are returned for all + // searches, but are an estimate. Because percentages are always + // returned, you should render percentages instead of counts. + Percentage int64 `json:"percentage,omitempty"` + + Value *Value `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "Selected") to + // ForceSendFields is a list of field names (e.g. "Count") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5010,8 +4404,8 @@ type AppsDynamiteStorageSelectionInputSelectionItem struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Selected") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Count") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -5019,49 +4413,83 @@ type AppsDynamiteStorageSelectionInputSelectionItem struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageSelectionInputSelectionItem) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageSelectionInputSelectionItem +func (s *FacetBucket) MarshalJSON() ([]byte, error) { + type NoMethod FacetBucket raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageSuggestions: A container wrapping elements -// necessary for showing suggestion items used in text input -// autocomplete. -type AppsDynamiteStorageSuggestions struct { - // Items: A list of suggestions items which will be used in are used in - // autocomplete. - Items []*AppsDynamiteStorageSuggestionsSuggestionItem `json:"items,omitempty"` +// FacetOptions: Specifies operators to return facet results for. There +// will be one FacetResult for every +// source_name/object_type/operator_name combination. +type FacetOptions struct { + // IntegerFacetingOptions: If set, describes integer faceting options + // for the given integer property. The corresponding integer property in + // the schema should be marked isFacetable. The number of buckets + // returned would be minimum of this and num_facet_buckets. + IntegerFacetingOptions *IntegerFacetingOptions `json:"integerFacetingOptions,omitempty"` + + // NumFacetBuckets: Maximum number of facet buckets that should be + // returned for this facet. Defaults to 10. Maximum value is 100. + NumFacetBuckets int64 `json:"numFacetBuckets,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ObjectType: If object_type is set, only those objects of that type + // will be used to compute facets. If empty, then all objects will be + // used to compute facets. + ObjectType string `json:"objectType,omitempty"` + + // OperatorName: The name of the operator chosen for faceting. @see + // cloudsearch.SchemaPropertyOptions + OperatorName string `json:"operatorName,omitempty"` + + // SourceName: Source name to facet on. Format: datasources/{source_id} + // If empty, all data sources will be used. + SourceName string `json:"sourceName,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "IntegerFacetingOptions") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "IntegerFacetingOptions") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageSuggestions) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageSuggestions +func (s *FacetOptions) MarshalJSON() ([]byte, error) { + type NoMethod FacetOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageSuggestionsSuggestionItem: A suggestion item. Only -// supports text for now. -type AppsDynamiteStorageSuggestionsSuggestionItem struct { - Text string `json:"text,omitempty"` +// FacetResult: Source specific facet response +type FacetResult struct { + // Buckets: FacetBuckets for values in response containing at least a + // single result with the corresponding filter. + Buckets []*FacetBucket `json:"buckets,omitempty"` + + // ObjectType: Object type for which facet results are returned. Can be + // empty. + ObjectType string `json:"objectType,omitempty"` + + // OperatorName: The name of the operator chosen for faceting. @see + // cloudsearch.SchemaPropertyOptions + OperatorName string `json:"operatorName,omitempty"` + + // SourceName: Source name for which facet results are returned. Will + // not be empty. + SourceName string `json:"sourceName,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // ForceSendFields is a list of field names (e.g. "Buckets") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5069,8 +4497,8 @@ type AppsDynamiteStorageSuggestionsSuggestionItem struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Buckets") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -5078,58 +4506,63 @@ type AppsDynamiteStorageSuggestionsSuggestionItem struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageSuggestionsSuggestionItem) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageSuggestionsSuggestionItem +func (s *FacetResult) MarshalJSON() ([]byte, error) { + type NoMethod FacetResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageTextInput: A text input is a UI item where users -// can input text. A text input can also have an onChange action and -// suggestions. -type AppsDynamiteStorageTextInput struct { - // AutoCompleteAction: The refresh function that returns suggestions - // based on the user's input text. If the callback is not specified, - // autocomplete is done in client side based on the initial suggestion - // items. - AutoCompleteAction *AppsDynamiteStorageAction `json:"autoCompleteAction,omitempty"` - - // HintText: The hint text. - HintText string `json:"hintText,omitempty"` - - // InitialSuggestions: The initial suggestions made before any user - // input. - InitialSuggestions *AppsDynamiteStorageSuggestions `json:"initialSuggestions,omitempty"` +type FieldViolation struct { + // Description: The description of the error. + Description string `json:"description,omitempty"` - // Label: At least one of label and hintText must be specified. - Label string `json:"label,omitempty"` + // Field: Path of field with violation. + Field string `json:"field,omitempty"` - // Name: The name of the text input which is used in formInput. - Name string `json:"name,omitempty"` + // ForceSendFields is a list of field names (e.g. "Description") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // OnChangeAction: The onChange action, for example, invoke a function. - OnChangeAction *AppsDynamiteStorageAction `json:"onChangeAction,omitempty"` + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // Type: The style of the text, for example, a single line or multiple - // lines. - // - // Possible values: - // "SINGLE_LINE" - The text is put into a single line. - // "MULTIPLE_LINE" - The text is put into multiple lines. - Type string `json:"type,omitempty"` +func (s *FieldViolation) MarshalJSON() ([]byte, error) { + type NoMethod FieldViolation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Value: The default value when there is no input from the user. - Value string `json:"value,omitempty"` +// Filter: A generic way of expressing filters in a query, which +// supports two approaches: **1. Setting a ValueFilter.** The name must +// match an operator_name defined in the schema for your data source. +// **2. Setting a CompositeFilter.** The filters are evaluated using the +// logical operator. The top-level operators can only be either an AND +// or a NOT. AND can appear only at the top-most level. OR can appear +// only under a top-level AND. +type Filter struct { + CompositeFilter *CompositeFilter `json:"compositeFilter,omitempty"` - // ForceSendFields is a list of field names (e.g. "AutoCompleteAction") - // to unconditionally include in API requests. By default, fields with + ValueFilter *ValueFilter `json:"valueFilter,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CompositeFilter") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AutoCompleteAction") to + // NullFields is a list of field names (e.g. "CompositeFilter") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -5139,20 +4572,25 @@ type AppsDynamiteStorageTextInput struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageTextInput) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageTextInput +func (s *Filter) MarshalJSON() ([]byte, error) { + type NoMethod Filter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageTextParagraph: A paragraph of text that supports -// formatting. See Text formatting -// (workspace/add-ons/concepts/widgets#text_formatting") for details. -type AppsDynamiteStorageTextParagraph struct { - // Text: The text that's shown in the widget. - Text string `json:"text,omitempty"` +// FilterOptions: Filter options to be applied on query. +type FilterOptions struct { + // Filter: Generic filter to restrict the search, such as `lang:en`, + // `site:xyz`. + Filter *Filter `json:"filter,omitempty"` + + // ObjectType: If object_type is set, only objects of that type are + // returned. This should correspond to the name of the object that was + // registered within the definition of schema. The maximum length is 256 + // characters. + ObjectType string `json:"objectType,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // ForceSendFields is a list of field names (e.g. "Filter") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5160,7 +4598,7 @@ type AppsDynamiteStorageTextParagraph struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API + // NullFields is a list of field names (e.g. "Filter") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -5169,154 +4607,72 @@ type AppsDynamiteStorageTextParagraph struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageTextParagraph) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageTextParagraph +func (s *FilterOptions) MarshalJSON() ([]byte, error) { + type NoMethod FilterOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteStorageWidget: A widget is a UI element that presents -// texts, images, etc. -type AppsDynamiteStorageWidget struct { - // ButtonList: A list of buttons. For example, the following JSON - // creates two buttons. The first is a filled text button and the second - // is an image button that opens a link: ``` "buttonList": { "buttons": - // [ "button": { "text": "Edit", "Color": { "Red": 255 "Green": 255 - // "Blue": 255 } "disabled": true }, "button": { "icon": { "knownIcon": - // "INVITE" "altText": "check calendar" }, "onClick": { "openLink": { - // "url": "https://example.com/calendar" } } }, ] } ``` - ButtonList *AppsDynamiteStorageButtonList `json:"buttonList,omitempty"` - - // Columns: Displays a single row of columns with widgets stacked - // vertically in each column. For example, the following JSON creates a - // 2 column widget each containing a single item. ``` "columns": { - // "wrapStyle": "WRAP", "columnItems": [ { "horizontalSizeStyle": - // "FILL_AVAILABLE_SPACE", "horizontalAlignment": "CENTER", - // "verticalAlignment" : "CENTER", "widgets": [ { "textParagraph": { - // "text": "First column text paragraph", } } ] }, { - // "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", "horizontalAlignment": - // "CENTER", "verticalAlignment" : "CENTER", "widgets": [ { - // "textParagraph": { "text": "Second column text paragraph", } } ] }, ] - // } } ``` - Columns *AppsDynamiteStorageColumns `json:"columns,omitempty"` - - // DateTimePicker: Displays a selection/input widget for date/time. For - // example, the following JSON creates a date/time picker for an - // appointment time: ``` "date_time_picker": { "name": - // "appointment_time", "label": "Book your appointment at:", "type": - // "DateTimePickerType.DATE_AND_TIME", "valueMsEpoch": "796435200000" } - // ``` - DateTimePicker *AppsDynamiteStorageDateTimePicker `json:"dateTimePicker,omitempty"` - - // DecoratedText: Displays a decorated text item in this widget. For - // example, the following JSON creates a decorated text widget showing - // email address: ``` "decoratedText": { "icon": { "knownIcon": "EMAIL" - // }, "topLabel": "Email Address", "content": "heba.salam@example.com", - // "bottomLabel": "This is a new Email address!", "switchWidget": { - // "name": "has_send_welcome_email_to_heba_salam", "selected": false, - // "controlType": "ControlType.CHECKBOX" } } ``` - DecoratedText *AppsDynamiteStorageDecoratedText `json:"decoratedText,omitempty"` - - // Divider: Displays a divider. For example, the following JSON creates - // a divider: ``` "divider": { } ``` - Divider *AppsDynamiteStorageDivider `json:"divider,omitempty"` - - // Grid: Displays a grid with a collection of items. For example, the - // following JSON creates a 2 column grid with a single item: ``` - // "grid": { "title": "A fine collection of items", "numColumns": 2, - // "borderStyle": { "type": "STROKE", "cornerRadius": 4.0 }, "items": [ - // "image": { "imageUri": "https://www.example.com/image.png", - // "cropStyle": { "type": "SQUARE" }, "borderStyle": { "type": "STROKE" - // } }, "title": "An item", "textAlignment": "CENTER" ], "onClick": { - // "openLink": { "url":"https://www.example.com" } } } ``` - Grid *AppsDynamiteStorageGrid `json:"grid,omitempty"` - - // HorizontalAlignment: The horizontal alignment of this widget. - // - // Possible values: - // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Unspecified alignment. - // "START" - Alignment to the start position. - // "CENTER" - Alignment to the center position. - // "END" - Alignment to the end position. - HorizontalAlignment string `json:"horizontalAlignment,omitempty"` - - // Image: Displays an image in this widget. For example, the following - // JSON creates an image with alternative text: ``` "image": { - // "imageUrl": "https://example.com/heba_salam.png" "altText": "Avatar - // for Heba Salam" } ``` - Image *AppsDynamiteStorageImage `json:"image,omitempty"` - - // SelectionInput: Displays a switch control in this widget. For - // example, the following JSON creates a dropdown selection for size: - // ``` "switchControl": { "name": "size", "label": "Size" "type": - // "SelectionType.DROPDOWN", "items": [ { "text": "S", "value": "small", - // "selected": false }, { "text": "M", "value": "medium", "selected": - // true }, { "text": "L", "value": "large", "selected": false }, { - // "text": "XL", "value": "extra_large", "selected": false } ] } ``` - SelectionInput *AppsDynamiteStorageSelectionInput `json:"selectionInput,omitempty"` - - // TextInput: Displays a text input in this widget. For example, the - // following JSON creates a text input for mail address: ``` - // "textInput": { "name": "mailing_address", "label": "Mailing Address" - // } ``` As another example, the following JSON creates a text input for - // programming language with static suggestions: ``` "textInput": { - // "name": "preferred_programing_language", "label": "Preferred - // Language", "initialSuggestions": { "items": [ { "text": "C++" }, { - // "text": "Java" }, { "text": "JavaScript" }, { "text": "Python" } ] } - // } ``` - TextInput *AppsDynamiteStorageTextInput `json:"textInput,omitempty"` - - // TextParagraph: Displays a text paragraph in this widget. For example, - // the following JSON creates a bolded text: ``` "textParagraph": { - // "text": " *bold text*" } ``` - TextParagraph *AppsDynamiteStorageTextParagraph `json:"textParagraph,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ButtonList") to - // unconditionally include in API requests. By default, fields with +// FreshnessOptions: Indicates which freshness property to use when +// adjusting search ranking for an item. Fresher, more recent dates +// indicate higher quality. Use the freshness option property that best +// works with your data. For fileshare documents, last modified time is +// most relevant. For calendar event data, the time when the event +// occurs is a more relevant freshness indicator. In this way, calendar +// events that occur closer to the time of the search query are +// considered higher quality and ranked accordingly. +type FreshnessOptions struct { + // FreshnessDuration: The duration after which an object should be + // considered stale. The default value is 180 days (in seconds). + FreshnessDuration string `json:"freshnessDuration,omitempty"` + + // FreshnessProperty: This property indicates the freshness level of the + // object in the index. If set, this property must be a top-level + // property within the property definitions and it must be a timestamp + // type or date type. Otherwise, the Indexing API uses updateTime as the + // freshness indicator. The maximum length is 256 characters. When a + // property is used to calculate freshness, the value defaults to 2 + // years from the current time. + FreshnessProperty string `json:"freshnessProperty,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FreshnessDuration") + // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ButtonList") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "FreshnessDuration") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteStorageWidget) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteStorageWidget +func (s *FreshnessOptions) MarshalJSON() ([]byte, error) { + type NoMethod FreshnessOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteV1ApiCompatV1Action: Interactive objects inside a -// message. Documentation: - https://api.slack.com/docs/message-buttons -type AppsDynamiteV1ApiCompatV1Action struct { - // Confirm: Confirmation dialog config. - Confirm *AppsDynamiteV1ApiCompatV1ActionConfirm `json:"confirm,omitempty"` - - // Name: Unique identifier for this action. - Name string `json:"name,omitempty"` - - // Style: Button style ("default", "primary", or "danger"). - Style string `json:"style,omitempty"` - - // Text: User-facing label for the action. - Text string `json:"text,omitempty"` +type GSuitePrincipal struct { + // GsuiteDomain: This principal represents all users of the Google + // Workspace domain of the customer. + GsuiteDomain bool `json:"gsuiteDomain,omitempty"` - // Type: Action type - currently only "button". - Type string `json:"type,omitempty"` + // GsuiteGroupEmail: This principal references a Google Workspace group + // name. + GsuiteGroupEmail string `json:"gsuiteGroupEmail,omitempty"` - // Value: Payload for this action. Will be sent to the action handler - // along with name. - Value string `json:"value,omitempty"` + // GsuiteUserEmail: This principal references a Google Workspace user + // account. + GsuiteUserEmail string `json:"gsuiteUserEmail,omitempty"` - // ForceSendFields is a list of field names (e.g. "Confirm") to + // ForceSendFields is a list of field names (e.g. "GsuiteDomain") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5324,36 +4680,71 @@ type AppsDynamiteV1ApiCompatV1Action struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Confirm") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "GsuiteDomain") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteV1ApiCompatV1Action) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteV1ApiCompatV1Action +func (s *GSuitePrincipal) MarshalJSON() ([]byte, error) { + type NoMethod GSuitePrincipal raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteV1ApiCompatV1ActionConfirm: Confirmation dialog config. -type AppsDynamiteV1ApiCompatV1ActionConfirm struct { - // DismissText: "Cancel" button label. - DismissText string `json:"dismiss_text,omitempty"` +type GetCustomerIndexStatsResponse struct { + // AverageIndexedItemCount: Average item count for the given date range + // for which billing is done. + AverageIndexedItemCount int64 `json:"averageIndexedItemCount,omitempty,string"` + + // Stats: Summary of indexed item counts, one for each day in the + // requested range. + Stats []*CustomerIndexStats `json:"stats,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. + // "AverageIndexedItemCount") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AverageIndexedItemCount") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GetCustomerIndexStatsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GetCustomerIndexStatsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // OkText: "OK" button label. - OkText string `json:"ok_text,omitempty"` +type GetCustomerQueryStatsResponse struct { + Stats []*CustomerQueryStats `json:"stats,omitempty"` - // Text: Confirmation dialog body text. - Text string `json:"text,omitempty"` + // TotalQueryCount: Total successful query count (status code 200) for + // the given date range. + TotalQueryCount int64 `json:"totalQueryCount,omitempty,string"` - // Title: Confirmation dialog title. - Title string `json:"title,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "DismissText") to + // ForceSendFields is a list of field names (e.g. "Stats") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5361,87 +4752,68 @@ type AppsDynamiteV1ApiCompatV1ActionConfirm struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DismissText") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Stats") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsDynamiteV1ApiCompatV1ActionConfirm) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteV1ApiCompatV1ActionConfirm +func (s *GetCustomerQueryStatsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GetCustomerQueryStatsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteV1ApiCompatV1Attachment: Richly formatted attachments. -// Documentation: - https://api.slack.com/docs/message-attachments -type AppsDynamiteV1ApiCompatV1Attachment struct { - // Actions: Array of actions (currently only buttons). - Actions []*AppsDynamiteV1ApiCompatV1Action `json:"actions,omitempty"` - - // AttachmentType: Undocumented - used in interactive button examples. - // The only valid value appears to be "default". - AttachmentType string `json:"attachment_type,omitempty"` - - // AuthorIcon: Avatar URL for the user. - AuthorIcon string `json:"author_icon,omitempty"` - - // AuthorLink: URL that the user name should link to. - AuthorLink string `json:"author_link,omitempty"` - - // AuthorName: User name to display as the author of the message. - AuthorName string `json:"author_name,omitempty"` - - // CallbackId: Unique identifier for the collection of buttons within - // this attachment. Will be sent back to the action handler URL when a - // button is clicked. - CallbackId string `json:"callback_id,omitempty"` - - // Color: A color "bar" to display to the left of the attachment. - Color string `json:"color,omitempty"` - - // Fallback: Fallback plain-text string for clients that don't support - // attachments. - Fallback string `json:"fallback,omitempty"` - - // Fields: Columns of text inside the attachment body. - Fields []*AppsDynamiteV1ApiCompatV1Field `json:"fields,omitempty"` - - // Footer: A string displayed at the bottom of the attachment. - Footer string `json:"footer,omitempty"` - - // FooterIcon: Avatar URL displayed to the left of the footer. - FooterIcon string `json:"footer_icon,omitempty"` - - // ImageUrl: URL of an image to display in an image chip. - ImageUrl string `json:"image_url,omitempty"` +// GetCustomerSearchApplicationStatsResponse: Response format for search +// application stats for a customer. +type GetCustomerSearchApplicationStatsResponse struct { + // AverageSearchApplicationCount: Average search application count for + // the given date range. + AverageSearchApplicationCount int64 `json:"averageSearchApplicationCount,omitempty,string"` - // MrkdwnIn: List of fields to apply formatting to. - MrkdwnIn []string `json:"mrkdwn_in,omitempty"` + // Stats: Search application stats by date. + Stats []*CustomerSearchApplicationStats `json:"stats,omitempty"` - // Pretext: A string to show above the attachment. - Pretext string `json:"pretext,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // Text: Main text. - Text string `json:"text,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "AverageSearchApplicationCount") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. + ForceSendFields []string `json:"-"` - // ThumbUrl: URL of a thumbnail image to display to the right of the - // attachment body. - ThumbUrl string `json:"thumb_url,omitempty"` + // NullFields is a list of field names (e.g. + // "AverageSearchApplicationCount") to include in API requests with the + // JSON null value. By default, fields with empty values are omitted + // from API requests. However, any field with an empty value appearing + // in NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} - // Title: Title string of this attachment. - Title string `json:"title,omitempty"` +func (s *GetCustomerSearchApplicationStatsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GetCustomerSearchApplicationStatsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // TitleLink: URL that the title string should link to. - TitleLink string `json:"title_link,omitempty"` +type GetCustomerSessionStatsResponse struct { + Stats []*CustomerSessionStats `json:"stats,omitempty"` - // Ts: UNIX timestamp of the attachment. - Ts int64 `json:"ts,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Actions") to + // ForceSendFields is a list of field names (e.g. "Stats") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5449,8 +4821,8 @@ type AppsDynamiteV1ApiCompatV1Attachment struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Actions") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Stats") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -5458,26 +4830,20 @@ type AppsDynamiteV1ApiCompatV1Attachment struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteV1ApiCompatV1Attachment) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteV1ApiCompatV1Attachment +func (s *GetCustomerSessionStatsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GetCustomerSessionStatsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteV1ApiCompatV1Field: A column of text in an attachment. -// Documentation: - https://api.slack.com/docs/message-attachments -type AppsDynamiteV1ApiCompatV1Field struct { - // Short: Whether the field can be shown side-by-side with another - // field. - Short bool `json:"short,omitempty"` - - // Title: The heading text, shown in bold. - Title string `json:"title,omitempty"` +type GetCustomerUserStatsResponse struct { + Stats []*CustomerUserStats `json:"stats,omitempty"` - // Value: The text value of the field. - Value string `json:"value,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Short") to + // ForceSendFields is a list of field names (e.g. "Stats") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5485,7 +4851,7 @@ type AppsDynamiteV1ApiCompatV1Field struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Short") to include in API + // NullFields is a list of field names (e.g. "Stats") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -5494,52 +4860,65 @@ type AppsDynamiteV1ApiCompatV1Field struct { NullFields []string `json:"-"` } -func (s *AppsDynamiteV1ApiCompatV1Field) MarshalJSON() ([]byte, error) { - type NoMethod AppsDynamiteV1ApiCompatV1Field +func (s *GetCustomerUserStatsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GetCustomerUserStatsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup struct { - AddonAttachments []*AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment `json:"addonAttachments,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AddonAttachments") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. +type GetDataSourceIndexStatsResponse struct { + // AverageIndexedItemCount: Average item count for the given date range + // for which billing is done. + AverageIndexedItemCount int64 `json:"averageIndexedItemCount,omitempty,string"` + + // Stats: Summary of indexed item counts, one for each day in the + // requested range. + Stats []*DataSourceIndexStats `json:"stats,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. + // "AverageIndexedItemCount") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AddonAttachments") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the + // NullFields is a list of field names (e.g. "AverageIndexedItemCount") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` } -func (s *AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup) MarshalJSON() ([]byte, error) { - type NoMethod AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup +func (s *GetDataSourceIndexStatsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GetDataSourceIndexStatsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment struct { - // IconUrl: Link to the resource's icon. - IconUrl string `json:"iconUrl,omitempty"` - - // MimeType: MIME type of the content in resource_url. - MimeType string `json:"mimeType,omitempty"` +// GetSearchApplicationQueryStatsResponse: Response format for getting +// query stats for a search application between given dates. +type GetSearchApplicationQueryStatsResponse struct { + // Stats: Query stats per date for a search application. + Stats []*SearchApplicationQueryStats `json:"stats,omitempty"` - ResourceUrl string `json:"resourceUrl,omitempty"` + // TotalQueryCount: Total successful query count (status code 200) for + // the given date range. + TotalQueryCount int64 `json:"totalQueryCount,omitempty,string"` - // Title: Title of the attachment. - Title string `json:"title,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "IconUrl") to + // ForceSendFields is a list of field names (e.g. "Stats") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5547,8 +4926,8 @@ type AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAdd // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "IconUrl") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Stats") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -5556,42 +4935,50 @@ type AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAdd NullFields []string `json:"-"` } -func (s *AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment) MarshalJSON() ([]byte, error) { - type NoMethod AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment +func (s *GetSearchApplicationQueryStatsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GetSearchApplicationQueryStatsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup: -// Markup that defines conference data associated to a Google Calendar -// event. -type AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup struct { - // ConferenceId: Unique identifier for this conference data. Maximum 512 - // characters long. - ConferenceId string `json:"conferenceId,omitempty"` +type GetSearchApplicationSessionStatsResponse struct { + Stats []*SearchApplicationSessionStats `json:"stats,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ConferenceSolutionId: An identifier of the conferencing solution. - // Must match a value from the deployment's - // `calendar.conferenceSolution.id` field. - ConferenceSolutionId string `json:"conferenceSolutionId,omitempty"` + // ForceSendFields is a list of field names (e.g. "Stats") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // EntryPoints: Entry points to the conference. Maximum 300 entry points - // are allowed. - EntryPoints []*AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPointMarkup `json:"entryPoints,omitempty"` + // NullFields is a list of field names (e.g. "Stats") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // Error: If set, it means an error occurred during conference creation. - Error *AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupError `json:"error,omitempty"` +func (s *GetSearchApplicationSessionStatsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GetSearchApplicationSessionStatsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Note: Additional notes (such as instructions from the administrator, - // legal notices) to display to the user. Can contain HTML. Max length - // 2048 characters. - Note string `json:"note,omitempty"` +type GetSearchApplicationUserStatsResponse struct { + Stats []*SearchApplicationUserStats `json:"stats,omitempty"` - // Parameters: Additional add-on parameters. Maximum 300 parameters are - // allowed. - Parameters []*AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupParameter `json:"parameters,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "ConferenceId") to + // ForceSendFields is a list of field names (e.g. "Stats") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5599,81 +4986,77 @@ type AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ConferenceId") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Stats") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup) MarshalJSON() ([]byte, error) { - type NoMethod AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup +func (s *GetSearchApplicationUserStatsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GetSearchApplicationUserStatsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntr -// yPointMarkup: A way to join the conference. -type AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPointMarkup struct { - // AccessCode: An access code for accessing the conference. Maximum 128 - // characters long. - AccessCode string `json:"accessCode,omitempty"` +// GoogleDocsMetadata: The corpus specific metadata for office-type +// documents, from Google Docs and other sources. This message is passed +// to the scorer and beyond. Next tag: 9 +type GoogleDocsMetadata struct { + // AclInfo: Contains number of users and groups which can access the + // document. + AclInfo *AclInfo `json:"aclInfo,omitempty"` - // Features: Features of the entry point, such as being toll or - // toll-free. One entry point can have multiple features. + // DocumentType: The conceptual type (presentation, document, etc.) of + // this document. // // Possible values: - // "UNKNOWN_FEATURE" - Unknown feature. - // "TOLL" - Applies to `PHONE` entry point. A call to a toll number is - // charged to the calling party. A number can't be toll and toll-free at - // the same time. - // "TOLL_FREE" - Applies to `PHONE` entry point. For the calling - // party, a call to a toll-free number is free of charge. A number can't - // be toll and toll-free at the same time. - Features []string `json:"features,omitempty"` - - // Label: The label of the entry point to display to the user. Maximum - // 512 characters long. - Label string `json:"label,omitempty"` - - // MeetingCode: A meeting code for accessing the conference. Maximum 128 - // characters long. - MeetingCode string `json:"meetingCode,omitempty"` + // "UNKNOWN" - If the type is unknown or not represented in this enum. + // "DOCUMENT" - Writely, Word, etc. + // "PRESENTATION" - Presently, PowerPoint, etc. + // "SPREADSHEET" - Trix, Excel, etc. + // "PDF" - File types for Gdrive objects are below. + // "IMAGE" + // "BINARY_BLOB" - Fall-back for unknown Gdrive types. + // "FUSION_TABLE" + // "FOLDER" + // "DRAWING" + // "VIDEO" + // "FORM" + // "DRAFT_SITE" - For Atari page and site drafts + // "DRAFT_SITE_PAGE" + // "JAM" - Jamboard Jams (go/jam) + // "SHORTCUT" - Drive Shortcuts (go/shortcuts) + // "SCRIPT" + DocumentType string `json:"documentType,omitempty"` - // Passcode: A passcode for accessing the conference. Maximum 128 - // characters long. - Passcode string `json:"passcode,omitempty"` + // FileExtension: The file extension of the document. NOTE: As of + // October 2018 this field is not backfilled for old documents. + FileExtension string `json:"fileExtension,omitempty"` - // Password: A password for accessing the conference. Maximum 128 - // characters long. - Password string `json:"password,omitempty"` + // LastContentModifiedTimestamp: The last time this document was + // modified, in seconds since epoch. Only counts content modifications. + LastContentModifiedTimestamp int64 `json:"lastContentModifiedTimestamp,omitempty,string"` - // Pin: A PIN for accessing the conference. Maximum 128 characters long. - Pin string `json:"pin,omitempty"` + // NumSubscribers: Contains number of subscribers for the document. + NumSubscribers int64 `json:"numSubscribers,omitempty"` - // RegionCode: The CLDR/ISO 3166 region code for the country associated - // with this entry point. Applicable only to `Type.PHONE`. - RegionCode string `json:"regionCode,omitempty"` + // NumViewers: Size of untruncated viewers list. + NumViewers int64 `json:"numViewers,omitempty"` - // Type: The type of the entry point. Required. - // - // Possible values: - // "UNKNOWN" - Unknown conference type. - // "VIDEO" - A video conference. - // "PHONE" - A phone conference. - // "MORE" - Used to provide a link to further conference joining - // information. - // "SIP" - A conference using [Session Initiation - // Protocol](https://en.wikipedia.org/wiki/Session_Initiation_Protocol) - Type string `json:"type,omitempty"` + // ResultInfo: Additional per-result information, akin to Gmail's + // SingleThreadResponse. Note: GWS no longer seems to use this field, + // but there's still one reference to it for Scribe, so we can't remove + // it. + ResultInfo *GoogleDocsResultInfo `json:"resultInfo,omitempty"` - // Uri: A URI for joining the conference. Supports tel: and http(s): and - // should be at most 1300 characters long. Required. - Uri string `json:"uri,omitempty"` + // TypeInfo: Contains additional information about the document + // depending on its type. + TypeInfo *TypeInfo `json:"typeInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "AccessCode") to + // ForceSendFields is a list of field names (e.g. "AclInfo") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5681,7 +5064,7 @@ type AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPoin // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AccessCode") to include in + // NullFields is a list of field names (e.g. "AclInfo") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -5690,43 +5073,53 @@ type AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPoin NullFields []string `json:"-"` } -func (s *AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPointMarkup) MarshalJSON() ([]byte, error) { - type NoMethod AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPointMarkup +func (s *GoogleDocsMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleDocsMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupErro -// r: Represents an error that occurred during conference creation. -type AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupError struct { - // AuthenticationUrl: If the error type is `AUTHENTICATION`, the add-on - // can provide a URL allowing users to log in. Maximum 1300 characters - // long. - AuthenticationUrl string `json:"authenticationUrl,omitempty"` +// GoogleDocsResultInfo: A message containing information about a +// specific result. This information is passed to the scorer and beyond; +// in particular, GWS relies on it to format the result in the UI. Split +// from GoogleDocsMetadata in case we later want to reuse the message. +type GoogleDocsResultInfo struct { + // AttachmentSha1: The SHA1 hash of the object in Drive, if any. + AttachmentSha1 string `json:"attachmentSha1,omitempty"` - // Type: The type of error. Required. - // - // Possible values: - // "UNKNOWN" - Unknown error. - // "AUTHENTICATION" - An authentication error. - // "TEMPORARY" - A temporary error. - // "PERMANENT" - A permanent error. - // "PERMISSION_DENIED" - The user isn't allowed to perform some action - // in the third-party conferencing system. - // "CONFERENCE_SOLUTION_FORBIDDEN" - The user isn't allowed to use the - // selected conference solution (but might be allowed to use other - // solutions offered by the add-on). - Type string `json:"type,omitempty"` + // CosmoId: The storage identifier for the object in Cosmo. This field + // is intended to used by Stratus/Moonshine integration only. It should + // not be exposed externally (please refer to encrypted_id for that + // purpose). + CosmoId *Id `json:"cosmoId,omitempty"` - // ForceSendFields is a list of field names (e.g. "AuthenticationUrl") - // to unconditionally include in API requests. By default, fields with + // CosmoNameSpace: For Cosmo objects, the Cosmo namespace the object was + // in. This allows downstream clients to identify whether a document was + // created in Writely or Kix, Presently or Punch, or whether it was + // uploaded from GDrive. See storage_cosmo.Id.NAME_SPACE for a list of + // all Cosmo name spaces. + CosmoNameSpace int64 `json:"cosmoNameSpace,omitempty"` + + // EncryptedId: The encrypted (user-visible) id of this object. Knowing + // the id is sufficient to create a canonical URL for this document. + EncryptedId string `json:"encryptedId,omitempty"` + + // MimeType: The mimetype of the document. + MimeType string `json:"mimeType,omitempty"` + + // ShareScope: The visibility indicator in the UI will be based upon + // this. + ShareScope *ShareScope `json:"shareScope,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AttachmentSha1") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AuthenticationUrl") to + // NullFields is a list of field names (e.g. "AttachmentSha1") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -5736,26 +5129,28 @@ type AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupError str NullFields []string `json:"-"` } -func (s *AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupError) MarshalJSON() ([]byte, error) { - type NoMethod AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupError +func (s *GoogleDocsResultInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleDocsResultInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupPara -// meter: Solution-specific parameters that are persisted with the event -// data and, if an update or delete is needed, are passed to the add-on. -// For example: `[{key: 'sessionKey', value: '123'}, {key: 'meetingId', -// value: '456'}]` -type AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupParameter struct { - // Key: The key of the parameter. Maximum 50 characters long. Required. - Key string `json:"key,omitempty"` - - // Value: The value of the parameter. Maximum 1024 characters long. - // Required. - Value string `json:"value,omitempty"` +// HtmlOperatorOptions: Used to provide a search operator for html +// properties. This is optional. Search operators let users restrict the +// query to specific fields relevant to the type of item being searched. +type HtmlOperatorOptions struct { + // OperatorName: Indicates the operator name required in the query in + // order to isolate the html property. For example, if operatorName is + // *subject* and the property's name is *subjectLine*, then queries like + // *subject:* show results only where the value of the property + // named *subjectLine* matches **. By contrast, a search that + // uses the same ** without an operator return all items where + // ** matches the value of any html properties or text within the + // content field for the item. The operator name can only contain + // lowercase letters (a-z). The maximum length is 32 characters. + OperatorName string `json:"operatorName,omitempty"` - // ForceSendFields is a list of field names (e.g. "Key") to + // ForceSendFields is a list of field names (e.g. "OperatorName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5763,35 +5158,41 @@ type AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupParameter // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Key") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "OperatorName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupParameter) MarshalJSON() ([]byte, error) { - type NoMethod AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupParameter +func (s *HtmlOperatorOptions) MarshalJSON() ([]byte, error) { + type NoMethod HtmlOperatorOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup struct { - // AddAttendeeEmails: A list of attendees to add to the Google Calendar - // event. - AddAttendeeEmails []string `json:"addAttendeeEmails,omitempty"` +// HtmlPropertyOptions: The options for html properties. +type HtmlPropertyOptions struct { + // OperatorOptions: If set, describes how the property should be used as + // a search operator. + OperatorOptions *HtmlOperatorOptions `json:"operatorOptions,omitempty"` + + // RetrievalImportance: Indicates the search quality importance of the + // tokens within the field when used for retrieval. Can only be set to + // DEFAULT or NONE. + RetrievalImportance *RetrievalImportance `json:"retrievalImportance,omitempty"` - // ForceSendFields is a list of field names (e.g. "AddAttendeeEmails") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "OperatorOptions") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AddAttendeeEmails") to + // NullFields is a list of field names (e.g. "OperatorOptions") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -5801,18 +5202,19 @@ type AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup str NullFields []string `json:"-"` } -func (s *AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup) MarshalJSON() ([]byte, error) { - type NoMethod AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup +func (s *HtmlPropertyOptions) MarshalJSON() ([]byte, error) { + type NoMethod HtmlPropertyOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup struct { - // ConferenceData: The conference data to add to the Google Calendar - // event. - ConferenceData *AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup `json:"conferenceData,omitempty"` +// HtmlValues: List of html values. +type HtmlValues struct { + // Values: The maximum allowable length for html values is 2048 + // characters. + Values []string `json:"values,omitempty"` - // ForceSendFields is a list of field names (e.g. "ConferenceData") to + // ForceSendFields is a list of field names (e.g. "Values") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5820,94 +5222,52 @@ type AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarku // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ConferenceData") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Values") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup) MarshalJSON() ([]byte, error) { - type NoMethod AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup +func (s *HtmlValues) MarshalJSON() ([]byte, error) { + type NoMethod HtmlValues raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Attachment: Attachments that follow the message text. -type Attachment struct { - // AddOnData: Revised version of Gmail AddOn attachment approved by API - // design review. - AddOnData *GoogleChatV1ContextualAddOnMarkup `json:"addOnData,omitempty"` - - // AppId: The userId for the bot/app that created this data, to be used - // for attribution of attachments when the attachment was not created by - // the message sender. - AppId *UserId `json:"appId,omitempty"` - - // AttachmentId: To identify an attachment within repeated in a message - AttachmentId string `json:"attachmentId,omitempty"` - - // CardAddOnData: Card AddOn attachment with the possibility for - // specifying editable widgets. - CardAddOnData *AppsDynamiteStorageCard `json:"cardAddOnData,omitempty"` - - // ComponentSearchInfo: Contains additional metadata that further - // enhance the annotation when it is returned as part of search - // response. For example, this can be used to define how the attachment - // matches the search. Information can be used to highlight in rendering - // search results. The following are the different attachment text - // fields that are covered by this field: 1. - // ContextualAddOn.Card.CardHeader.title 2. - // CardItem.CardItemHeader.title - ComponentSearchInfo *AppsDynamiteSharedMessageComponentSearchInfo `json:"componentSearchInfo,omitempty"` - - // DeprecatedAddOnData: Deprecated version of Gmail AddOn attachment. - DeprecatedAddOnData *ContextualAddOnMarkup `json:"deprecatedAddOnData,omitempty"` - - // SlackData: Slack attachment. - SlackData *AppsDynamiteV1ApiCompatV1Attachment `json:"slackData,omitempty"` - - // SlackDataImageUrlHeight: The height of image url as fetched by fife. - // This field is asynchronously filled. - SlackDataImageUrlHeight int64 `json:"slackDataImageUrlHeight,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AddOnData") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AddOnData") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Attachment) MarshalJSON() ([]byte, error) { - type NoMethod Attachment - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} +// Id: Identifies a particular object, including both Users and +// DirEntries. This Id is unique across the entire server instance, such +// as the production or qa instance. +type Id struct { + // CreatorUserId: The User account in which the DirEntry was originally + // created. If name_space==GAIA, then it's the gaia_id of the user this + // id is referring to. This field should really be called the "bucket + // ID", not the creator ID. In some circumstances, such as copying a + // Google Docs file, a user can create an item in a different user's + // bucket, so it should not be relied upon for anything other than + // bucket location. To look up the requesting user who initially created + // item, use the `creator_id` DirEntry field instead. + CreatorUserId uint64 `json:"creatorUserId,omitempty,string"` -// Attribute: An Attribute is a piece of data attached an Item. -// Attributes are opaque to the Starbox and have no effect on, nor are -// they effected by, message storage, indexing, or search. -type Attribute struct { - // Name: The name of the attribute. Required - If a write is attempted - // with an empty string, the server will return an error. - Name string `json:"name,omitempty"` + // LocalId: The local identifier for the DirEntry (local to the + // creator's account). local_id + app_name is guaranteed to be unique + // within the creator account, but not across all User accounts. The + // string is case sensitive. Ignore if name_space==GAIA. NB For + // name_space==COSMO, all local_id's should be defined in + // google3/java/com/google/storage/cosmo/server/api/SpecialObjectIds.java + // as they have a special predefined meaning. See + // cosmo.client.CosmoIdFactory.createObjectId(long,String) for IMPORTANT + // recommendations when generating IDs. + LocalId string `json:"localId,omitempty"` - Value *CaribouAttributeValue `json:"value,omitempty"` + // NameSpace: The name space in which this id is unique (typically the + // application that created it). Values should be drawn from the above + // enum, but for experimentation, use values greater than 1000. + NameSpace int64 `json:"nameSpace,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // ForceSendFields is a list of field names (e.g. "CreatorUserId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5915,64 +5275,76 @@ type Attribute struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Name") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "CreatorUserId") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *Attribute) MarshalJSON() ([]byte, error) { - type NoMethod Attribute +func (s *Id) MarshalJSON() ([]byte, error) { + type NoMethod Id raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AttributeRemoved: An attribute was deleted from some (subset of the) -// messages in this thread. -type AttributeRemoved struct { - AttributeId string `json:"attributeId,omitempty"` - - MessageKeys []*MultiKey `json:"messageKeys,omitempty"` +type IndexItemOptions struct { + // AllowUnknownGsuitePrincipals: Specifies if the index request should + // allow Google Workspace principals that do not exist or are deleted. + AllowUnknownGsuitePrincipals bool `json:"allowUnknownGsuitePrincipals,omitempty"` - // ForceSendFields is a list of field names (e.g. "AttributeId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "AllowUnknownGsuitePrincipals") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AttributeId") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. + // "AllowUnknownGsuitePrincipals") to include in API requests with the + // JSON null value. By default, fields with empty values are omitted + // from API requests. However, any field with an empty value appearing + // in NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *AttributeRemoved) MarshalJSON() ([]byte, error) { - type NoMethod AttributeRemoved +func (s *IndexItemOptions) MarshalJSON() ([]byte, error) { + type NoMethod IndexItemOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AttributeSet: An attribute was added to some (subset of the) messages -// in this thread. -type AttributeSet struct { - AttributeId string `json:"attributeId,omitempty"` +type IndexItemRequest struct { + // ConnectorName: The name of connector making this call. Format: + // datasources/{source_id}/connectors/{ID} + ConnectorName string `json:"connectorName,omitempty"` + + // DebugOptions: Common debug options. + DebugOptions *DebugOptions `json:"debugOptions,omitempty"` + + IndexItemOptions *IndexItemOptions `json:"indexItemOptions,omitempty"` - // AttributeValue: The serialized attribute_value as persisted in the - // storage layer. The application is responsible for deserializing it to - // an Attribute.Value if appropriate. - AttributeValue string `json:"attributeValue,omitempty"` + // Item: The name of the item. Format: + // datasources/{source_id}/items/{item_id} + Item *Item `json:"item,omitempty"` - MessageKeys []*MultiKey `json:"messageKeys,omitempty"` + // Mode: Required. The RequestMode for this request. + // + // Possible values: + // "UNSPECIFIED" - The priority is not specified in the update + // request. Leaving priority unspecified results in an update failure. + // "SYNCHRONOUS" - For real-time updates. + // "ASYNCHRONOUS" - For changes that are executed after the response + // is sent back to the caller. + Mode string `json:"mode,omitempty"` - // ForceSendFields is a list of field names (e.g. "AttributeId") to + // ForceSendFields is a list of field names (e.g. "ConnectorName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -5980,7 +5352,7 @@ type AttributeSet struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AttributeId") to include + // NullFields is a list of field names (e.g. "ConnectorName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -5989,67 +5361,34 @@ type AttributeSet struct { NullFields []string `json:"-"` } -func (s *AttributeSet) MarshalJSON() ([]byte, error) { - type NoMethod AttributeSet +func (s *IndexItemRequest) MarshalJSON() ([]byte, error) { + type NoMethod IndexItemRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type Attributes struct { - Attribute []*Attribute `json:"attribute,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Attribute") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Attribute") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Attributes) MarshalJSON() ([]byte, error) { - type NoMethod Attributes - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +// InitializeCustomerRequest: Request message for `InitializeCustomer` +// method. +type InitializeCustomerRequest struct { } -// AuditLoggingSettings: Represents the settings for Cloud audit logging -type AuditLoggingSettings struct { - // LogAdminReadActions: Indicates whether audit logging is on/off for - // admin activity read APIs i.e. Get/List DataSources, Get/List - // SearchApplications etc. - LogAdminReadActions bool `json:"logAdminReadActions,omitempty"` - - // LogDataReadActions: Indicates whether audit logging is on/off for - // data access read APIs i.e. ListItems, GetItem etc. - LogDataReadActions bool `json:"logDataReadActions,omitempty"` - - // LogDataWriteActions: Indicates whether audit logging is on/off for - // data access write APIs i.e. IndexItem etc. - LogDataWriteActions bool `json:"logDataWriteActions,omitempty"` - - // Project: The resource name of the GCP Project to store audit logs. - // Cloud audit logging will be enabled after project_name has been - // updated through CustomerService. Format: projects/{project_id} - Project string `json:"project,omitempty"` +// IntegerFacetingOptions: Used to specify integer faceting options. +type IntegerFacetingOptions struct { + // IntegerBuckets: Buckets for given integer values should be in + // strictly ascending order. For example, if values supplied are + // (1,5,10,100), the following facet buckets will be formed {<1, [1,5), + // [5-10), [10-100), >=100}. + IntegerBuckets googleapi.Int64s `json:"integerBuckets,omitempty"` - // ForceSendFields is a list of field names (e.g. "LogAdminReadActions") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "IntegerBuckets") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LogAdminReadActions") to + // NullFields is a list of field names (e.g. "IntegerBuckets") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -6059,80 +5398,139 @@ type AuditLoggingSettings struct { NullFields []string `json:"-"` } -func (s *AuditLoggingSettings) MarshalJSON() ([]byte, error) { - type NoMethod AuditLoggingSettings +func (s *IntegerFacetingOptions) MarshalJSON() ([]byte, error) { + type NoMethod IntegerFacetingOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AuthorizedItemId: A combination of an identifier for a Drive resource -// (e.g. file, folder, or drive) and any secrets needed to access it. -// The secrets should never be logged, and this proto annotates those -// secret fields to ensure that they are not. Clients are encouraged to -// use this proto rather than defining their own, to ensure that secrets -// are correctly annotated. -type AuthorizedItemId struct { - // Id: Serialized ID of the Drive resource - Id string `json:"id,omitempty"` +// IntegerOperatorOptions: Used to provide a search operator for integer +// properties. This is optional. Search operators let users restrict the +// query to specific fields relevant to the type of item being searched. +type IntegerOperatorOptions struct { + // GreaterThanOperatorName: Indicates the operator name required in the + // query in order to isolate the integer property using the greater-than + // operator. For example, if greaterThanOperatorName is *priorityabove* + // and the property's name is *priorityVal*, then queries like + // *priorityabove:* show results only where the value of the + // property named *priorityVal* is greater than **. The operator + // name can only contain lowercase letters (a-z). The maximum length is + // 32 characters. + GreaterThanOperatorName string `json:"greaterThanOperatorName,omitempty"` + + // LessThanOperatorName: Indicates the operator name required in the + // query in order to isolate the integer property using the less-than + // operator. For example, if lessThanOperatorName is *prioritybelow* and + // the property's name is *priorityVal*, then queries like + // *prioritybelow:* show results only where the value of the + // property named *priorityVal* is less than **. The operator + // name can only contain lowercase letters (a-z). The maximum length is + // 32 characters. + LessThanOperatorName string `json:"lessThanOperatorName,omitempty"` - // ResourceKey: Resource key of the Drive item. This field should be - // unset if, depending on the context, the item does not have a resource - // key, or if none was specified. This must never be logged. - ResourceKey string `json:"resourceKey,omitempty"` + // OperatorName: Indicates the operator name required in the query in + // order to isolate the integer property. For example, if operatorName + // is *priority* and the property's name is *priorityVal*, then queries + // like *priority:* show results only where the value of the + // property named *priorityVal* matches **. By contrast, a search + // that uses the same ** without an operator returns all items + // where ** matches the value of any String properties or text + // within the content field for the item. The operator name can only + // contain lowercase letters (a-z). The maximum length is 32 characters. + OperatorName string `json:"operatorName,omitempty"` - // ForceSendFields is a list of field names (e.g. "Id") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "GreaterThanOperatorName") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Id") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "GreaterThanOperatorName") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *AuthorizedItemId) MarshalJSON() ([]byte, error) { - type NoMethod AuthorizedItemId +func (s *IntegerOperatorOptions) MarshalJSON() ([]byte, error) { + type NoMethod IntegerOperatorOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AutoComplete struct { - Items []*AutoCompleteItem `json:"items,omitempty"` +// IntegerPropertyOptions: The options for integer properties. +type IntegerPropertyOptions struct { + // IntegerFacetingOptions: If set, describes integer faceting options + // for the given integer property. The corresponding integer property + // should be marked isFacetable. + IntegerFacetingOptions *IntegerFacetingOptions `json:"integerFacetingOptions,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // MaximumValue: The maximum value of the property. The minimum and + // maximum values for the property are used to rank results according to + // the ordered ranking. Indexing requests with values greater than the + // maximum are accepted and ranked with the same weight as items indexed + // with the maximum value. + MaximumValue int64 `json:"maximumValue,omitempty,string"` - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // MinimumValue: The minimum value of the property. The minimum and + // maximum values for the property are used to rank results according to + // the ordered ranking. Indexing requests with values less than the + // minimum are accepted and ranked with the same weight as items indexed + // with the minimum value. + MinimumValue int64 `json:"minimumValue,omitempty,string"` + + // OperatorOptions: If set, describes how the integer should be used as + // a search operator. + OperatorOptions *IntegerOperatorOptions `json:"operatorOptions,omitempty"` + + // OrderedRanking: Used to specify the ordered ranking for the integer. + // Can only be used if isRepeatable is false. + // + // Possible values: + // "NO_ORDER" - There is no ranking order for the property. Results + // are not adjusted by this property's value. + // "ASCENDING" - This property is ranked in ascending order. Lower + // values indicate lower ranking. + // "DESCENDING" - This property is ranked in descending order. Lower + // values indicate higher ranking. + OrderedRanking string `json:"orderedRanking,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "IntegerFacetingOptions") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "IntegerFacetingOptions") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *AutoComplete) MarshalJSON() ([]byte, error) { - type NoMethod AutoComplete +func (s *IntegerPropertyOptions) MarshalJSON() ([]byte, error) { + type NoMethod IntegerPropertyOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type AutoCompleteItem struct { - Text string `json:"text,omitempty"` +// IntegerValues: List of integer values. +type IntegerValues struct { + Values googleapi.Int64s `json:"values,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // ForceSendFields is a list of field names (e.g. "Values") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -6140,7 +5538,7 @@ type AutoCompleteItem struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API + // NullFields is a list of field names (e.g. "Values") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -6149,49 +5547,37 @@ type AutoCompleteItem struct { NullFields []string `json:"-"` } -func (s *AutoCompleteItem) MarshalJSON() ([]byte, error) { - type NoMethod AutoCompleteItem +func (s *IntegerValues) MarshalJSON() ([]byte, error) { + type NoMethod IntegerValues raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// BabelMessageProps: Container for Babel (Hangouts Classic) only -// message properties. The properties here will not be consumed by -// Dynamite clients. They are relevant only for Hangouts Classic. -type BabelMessageProps struct { - // ClientGeneratedId: Babel clients locally generate this ID to dedupe - // against the async fanout. - ClientGeneratedId int64 `json:"clientGeneratedId,omitempty,string"` - - // ContentExtension: Stores additional Babel-specific properties (such - // as event metadata). - ContentExtension *ChatContentExtension `json:"contentExtension,omitempty"` - - // DeliveryMedium: Stores the delivery source of messages (such as phone - // number for SMS). - DeliveryMedium *DeliveryMedium `json:"deliveryMedium,omitempty"` - - // EventId: Primary identifier used by Hangouts Classic for its events - // (messages). - EventId string `json:"eventId,omitempty"` +// Interaction: Represents an interaction between a user and an item. +type Interaction struct { + // InteractionTime: The time when the user acted on the item. If + // multiple actions of the same type exist for a single user, only the + // most recent action is recorded. + InteractionTime string `json:"interactionTime,omitempty"` - // MessageContent: Stores message segments (text content) and - // attachments (media URLs). - MessageContent *ChatConserverMessageContent `json:"messageContent,omitempty"` + // Principal: The user that acted on the item. + Principal *Principal `json:"principal,omitempty"` - // WasUpdatedByBackfill: Whether or not these message properties were - // backfilled by go/dinnertrain. - WasUpdatedByBackfill bool `json:"wasUpdatedByBackfill,omitempty"` + // Possible values: + // "UNSPECIFIED" - Invalid value. + // "VIEW" - This interaction indicates the user viewed the item. + // "EDIT" - This interaction indicates the user edited the item. + Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "ClientGeneratedId") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "InteractionTime") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ClientGeneratedId") to + // NullFields is a list of field names (e.g. "InteractionTime") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -6201,62 +5587,73 @@ type BabelMessageProps struct { NullFields []string `json:"-"` } -func (s *BabelMessageProps) MarshalJSON() ([]byte, error) { - type NoMethod BabelMessageProps +func (s *Interaction) MarshalJSON() ([]byte, error) { + type NoMethod Interaction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// BabelPlaceholderMetadata: Annotation metadata for Babel-only items -// that signals which type of placeholder message should be displayed in -// Babel clients. -type BabelPlaceholderMetadata struct { - DeleteMetadata *DeleteMetadata `json:"deleteMetadata,omitempty"` +// Item: Represents a single object that is an item in the search index, +// such as a file, folder, or a database record. +type Item struct { + // Acl: Access control list for this item. + Acl *ItemAcl `json:"acl,omitempty"` - EditMetadata *EditMetadata `json:"editMetadata,omitempty"` + // Content: Item content to be indexed and made text searchable. + Content *ItemContent `json:"content,omitempty"` - HangoutVideoMetadata *HangoutVideoEventMetadata `json:"hangoutVideoMetadata,omitempty"` + // ItemType: The type for this item. + // + // Possible values: + // "UNSPECIFIED" + // "CONTENT_ITEM" - An item that is indexed for the only purpose of + // serving information. These items cannot be referred in containerName + // or inheritAclFrom fields. + // "CONTAINER_ITEM" - An item that gets indexed and whose purpose is + // to supply other items with ACLs and/or contain other items. + // "VIRTUAL_CONTAINER_ITEM" - An item that does not get indexed, but + // otherwise has the same purpose as CONTAINER_ITEM. + ItemType string `json:"itemType,omitempty"` - // ForceSendFields is a list of field names (e.g. "DeleteMetadata") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // Metadata: The metadata information. + Metadata *ItemMetadata `json:"metadata,omitempty"` - // NullFields is a list of field names (e.g. "DeleteMetadata") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} + // Name: The name of the Item. Format: + // datasources/{source_id}/items/{item_id} This is a required field. The + // maximum length is 1536 characters. + Name string `json:"name,omitempty"` -func (s *BabelPlaceholderMetadata) MarshalJSON() ([]byte, error) { - type NoMethod BabelPlaceholderMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // Payload: Additional state connector can store for this item. The + // maximum length is 10000 bytes. + Payload string `json:"payload,omitempty"` -// BooleanOperatorOptions: Used to provide a search operator for boolean -// properties. This is optional. Search operators let users restrict the -// query to specific fields relevant to the type of item being searched. -type BooleanOperatorOptions struct { - // OperatorName: Indicates the operator name required in the query in - // order to isolate the boolean property. For example, if operatorName - // is *closed* and the property's name is *isClosed*, then queries like - // *closed:* show results only where the value of the property - // named *isClosed* matches **. By contrast, a search that uses - // the same ** without an operator returns all items where - // ** matches the value of any String properties or text within - // the content field for the item. The operator name can only contain - // lowercase letters (a-z). The maximum length is 32 characters. - OperatorName string `json:"operatorName,omitempty"` + // Queue: Queue this item belongs to. The maximum length is 100 + // characters. + Queue string `json:"queue,omitempty"` - // ForceSendFields is a list of field names (e.g. "OperatorName") to + // Status: Status of the item. Output only field. + Status *ItemStatus `json:"status,omitempty"` + + // StructuredData: The structured data for the item that should conform + // to a registered object definition in the schema for the data source. + StructuredData *ItemStructuredData `json:"structuredData,omitempty"` + + // Version: Required. The indexing system stores the version from the + // datasource as a byte string and compares the Item version in the + // index to the version of the queued Item using lexical ordering. Cloud + // Search Indexing won't index or delete any queued item with a version + // value that is less than or equal to the version of the currently + // indexed item. The maximum length for this field is 1024 bytes. For + // information on how item version affects the deletion process, refer + // to Handle revisions after manual deletes + // (https://developers.google.com/cloud-search/docs/guides/operations). + Version string `json:"version,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Acl") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -6264,36 +5661,84 @@ type BooleanOperatorOptions struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OperatorName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Acl") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *BooleanOperatorOptions) MarshalJSON() ([]byte, error) { - type NoMethod BooleanOperatorOptions +func (s *Item) MarshalJSON() ([]byte, error) { + type NoMethod Item raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// BooleanPropertyOptions: The options for boolean properties. -type BooleanPropertyOptions struct { - // OperatorOptions: If set, describes how the boolean should be used as - // a search operator. - OperatorOptions *BooleanOperatorOptions `json:"operatorOptions,omitempty"` +// ItemAcl: Access control list information for the item. For more +// information see Map ACLs +// (https://developers.google.com/cloud-search/docs/guides/acls). +type ItemAcl struct { + // AclInheritanceType: Sets the type of access rules to apply when an + // item inherits its ACL from a parent. This should always be set in + // tandem with the inheritAclFrom field. Also, when the inheritAclFrom + // field is set, this field should be set to a valid AclInheritanceType. + // + // Possible values: + // "NOT_APPLICABLE" - The default value when this item does not + // inherit an ACL. Use NOT_APPLICABLE when inheritAclFrom is empty. An + // item without ACL inheritance can still have ACLs supplied by its own + // readers and deniedReaders fields. + // "CHILD_OVERRIDE" - During an authorization conflict, the ACL of the + // child item determines its read access. + // "PARENT_OVERRIDE" - During an authorization conflict, the ACL of + // the parent item specified in the inheritAclFrom field determines read + // access. + // "BOTH_PERMIT" - Access is granted only if this item and the parent + // item specified in the inheritAclFrom field both permit read access. + AclInheritanceType string `json:"aclInheritanceType,omitempty"` - // ForceSendFields is a list of field names (e.g. "OperatorOptions") to - // unconditionally include in API requests. By default, fields with + // DeniedReaders: List of principals who are explicitly denied access to + // the item in search results. While principals are denied access by + // default, use denied readers to handle exceptions and override the + // list allowed readers. The maximum number of elements is 100. + DeniedReaders []*Principal `json:"deniedReaders,omitempty"` + + // InheritAclFrom: The name of the item to inherit the Access Permission + // List (ACL) from. Note: ACL inheritance *only* provides access + // permissions to child items and does not define structural + // relationships, nor does it provide convenient ways to delete large + // groups of items. Deleting an ACL parent from the index only alters + // the access permissions of child items that reference the parent in + // the inheritAclFrom field. The item is still in the index, but may not + // visible in search results. By contrast, deletion of a container item + // also deletes all items that reference the container via the + // containerName field. The maximum length for this field is 1536 + // characters. + InheritAclFrom string `json:"inheritAclFrom,omitempty"` + + // Owners: Optional. List of owners for the item. This field has no + // bearing on document access permissions. It does, however, offer a + // slight ranking boosts items where the querying user is an owner. The + // maximum number of elements is 5. + Owners []*Principal `json:"owners,omitempty"` + + // Readers: List of principals who are allowed to see the item in search + // results. Optional if inheriting permissions from another item or if + // the item is not intended to be visible, such as virtual containers. + // The maximum number of elements is 1000. + Readers []*Principal `json:"readers,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AclInheritanceType") + // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OperatorOptions") to + // NullFields is a list of field names (e.g. "AclInheritanceType") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -6303,136 +5748,45 @@ type BooleanPropertyOptions struct { NullFields []string `json:"-"` } -func (s *BooleanPropertyOptions) MarshalJSON() ([]byte, error) { - type NoMethod BooleanPropertyOptions +func (s *ItemAcl) MarshalJSON() ([]byte, error) { + type NoMethod ItemAcl raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// BorderStyle: Represents a complete border style that can be applied -// to widgets. -type BorderStyle struct { - // CornerRadius: The corner radius for the border. - CornerRadius int64 `json:"cornerRadius,omitempty"` - - // StrokeColor: The colors to use when the type is STROKE. - StrokeColor string `json:"strokeColor,omitempty"` +// ItemContent: Content of an item to be indexed and surfaced by Cloud +// Search. Only UTF-8 encoded strings are allowed as inlineContent. If +// the content is uploaded and not binary, it must be UTF-8 encoded. +type ItemContent struct { + // ContentDataRef: Upload reference ID of a previously uploaded content + // via write method. + ContentDataRef *UploadItemRef `json:"contentDataRef,omitempty"` - // Type: The border type. - // // Possible values: - // "BORDER_TYPE_NOT_SET" - No value specified. - // "NO_BORDER" - No border. - // "STROKE" - Outline. - Type string `json:"type,omitempty"` + // "UNSPECIFIED" - Invalid value. + // "HTML" - contentFormat is HTML. + // "TEXT" - contentFormat is free text. + // "RAW" - contentFormat is raw bytes. + ContentFormat string `json:"contentFormat,omitempty"` - // ForceSendFields is a list of field names (e.g. "CornerRadius") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "CornerRadius") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *BorderStyle) MarshalJSON() ([]byte, error) { - type NoMethod BorderStyle - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// BotInfo: Bot-specific profile information. -type BotInfo struct { - // Possible values: - // "UNSPECIFIED_STATUS" - // "ALLOWED" - // "ALL_APPS_DISABLED_BY_ADMIN" - For both ALL_APPS_DISABLED_BY_ADMIN - // and APP_NOT_ALLOWLISTED_BY_ADMIN, the app should still be visible in - // the catalog, but usage of the app will be disabled. Indicates that - // all apps have been disabled by the dasher admin. - // "APP_NOT_ALLOWLISTED_BY_ADMIN" - Indicates that the customer is - // using allowlisting, but that the bot is not allowlisted. - AppAllowlistStatus string `json:"appAllowlistStatus,omitempty"` - - // AppId: Identifier of the application associated with the bot. - AppId *AppId `json:"appId,omitempty"` - - // BotAvatarUrl: URL for the avatar picture of the User in dynamite. - // This field should be populated if the request is - // FetchBotCategories/ListBotCatalogEntries - BotAvatarUrl string `json:"botAvatarUrl,omitempty"` - - // BotName: Non-unique, user-defined display name of the Bot. This field - // should be populated if the request is - // FetchBotCategories/ListBotCatalogEntries. - BotName string `json:"botName,omitempty"` - - // Description: Short description for the bot. - Description string `json:"description,omitempty"` - - // DeveloperName: Name of bot developer. - DeveloperName string `json:"developerName,omitempty"` - - // MarketPlaceBannerUrl: URL for the banner image in GSuite Market - // Place. The banner will be 220x140. - MarketPlaceBannerUrl string `json:"marketPlaceBannerUrl,omitempty"` - - // Status: Indicates whether bot is enabled/disabled. - // - // Possible values: - // "UNKNOWN_STATUS" - // "ENABLED" - // "DISABLED_BY_DEVELOPER" - Bot has been disabled by the bot - // developer. No one can @mention or interact with the bot. - Status string `json:"status,omitempty"` - - // SupportHomeScreen: If the app supports a home screen. - SupportHomeScreen bool `json:"supportHomeScreen,omitempty"` - - // SupportUrls: Urls with additional information related to the bot. - // This field should always be set even if all the fields within it are - // empty, so that it is convenient for clients to work with this field - // in javascript. - SupportUrls *SupportUrls `json:"supportUrls,omitempty"` - - // SupportedUses: The supported uses are limited according to the user - // that made the request. If the user does not have permission to use - // the bot, the list will be empty. This could occur for non whitelisted - // bots in the catalog. - // - // Possible values: - // "UNKNOWN" - // "CAN_ADD_TO_DM" - // "CAN_ADD_TO_ROOM" - // "CAN_ADD_TO_HUMAN_DM" - SupportedUses []string `json:"supportedUses,omitempty"` + // Hash: Hashing info calculated and provided by the API client for + // content. Can be used with the items.push method to calculate modified + // state. The maximum length is 2048 characters. + Hash string `json:"hash,omitempty"` - // UninstallCapability: Determine how uninstall is permitted for this - // app. - // - // Possible values: - // "UNSPECIFIED_UNINSTALL_CAPABILITY" - Defaults to ALWAYS_ALLOWED. - // "ALWAYS_ALLOWED" - // "NEVER_ALLOWED" - UninstallCapability string `json:"uninstallCapability,omitempty"` + // InlineContent: Content that is supplied inlined within the update + // method. The maximum length is 102400 bytes (100 KiB). + InlineContent string `json:"inlineContent,omitempty"` - // ForceSendFields is a list of field names (e.g. "AppAllowlistStatus") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "ContentDataRef") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AppAllowlistStatus") to + // NullFields is a list of field names (e.g. "ContentDataRef") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -6442,41 +5796,39 @@ type BotInfo struct { NullFields []string `json:"-"` } -func (s *BotInfo) MarshalJSON() ([]byte, error) { - type NoMethod BotInfo +func (s *ItemContent) MarshalJSON() ([]byte, error) { + type NoMethod ItemContent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// BotResponse: Information about a bot response, branched from -// shared/bot_response.proto without frontend User proto as we never -// store it. -type BotResponse struct { - BotId *UserId `json:"botId,omitempty"` +type ItemCountByStatus struct { + // Count: Number of items matching the status code. + Count int64 `json:"count,omitempty,string"` - // Possible values: - // "UNKNOWN_SETUP_TYPE" - // "CONFIGURATION" - Bot requires configuration. - // "AUTHENTICATION" - Bot requires authentication. - RequiredAction string `json:"requiredAction,omitempty"` + // IndexedItemsCount: Number of items matching the status code for which + // billing is done. This excludes virtual container items from the total + // count. This count would not be applicable for items with ERROR or + // NEW_ITEM status code. + IndexedItemsCount int64 `json:"indexedItemsCount,omitempty,string"` + // StatusCode: Status of the items. + // // Possible values: - // "UNKNOWN_RESPONSE_TYPE" - // "ERROR" - Bot fails to respond because of deadline_exceeded or - // failing to parse bot message. - // "SETUP_REQUIRED" - Bot requires auth or config - // "DISABLED_BY_ADMIN" - Bot fails to respond because it is disabled - // by domain admin - // "DISABLED_BY_DEVELOPER" - Bot fails to respond because it is - // disabled by the bot's developer - // "PRIVATE" - Message to bot should be permanently private. - // "APP_SUGGESTION" - A suggestion to promote an app. - ResponseType string `json:"responseType,omitempty"` - - // SetupUrl: URL for setting up bot. - SetupUrl string `json:"setupUrl,omitempty"` - - // ForceSendFields is a list of field names (e.g. "BotId") to + // "CODE_UNSPECIFIED" - Input-only value. Used with Items.list to list + // all items in the queue, regardless of status. + // "ERROR" - Error encountered by Cloud Search while processing this + // item. Details of the error are in repositoryError. + // "MODIFIED" - Item has been modified in the repository, and is out + // of date with the version previously accepted into Cloud Search. + // "NEW_ITEM" - Item is known to exist in the repository, but is not + // yet accepted by Cloud Search. An item can be in this state when + // Items.push has been called for an item of this name that did not + // exist previously. + // "ACCEPTED" - API has accepted the up-to-date data of this item. + StatusCode string `json:"statusCode,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Count") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -6484,7 +5836,7 @@ type BotResponse struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BotId") to include in API + // NullFields is a list of field names (e.g. "Count") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -6493,32 +5845,82 @@ type BotResponse struct { NullFields []string `json:"-"` } -func (s *BotResponse) MarshalJSON() ([]byte, error) { - type NoMethod BotResponse +func (s *ItemCountByStatus) MarshalJSON() ([]byte, error) { + type NoMethod ItemCountByStatus raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// BroadcastAccess: Broadcast access information of a meeting space. -type BroadcastAccess struct { - // AccessPolicy: The policy that controls the broadcast's viewer access. - // - // Possible values: - // "BROADCASTING_ACCESS_POLICY_UNSPECIFIED" - Used only when broadcast - // is not enabled, or an unknown enum value is used. - // "ORGANIZATION" - Only authenticated Google accounts belonging to - // the same organization as the meeting organizer can access the - // broadcast. - // "PUBLIC" - Anyone with the broadcast view URL can access the - // broadcast. - AccessPolicy string `json:"accessPolicy,omitempty"` - - // ViewUrl: A URL that can be used to access the broadcast of the - // meeting. This field will be empty if broadcast is not enabled. It - // will be populated by the backend. Clients cannot modify the value. - ViewUrl string `json:"viewUrl,omitempty"` +// ItemMetadata: Available metadata fields for the item. +type ItemMetadata struct { + // ContainerName: The name of the container for this item. Deletion of + // the container item leads to automatic deletion of this item. Note: + // ACLs are not inherited from a container item. To provide ACL + // inheritance for an item, use the inheritAclFrom field. The maximum + // length is 1536 characters. + ContainerName string `json:"containerName,omitempty"` + + // ContentLanguage: The BCP-47 language code for the item, such as + // "en-US" or "sr-Latn". For more information, see + // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. The + // maximum length is 32 characters. + ContentLanguage string `json:"contentLanguage,omitempty"` + + // ContextAttributes: A set of named attributes associated with the + // item. This can be used for influencing the ranking of the item based + // on the context in the request. The maximum number of elements is 10. + ContextAttributes []*ContextAttribute `json:"contextAttributes,omitempty"` + + // CreateTime: The time when the item was created in the source + // repository. + CreateTime string `json:"createTime,omitempty"` + + // Hash: Hashing value provided by the API caller. This can be used with + // the items.push method to calculate modified state. The maximum length + // is 2048 characters. + Hash string `json:"hash,omitempty"` + + // Interactions: A list of interactions for the item. Interactions are + // used to improve Search quality, but are not exposed to end users. The + // maximum number of elements is 1000. + Interactions []*Interaction `json:"interactions,omitempty"` + + // Keywords: Additional keywords or phrases that should match the item. + // Used internally for user generated content. The maximum number of + // elements is 100. The maximum length is 8192 characters. + Keywords []string `json:"keywords,omitempty"` + + // MimeType: The original mime-type of ItemContent.content in the source + // repository. The maximum length is 256 characters. + MimeType string `json:"mimeType,omitempty"` + + // ObjectType: The type of the item. This should correspond to the name + // of an object definition in the schema registered for the data source. + // For example, if the schema for the data source contains an object + // definition with name 'document', then item indexing requests for + // objects of that type should set objectType to 'document'. The maximum + // length is 256 characters. + ObjectType string `json:"objectType,omitempty"` + + // SearchQualityMetadata: Additional search quality metadata of the item + SearchQualityMetadata *SearchQualityMetadata `json:"searchQualityMetadata,omitempty"` + + // SourceRepositoryUrl: Link to the source repository serving the data. + // Seach results apply this link to the title. Whitespace or special + // characters may cause Cloud Seach result links to trigger a redirect + // notice; to avoid this, encode the URL. The maximum length is 2048 + // characters. + SourceRepositoryUrl string `json:"sourceRepositoryUrl,omitempty"` + + // Title: The title of the item. If given, this will be the displayed + // title of the Search result. The maximum length is 2048 characters. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "AccessPolicy") to + // UpdateTime: The time when the item was last modified in the source + // repository. + UpdateTime string `json:"updateTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ContainerName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -6526,7 +5928,7 @@ type BroadcastAccess struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AccessPolicy") to include + // NullFields is a list of field names (e.g. "ContainerName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -6535,87 +5937,105 @@ type BroadcastAccess struct { NullFields []string `json:"-"` } -func (s *BroadcastAccess) MarshalJSON() ([]byte, error) { - type NoMethod BroadcastAccess +func (s *ItemMetadata) MarshalJSON() ([]byte, error) { + type NoMethod ItemMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// BroadcastSessionInfo: Information about a broadcast session. -type BroadcastSessionInfo struct { - // BroadcastSessionId: A unique server-generated ID for the broadcast - // session. - BroadcastSessionId string `json:"broadcastSessionId,omitempty"` - - // BroadcastStats: Output only. Current broadcast session's statistics. - BroadcastStats *BroadcastStats `json:"broadcastStats,omitempty"` +// ItemStatus: This contains item's status and any errors. +type ItemStatus struct { + // Code: Status code. + // + // Possible values: + // "CODE_UNSPECIFIED" - Input-only value. Used with Items.list to list + // all items in the queue, regardless of status. + // "ERROR" - Error encountered by Cloud Search while processing this + // item. Details of the error are in repositoryError. + // "MODIFIED" - Item has been modified in the repository, and is out + // of date with the version previously accepted into Cloud Search. + // "NEW_ITEM" - Item is known to exist in the repository, but is not + // yet accepted by Cloud Search. An item can be in this state when + // Items.push has been called for an item of this name that did not + // exist previously. + // "ACCEPTED" - API has accepted the up-to-date data of this item. + Code string `json:"code,omitempty"` - // IngestionId: Input only. Deprecated field, should not be used. - IngestionId string `json:"ingestionId,omitempty"` + // ProcessingErrors: Error details in case the item is in ERROR state. + ProcessingErrors []*ProcessingError `json:"processingErrors,omitempty"` - // SessionStateInfo: Broadcast session's state information. - SessionStateInfo *SessionStateInfo `json:"sessionStateInfo,omitempty"` + // RepositoryErrors: Repository error reported by connector. + RepositoryErrors []*RepositoryError `json:"repositoryErrors,omitempty"` - // ForceSendFields is a list of field names (e.g. "BroadcastSessionId") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Code") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BroadcastSessionId") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Code") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *BroadcastSessionInfo) MarshalJSON() ([]byte, error) { - type NoMethod BroadcastSessionInfo +func (s *ItemStatus) MarshalJSON() ([]byte, error) { + type NoMethod ItemStatus raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// BroadcastStats: Statistics of the broadcast session. -type BroadcastStats struct { - // EstimatedViewerCount: Estimated concurrent viewer count. - EstimatedViewerCount int64 `json:"estimatedViewerCount,omitempty,string"` +// ItemStructuredData: Available structured data fields for the item. +type ItemStructuredData struct { + // Hash: Hashing value provided by the API caller. This can be used with + // the items.push method to calculate modified state. The maximum length + // is 2048 characters. + Hash string `json:"hash,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "EstimatedViewerCount") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. + // Object: The structured data object that should conform to a + // registered object definition in the schema for the data source. + Object *StructuredDataObject `json:"object,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Hash") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EstimatedViewerCount") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Hash") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *BroadcastStats) MarshalJSON() ([]byte, error) { - type NoMethod BroadcastStats +func (s *ItemStructuredData) MarshalJSON() ([]byte, error) { + type NoMethod ItemStructuredData raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type Button struct { - ImageButton *ImageButton `json:"imageButton,omitempty"` +type ListDataSourceResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` + + Sources []*DataSource `json:"sources,omitempty"` - TextButton *TextButton `json:"textButton,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "ImageButton") to + // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -6623,7 +6043,7 @@ type Button struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ImageButton") to include + // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -6632,288 +6052,58 @@ type Button struct { NullFields []string `json:"-"` } -func (s *Button) MarshalJSON() ([]byte, error) { - type NoMethod Button +func (s *ListDataSourceResponse) MarshalJSON() ([]byte, error) { + type NoMethod ListDataSourceResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type CalendarClientActionMarkup struct { - // AddAttachmentsActionMarkup: An action that adds attachments to the - // Google Calendar event. - AddAttachmentsActionMarkup *AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup `json:"addAttachmentsActionMarkup,omitempty"` +type ListItemNamesForUnmappedIdentityResponse struct { + ItemNames []string `json:"itemNames,omitempty"` - // EditAttendeesActionMarkup: An action that adds attendees to the - // Google Calendar event. - EditAttendeesActionMarkup *AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup `json:"editAttendeesActionMarkup,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // EditConferenceDataActionMarkup: An action that adds conference data - // to the Google Calendar event. - EditConferenceDataActionMarkup *AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup `json:"editConferenceDataActionMarkup,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. - // "AddAttachmentsActionMarkup") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. + // ForceSendFields is a list of field names (e.g. "ItemNames") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "AddAttachmentsActionMarkup") to include in API requests with the - // JSON null value. By default, fields with empty values are omitted - // from API requests. However, any field with an empty value appearing - // in NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. + // NullFields is a list of field names (e.g. "ItemNames") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *CalendarClientActionMarkup) MarshalJSON() ([]byte, error) { - type NoMethod CalendarClientActionMarkup +func (s *ListItemNamesForUnmappedIdentityResponse) MarshalJSON() ([]byte, error) { + type NoMethod ListItemNamesForUnmappedIdentityResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// CallInfo: Contains information regarding an ongoing conference (aka -// call) for a meeting space. -type CallInfo struct { - // AbuseReportingConfig: Abuse reporting configuration for the ongoing - // conference. - AbuseReportingConfig *AbuseReportingConfig `json:"abuseReportingConfig,omitempty"` - - // ArtifactOwner: Output only. Display name of the owner of artifacts - // generated in this conference. The expected use of this in clients is - // to present info like "This recording will be sent to John Doe's - // Drive". This field can be empty if preferred display name - // determination fails for any reason. - ArtifactOwner *UserDisplayInfo `json:"artifactOwner,omitempty"` +type ListItemsResponse struct { + Items []*Item `json:"items,omitempty"` - // AttachedDocuments: Output only. Documents attached to an ongoing - // conference. - AttachedDocuments []*DocumentInfo `json:"attachedDocuments,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // AvailableAccessTypes: List of available access types of the - // conference. - // - // Possible values: - // "ACCESS_TYPE_UNSPECIFIED" - Default value. This value is unused. - // "ACCESS_TYPE_OPEN" - Anyone with meeting join information (url, - // phone access...) can join, no knocking required. (Subject to - // organization policies) - // "ACCESS_TYPE_TRUSTED" - Members of the Host's organization, invited - // external users, and dial-in users can join without knocking, everyone - // else must knock. (Subject to organization policies) - // "ACCESS_TYPE_RESTRICTED" - Only participants invited by a host can - // automatically join, everyone else must knock and be admitted. - // (Subject to organization policies) Participants cannot dial out from - // the meeting. And only hosts can accept knocks. - // "ACCESS_TYPE_CLOSED" - Only participants invited by a host can - // join. Knocking is not allowed, dial in and dial out are also - // disabled. - AvailableAccessTypes []string `json:"availableAccessTypes,omitempty"` - - // AvailableAnnotationToolTypes: Available screen annotation tool types. - // - // Possible values: - // "ANNOTATION_TOOL_TYPE_UNSPECIFIED" - Annotation tool type - // unspecified. - // "ANNOTATION_TOOL_CLEAR_ALL" - Clears all annotations. - // "ANNOTATION_TOOL_LINE" - Draws vector lines. - // "ANNOTATION_TOOL_MAGIC_ERASER" - Deletes elements that are touched. - // "ANNOTATION_TOOL_PEN" - Draws freeform strokes. - // "ANNOTATION_TOOL_SHAPE" - Draws simple vector shapes (such as - // rectangles or ellipses). - // "ANNOTATION_TOOL_TEXT_BOX" - Allows adding/editing text at this - // location. - AvailableAnnotationToolTypes []string `json:"availableAnnotationToolTypes,omitempty"` - - // AvailableReactions: Output only. The set of reactions that clients - // are allowed to send and can expect to receive. Note that a device in - // the conference should have the MAY_SEND_REACTIONS privilege to be - // able to send reactions. - AvailableReactions []*ReactionInfo `json:"availableReactions,omitempty"` - - // BroadcastSessionInfo: Information about active broadcast session in - // the ongoing conference. - BroadcastSessionInfo *BroadcastSessionInfo `json:"broadcastSessionInfo,omitempty"` - - // CalendarEventId: Output only. The calendar event ID of a Google - // Calendar event that the meeting space is associated with. If the - // meeting space is not associated with an event in Google Calendar, - // this field is empty. For recurring events, it refers to the recurring - // instance associated with the current call, as determined by the + // ServerResponse contains the HTTP response code and headers from the // server. - CalendarEventId string `json:"calendarEventId,omitempty"` - - // CoActivity: The current co-activity session, or unset if there is - // none in progress. A co-activity session can be initiated by devices - // in JOINED state . Initiator of the co-activity is expected to - // populate this field to start the session. Once clients detect that - // the co-activity has finished, any JOINED device can clear this field - // to end the co-activity session. In the case of switching activities, - // the initiator of the new activity merely needs to override this with - // the new co-activity data, and all connected clients are expected to - // handle the transition gracefully. - CoActivity *CoActivity `json:"coActivity,omitempty"` - - // Collaboration: The current collaboration session, or unset if no - // collaboration is in progress. - Collaboration *Collaboration `json:"collaboration,omitempty"` - - // CseInfo: CSE information for the ongoing conference. - CseInfo *CseInfo `json:"cseInfo,omitempty"` - - // MaxJoinedDevices: Output only. The maximum number of devices that may - // be in the joined state simultaneously in this conference. This can be - // used by clients to guess whether it will be possible to join, but the - // only way to know is to try to join. It can also be used to inform - // users about the limit that is in effect. This limit is normally set - // when the conference is created and not changed during the lifetime of - // the conference. But there are some cases where it may change, so - // clients should be aware that the information may be stale. - MaxJoinedDevices int64 `json:"maxJoinedDevices,omitempty"` - - // OrganizationName: Output only. The name or description of the - // organization or domain that the organizer belongs to. The expected - // use of this in clients is to present messages like "John Doe (outside - // of Google.com) is trying to join this call", where "Google.com" is - // the organization name. The field will be empty if the organization - // name could not be determined, possibly because of a backend error. - OrganizationName string `json:"organizationName,omitempty"` - - // PaygateInfo: Paygate information to clients. - PaygateInfo *PaygateInfo `json:"paygateInfo,omitempty"` - - // Presenter: The current presenter in the call, or unset if there is no - // current presenter. Clients can set this to change the presenter. - Presenter *Presenter `json:"presenter,omitempty"` - - // RecordingInfo: Deprecated, use RecordingSessionInfo instead. Info - // about recording for this conference. This will always be set in - // server responses, with a valid recording status. This is superseded - // by streaming_sessions field, which contains the same information - // about this recording as well as additional information about other - // application type at the same time. This will be deprecated and - // removed at some point. - RecordingInfo *RecordingInfo `json:"recordingInfo,omitempty"` - - // RecordingSessionInfo: Information about active recording session in - // the ongoing conference. - RecordingSessionInfo *RecordingSessionInfo `json:"recordingSessionInfo,omitempty"` - - // Settings: Settings of the ongoing conference. - Settings *CallSettings `json:"settings,omitempty"` - - // StreamingSessions: Output only. Info about streaming sessions - // (recording or broadcast) for this conference. This should contain all - // active sessions. Currently, it's guaranteed to have at most one - // recording and at most one broadcast (at most two sessions in total). - // For each application type (recording or broadcast), latest inactive - // session is included if there's no active one. - StreamingSessions []*StreamingSessionInfo `json:"streamingSessions,omitempty"` - - // TranscriptionSessionInfo: Information about active transcription - // session in the ongoing conference. - TranscriptionSessionInfo *TranscriptionSessionInfo `json:"transcriptionSessionInfo,omitempty"` - - // ViewerCount: The number of devices viewing the conference - - // MeetingDevices that are in VIEWER role and JOINED state in the - // conference. - ViewerCount int64 `json:"viewerCount,omitempty"` - - // YouTubeBroadcastSessionInfos: Information about active YouTube - // broadcast sessions in the ongoing conference. - YouTubeBroadcastSessionInfos []*YouTubeBroadcastSessionInfo `json:"youTubeBroadcastSessionInfos,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "AbuseReportingConfig") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AbuseReportingConfig") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *CallInfo) MarshalJSON() ([]byte, error) { - type NoMethod CallInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// CallSettings: Effective settings of the ongoing conference. -type CallSettings struct { - // AccessLock: Indicates whether the access lock is currently on or off. - AccessLock bool `json:"accessLock,omitempty"` - - // AccessType: The current access type of the conference. - // - // Possible values: - // "ACCESS_TYPE_UNSPECIFIED" - Default value. This value is unused. - // "ACCESS_TYPE_OPEN" - Anyone with meeting join information (url, - // phone access...) can join, no knocking required. (Subject to - // organization policies) - // "ACCESS_TYPE_TRUSTED" - Members of the Host's organization, invited - // external users, and dial-in users can join without knocking, everyone - // else must knock. (Subject to organization policies) - // "ACCESS_TYPE_RESTRICTED" - Only participants invited by a host can - // automatically join, everyone else must knock and be admitted. - // (Subject to organization policies) Participants cannot dial out from - // the meeting. And only hosts can accept knocks. - // "ACCESS_TYPE_CLOSED" - Only participants invited by a host can - // join. Knocking is not allowed, dial in and dial out are also - // disabled. - AccessType string `json:"accessType,omitempty"` - - // AllowJoiningBeforeHost: Whether users can join this conference before - // a host (Host or Cohost). - AllowJoiningBeforeHost bool `json:"allowJoiningBeforeHost,omitempty"` - - // AttendanceReportEnabled: Indicates whether the attendance report is - // currently enabled or disabled. - AttendanceReportEnabled bool `json:"attendanceReportEnabled,omitempty"` - - // AudioLock: Indicates whether the audio lock is currently on or off. - AudioLock bool `json:"audioLock,omitempty"` - - // ChatLock: Indicates whether the chat lock is currently on or off. - ChatLock bool `json:"chatLock,omitempty"` - - // CoActivityLock: Indicates whether the co-activity lock is currently - // on or off. - CoActivityLock bool `json:"coActivityLock,omitempty"` - - // CseEnabled: Whether Client-side Encryption is enabled for this - // conference. - CseEnabled bool `json:"cseEnabled,omitempty"` - - // ModerationEnabled: Indicates whether moderation is currently on or - // off. - ModerationEnabled bool `json:"moderationEnabled,omitempty"` - - // PresentLock: Indicates whether the present lock is currently on or - // off. - PresentLock bool `json:"presentLock,omitempty"` - - // ReactionsLock: Indicates whether the reactions lock is currently on - // or off. - ReactionsLock bool `json:"reactionsLock,omitempty"` - - // VideoLock: Indicates whether the video lock is currently on or off. - VideoLock bool `json:"videoLock,omitempty"` + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "AccessLock") to + // ForceSendFields is a list of field names (e.g. "Items") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -6921,8 +6111,8 @@ type CallSettings struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AccessLock") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Items") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -6930,75 +6120,27 @@ type CallSettings struct { NullFields []string `json:"-"` } -func (s *CallSettings) MarshalJSON() ([]byte, error) { - type NoMethod CallSettings - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// CapTokenHolderProto: Represents a principal which possesses a -// particular secret string whose cryptographic hash is specified here. -// CapTokens ("Capability Tokens") are used in ACLProto. It's expected -// that ACLs with CapTokenHolders will strongly enforce them by -// Keystore-wrapping crypto keys for the corresponding CapTokens. -type CapTokenHolderProto struct { - // TokenHmacSha1Prefix: The hash of the corresponding capability token. - // The value is defined to be identical to the one in acl.proto's - // CapTokenMetadata: 10-byte prefix of HMAC-SHA1 of the token. The HMAC - // key is the following fixed (non-secret) 512-bit value: 79b1c8f4 - // 82baf523 b8a9ab4a e960f438 c45be041 11f1f222 e8a3f64d aeb05e3d - // c3576acc ec649194 aede422c 4e48e0d1 ff21234a a6ed6b49 a7fa592e - // efd7bba3 - TokenHmacSha1Prefix string `json:"tokenHmacSha1Prefix,omitempty"` - - // ForceSendFields is a list of field names (e.g. "TokenHmacSha1Prefix") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "TokenHmacSha1Prefix") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *CapTokenHolderProto) MarshalJSON() ([]byte, error) { - type NoMethod CapTokenHolderProto +func (s *ListItemsResponse) MarshalJSON() ([]byte, error) { + type NoMethod ListItemsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type Card struct { - CardActions []*CardAction `json:"cardActions,omitempty"` - - // Possible values: - // "DISPLAY_STYLE_UNSPECIFIED" - // "PEEK" - // "REPLACE" - DisplayStyle string `json:"displayStyle,omitempty"` - - FixedFooter *FixedFooter `json:"fixedFooter,omitempty"` - - Header *CardHeader `json:"header,omitempty"` - - // Name: Name of the card used in CardNavigation.pop_to_card_name. - Name string `json:"name,omitempty"` +// ListOperationsResponse: The response message for +// Operations.ListOperations. +type ListOperationsResponse struct { + // NextPageToken: The standard List next-page token. + NextPageToken string `json:"nextPageToken,omitempty"` - // PeekCardHeader: When displaying contextual content, the peek card - // header acts as a placeholder so that the user can navigate forward - // between the homepage cards and the contextual cards. - PeekCardHeader *CardHeader `json:"peekCardHeader,omitempty"` + // Operations: A list of operations that matches the specified filter in + // the request. + Operations []*Operation `json:"operations,omitempty"` - Sections []*Section `json:"sections,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "CardActions") to + // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7006,7 +6148,7 @@ type Card struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CardActions") to include + // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -7015,23 +6157,23 @@ type Card struct { NullFields []string `json:"-"` } -func (s *Card) MarshalJSON() ([]byte, error) { - type NoMethod Card +func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) { + type NoMethod ListOperationsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// CardAction: When an AddOn Card is shown in detailed view, a card -// action is the action associated with the card. For an invoice card, a -// typical action would be: delete invoice, email invoice or open the -// invoice in browser. -type CardAction struct { - // ActionLabel: The label used to be displayed in the action menu item. - ActionLabel string `json:"actionLabel,omitempty"` +// ListQuerySourcesResponse: List sources response. +type ListQuerySourcesResponse struct { + NextPageToken string `json:"nextPageToken,omitempty"` + + Sources []*QuerySource `json:"sources,omitempty"` - OnClick *OnClick `json:"onClick,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "ActionLabel") to + // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7039,7 +6181,7 @@ type CardAction struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ActionLabel") to include + // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -7048,71 +6190,24 @@ type CardAction struct { NullFields []string `json:"-"` } -func (s *CardAction) MarshalJSON() ([]byte, error) { - type NoMethod CardAction +func (s *ListQuerySourcesResponse) MarshalJSON() ([]byte, error) { + type NoMethod ListQuerySourcesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type CardCapabilityMetadata struct { - // RequiredCapabilities: NEXT TAG : 2 - // - // Possible values: - // "UNKNOWN" - // "SUPPORTS_BASE_CARDS" - NEXT TAG : 2 - RequiredCapabilities []string `json:"requiredCapabilities,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "RequiredCapabilities") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "RequiredCapabilities") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *CardCapabilityMetadata) MarshalJSON() ([]byte, error) { - type NoMethod CardCapabilityMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} +type ListSearchApplicationsResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` -type CardHeader struct { - // ImageAltText: The alternative text of this image which will be used - // for accessibility. - ImageAltText string `json:"imageAltText,omitempty"` + SearchApplications []*SearchApplication `json:"searchApplications,omitempty"` - // Possible values: - // "CROP_TYPE_NOT_SET" - No value specified. - // "SQUARE" - Applies a square crop. - // "CIRCLE" - Applies a circular crop. - // "RECTANGLE_CUSTOM" - Applies a rectangular crop with a custom - // aspect ratio. - // "RECTANGLE_4_3" - Applies a rectangular crop with a 4:3 aspect - // ratio. - ImageStyle string `json:"imageStyle,omitempty"` - - ImageUrl string `json:"imageUrl,omitempty"` - - Subtitle string `json:"subtitle,omitempty"` - - // Title: The title must be specified. The header has a fixed height: if - // both a title and subtitle is specified, each will take up 1 line. If - // only the title is specified, it will take up both lines. The header - // is rendered in collapsed and detailed view. - Title string `json:"title,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "ImageAltText") to + // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7120,7 +6215,7 @@ type CardHeader struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ImageAltText") to include + // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -7129,33 +6224,24 @@ type CardHeader struct { NullFields []string `json:"-"` } -func (s *CardHeader) MarshalJSON() ([]byte, error) { - type NoMethod CardHeader +func (s *ListSearchApplicationsResponse) MarshalJSON() ([]byte, error) { + type NoMethod ListSearchApplicationsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type CaribouAttributeValue struct { - // BooleanValue: Tags 1 through 15 are reserved for the most commonly - // used fields. - BooleanValue bool `json:"booleanValue,omitempty"` - - IntValue int64 `json:"intValue,omitempty"` - - LongValue int64 `json:"longValue,omitempty,string"` +type ListUnmappedIdentitiesResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // RawByteValue: Generally, applications should avoid storing raw bytes - // and instead store structured data as protocol buffer extensions. This - // both reduces the amount of ad-hoc attribute parsing code as well as - // eliminates an intermediate copy of the data when deserializing the - // value. The rawByteValue field is mainly provided for compatibility - // with attributes stored before the introduction of the - // Attribute.Value. - RawByteValue string `json:"rawByteValue,omitempty"` + UnmappedIdentities []*UnmappedIdentity `json:"unmappedIdentities,omitempty"` - StringValue string `json:"stringValue,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "BooleanValue") to + // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7163,7 +6249,7 @@ type CaribouAttributeValue struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BooleanValue") to include + // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -7172,68 +6258,87 @@ type CaribouAttributeValue struct { NullFields []string `json:"-"` } -func (s *CaribouAttributeValue) MarshalJSON() ([]byte, error) { - type NoMethod CaribouAttributeValue +func (s *ListUnmappedIdentitiesResponse) MarshalJSON() ([]byte, error) { + type NoMethod ListUnmappedIdentitiesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ChatClientActionMarkup: Actions handled by Chat Clients. -type ChatClientActionMarkup struct { -} - -// ChatConserverDynamitePlaceholderMetadata: Metadata used as inputs to -// the localization that is performed on Dynamite-originated messages -// that are incompatible with Hangouts clients. See -// go/localization-of-system-messages for more details. -type ChatConserverDynamitePlaceholderMetadata struct { - AttachmentMetadata *ChatConserverDynamitePlaceholderMetadataAttachmentMetadata `json:"attachmentMetadata,omitempty"` - - BotMessageMetadata *ChatConserverDynamitePlaceholderMetadataBotMessageMetadata `json:"botMessageMetadata,omitempty"` +// MapInfo: Geo information used for rendering a map that shows the +// user's work location. +type MapInfo struct { + // Lat: Latitude in degrees + Lat float64 `json:"lat,omitempty"` - CalendarEventMetadata *ChatConserverDynamitePlaceholderMetadataCalendarEventMetadata `json:"calendarEventMetadata,omitempty"` + // LocationUrl: URL to a view of a map centered on the user's work + // location in Campus Maps (for google.com) or Google Maps (external). + LocationUrl *SafeUrlProto `json:"locationUrl,omitempty"` - DeleteMetadata *ChatConserverDynamitePlaceholderMetadataDeleteMetadata `json:"deleteMetadata,omitempty"` + // Long: Longitude in degrees + Long float64 `json:"long,omitempty"` - EditMetadata *ChatConserverDynamitePlaceholderMetadataEditMetadata `json:"editMetadata,omitempty"` + // MapTile: MapTiles for the area around a user's work location + MapTile []*MapTile `json:"mapTile,omitempty"` - // SpaceUrl: The space URL embedded in the localized string. - SpaceUrl string `json:"spaceUrl,omitempty"` + // Zoom: The zoom level of the map. A constant zoom value of 18 is used + // for now to match the zoom of the map shown on a Moma Teams Profile + // page + Zoom int64 `json:"zoom,omitempty"` - TasksMetadata *ChatConserverDynamitePlaceholderMetadataTasksMetadata `json:"tasksMetadata,omitempty"` - - VideoCallMetadata *ChatConserverDynamitePlaceholderMetadataVideoCallMetadata `json:"videoCallMetadata,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AttachmentMetadata") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Lat") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AttachmentMetadata") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Lat") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *ChatConserverDynamitePlaceholderMetadata) MarshalJSON() ([]byte, error) { - type NoMethod ChatConserverDynamitePlaceholderMetadata +func (s *MapInfo) MarshalJSON() ([]byte, error) { + type NoMethod MapInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ChatConserverDynamitePlaceholderMetadataAttachmentMetadata: An -// attachment uploaded in Dynamite and its filename. -type ChatConserverDynamitePlaceholderMetadataAttachmentMetadata struct { - Filename string `json:"filename,omitempty"` +func (s *MapInfo) UnmarshalJSON(data []byte) error { + type NoMethod MapInfo + var s1 struct { + Lat gensupport.JSONFloat64 `json:"lat"` + Long gensupport.JSONFloat64 `json:"long"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Lat = float64(s1.Lat) + s.Long = float64(s1.Long) + return nil +} + +// MapTile: Information used to render a map tile image in the proper +// location on a map. +type MapTile struct { + // ImageUrl: URL to an image file containing an office layout of the + // user's location for their organization, if one is available. For + // google.com, this image is from Corp Campus Maps. + ImageUrl *SafeUrlProto `json:"imageUrl,omitempty"` + + // TileX: Map tile x coordinate + TileX float64 `json:"tileX,omitempty"` - // ForceSendFields is a list of field names (e.g. "Filename") to + // TileY: Map tile y coordinate + TileY float64 `json:"tileY,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ImageUrl") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7241,7 +6346,7 @@ type ChatConserverDynamitePlaceholderMetadataAttachmentMetadata struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Filename") to include in + // NullFields is a list of field names (e.g. "ImageUrl") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -7250,43 +6355,37 @@ type ChatConserverDynamitePlaceholderMetadataAttachmentMetadata struct { NullFields []string `json:"-"` } -func (s *ChatConserverDynamitePlaceholderMetadataAttachmentMetadata) MarshalJSON() ([]byte, error) { - type NoMethod ChatConserverDynamitePlaceholderMetadataAttachmentMetadata +func (s *MapTile) MarshalJSON() ([]byte, error) { + type NoMethod MapTile raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ChatConserverDynamitePlaceholderMetadataBotMessageMetadata: A bot -// sent a message in Dynamite. -type ChatConserverDynamitePlaceholderMetadataBotMessageMetadata struct { -} - -// ChatConserverDynamitePlaceholderMetadataCalendarEventMetadata: A -// Calendar event message in Dynamite. -type ChatConserverDynamitePlaceholderMetadataCalendarEventMetadata struct { -} - -// ChatConserverDynamitePlaceholderMetadataDeleteMetadata: A message was -// deleted in Dynamite. -type ChatConserverDynamitePlaceholderMetadataDeleteMetadata struct { -} - -// ChatConserverDynamitePlaceholderMetadataEditMetadata: An edit was -// made in Dynamite. -type ChatConserverDynamitePlaceholderMetadataEditMetadata struct { +func (s *MapTile) UnmarshalJSON(data []byte) error { + type NoMethod MapTile + var s1 struct { + TileX gensupport.JSONFloat64 `json:"tileX"` + TileY gensupport.JSONFloat64 `json:"tileY"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.TileX = float64(s1.TileX) + s.TileY = float64(s1.TileY) + return nil } -// ChatConserverDynamitePlaceholderMetadataTasksMetadata: A Tasks -// message in Dynamite. -type ChatConserverDynamitePlaceholderMetadataTasksMetadata struct { -} +// MatchRange: Matched range of a snippet [start, end). +type MatchRange struct { + // End: End of the match in the snippet. + End int64 `json:"end,omitempty"` -// ChatConserverDynamitePlaceholderMetadataVideoCallMetadata: A Meet -// initiated in Dynamite and its URL. -type ChatConserverDynamitePlaceholderMetadataVideoCallMetadata struct { - MeetingUrl string `json:"meetingUrl,omitempty"` + // Start: Starting position of the match in the snippet. + Start int64 `json:"start,omitempty"` - // ForceSendFields is a list of field names (e.g. "MeetingUrl") to + // ForceSendFields is a list of field names (e.g. "End") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7294,8 +6393,8 @@ type ChatConserverDynamitePlaceholderMetadataVideoCallMetadata struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MeetingUrl") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "End") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -7303,28 +6402,22 @@ type ChatConserverDynamitePlaceholderMetadataVideoCallMetadata struct { NullFields []string `json:"-"` } -func (s *ChatConserverDynamitePlaceholderMetadataVideoCallMetadata) MarshalJSON() ([]byte, error) { - type NoMethod ChatConserverDynamitePlaceholderMetadataVideoCallMetadata +func (s *MatchRange) MarshalJSON() ([]byte, error) { + type NoMethod MatchRange raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ChatConserverMessageContent: The content of a chat message, which -// includes 0 or more segments along with 0 or more embeds, which -// represent various attachment types (like photos). -type ChatConserverMessageContent struct { - // Attachment: Items attached to this message, such as photos. This - // should *NOT* be set by clients. It will be automatically set from - // media uploaded along with this request and using the information - // provided in existing_media. - Attachment []*SocialCommonAttachmentAttachment `json:"attachment,omitempty"` +// Media: Media resource. +type Media struct { + // ResourceName: Name of the media resource. + ResourceName string `json:"resourceName,omitempty"` - // Segment: The text part of the message content. Segments are - // concatenated together to yield the full message. A message can have - // zero or more segments. - Segment []*Segment `json:"segment,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Attachment") to + // ForceSendFields is a list of field names (e.g. "ResourceName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7332,62 +6425,58 @@ type ChatConserverMessageContent struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Attachment") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "ResourceName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *ChatConserverMessageContent) MarshalJSON() ([]byte, error) { - type NoMethod ChatConserverMessageContent +func (s *Media) MarshalJSON() ([]byte, error) { + type NoMethod Media raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ChatContentExtension: NEXT ID: 12 -type ChatContentExtension struct { - // Annotation: Annotations to decorate this event. - Annotation []*EventAnnotation `json:"annotation,omitempty"` +// Metadata: Metadata of a matched search result. +type Metadata struct { + // CreateTime: The creation time for this document or object in the + // search result. + CreateTime string `json:"createTime,omitempty"` - // DynamitePlaceholderMetadata: This metadata informs how the - // placeholder string will be localized dynamically in Hangouts. See - // go/localization-of-system-messages. This is only used as part of - // REGULAR_CHAT_MESSAGE events. - DynamitePlaceholderMetadata *ChatConserverDynamitePlaceholderMetadata `json:"dynamitePlaceholderMetadata,omitempty"` + // DisplayOptions: Options that specify how to display a structured data + // search result. + DisplayOptions *ResultDisplayMetadata `json:"displayOptions,omitempty"` - // EventOtrStatus: Is this event OnTR or OffTR? Since some events can be - // ON_THE_RECORD and have an expiration_timestamp (for example - // enterprise retention users) we need to store the otr status. - // - // Possible values: - // "OFF_THE_RECORD" - The conversation is completely off the record. - // "ON_THE_RECORD" - The conversation is completely on the record. - EventOtrStatus string `json:"eventOtrStatus,omitempty"` - - // GroupLinkSharingModificationEvent: Group-link sharing toggle event. - GroupLinkSharingModificationEvent *GroupLinkSharingModificationEvent `json:"groupLinkSharingModificationEvent,omitempty"` + // Fields: Indexed fields in structured data, returned as a generic + // named property. + Fields []*NamedProperty `json:"fields,omitempty"` - // HangoutEvent: Audio/video Hangout event. - HangoutEvent *HangoutEvent `json:"hangoutEvent,omitempty"` + // MimeType: Mime type of the search result. + MimeType string `json:"mimeType,omitempty"` - // InviteAcceptedEvent: Invite accepted events. Note: this is only used - // ephemerally to sync to Gmail. No actual cent is stored in Papyrus. - InviteAcceptedEvent *InviteAcceptedEvent `json:"inviteAcceptedEvent,omitempty"` + // ObjectType: Object type of the search result. + ObjectType string `json:"objectType,omitempty"` - // MembershipChangeEvent: Join/leave events. - MembershipChangeEvent *MembershipChangeEvent `json:"membershipChangeEvent,omitempty"` + // Owner: Owner (usually creator) of the document or object of the + // search result. + Owner *Person `json:"owner,omitempty"` - // OtrChatMessageEvent: Metadata for off-the-record message. - OtrChatMessageEvent *OtrChatMessageEvent `json:"otrChatMessageEvent,omitempty"` + // Source: The named source for the result, such as Gmail. + Source *Source `json:"source,omitempty"` - OtrModificationEvent *OtrModificationEvent `json:"otrModificationEvent,omitempty"` + // ThumbnailUrl: The thumbnail URL of the result. + ThumbnailUrl string `json:"thumbnailUrl,omitempty"` - RenameEvent *RenameEvent `json:"renameEvent,omitempty"` + // UpdateTime: The last modified date for the object in the search + // result. If not set in the item, the value returned here is empty. + // When `updateTime` is used for calculating freshness and is not set, + // this value defaults to 2 years from the current time. + UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Annotation") to + // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7395,7 +6484,7 @@ type ChatContentExtension struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Annotation") to include in + // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -7404,29 +6493,20 @@ type ChatContentExtension struct { NullFields []string `json:"-"` } -func (s *ChatContentExtension) MarshalJSON() ([]byte, error) { - type NoMethod ChatContentExtension +func (s *Metadata) MarshalJSON() ([]byte, error) { + type NoMethod Metadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ChatProto: Represents the invitees or other users associated with a -// Babel Chat (see http://goto/babel). Corresponds to GroupType CHAT in -// //social/graph/storage/proto/data.proto. -type ChatProto struct { - // ChatId: Chat IDs consist of alphanumeric characters and colons. - // Currently required. - ChatId string `json:"chatId,omitempty"` - - // MemberType: The type of Chat members to consider, e.g. "all members" - // vs. "invitee" These are defined by legacy_relation_id values in - // social.graph.storage.EdgeTypeEnum.EdgeType enum options in - // social/graph/storage/proto/id.proto. See chat.pb (defined in - // production/config/cdd/socialgraph/mixer_config/prod/node_type_config) - // for all valid edge types associated with chat. Currently required. - MemberType int64 `json:"memberType,omitempty"` +// Metaline: A metaline is a list of properties that are displayed along +// with the search result to provide context. +type Metaline struct { + // Properties: The list of displayed properties for the metaline. The + // maximum number of properties is 5. + Properties []*DisplayedProperty `json:"properties,omitempty"` - // ForceSendFields is a list of field names (e.g. "ChatId") to + // ForceSendFields is a list of field names (e.g. "Properties") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7434,8 +6514,8 @@ type ChatProto struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ChatId") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Properties") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -7443,22 +6523,20 @@ type ChatProto struct { NullFields []string `json:"-"` } -func (s *ChatProto) MarshalJSON() ([]byte, error) { - type NoMethod ChatProto +func (s *Metaline) MarshalJSON() ([]byte, error) { + type NoMethod Metaline raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type CheckAccessResponse struct { - // HasAccess: Returns true if principal has access. Returns false - // otherwise. - HasAccess bool `json:"hasAccess,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// Name: A person's name. +type Name struct { + // DisplayName: The read-only display name formatted according to the + // locale specified by the viewer's account or the `Accept-Language` + // HTTP header. + DisplayName string `json:"displayName,omitempty"` - // ForceSendFields is a list of field names (e.g. "HasAccess") to + // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7466,127 +6544,91 @@ type CheckAccessResponse struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "HasAccess") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "DisplayName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *CheckAccessResponse) MarshalJSON() ([]byte, error) { - type NoMethod CheckAccessResponse +func (s *Name) MarshalJSON() ([]byte, error) { + type NoMethod Name raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// CircleProto: Represents a Google+ Circle. Currently (12/2011), a -// Circle is identical to the ContactGroup with matching parameters, but -// Circle must only be used for true Circles and not other Focus groups, -// and should be preferred over ContactGroup where applicable. Soon it -// may become more efficient to check membership in a Circle than in a -// ContactGroup (see http://go/superglue). Support for this principal -// type is currently (12/2011) incomplete -- e.g., Keystore does not -// support it yet (see b/5703421). -type CircleProto struct { - // CircleId: Circle ID is unique only relative to the owner's Gaia ID. - // Currently required. - CircleId int64 `json:"circleId,omitempty,string"` - - // OwnerGaiaId: The owner of the circle. Currently required. - OwnerGaiaId int64 `json:"ownerGaiaId,omitempty,string"` - - // RequiredConsistencyTimestampUsec: If present, then tests for - // membership in this circle must use data known to be at least as fresh - // as the given (FBS-assigned) timestamp. See - // http://go/fbs-consistent-read-after-important-write Before using - // this, be sure that any service checking authorization against this - // circle supports checking consistency timestamps. For example, as of - // 12/2011, Keystore only supports this for the Moonshine configuration, - // and in others authorization checks will fail if the timestamp is - // present. - RequiredConsistencyTimestampUsec int64 `json:"requiredConsistencyTimestampUsec,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "CircleId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` +// NamedProperty: A typed name-value pair for structured data. The type +// of the value should be the same as the registered type for the `name` +// property in the object definition of `objectType`. +type NamedProperty struct { + BooleanValue bool `json:"booleanValue,omitempty"` - // NullFields is a list of field names (e.g. "CircleId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + DateValues *DateValues `json:"dateValues,omitempty"` -func (s *CircleProto) MarshalJSON() ([]byte, error) { - type NoMethod CircleProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + DoubleValues *DoubleValues `json:"doubleValues,omitempty"` + + EnumValues *EnumValues `json:"enumValues,omitempty"` + + HtmlValues *HtmlValues `json:"htmlValues,omitempty"` + + IntegerValues *IntegerValues `json:"integerValues,omitempty"` -// ClientContext: Represents the context of the client on behalf of -// which a HistoryRecord is produced. The ClientContext message can be -// used to hold context about the service client (e.g. the internal -// server making fusebox requests) or the user client (e.g. the IP -// address of the end user). -type ClientContext struct { - // ClientOperationId: The client operation to which this history record - // belongs. The notion of a client operation is provided to keep track - // of client operations which might span multiple transactions in the - // lower level. - ClientOperationId string `json:"clientOperationId,omitempty"` + // Name: The name of the property. This name should correspond to the + // name of the property that was registered for object definition in the + // schema. The maximum allowable length for this property is 256 + // characters. + Name string `json:"name,omitempty"` - // ClientType: E.g. "pinto", "imap", "bigtop", "upload" - ClientType string `json:"clientType,omitempty"` + ObjectValues *ObjectValues `json:"objectValues,omitempty"` - // SessionContext: Contains information about the session which created - // this history record. This will be empty if the history record was - // generated by an internal request. - SessionContext *SessionContext `json:"sessionContext,omitempty"` + TextValues *TextValues `json:"textValues,omitempty"` - // UserIp: Textual representation of the user's IP address, if - // available. - UserIp string `json:"userIp,omitempty"` + TimestampValues *TimestampValues `json:"timestampValues,omitempty"` - // ForceSendFields is a list of field names (e.g. "ClientOperationId") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "BooleanValue") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ClientOperationId") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "BooleanValue") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *ClientContext) MarshalJSON() ([]byte, error) { - type NoMethod ClientContext +func (s *NamedProperty) MarshalJSON() ([]byte, error) { + type NoMethod NamedProperty raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// CloudPrincipalProto: Principal associated with a Cloud Principal -// representing third party user. -type CloudPrincipalProto struct { - // Id: Format: "{identity-pool}:{subject}#" Details: - // go/cloud-principal-identifiers - Id string `json:"id,omitempty"` +// ObjectDefinition: The definition for an object within a data source. +type ObjectDefinition struct { + // Name: The name for the object, which then defines its type. Item + // indexing requests should set the objectType field equal to this + // value. For example, if *name* is *Document*, then indexing requests + // for items of type Document should set objectType equal to *Document*. + // Each object definition must be uniquely named within a schema. The + // name must start with a letter and can only contain letters (A-Z, a-z) + // or numbers (0-9). The maximum length is 256 characters. + Name string `json:"name,omitempty"` + + // Options: The optional object-specific options. + Options *ObjectOptions `json:"options,omitempty"` + + // PropertyDefinitions: The property definitions for the object. The + // maximum number of elements is 1000. + PropertyDefinitions []*PropertyDefinition `json:"propertyDefinitions,omitempty"` - // ForceSendFields is a list of field names (e.g. "Id") to + // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7594,7 +6636,7 @@ type CloudPrincipalProto struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Id") to include in API + // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -7603,29 +6645,30 @@ type CloudPrincipalProto struct { NullFields []string `json:"-"` } -func (s *CloudPrincipalProto) MarshalJSON() ([]byte, error) { - type NoMethod CloudPrincipalProto +func (s *ObjectDefinition) MarshalJSON() ([]byte, error) { + type NoMethod ObjectDefinition raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ClusterInfo: ClusterInfo contains clustering related information for -// a particular thread that would be sent as part of the conversation -// view. Today, this information would be used by iOS notification -// server to identify whether the thread belongs to a cluster. If the -// thread belongs to a grouped cluster, it would identify whether the -// cluster is throttled. -type ClusterInfo struct { - // ClusterId: IDs of the highest priority clusters to which the thread - // belongs to. If this field is not present, the thread does not belong - // to any cluster and would be shown in the inbox, unclustered. - ClusterId []string `json:"clusterId,omitempty"` +// ObjectDisplayOptions: The display options for an object. +type ObjectDisplayOptions struct { + // Metalines: Defines the properties that are displayed in the metalines + // of the search results. The property values are displayed in the order + // given here. If a property holds multiple values, all of the values + // are displayed before the next properties. For this reason, it is a + // good practice to specify singular properties before repeated + // properties in this list. All of the properties must set is_returnable + // to true. The maximum number of metalines is 3. + Metalines []*Metaline `json:"metalines,omitempty"` - // Throttled: If the thread belongs to a grouped cluster and all of - // those clusters are throttled, then this field is set to true. - Throttled bool `json:"throttled,omitempty"` + // ObjectDisplayLabel: The user friendly label to display in the search + // result to indicate the type of the item. This is OPTIONAL; if not + // provided, an object label isn't displayed on the context line of the + // search results. The maximum length is 64 characters. + ObjectDisplayLabel string `json:"objectDisplayLabel,omitempty"` - // ForceSendFields is a list of field names (e.g. "ClusterId") to + // ForceSendFields is a list of field names (e.g. "Metalines") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7633,7 +6676,7 @@ type ClusterInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ClusterId") to include in + // NullFields is a list of field names (e.g. "Metalines") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -7642,55 +6685,34 @@ type ClusterInfo struct { NullFields []string `json:"-"` } -func (s *ClusterInfo) MarshalJSON() ([]byte, error) { - type NoMethod ClusterInfo +func (s *ObjectDisplayOptions) MarshalJSON() ([]byte, error) { + type NoMethod ObjectDisplayOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// CoActivity: Metadata about a co-activity session. -type CoActivity struct { - // ActivityTitle: The title of the activity in this co-activity session. - // For example, this might be the title of the video being co-watched, - // or the name of the round of a game being co-played. - ActivityTitle string `json:"activityTitle,omitempty"` +// ObjectOptions: The options for an object. +type ObjectOptions struct { + // DisplayOptions: The options that determine how the object is + // displayed in the Cloud Search results page. + DisplayOptions *ObjectDisplayOptions `json:"displayOptions,omitempty"` - // AddOnId: The add-on id of the current add-on being used for - // co-activity. - AddOnId string `json:"addOnId,omitempty"` + // FreshnessOptions: The freshness options for an object. + FreshnessOptions *FreshnessOptions `json:"freshnessOptions,omitempty"` - // AddOnStartingState: The starting state of the add-on frames for - // co-activity. - AddOnStartingState *AddOnStartingState `json:"addOnStartingState,omitempty"` + // SuggestionFilteringOperators: Operators that can be used to filter + // suggestions. For Suggest API, only operators mentioned here will be + // honored in the FilterOptions. Only TEXT and ENUM operators are + // supported. NOTE: "objecttype", "type" and "mimetype" are already + // supported. This property is to configure schema specific operators. + // Even though this is an array, only one operator can be specified. + // This is an array for future extensibility. Operators mapping to + // multiple properties within the same object are not supported. If the + // operator spans across different object types, this option has to be + // set once for each object definition. + SuggestionFilteringOperators []string `json:"suggestionFilteringOperators,omitempty"` - // CoActivityApp: Identifies the app handling this co-activity. - // - // Possible values: - // "CO_ACTIVITY_APP_UNSPECIFIED" - Should never be used. - // "CO_ACTIVITY_APP_YOU_TUBE_MAIN" - Main YouTube app, for watching - // videos. - // "CO_ACTIVITY_APP_SPOTIFY" - Spotify music. - // "CO_ACTIVITY_APP_UNO" - Uno game. - // "CO_ACTIVITY_APP_HEADSUP" - HeadsUp game. - // "CO_ACTIVITY_APP_KAHOOT" - Kahoot! educational software. - // "CO_ACTIVITY_APP_GQUEUES" - GQueues task manager. - // "CO_ACTIVITY_APP_YOU_TUBE_MUSIC" - YouTube Music - // "CO_ACTIVITY_APP_SAMSUNG_NOTES" - Samsung Notes - // "CO_ACTIVITY_APP_HAPPY_AARDVARK" - . - CoActivityApp string `json:"coActivityApp,omitempty"` - - // InitiatorDeviceId: The resource name of the device that initiated the - // co-activity. - InitiatorDeviceId string `json:"initiatorDeviceId,omitempty"` - - // PresentationDeviceId: The resource name of the device that is - // presenting the add-on. - PresentationDeviceId string `json:"presentationDeviceId,omitempty"` - - // ProjectNumber: The project number of the add-on to determine version. - ProjectNumber int64 `json:"projectNumber,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "ActivityTitle") to + // ForceSendFields is a list of field names (e.g. "DisplayOptions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7698,135 +6720,60 @@ type CoActivity struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ActivityTitle") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "DisplayOptions") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *CoActivity) MarshalJSON() ([]byte, error) { - type NoMethod CoActivity +func (s *ObjectOptions) MarshalJSON() ([]byte, error) { + type NoMethod ObjectOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Collaboration: Information about a collaboration session. -type Collaboration struct { - // AttachmentId: The attachment being collaborated on. - AttachmentId string `json:"attachmentId,omitempty"` - - // Initiator: Display info of the user who initiated the collaboration - // session. - Initiator *UserDisplayInfo `json:"initiator,omitempty"` - - // Uri: The uri of the artifact being collaborated on. - Uri string `json:"uri,omitempty"` +// ObjectPropertyOptions: The options for object properties. +type ObjectPropertyOptions struct { + // SubobjectProperties: The properties of the sub-object. These + // properties represent a nested object. For example, if this property + // represents a postal address, the subobjectProperties might be named + // *street*, *city*, and *state*. The maximum number of elements is + // 1000. + SubobjectProperties []*PropertyDefinition `json:"subobjectProperties,omitempty"` - // ForceSendFields is a list of field names (e.g. "AttachmentId") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "SubobjectProperties") + // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AttachmentId") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "SubobjectProperties") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *Collaboration) MarshalJSON() ([]byte, error) { - type NoMethod Collaboration +func (s *ObjectPropertyOptions) MarshalJSON() ([]byte, error) { + type NoMethod ObjectPropertyOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Color: Represents a color in the RGBA color space. This -// representation is designed for simplicity of conversion to and from -// color representations in various languages over compactness. For -// example, the fields of this representation can be trivially provided -// to the constructor of `java.awt.Color` in Java; it can also be -// trivially provided to UIColor's `+colorWithRed:green:blue:alpha` -// method in iOS; and, with just a little work, it can be easily -// formatted into a CSS `rgba()` string in JavaScript. This reference -// page does not have information about the absolute color space that -// should be used to interpret the RGB value—for example, sRGB, Adobe -// RGB, DCI-P3, and BT.2020. By default, applications should assume the -// sRGB color space. When color equality needs to be decided, -// implementations, unless documented otherwise, treat two colors as -// equal if all their red, green, blue, and alpha values each differ by -// at most `1e-5`. Example (Java): import com.google.type.Color; // ... -// public static java.awt.Color fromProto(Color protocolor) { float -// alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : -// 1.0; return new java.awt.Color( protocolor.getRed(), -// protocolor.getGreen(), protocolor.getBlue(), alpha); } public static -// Color toProto(java.awt.Color color) { float red = (float) -// color.getRed(); float green = (float) color.getGreen(); float blue = -// (float) color.getBlue(); float denominator = 255.0; Color.Builder -// resultBuilder = Color .newBuilder() .setRed(red / denominator) -// .setGreen(green / denominator) .setBlue(blue / denominator); int -// alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( -// FloatValue .newBuilder() .setValue(((float) alpha) / denominator) -// .build()); } return resultBuilder.build(); } // ... Example (iOS / -// Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float -// red = [protocolor red]; float green = [protocolor green]; float blue -// = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; -// float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper -// value]; } return [UIColor colorWithRed:red green:green blue:blue -// alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, -// green, blue, alpha; if (![color getRed:&red green:&green blue:&blue -// alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; -// [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; -// if (alpha <= 0.9999) { [result -// setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; -// return result; } // ... Example (JavaScript): // ... var -// protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red -// || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = -// rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green -// = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); -// if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, -// blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams -// = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', -// alphaFrac, ')'].join(”); }; var rgbToCssColor = function(red, green, -// blue) { var rgbNumber = new Number((red << 16) | (green << 8) | -// blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - -// hexString.length; var resultBuilder = ['#']; for (var i = 0; i < -// missingZeros; i++) { resultBuilder.push('0'); } -// resultBuilder.push(hexString); return resultBuilder.join(”); }; // -// ... -type Color struct { - // Alpha: The fraction of this color that should be applied to the - // pixel. That is, the final pixel color is defined by the equation: - // `pixel color = alpha * (this color) + (1.0 - alpha) * (background - // color)` This means that a value of 1.0 corresponds to a solid color, - // whereas a value of 0.0 corresponds to a completely transparent color. - // This uses a wrapper message rather than a simple float scalar so that - // it is possible to distinguish between a default value and the value - // being unset. If omitted, this color object is rendered as a solid - // color (as if the alpha value had been explicitly given a value of - // 1.0). - Alpha float64 `json:"alpha,omitempty"` - - // Blue: The amount of blue in the color as a value in the interval [0, - // 1]. - Blue float64 `json:"blue,omitempty"` - - // Green: The amount of green in the color as a value in the interval - // [0, 1]. - Green float64 `json:"green,omitempty"` - - // Red: The amount of red in the color as a value in the interval [0, - // 1]. - Red float64 `json:"red,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Alpha") to +// ObjectValues: List of object values. +type ObjectValues struct { + Values []*StructuredDataObject `json:"values,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Values") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7834,7 +6781,7 @@ type Color struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Alpha") to include in API + // NullFields is a list of field names (e.g. "Values") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -7843,45 +6790,52 @@ type Color struct { NullFields []string `json:"-"` } -func (s *Color) MarshalJSON() ([]byte, error) { - type NoMethod Color +func (s *ObjectValues) MarshalJSON() ([]byte, error) { + type NoMethod ObjectValues raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *Color) UnmarshalJSON(data []byte) error { - type NoMethod Color - var s1 struct { - Alpha gensupport.JSONFloat64 `json:"alpha"` - Blue gensupport.JSONFloat64 `json:"blue"` - Green gensupport.JSONFloat64 `json:"green"` - Red gensupport.JSONFloat64 `json:"red"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Alpha = float64(s1.Alpha) - s.Blue = float64(s1.Blue) - s.Green = float64(s1.Green) - s.Red = float64(s1.Red) - return nil -} +// Operation: This resource represents a long-running operation that is +// the result of a network API call. +type Operation struct { + // Done: If the value is `false`, it means the operation is still in + // progress. If `true`, the operation is completed, and either `error` + // or `response` is available. + Done bool `json:"done,omitempty"` -// CommunalLabelTag: An individual instance (or "tag") of a label -// configured as a communal type that's associated with a message. -type CommunalLabelTag struct { - // CreatorUserId: Gaia ID of the user who added the tag, if any. Not - // present for any tags automatically created by server-side processing. - CreatorUserId int64 `json:"creatorUserId,omitempty,string"` + // Error: The error result of the operation in case of failure or + // cancellation. + Error *Status `json:"error,omitempty"` - // LabelId: A string ID representing the label. Possible ID values are - // documented at go/chat-labels-howto:ids. Example: "^*t_p" for - // "Pinned". - LabelId string `json:"labelId,omitempty"` + // Metadata: Service-specific metadata associated with the operation. It + // typically contains progress information and common metadata such as + // create time. Some services might not provide such metadata. Any + // method that returns a long-running operation should document the + // metadata type, if any. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreatorUserId") to + // Name: The server-assigned name, which is only unique within the same + // service that originally returns it. If you use the default HTTP + // mapping, the `name` should be a resource name ending with + // `operations/{unique_id}`. + Name string `json:"name,omitempty"` + + // Response: The normal response of the operation in case of success. If + // the original method returns no data on success, such as `Delete`, the + // response is `google.protobuf.Empty`. If the original method is + // standard `Get`/`Create`/`Update`, the response should be the + // resource. For other methods, the response should have the type + // `XxxResponse`, where `Xxx` is the original method name. For example, + // if the original method name is `TakeSnapshot()`, the inferred + // response type is `TakeSnapshotResponse`. + Response googleapi.RawMessage `json:"response,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Done") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7889,35 +6843,25 @@ type CommunalLabelTag struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreatorUserId") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Done") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *CommunalLabelTag) MarshalJSON() ([]byte, error) { - type NoMethod CommunalLabelTag +func (s *Operation) MarshalJSON() ([]byte, error) { + type NoMethod Operation raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type CompositeFilter struct { - // LogicOperator: The logic operator of the sub filter. - // - // Possible values: - // "AND" - Logical operators, which can only be applied to sub - // filters. - // "OR" - // "NOT" - NOT can only be applied on a single sub filter. - LogicOperator string `json:"logicOperator,omitempty"` - - // SubFilters: Sub filters. - SubFilters []*Filter `json:"subFilters,omitempty"` +type PeoplePromotionCard struct { + People []*PersonCore `json:"people,omitempty"` - // ForceSendFields is a list of field names (e.g. "LogicOperator") to + // ForceSendFields is a list of field names (e.g. "People") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -7925,76 +6869,29 @@ type CompositeFilter struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LogicOperator") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "People") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *CompositeFilter) MarshalJSON() ([]byte, error) { - type NoMethod CompositeFilter +func (s *PeoplePromotionCard) MarshalJSON() ([]byte, error) { + type NoMethod PeoplePromotionCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ConsentedAppUnfurlMetadata: Annotation metadata app unfurl consent. -type ConsentedAppUnfurlMetadata struct { - // ClientSpecifiedAppId: Client specified AppId, which will not be - // sanitized and is untrusted. - ClientSpecifiedAppId *UserId `json:"clientSpecifiedAppId,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "ClientSpecifiedAppId") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ClientSpecifiedAppId") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *ConsentedAppUnfurlMetadata) MarshalJSON() ([]byte, error) { - type NoMethod ConsentedAppUnfurlMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} +// PeopleSuggestion: This field contains information about the person +// being suggested. +type PeopleSuggestion struct { + // Person: Suggested person. All fields of the person object might not + // be populated. + Person *Person `json:"person,omitempty"` -// ContactGroupProto: A group of contacts for a given user, as described -// in http://cs/p#google3/focus/backend/proto/backend.proto Historically -// (and in still-existing ACLs), this was used to represent Google+ -// circles as well as contact groups, but this use is now deprecated. -// New code should use the CIRCLE principal type to represent Google+ -// circles. -type ContactGroupProto struct { - // GroupId: Group ID is unique only relative to the owner's Gaia ID. - GroupId int64 `json:"groupId,omitempty,string"` - - OwnerGaiaId int64 `json:"ownerGaiaId,omitempty,string"` - - // RequiredConsistencyTimestampUsec: If present, then tests for - // membership in this ContactGroup must use data known to be at least as - // fresh as the given (FBS-assigned) timestamp. See - // http://go/fbs-consistent-read-after-important-write Before using - // this, be sure that any service checking authorization against this - // group supports checking consistency timestamps. For example, as of - // 12/2011, Keystore only supports this for the Moonshine configuration, - // and in others authorization checks will fail if the timestamp is - // present. - RequiredConsistencyTimestampUsec int64 `json:"requiredConsistencyTimestampUsec,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "GroupId") to + // ForceSendFields is a list of field names (e.g. "Person") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -8002,8 +6899,8 @@ type ContactGroupProto struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "GroupId") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Person") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -8011,73 +6908,45 @@ type ContactGroupProto struct { NullFields []string `json:"-"` } -func (s *ContactGroupProto) MarshalJSON() ([]byte, error) { - type NoMethod ContactGroupProto +func (s *PeopleSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod PeopleSuggestion raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type ContentReport struct { - // ReportCreateTimestamp: The time at which the report is generated. - // Always populated when it is in a response. - ReportCreateTimestamp string `json:"reportCreateTimestamp,omitempty"` - - // ReportJustification: Additional user-provided justification on the - // report. Optional. - ReportJustification *ContentReportJustification `json:"reportJustification,omitempty"` - - // ReportType: Type of the report. Always populated when it is in a - // response. - ReportType *AppsDynamiteSharedContentReportType `json:"reportType,omitempty"` - - // ReporterUserId: User ID of the reporter. Always populated when it is - // in a response. - ReporterUserId *UserId `json:"reporterUserId,omitempty"` +// Person: Object to represent a person. +type Person struct { + // EmailAddresses: The person's email addresses + EmailAddresses []*EmailAddress `json:"emailAddresses,omitempty"` - // RevisionCreateTimestamp: Create timestamp of the revisions of the - // message when it's reported. Always populated when it is in a - // response. - RevisionCreateTimestamp string `json:"revisionCreateTimestamp,omitempty"` + // Name: The resource name of the person to provide information about. + // See `People.get` + // (https://developers.google.com/people/api/rest/v1/people/get) from + // the Google People API. + Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "ReportCreateTimestamp") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` + // ObfuscatedId: Obfuscated ID of a person. + ObfuscatedId string `json:"obfuscatedId,omitempty"` - // NullFields is a list of field names (e.g. "ReportCreateTimestamp") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} + // PersonNames: The person's name + PersonNames []*Name `json:"personNames,omitempty"` -func (s *ContentReport) MarshalJSON() ([]byte, error) { - type NoMethod ContentReport - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // PhoneNumbers: The person's phone numbers + PhoneNumbers []*PhoneNumber `json:"phoneNumbers,omitempty"` -type ContentReportJustification struct { - // UserJustification: Optional. User-generated free-text justification - // for the content report. - UserJustification string `json:"userJustification,omitempty"` + // Photos: A person's read-only photo. A picture shown next to the + // person's name to help others recognize the person in search results. + Photos []*Photo `json:"photos,omitempty"` - // ForceSendFields is a list of field names (e.g. "UserJustification") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "EmailAddresses") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "UserJustification") to + // NullFields is a list of field names (e.g. "EmailAddresses") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -8087,26 +6956,160 @@ type ContentReportJustification struct { NullFields []string `json:"-"` } -func (s *ContentReportJustification) MarshalJSON() ([]byte, error) { - type NoMethod ContentReportJustification +func (s *Person) MarshalJSON() ([]byte, error) { + type NoMethod Person raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ContentReportSummary: Summarized info of content reports. Usually -// less expensive to fetch than to fetch all detailed reports. Set only -// when the request asks for it. -type ContentReportSummary struct { - // NumberReports: Total number of reports attached to this (revision of) - // message. - NumberReports int64 `json:"numberReports,omitempty"` +// PersonCore: Information for rendering a person. NEXT ID: 37 +type PersonCore struct { + // AddressMeAs: Instructions for how to address this person (e.g. custom + // pronouns). For google.com this is a set of pronouns from a defined + // list of options. + AddressMeAs string `json:"addressMeAs,omitempty"` + + // AdminTo: People the profile owner is an admin to. Note that not all + // fields of these PersonCores will be set, in particular, relationships + // will be empty. + AdminTo []*PersonCore `json:"adminTo,omitempty"` + + // Admins: The profile owner's admins in no particular order. Note that + // not all fields of these PersonCores will be set, in particular, + // relationships will be empty. + Admins []*PersonCore `json:"admins,omitempty"` + + // Possible values: + // "UNKNOWN" + // "OUT_OF_OFFICE" + // "OUTSIDE_WORKING_HOURS" + // "AVAILABLE" + AvailabilityStatus string `json:"availabilityStatus,omitempty"` + + // Birthday: Person birthday. + Birthday *Date `json:"birthday,omitempty"` + + // CalendarUrl: The URL to open the profile owner's primary calendar. + CalendarUrl *SafeUrlProto `json:"calendarUrl,omitempty"` + + // ChatUrl: The URL to start a chat conversation with the profile owner. + // For google.com this is a Hangouts URL. + ChatUrl *SafeUrlProto `json:"chatUrl,omitempty"` + + // CostCenter: Person's cost center as a string, e.g. "926: Googler + // Apps". + CostCenter string `json:"costCenter,omitempty"` + + // Department: The person's Organization department, e.g. "People + // Operations". For google.com this is usually called "area". + Department string `json:"department,omitempty"` + + // DirectReports: A subset of the profile owner's direct reports. The + // number of entities here may be less than total_direct_reports_count, + // because typically ProfileResponse does not include all the person's + // reports, if there are too many to retrieve efficiently. Note that not + // all fields of these PersonCores will be set, in particular, + // relationships will be empty. + DirectReports []*PersonCore `json:"directReports,omitempty"` + + // DottedLineManagers: The profile owner's direct dotted line managers + // in no particular order. Note that not all fields of these PersonCores + // will be set, in particular, relationships will be empty. + DottedLineManagers []*PersonCore `json:"dottedLineManagers,omitempty"` + + // DottedLineReports: A subset of the profile owner's dotted-line + // reports. The number of entities here may be less than + // total_dlr_count. Note that not all fields of these PersonCores will + // be set, in particular, relationships will be empty. + DottedLineReports []*PersonCore `json:"dottedLineReports,omitempty"` + + // Emails: E-mail addresses of the person. The primary or preferred + // email should be first. + Emails []string `json:"emails,omitempty"` + + // EmployeeId: Person's employee number (external ID of type + // "organization") For google.com this is the badge number (e.g. 2 for + // Larry Page). + EmployeeId string `json:"employeeId,omitempty"` + + // Fingerprint: A fingerprint used by PAPI to reliably determine if a + // resource has changed Externally it is used as part of the etag. + Fingerprint string `json:"fingerprint,omitempty"` + + // FtePermille: Full-time equivalent (in ‰) (e.g. 800 for a person + // who's working 80%). + FtePermille int64 `json:"ftePermille,omitempty,string"` + + GeoLocation *MapInfo `json:"geoLocation,omitempty"` + + GmailUrl string `json:"gmailUrl,omitempty"` + + // JobTitle: Profile owner's job title (e.g. "Software Engineer"). For + // google.com this is the Workday preferred job title. + JobTitle string `json:"jobTitle,omitempty"` + + // KeywordTypes: List of keys to use from the map 'keywords'. + KeywordTypes []string `json:"keywordTypes,omitempty"` + + // Keywords: Custom keywords the domain admin has added. + Keywords map[string]string `json:"keywords,omitempty"` + + // Links: Custom links the profile owner has added. + Links []*EnterpriseTopazFrontendTeamsLink `json:"links,omitempty"` + + // Location: Detailed desk location within the company. For google.com + // this is the desk location code (e.g. "DE-MUC-ARP-6T2-6T2C0C") if the + // person has a desk. + Location string `json:"location,omitempty"` + + // Managers: The profile owner's management chain from top to bottom, + // where managers[0] is the CEO, manager[N-2] is the person's manager's + // manager and managers[N-1] is the person's direct manager. Note that + // not all fields of these PersonCores will be set, in particular, + // relationships will be empty. + Managers []*PersonCore `json:"managers,omitempty"` + + // Mission: Custom mission statement the profile owner has added. + Mission string `json:"mission,omitempty"` + + // Name: Human-readable Unicode display name. + Name string `json:"name,omitempty"` + + // OfficeLocation: Office/building identifier within the company. For + // google.com this is the office code (e.g. "DE-MUC-ARP"). + OfficeLocation string `json:"officeLocation,omitempty"` + + // PersonId: The person's obfuscated Gaia ID. + PersonId string `json:"personId,omitempty"` + + PhoneNumbers []*EnterpriseTopazFrontendTeamsPersonCorePhoneNumber `json:"phoneNumbers,omitempty"` + + // PhotoUrl: Person photo. + PhotoUrl *SafeUrlProto `json:"photoUrl,omitempty"` + + // PostalAddress: Postal address of office/building. + PostalAddress string `json:"postalAddress,omitempty"` + + // TotalDirectReportsCount: Total count of the profile owner's direct + // reports. + TotalDirectReportsCount int64 `json:"totalDirectReportsCount,omitempty"` + + // TotalDlrCount: Total count of the profile owner's dotted-line + // reports. + TotalDlrCount int64 `json:"totalDlrCount,omitempty"` - // NumberReportsAllRevisions: Totoal number of reports attached to all - // revisions of this message (i.e. since creation). Set only when the - // request asks for it. - NumberReportsAllRevisions int64 `json:"numberReportsAllRevisions,omitempty"` + // TotalFteCount: The sum of all profile owner's reports and their own + // full-time-equivalents in ‰ (e.g. 1800 if one report is working 80% + // and profile owner 100%). + TotalFteCount int64 `json:"totalFteCount,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "NumberReports") to + // Username: External ID of type "login_id" for the profile. For + // google.com this is the username/LDAP. + Username string `json:"username,omitempty"` + + WaldoComeBackTime string `json:"waldoComeBackTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AddressMeAs") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -8114,7 +7117,7 @@ type ContentReportSummary struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NumberReports") to include + // NullFields is a list of field names (e.g. "AddressMeAs") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -8123,29 +7126,24 @@ type ContentReportSummary struct { NullFields []string `json:"-"` } -func (s *ContentReportSummary) MarshalJSON() ([]byte, error) { - type NoMethod ContentReportSummary +func (s *PersonCore) MarshalJSON() ([]byte, error) { + type NoMethod PersonCore raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ContextAttribute: A named attribute associated with an item which can -// be used for influencing the ranking of the item based on the context -// in the request. -type ContextAttribute struct { - // Name: The name of the attribute. It should not be empty. The maximum - // length is 32 characters. The name must start with a letter and can - // only contain letters (A-Z, a-z) or numbers (0-9). The name will be - // normalized (lower-cased) before being matched. - Name string `json:"name,omitempty"` +// PhoneNumber: A person's Phone Number +type PhoneNumber struct { + // PhoneNumber: The phone number of the person. + PhoneNumber string `json:"phoneNumber,omitempty"` - // Values: Text values of the attribute. The maximum number of elements - // is 10. The maximum length of an element in the array is 32 - // characters. The value will be normalized (lower-cased) before being - // matched. - Values []string `json:"values,omitempty"` + // Possible values: + // "OTHER" + // "MOBILE" + // "OFFICE" + Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // ForceSendFields is a list of field names (e.g. "PhoneNumber") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -8153,47 +7151,27 @@ type ContextAttribute struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Name") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "PhoneNumber") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *ContextAttribute) MarshalJSON() ([]byte, error) { - type NoMethod ContextAttribute +func (s *PhoneNumber) MarshalJSON() ([]byte, error) { + type NoMethod PhoneNumber raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ContextualAddOnMarkup: The markup for developers to specify the -// contents of a contextual AddOn. A contextual AddOn is triggered in -// context of an email. For that email, there can be N items that are -// associated with the email (e.g. contacts, sales lead, meeting -// information). Each item is represented as a "card". A card has two -// views, collapsed and detailed. If there are more than 1 card, the -// cards are show as a list of collapsed views. The end user can expand -// into the detailed view for each of those cards. In the detailed view, -// developers have the freedom to use a variety of "widgets" to -// construct it. The model here is to restrict (make consistent for end -// users) the navigation of the N cards but providing developers the -// freedom to build the detailed view that can best represent their use -// case/content. Go http://go/aoig-widgets1 to see the mocks. Post v1, -// we plan to support new AddOn use cases that will require different -// and separate 'templates'. For example, a compose triggered AddOn -// which will support a new set of use cases with different user -// interaction patterns. As a result, we will likely need a very -// different template than this one. -type ContextualAddOnMarkup struct { - // Cards: A card must contain a header and at least 1 section. - Cards []*Card `json:"cards,omitempty"` - - // Toolbar: Deprecated. - Toolbar *Toolbar `json:"toolbar,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Cards") to +// Photo: A person's photo. +type Photo struct { + // Url: The URL of the photo. + Url string `json:"url,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Url") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -8201,7 +7179,7 @@ type ContextualAddOnMarkup struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Cards") to include in API + // NullFields is a list of field names (e.g. "Url") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -8210,25 +7188,45 @@ type ContextualAddOnMarkup struct { NullFields []string `json:"-"` } -func (s *ContextualAddOnMarkup) MarshalJSON() ([]byte, error) { - type NoMethod ContextualAddOnMarkup +func (s *Photo) MarshalJSON() ([]byte, error) { + type NoMethod Photo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// CseInfo: Information needed for Client-side Encryption. -type CseInfo struct { - // CseDomain: CSE domain name claimed by the meeting owner's company. - // This field is expected to be used for display purposes only, i.e., - // "Extra encryption added by $cse_domain". It can differ from the - // `cse_domain` as defined elsewhere on the User, in the case of - // cross-domain meetings. - CseDomain string `json:"cseDomain,omitempty"` +type PollItemsRequest struct { + // ConnectorName: The name of connector making this call. Format: + // datasources/{source_id}/connectors/{ID} + ConnectorName string `json:"connectorName,omitempty"` + + // DebugOptions: Common debug options. + DebugOptions *DebugOptions `json:"debugOptions,omitempty"` + + // Limit: Maximum number of items to return. The maximum value is 100 + // and the default value is 20. + Limit int64 `json:"limit,omitempty"` + + // Queue: Queue name to fetch items from. If unspecified, PollItems will + // fetch from 'default' queue. The maximum length is 100 characters. + Queue string `json:"queue,omitempty"` - // WrappedKey: The wrapped CSE key used by this conference. - WrappedKey string `json:"wrappedKey,omitempty"` + // StatusCodes: Limit the items polled to the ones with these statuses. + // + // Possible values: + // "CODE_UNSPECIFIED" - Input-only value. Used with Items.list to list + // all items in the queue, regardless of status. + // "ERROR" - Error encountered by Cloud Search while processing this + // item. Details of the error are in repositoryError. + // "MODIFIED" - Item has been modified in the repository, and is out + // of date with the version previously accepted into Cloud Search. + // "NEW_ITEM" - Item is known to exist in the repository, but is not + // yet accepted by Cloud Search. An item can be in this state when + // Items.push has been called for an item of this name that did not + // exist previously. + // "ACCEPTED" - API has accepted the up-to-date data of this item. + StatusCodes []string `json:"statusCodes,omitempty"` - // ForceSendFields is a list of field names (e.g. "CseDomain") to + // ForceSendFields is a list of field names (e.g. "ConnectorName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -8236,25 +7234,33 @@ type CseInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CseDomain") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "ConnectorName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *CseInfo) MarshalJSON() ([]byte, error) { - type NoMethod CseInfo +func (s *PollItemsRequest) MarshalJSON() ([]byte, error) { + type NoMethod PollItemsRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type CustomEmojiMetadata struct { - CustomEmoji *AppsDynamiteSharedCustomEmoji `json:"customEmoji,omitempty"` +type PollItemsResponse struct { + // Items: Set of items from the queue available for connector to + // process. These items have the following subset of fields populated: + // version metadata.hash structured_data.hash content.hash payload + // status queue + Items []*Item `json:"items,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "CustomEmoji") to + // ForceSendFields is a list of field names (e.g. "Items") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -8262,92 +7268,85 @@ type CustomEmojiMetadata struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CustomEmoji") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Items") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *CustomEmojiMetadata) MarshalJSON() ([]byte, error) { - type NoMethod CustomEmojiMetadata +func (s *PollItemsResponse) MarshalJSON() ([]byte, error) { + type NoMethod PollItemsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// CustomFunctionReturnValueMarkup: The result of a user running a -// custom function. -type CustomFunctionReturnValueMarkup struct { - // ErrorMessage: The error message to show to the user if something went - // wrong. - ErrorMessage string `json:"errorMessage,omitempty"` - - // Value: The value that resulted from running the custom function. - Value interface{} `json:"value,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ErrorMessage") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ErrorMessage") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} +// Principal: Reference to a user, group, or domain. +type Principal struct { + // GroupResourceName: This principal is a group identified using an + // external identity. The name field must specify the group resource + // name with this format: identitysources/{source_id}/groups/{ID} + GroupResourceName string `json:"groupResourceName,omitempty"` -func (s *CustomFunctionReturnValueMarkup) MarshalJSON() ([]byte, error) { - type NoMethod CustomFunctionReturnValueMarkup - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // GsuitePrincipal: This principal is a Google Workspace user, group or + // domain. + GsuitePrincipal *GSuitePrincipal `json:"gsuitePrincipal,omitempty"` -// CustomerId: Represents a GSuite customer ID. Obfuscated with -// CustomerIdObfuscator. -type CustomerId struct { - CustomerId string `json:"customerId,omitempty"` + // UserResourceName: This principal is a user identified using an + // external identity. The name field must specify the user resource name + // with this format: identitysources/{source_id}/users/{ID} + UserResourceName string `json:"userResourceName,omitempty"` - // ForceSendFields is a list of field names (e.g. "CustomerId") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "GroupResourceName") + // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CustomerId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "GroupResourceName") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *CustomerId) MarshalJSON() ([]byte, error) { - type NoMethod CustomerId +func (s *Principal) MarshalJSON() ([]byte, error) { + type NoMethod Principal raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// CustomerIndexStats: Aggregation of items by status code as of the -// specified date. -type CustomerIndexStats struct { - // Date: The date for which statistics were calculated. - Date *Date `json:"date,omitempty"` +type ProcessingError struct { + // Code: Error code indicating the nature of the error. + // + // Possible values: + // "PROCESSING_ERROR_CODE_UNSPECIFIED" - Input only value. Use this + // value in Items. + // "MALFORMED_REQUEST" - Item's ACL, metadata, or content is malformed + // or in invalid state. FieldViolations contains more details on where + // the problem is. + // "UNSUPPORTED_CONTENT_FORMAT" - Countent format is unsupported. + // "INDIRECT_BROKEN_ACL" - Items with incomplete ACL information due + // to inheriting other items with broken ACL or having groups with + // unmapped descendants. + // "ACL_CYCLE" - ACL inheritance graph formed a cycle. + Code string `json:"code,omitempty"` - // ItemCountByStatus: Number of items aggregrated by status code. - ItemCountByStatus []*ItemCountByStatus `json:"itemCountByStatus,omitempty"` + // ErrorMessage: The description of the error. + ErrorMessage string `json:"errorMessage,omitempty"` - // ForceSendFields is a list of field names (e.g. "Date") to + // FieldViolations: In case the item fields are invalid, this field + // contains the details about the validation errors. + FieldViolations []*FieldViolation `json:"fieldViolations,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Code") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -8355,7 +7354,7 @@ type CustomerIndexStats struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Date") to include in API + // NullFields is a list of field names (e.g. "Code") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -8364,124 +7363,92 @@ type CustomerIndexStats struct { NullFields []string `json:"-"` } -func (s *CustomerIndexStats) MarshalJSON() ([]byte, error) { - type NoMethod CustomerIndexStats +func (s *ProcessingError) MarshalJSON() ([]byte, error) { + type NoMethod ProcessingError raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type CustomerQueryStats struct { - // Date: The date for which query stats were calculated. Stats - // calculated on the next day close to midnight are returned. - Date *Date `json:"date,omitempty"` - - QueryCountByStatus []*QueryCountByStatus `json:"queryCountByStatus,omitempty"` +// PropertyDefinition: The definition of a property within an object. +type PropertyDefinition struct { + BooleanPropertyOptions *BooleanPropertyOptions `json:"booleanPropertyOptions,omitempty"` - // ForceSendFields is a list of field names (e.g. "Date") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + DatePropertyOptions *DatePropertyOptions `json:"datePropertyOptions,omitempty"` - // NullFields is a list of field names (e.g. "Date") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // DisplayOptions: The options that determine how the property is + // displayed in the Cloud Search results page if it's specified to be + // displayed in the object's display options. + DisplayOptions *PropertyDisplayOptions `json:"displayOptions,omitempty"` -func (s *CustomerQueryStats) MarshalJSON() ([]byte, error) { - type NoMethod CustomerQueryStats - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + DoublePropertyOptions *DoublePropertyOptions `json:"doublePropertyOptions,omitempty"` -// CustomerSearchApplicationStats: Search application stats for a -// customer for the given date. -type CustomerSearchApplicationStats struct { - // Count: The count of search applications for the date. - Count int64 `json:"count,omitempty,string"` + EnumPropertyOptions *EnumPropertyOptions `json:"enumPropertyOptions,omitempty"` - // Date: The date for which search application stats were calculated. - Date *Date `json:"date,omitempty"` + HtmlPropertyOptions *HtmlPropertyOptions `json:"htmlPropertyOptions,omitempty"` - // ForceSendFields is a list of field names (e.g. "Count") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + IntegerPropertyOptions *IntegerPropertyOptions `json:"integerPropertyOptions,omitempty"` - // NullFields is a list of field names (e.g. "Count") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // IsFacetable: Indicates that the property can be used for generating + // facets. Cannot be true for properties whose type is object. + // IsReturnable must be true to set this option. Only supported for + // boolean, enum, integer, and text properties. + IsFacetable bool `json:"isFacetable,omitempty"` -func (s *CustomerSearchApplicationStats) MarshalJSON() ([]byte, error) { - type NoMethod CustomerSearchApplicationStats - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // IsRepeatable: Indicates that multiple values are allowed for the + // property. For example, a document only has one description but can + // have multiple comments. Cannot be true for properties whose type is a + // boolean. If set to false, properties that contain more than one value + // cause the indexing request for that item to be rejected. + IsRepeatable bool `json:"isRepeatable,omitempty"` -type CustomerSessionStats struct { - // Date: The date for which session stats were calculated. Stats are - // calculated on the following day, close to midnight PST, and then - // returned. - Date *Date `json:"date,omitempty"` + // IsReturnable: Indicates that the property identifies data that should + // be returned in search results via the Query API. If set to *true*, + // indicates that Query API users can use matching property fields in + // results. However, storing fields requires more space allocation and + // uses more bandwidth for search queries, which impacts performance + // over large datasets. Set to *true* here only if the field is needed + // for search results. Cannot be true for properties whose type is an + // object. + IsReturnable bool `json:"isReturnable,omitempty"` - // SearchSessionsCount: The count of search sessions on the day - SearchSessionsCount int64 `json:"searchSessionsCount,omitempty,string"` + // IsSortable: Indicates that the property can be used for sorting. + // Cannot be true for properties that are repeatable. Cannot be true for + // properties whose type is object. IsReturnable must be true to set + // this option. Only supported for boolean, date, double, integer, and + // timestamp properties. + IsSortable bool `json:"isSortable,omitempty"` - // ForceSendFields is a list of field names (e.g. "Date") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // IsSuggestable: Indicates that the property can be used for generating + // query suggestions. + IsSuggestable bool `json:"isSuggestable,omitempty"` - // NullFields is a list of field names (e.g. "Date") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // IsWildcardSearchable: Indicates that users can perform wildcard + // search for this property. Only supported for Text properties. + // IsReturnable must be true to set this option. In a given datasource + // maximum of 5 properties can be marked as is_wildcard_searchable. For + // more details, see Define object properties + // (https://developers.google.com/cloud-search/docs/guides/schema-guide#properties) + IsWildcardSearchable bool `json:"isWildcardSearchable,omitempty"` -func (s *CustomerSessionStats) MarshalJSON() ([]byte, error) { - type NoMethod CustomerSessionStats - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // Name: The name of the property. Item indexing requests sent to the + // Indexing API should set the property name equal to this value. For + // example, if name is *subject_line*, then indexing requests for + // document items with subject fields should set the name for that field + // equal to *subject_line*. Use the name as the identifier for the + // object property. Once registered as a property for an object, you + // cannot re-use this name for another property within that object. The + // name must start with a letter and can only contain letters (A-Z, a-z) + // or numbers (0-9). The maximum length is 256 characters. + Name string `json:"name,omitempty"` -// CustomerSettings: Represents settings at a customer level. -type CustomerSettings struct { - // AuditLoggingSettings: Audit Logging settings for the customer. If - // update_mask is empty then this field will be updated based on - // UpdateCustomerSettings request. - AuditLoggingSettings *AuditLoggingSettings `json:"auditLoggingSettings,omitempty"` + ObjectPropertyOptions *ObjectPropertyOptions `json:"objectPropertyOptions,omitempty"` - // VpcSettings: VPC SC settings for the customer. If update_mask is - // empty then this field will be updated based on UpdateCustomerSettings - // request. - VpcSettings *VPCSettings `json:"vpcSettings,omitempty"` + TextPropertyOptions *TextPropertyOptions `json:"textPropertyOptions,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + TimestampPropertyOptions *TimestampPropertyOptions `json:"timestampPropertyOptions,omitempty"` // ForceSendFields is a list of field names (e.g. - // "AuditLoggingSettings") to unconditionally include in API requests. + // "BooleanPropertyOptions") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the @@ -8489,40 +7456,37 @@ type CustomerSettings struct { // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AuditLoggingSettings") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the + // NullFields is a list of field names (e.g. "BooleanPropertyOptions") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` } -func (s *CustomerSettings) MarshalJSON() ([]byte, error) { - type NoMethod CustomerSettings +func (s *PropertyDefinition) MarshalJSON() ([]byte, error) { + type NoMethod PropertyDefinition raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type CustomerUserStats struct { - // Date: The date for which session stats were calculated. Stats - // calculated on the next day close to midnight are returned. - Date *Date `json:"date,omitempty"` - - // OneDayActiveUsersCount: The count of unique active users in the past - // one day - OneDayActiveUsersCount int64 `json:"oneDayActiveUsersCount,omitempty,string"` - - // SevenDaysActiveUsersCount: The count of unique active users in the - // past seven days - SevenDaysActiveUsersCount int64 `json:"sevenDaysActiveUsersCount,omitempty,string"` - - // ThirtyDaysActiveUsersCount: The count of unique active users in the - // past thirty days - ThirtyDaysActiveUsersCount int64 `json:"thirtyDaysActiveUsersCount,omitempty,string"` +// PropertyDisplayOptions: The display options for a property. +type PropertyDisplayOptions struct { + // DisplayLabel: The user friendly label for the property that is used + // if the property is specified to be displayed in ObjectDisplayOptions. + // If provided, the display label is shown in front of the property + // values when the property is part of the object display options. For + // example, if the property value is '1', the value by itself may not be + // useful context for the user. If the display name given was + // 'priority', then the user sees 'priority : 1' in the search results + // which provides clear context to search users. This is OPTIONAL; if + // not given, only the property values are displayed. The maximum length + // is 64 characters. + DisplayLabel string `json:"displayLabel,omitempty"` - // ForceSendFields is a list of field names (e.g. "Date") to + // ForceSendFields is a list of field names (e.g. "DisplayLabel") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -8530,200 +7494,78 @@ type CustomerUserStats struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Date") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "DisplayLabel") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *CustomerUserStats) MarshalJSON() ([]byte, error) { - type NoMethod CustomerUserStats - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DataLossPreventionMetadata: Annotation metadata for Data Loss -// Prevention that pertains to DLP violation on message send or edit -// events. It is used for client -> BE communication and other -// downstream process in BE (e.g. storage and audit logging), and it -// should never be returned to the client. -type DataLossPreventionMetadata struct { - // DlpMessageScanRecord: The scan record contains the action taken on - // the message send as well as scan the summary for the message contents - // and the attachment, if applicable. - DlpMessageScanRecord *DlpMessageScanRecord `json:"dlpMessageScanRecord,omitempty"` - - // DlpScanSummary: Deprecated. To be replaced by DLP scan record. The - // DLP scan summary that should only be set after the message is scanned - // in the Chat backend. - DlpScanSummary *DlpScanSummary `json:"dlpScanSummary,omitempty"` - - // WarnAcknowledged: Flag set by client on message resend to bypass WARN - // violation. - WarnAcknowledged bool `json:"warnAcknowledged,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "DlpMessageScanRecord") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DlpMessageScanRecord") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *DataLossPreventionMetadata) MarshalJSON() ([]byte, error) { - type NoMethod DataLossPreventionMetadata +func (s *PropertyDisplayOptions) MarshalJSON() ([]byte, error) { + type NoMethod PropertyDisplayOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// DataSource: Datasource is a logical namespace for items to be -// indexed. All items must belong to a datasource. This is the -// prerequisite before items can be indexed into Cloud Search. -type DataSource struct { - // DisableModifications: If true, sets the datasource to read-only mode. - // In read-only mode, the Indexing API rejects any requests to index or - // delete items in this source. Enabling read-only mode does not stop - // the processing of previously accepted data. - DisableModifications bool `json:"disableModifications,omitempty"` - - // DisableServing: Disable serving any search or assist results. - DisableServing bool `json:"disableServing,omitempty"` - - // DisplayName: Required. Display name of the datasource The maximum - // length is 300 characters. - DisplayName string `json:"displayName,omitempty"` - - // IndexingServiceAccounts: List of service accounts that have indexing - // access. - IndexingServiceAccounts []string `json:"indexingServiceAccounts,omitempty"` - - // ItemsVisibility: This field restricts visibility to items at the - // datasource level. Items within the datasource are restricted to the - // union of users and groups included in this field. Note that, this - // does not ensure access to a specific item, as users need to have ACL - // permissions on the contained items. This ensures a high level access - // on the entire datasource, and that the individual items are not - // shared outside this visibility. - ItemsVisibility []*GSuitePrincipal `json:"itemsVisibility,omitempty"` - - // Name: The name of the datasource resource. Format: - // datasources/{source_id}. The name is ignored when creating a - // datasource. - Name string `json:"name,omitempty"` +// PushItem: Represents an item to be pushed to the indexing queue. +type PushItem struct { + // ContentHash: Content hash of the item according to the repository. If + // specified, this is used to determine how to modify this item's + // status. Setting this field and the type field results in argument + // error. The maximum length is 2048 characters. + ContentHash string `json:"contentHash,omitempty"` - // OperationIds: IDs of the Long Running Operations (LROs) currently - // running for this schema. - OperationIds []string `json:"operationIds,omitempty"` + // MetadataHash: The metadata hash of the item according to the + // repository. If specified, this is used to determine how to modify + // this item's status. Setting this field and the type field results in + // argument error. The maximum length is 2048 characters. + MetadataHash string `json:"metadataHash,omitempty"` - // ReturnThumbnailUrls: Can a user request to get thumbnail URI for - // Items indexed in this data source. - ReturnThumbnailUrls bool `json:"returnThumbnailUrls,omitempty"` + // Payload: Provides additional document state information for the + // connector, such as an alternate repository ID and other metadata. The + // maximum length is 8192 bytes. + Payload string `json:"payload,omitempty"` - // ShortName: A short name or alias for the source. This value will be - // used to match the 'source' operator. For example, if the short name - // is ** then queries like *source:* will only return - // results for this source. The value must be unique across all - // datasources. The value must only contain alphanumeric characters - // (a-zA-Z0-9). The value cannot start with 'google' and cannot be one - // of the following: mail, gmail, docs, drive, groups, sites, calendar, - // hangouts, gplus, keep, people, teams. Its maximum length is 32 + // Queue: Queue to which this item belongs. The `default` queue is + // chosen if this field is not specified. The maximum length is 512 // characters. - ShortName string `json:"shortName,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. - // "DisableModifications") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DisableModifications") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *DataSource) MarshalJSON() ([]byte, error) { - type NoMethod DataSource - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DataSourceIndexStats: Aggregation of items by status code as of the -// specified date. -type DataSourceIndexStats struct { - // Date: The date for which index stats were calculated. If the date of - // request is not the current date then stats calculated on the next day - // are returned. Stats are calculated close to mid night in this case. - // If date of request is current date, then real time stats are - // returned. - Date *Date `json:"date,omitempty"` - - // ItemCountByStatus: Number of items aggregrated by status code. - ItemCountByStatus []*ItemCountByStatus `json:"itemCountByStatus,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Date") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Date") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + Queue string `json:"queue,omitempty"` -func (s *DataSourceIndexStats) MarshalJSON() ([]byte, error) { - type NoMethod DataSourceIndexStats - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // RepositoryError: Populate this field to store Connector or repository + // error details. This information is displayed in the Admin Console. + // This field may only be populated when the Type is REPOSITORY_ERROR. + RepositoryError *RepositoryError `json:"repositoryError,omitempty"` -// DataSourceRestriction: Restriction on Datasource. -type DataSourceRestriction struct { - // FilterOptions: Filter options restricting the results. If multiple - // filters are present, they are grouped by object type before joining. - // Filters with the same object type are joined conjunctively, then the - // resulting expressions are joined disjunctively. The maximum number of - // elements is 20. NOTE: Suggest API supports only few filters at the - // moment: "objecttype", "type" and "mimetype". For now, schema specific - // filters cannot be used to filter suggestions. - FilterOptions []*FilterOptions `json:"filterOptions,omitempty"` + // StructuredDataHash: Structured data hash of the item according to the + // repository. If specified, this is used to determine how to modify + // this item's status. Setting this field and the type field results in + // argument error. The maximum length is 2048 characters. + StructuredDataHash string `json:"structuredDataHash,omitempty"` - // Source: The source of restriction. - Source *Source `json:"source,omitempty"` + // Type: The type of the push operation that defines the push behavior. + // + // Possible values: + // "UNSPECIFIED" - Default UNSPECIFIED. Specifies that the push + // operation should not modify ItemStatus + // "MODIFIED" - Indicates that the repository document has been + // modified or updated since the previous update call. This changes + // status to MODIFIED state for an existing item. If this is called on a + // non existing item, the status is changed to NEW_ITEM. + // "NOT_MODIFIED" - Item in the repository has not been modified since + // the last update call. This push operation will set status to ACCEPTED + // state. + // "REPOSITORY_ERROR" - Connector is facing a repository error + // regarding this item. Change status to REPOSITORY_ERROR state. Item is + // unreserved and rescheduled at a future time determined by exponential + // backoff. + // "REQUEUE" - Call push with REQUEUE only for items that have been + // reserved. This action unreserves the item and resets its available + // time to the wall clock time. + Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "FilterOptions") to + // ForceSendFields is a list of field names (e.g. "ContentHash") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -8731,7 +7573,7 @@ type DataSourceRestriction struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FilterOptions") to include + // NullFields is a list of field names (e.g. "ContentHash") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -8740,14705 +7582,24 @@ type DataSourceRestriction struct { NullFields []string `json:"-"` } -func (s *DataSourceRestriction) MarshalJSON() ([]byte, error) { - type NoMethod DataSourceRestriction +func (s *PushItem) MarshalJSON() ([]byte, error) { + type NoMethod PushItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Date: Represents a whole calendar date, for example a date of birth. -// The time of day and time zone are either specified elsewhere or are -// not significant. The date is relative to the Proleptic Gregorian -// Calendar -// (https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar). The -// date must be a valid calendar date between the year 1 and 9999. -type Date struct { - // Day: Day of month. Must be from 1 to 31 and valid for the year and - // month. - Day int64 `json:"day,omitempty"` - - // Month: Month of date. Must be from 1 to 12. - Month int64 `json:"month,omitempty"` - - // Year: Year of date. Must be from 1 to 9999. - Year int64 `json:"year,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Day") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Day") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Date) MarshalJSON() ([]byte, error) { - type NoMethod Date - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DateOperatorOptions: Optional. Provides a search operator for date -// properties. Search operators let users restrict the query to specific -// fields relevant to the type of item being searched. -type DateOperatorOptions struct { - // GreaterThanOperatorName: Indicates the operator name required in the - // query in order to isolate the date property using the greater-than - // operator. For example, if greaterThanOperatorName is *closedafter* - // and the property's name is *closeDate*, then queries like - // *closedafter:* show results only where the value of the - // property named *closeDate* is later than **. The operator name - // can only contain lowercase letters (a-z). The maximum length is 32 - // characters. - GreaterThanOperatorName string `json:"greaterThanOperatorName,omitempty"` - - // LessThanOperatorName: Indicates the operator name required in the - // query in order to isolate the date property using the less-than - // operator. For example, if lessThanOperatorName is *closedbefore* and - // the property's name is *closeDate*, then queries like - // *closedbefore:* show results only where the value of the - // property named *closeDate* is earlier than **. The operator - // name can only contain lowercase letters (a-z). The maximum length is - // 32 characters. - LessThanOperatorName string `json:"lessThanOperatorName,omitempty"` - - // OperatorName: Indicates the actual string required in the query in - // order to isolate the date property. For example, suppose an issue - // tracking schema object has a property named *closeDate* that - // specifies an operator with an operatorName of *closedon*. For - // searches on that data, queries like *closedon:* show results - // only where the value of the *closeDate* property matches **. - // By contrast, a search that uses the same ** without an - // operator returns all items where ** matches the value of any - // String properties or text within the content field for the indexed - // datasource. The operator name can only contain lowercase letters - // (a-z). The maximum length is 32 characters. - OperatorName string `json:"operatorName,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "GreaterThanOperatorName") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "GreaterThanOperatorName") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *DateOperatorOptions) MarshalJSON() ([]byte, error) { - type NoMethod DateOperatorOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DatePropertyOptions: The options for date properties. -type DatePropertyOptions struct { - // OperatorOptions: If set, describes how the date should be used as a - // search operator. - OperatorOptions *DateOperatorOptions `json:"operatorOptions,omitempty"` - - // ForceSendFields is a list of field names (e.g. "OperatorOptions") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "OperatorOptions") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *DatePropertyOptions) MarshalJSON() ([]byte, error) { - type NoMethod DatePropertyOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type DateTimePicker struct { - // Label: The label for the field, which is displayed to the user. - Label string `json:"label,omitempty"` - - // Name: The name of the text field which is used in FormInput, and - // uniquely identifies this input. - Name string `json:"name,omitempty"` - - // OnChange: Triggered when the user clicks on the Save, or Clear button - // from the date / time picker dialog. Will only be triggered if the - // value changed as a result of the Save / Clear operation. - OnChange *FormAction `json:"onChange,omitempty"` - - // TimezoneOffsetDate: The number representing the time-zone offset from - // UTC, in minutes. If set, the value_ms_epoch will be displayed in the - // specified time zone. If not set, it will use the user's timezone - // setting in client side. - TimezoneOffsetDate int64 `json:"timezoneOffsetDate,omitempty"` - - // Type: The type of the DateTimePicker. - // - // Possible values: - // "UNSPECIFIED_TYPE" - // "DATE_AND_TIME" - // "DATE_ONLY" - // "TIME_ONLY" - Type string `json:"type,omitempty"` - - // ValueMsEpoch: The value to display which can be the default value - // before user input or previous user input. It is represented in - // milliseconds (Epoch time). - For DATE_AND_TIME type, the full epoch - // value is used. - For DATE_ONLY type, only date of the epoch time is - // used. - For TIME_ONLY type, only time of the epoch time is used. For - // example, you can set epoch time to 3 * 60 * 60 * 1000 to represent - // 3am. - ValueMsEpoch int64 `json:"valueMsEpoch,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "Label") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Label") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DateTimePicker) MarshalJSON() ([]byte, error) { - type NoMethod DateTimePicker - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DateValues: List of date values. -type DateValues struct { - Values []*Date `json:"values,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Values") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Values") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DateValues) MarshalJSON() ([]byte, error) { - type NoMethod DateValues - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DebugOptions: Shared request debug options for all cloudsearch RPC -// methods. -type DebugOptions struct { - // EnableDebugging: If you are asked by Google to help with debugging, - // set this field. Otherwise, ignore this field. - EnableDebugging bool `json:"enableDebugging,omitempty"` - - // ForceSendFields is a list of field names (e.g. "EnableDebugging") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "EnableDebugging") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *DebugOptions) MarshalJSON() ([]byte, error) { - type NoMethod DebugOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DeepLinkData: Deep-linking data is used to construct a deep-link URI -// for an activity or frame's embed, such that on click, the user is -// taken to the right place in a mobile app. If the app is not -// installed, the user is taken to the app store. If not on mobile, an -// analogous web uri is used. -type DeepLinkData struct { - // AppId: Application ID (or project ID) from Google API Console. - AppId int64 `json:"appId,omitempty,string"` - - // Client: The data for a Google API Console client is entered by a - // developer during client registration and is stored in - // PackagingService. - Client []*PackagingServiceClient `json:"client,omitempty"` - - // DeepLinkId: The ID for non-URL content. Embeds may either have no - // analogous web presence or prefer a native mobile experience if - // supported. In the case of no web presence, instead of setting the - // "url" field of an embed, such developers will set this field and - // other content fields, e.g. thumbnail, title, description. If set, - // this field is used to construct the deep-link URI. Note that the - // native experience is preferred over the web link and the web link is - // used as a fallback. - DeepLinkId string `json:"deepLinkId,omitempty"` - - // Url: Analogous web presence. Used as desktop fallback or when no - // native link data is present. - Url string `json:"url,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AppId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AppId") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DeepLinkData) MarshalJSON() ([]byte, error) { - type NoMethod DeepLinkData - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DeleteMetadata: A message delete in Dynamite inserts a Babel-only -// item containing this field. This is only inserted for messages before -// the source-of-truth flip. See go/hsc-message-deletions for more -// details. -type DeleteMetadata struct { -} - -type DeleteQueueItemsRequest struct { - // ConnectorName: The name of connector making this call. Format: - // datasources/{source_id}/connectors/{ID} - ConnectorName string `json:"connectorName,omitempty"` - - // DebugOptions: Common debug options. - DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - - // Queue: The name of a queue to delete items from. - Queue string `json:"queue,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ConnectorName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ConnectorName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DeleteQueueItemsRequest) MarshalJSON() ([]byte, error) { - type NoMethod DeleteQueueItemsRequest - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type DeliveryMedium struct { - // MediumType: Describes the medium the cent was sent/received. For - // example, if I receive an SMS via GV, the medium_type will be GV. - // - // Possible values: - // "UNKNOWN_MEDIUM" - // "BABEL_MEDIUM" - // "GOOGLE_VOICE_MEDIUM" - // "LOCAL_SMS_MEDIUM" - MediumType string `json:"mediumType,omitempty"` - - // SelfPhone: In the case of multiple GV/native numbers, this defines - // the exact number to send from. It is used to differentiate mediums - // that have the same type, but different addresses (e.g. two android - // phones). - SelfPhone *VoicePhoneNumber `json:"selfPhone,omitempty"` - - // ForceSendFields is a list of field names (e.g. "MediumType") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "MediumType") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DeliveryMedium) MarshalJSON() ([]byte, error) { - type NoMethod DeliveryMedium - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DisplayedProperty: A reference to a top-level property within the -// object that should be displayed in search results. The values of the -// chosen properties is displayed in the search results along with the -// display label for that property if one is specified. If a display -// label is not specified, only the values is shown. -type DisplayedProperty struct { - // PropertyName: The name of the top-level property as defined in a - // property definition for the object. If the name is not a defined - // property in the schema, an error is given when attempting to update - // the schema. - PropertyName string `json:"propertyName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "PropertyName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "PropertyName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DisplayedProperty) MarshalJSON() ([]byte, error) { - type NoMethod DisplayedProperty - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type Divider struct { -} - -type DlpAction struct { - // Possible values: - // "NO_ACTION" - LINT.IfChange - // "BLOCK" - // "AUDIT_ONLY" - // "WARN" - - // LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/exter - // nal/dlp/ApplicableDlpActionEvaluator.java) - ActionType string `json:"actionType,omitempty"` - - // UnsafeHtmlMessageBody: The custom error message defined by the - // customer administrator. - UnsafeHtmlMessageBody string `json:"unsafeHtmlMessageBody,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ActionType") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ActionType") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DlpAction) MarshalJSON() ([]byte, error) { - type NoMethod DlpAction - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DlpMessageScanRecord: A summary of a DLP scan. This is a combination -// summary that contains both scan on message and scan on attachments if -// any. -type DlpMessageScanRecord struct { - // AttachmentScanSummary: Summaries of the attachment scan if any. - AttachmentScanSummary *DlpScanSummary `json:"attachmentScanSummary,omitempty"` - - // DlpAction: The applied action. - DlpAction *DlpAction `json:"dlpAction,omitempty"` - - // MessageScanSummary: Summaries of the message scan. - MessageScanSummary *DlpScanSummary `json:"messageScanSummary,omitempty"` - - // ScanOutcome: The DLP scan outcome for the message. - // - // Possible values: - // "SCAN_UNKNOWN_OUTCOME" - // "SCAN_SUCCEEDED_NO_VIOLATION" - This means no violation is detected - // on the given message/attachment. - // "SCAN_SUCCEEDED_BLOCK" - Violation is detected. The - // message/attachment will be blocked (or deleted if this happens in - // failure recovery), the user will be warned, and the violation will be - // logged to BIP. - // "SCAN_SUCCEEDED_WARN" - Violation is detected. The user will be - // warned, and the violation will be logged to BIP. - // "SCAN_SUCCEEDED_AUDIT_ONLY" - Violation is detected and will be - // logged to BIP (no user-facing action performed). - // "SCAN_FAILURE_EXCEPTION" - Rule fetch and evaluation were attempted - // but an exception occurred. - // "SCAN_FAILURE_RULE_FETCH_FAILED" - Rule fetch was attempted but - // failed, so rule evaluation could not be performed. - // "SCAN_FAILURE_TIMEOUT" - Rule fetch and evaluation were attempted - // but the scanning timed out. - // "SCAN_FAILURE_ALL_RULES_FAILED" - Rule fetch completed and - // evaluation were attempted, but all of the rules failed to be - // evaluated. - // "SCAN_FAILURE_ILLEGAL_STATE_FOR_ATTACHMENTS" - An - // IllegalStateException is thrown when executing DLP on attachments. - // This could happen if the space row is missing. - // "SCAN_SKIPPED_EXPERIMENT_DISABLED" - Rule fetch and evaluation is - // skipped because DLP is not enabled for the user. - // "SCAN_SKIPPED_CONSUMER" - Rule fetch and evaluation are skipped - // because the user sending message is consumer. - // "SCAN_SKIPPED_NON_HUMAN_USER" - Rule fetch and evaluation are - // skipped because the user sending message is a non-human user (i.e. a - // bot). - // "SCAN_SKIPPED_NO_MESSAGE" - Rule fetch and evaluation are skipped - // because there is no message to scan. Deprecated: this should not - // happen since there must be message or attachment for DLP scan. - // "SCAN_SKIPPED_USER_ACKNOWLEDGED_WARNING" - Rule fetch and - // evaluation are skipped because the user has acknowledged the warning - // on the message that triggered the Warn violation and sent the message - // anyway. - // "SCAN_SKIPPED_MESSAGE_FROM_UNSUPPORTED_ORIGIN" - Scanning was - // skipped because the message originated from Interop or Babel. - // "SCAN_SKIPPED_MESSAGE_SENT_DURING_SPACE_MIGRATION" - Scanning was - // skipped because the message was sent while the space is in migration - // mode. See go/migration-mode for details. - // "SCAN_RULE_EVALUATION_SKIPPED_NO_RULES_FOUND" - Rule fetch - // happened, but rule evaluation is skipped because no rules were found. - // - // "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_ACTION_PARAMS" - // - Rule fetch happened, but rule evaluation is skipped because none of - // the rules are applicable to the given action params. Deprecated. Use - // SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES - // "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_TRIGGER" - - // Rule fetch happened, but rule evaluation is skipped because none of - // the rules are applicable to the given trigger. Deprecated. Use - // SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES - // "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES" - Rule fetch - // happened, but rule evaluation is skipped because none of the rules - // are applicable. - // "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_PERMANENT_ERROR" - Rule - // fetch happened, but rule evaluation is skipped because Changeling - // returned permanent failure while converting the attachment to text. - // "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_EMPTY_RESPONSE" - Rule - // fetch happened, but rule evaluation is skipped because Changeling - // returned an empty response while converting the attachment to text. - // "SCAN_RULE_EVALUATION_SKIPPED_UNSUPPORTED_FILE_TYPE" - Rule fetch - // happened, but rule evaluation is skipped because file type is - // unsupported. - // "SCAN_SUCCEEDED_WITH_FAILURES_NO_VIOLATION" - Rules were fetched - // but some evaluations failed. No violation was found in the rules that - // were successfully evaluated. - // "SCAN_SUCCEEDED_WITH_FAILURES_BLOCK" - Rules were fetched but some - // evaluations failed. A blocking violation was found in the rules that - // were successfully evaluated. The message/attachment will be blocked, - // the user will be notified, and the violation will be logged to BIP. A - // blocking violation takes precedence over all other violation types. - // "SCAN_SUCCEEDED_WITH_FAILURES_WARN" - Rules were fetched but some - // evaluations failed. A warn violation was found in the rules that were - // successfully evaluated. The user will be warned, and the violation - // will be logged to BIP. - // "SCAN_SUCCEEDED_WITH_FAILURES_AUDIT_ONLY" - Rules were fetched but - // some evaluations failed. An audit-only violation was found in the - // rules that were successfully evaluated. The violation will be logged - // to BIP (no user-facing action performed). - ScanOutcome string `json:"scanOutcome,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "AttachmentScanSummary") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AttachmentScanSummary") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *DlpMessageScanRecord) MarshalJSON() ([]byte, error) { - type NoMethod DlpMessageScanRecord - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DlpScanSummary: A summary of a DLP scan event. This is a summary and -// should contain the minimum amount of data required to identify and -// process DLP scans. It is written to Starcast and encoded & returned -// to the client on attachment upload. -type DlpScanSummary struct { - DlpAction *DlpAction `json:"dlpAction,omitempty"` - - // ScanId: The scan ID of the corresponding {@link - // DlpViolationScanRecord} in the {@link EphemeralDlpScans} Spanner - // table. This can be used to fetch additional details about the scan, - // e.g. for audit logging. - ScanId string `json:"scanId,omitempty"` - - // ScanNotApplicableForContext: Indicates that was no attempt to scan a - // message or attachment because it was not applicable in the given - // context (e.g. atomic mutuate). If this is true, scan_outcome should - // not be set. This flag is used to identify messages that DLP did not - // attempt to scan for monitoring scan coverage. Contents that DLP - // attempted to scan but skipped can be identified by - // DlpScanOutcome.SCAN_SKIPPED_* reasons. DEPRECATED: The prober can - // determine this from the context. - ScanNotApplicableForContext bool `json:"scanNotApplicableForContext,omitempty"` - - // ScanOutcome: The outcome of a DLP Scan. If this is set, - // scan_not_applicable_for_context should not be true. - // - // Possible values: - // "SCAN_UNKNOWN_OUTCOME" - // "SCAN_SUCCEEDED_NO_VIOLATION" - This means no violation is detected - // on the given message/attachment. - // "SCAN_SUCCEEDED_BLOCK" - Violation is detected. The - // message/attachment will be blocked (or deleted if this happens in - // failure recovery), the user will be warned, and the violation will be - // logged to BIP. - // "SCAN_SUCCEEDED_WARN" - Violation is detected. The user will be - // warned, and the violation will be logged to BIP. - // "SCAN_SUCCEEDED_AUDIT_ONLY" - Violation is detected and will be - // logged to BIP (no user-facing action performed). - // "SCAN_FAILURE_EXCEPTION" - Rule fetch and evaluation were attempted - // but an exception occurred. - // "SCAN_FAILURE_RULE_FETCH_FAILED" - Rule fetch was attempted but - // failed, so rule evaluation could not be performed. - // "SCAN_FAILURE_TIMEOUT" - Rule fetch and evaluation were attempted - // but the scanning timed out. - // "SCAN_FAILURE_ALL_RULES_FAILED" - Rule fetch completed and - // evaluation were attempted, but all of the rules failed to be - // evaluated. - // "SCAN_FAILURE_ILLEGAL_STATE_FOR_ATTACHMENTS" - An - // IllegalStateException is thrown when executing DLP on attachments. - // This could happen if the space row is missing. - // "SCAN_SKIPPED_EXPERIMENT_DISABLED" - Rule fetch and evaluation is - // skipped because DLP is not enabled for the user. - // "SCAN_SKIPPED_CONSUMER" - Rule fetch and evaluation are skipped - // because the user sending message is consumer. - // "SCAN_SKIPPED_NON_HUMAN_USER" - Rule fetch and evaluation are - // skipped because the user sending message is a non-human user (i.e. a - // bot). - // "SCAN_SKIPPED_NO_MESSAGE" - Rule fetch and evaluation are skipped - // because there is no message to scan. Deprecated: this should not - // happen since there must be message or attachment for DLP scan. - // "SCAN_SKIPPED_USER_ACKNOWLEDGED_WARNING" - Rule fetch and - // evaluation are skipped because the user has acknowledged the warning - // on the message that triggered the Warn violation and sent the message - // anyway. - // "SCAN_SKIPPED_MESSAGE_FROM_UNSUPPORTED_ORIGIN" - Scanning was - // skipped because the message originated from Interop or Babel. - // "SCAN_SKIPPED_MESSAGE_SENT_DURING_SPACE_MIGRATION" - Scanning was - // skipped because the message was sent while the space is in migration - // mode. See go/migration-mode for details. - // "SCAN_RULE_EVALUATION_SKIPPED_NO_RULES_FOUND" - Rule fetch - // happened, but rule evaluation is skipped because no rules were found. - // - // "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_ACTION_PARAMS" - // - Rule fetch happened, but rule evaluation is skipped because none of - // the rules are applicable to the given action params. Deprecated. Use - // SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES - // "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES_FOR_TRIGGER" - - // Rule fetch happened, but rule evaluation is skipped because none of - // the rules are applicable to the given trigger. Deprecated. Use - // SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES - // "SCAN_RULE_EVALUATION_SKIPPED_NO_APPLICABLE_RULES" - Rule fetch - // happened, but rule evaluation is skipped because none of the rules - // are applicable. - // "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_PERMANENT_ERROR" - Rule - // fetch happened, but rule evaluation is skipped because Changeling - // returned permanent failure while converting the attachment to text. - // "SCAN_RULE_EVALUATION_SKIPPED_CHANGELING_EMPTY_RESPONSE" - Rule - // fetch happened, but rule evaluation is skipped because Changeling - // returned an empty response while converting the attachment to text. - // "SCAN_RULE_EVALUATION_SKIPPED_UNSUPPORTED_FILE_TYPE" - Rule fetch - // happened, but rule evaluation is skipped because file type is - // unsupported. - // "SCAN_SUCCEEDED_WITH_FAILURES_NO_VIOLATION" - Rules were fetched - // but some evaluations failed. No violation was found in the rules that - // were successfully evaluated. - // "SCAN_SUCCEEDED_WITH_FAILURES_BLOCK" - Rules were fetched but some - // evaluations failed. A blocking violation was found in the rules that - // were successfully evaluated. The message/attachment will be blocked, - // the user will be notified, and the violation will be logged to BIP. A - // blocking violation takes precedence over all other violation types. - // "SCAN_SUCCEEDED_WITH_FAILURES_WARN" - Rules were fetched but some - // evaluations failed. A warn violation was found in the rules that were - // successfully evaluated. The user will be warned, and the violation - // will be logged to BIP. - // "SCAN_SUCCEEDED_WITH_FAILURES_AUDIT_ONLY" - Rules were fetched but - // some evaluations failed. An audit-only violation was found in the - // rules that were successfully evaluated. The violation will be logged - // to BIP (no user-facing action performed). - ScanOutcome string `json:"scanOutcome,omitempty"` - - // ScanTrigger: The event that triggered the scan. This corresponds to - // the rule trigger configured in admin console and maps to the - // different things that can be scanned. - // - // Possible values: - // "UNKNOWN_TRIGGER_TYPE" - LINT.IfChange - // "MESSAGE_SENT" - // "ATTACHMENT_UPLOADED" - - // LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/exter - // nal/dlp/DlpTriggerInfo.java) - ScanTrigger string `json:"scanTrigger,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DlpAction") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DlpAction") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DlpScanSummary) MarshalJSON() ([]byte, error) { - type NoMethod DlpScanSummary - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type DmId struct { - // DmId: Unique server assigned Id, per Direct Message Space. - DmId string `json:"dmId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DmId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DmId") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DmId) MarshalJSON() ([]byte, error) { - type NoMethod DmId - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DocumentInfo: Information on a document attached to an active -// conference. -type DocumentInfo struct { - // WhiteboardInfo: A whiteboard document. - WhiteboardInfo *WhiteboardInfo `json:"whiteboardInfo,omitempty"` - - // ForceSendFields is a list of field names (e.g. "WhiteboardInfo") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "WhiteboardInfo") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *DocumentInfo) MarshalJSON() ([]byte, error) { - type NoMethod DocumentInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DoubleOperatorOptions: Used to provide a search operator for double -// properties. This is optional. Search operators let users restrict the -// query to specific fields relevant to the type of item being searched. -type DoubleOperatorOptions struct { - // OperatorName: Indicates the operator name required in the query in - // order to use the double property in sorting or as a facet. The - // operator name can only contain lowercase letters (a-z). The maximum - // length is 32 characters. - OperatorName string `json:"operatorName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "OperatorName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "OperatorName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DoubleOperatorOptions) MarshalJSON() ([]byte, error) { - type NoMethod DoubleOperatorOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DoublePropertyOptions: The options for double properties. -type DoublePropertyOptions struct { - // OperatorOptions: If set, describes how the double should be used as a - // search operator. - OperatorOptions *DoubleOperatorOptions `json:"operatorOptions,omitempty"` - - // ForceSendFields is a list of field names (e.g. "OperatorOptions") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "OperatorOptions") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *DoublePropertyOptions) MarshalJSON() ([]byte, error) { - type NoMethod DoublePropertyOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DoubleValues: List of double values. -type DoubleValues struct { - Values []float64 `json:"values,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Values") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Values") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DoubleValues) MarshalJSON() ([]byte, error) { - type NoMethod DoubleValues - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -func (s *DoubleValues) UnmarshalJSON(data []byte) error { - type NoMethod DoubleValues - var s1 struct { - Values []gensupport.JSONFloat64 `json:"values"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Values = make([]float64, len(s1.Values)) - for i := range s1.Values { - s.Values[i] = float64(s1.Values[i]) - } - return nil -} - -type DriveClientActionMarkup struct { - RequestFileScope *RequestFileScope `json:"requestFileScope,omitempty"` - - // ForceSendFields is a list of field names (e.g. "RequestFileScope") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "RequestFileScope") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *DriveClientActionMarkup) MarshalJSON() ([]byte, error) { - type NoMethod DriveClientActionMarkup - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DriveFollowUpRestrict: Drive follow-up search restricts (e.g. -// "followup:suggestions"). -type DriveFollowUpRestrict struct { - // Possible values: - // "UNSPECIFIED" - // "FOLLOWUP_SUGGESTIONS" - // "FOLLOWUP_ACTION_ITEMS" - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Type") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Type") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DriveFollowUpRestrict) MarshalJSON() ([]byte, error) { - type NoMethod DriveFollowUpRestrict - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DriveLocationRestrict: Drive location search restricts (e.g. -// "is:starred"). -type DriveLocationRestrict struct { - // Possible values: - // "UNSPECIFIED" - // "TRASHED" - // "STARRED" - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Type") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Type") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DriveLocationRestrict) MarshalJSON() ([]byte, error) { - type NoMethod DriveLocationRestrict - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DriveMetadata: Annotation metadata for Drive artifacts. -type DriveMetadata struct { - AclFixRequest *AclFixRequest `json:"aclFixRequest,omitempty"` - - AclFixStatus *AclFixStatus `json:"aclFixStatus,omitempty"` - - // CanEdit: Can the current user edit this resource - CanEdit bool `json:"canEdit,omitempty"` - - // CanShare: Can the current user share this resource - CanShare bool `json:"canShare,omitempty"` - - // CanView: Can the current user view this resource - CanView bool `json:"canView,omitempty"` - - // DriveAction: DriveAction for organizing this file in Drive. If the - // user does not have access to the Drive file, the value will be - // DriveAction.DRIVE_ACTION_UNSPECIFIED. This field is only set when - // part of a FileResult in a ListFilesResponse. - // - // Possible values: - // "DRIVE_ACTION_UNSPECIFIED" - No organize action should be shown. - // "ADD_TO_DRIVE" - Show "Add to Drive" button, for adding file that - // doesn't exist in Drive to Drive. Note that deleted Drive files that - // still exist (i.e. in your Trash) will still be ORGANIZE (this is - // consistent with Gmail Drive attachments). - // "ORGANIZE" - Show "Move" button, for organizing a Drive file the - // user has permission to move. - // "ADD_SHORTCUT" - Show "Add shortcut" button, for adding a shortcut - // to a Drive file the user does not have permission to move. - // "ADD_ANOTHER_SHORTCUT" - Show "Add another shortcut" button, for - // Drive files the user has already created a shortcut to. - DriveAction string `json:"driveAction,omitempty"` - - // Possible values: - // "DRIVE_STATE_UNSPECIFIED" - Default value - // "IN_MY_DRIVE" - File in My Drive - // "IN_TEAM_DRIVE" - File in Team Drive - // "SHARED_IN_DRIVE" - File in someone else's Drive, but is shared - // with the current user - // "NOT_IN_DRIVE" - File not in drive - DriveState string `json:"driveState,omitempty"` - - // EmbedUrl: Output only. Trusted Resource URL for drive file embedding. - EmbedUrl *TrustedResourceUrlProto `json:"embedUrl,omitempty"` - - // EncryptedDocId: Indicates whether the Drive link contains an - // encrypted doc ID. If true, Dynamite should not attempt to query the - // doc ID in Drive Service. See go/docid-encryption for details. - EncryptedDocId bool `json:"encryptedDocId,omitempty"` - - // EncryptedResourceKey: This is deprecated and unneeded. TODO - // (b/182479059): Remove this. - EncryptedResourceKey string `json:"encryptedResourceKey,omitempty"` - - // ExternalMimetype: External mimetype of the Drive Resource (Useful for - // creating Drive URL) See: http://b/35219462 - ExternalMimetype string `json:"externalMimetype,omitempty"` - - // Id: Drive resource ID of the artifact. - Id string `json:"id,omitempty"` - - // IsDownloadRestricted: Deprecated. Whether the setting to restrict - // downloads is enabled for this file. This was previously used to - // determine whether to hide the download and print buttons in the UI, - // but is no longer used by clients, because Projector now independently - // queries Drive to ensure that we have the most up-to-date value. - IsDownloadRestricted bool `json:"isDownloadRestricted,omitempty"` - - // IsOwner: If the current user is the Drive file's owner. The field is - // currently only set for Annotations for the ListFiles action (as - // opposed to fetching Topics/Messages with Drive annotations). - IsOwner bool `json:"isOwner,omitempty"` - - // LegacyUploadMetadata: Only present if this DriveMetadata is converted - // from an UploadMetadata. - LegacyUploadMetadata *LegacyUploadMetadata `json:"legacyUploadMetadata,omitempty"` - - // Mimetype: Mimetype of the Drive Resource - Mimetype string `json:"mimetype,omitempty"` - - // OrganizationDisplayName: The display name of the organization owning - // the Drive item. - OrganizationDisplayName string `json:"organizationDisplayName,omitempty"` - - // ShortcutAuthorizedItemId: Shortcut ID of this drive file in the - // shared drive, which is associated with a named room this file was - // shared in. Shortcuts will not be created for DMs or unnamed rooms. - // This is populated after the DriveMetadata is migrated to shared - // drive. go/chat-shared-drive-uploads. - ShortcutAuthorizedItemId *AuthorizedItemId `json:"shortcutAuthorizedItemId,omitempty"` - - // ShouldNotRender: If this field is set to true, server should still - // contact external backends to get metadata for search but clients - // should not render this chip. - ShouldNotRender bool `json:"shouldNotRender,omitempty"` - - // ThumbnailHeight: Thumbnail image of the Drive Resource - ThumbnailHeight int64 `json:"thumbnailHeight,omitempty"` - - // ThumbnailUrl: Thumbnail image of the Drive Resource - ThumbnailUrl string `json:"thumbnailUrl,omitempty"` - - // ThumbnailWidth: Thumbnail image of the Drive Resource - ThumbnailWidth int64 `json:"thumbnailWidth,omitempty"` - - // Title: Title of the Drive Resource - Title string `json:"title,omitempty"` - - // UrlFragment: Url string fragment that generally indicates the - // specific location in the linked file. Example: #header=h.123abc456. - // If the fragment is not present this will not be present and therefore - // default to an empty string. The "#" will not be included. - UrlFragment string `json:"urlFragment,omitempty"` - - // WrappedResourceKey: This is considered SPII and should not be logged. - WrappedResourceKey *WrappedResourceKey `json:"wrappedResourceKey,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AclFixRequest") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AclFixRequest") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DriveMetadata) MarshalJSON() ([]byte, error) { - type NoMethod DriveMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DriveMimeTypeRestrict: Drive mime-type search restricts (e.g. -// "type:pdf"). -type DriveMimeTypeRestrict struct { - // Possible values: - // "UNSPECIFIED" - // "PDF" - // "DOCUMENT" - // "PRESENTATION" - // "SPREADSHEET" - // "FORM" - // "DRAWING" - // "SCRIPT" - // "MAP" - // "IMAGE" - // "AUDIO" - // "VIDEO" - // "FOLDER" - // "ARCHIVE" - // "SITE" - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Type") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Type") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DriveMimeTypeRestrict) MarshalJSON() ([]byte, error) { - type NoMethod DriveMimeTypeRestrict - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DriveTimeSpanRestrict: The time span search restrict (e.g. -// "after:2017-09-11 before:2017-09-12"). -type DriveTimeSpanRestrict struct { - // Possible values: - // "UNSPECIFIED" - // "TODAY" - // "YESTERDAY" - // "LAST_7_DAYS" - // "LAST_30_DAYS" - Not Enabled - // "LAST_90_DAYS" - Not Enabled - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Type") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Type") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DriveTimeSpanRestrict) MarshalJSON() ([]byte, error) { - type NoMethod DriveTimeSpanRestrict - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// DynamiteMessagesScoringInfo: This is the proto for holding message -// level scoring information. This data is used for logging in query-api -// server and for testing purposes. -type DynamiteMessagesScoringInfo struct { - CommonContactCount int64 `json:"commonContactCount,omitempty,string"` - - CommonCountToContactListCountRatio float64 `json:"commonCountToContactListCountRatio,omitempty"` - - CommonCountToMembershipCountRatio float64 `json:"commonCountToMembershipCountRatio,omitempty"` - - CreatorGaiaId int64 `json:"creatorGaiaId,omitempty,string"` - - CreatorInSearcherContactList bool `json:"creatorInSearcherContactList,omitempty"` - - CrowdingMultiplier float64 `json:"crowdingMultiplier,omitempty"` - - DasContactCount int64 `json:"dasContactCount,omitempty,string"` - - FinalScore float64 `json:"finalScore,omitempty"` - - FreshnessScore float64 `json:"freshnessScore,omitempty"` - - JoinedSpaceAffinityScore float64 `json:"joinedSpaceAffinityScore,omitempty"` - - LastReadTimestampAgeInDays float64 `json:"lastReadTimestampAgeInDays,omitempty"` - - MessageAgeInDays float64 `json:"messageAgeInDays,omitempty"` - - MessageSenderAffinityScore float64 `json:"messageSenderAffinityScore,omitempty"` - - SpaceId int64 `json:"spaceId,omitempty,string"` - - SpaceMembershipCount int64 `json:"spaceMembershipCount,omitempty,string"` - - TopicalityScore float64 `json:"topicalityScore,omitempty"` - - UnjoinedSpaceAffinityScore float64 `json:"unjoinedSpaceAffinityScore,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CommonContactCount") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "CommonContactCount") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *DynamiteMessagesScoringInfo) MarshalJSON() ([]byte, error) { - type NoMethod DynamiteMessagesScoringInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -func (s *DynamiteMessagesScoringInfo) UnmarshalJSON(data []byte) error { - type NoMethod DynamiteMessagesScoringInfo - var s1 struct { - CommonCountToContactListCountRatio gensupport.JSONFloat64 `json:"commonCountToContactListCountRatio"` - CommonCountToMembershipCountRatio gensupport.JSONFloat64 `json:"commonCountToMembershipCountRatio"` - CrowdingMultiplier gensupport.JSONFloat64 `json:"crowdingMultiplier"` - FinalScore gensupport.JSONFloat64 `json:"finalScore"` - FreshnessScore gensupport.JSONFloat64 `json:"freshnessScore"` - JoinedSpaceAffinityScore gensupport.JSONFloat64 `json:"joinedSpaceAffinityScore"` - LastReadTimestampAgeInDays gensupport.JSONFloat64 `json:"lastReadTimestampAgeInDays"` - MessageAgeInDays gensupport.JSONFloat64 `json:"messageAgeInDays"` - MessageSenderAffinityScore gensupport.JSONFloat64 `json:"messageSenderAffinityScore"` - TopicalityScore gensupport.JSONFloat64 `json:"topicalityScore"` - UnjoinedSpaceAffinityScore gensupport.JSONFloat64 `json:"unjoinedSpaceAffinityScore"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.CommonCountToContactListCountRatio = float64(s1.CommonCountToContactListCountRatio) - s.CommonCountToMembershipCountRatio = float64(s1.CommonCountToMembershipCountRatio) - s.CrowdingMultiplier = float64(s1.CrowdingMultiplier) - s.FinalScore = float64(s1.FinalScore) - s.FreshnessScore = float64(s1.FreshnessScore) - s.JoinedSpaceAffinityScore = float64(s1.JoinedSpaceAffinityScore) - s.LastReadTimestampAgeInDays = float64(s1.LastReadTimestampAgeInDays) - s.MessageAgeInDays = float64(s1.MessageAgeInDays) - s.MessageSenderAffinityScore = float64(s1.MessageSenderAffinityScore) - s.TopicalityScore = float64(s1.TopicalityScore) - s.UnjoinedSpaceAffinityScore = float64(s1.UnjoinedSpaceAffinityScore) - return nil -} - -// DynamiteSpacesScoringInfo: This is the proto for holding space level -// scoring information. This data is used for logging in query-api -// server and for testing purposes. -type DynamiteSpacesScoringInfo struct { - AffinityScore float64 `json:"affinityScore,omitempty"` - - CommonContactCountAffinityScore float64 `json:"commonContactCountAffinityScore,omitempty"` - - ContactsIntersectionCount float64 `json:"contactsIntersectionCount,omitempty"` - - FinalScore float64 `json:"finalScore,omitempty"` - - FreshnessScore float64 `json:"freshnessScore,omitempty"` - - JoinedSpacesAffinityScore float64 `json:"joinedSpacesAffinityScore,omitempty"` - - LastMessagePostedTimestampSecs int64 `json:"lastMessagePostedTimestampSecs,omitempty,string"` - - LastReadTimestampSecs int64 `json:"lastReadTimestampSecs,omitempty,string"` - - MemberCountScore float64 `json:"memberCountScore,omitempty"` - - MemberMetadataCount float64 `json:"memberMetadataCount,omitempty"` - - MessageScore float64 `json:"messageScore,omitempty"` - - NumAucContacts int64 `json:"numAucContacts,omitempty,string"` - - SmallContactListAffinityScore float64 `json:"smallContactListAffinityScore,omitempty"` - - SmallUnjoinedSpacesAffinityScore float64 `json:"smallUnjoinedSpacesAffinityScore,omitempty"` - - SpaceAgeInDays float64 `json:"spaceAgeInDays,omitempty"` - - SpaceCreationTimestampSecs int64 `json:"spaceCreationTimestampSecs,omitempty,string"` - - TopicalityScore float64 `json:"topicalityScore,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AffinityScore") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AffinityScore") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *DynamiteSpacesScoringInfo) MarshalJSON() ([]byte, error) { - type NoMethod DynamiteSpacesScoringInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -func (s *DynamiteSpacesScoringInfo) UnmarshalJSON(data []byte) error { - type NoMethod DynamiteSpacesScoringInfo - var s1 struct { - AffinityScore gensupport.JSONFloat64 `json:"affinityScore"` - CommonContactCountAffinityScore gensupport.JSONFloat64 `json:"commonContactCountAffinityScore"` - ContactsIntersectionCount gensupport.JSONFloat64 `json:"contactsIntersectionCount"` - FinalScore gensupport.JSONFloat64 `json:"finalScore"` - FreshnessScore gensupport.JSONFloat64 `json:"freshnessScore"` - JoinedSpacesAffinityScore gensupport.JSONFloat64 `json:"joinedSpacesAffinityScore"` - MemberCountScore gensupport.JSONFloat64 `json:"memberCountScore"` - MemberMetadataCount gensupport.JSONFloat64 `json:"memberMetadataCount"` - MessageScore gensupport.JSONFloat64 `json:"messageScore"` - SmallContactListAffinityScore gensupport.JSONFloat64 `json:"smallContactListAffinityScore"` - SmallUnjoinedSpacesAffinityScore gensupport.JSONFloat64 `json:"smallUnjoinedSpacesAffinityScore"` - SpaceAgeInDays gensupport.JSONFloat64 `json:"spaceAgeInDays"` - TopicalityScore gensupport.JSONFloat64 `json:"topicalityScore"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.AffinityScore = float64(s1.AffinityScore) - s.CommonContactCountAffinityScore = float64(s1.CommonContactCountAffinityScore) - s.ContactsIntersectionCount = float64(s1.ContactsIntersectionCount) - s.FinalScore = float64(s1.FinalScore) - s.FreshnessScore = float64(s1.FreshnessScore) - s.JoinedSpacesAffinityScore = float64(s1.JoinedSpacesAffinityScore) - s.MemberCountScore = float64(s1.MemberCountScore) - s.MemberMetadataCount = float64(s1.MemberMetadataCount) - s.MessageScore = float64(s1.MessageScore) - s.SmallContactListAffinityScore = float64(s1.SmallContactListAffinityScore) - s.SmallUnjoinedSpacesAffinityScore = float64(s1.SmallUnjoinedSpacesAffinityScore) - s.SpaceAgeInDays = float64(s1.SpaceAgeInDays) - s.TopicalityScore = float64(s1.TopicalityScore) - return nil -} - -// EditMetadata: A message edit in Dynamite inserts a Babel-only item -// containing this field. -type EditMetadata struct { -} - -type EditorClientActionMarkup struct { - RequestFileScopeForActiveDocument *RequestFileScopeForActiveDocument `json:"requestFileScopeForActiveDocument,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "RequestFileScopeForActiveDocument") to unconditionally include in - // API requests. By default, fields with empty or default values are - // omitted from API requests. However, any non-pointer, non-interface - // field appearing in ForceSendFields will be sent to the server - // regardless of whether the field is empty or not. This may be used to - // include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. - // "RequestFileScopeForActiveDocument") to include in API requests with - // the JSON null value. By default, fields with empty values are omitted - // from API requests. However, any field with an empty value appearing - // in NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *EditorClientActionMarkup) MarshalJSON() ([]byte, error) { - type NoMethod EditorClientActionMarkup - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// EmailAddress: A person's email address. -type EmailAddress struct { - // CustomType: If the value of type is custom, this property contains - // the custom type string. - CustomType string `json:"customType,omitempty"` - - // EmailAddress: The email address. - EmailAddress string `json:"emailAddress,omitempty"` - - // EmailUrl: The URL to send email. - EmailUrl string `json:"emailUrl,omitempty"` - - // Primary: Indicates if this is the user's primary email. Only one - // entry can be marked as primary. - Primary bool `json:"primary,omitempty"` - - // Type: The type of the email account. Acceptable values are: "custom", - // "home", "other", "work". - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CustomType") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "CustomType") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *EmailAddress) MarshalJSON() ([]byte, error) { - type NoMethod EmailAddress - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// EmailOwnerProto: Represents a verified owner of the given email -// address. Note that a single address may have many owners, and a -// single user may own many addresses. (All lower-case, in display form -// -- see com.google.gaia.client.GaiaEmail) -type EmailOwnerProto struct { - Email string `json:"email,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Email") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Email") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *EmailOwnerProto) MarshalJSON() ([]byte, error) { - type NoMethod EmailOwnerProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// EmbedClientItem: Represents an embedded object in an update. This is -// a wrapper class that can contain a single specific item proto in an -// extension field. Think of it as a base class like `Message` in Java. -// Each item proto must declare that it extends this proto: message -// ExampleObject { option (item_type) = EXAMPLE_OBJECT; extend -// EmbedClientItem { optional ExampleObject example_object = ; } } See -// go/es-embeds for details. -type EmbedClientItem struct { - // CanonicalId: The canonical ID of the embed. If absent, the canonical - // ID is equal to the ID; if present, then the canonical ID represents - // an "equivalence class" of embeds which really refer to the same - // object. (For example, the URLs http://www.foo.com/ and - // http://foo.com/ refer to the same object) This field may be updated - // periodically by background processes. - CanonicalId string `json:"canonicalId,omitempty"` - - // DeepLinkData: Deep-linking data to take the user to the right place - // in a mobile app. This is only used for preview and attribution. Links - // that are specific to a given embed type should live on that specific - // embed's proto by using Link. See - // http://goto.google.com/mariana-design. - DeepLinkData *DeepLinkData `json:"deepLinkData,omitempty"` - - // Id: The ID of the embed. This corresponds to the schema.org ID, as - // represented in the ItemScope.id field. - Id string `json:"id,omitempty"` - - // Provenance: The provenance of the embed, populated when the embed - // originated from a web fetch. The provenance captures information - // about the web page the embed had originated, like the URL that was - // retrieved and the retrieved URL's canonical form. This is useful in - // the case where the URL shared by the URL redirects (e.g., in the case - // of a shortened URL). - Provenance *Provenance `json:"provenance,omitempty"` - - // RenderId: The ID used to identify the embed during rendering. This - // field will match ID, if set, otherwise it will be the ID of the - // parent activity. This field is only populated on the server for - // client use and is not persisted to storage. - RenderId string `json:"renderId,omitempty"` - - // Signature: Signature of the embed, used for verification. - Signature string `json:"signature,omitempty"` - - // TransientData: Transient generic data that will not be saved on the - // server. - TransientData *TransientData `json:"transientData,omitempty"` - - // Type: The first value in `type` determines which extension field will - // be set. When creating an EmbedClientItem, you only need to set the - // first (primary) type in this field. When the server receives the - // item, it will populate the full type list using the parent - // annotations in the ItemType enum. - // - // Possible values: - // "UNKNOWN" - Largely deprecated, effectively an error condition and - // should not be in storage. - // "ACTION_V2" - Embeds V2 types - // "ADD_ACTION_V2" - // "AGGREGATE_RATING_V2" - // "ARTICLE_V2" - // "ASSESS_ACTION_V2" - // "AUDIO_OBJECT_V2" - // "BASIC_INTERACTION_V2" - // "BLOG_POSTING_V2" - // "BLOG_V2" - // "BOOK_V2" - // "BUY_ACTION_V2" - // "CHECK_IN_ACTION_V2" - The action of checking in, as opposed to a - // "check-in". - // "CHECKIN_V2" - // "COLLEXION_V2" - // "COMMENT_ACTION_V2" - The act of commenting, which might result in - // a comment. - // "COMMENT_V2" - // "COMMUNICATE_ACTION_V2" - // "CONSUME_ACTION_V2" - // "CREATE_ACTION_V2" - // "CREATIVE_WORK_V2" - // "DISCOVER_ACTION_V2" - // "DOCUMENT_OBJECT_V2" - // "DRAWING_OBJECT_V2" - // "DRIVE_OBJECT_V2" - // "EMOTISHARE_V2" - // "ENTRY_POINT_V2" - // "EVENT_TIME_V2" - // "EVENT_V2" - // "FILE_OBJECT_V2" - // "FIND_ACTION_V2" - // "FINANCIAL_QUOTE_V2" - // "FORM_OBJECT_V2" - // "GEO_COORDINATES_V2" - // "GOOGLE_OFFER_V2" - // "HANGOUT_CHAT_MESSAGE" - // "HANGOUT_QUOTE" - // "HANGOUT_V2" - // "HOA_PLUS_EVENT_V2" - // "IMAGE_OBJECT_V2" - // "INTERACT_ACTION_V2" - // "INTERACTION_V2" - // "LISTEN_ACTION_V2" - // "LOCAL_BUSINESS_V2" - // "LOCAL_PLUS_PHOTO_ALBUM_V2" - // "MAGAZINE_V2" - // "MEDIA_OBJECT_V2" - // "MOBILE_APPLICATION_V2" - // "MOVIE_V2" - // "MUSIC_ALBUM_V2" - // "MUSIC_GROUP_V2" - // "MUSIC_PLAYLIST_V2" - // "MUSIC_RECORDING_V2" - // "NEWS_ARTICLE_V2" - // "OFFER_V2" - // "ORGANIZATION_V2" - // "ORGANIZE_ACTION_V2" - // "PERSON_V2" - // "PLACE_REVIEW_V2" - // "PLACE_V2" - // "PLAN_ACTION_V2" - // "PLAY_MUSIC_ALBUM_V2" - // "PLAY_MUSIC_TRACK_V2" - // "PLAY_OBJECT_V2" - // "PLUS_AUDIO_V2" - // "PLUS_EVENT_V2" - // "PLUS_MEDIA_COLLECTION_V2" - // "PLUS_MEDIA_OBJECT_V2" - // "PLUS_PAGE_V2" - // "PLUS_PHOTOS_ADDED_TO_COLLECTION_V2" - // "PLUS_PHOTO_ALBUM_V2" - // "PLUS_PHOTO_COLLECTION_V2" - // "PLUS_PHOTO_V2" - // "PLUS_POST_V2" - // "PLUS_RESHARE_V2" - // "PLUS_SOFTWARE_APPLICATION_V2" - // "POLL_OPTION_V2" - // "POLL_V2" - // "POSTAL_ADDRESS_V2" - // "PRESENTATION_OBJECT_V2" - // "PRODUCT_REVIEW_V2" - // "RATING_V2" - // "REACT_ACTION_V2" - // "RESERVATION_V2" - // "RESERVE_ACTION_V2" - // "REVIEW_V2" - // "REVIEW_ACTION_V2" - // "SOFTWARE_APPLICATION_V2" - // "SPREADSHEET_OBJECT_V2" - // "SQUARE_INVITE_V2" - // "SQUARE_V2" - // "STICKER_V2" - // "STORY_V2" - Boswell story (see goto/boswell) - // "THING_V2" - // "TRADE_ACTION_V2" - // "DEPRECATED_TOUR_OBJECT_V2" - // "TV_EPISODE_V2" - // "TV_SERIES_V2" - // "UPDATE_ACTION_V2" - // "VIEW_ACTION_V2" - // "VIDEO_OBJECT_V2" - // "VIDEO_GALLERY_V2" - // "WANT_ACTION_V2" - // "WEB_PAGE_V2" - // "WRITE_ACTION_V2" - // "YOUTUBE_CHANNEL_V2" - // "GOOGLE_USER_PHOTO_V2" - A photo stored in photo service owned by a - // Google account user. This is distinct from PlusPhoto as it isn't tied - // to GPlus, but is instead intended to be a more general photo tied to - // a google user. - // "GOOGLE_USER_PHOTO_ALBUM" - A photo album in photo service owned by - // a Google account user. This is distinct from PlusPhotoAlbum as it - // isn't tied to GPlus, but is instead intended to be a general photo - // album tied to a google user. - // "GOOGLE_PHOTO_RECIPE" - An embed used to create a single photo in - // photo service. This type is never stored but is used to create a - // GOOGLE_USER_PHOTO_V2 or PLUS_PHOTO_V2 embed. - // "THING" - Embeds V1 types - // "CREATIVE_WORK" - // "EVENT" - // "INTANGIBLE" - // "ORGANIZATION" - // "PERSON" - // "PLACE" - // "PRODUCT" - // "ARTICLE" - CREATIVE_WORK subtypes - // "BLOG_POSTING" - // "NEWS_ARTICLE" - // "SCHOLARLY_ARTICLE" - // "BLOG" - // "BOOK" - // "COMMENT" - // "ITEM_LIST" - // "MAP" - // "MEDIA_OBJECT" - // "AUDIO_OBJECT" - // "IMAGE_OBJECT" - // "MUSIC_VIDEO_OBJECT" - // "VIDEO_OBJECT" - // "MOVIE" - // "MUSIC_PLAYLIST" - // "MUSIC_ALBUM" - // "MUSIC_RECORDING" - // "PAINTING" - // "PHOTOGRAPH" - // "RECIPE" - // "REVIEW" - // "SCULPTURE" - // "SOFTWARE_APPLICATION" - // "MOBILE_APPLICATION" - // "WEB_APPLICATION" - // "TV_EPISODE" - // "TV_SEASON" - // "TV_SERIES" - // "WEB_PAGE" - // "ABOUT_PAGE" - // "CHECKOUT_PAGE" - // "COLLECTION_PAGE" - // "IMAGE_GALLERY" - // "VIDEO_GALLERY" - // "CONTACT_PAGE" - // "ITEM_PAGE" - // "PROFILE_PAGE" - // "SEARCH_RESULTS_PAGE" - // "WEB_PAGE_ELEMENT" - // "SITE_NAVIGATION_ELEMENT" - // "TABLE" - // "WP_AD_BLOCK" - // "WP_FOOTER" - // "WP_HEADER" - // "WP_SIDEBAR" - // "APP_INVITE" - // "EMOTISHARE" - // "BUSINESS_EVENT" - EVENT subtypes - // "CHILDRENS_EVENT" - // "COMEDY_EVENT" - // "DANCE_EVENT" - // "EDUCATION_EVENT" - // "FESTIVAL" - // "FOOD_EVENT" - // "LITERARY_EVENT" - // "MUSIC_EVENT" - // "SALE_EVENT" - // "SOCIAL_EVENT" - // "SPORTS_EVENT" - // "THEATER_EVENT" - // "VISUAL_ARTS_EVENT" - // "RESERVATION" - // "TRAVEL_EVENT" - // "CORPORATION" - ORGANIZATION subtypes - // "EDUCATIONAL_ORGANIZATION" - // "COLLEGE_OR_UNIVERSITY" - // "ELEMENTARY_SCHOOL" - // "HIGH_SCHOOL" - // "MIDDLE_SCHOOL" - // "PRESCHOOL" - // "SCHOOL" - // "GOVERNMENT_ORGANIZATION" - // "LOCAL_BUSINESS" - // "ANIMAL_SHELTER" - // "AUTOMOTIVE_BUSINESS" - // "AUTO_BODY_SHOP" - // "AUTO_DEALER" - // "AUTO_PARTS_STORE" - // "AUTO_RENTAL" - // "AUTO_REPAIR" - // "AUTO_WASH" - // "GAS_STATION" - // "MOTORCYCLE_DEALER" - // "MOTORCYCLE_REPAIR" - // "CHILD_CARE" - // "DRY_CLEANING_OR_LAUNDRY" - // "EMERGENCY_SERVICE" - // "FIRE_STATION" - // "HOSPITAL" - // "POLICE_STATION" - // "EMPLOYMENT_AGENGY" - // "ENTERTAINMENT_BUSINESS" - // "ADULT_ENTERTAINMENT" - // "AMUSEMENT_PARK" - // "ART_GALLERY" - // "CASINO" - // "COMEDY_CLUB" - // "MOVIE_THEATER" - // "NIGHT_CLUB" - // "FINANCIAL_SERVICE" - // "ACCOUNTING_SERVICE" - // "AUTOMATED_TELLER" - // "BANK_OR_CREDIT_UNION" - // "INSURANCE_AGENCY" - // "FOOD_ESTABLISHMENT" - // "BAKERY" - // "BAR_OR_PUB" - // "BREWERY" - // "CAFE_OR_COFFEE_SHOP" - // "FAST_FOOD_RESTAURANT" - // "ICE_CREAM_SHOP" - // "RESTAURANT" - // "WINERY" - // "GOVERNMENT_OFFICE" - // "POST_OFFICE" - // "HEALTH_AND_BEAUTY_BUSINESS" - // "BEAUTY_SALON" - // "DAY_SPA" - // "HAIR_SALON" - // "HEALTH_CLUB" - // "NAIL_SALON" - // "TATTOO_PARLOR" - // "HOME_AND_CONSTRUCTION_BUSINESS" - // "ELECTRICIAN" - // "GENERAL_CONTRACTOR" - // "HVAC_BUSINESS" - // "HOUSE_PAINTER" - // "LOCKSMITH" - // "MOVING_COMPANY" - // "PLUMBER" - // "ROOFING_CONTRACTOR" - // "INTERNET_CAFE" - // "LIBRARY" - // "LODGING_BUSINESS" - // "BED_AND_BREAKFAST" - // "HOSTEL" - // "HOTEL" - // "MOTEL" - // "MEDICAL_ORGANIZATION" - // "DENTIST" - // "MEDICAL_CLINIC" - // "OPTICIAN" - // "PHARMACY" - // "PHYSICIAN" - // "VETERINARY_CARE" - // "PROFESSIONAL_SERVICE" - // "ATTORNEY" - // "NOTARY" - // "RADIO_STATION" - // "REAL_ESTATE_AGENT" - // "RECYCLING_CENTER" - // "SELF_STORAGE" - // "SHOPPING_CENTER" - // "SPORTS_ACTIVITY_LOCATION" - // "BOWLING_ALLEY" - // "EXERCISE_GYM" - // "GOLF_COURSE" - // "PUBLIC_SWIMMING_POOL" - // "SKI_RESORT" - // "SPORTS_CLUB" - // "STADIUM_OR_ARENA" - // "TENNIS_COMPLEX" - // "STORE" - // "BIKE_STORE" - // "BOOK_STORE" - // "CLOTHING_STORE" - // "COMPUTER_STORE" - // "CONVENIENCE_STORE" - // "DEPARTMENT_STORE" - // "ELECTRONICS_STORE" - // "FLORIST" - // "FURNITURE_STORE" - // "GARDEN_STORE" - // "GROCERY_STORE" - // "HARDWARE_STORE" - // "HOBBY_SHOP" - // "HOME_GOODS_STORE" - // "JEWELRY_STORE" - // "LIQUOR_STORE" - // "MENS_CLOTHING_STORE" - // "MOBILE_PHONE_STORE" - // "MOVIE_RENTAL_STORE" - // "MUSIC_STORE" - // "OFFICE_EQUIPMENT_STORE" - // "OUTLET_STORE" - // "PAWN_SHOP" - // "PET_STORE" - // "SHOE_STORE" - // "SPORTING_GOODS_STORE" - // "TIRE_SHOP" - // "TOY_STORE" - // "WHOLESALE_STORE" - // "TELEVISION_STATION" - // "TOURIST_INFORMATION_CENTER" - // "TRAVEL_AGENCY" - // "PERFORMING_GROUP" - // "MUSIC_GROUP" - // "ADMINISTRATIVE_AREA" - PLACE subtypes - // "CITY" - // "COUNTRY" - // "STATE" - // "CIVIC_STRUCTURE" - // "AIRPORT" - // "AQUARIUM" - // "BEACH" - // "BUS_STATION" - // "BUS_STOP" - // "CAMPGROUND" - // "CEMETERY" - // "CREMATORIUM" - // "EVENT_VENUE" - // "GOVERNMENT_BUILDING" - // "CITY_HALL" - // "COURTHOUSE" - // "DEFENCE_ESTABLISHMENT" - // "EMBASSY" - // "LEGISLATIVE_BUILDING" - // "MUSEUM" - // "MUSIC_VENUE" - // "PARK" - // "PARKING_FACILITY" - // "PERFORMING_ARTS_THEATER" - // "PLACE_OF_WORSHIP" - // "BUDDHIST_TEMPLE" - // "CATHOLIC_CHURCH" - // "CHURCH" - // "HINDU_TEMPLE" - // "MOSQUE" - // "SYNAGOGUE" - // "PLAYGROUND" - // "R_V_PARK" - // "RESIDENCE" - // "APARTMENT_COMPLEX" - // "GATED_RESIDENCE_COMMUNITY" - // "SINGLE_FAMILY_RESIDENCE" - // "TOURIST_ATTRACTION" - // "SUBWAY_STATION" - // "TAXI_STAND" - // "TRAIN_STATION" - // "ZOO" - // "LANDFORM" - // "BODY_OF_WATER" - // "CANAL" - // "LAKE_BODY_OF_WATER" - // "OCEAN_BODY_OF_WATER" - // "POND" - // "RESERVOIR" - // "RIVER_BODY_OF_WATER" - // "SEA_BODY_OF_WATER" - // "WATERFALL" - // "CONTINENT" - // "MOUNTAIN" - // "VOLCANO" - // "LANDMARKS_OR_HISTORICAL_BUILDINGS" - // "USER_INTERACTION" - NOTE(jpanzer): This is a badly designed - // hierarchy and we should avoid depending on Event properties inside - // UserInteractions as much as possible IMHO. - // "USER_PLUS_ONES" - // "ENUMERATION" - Intangibles, primarily used as sub-objects of other - // types - // "BOOK_FORMAT_TYPE" - // "ITEM_AVAILABILITY" - // "OFFER_ITEM_CONDITION" - // "JOB_POSTING" - // "LANGUAGE" - // "OFFER" - // "QUANTITY" - // "DISTANCE" - // "DURATION" - // "ENERGY" - // "MASS" - // "RATING" - // "AGGREGATE_RATING" - // "STRUCTURED_VALUE" - // "CONTACT_POINT" - // "POSTAL_ADDRESS" - // "GEO_COORDINATES" - // "GEO_SHAPE" - // "NUTRITION_INFORMATION" - // "PRESENTATION_OBJECT" - CREATIVE_WORK extensions - // "DOCUMENT_OBJECT" - // "SPREADSHEET_OBJECT" - // "FORM_OBJECT" - // "DRAWING_OBJECT" - // "PLACE_REVIEW" - // "FILE_OBJECT" - // "PLAY_MUSIC_TRACK" - // "PLAY_MUSIC_ALBUM" - // "MAGAZINE" - // "CAROUSEL_FRAME" - Single frame for http://goto/carousel. - // "PLUS_EVENT" - EVENT extensions - // "HANGOUT" - No declared proto. Used only as a base type for now. - // "HANGOUT_BROADCAST" - // "HANGOUT_CONSUMER" - // "CHECKIN" - // "EXAMPLE_OBJECT" - // "SQUARE" - NOTE(melchang): These correspond to - // http://schema.org/WebPage/Community and - // http://schema.org/WebPage/CommunityInvite. See b/7653610 for why - // these are "SQUARE" and not "COMMUNITY". - // "SQUARE_INVITE" - // "PLUS_PHOTO" - // "PLUS_PHOTO_ALBUM" - // "LOCAL_PLUS_PHOTO_ALBUM" - // "PRODUCT_REVIEW" - // "FINANCIAL_QUOTE" - // "DEPRECATED_TOUR_OBJECT" - // "PLUS_PAGE" - // "GOOGLE_CHART" - Data visualizations. See - // http://code.google.com/apis/chart/index.html - // "PLUS_PHOTOS_ADDED_TO_COLLECTION" - // "RECOMMENDED_PEOPLE" - A collection of people that have been - // recommended to a user. - // "PLUS_POST" - A Google+ post. - // "DATE" - An http://schema.org/Date unstructured ISO-8859 timestamp - // string. - // "DRIVE_OBJECT_COLLECTION" - Embed representing a collection of - // multiple Drive objects. - // "NEWS_MEDIA_ORGANIZATION" - - // https://schema.org/NewsMediaOrganization - // "DYNAMITE_ATTACHMENT_METADATA" - Deprecated in favor of - // DYNAMITE_MESSAGE_METADATA - // "DYNAMITE_MESSAGE_METADATA" - Used for Dynamite message metadata in - // Hangouts - Type []string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CanonicalId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "CanonicalId") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *EmbedClientItem) MarshalJSON() ([]byte, error) { - type NoMethod EmbedClientItem - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// EnumOperatorOptions: Used to provide a search operator for enum -// properties. This is optional. Search operators let users restrict the -// query to specific fields relevant to the type of item being searched. -// For example, if you provide no operator for a *priority* enum -// property with possible values *p0* and *p1*, a query that contains -// the term *p0* returns items that have *p0* as the value of the -// *priority* property, as well as any items that contain the string -// *p0* in other fields. If you provide an operator name for the enum, -// such as *priority*, then search users can use that operator to refine -// results to only items that have *p0* as this property's value, with -// the query *priority:p0*. -type EnumOperatorOptions struct { - // OperatorName: Indicates the operator name required in the query in - // order to isolate the enum property. For example, if operatorName is - // *priority* and the property's name is *priorityVal*, then queries - // like *priority:* show results only where the value of the - // property named *priorityVal* matches **. By contrast, a search - // that uses the same ** without an operator returns all items - // where ** matches the value of any String properties or text - // within the content field for the item. The operator name can only - // contain lowercase letters (a-z). The maximum length is 32 characters. - OperatorName string `json:"operatorName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "OperatorName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "OperatorName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *EnumOperatorOptions) MarshalJSON() ([]byte, error) { - type NoMethod EnumOperatorOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// EnumPropertyOptions: The options for enum properties, which allow you -// to define a restricted set of strings to match user queries, set -// rankings for those string values, and define an operator name to be -// paired with those strings so that users can narrow results to only -// items with a specific value. For example, for items in a request -// tracking system with priority information, you could define *p0* as -// an allowable enum value and tie this enum to the operator name -// *priority* so that search users could add *priority:p0* to their -// query to restrict the set of results to only those items indexed with -// the value *p0*. -type EnumPropertyOptions struct { - // OperatorOptions: If set, describes how the enum should be used as a - // search operator. - OperatorOptions *EnumOperatorOptions `json:"operatorOptions,omitempty"` - - // OrderedRanking: Used to specify the ordered ranking for the - // enumeration that determines how the integer values provided in the - // possible EnumValuePairs are used to rank results. If specified, - // integer values must be provided for all possible EnumValuePair values - // given for this property. Can only be used if isRepeatable is false. - // - // Possible values: - // "NO_ORDER" - There is no ranking order for the property. Results - // aren't adjusted by this property's value. - // "ASCENDING" - This property is ranked in ascending order. Lower - // values indicate lower ranking. - // "DESCENDING" - This property is ranked in descending order. Lower - // values indicate higher ranking. - OrderedRanking string `json:"orderedRanking,omitempty"` - - // PossibleValues: The list of possible values for the enumeration - // property. All EnumValuePairs must provide a string value. If you - // specify an integer value for one EnumValuePair, then all possible - // EnumValuePairs must provide an integer value. Both the string value - // and integer value must be unique over all possible values. Once set, - // possible values cannot be removed or modified. If you supply an - // ordered ranking and think you might insert additional enum values in - // the future, leave gaps in the initial integer values to allow adding - // a value in between previously registered values. The maximum number - // of elements is 100. - PossibleValues []*EnumValuePair `json:"possibleValues,omitempty"` - - // ForceSendFields is a list of field names (e.g. "OperatorOptions") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "OperatorOptions") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *EnumPropertyOptions) MarshalJSON() ([]byte, error) { - type NoMethod EnumPropertyOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// EnumValuePair: The enumeration value pair defines two things: a -// required string value and an optional integer value. The string value -// defines the necessary query term required to retrieve that item, such -// as *p0* for a priority item. The integer value determines the ranking -// of that string value relative to other enumerated values for the same -// property. For example, you might associate *p0* with *0* and define -// another enum pair such as *p1* and *1*. You must use the integer -// value in combination with ordered ranking to set the ranking of a -// given value relative to other enumerated values for the same property -// name. Here, a ranking order of DESCENDING for *priority* properties -// results in a ranking boost for items indexed with a value of *p0* -// compared to items indexed with a value of *p1*. Without a specified -// ranking order, the integer value has no effect on item ranking. -type EnumValuePair struct { - // IntegerValue: The integer value of the EnumValuePair which must be - // non-negative. Optional. - IntegerValue int64 `json:"integerValue,omitempty"` - - // StringValue: The string value of the EnumValuePair. The maximum - // length is 32 characters. - StringValue string `json:"stringValue,omitempty"` - - // ForceSendFields is a list of field names (e.g. "IntegerValue") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "IntegerValue") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *EnumValuePair) MarshalJSON() ([]byte, error) { - type NoMethod EnumValuePair - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// EnumValues: List of enum values. -type EnumValues struct { - // Values: The maximum allowable length for string values is 32 - // characters. - Values []string `json:"values,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Values") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Values") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *EnumValues) MarshalJSON() ([]byte, error) { - type NoMethod EnumValues - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ErrorInfo: Error information about the response. -type ErrorInfo struct { - ErrorMessages []*ErrorMessage `json:"errorMessages,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ErrorMessages") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ErrorMessages") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ErrorInfo) MarshalJSON() ([]byte, error) { - type NoMethod ErrorInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ErrorMessage: Error message per source response. -type ErrorMessage struct { - ErrorMessage string `json:"errorMessage,omitempty"` - - Source *Source `json:"source,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ErrorMessage") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ErrorMessage") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ErrorMessage) MarshalJSON() ([]byte, error) { - type NoMethod ErrorMessage - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type EventAnnotation struct { - Type int64 `json:"type,omitempty"` - - Value string `json:"value,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Type") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Type") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *EventAnnotation) MarshalJSON() ([]byte, error) { - type NoMethod EventAnnotation - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// EventProto: Represents the invitees or other users associated with a -// Google+ Event (see http://goto/events-backend-design). -type EventProto struct { - // EventId: Event IDs consist of alphanumeric characters and colons. - // Currently required. - EventId string `json:"eventId,omitempty"` - - // MemberType: The type of Event members to consider, e.g. "all members" - // vs. "owners" vs. "admins". These are defined by legacy_relation_id - // values in social.graph.storage.EdgeTypeEnum.EdgeType enum options in - // social/graph/storage/proto/id.proto. See event.pb (defined in - // production/config/cdd/socialgraph/mixer_config/prod/node_type_config) - // for all valid edge types associated with event. Currently required. - MemberType int64 `json:"memberType,omitempty"` - - // ForceSendFields is a list of field names (e.g. "EventId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "EventId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *EventProto) MarshalJSON() ([]byte, error) { - type NoMethod EventProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// FacetBucket: A bucket in a facet is the basic unit of operation. A -// bucket can comprise either a single value OR a contiguous range of -// values, depending on the type of the field bucketed. FacetBucket is -// currently used only for returning the response object. -type FacetBucket struct { - // Count: Number of results that match the bucket value. Counts are only - // returned for searches when count accuracy is ensured. Cloud Search - // does not guarantee facet counts for any query and facet counts might - // be present only intermittently, even for identical queries. Do not - // build dependencies on facet count existence; instead use facet ount - // percentages which are always returned. - Count int64 `json:"count,omitempty"` - - // Filter: Filter to be passed in the search request if the - // corresponding bucket is selected. - Filter *Filter `json:"filter,omitempty"` - - // Percentage: Percent of results that match the bucket value. The - // returned value is between (0-100], and is rounded down to an integer - // if fractional. If the value is not explicitly returned, it represents - // a percentage value that rounds to 0. Percentages are returned for all - // searches, but are an estimate. Because percentages are always - // returned, you should render percentages instead of counts. - Percentage int64 `json:"percentage,omitempty"` - - Value *Value `json:"value,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Count") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Count") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *FacetBucket) MarshalJSON() ([]byte, error) { - type NoMethod FacetBucket - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// FacetOptions: Specifies operators to return facet results for. There -// will be one FacetResult for every -// source_name/object_type/operator_name combination. -type FacetOptions struct { - // IntegerFacetingOptions: If set, describes integer faceting options - // for the given integer property. The corresponding integer property in - // the schema should be marked isFacetable. The number of buckets - // returned would be minimum of this and num_facet_buckets. - IntegerFacetingOptions *IntegerFacetingOptions `json:"integerFacetingOptions,omitempty"` - - // NumFacetBuckets: Maximum number of facet buckets that should be - // returned for this facet. Defaults to 10. Maximum value is 100. - NumFacetBuckets int64 `json:"numFacetBuckets,omitempty"` - - // ObjectType: If object_type is set, only those objects of that type - // will be used to compute facets. If empty, then all objects will be - // used to compute facets. - ObjectType string `json:"objectType,omitempty"` - - // OperatorName: The name of the operator chosen for faceting. @see - // cloudsearch.SchemaPropertyOptions - OperatorName string `json:"operatorName,omitempty"` - - // SourceName: Source name to facet on. Format: datasources/{source_id} - // If empty, all data sources will be used. - SourceName string `json:"sourceName,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "IntegerFacetingOptions") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "IntegerFacetingOptions") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *FacetOptions) MarshalJSON() ([]byte, error) { - type NoMethod FacetOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// FacetResult: Source specific facet response -type FacetResult struct { - // Buckets: FacetBuckets for values in response containing at least a - // single result with the corresponding filter. - Buckets []*FacetBucket `json:"buckets,omitempty"` - - // ObjectType: Object type for which facet results are returned. Can be - // empty. - ObjectType string `json:"objectType,omitempty"` - - // OperatorName: The name of the operator chosen for faceting. @see - // cloudsearch.SchemaPropertyOptions - OperatorName string `json:"operatorName,omitempty"` - - // SourceName: Source name for which facet results are returned. Will - // not be empty. - SourceName string `json:"sourceName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Buckets") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Buckets") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *FacetResult) MarshalJSON() ([]byte, error) { - type NoMethod FacetResult - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type FieldViolation struct { - // Description: The description of the error. - Description string `json:"description,omitempty"` - - // Field: Path of field with violation. - Field string `json:"field,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Description") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Description") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *FieldViolation) MarshalJSON() ([]byte, error) { - type NoMethod FieldViolation - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Filter: A generic way of expressing filters in a query, which -// supports two approaches: **1. Setting a ValueFilter.** The name must -// match an operator_name defined in the schema for your data source. -// **2. Setting a CompositeFilter.** The filters are evaluated using the -// logical operator. The top-level operators can only be either an AND -// or a NOT. AND can appear only at the top-most level. OR can appear -// only under a top-level AND. -type Filter struct { - CompositeFilter *CompositeFilter `json:"compositeFilter,omitempty"` - - ValueFilter *ValueFilter `json:"valueFilter,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CompositeFilter") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "CompositeFilter") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *Filter) MarshalJSON() ([]byte, error) { - type NoMethod Filter - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// FilterCreated: A filter was created. -type FilterCreated struct { -} - -// FilterDeleted: A filter was deleted. -type FilterDeleted struct { -} - -// FilterOptions: Filter options to be applied on query. -type FilterOptions struct { - // Filter: Generic filter to restrict the search, such as `lang:en`, - // `site:xyz`. - Filter *Filter `json:"filter,omitempty"` - - // ObjectType: If object_type is set, only objects of that type are - // returned. This should correspond to the name of the object that was - // registered within the definition of schema. The maximum length is 256 - // characters. - ObjectType string `json:"objectType,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Filter") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Filter") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *FilterOptions) MarshalJSON() ([]byte, error) { - type NoMethod FilterOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// FilterUpdate: HistoryRecord for changes associated with a filter, -// namely: FILTER_CREATED FILTER_DELETED -type FilterUpdate struct { - FilterCreated *FilterCreated `json:"filterCreated,omitempty"` - - FilterDeleted *FilterDeleted `json:"filterDeleted,omitempty"` - - FilterId string `json:"filterId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "FilterCreated") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "FilterCreated") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *FilterUpdate) MarshalJSON() ([]byte, error) { - type NoMethod FilterUpdate - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// FixedFooter: A persistent (sticky) footer that is added to the bottom -// of the card. -type FixedFooter struct { - Buttons []*Button `json:"buttons,omitempty"` - - PrimaryButton *TextButton `json:"primaryButton,omitempty"` - - SecondaryButton *TextButton `json:"secondaryButton,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Buttons") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *FixedFooter) MarshalJSON() ([]byte, error) { - type NoMethod FixedFooter - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type Folder struct { - // Id: Folder mapping id. - Id uint64 `json:"id,omitempty,string"` - - // Message: One for each copy of the message in the IMAP folder. - Message []*ImapsyncFolderAttributeFolderMessage `json:"message,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Id") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Id") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Folder) MarshalJSON() ([]byte, error) { - type NoMethod Folder - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// FolderAttribute: This is the content of //imapsync/folder attribute. -type FolderAttribute struct { - // Folder: List of all IMAP folders where the message presents. - Folder []*Folder `json:"folder,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Folder") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Folder") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *FolderAttribute) MarshalJSON() ([]byte, error) { - type NoMethod FolderAttribute - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type FormAction struct { - // ActionMethodName: Apps script function that should be invoked in the - // developer's apps script when the containing element is - // clicked/activated. - ActionMethodName string `json:"actionMethodName,omitempty"` - - // Possible values: - // "SPINNER" - // "NONE" - LoadIndicator string `json:"loadIndicator,omitempty"` - - Parameters []*ActionParameter `json:"parameters,omitempty"` - - // PersistValues: Indicates whether form values persist after the - // action. When false, the Apps Script is responsible for persisting - // values, by setting any form field values using the formInputs in the - // event. Disabling this behavior can be used if the add-on needs the - // ability to clear form fields, for example, as with persistent values, - // there is no means for clearing existing values. When disabling - // persistent values, it is strongly recommended that the add-on use - // LoadIndicator.SPINNER for all events, as this locks the UI to ensure - // no changes are made by the user while the action is being processed. - // When using LoadIndicator.NONE for any of the actions, persistent - // values are recommended, as it ensures that any changes made by the - // user after form / on change actions are sent to the server are not - // overwritten by the response. Persistent values disabled by default. - // While we recommend persistent values be used in the typical use case, - // we do not enable by default, as doing so would change the current - // behavior of existing add-ons in prod. - PersistValues bool `json:"persistValues,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ActionMethodName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ActionMethodName") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *FormAction) MarshalJSON() ([]byte, error) { - type NoMethod FormAction - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// FormatMetadata: Annotation metadata for markup formatting -type FormatMetadata struct { - // FontColor: Font color is set if and only if format_type is - // FONT_COLOR. The components are stored as (alpha << 24) | (red << 16) - // | (green << 8) | blue. Clients should always set the alpha component - // to 0xFF. NEXT TAG: 3 - FontColor int64 `json:"fontColor,omitempty"` - - // FormatType: - // LINT.ThenChange(//depot/google3/apps/dynamite/v1/web/datakeys/annotate - // d_span.proto) - // - // Possible values: - // "TYPE_UNSPECIFIED" - Default value for the enum. - // "BOLD" - // "ITALIC" - // "STRIKE" - // "SOURCE_CODE" - // "MONOSPACE" - Inline monospace. - // "HIDDEN" - // "MONOSPACE_BLOCK" - Multi-line monospace block. - // "UNDERLINE" - // "FONT_COLOR" - // "BULLETED_LIST" - Encloses BULLETED_LIST_ITEM annotations. - // "BULLETED_LIST_ITEM" - Must cover the whole line including the - // newline - // "CLIENT_HIDDEN" - character at the end. Not used anymore. - FormatType string `json:"formatType,omitempty"` - - // ForceSendFields is a list of field names (e.g. "FontColor") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "FontColor") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *FormatMetadata) MarshalJSON() ([]byte, error) { - type NoMethod FormatMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Formatting: Formatting information for a segment. -type Formatting struct { - Bold bool `json:"bold,omitempty"` - - // Highlight: This indicates that the segment should be rendered as - // highlighted or visually emphasized. - Highlight bool `json:"highlight,omitempty"` - - Italics bool `json:"italics,omitempty"` - - Strikethrough bool `json:"strikethrough,omitempty"` - - // Style: If set, this indicates that the segment should be rendered - // with the specified style. The absence of an explicit style represents - // "no style", i.e. the segment can be rendered with the default style - // chosen by the application. - // - // Possible values: - // "UNKNOWN_STYLE" - This represents a style that is unknown (e.g. a - // new style was introduced but not supported by older mobile app - // versions) and should generally not be used as a value in a proto. If - // the segment does not need to be rendered with a special style, the - // 'style' field should simply be left unset. A reasonable fallback for - // an unknown style is to render the segment in the default style. - // "HEADING_1" - The most important heading to the least important - // heading. - // "HEADING_2" - // "HEADING_3" - // "HEADING_4" - Style string `json:"style,omitempty"` - - Underline bool `json:"underline,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Bold") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Bold") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Formatting) MarshalJSON() ([]byte, error) { - type NoMethod Formatting - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// FreshnessOptions: Indicates which freshness property to use when -// adjusting search ranking for an item. Fresher, more recent dates -// indicate higher quality. Use the freshness option property that best -// works with your data. For fileshare documents, last modified time is -// most relevant. For calendar event data, the time when the event -// occurs is a more relevant freshness indicator. In this way, calendar -// events that occur closer to the time of the search query are -// considered higher quality and ranked accordingly. -type FreshnessOptions struct { - // FreshnessDuration: The duration after which an object should be - // considered stale. The default value is 180 days (in seconds). - FreshnessDuration string `json:"freshnessDuration,omitempty"` - - // FreshnessProperty: This property indicates the freshness level of the - // object in the index. If set, this property must be a top-level - // property within the property definitions and it must be a timestamp - // type or date type. Otherwise, the Indexing API uses updateTime as the - // freshness indicator. The maximum length is 256 characters. When a - // property is used to calculate freshness, the value defaults to 2 - // years from the current time. - FreshnessProperty string `json:"freshnessProperty,omitempty"` - - // ForceSendFields is a list of field names (e.g. "FreshnessDuration") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "FreshnessDuration") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *FreshnessOptions) MarshalJSON() ([]byte, error) { - type NoMethod FreshnessOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// FuseboxItem: The Item message is the read interface for user data -// (traditionally referred to as a "message", such as a mail message or -// a chat message, but generalized to encompass other types such as -// tasks) and stored in Tingle. Each Item is associated with a single -// Thread. An Item contains three classes of data. (1): Item "fields" -// are common to items of all message types (e.g. mail, chat, task, -// etc.) and are identified by the ItemFieldSpec.FetchType enum when -// fetching Items. (2): Item "attributes" represent data associated with -// an Item that is stored on behalf of the client but to which the -// fusebox and storage layers are otherwise agnostic. (3): Item "parts" -// are application-defined protocol buffers that affect how the Item is -// indexed. Item parts are referenced as extensions to the ItemParts -// message. By default the application specifies the index terms -// associated with an Item part. For performance sensitive applications, -// the storage layer can be modified to understand and index data types -// natively. -type FuseboxItem struct { - Attributes *Attributes `json:"attributes,omitempty"` - - // CreationTimeMicroseconds: The creation time of the Item in micro - // seconds. - CreationTimeMicroseconds uint64 `json:"creationTimeMicroseconds,omitempty,string"` - - History *History `json:"history,omitempty"` - - // ItemKey: The key is used to refer to an item. Note that every field - // of the MultiKey is unique to the Item, and thus the Item can be - // looked up by any of the fields. - ItemKey *MultiKey `json:"itemKey,omitempty"` - - Labels *Labels `json:"labels,omitempty"` - - // LastModificationTimeUs: The modification time of the Item in micro - // seconds. Modifications to the message include label addition, - // deletion, etc. - LastModificationTimeUs uint64 `json:"lastModificationTimeUs,omitempty,string"` - - // LockerReferences: go/lockpicker Locker counterpart of references. - LockerReferences *References `json:"lockerReferences,omitempty"` - - MatchInfo *MatchInfo `json:"matchInfo,omitempty"` - - // Parts: Type-specific data are represented as extensions to the - // ItemParts message. - Parts *ItemParts `json:"parts,omitempty"` - - // ReadTs: The read timestamp at which this item was read. This is a - // temporary field used to check if two items streamed during dual - // reading were read at the same timestamp. This will be populated by - // Fusebox RPCs. "DO NOT USE UNLESS YOU TALK TO FUSEBOX TEAM - // (gmail-fusebox@)". - ReadTs int64 `json:"readTs,omitempty,string"` - - // References: References to attachments, video attachments in Youtube - // and Hangout messages. - References *References `json:"references,omitempty"` - - // Snippet: The snippet is a brief bit of text describing this item. - Snippet string `json:"snippet,omitempty"` - - // ThreadKey: The key of the Thread with which this Item is associated. - ThreadKey *MultiKey `json:"threadKey,omitempty"` - - // ThreadLocator: A base64 encoded and encrypted string generated from - // the Gaia Id and the thread id. Used to generate the permalink for - // this thread, exposed from Gmail API. - ThreadLocator string `json:"threadLocator,omitempty"` - - Triggers *Triggers `json:"triggers,omitempty"` - - // Version: The latest history operation id that resulted in a mutation - // of the item. - Version uint64 `json:"version,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "Attributes") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Attributes") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *FuseboxItem) MarshalJSON() ([]byte, error) { - type NoMethod FuseboxItem - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// FuseboxItemThreadMatchInfo: In the context of a search, the MatchInfo -// contains information about which Items matched the query. -type FuseboxItemThreadMatchInfo struct { - // ClusterId: If SearchQuery.Options.Clustering is present, the query - // will be treated as a cluster query, and this field may be populated - // with the cluster ID of the cluster to which this thread belongs, if - // any. The cluster ID will be a label on the message. - ClusterId string `json:"clusterId,omitempty"` - - // LastMatchingItemId: The server id of the last item that matched the - // query. This is always set, regardless of the - // compute_matching_items_per_thread option. This is the value by which - // search results are sorted, in descending (i.e. newest first) order. - LastMatchingItemId uint64 `json:"lastMatchingItemId,omitempty,string"` - - // LastMatchingItemKey: The MultiKey of the last item that matched the - // query. This is always set, regardless of the - // compute_matching_items_per_thread option. This is the value by which - // search results are sorted, in descending (i.e. newest first) order. - LastMatchingItemKey *MultiKey `json:"lastMatchingItemKey,omitempty"` - - // MatchingItemKey: If - // SearchQuery.Options.compute_matching_items_per_thread, this field - // will contain the keys of all items that matched the query, in - // ascending order. Note that this option requires extra computation. - MatchingItemKey []*MultiKey `json:"matchingItemKey,omitempty"` - - // Rank: The rank of this ItemThread in the result set of the query. - // This rank may be used to sort ItemThreads in proper order. Ranks are - // specific to a query, and stable for a given query at a specific time. - Rank *Rank `json:"rank,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ClusterId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ClusterId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *FuseboxItemThreadMatchInfo) MarshalJSON() ([]byte, error) { - type NoMethod FuseboxItemThreadMatchInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// FuseboxPrefUpdatePreState: If the Value field is not set this means -// the pref did not exist. -type FuseboxPrefUpdatePreState struct { - Value string `json:"value,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Value") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Value") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *FuseboxPrefUpdatePreState) MarshalJSON() ([]byte, error) { - type NoMethod FuseboxPrefUpdatePreState - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GSuitePrincipal struct { - // GsuiteDomain: This principal represents all users of the Google - // Workspace domain of the customer. - GsuiteDomain bool `json:"gsuiteDomain,omitempty"` - - // GsuiteGroupEmail: This principal references a Google Workspace group - // name. - GsuiteGroupEmail string `json:"gsuiteGroupEmail,omitempty"` - - // GsuiteUserEmail: This principal references a Google Workspace user - // account. - GsuiteUserEmail string `json:"gsuiteUserEmail,omitempty"` - - // ForceSendFields is a list of field names (e.g. "GsuiteDomain") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "GsuiteDomain") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GSuitePrincipal) MarshalJSON() ([]byte, error) { - type NoMethod GSuitePrincipal - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GaiaGroupProto struct { - GroupId int64 `json:"groupId,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "GroupId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "GroupId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GaiaGroupProto) MarshalJSON() ([]byte, error) { - type NoMethod GaiaGroupProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GaiaUserProto: A Gaia account, which may represent a user, device, -// service account, etc. For prod (@prod.google.com) accounts, use -// MdbUserProto instead. -type GaiaUserProto struct { - UserId int64 `json:"userId,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "UserId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "UserId") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GaiaUserProto) MarshalJSON() ([]byte, error) { - type NoMethod GaiaUserProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GatewayAccess: Details on the third-party interoperability settings -// for the meeting space. -type GatewayAccess struct { - // Enabled: Whether third-party gateway accesses are enabled for this - // meeting space. If enabled, the actual access code can be retrieved by - // calling the GetGatewayAccess RPC method. - Enabled bool `json:"enabled,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Enabled") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Enabled") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GatewayAccess) MarshalJSON() ([]byte, error) { - type NoMethod GatewayAccess - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GatewaySipAccess: Details how to join the conference via a SIP -// gateway. -type GatewaySipAccess struct { - // SipAccessCode: Permanent numeric code for manual entry on specially - // configured devices, currently the same as the PSTN "Universal pin". - SipAccessCode string `json:"sipAccessCode,omitempty"` - - // Uri: The SIP URI the conference can be reached through. The string is - // on one of the formats: "sip:@" "sips:@" where currently is the - // 13-digit universal pin (with the future option to support using a - // Meet meeting code as well), and is a valid address to be resolved - // using a DNS SRV lookup, or a dotted quad. - Uri string `json:"uri,omitempty"` - - // ForceSendFields is a list of field names (e.g. "SipAccessCode") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "SipAccessCode") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GatewaySipAccess) MarshalJSON() ([]byte, error) { - type NoMethod GatewaySipAccess - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GetCustomerIndexStatsResponse struct { - // AverageIndexedItemCount: Average item count for the given date range - // for which billing is done. - AverageIndexedItemCount int64 `json:"averageIndexedItemCount,omitempty,string"` - - // Stats: Summary of indexed item counts, one for each day in the - // requested range. - Stats []*CustomerIndexStats `json:"stats,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. - // "AverageIndexedItemCount") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AverageIndexedItemCount") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *GetCustomerIndexStatsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GetCustomerIndexStatsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GetCustomerQueryStatsResponse struct { - Stats []*CustomerQueryStats `json:"stats,omitempty"` - - // TotalQueryCount: Total successful query count (status code 200) for - // the given date range. - TotalQueryCount int64 `json:"totalQueryCount,omitempty,string"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "Stats") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Stats") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GetCustomerQueryStatsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GetCustomerQueryStatsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GetCustomerSearchApplicationStatsResponse: Response format for search -// application stats for a customer. -type GetCustomerSearchApplicationStatsResponse struct { - // AverageSearchApplicationCount: Average search application count for - // the given date range. - AverageSearchApplicationCount int64 `json:"averageSearchApplicationCount,omitempty,string"` - - // Stats: Search application stats by date. - Stats []*CustomerSearchApplicationStats `json:"stats,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. - // "AverageSearchApplicationCount") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. - // "AverageSearchApplicationCount") to include in API requests with the - // JSON null value. By default, fields with empty values are omitted - // from API requests. However, any field with an empty value appearing - // in NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GetCustomerSearchApplicationStatsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GetCustomerSearchApplicationStatsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GetCustomerSessionStatsResponse struct { - Stats []*CustomerSessionStats `json:"stats,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "Stats") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Stats") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GetCustomerSessionStatsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GetCustomerSessionStatsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GetCustomerUserStatsResponse struct { - Stats []*CustomerUserStats `json:"stats,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "Stats") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Stats") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GetCustomerUserStatsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GetCustomerUserStatsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GetDataSourceIndexStatsResponse struct { - // AverageIndexedItemCount: Average item count for the given date range - // for which billing is done. - AverageIndexedItemCount int64 `json:"averageIndexedItemCount,omitempty,string"` - - // Stats: Summary of indexed item counts, one for each day in the - // requested range. - Stats []*DataSourceIndexStats `json:"stats,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. - // "AverageIndexedItemCount") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AverageIndexedItemCount") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *GetDataSourceIndexStatsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GetDataSourceIndexStatsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GetSearchApplicationQueryStatsResponse: Response format for getting -// query stats for a search application between given dates. -type GetSearchApplicationQueryStatsResponse struct { - // Stats: Query stats per date for a search application. - Stats []*SearchApplicationQueryStats `json:"stats,omitempty"` - - // TotalQueryCount: Total successful query count (status code 200) for - // the given date range. - TotalQueryCount int64 `json:"totalQueryCount,omitempty,string"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "Stats") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Stats") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GetSearchApplicationQueryStatsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GetSearchApplicationQueryStatsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GetSearchApplicationSessionStatsResponse struct { - Stats []*SearchApplicationSessionStats `json:"stats,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "Stats") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Stats") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GetSearchApplicationSessionStatsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GetSearchApplicationSessionStatsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GetSearchApplicationUserStatsResponse struct { - Stats []*SearchApplicationUserStats `json:"stats,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "Stats") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Stats") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GetSearchApplicationUserStatsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GetSearchApplicationUserStatsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GmailClientActionMarkup struct { - AddonComposeUiActionMarkup *AddonComposeUiActionMarkup `json:"addonComposeUiActionMarkup,omitempty"` - - OpenCreatedDraftActionMarkup *OpenCreatedDraftActionMarkup `json:"openCreatedDraftActionMarkup,omitempty"` - - TaskAction *TaskActionMarkup `json:"taskAction,omitempty"` - - UpdateDraftActionMarkup *UpdateDraftActionMarkup `json:"updateDraftActionMarkup,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "AddonComposeUiActionMarkup") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. - // "AddonComposeUiActionMarkup") to include in API requests with the - // JSON null value. By default, fields with empty values are omitted - // from API requests. However, any field with an empty value appearing - // in NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GmailClientActionMarkup) MarshalJSON() ([]byte, error) { - type NoMethod GmailClientActionMarkup - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleChatV1ContextualAddOnMarkup: The markup for developers to -// specify the contents of a contextual AddOn. -type GoogleChatV1ContextualAddOnMarkup struct { - // Cards: A list of cards. A card must contain a header and at least 1 - // section. - Cards []*GoogleChatV1ContextualAddOnMarkupCard `json:"cards,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Cards") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Cards") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1ContextualAddOnMarkup) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1ContextualAddOnMarkup - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleChatV1ContextualAddOnMarkupCard: A card is a UI element that -// can contain UI widgets such as text and images. -type GoogleChatV1ContextualAddOnMarkupCard struct { - // CardActions: The actions of this card. - CardActions []*GoogleChatV1ContextualAddOnMarkupCardCardAction `json:"cardActions,omitempty"` - - // Header: The header of the card. A header usually contains a title and - // an image. - Header *GoogleChatV1ContextualAddOnMarkupCardCardHeader `json:"header,omitempty"` - - // Name: Name of the card. - Name string `json:"name,omitempty"` - - // Sections: Sections are separated by a line divider. - Sections []*GoogleChatV1ContextualAddOnMarkupCardSection `json:"sections,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CardActions") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "CardActions") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1ContextualAddOnMarkupCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1ContextualAddOnMarkupCard - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleChatV1ContextualAddOnMarkupCardCardAction: A card action is the -// action associated with the card. For an invoice card, a typical -// action would be: delete invoice, email invoice or open the invoice in -// browser. Not supported by Google Chat apps. -type GoogleChatV1ContextualAddOnMarkupCardCardAction struct { - // ActionLabel: The label used to be displayed in the action menu item. - ActionLabel string `json:"actionLabel,omitempty"` - - // OnClick: The onclick action for this action item. - OnClick *GoogleChatV1WidgetMarkupOnClick `json:"onClick,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ActionLabel") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ActionLabel") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1ContextualAddOnMarkupCardCardAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1ContextualAddOnMarkupCardCardAction - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GoogleChatV1ContextualAddOnMarkupCardCardHeader struct { - // ImageStyle: The image's type (for example, square border or circular - // border). - // - // Possible values: - // "IMAGE_STYLE_UNSPECIFIED" - // "IMAGE" - Square border. - // "AVATAR" - Circular border. - ImageStyle string `json:"imageStyle,omitempty"` - - // ImageUrl: The URL of the image in the card header. - ImageUrl string `json:"imageUrl,omitempty"` - - // Subtitle: The subtitle of the card header. - Subtitle string `json:"subtitle,omitempty"` - - // Title: The title must be specified. The header has a fixed height: if - // both a title and subtitle is specified, each takes up one line. If - // only the title is specified, it takes up both lines. - Title string `json:"title,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ImageStyle") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ImageStyle") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1ContextualAddOnMarkupCardCardHeader) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1ContextualAddOnMarkupCardCardHeader - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleChatV1ContextualAddOnMarkupCardSection: A section contains a -// collection of widgets that are rendered (vertically) in the order -// that they are specified. Across all platforms, cards have a narrow -// fixed width, so there's currently no need for layout properties (for -// example, float). -type GoogleChatV1ContextualAddOnMarkupCardSection struct { - // Header: The header of the section. Formatted text is supported. For - // more information about formatting text, see Formatting text in Google - // Chat apps - // (https://developers.google.com/chat/api/guides/message-formats/cards#card_text_formatting) - // and Formatting text in Google Workspace Add-ons - // (https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). - Header string `json:"header,omitempty"` - - // Widgets: A section must contain at least one widget. - Widgets []*GoogleChatV1WidgetMarkup `json:"widgets,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Header") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Header") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1ContextualAddOnMarkupCardSection) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1ContextualAddOnMarkupCardSection - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleChatV1WidgetMarkup: A widget is a UI element that presents text -// and images. -type GoogleChatV1WidgetMarkup struct { - // Buttons: A list of buttons. Buttons is also `oneof data` and only one - // of these fields should be set. - Buttons []*GoogleChatV1WidgetMarkupButton `json:"buttons,omitempty"` - - // Image: Display an image in this widget. - Image *GoogleChatV1WidgetMarkupImage `json:"image,omitempty"` - - // KeyValue: Display a key value item in this widget. - KeyValue *GoogleChatV1WidgetMarkupKeyValue `json:"keyValue,omitempty"` - - // TextParagraph: Display a text paragraph in this widget. - TextParagraph *GoogleChatV1WidgetMarkupTextParagraph `json:"textParagraph,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Buttons") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1WidgetMarkup) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1WidgetMarkup - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleChatV1WidgetMarkupButton: A button. Can be a text button or an -// image button. -type GoogleChatV1WidgetMarkupButton struct { - // ImageButton: A button with image and `onclick` action. - ImageButton *GoogleChatV1WidgetMarkupImageButton `json:"imageButton,omitempty"` - - // TextButton: A button with text and `onclick` action. - TextButton *GoogleChatV1WidgetMarkupTextButton `json:"textButton,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ImageButton") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ImageButton") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1WidgetMarkupButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1WidgetMarkupButton - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleChatV1WidgetMarkupFormAction: A form action describes the -// behavior when the form is submitted. For example, you can invoke Apps -// Script to handle the form. -type GoogleChatV1WidgetMarkupFormAction struct { - // ActionMethodName: The method name is used to identify which part of - // the form triggered the form submission. This information is echoed - // back to the Chat app as part of the card click event. You can use the - // same method name for several elements that trigger a common behavior. - ActionMethodName string `json:"actionMethodName,omitempty"` - - // Parameters: List of action parameters. - Parameters []*GoogleChatV1WidgetMarkupFormActionActionParameter `json:"parameters,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ActionMethodName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ActionMethodName") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1WidgetMarkupFormAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1WidgetMarkupFormAction - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleChatV1WidgetMarkupFormActionActionParameter: List of string -// parameters to supply when the action method is invoked. For example, -// consider three snooze buttons: snooze now, snooze one day, snooze -// next week. You might use `action method = snooze()`, passing the -// snooze type and snooze time in the list of string parameters. -type GoogleChatV1WidgetMarkupFormActionActionParameter struct { - // Key: The name of the parameter for the action script. - Key string `json:"key,omitempty"` - - // Value: The value of the parameter. - Value string `json:"value,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Key") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Key") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1WidgetMarkupFormActionActionParameter) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1WidgetMarkupFormActionActionParameter - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleChatV1WidgetMarkupImage: An image that's specified by a URL and -// can have an `onclick` action. -type GoogleChatV1WidgetMarkupImage struct { - // AspectRatio: The aspect ratio of this image (width and height). This - // field lets you reserve the right height for the image while waiting - // for it to load. It's not meant to override the built-in aspect ratio - // of the image. If unset, the server fills it by prefetching the image. - AspectRatio float64 `json:"aspectRatio,omitempty"` - - // ImageUrl: The URL of the image. - ImageUrl string `json:"imageUrl,omitempty"` - - // OnClick: The `onclick` action. - OnClick *GoogleChatV1WidgetMarkupOnClick `json:"onClick,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AspectRatio") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AspectRatio") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1WidgetMarkupImage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1WidgetMarkupImage - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -func (s *GoogleChatV1WidgetMarkupImage) UnmarshalJSON(data []byte) error { - type NoMethod GoogleChatV1WidgetMarkupImage - var s1 struct { - AspectRatio gensupport.JSONFloat64 `json:"aspectRatio"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.AspectRatio = float64(s1.AspectRatio) - return nil -} - -// GoogleChatV1WidgetMarkupImageButton: An image button with an -// `onclick` action. -type GoogleChatV1WidgetMarkupImageButton struct { - // Icon: The icon specified by an `enum` that indices to an icon - // provided by Chat API. - // - // Possible values: - // "ICON_UNSPECIFIED" - // "AIRPLANE" - // "BOOKMARK" - // "BUS" - // "CAR" - // "CLOCK" - // "CONFIRMATION_NUMBER_ICON" - // "DOLLAR" - // "DESCRIPTION" - // "EMAIL" - // "EVENT_PERFORMER" - // "EVENT_SEAT" - // "FLIGHT_ARRIVAL" - // "FLIGHT_DEPARTURE" - // "HOTEL" - // "HOTEL_ROOM_TYPE" - // "INVITE" - // "MAP_PIN" - // "MEMBERSHIP" - // "MULTIPLE_PEOPLE" - // "OFFER" - // "PERSON" - // "PHONE" - // "RESTAURANT_ICON" - // "SHOPPING_CART" - // "STAR" - // "STORE" - // "TICKET" - // "TRAIN" - // "VIDEO_CAMERA" - // "VIDEO_PLAY" - Icon string `json:"icon,omitempty"` - - // IconUrl: The icon specified by a URL. - IconUrl string `json:"iconUrl,omitempty"` - - // Name: The name of this `image_button` that's used for accessibility. - // Default value is provided if this name isn't specified. - Name string `json:"name,omitempty"` - - // OnClick: The `onclick` action. - OnClick *GoogleChatV1WidgetMarkupOnClick `json:"onClick,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Icon") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Icon") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1WidgetMarkupImageButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1WidgetMarkupImageButton - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleChatV1WidgetMarkupKeyValue: A UI element contains a key (label) -// and a value (content). This element can also contain some actions -// such as `onclick` button. -type GoogleChatV1WidgetMarkupKeyValue struct { - // BottomLabel: The text of the bottom label. Formatted text supported. - // For more information about formatting text, see Formatting text in - // Google Chat apps - // (https://developers.google.com/chat/api/guides/message-formats/cards#card_text_formatting) - // and Formatting text in Google Workspace Add-ons - // (https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). - BottomLabel string `json:"bottomLabel,omitempty"` - - // Button: A button that can be clicked to trigger an action. - Button *GoogleChatV1WidgetMarkupButton `json:"button,omitempty"` - - // Content: The text of the content. Formatted text supported and always - // required. For more information about formatting text, see Formatting - // text in Google Chat apps - // (https://developers.google.com/chat/api/guides/message-formats/cards#card_text_formatting) - // and Formatting text in Google Workspace Add-ons - // (https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). - Content string `json:"content,omitempty"` - - // ContentMultiline: If the content should be multiline. - ContentMultiline bool `json:"contentMultiline,omitempty"` - - // Icon: An enum value that's replaced by the Chat API with the - // corresponding icon image. - // - // Possible values: - // "ICON_UNSPECIFIED" - // "AIRPLANE" - // "BOOKMARK" - // "BUS" - // "CAR" - // "CLOCK" - // "CONFIRMATION_NUMBER_ICON" - // "DOLLAR" - // "DESCRIPTION" - // "EMAIL" - // "EVENT_PERFORMER" - // "EVENT_SEAT" - // "FLIGHT_ARRIVAL" - // "FLIGHT_DEPARTURE" - // "HOTEL" - // "HOTEL_ROOM_TYPE" - // "INVITE" - // "MAP_PIN" - // "MEMBERSHIP" - // "MULTIPLE_PEOPLE" - // "OFFER" - // "PERSON" - // "PHONE" - // "RESTAURANT_ICON" - // "SHOPPING_CART" - // "STAR" - // "STORE" - // "TICKET" - // "TRAIN" - // "VIDEO_CAMERA" - // "VIDEO_PLAY" - Icon string `json:"icon,omitempty"` - - // IconUrl: The icon specified by a URL. - IconUrl string `json:"iconUrl,omitempty"` - - // OnClick: The `onclick` action. Only the top label, bottom label, and - // content region are clickable. - OnClick *GoogleChatV1WidgetMarkupOnClick `json:"onClick,omitempty"` - - // TopLabel: The text of the top label. Formatted text supported. For - // more information about formatting text, see Formatting text in Google - // Chat apps - // (https://developers.google.com/chat/api/guides/message-formats/cards#card_text_formatting) - // and Formatting text in Google Workspace Add-ons - // (https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). - TopLabel string `json:"topLabel,omitempty"` - - // ForceSendFields is a list of field names (e.g. "BottomLabel") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "BottomLabel") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1WidgetMarkupKeyValue) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1WidgetMarkupKeyValue - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleChatV1WidgetMarkupOnClick: An `onclick` action (for example, -// open a link). -type GoogleChatV1WidgetMarkupOnClick struct { - // Action: A form action is triggered by this `onclick` action if - // specified. - Action *GoogleChatV1WidgetMarkupFormAction `json:"action,omitempty"` - - // OpenLink: This `onclick` action triggers an open link action if - // specified. - OpenLink *GoogleChatV1WidgetMarkupOpenLink `json:"openLink,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Action") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Action") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1WidgetMarkupOnClick) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1WidgetMarkupOnClick - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleChatV1WidgetMarkupOpenLink: A link that opens a new window. -type GoogleChatV1WidgetMarkupOpenLink struct { - // Url: The URL to open. - Url string `json:"url,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Url") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Url") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1WidgetMarkupOpenLink) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1WidgetMarkupOpenLink - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleChatV1WidgetMarkupTextButton: A button with text and `onclick` -// action. -type GoogleChatV1WidgetMarkupTextButton struct { - // OnClick: The `onclick` action of the button. - OnClick *GoogleChatV1WidgetMarkupOnClick `json:"onClick,omitempty"` - - // Text: The text of the button. - Text string `json:"text,omitempty"` - - // ForceSendFields is a list of field names (e.g. "OnClick") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "OnClick") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1WidgetMarkupTextButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1WidgetMarkupTextButton - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleChatV1WidgetMarkupTextParagraph: A paragraph of text. Formatted -// text supported. For more information about formatting text, see -// Formatting text in Google Chat apps -// (https://developers.google.com/chat/api/guides/message-formats/cards#card_text_formatting) -// and Formatting text in Google Workspace Add-ons -// (https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). -type GoogleChatV1WidgetMarkupTextParagraph struct { - Text string `json:"text,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Text") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Text") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleChatV1WidgetMarkupTextParagraph) MarshalJSON() ([]byte, error) { - type NoMethod GoogleChatV1WidgetMarkupTextParagraph - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleDocsMetadata: The corpus specific metadata for office-type -// documents, from Google Docs and other sources. This message is passed -// to the scorer and beyond. Next tag: 9 -type GoogleDocsMetadata struct { - // AclInfo: Contains number of users and groups which can access the - // document. - AclInfo *AclInfo `json:"aclInfo,omitempty"` - - // DocumentType: The conceptual type (presentation, document, etc.) of - // this document. - // - // Possible values: - // "UNKNOWN" - If the type is unknown or not represented in this enum. - // "DOCUMENT" - Writely, Word, etc. - // "PRESENTATION" - Presently, PowerPoint, etc. - // "SPREADSHEET" - Trix, Excel, etc. - // "PDF" - File types for Gdrive objects are below. - // "IMAGE" - // "BINARY_BLOB" - Fall-back for unknown Gdrive types. - // "FUSION_TABLE" - // "FOLDER" - // "DRAWING" - // "VIDEO" - // "FORM" - // "DRAFT_SITE" - For Atari page and site drafts - // "DRAFT_SITE_PAGE" - // "JAM" - Jamboard Jams (go/jam) - // "SHORTCUT" - Drive Shortcuts (go/shortcuts) - // "SCRIPT" - DocumentType string `json:"documentType,omitempty"` - - // FileExtension: The file extension of the document. NOTE: As of - // October 2018 this field is not backfilled for old documents. - FileExtension string `json:"fileExtension,omitempty"` - - // LastContentModifiedTimestamp: The last time this document was - // modified, in seconds since epoch. Only counts content modifications. - LastContentModifiedTimestamp int64 `json:"lastContentModifiedTimestamp,omitempty,string"` - - // NumSubscribers: Contains number of subscribers for the document. - NumSubscribers int64 `json:"numSubscribers,omitempty"` - - // NumViewers: Size of untruncated viewers list. - NumViewers int64 `json:"numViewers,omitempty"` - - // ResultInfo: Additional per-result information, akin to Gmail's - // SingleThreadResponse. Note: GWS no longer seems to use this field, - // but there's still one reference to it for Scribe, so we can't remove - // it. - ResultInfo *GoogleDocsResultInfo `json:"resultInfo,omitempty"` - - // TypeInfo: Contains additional information about the document - // depending on its type. - TypeInfo *TypeInfo `json:"typeInfo,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AclInfo") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AclInfo") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleDocsMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleDocsMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleDocsResultInfo: A message containing information about a -// specific result. This information is passed to the scorer and beyond; -// in particular, GWS relies on it to format the result in the UI. Split -// from GoogleDocsMetadata in case we later want to reuse the message. -type GoogleDocsResultInfo struct { - // AttachmentSha1: The SHA1 hash of the object in Drive, if any. - AttachmentSha1 string `json:"attachmentSha1,omitempty"` - - // CosmoId: The storage identifier for the object in Cosmo. This field - // is intended to used by Stratus/Moonshine integration only. It should - // not be exposed externally (please refer to encrypted_id for that - // purpose). - CosmoId *Id `json:"cosmoId,omitempty"` - - // CosmoNameSpace: For Cosmo objects, the Cosmo namespace the object was - // in. This allows downstream clients to identify whether a document was - // created in Writely or Kix, Presently or Punch, or whether it was - // uploaded from GDrive. See storage_cosmo.Id.NAME_SPACE for a list of - // all Cosmo name spaces. - CosmoNameSpace int64 `json:"cosmoNameSpace,omitempty"` - - // EncryptedId: The encrypted (user-visible) id of this object. Knowing - // the id is sufficient to create a canonical URL for this document. - EncryptedId string `json:"encryptedId,omitempty"` - - // MimeType: The mimetype of the document. - MimeType string `json:"mimeType,omitempty"` - - // ShareScope: The visibility indicator in the UI will be based upon - // this. - ShareScope *ShareScope `json:"shareScope,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AttachmentSha1") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AttachmentSha1") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *GoogleDocsResultInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleDocsResultInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type Grid struct { - // BorderStyle: The border style to apply to each grid item. - BorderStyle *BorderStyle `json:"borderStyle,omitempty"` - - // Items: The items to display in the grid. - Items []*GridItem `json:"items,omitempty"` - - // NumColumns: The number of columns to display in the grid. Note that a - // default value will be used if this field is not specified, and that - // default value will be different depending on where the grid is shown - // (dialog vs companion). - NumColumns int64 `json:"numColumns,omitempty"` - - // OnClick: This callback will be reused by each individual GridItem, - // but with the item's identifier and index in the items list added to - // the callback's parameters. - OnClick *OnClick `json:"onClick,omitempty"` - - // Title: The text to display in the grid header. - Title string `json:"title,omitempty"` - - // ForceSendFields is a list of field names (e.g. "BorderStyle") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "BorderStyle") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Grid) MarshalJSON() ([]byte, error) { - type NoMethod Grid - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GridItem struct { - // Identifier: A user-specified identifier for this grid item. This - // identifier will be returned in the parent Grid's on_click callback's - // parameters. - Identifier string `json:"identifier,omitempty"` - - Image *ImageComponent `json:"image,omitempty"` - - // Possible values: - // "NOT_SET" - // "TEXT_BELOW" - The title and subtitle are shown below the grid - // item's image. - // "TEXT_ABOVE" - The title and subtitle are shown above the grid - // item's image. - Layout string `json:"layout,omitempty"` - - Subtitle string `json:"subtitle,omitempty"` - - // Possible values: - // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - // "START" - // "CENTER" - // "END" - TextAlignment string `json:"textAlignment,omitempty"` - - // Title: Text properties. - Title string `json:"title,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Identifier") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Identifier") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GridItem) MarshalJSON() ([]byte, error) { - type NoMethod GridItem - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GroupDetailsUpdatedMetadata struct { - NewGroupDetails *AppsDynamiteSharedGroupDetails `json:"newGroupDetails,omitempty"` - - PrevGroupDetails *AppsDynamiteSharedGroupDetails `json:"prevGroupDetails,omitempty"` - - // ForceSendFields is a list of field names (e.g. "NewGroupDetails") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "NewGroupDetails") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *GroupDetailsUpdatedMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GroupDetailsUpdatedMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GroupId: Id representing a group that could be a space, a chat, or a -// direct message space. Which ID is set here will determine which group -type GroupId struct { - // DmId: Unique, immutable ID of the Direct Message Space - DmId *DmId `json:"dmId,omitempty"` - - // SpaceId: Unique, immutable ID of the Space - SpaceId *SpaceId `json:"spaceId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DmId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DmId") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GroupId) MarshalJSON() ([]byte, error) { - type NoMethod GroupId - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GroupLinkSharingModificationEvent struct { - // Possible values: - // "UNKNOWN_LINK_SHARING_STATUS" - // "LINK_SHARING_ON" - Link sharing is turned on. - // "LINK_SHARING_OFF" - Link sharing is turned off. - // "NOT_AVAILABLE" - Link sharing is not available for the - // conversation. - NewStatus string `json:"newStatus,omitempty"` - - // ForceSendFields is a list of field names (e.g. "NewStatus") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "NewStatus") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GroupLinkSharingModificationEvent) MarshalJSON() ([]byte, error) { - type NoMethod GroupLinkSharingModificationEvent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type GroupRetentionSettingsUpdatedMetaData struct { - // Initiator: The user who triggered the retention settings update - Initiator *UserId `json:"initiator,omitempty"` - - // RetentionSettings: The updated space retention settings - RetentionSettings *AppsDynamiteSharedRetentionSettings `json:"retentionSettings,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Initiator") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Initiator") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GroupRetentionSettingsUpdatedMetaData) MarshalJSON() ([]byte, error) { - type NoMethod GroupRetentionSettingsUpdatedMetaData - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GsuiteIntegrationMetadata: Annotation metadata for a -// GsuiteIntegration artifact. -type GsuiteIntegrationMetadata struct { - ActivityFeedData *AppsDynamiteSharedActivityFeedAnnotationData `json:"activityFeedData,omitempty"` - - AssistantData *AppsDynamiteSharedAssistantAnnotationData `json:"assistantData,omitempty"` - - CalendarEventData *AppsDynamiteSharedCalendarEventAnnotationData `json:"calendarEventData,omitempty"` - - // CallData: Data used to render call artifacts. - CallData *AppsDynamiteSharedCallAnnotationData `json:"callData,omitempty"` - - // Possible values: - // "UNKNOWN_CLIENT_TYPE" - // "MEET" - // "TASKS" - // "CALENDAR_EVENT" - // "ASSISTANT" - // "ACTIVITY_FEED_SERVICE" - ClientType string `json:"clientType,omitempty"` - - // IndexableTexts: A list of all strings that are to be indexed for this - // 1P chip. Each string in this list would be the contents of a single - // string field in the 1P chip. Eg. For Tasks[title = “hello world”, - // description = “good bye”]. If we want to index only the title, - // this would be set to [“hello world”]. If both title and - // description, then this would be [“hello world”, “good bye”]. - // Please make sure that the contents of this field is a subset of - // strings that are rendered as part of the 1P Chip. - IndexableTexts []string `json:"indexableTexts,omitempty"` - - TasksData *AppsDynamiteSharedTasksAnnotationData `json:"tasksData,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ActivityFeedData") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ActivityFeedData") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *GsuiteIntegrationMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GsuiteIntegrationMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type HangoutEvent struct { - HangoutDurationSecs int64 `json:"hangoutDurationSecs,omitempty,string"` - - // Possible values: - // "AUDIO_VIDEO" - // "AUDIO_ONLY" - // "PUSH_TO_TALK" - A user has started a PTT broadcast. When receiving - // a notification with this HangoutMediaType, other users in the - // conversation will take different actions depending on their active - // clients: a) If there is a recent "reasonable" active client, the user - // will join hangout and play audio. b) If there is no "reasonable" - // active client an invite will be displayed on all clients. - MediaType string `json:"mediaType,omitempty"` - - ParticipantId []*StoredParticipantId `json:"participantId,omitempty"` - - // Possible values: - // "START_HANGOUT" - // "JOIN_HANGOUT" - // "LEAVE_HANGOUT" - // "END_HANGOUT" - // "HANGOUT_COMING_SOON" - // "ONGOING_HANGOUT" - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "HangoutDurationSecs") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "HangoutDurationSecs") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *HangoutEvent) MarshalJSON() ([]byte, error) { - type NoMethod HangoutEvent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// HangoutVideoEventMetadata: A message representing the Hangout video -// start/end events in Babel -type HangoutVideoEventMetadata struct { - // Possible values: - // "UNKNOWN_HANGOUT_VIDEO_EVENT_TYPE" - // "VIDEO_START" - // "VIDEO_END" - HangoutVideoType string `json:"hangoutVideoType,omitempty"` - - // ForceSendFields is a list of field names (e.g. "HangoutVideoType") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "HangoutVideoType") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *HangoutVideoEventMetadata) MarshalJSON() ([]byte, error) { - type NoMethod HangoutVideoEventMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// HashtagData: Hashtag metadata, for HASHTAG segments. For a hashtag, -// the "text" field should contain the display text, and the search_text -// field should represent the topic being referenced, without the hash -// symbol; for example, we might have: text = "#Google" -// hashtag_data.search_text = "Google" Another example: text = -// "#pikachu" hashtag_data.search_text = "Pokemon" Both strings should -// be considered part of the searchable text. In go/sbe, both are -// indexed and searchable. -type HashtagData struct { - SearchText string `json:"searchText,omitempty"` - - // ForceSendFields is a list of field names (e.g. "SearchText") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "SearchText") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *HashtagData) MarshalJSON() ([]byte, error) { - type NoMethod HashtagData - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// History: The most recent history records associated with the item. -type History struct { - Record []*HistoryRecord `json:"record,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Record") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Record") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *History) MarshalJSON() ([]byte, error) { - type NoMethod History - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type HistoryRecord struct { - // ClientContext: This will almost always be set, but there are corner - // cases in which the information is not available, and thus - // applications must handle its absence appropriately. - ClientContext *ClientContext `json:"clientContext,omitempty"` - - FilterUpdate *FilterUpdate `json:"filterUpdate,omitempty"` - - ImapUpdate *ImapUpdate `json:"imapUpdate,omitempty"` - - LabelUpdate *LabelUpdate `json:"labelUpdate,omitempty"` - - PrefUpdate *PrefUpdate `json:"prefUpdate,omitempty"` - - // RecordId: Each HistoryRecord has a unique id. Ids are monotonically - // increasing, and not necessarily contiguous. - RecordId uint64 `json:"recordId,omitempty,string"` - - ThreadUpdate *ThreadUpdate `json:"threadUpdate,omitempty"` - - // TransactionContext: This will almost always be set, but there are - // corner cases in which the information is not available, and thus - // applications must handle its absence appropriately. - TransactionContext *TransactionContext `json:"transactionContext,omitempty"` - - TxnDebugInfo *TransactionDebugInfo `json:"txnDebugInfo,omitempty"` - - // Possible values: - // "UNKNOWN" - Represents a type that is deprecated or not known by - // the executing code. Even if Fusebox sends a HistoryRecord with Type - // not UNKNOWN, it may send Type values that are not yet defined on the - // client-side, in which case they will be appear as Type.UNKNOWN on the - // client. - // "INTERNAL" - Represents a change internal to the Fusebox. - // HistoryRecords for Fusebox internal changes contribute to the user's - // version, which is defined as the latest HistoryRecord's record_id. - // INTERNAL HistoryRecords exist to allow a client to update its notion - // of the latest record_id it has processed, but do not necessarily - // contain any other information. - // "MESSAGE_ADDED" - ThreadUpdate: - // "MESSAGE_DELETED" - // "LABEL_ADDED" - // "LABEL_REMOVED" - // "ATTRIBUTE_SET" - // "ATTRIBUTE_REMOVED" - // "THREAD_KEY_SET" - // "LABEL_CREATED" - LabelUpdate: - // "LABEL_DELETED" - // "LABEL_RENAMED" - // "LABEL_UPDATED" - // "PREF_WRITTEN" - PrefUpdate: - // "PREF_DELETED" - // "FILTER_CREATED" - FilterUpdate: - // "FILTER_DELETED" - // "IMAP_UIDS_REASSIGN" - IMAP - // "TOPIC_STATE_UPDATED" - EAI - // "TXN_DEBUG_INFO" - TXN_DEBUG_INFO - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ClientContext") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ClientContext") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *HistoryRecord) MarshalJSON() ([]byte, error) { - type NoMethod HistoryRecord - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// HostAppActionMarkup: Actions handled by individual host apps. -type HostAppActionMarkup struct { - // CalendarAction: Actions handled by Calendar. - CalendarAction *CalendarClientActionMarkup `json:"calendarAction,omitempty"` - - // ChatAction: Actions handled by Chat. - ChatAction *ChatClientActionMarkup `json:"chatAction,omitempty"` - - // DriveAction: Actions handled by Drive. - DriveAction *DriveClientActionMarkup `json:"driveAction,omitempty"` - - // EditorAction: Actions handled by Docs, Sheets, or Slides. - EditorAction *EditorClientActionMarkup `json:"editorAction,omitempty"` - - // GmailAction: Actions handled by Gmail. - GmailAction *GmailClientActionMarkup `json:"gmailAction,omitempty"` - - // SheetsAction: Actions handled by Sheets. - SheetsAction *SheetsClientActionMarkup `json:"sheetsAction,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CalendarAction") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "CalendarAction") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *HostAppActionMarkup) MarshalJSON() ([]byte, error) { - type NoMethod HostAppActionMarkup - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// HostProto: Represents a single host. Optionally, the MDB owner of the -// host can be specified. -type HostProto struct { - // HostName: Lower-case, fully qualified hostname. - HostName string `json:"hostName,omitempty"` - - // HostOwner: If present, then any checks that compare this Principal to - // LOAS peer info must confirm the peer's machine owner is equal to - // 'host_owner'. If absent, then any peer machine owner is acceptable. - HostOwner string `json:"hostOwner,omitempty"` - - // ForceSendFields is a list of field names (e.g. "HostName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "HostName") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *HostProto) MarshalJSON() ([]byte, error) { - type NoMethod HostProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// HtmlOperatorOptions: Used to provide a search operator for html -// properties. This is optional. Search operators let users restrict the -// query to specific fields relevant to the type of item being searched. -type HtmlOperatorOptions struct { - // OperatorName: Indicates the operator name required in the query in - // order to isolate the html property. For example, if operatorName is - // *subject* and the property's name is *subjectLine*, then queries like - // *subject:* show results only where the value of the property - // named *subjectLine* matches **. By contrast, a search that - // uses the same ** without an operator return all items where - // ** matches the value of any html properties or text within the - // content field for the item. The operator name can only contain - // lowercase letters (a-z). The maximum length is 32 characters. - OperatorName string `json:"operatorName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "OperatorName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "OperatorName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *HtmlOperatorOptions) MarshalJSON() ([]byte, error) { - type NoMethod HtmlOperatorOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// HtmlPropertyOptions: The options for html properties. -type HtmlPropertyOptions struct { - // OperatorOptions: If set, describes how the property should be used as - // a search operator. - OperatorOptions *HtmlOperatorOptions `json:"operatorOptions,omitempty"` - - // RetrievalImportance: Indicates the search quality importance of the - // tokens within the field when used for retrieval. Can only be set to - // DEFAULT or NONE. - RetrievalImportance *RetrievalImportance `json:"retrievalImportance,omitempty"` - - // ForceSendFields is a list of field names (e.g. "OperatorOptions") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "OperatorOptions") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *HtmlPropertyOptions) MarshalJSON() ([]byte, error) { - type NoMethod HtmlPropertyOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// HtmlValues: List of html values. -type HtmlValues struct { - // Values: The maximum allowable length for html values is 2048 - // characters. - Values []string `json:"values,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Values") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Values") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *HtmlValues) MarshalJSON() ([]byte, error) { - type NoMethod HtmlValues - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type IconImage struct { - // AltText: The alternative text of this icon_url which will be used for - // accessibility. - AltText string `json:"altText,omitempty"` - - // Possible values: - // "NONE" - // "AIRPLANE" - // "BOOKMARK" - // "BUS" - // "CAR" - // "CLOCK" - // "CONFIRMATION_NUMBER_ICON" - // "DOLLAR" - // "DESCRIPTION" - // "EDIT" - // "EDIT_NOTE" - // "EMAIL" - // "EVENT_PERFORMER" - // "EVENT_SEAT" - // "FLIGHT_ARRIVAL" - // "FLIGHT_DEPARTURE" - // "HOTEL" - // "HOTEL_ROOM_TYPE" - // "INVITE" - // "MAP_PIN" - // "MEMBERSHIP" - // "MULTIPLE_PEOPLE" - // "OFFER" - // "OPEN_IN_NEW" - // "PERSON" - // "PHONE" - // "RESTAURANT_ICON" - // "SHOPPING_CART" - // "STAR" - // "STORE" - // "TICKET" - // "TRAIN" - // "VIDEO_CAMERA" - // "VIDEO_PLAY" - Add new items in alphabetical order. Next Available - // ID: 34 - Icon string `json:"icon,omitempty"` - - IconUrl string `json:"iconUrl,omitempty"` - - // ImageStyle: The image cropping style. Note that icons with a CIRCLE - // style are rendered larger than the default icon size. - // - // Possible values: - // "CROP_TYPE_NOT_SET" - No value specified. - // "SQUARE" - Applies a square crop. - // "CIRCLE" - Applies a circular crop. - // "RECTANGLE_CUSTOM" - Applies a rectangular crop with a custom - // aspect ratio. - // "RECTANGLE_4_3" - Applies a rectangular crop with a 4:3 aspect - // ratio. - ImageStyle string `json:"imageStyle,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AltText") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AltText") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *IconImage) MarshalJSON() ([]byte, error) { - type NoMethod IconImage - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Id: Identifies a particular object, including both Users and -// DirEntries. This Id is unique across the entire server instance, such -// as the production or qa instance. -type Id struct { - // CreatorUserId: The User account in which the DirEntry was originally - // created. If name_space==GAIA, then it's the gaia_id of the user this - // id is referring to. This field should really be called the "bucket - // ID", not the creator ID. In some circumstances, such as copying a - // Google Docs file, a user can create an item in a different user's - // bucket, so it should not be relied upon for anything other than - // bucket location. To look up the requesting user who initially created - // item, use the `creator_id` DirEntry field instead. - CreatorUserId uint64 `json:"creatorUserId,omitempty,string"` - - // LocalId: The local identifier for the DirEntry (local to the - // creator's account). local_id + app_name is guaranteed to be unique - // within the creator account, but not across all User accounts. The - // string is case sensitive. Ignore if name_space==GAIA. NB For - // name_space==COSMO, all local_id's should be defined in - // google3/java/com/google/storage/cosmo/server/api/SpecialObjectIds.java - // as they have a special predefined meaning. See - // cosmo.client.CosmoIdFactory.createObjectId(long,String) for IMPORTANT - // recommendations when generating IDs. - LocalId string `json:"localId,omitempty"` - - // NameSpace: The name space in which this id is unique (typically the - // application that created it). Values should be drawn from the above - // enum, but for experimentation, use values greater than 1000. - NameSpace int64 `json:"nameSpace,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CreatorUserId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "CreatorUserId") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Id) MarshalJSON() ([]byte, error) { - type NoMethod Id - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type Image struct { - // AltText: The alternative text of this image which will be used for - // accessibility. - AltText string `json:"altText,omitempty"` - - // AspectRatio: The aspect ratio of this image (width/height). - AspectRatio float64 `json:"aspectRatio,omitempty"` - - // ImageUrl: Image url specified by developers. Server side, we will - // wrap with FIFE so client apps can configure size/cropping/etc. - ImageUrl string `json:"imageUrl,omitempty"` - - OnClick *OnClick `json:"onClick,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AltText") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AltText") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Image) MarshalJSON() ([]byte, error) { - type NoMethod Image - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -func (s *Image) UnmarshalJSON(data []byte) error { - type NoMethod Image - var s1 struct { - AspectRatio gensupport.JSONFloat64 `json:"aspectRatio"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.AspectRatio = float64(s1.AspectRatio) - return nil -} - -type ImageButton struct { - // Possible values: - // "NONE" - // "AIRPLANE" - // "BOOKMARK" - // "BUS" - // "CAR" - // "CLOCK" - // "CONFIRMATION_NUMBER_ICON" - // "DOLLAR" - // "DESCRIPTION" - // "EDIT" - // "EDIT_NOTE" - // "EMAIL" - // "EVENT_PERFORMER" - // "EVENT_SEAT" - // "FLIGHT_ARRIVAL" - // "FLIGHT_DEPARTURE" - // "HOTEL" - // "HOTEL_ROOM_TYPE" - // "INVITE" - // "MAP_PIN" - // "MEMBERSHIP" - // "MULTIPLE_PEOPLE" - // "OFFER" - // "OPEN_IN_NEW" - // "PERSON" - // "PHONE" - // "RESTAURANT_ICON" - // "SHOPPING_CART" - // "STAR" - // "STORE" - // "TICKET" - // "TRAIN" - // "VIDEO_CAMERA" - // "VIDEO_PLAY" - Add new items in alphabetical order. Next Available - // ID: 34 - Icon string `json:"icon,omitempty"` - - IconUrl string `json:"iconUrl,omitempty"` - - Name string `json:"name,omitempty"` - - OnClick *OnClick `json:"onClick,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Icon") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Icon") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ImageButton) MarshalJSON() ([]byte, error) { - type NoMethod ImageButton - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ImageComponent: NOTE: Through future refactoring work, this image -// component will eventually be used in the Image widget, and will -// likely replace the Icon proto as well. -type ImageComponent struct { - AltText string `json:"altText,omitempty"` - - BorderStyle *BorderStyle `json:"borderStyle,omitempty"` - - CropStyle *ImageCropStyle `json:"cropStyle,omitempty"` - - ImageUrl string `json:"imageUrl,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AltText") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AltText") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ImageComponent) MarshalJSON() ([]byte, error) { - type NoMethod ImageComponent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ImageCropStyle: Represents a crop style that can be applied to an -// image. -type ImageCropStyle struct { - // AspectRatio: The aspect ratio to use if the crop type is - // RECTANGLE_CUSTOM. - AspectRatio float64 `json:"aspectRatio,omitempty"` - - // Type: The crop type. - // - // Possible values: - // "CROP_TYPE_NOT_SET" - No value specified. - // "SQUARE" - Applies a square crop. - // "CIRCLE" - Applies a circular crop. - // "RECTANGLE_CUSTOM" - Applies a rectangular crop with a custom - // aspect ratio. - // "RECTANGLE_4_3" - Applies a rectangular crop with a 4:3 aspect - // ratio. - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AspectRatio") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AspectRatio") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ImageCropStyle) MarshalJSON() ([]byte, error) { - type NoMethod ImageCropStyle - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -func (s *ImageCropStyle) UnmarshalJSON(data []byte) error { - type NoMethod ImageCropStyle - var s1 struct { - AspectRatio gensupport.JSONFloat64 `json:"aspectRatio"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.AspectRatio = float64(s1.AspectRatio) - return nil -} - -// ImageKeyValue: This is deprecated and please use KeyValue. -type ImageKeyValue struct { - // Possible values: - // "NONE" - // "AIRPLANE" - // "BOOKMARK" - // "BUS" - // "CAR" - // "CLOCK" - // "CONFIRMATION_NUMBER_ICON" - // "DOLLAR" - // "DESCRIPTION" - // "EDIT" - // "EDIT_NOTE" - // "EMAIL" - // "EVENT_PERFORMER" - // "EVENT_SEAT" - // "FLIGHT_ARRIVAL" - // "FLIGHT_DEPARTURE" - // "HOTEL" - // "HOTEL_ROOM_TYPE" - // "INVITE" - // "MAP_PIN" - // "MEMBERSHIP" - // "MULTIPLE_PEOPLE" - // "OFFER" - // "OPEN_IN_NEW" - // "PERSON" - // "PHONE" - // "RESTAURANT_ICON" - // "SHOPPING_CART" - // "STAR" - // "STORE" - // "TICKET" - // "TRAIN" - // "VIDEO_CAMERA" - // "VIDEO_PLAY" - Add new items in alphabetical order. Next Available - // ID: 34 - Icon string `json:"icon,omitempty"` - - IconUrl string `json:"iconUrl,omitempty"` - - OnClick *OnClick `json:"onClick,omitempty"` - - Text string `json:"text,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Icon") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Icon") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ImageKeyValue) MarshalJSON() ([]byte, error) { - type NoMethod ImageKeyValue - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ImapSessionContext struct { - // Possible values: - // "OTHER_APP" - Unknown - // "CHROME" - Browsers Google Chrome - // "FIREFOX" - Mozilla Firefox - // "MSIE" - Microsoft Internet Explorer - // "SAFARI" - Apple Safari - // "OPERA" - Opera - // "EDGE" - Tag #7 used to be CHROME_WEBVIEW, which was deprecated and - // replaced by CHROME_WEBVIEW_APP. When adding a new browser, skip #7 - // for safety. Microsoft Edge - // "MSIE_COMPATIBILITY" - MSIE in Compatibility View. See b/22467241. - // "OTHER_BROWSER" - Browser not otherwise specified - // "SAMSUNG_BROWSER" - Samsung browser on Android - // "UC_BROWSER" - UC Browser - // "ANDROID_BROWSER" - Android's legacy default AOSP browser (distinct - // "YANDEX_BROWSER" - from customized OEM flavours). Yandex Browser - // "SILK_BROWSER" - Amazon Silk browser - // "COC_COC_BROWSER" - Popoular browser in Vietnam - // "HEADLESS_CHROME" - Headless version of Chrome - // "MAX_BROWSER_APP_VALUE" - Tag for the maximum enum value that - // represents a browser. Enum values (strictly) between OTHER_APP and - // this value represent browsers. This should never appear in real data. - // "GMAIL_APP" - Email apps Gmail - // "GMAIL_INBOX_APP" - Inbox by Gmail - // "ANDROID_EMAIL_APP" - Native Android email app - // "SAMSUNG_MAIL_APP" - (replaced by Gmail in Lollipop) Samsung mail - // "MOTO_EMAIL_APP" - Motorola email app - // "BOXER_APP" - Boxer - // "LIMILABS_MAIL_DLL" - Mail.dll by Limilabs - // "BIS_APP" - BlackBerry Internet Service - // "OUTLOOK_MAIL_APP" - Microsoft Outlook - // "APPLE_NATIVE_APP" - Apple apps (mail, contacts & calendar) - // "CHROME_WEBVIEW_APP" - Chrome Webview - // "SAFARI_WEBVIEW_APP" - Safari Webview - // "CHROME_SYNC_APP" - Chrome Sync - // "GSA_APP" - Includes both Now and Search on GSA. - // "GMM_APP" - Maps - // "CALENDAR_APP" - Calendar - // "PLUS_APP" - Google+ - // "HANGOUTS_APP" - Hangouts Classic - // "HANGOUTS_MEET_APP" - Hangouts Meet - // "JAMBOARD_APP" - Jamboard app (go/jamboard) - // "VOICE_APP" - Google Voice - // "PHOTOS_APP" - Photos - // "DRIVE_SYNC_APP" - Drive Sync - // "DRIVE_APP" - Drive - // "DOCS_APP" - Docs - // "SHEETS_APP" - Sheets - // "SLIDES_APP" - Slides - // "KEEP_APP" - Keep - // "WHATS_APP_IN_DRIVE_APP" - WhatsApp in Drive - // "TRANSLATE_APP" - Translate - // "YOUTUBE_APP" - YouTube - // "YOUTUBE_MUSIC_APP" - YouTube Music - // "YOUTUBE_GAMING_APP" - YouTube Gaming - // "YOUTUBE_KIDS_APP" - YouTube Kids - // "YOUTUBE_CAPTURE_APP" - YouTube Capture - // "YOUTUBE_CREATOR_APP" - YouTube Creator Studio - // "YOUTUBE_GO_APP" - YouTube Go - // "YOUTUBE_TV_APP" - YouTube TV - // "YOUTUBE_VR_APP" - YouTube VR - // "PLAY_APP" - Google Play - // "PLAY_MUSIC_APP" - Google Play Music - // "PLAY_BOOKS_APP" - Google Play Books - // "PLAY_MOVIES_APP" - Google Play Movies & TV - // "PLAY_NEWSSTAND_APP" - Google Play Newsstand - // "PLAY_GAMES_APP" - Google Play Games - // "POKEMON_GO_APP" - Pokemon GO (uses Google to sign in) - // "ALLO_APP" - Allo - // "DUO_APP" - Duo - // "CLASSROOM_APP" - Google Classroom - // "TRIPS_APP" - Google Trips - // "GOOGLE_PAY_APP" - Google Pay (formerly Android Pay) - // "WAZE_APP" - Waze - // "ASSISTANT_APP" - Google Assistant standalone app. iOS only, - // "GBOARD_APP" - since on Android OPA is integrated in GSA. Gboard - - // the Google Keyboard - // "NEWS_APP" - Google News & Weather - // "HOME_APP" - Google Home app (rebranded from Chromecast app) - // "EARTH_APP" - Google Earth - // "STREET_VIEW_APP" - Google Street View - // "TEZ_APP" - Tez payment app for India (go/paisa) - // "GOOGLE_ANALYTICS_APP" - Google Analytics - // "ADSENSE_APP" - AdSense - // "ADWORDS_APP" - AdWords - // "EXPRESS_APP" - Google Express (formerly Shopping Express) - // "WEAR_APP" - Android Wear companion app - // "GOOGLE_MY_BUSINESS_APP" - Google My Business - // "FAMILY_LINK_APP" - Google Family Link - // "OPINION_REWARDS_APP" - Google Opinion Rewards - // "WALLET_APP" - Google Wallet - // "ARTS_AND_CULTURE_APP" - Google Arts & Culture - // "ANDROID_DEVICE_MANAGER_APP" - Android Device Manager - // "GOOGLE_GO_APP" - Google Go - // "FILES_GO_APP" - Files Go - // "DATALLY_APP" - Datally - // "WIFI_APP" - Google Wifi (incl. OnHub) - // "STADIA_APP" - Stadia (go/stadia) - // "BATTLESTAR_APP" - Battlestar (go/battlestar) - // "SMART_LOCK_APP" - SmartLock - // "LOGDOG_APP" - Non-browser, non-mail, non-first-party apps LogDog - // (https://getlogdog.com/) - // "DEPRECATED_MAC_OSX_MAIL_APP" - Do not remove this fields - - // remvoing them caused issues in the past (see cl/180425348 for - // reference). - // "DEPRECATED_IOS_MAIL_APP" - App string `json:"app,omitempty"` - - // DeviceType: User agent information - // - // Possible values: - // "UNKNOWN" - Unknown device type. - // "PC" - PCs (incl. Macs). Desktops, laptops and various niche form - // factors that typically run desktop-class OSes (all-in-ones, HTPCs - // etc.). - // "MOBILE" - Primarily used for phones, but also set as default for - // OSes that are predominantly for phones (Android, iOS etc.) when we - // can't determine otherwise. - // "TABLET" - Tablets. - // "PORTABLE_MEDIA_PLAYER" - Mobile devices which are not phones, but - // are capable of storing and playing digital media such as audio, - // images, and video files. Example: iPod. - // "TV" - Smart TVs which interact with Google products without an - // external additional device. Includes TV sets which run Android TV - // directly. Refers to actual TV screens, rather than connected boxes or - // dongles. - // "GAME_CONSOLE" - Devices whose primary purpose is playing games. - // Examples: Xbox, Playstation. - // "MEDIA_PLAYER" - Add-on devices (i.e. devices which require - // connecting to another device, such as screens/TVs/speakers) whose - // primary purpose is media consumption (excludes physical TV screens). - // Examples: Chromecast, Roku, Apple TV, Nexus Player. - // "SMART_SPEAKER" - Examples: Google Home, Amazon Echo. - // "SMART_DISPLAY" - Examples: Google Home Display - // (Quartz/Manhattan/Jasper/Dragonglass), Amazon Echo Spot, Amazon Echo - // Show. - // "CONNECTED_HOME_OTHER" - Other connected home devices which do not - // fit in any of the above categories; that is, neither media- or - // gaming-focused, nor primarily a voice-enabled speaker. - // "WEARABLE" - Wearable devices such as smartwatches. - // "GLASS" - Google Glass. - // "CAR" - Examples: Android Auto (Embedded mode, not mirrored from - // phone). - // "VR_HEADSET" - Standalone VR headsets, such as the Lenovo Mirage - // Solo. Does not include phone-based VR (such as Daydream View or Gear - // VR) or PC/Console-based such as Oculus Rift, HTC Vive and PSVR; in - // such cases, the form factor may be PHONE, PC or GAME_CONSOLE as - // applicable. - DeviceType string `json:"deviceType,omitempty"` - - // GuidFingerprint: As agreed with Bond team, this holds the fingerprint - // of any "aguid" or "guid" provided by the ID command. The fingerprint - // should be calculated by fingerprint2011. Note that not all clients - // will provide aguid or guid through ID command. - GuidFingerprint uint64 `json:"guidFingerprint,omitempty,string"` - - // Possible values: - // "UNKNOWN_OS" - // "ANDROID_OS" - Mobile operating systems (1-99). - // "IOS_OS" - // "BLACKBERRY_OS" - // "WIN_PHONE_OS" - // "FIRE_OS" - Amazon Fire OS (for Kindle Fire devices or Fire TV). - // "MAX_MOBILE_OS_VALUE" - Tag for the maximum enum value that - // represents a mobile OS. Enum values (strictly) between UNKNOWN_OS and - // this value represent mobile OSes. This should never appear in real - // data. - // "WINDOWS_OS" - PC operating systems. - // "LINUX_OS" - // "MAC_OS" - // "CHROME_OS" - // "PLAYSTATION_OS" - The OS powering Playstation consoles. Ignores OS - // changes across console generations. - // "XBOX_OS" - The Windows-derived OS used on Xbox consoles. - // "TIZEN_OS" - Tizen OS, popular in Samsung TVs, watches and more. - // "APPLE_TV_OS" - Apple tvOS (powering the Apple TV). - // "KAI_OS" - KaiOS, a fork from Firefox OS that is between a full - // smartphone and a feature phone. Notably, it supports the Google - // Assistant. go/kaiosama - // "ANDROID_THINGS_OS" - Android optimized for IoT devices. go/things - // "CAST_OS" - Cast family devices, including Chromecast, Google Home, - // and third-party speaker with integrated Assistant. - // "STADIA_OS" - Stadia on Cast devices. This is not truly an OS, but - // it's a temporary setting since Stadia uses a different sign-in flow - // (and is revoked differently) from Cast. See - // http://go/stadia-in-google-account. Do not use without discussing - // with id-devices-eng@. - Os string `json:"os,omitempty"` - - OsVersion *OsVersion `json:"osVersion,omitempty"` - - PossiblyTrimmedModel *PossiblyTrimmedModel `json:"possiblyTrimmedModel,omitempty"` - - // ForceSendFields is a list of field names (e.g. "App") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "App") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ImapSessionContext) MarshalJSON() ([]byte, error) { - type NoMethod ImapSessionContext - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ImapSyncDelete: Message delete history record extension that exports -// //imapsync/folder attribute of deleted messages which have ^is label. -type ImapSyncDelete struct { - // Mappings: Contains the value of //imapsync/folder attribute of - // deleted message. - Mappings *FolderAttribute `json:"mappings,omitempty"` - - MsgId uint64 `json:"msgId,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "Mappings") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Mappings") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ImapSyncDelete) MarshalJSON() ([]byte, error) { - type NoMethod ImapSyncDelete - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ImapUidsReassign struct { - // LabelId: Label - LabelId string `json:"labelId,omitempty"` - - // MessageId: The message Ids - MessageId googleapi.Uint64s `json:"messageId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "LabelId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "LabelId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ImapUidsReassign) MarshalJSON() ([]byte, error) { - type NoMethod ImapUidsReassign - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ImapUpdate: HistoryRecord for changes associated with IMAP, namely: -// IMAP_UIDS_REASSIGN -type ImapUpdate struct { - ImapUidsReassign *ImapUidsReassign `json:"imapUidsReassign,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ImapUidsReassign") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ImapUidsReassign") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *ImapUpdate) MarshalJSON() ([]byte, error) { - type NoMethod ImapUpdate - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ImapsyncFolderAttributeFolderMessage struct { - // Flags: Flags of the message. Represents unseen and flagged state. - Flags *ImapsyncFolderAttributeFolderMessageFlags `json:"flags,omitempty"` - - // Uid: UID of the message. - Uid uint64 `json:"uid,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "Flags") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Flags") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ImapsyncFolderAttributeFolderMessage) MarshalJSON() ([]byte, error) { - type NoMethod ImapsyncFolderAttributeFolderMessage - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ImapsyncFolderAttributeFolderMessageFlags struct { - // Flagged: Flagged state of the message. - Flagged bool `json:"flagged,omitempty"` - - // Seen: Seen state of the message. - Seen bool `json:"seen,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Flagged") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Flagged") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ImapsyncFolderAttributeFolderMessageFlags) MarshalJSON() ([]byte, error) { - type NoMethod ImapsyncFolderAttributeFolderMessageFlags - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// IncomingWebhookChangedMetadata: Annotation metadata to display system -// messages for incoming webhook events. Next Tag: 7 -type IncomingWebhookChangedMetadata struct { - // IncomingWebhookName: The webhook name at the time of the change. Used - // in Spanner storage, BE API responses and FE API responses. - IncomingWebhookName string `json:"incomingWebhookName,omitempty"` - - // InitiatorId: The user id of the user whose action triggered this - // system message. Used in Spanner storage, BE API responses and FE API - // responses. - InitiatorId *UserId `json:"initiatorId,omitempty"` - - // InitiatorProfile: Complete profile when ListTopicsRequest - // FetchOptions.USER is set. Otherwise, only the id will be filled in. - // Used in FE API responses. - InitiatorProfile *User `json:"initiatorProfile,omitempty"` - - // ObfuscatedIncomingWebhookId: The webhook id of the incoming webhook - // in question. This field should not be used to load webhook - // information dynamically and is only present for debugging purposes. - // Used in Spanner storage, BE API responses and FE API responses. - ObfuscatedIncomingWebhookId string `json:"obfuscatedIncomingWebhookId,omitempty"` - - // OldIncomingWebhookName: Only populated for UPDATED_NAME and - // UPDATED_NAME_AND_AVATAR events, where the webhook name was changed. - // Used in Spanner storage, BE API responses and FE API responses. - OldIncomingWebhookName string `json:"oldIncomingWebhookName,omitempty"` - - // Type: Used in Spanner storage, BE API responses and FE API responses. - // - // Possible values: - // "UNSPECIFIED" - // "ADDED" - // "UPDATED" - TODO (b/154857280): remove UPDATED field. - // "REMOVED" - // "UPDATED_NAME" - // "UPDATED_AVATAR" - // "UPDATED_NAME_AND_AVATAR" - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "IncomingWebhookName") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "IncomingWebhookName") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *IncomingWebhookChangedMetadata) MarshalJSON() ([]byte, error) { - type NoMethod IncomingWebhookChangedMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type IndexItemOptions struct { - // AllowUnknownGsuitePrincipals: Specifies if the index request should - // allow Google Workspace principals that do not exist or are deleted. - AllowUnknownGsuitePrincipals bool `json:"allowUnknownGsuitePrincipals,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "AllowUnknownGsuitePrincipals") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. - // "AllowUnknownGsuitePrincipals") to include in API requests with the - // JSON null value. By default, fields with empty values are omitted - // from API requests. However, any field with an empty value appearing - // in NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *IndexItemOptions) MarshalJSON() ([]byte, error) { - type NoMethod IndexItemOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type IndexItemRequest struct { - // ConnectorName: The name of connector making this call. Format: - // datasources/{source_id}/connectors/{ID} - ConnectorName string `json:"connectorName,omitempty"` - - // DebugOptions: Common debug options. - DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - - IndexItemOptions *IndexItemOptions `json:"indexItemOptions,omitempty"` - - // Item: The name of the item. Format: - // datasources/{source_id}/items/{item_id} - Item *Item `json:"item,omitempty"` - - // Mode: Required. The RequestMode for this request. - // - // Possible values: - // "UNSPECIFIED" - The priority is not specified in the update - // request. Leaving priority unspecified results in an update failure. - // "SYNCHRONOUS" - For real-time updates. - // "ASYNCHRONOUS" - For changes that are executed after the response - // is sent back to the caller. - Mode string `json:"mode,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ConnectorName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ConnectorName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *IndexItemRequest) MarshalJSON() ([]byte, error) { - type NoMethod IndexItemRequest - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// InitializeCustomerRequest: Request message for `InitializeCustomer` -// method. -type InitializeCustomerRequest struct { -} - -type InsertContent struct { - // Content: The content to be inserted. - Content string `json:"content,omitempty"` - - // ContentType: The type of inserted content. - // - // Possible values: - // "UNSPECIFIED_CONTENT_TYPE" - Default value when nothing is set for - // ContentType. - // "TEXT" - Specifies that the content is in plain text. - // "MUTABLE_HTML" - Specifies that the content is in HTML and is - // mutable (can be edited). - // "IMMUTABLE_HTML" - Specifies that the content is in HTML and is - // immutable (cannot be edited). - ContentType string `json:"contentType,omitempty"` - - // Possible values: - // "UNSPECIFIED_EMAIL_MIME_TYPE" - Default value when nothing is set - // for EmailMimeType. - // "PLAIN_TEXT" - Specifies that the inserted content is in plain - // text. - // "HTML" - Specifies that the inserted content is in HTML. - MimeType string `json:"mimeType,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Content") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Content") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *InsertContent) MarshalJSON() ([]byte, error) { - type NoMethod InsertContent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// IntegerFacetingOptions: Used to specify integer faceting options. -type IntegerFacetingOptions struct { - // IntegerBuckets: Buckets for given integer values should be in - // strictly ascending order. For example, if values supplied are - // (1,5,10,100), the following facet buckets will be formed {<1, [1,5), - // [5-10), [10-100), >=100}. - IntegerBuckets googleapi.Int64s `json:"integerBuckets,omitempty"` - - // ForceSendFields is a list of field names (e.g. "IntegerBuckets") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "IntegerBuckets") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *IntegerFacetingOptions) MarshalJSON() ([]byte, error) { - type NoMethod IntegerFacetingOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// IntegerOperatorOptions: Used to provide a search operator for integer -// properties. This is optional. Search operators let users restrict the -// query to specific fields relevant to the type of item being searched. -type IntegerOperatorOptions struct { - // GreaterThanOperatorName: Indicates the operator name required in the - // query in order to isolate the integer property using the greater-than - // operator. For example, if greaterThanOperatorName is *priorityabove* - // and the property's name is *priorityVal*, then queries like - // *priorityabove:* show results only where the value of the - // property named *priorityVal* is greater than **. The operator - // name can only contain lowercase letters (a-z). The maximum length is - // 32 characters. - GreaterThanOperatorName string `json:"greaterThanOperatorName,omitempty"` - - // LessThanOperatorName: Indicates the operator name required in the - // query in order to isolate the integer property using the less-than - // operator. For example, if lessThanOperatorName is *prioritybelow* and - // the property's name is *priorityVal*, then queries like - // *prioritybelow:* show results only where the value of the - // property named *priorityVal* is less than **. The operator - // name can only contain lowercase letters (a-z). The maximum length is - // 32 characters. - LessThanOperatorName string `json:"lessThanOperatorName,omitempty"` - - // OperatorName: Indicates the operator name required in the query in - // order to isolate the integer property. For example, if operatorName - // is *priority* and the property's name is *priorityVal*, then queries - // like *priority:* show results only where the value of the - // property named *priorityVal* matches **. By contrast, a search - // that uses the same ** without an operator returns all items - // where ** matches the value of any String properties or text - // within the content field for the item. The operator name can only - // contain lowercase letters (a-z). The maximum length is 32 characters. - OperatorName string `json:"operatorName,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "GreaterThanOperatorName") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "GreaterThanOperatorName") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *IntegerOperatorOptions) MarshalJSON() ([]byte, error) { - type NoMethod IntegerOperatorOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// IntegerPropertyOptions: The options for integer properties. -type IntegerPropertyOptions struct { - // IntegerFacetingOptions: If set, describes integer faceting options - // for the given integer property. The corresponding integer property - // should be marked isFacetable. - IntegerFacetingOptions *IntegerFacetingOptions `json:"integerFacetingOptions,omitempty"` - - // MaximumValue: The maximum value of the property. The minimum and - // maximum values for the property are used to rank results according to - // the ordered ranking. Indexing requests with values greater than the - // maximum are accepted and ranked with the same weight as items indexed - // with the maximum value. - MaximumValue int64 `json:"maximumValue,omitempty,string"` - - // MinimumValue: The minimum value of the property. The minimum and - // maximum values for the property are used to rank results according to - // the ordered ranking. Indexing requests with values less than the - // minimum are accepted and ranked with the same weight as items indexed - // with the minimum value. - MinimumValue int64 `json:"minimumValue,omitempty,string"` - - // OperatorOptions: If set, describes how the integer should be used as - // a search operator. - OperatorOptions *IntegerOperatorOptions `json:"operatorOptions,omitempty"` - - // OrderedRanking: Used to specify the ordered ranking for the integer. - // Can only be used if isRepeatable is false. - // - // Possible values: - // "NO_ORDER" - There is no ranking order for the property. Results - // are not adjusted by this property's value. - // "ASCENDING" - This property is ranked in ascending order. Lower - // values indicate lower ranking. - // "DESCENDING" - This property is ranked in descending order. Lower - // values indicate higher ranking. - OrderedRanking string `json:"orderedRanking,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "IntegerFacetingOptions") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "IntegerFacetingOptions") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *IntegerPropertyOptions) MarshalJSON() ([]byte, error) { - type NoMethod IntegerPropertyOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// IntegerValues: List of integer values. -type IntegerValues struct { - Values googleapi.Int64s `json:"values,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Values") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Values") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *IntegerValues) MarshalJSON() ([]byte, error) { - type NoMethod IntegerValues - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type IntegrationConfigMutation struct { - // AddApp: Add an app using its identifier. - AddApp *AppId `json:"addApp,omitempty"` - - // AddPinnedItem: Add a pinned tab using its identifier. - AddPinnedItem *PinnedItemId `json:"addPinnedItem,omitempty"` - - // RemoveApp: Remove an active app using its identifier. - RemoveApp *AppId `json:"removeApp,omitempty"` - - // RemovePinnedItem: Remove an active pinned tab using its identifier. - RemovePinnedItem *PinnedItemId `json:"removePinnedItem,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AddApp") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AddApp") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *IntegrationConfigMutation) MarshalJSON() ([]byte, error) { - type NoMethod IntegrationConfigMutation - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// IntegrationConfigUpdatedMetadata: Annotation metadata to display -// system message for integration config updated event. This metadata is -// stored in spanner, and can be dispatched to clients without any field -// modification or transformation. -type IntegrationConfigUpdatedMetadata struct { - // InitiatorId: The user whose action triggered this system message. - InitiatorId *UserId `json:"initiatorId,omitempty"` - - // Mutations: A list of updates applied on the integration config. - Mutations []*IntegrationConfigMutation `json:"mutations,omitempty"` - - // ForceSendFields is a list of field names (e.g. "InitiatorId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "InitiatorId") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *IntegrationConfigUpdatedMetadata) MarshalJSON() ([]byte, error) { - type NoMethod IntegrationConfigUpdatedMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Interaction: Represents an interaction between a user and an item. -type Interaction struct { - // InteractionTime: The time when the user acted on the item. If - // multiple actions of the same type exist for a single user, only the - // most recent action is recorded. - InteractionTime string `json:"interactionTime,omitempty"` - - // Principal: The user that acted on the item. - Principal *Principal `json:"principal,omitempty"` - - // Possible values: - // "UNSPECIFIED" - Invalid value. - // "VIEW" - This interaction indicates the user viewed the item. - // "EDIT" - This interaction indicates the user edited the item. - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "InteractionTime") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "InteractionTime") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *Interaction) MarshalJSON() ([]byte, error) { - type NoMethod Interaction - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// InteractionData: Interaction data for an annotation, which may be -// supplemental to the metadata oneof. For example, this will contain -// the fully built navigation target for smart chips. NEXT TAG: 2 -type InteractionData struct { - // Url: A general navigation target associated with the annotation this - // message is contained in. For smart chips, this will be the - // destination of the tap/click target and will be returned by the - // server. For scenarios where the chip originated from a user-provided - // url, this value will be provided by clients; otherwise it will be - // built by the corresponding metadata parts. - Url *SafeUrlProto `json:"url,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Url") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Url") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *InteractionData) MarshalJSON() ([]byte, error) { - type NoMethod InteractionData - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type InviteAcceptedEvent struct { - ParticipantId []*StoredParticipantId `json:"participantId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ParticipantId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ParticipantId") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *InviteAcceptedEvent) MarshalJSON() ([]byte, error) { - type NoMethod InviteAcceptedEvent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// InviteeInfo: Invitee information from a Dynamite invitation. See -// go/dynamite-invitee-mgmt. -type InviteeInfo struct { - // Email: Email as typed by the user when invited to Room or DM. This - // value will be canonicalized and hashed before retained in storage. - Email string `json:"email,omitempty"` - - // UserId: Unique, immutable ID of the User. - UserId *UserId `json:"userId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Email") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Email") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *InviteeInfo) MarshalJSON() ([]byte, error) { - type NoMethod InviteeInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Item: Represents a single object that is an item in the search index, -// such as a file, folder, or a database record. -type Item struct { - // Acl: Access control list for this item. - Acl *ItemAcl `json:"acl,omitempty"` - - // Content: Item content to be indexed and made text searchable. - Content *ItemContent `json:"content,omitempty"` - - // ItemType: The type for this item. - // - // Possible values: - // "UNSPECIFIED" - // "CONTENT_ITEM" - An item that is indexed for the only purpose of - // serving information. These items cannot be referred in containerName - // or inheritAclFrom fields. - // "CONTAINER_ITEM" - An item that gets indexed and whose purpose is - // to supply other items with ACLs and/or contain other items. - // "VIRTUAL_CONTAINER_ITEM" - An item that does not get indexed, but - // otherwise has the same purpose as CONTAINER_ITEM. - ItemType string `json:"itemType,omitempty"` - - // Metadata: The metadata information. - Metadata *ItemMetadata `json:"metadata,omitempty"` - - // Name: The name of the Item. Format: - // datasources/{source_id}/items/{item_id} This is a required field. The - // maximum length is 1536 characters. - Name string `json:"name,omitempty"` - - // Payload: Additional state connector can store for this item. The - // maximum length is 10000 bytes. - Payload string `json:"payload,omitempty"` - - // Queue: Queue this item belongs to. The maximum length is 100 - // characters. - Queue string `json:"queue,omitempty"` - - // Status: Status of the item. Output only field. - Status *ItemStatus `json:"status,omitempty"` - - // StructuredData: The structured data for the item that should conform - // to a registered object definition in the schema for the data source. - StructuredData *ItemStructuredData `json:"structuredData,omitempty"` - - // Version: Required. The indexing system stores the version from the - // datasource as a byte string and compares the Item version in the - // index to the version of the queued Item using lexical ordering. Cloud - // Search Indexing won't index or delete any queued item with a version - // value that is less than or equal to the version of the currently - // indexed item. The maximum length for this field is 1024 bytes. For - // information on how item version affects the deletion process, refer - // to Handle revisions after manual deletes - // (https://developers.google.com/cloud-search/docs/guides/operations). - Version string `json:"version,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "Acl") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Acl") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Item) MarshalJSON() ([]byte, error) { - type NoMethod Item - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ItemAcl: Access control list information for the item. For more -// information see Map ACLs -// (https://developers.google.com/cloud-search/docs/guides/acls). -type ItemAcl struct { - // AclInheritanceType: Sets the type of access rules to apply when an - // item inherits its ACL from a parent. This should always be set in - // tandem with the inheritAclFrom field. Also, when the inheritAclFrom - // field is set, this field should be set to a valid AclInheritanceType. - // - // Possible values: - // "NOT_APPLICABLE" - The default value when this item does not - // inherit an ACL. Use NOT_APPLICABLE when inheritAclFrom is empty. An - // item without ACL inheritance can still have ACLs supplied by its own - // readers and deniedReaders fields. - // "CHILD_OVERRIDE" - During an authorization conflict, the ACL of the - // child item determines its read access. - // "PARENT_OVERRIDE" - During an authorization conflict, the ACL of - // the parent item specified in the inheritAclFrom field determines read - // access. - // "BOTH_PERMIT" - Access is granted only if this item and the parent - // item specified in the inheritAclFrom field both permit read access. - AclInheritanceType string `json:"aclInheritanceType,omitempty"` - - // DeniedReaders: List of principals who are explicitly denied access to - // the item in search results. While principals are denied access by - // default, use denied readers to handle exceptions and override the - // list allowed readers. The maximum number of elements is 100. - DeniedReaders []*Principal `json:"deniedReaders,omitempty"` - - // InheritAclFrom: The name of the item to inherit the Access Permission - // List (ACL) from. Note: ACL inheritance *only* provides access - // permissions to child items and does not define structural - // relationships, nor does it provide convenient ways to delete large - // groups of items. Deleting an ACL parent from the index only alters - // the access permissions of child items that reference the parent in - // the inheritAclFrom field. The item is still in the index, but may not - // visible in search results. By contrast, deletion of a container item - // also deletes all items that reference the container via the - // containerName field. The maximum length for this field is 1536 - // characters. - InheritAclFrom string `json:"inheritAclFrom,omitempty"` - - // Owners: Optional. List of owners for the item. This field has no - // bearing on document access permissions. It does, however, offer a - // slight ranking boosts items where the querying user is an owner. The - // maximum number of elements is 5. - Owners []*Principal `json:"owners,omitempty"` - - // Readers: List of principals who are allowed to see the item in search - // results. Optional if inheriting permissions from another item or if - // the item is not intended to be visible, such as virtual containers. - // The maximum number of elements is 1000. - Readers []*Principal `json:"readers,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AclInheritanceType") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AclInheritanceType") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *ItemAcl) MarshalJSON() ([]byte, error) { - type NoMethod ItemAcl - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ItemContent: Content of an item to be indexed and surfaced by Cloud -// Search. Only UTF-8 encoded strings are allowed as inlineContent. If -// the content is uploaded and not binary, it must be UTF-8 encoded. -type ItemContent struct { - // ContentDataRef: Upload reference ID of a previously uploaded content - // via write method. - ContentDataRef *UploadItemRef `json:"contentDataRef,omitempty"` - - // Possible values: - // "UNSPECIFIED" - Invalid value. - // "HTML" - contentFormat is HTML. - // "TEXT" - contentFormat is free text. - // "RAW" - contentFormat is raw bytes. - ContentFormat string `json:"contentFormat,omitempty"` - - // Hash: Hashing info calculated and provided by the API client for - // content. Can be used with the items.push method to calculate modified - // state. The maximum length is 2048 characters. - Hash string `json:"hash,omitempty"` - - // InlineContent: Content that is supplied inlined within the update - // method. The maximum length is 102400 bytes (100 KiB). - InlineContent string `json:"inlineContent,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ContentDataRef") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ContentDataRef") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *ItemContent) MarshalJSON() ([]byte, error) { - type NoMethod ItemContent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ItemCountByStatus struct { - // Count: Number of items matching the status code. - Count int64 `json:"count,omitempty,string"` - - // IndexedItemsCount: Number of items matching the status code for which - // billing is done. This excludes virtual container items from the total - // count. This count would not be applicable for items with ERROR or - // NEW_ITEM status code. - IndexedItemsCount int64 `json:"indexedItemsCount,omitempty,string"` - - // StatusCode: Status of the items. - // - // Possible values: - // "CODE_UNSPECIFIED" - Input-only value. Used with Items.list to list - // all items in the queue, regardless of status. - // "ERROR" - Error encountered by Cloud Search while processing this - // item. Details of the error are in repositoryError. - // "MODIFIED" - Item has been modified in the repository, and is out - // of date with the version previously accepted into Cloud Search. - // "NEW_ITEM" - Item is known to exist in the repository, but is not - // yet accepted by Cloud Search. An item can be in this state when - // Items.push has been called for an item of this name that did not - // exist previously. - // "ACCEPTED" - API has accepted the up-to-date data of this item. - StatusCode string `json:"statusCode,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Count") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Count") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ItemCountByStatus) MarshalJSON() ([]byte, error) { - type NoMethod ItemCountByStatus - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ItemMetadata: Available metadata fields for the item. -type ItemMetadata struct { - // ContainerName: The name of the container for this item. Deletion of - // the container item leads to automatic deletion of this item. Note: - // ACLs are not inherited from a container item. To provide ACL - // inheritance for an item, use the inheritAclFrom field. The maximum - // length is 1536 characters. - ContainerName string `json:"containerName,omitempty"` - - // ContentLanguage: The BCP-47 language code for the item, such as - // "en-US" or "sr-Latn". For more information, see - // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. The - // maximum length is 32 characters. - ContentLanguage string `json:"contentLanguage,omitempty"` - - // ContextAttributes: A set of named attributes associated with the - // item. This can be used for influencing the ranking of the item based - // on the context in the request. The maximum number of elements is 10. - ContextAttributes []*ContextAttribute `json:"contextAttributes,omitempty"` - - // CreateTime: The time when the item was created in the source - // repository. - CreateTime string `json:"createTime,omitempty"` - - // Hash: Hashing value provided by the API caller. This can be used with - // the items.push method to calculate modified state. The maximum length - // is 2048 characters. - Hash string `json:"hash,omitempty"` - - // Interactions: A list of interactions for the item. Interactions are - // used to improve Search quality, but are not exposed to end users. The - // maximum number of elements is 1000. - Interactions []*Interaction `json:"interactions,omitempty"` - - // Keywords: Additional keywords or phrases that should match the item. - // Used internally for user generated content. The maximum number of - // elements is 100. The maximum length is 8192 characters. - Keywords []string `json:"keywords,omitempty"` - - // MimeType: The original mime-type of ItemContent.content in the source - // repository. The maximum length is 256 characters. - MimeType string `json:"mimeType,omitempty"` - - // ObjectType: The type of the item. This should correspond to the name - // of an object definition in the schema registered for the data source. - // For example, if the schema for the data source contains an object - // definition with name 'document', then item indexing requests for - // objects of that type should set objectType to 'document'. The maximum - // length is 256 characters. - ObjectType string `json:"objectType,omitempty"` - - // SearchQualityMetadata: Additional search quality metadata of the item - SearchQualityMetadata *SearchQualityMetadata `json:"searchQualityMetadata,omitempty"` - - // SourceRepositoryUrl: Link to the source repository serving the data. - // Seach results apply this link to the title. Whitespace or special - // characters may cause Cloud Seach result links to trigger a redirect - // notice; to avoid this, encode the URL. The maximum length is 2048 - // characters. - SourceRepositoryUrl string `json:"sourceRepositoryUrl,omitempty"` - - // Title: The title of the item. If given, this will be the displayed - // title of the Search result. The maximum length is 2048 characters. - Title string `json:"title,omitempty"` - - // UpdateTime: The time when the item was last modified in the source - // repository. - UpdateTime string `json:"updateTime,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ContainerName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ContainerName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ItemMetadata) MarshalJSON() ([]byte, error) { - type NoMethod ItemMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ItemParts: Container for type-specific extensions of an Item. This -// protobuf is defined in a separate file to allow types to -// reference/extend the message without depending on other fusebox -// protobufs. See items.proto. -type ItemParts struct { -} - -// ItemStatus: This contains item's status and any errors. -type ItemStatus struct { - // Code: Status code. - // - // Possible values: - // "CODE_UNSPECIFIED" - Input-only value. Used with Items.list to list - // all items in the queue, regardless of status. - // "ERROR" - Error encountered by Cloud Search while processing this - // item. Details of the error are in repositoryError. - // "MODIFIED" - Item has been modified in the repository, and is out - // of date with the version previously accepted into Cloud Search. - // "NEW_ITEM" - Item is known to exist in the repository, but is not - // yet accepted by Cloud Search. An item can be in this state when - // Items.push has been called for an item of this name that did not - // exist previously. - // "ACCEPTED" - API has accepted the up-to-date data of this item. - Code string `json:"code,omitempty"` - - // ProcessingErrors: Error details in case the item is in ERROR state. - ProcessingErrors []*ProcessingError `json:"processingErrors,omitempty"` - - // RepositoryErrors: Repository error reported by connector. - RepositoryErrors []*RepositoryError `json:"repositoryErrors,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Code") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Code") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ItemStatus) MarshalJSON() ([]byte, error) { - type NoMethod ItemStatus - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ItemStructuredData: Available structured data fields for the item. -type ItemStructuredData struct { - // Hash: Hashing value provided by the API caller. This can be used with - // the items.push method to calculate modified state. The maximum length - // is 2048 characters. - Hash string `json:"hash,omitempty"` - - // Object: The structured data object that should conform to a - // registered object definition in the schema for the data source. - Object *StructuredDataObject `json:"object,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Hash") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Hash") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ItemStructuredData) MarshalJSON() ([]byte, error) { - type NoMethod ItemStructuredData - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ItemThread: An ItemThread is an ordered list of Items. An ItemThread -// corresponds to a "conversation" in the context of mail. An Item -// belongs to exactly one ItemThread. -type ItemThread struct { - ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"` - - // Item: The Items in the ItemThread. In the context of a search, the - // list of Items may be a subset of those that logically belong to the - // ItemThread. The details of which items are included are available in - // the ItemThreadView returned in the overall rpc response. - Item []*FuseboxItem `json:"item,omitempty"` - - // LastItemId: The server id of the last item returned in the - // ItemThread. This can be deduced from the [item] list but is provided - // for convenience. When manually constructing an ItemThreadViewSpec to - // perform operations on the ItemThread, this value can be used as the - // [high_item_id_watermark]. - LastItemId uint64 `json:"lastItemId,omitempty,string"` - - MatchInfo *FuseboxItemThreadMatchInfo `json:"matchInfo,omitempty"` - - // Snippet: A snippet summarizing the thread. This field is only - // populated for searches. - Snippet string `json:"snippet,omitempty"` - - // ThreadKey: The MultiKey that identifies this thread. This value never - // changes, i.e. remains constant across modifications to the thread, - // including addition, relabeling, or deletion of contained Items. As - // such, the thread key may not necessarily correspond to the key of an - // contained Item. Legacy note: The "server_id" of the thread key is - // equivalent to the notion of the "original thread id" in the CSS API. - ThreadKey *MultiKey `json:"threadKey,omitempty"` - - // ThreadLocator: A base64 encoded and encrypted string generated from - // the Gaia Id and the thread id. Used to generate the permalink for - // this thread, exposed from Gmail API. - ThreadLocator string `json:"threadLocator,omitempty"` - - // TopicState: Next available id : 10 - TopicState *TopicState `json:"topicState,omitempty"` - - // Version: The latest history operation id that resulted in a mutation - // of any item in the thread. - Version uint64 `json:"version,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "ClusterInfo") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ClusterInfo") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ItemThread) MarshalJSON() ([]byte, error) { - type NoMethod ItemThread - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// JobsettedServerSpec: Identifies a jobsetted server as a target for -// Trigger dispatch. -type JobsettedServerSpec struct { - // PortName: E.g. "gateway", "stubby" etc. Leave unset to use the - // default unnamed port. - PortName string `json:"portName,omitempty"` - - // ServerName: E.g. "satellite-server", "bigtop-sync", etc. - ServerName string `json:"serverName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "PortName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "PortName") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *JobsettedServerSpec) MarshalJSON() ([]byte, error) { - type NoMethod JobsettedServerSpec - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type KeyValue struct { - // BottomLabel: Formatted text supported. - BottomLabel string `json:"bottomLabel,omitempty"` - - Button *Button `json:"button,omitempty"` - - // Content: Formatted text supported and always required. - Content string `json:"content,omitempty"` - - ContentMultiline bool `json:"contentMultiline,omitempty"` - - EndIcon *IconImage `json:"endIcon,omitempty"` - - // Possible values: - // "NONE" - // "AIRPLANE" - // "BOOKMARK" - // "BUS" - // "CAR" - // "CLOCK" - // "CONFIRMATION_NUMBER_ICON" - // "DOLLAR" - // "DESCRIPTION" - // "EDIT" - // "EDIT_NOTE" - // "EMAIL" - // "EVENT_PERFORMER" - // "EVENT_SEAT" - // "FLIGHT_ARRIVAL" - // "FLIGHT_DEPARTURE" - // "HOTEL" - // "HOTEL_ROOM_TYPE" - // "INVITE" - // "MAP_PIN" - // "MEMBERSHIP" - // "MULTIPLE_PEOPLE" - // "OFFER" - // "OPEN_IN_NEW" - // "PERSON" - // "PHONE" - // "RESTAURANT_ICON" - // "SHOPPING_CART" - // "STAR" - // "STORE" - // "TICKET" - // "TRAIN" - // "VIDEO_CAMERA" - // "VIDEO_PLAY" - Add new items in alphabetical order. Next Available - // ID: 34 - Icon string `json:"icon,omitempty"` - - // IconAltText: The alternative text of this icon_url which will be used - // for accessibility. - IconAltText string `json:"iconAltText,omitempty"` - - IconUrl string `json:"iconUrl,omitempty"` - - // Possible values: - // "CROP_TYPE_NOT_SET" - No value specified. - // "SQUARE" - Applies a square crop. - // "CIRCLE" - Applies a circular crop. - // "RECTANGLE_CUSTOM" - Applies a rectangular crop with a custom - // aspect ratio. - // "RECTANGLE_4_3" - Applies a rectangular crop with a 4:3 aspect - // ratio. - ImageStyle string `json:"imageStyle,omitempty"` - - // OnClick: Only the top/bottom label + content region is clickable. - OnClick *OnClick `json:"onClick,omitempty"` - - // StartIcon: The optional icon to display before the text content. - StartIcon *IconImage `json:"startIcon,omitempty"` - - SwitchWidget *SwitchWidget `json:"switchWidget,omitempty"` - - // TopLabel: Formatted text supported. - TopLabel string `json:"topLabel,omitempty"` - - // ForceSendFields is a list of field names (e.g. "BottomLabel") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "BottomLabel") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *KeyValue) MarshalJSON() ([]byte, error) { - type NoMethod KeyValue - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// LabelAdded: A label was added to some (subset of the) messages in -// this thread. -type LabelAdded struct { - LabelId string `json:"labelId,omitempty"` - - LabelName string `json:"labelName,omitempty"` - - MessageKeys []*MultiKey `json:"messageKeys,omitempty"` - - SyncId int64 `json:"syncId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "LabelId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "LabelId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *LabelAdded) MarshalJSON() ([]byte, error) { - type NoMethod LabelAdded - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// LabelCreated: A label was created. -type LabelCreated struct { -} - -// LabelDeleted: A label was deleted. -type LabelDeleted struct { -} - -// LabelRemoved: A label was removed from some (subset of the) messages -// in this thread. -type LabelRemoved struct { - LabelId string `json:"labelId,omitempty"` - - LabelName string `json:"labelName,omitempty"` - - MessageKeys []*MultiKey `json:"messageKeys,omitempty"` - - SyncId int64 `json:"syncId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "LabelId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "LabelId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *LabelRemoved) MarshalJSON() ([]byte, error) { - type NoMethod LabelRemoved - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// LabelRenamed: A label was renamed. -type LabelRenamed struct { - OldCanonicalName string `json:"oldCanonicalName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "OldCanonicalName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "OldCanonicalName") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *LabelRenamed) MarshalJSON() ([]byte, error) { - type NoMethod LabelRenamed - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// LabelUpdate: HistoryRecord for changes associated with a label, -// namely: LABEL_CREATED LABEL_DELETED LABEL_RENAMED LABEL_UPDATED -type LabelUpdate struct { - CanonicalName string `json:"canonicalName,omitempty"` - - LabelCreated *LabelCreated `json:"labelCreated,omitempty"` - - LabelDeleted *LabelDeleted `json:"labelDeleted,omitempty"` - - LabelId string `json:"labelId,omitempty"` - - LabelRenamed *LabelRenamed `json:"labelRenamed,omitempty"` - - LabelUpdated *LabelUpdated `json:"labelUpdated,omitempty"` - - SyncId int64 `json:"syncId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CanonicalName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "CanonicalName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *LabelUpdate) MarshalJSON() ([]byte, error) { - type NoMethod LabelUpdate - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// LabelUpdated: A label pref was updated outside of a rename, create, -// or delete. -type LabelUpdated struct { -} - -type Labels struct { - // DisplayName: The display name of the labels. This is populated - // (instead of the id) when the request fetch_spec has - // LABEL_DISPLAY_NAMES. - DisplayName []string `json:"displayName,omitempty"` - - // Id: The ids of the labels attached to the Item, e.g. "^i", "^x_1" - Id []string `json:"id,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DisplayName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DisplayName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Labels) MarshalJSON() ([]byte, error) { - type NoMethod Labels - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// LanguageConfig: The language configuration for the session. -type LanguageConfig struct { - // SpokenLanguages: The spoken language(s) in BCP47 language code. - SpokenLanguages []string `json:"spokenLanguages,omitempty"` - - // ForceSendFields is a list of field names (e.g. "SpokenLanguages") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "SpokenLanguages") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *LanguageConfig) MarshalJSON() ([]byte, error) { - type NoMethod LanguageConfig - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type LdapGroupProto struct { - GroupName string `json:"groupName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "GroupName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "GroupName") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *LdapGroupProto) MarshalJSON() ([]byte, error) { - type NoMethod LdapGroupProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type LdapUserProto struct { - UserName string `json:"userName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "UserName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "UserName") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *LdapUserProto) MarshalJSON() ([]byte, error) { - type NoMethod LdapUserProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// LegacyUploadMetadata: The original UploadMetadata that this -// DriveMetadata was converted from. -type LegacyUploadMetadata struct { - // LegacyUniqueId: A unique ID generated from legacy UploadMetadata. - // This is used for interopping URLs after uploading blob to shared - // drive. Links in Classic might break without this. - // go/drive-file-attachment-interop-from-dynamite. - LegacyUniqueId string `json:"legacyUniqueId,omitempty"` - - // UploadMetadata: The blob in this UploadMetadata has been uploaded to - // shared drive. This UploadMetadata is no longer attached to a message. - // go/shared-drive-data-migration. - UploadMetadata *UploadMetadata `json:"uploadMetadata,omitempty"` - - // ForceSendFields is a list of field names (e.g. "LegacyUniqueId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "LegacyUniqueId") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *LegacyUploadMetadata) MarshalJSON() ([]byte, error) { - type NoMethod LegacyUploadMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// LinkData: Link metadata, for LINK segments. Anchor text should be -// stored in the "text" field of the Segment, which can also serve as a -// fallback. -type LinkData struct { - // Attachment: An Attachment represents the structured entity to which - // we are linking. It contains an Embed - // (apps/tacotown/proto/embeds/embed_client.proto) with fields specific - // to the appropriate type of linked entity. For example, if we are - // linking to a photo album, the Embed may include the album ID and gaia - // ID of the creator. Clients that understand the Embed type within the - // Attachment may construct and/or decorate their link appropriately - // e.g. to make use of type-specific functionality or first-party - // integrations. The link_target and (if appropriate) display_url fields - // must still be set even when an Attachment is present, so that clients - // who do not know how to interpret the Attachment can fall back to - // those fields, and render the Segment as an ordinary web link. N.B. - // Even when an Attachment is present, the intention of a "LINK" Segment - // is for the Segment to be presented inline with the rest of the text - // of a post or comment, with a clickable link or other UI suitable for - // inlining (though the client may modify the UI based on Attachment - // data, e.g. to add appropriate hovers, icons, etc.). When an entity is - // intended to be rendered separately from the main body of the - // post/comment, a separate Attachment proto can be added outside the - // set of Segments. N.B. Within the Attachment, fields of - // EmbedClientItem have their own visibility annotations, which should - // be enforced separately from Segment visibility annotations. See: - // apps/tacotown/proto/embeds/embed_annotations.proto - Attachment *SocialCommonAttachmentAttachment `json:"attachment,omitempty"` - - // AttachmentRenderHint: The hint to use when rendering the associated - // attachment. Ignored if there is no associated attachment. - // - // Possible values: - // "ATTACHMENT_RENDER_HINT_UNKNOWN" - No rendering hint; should not be - // used (equivalent to having no hint) - // "ATTACHMENT_RENDER_HINT_AFTER" - Render any associated attachment - // at the end of the block, after all sibling Segments. Leave the link - // in place in the text and render it normally as well. - // "ATTACHMENT_RENDER_HINT_INTERLEAVED" - Render any associated - // attachment inline in the text in place of the link text, forcing a - // line break before and after the attachment so the text and the - // attachment are "interleaved". If this is not possible, render as if - // AFTER. - AttachmentRenderHint string `json:"attachmentRenderHint,omitempty"` - - // DisplayUrl: If we wish to show the user a different (e.g. shortened) - // version of the URL for display purposes, then that version should be - // set here. If this field isn't set, link_target will be used for both - // purposes. - DisplayUrl string `json:"displayUrl,omitempty"` - - // LinkTarget: link_target is the URL to navigate to when clicked. This - // could be the original URL, or a URL signed by the GWS URL signing - // service. - LinkTarget string `json:"linkTarget,omitempty"` - - // LinkType: LinkType is an optional field that provides additional - // information regarding link target. For example, link type can be - // identified as the SELF_LINK when the request was executed from the - // same link as the link target. - // - // Possible values: - // "UNKNOWN_LINK_TYPE" - No link type specified. - // "SELF_LINK" - This indicates that the link target points to the - // same object related to this segment. Example: A YouTube link with - // text="0.07" and link_target: - // "https://www.youtube.com/watch?v=leHVmSqd4_w&t=0m07s" points to the - // same YouTube video where this segment appears. See - // http://go/ignore-badwords-filtering-for-selflink for adding link_type - // design document. - LinkType string `json:"linkType,omitempty"` - - // Title: Title is an optional field that provides a short string that - // describes the link or its destination. User interfaces often use - // title as a tooltip or for accessibility purposes. However, they are - // of course free to present this data in any form. This field is plain - // text. - Title string `json:"title,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Attachment") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Attachment") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *LinkData) MarshalJSON() ([]byte, error) { - type NoMethod LinkData - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ListDataSourceResponse struct { - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - Sources []*DataSource `json:"sources,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "NextPageToken") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "NextPageToken") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ListDataSourceResponse) MarshalJSON() ([]byte, error) { - type NoMethod ListDataSourceResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ListItemNamesForUnmappedIdentityResponse struct { - ItemNames []string `json:"itemNames,omitempty"` - - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "ItemNames") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ItemNames") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ListItemNamesForUnmappedIdentityResponse) MarshalJSON() ([]byte, error) { - type NoMethod ListItemNamesForUnmappedIdentityResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ListItemsResponse struct { - Items []*Item `json:"items,omitempty"` - - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "Items") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ListItemsResponse) MarshalJSON() ([]byte, error) { - type NoMethod ListItemsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ListOperationsResponse: The response message for -// Operations.ListOperations. -type ListOperationsResponse struct { - // NextPageToken: The standard List next-page token. - NextPageToken string `json:"nextPageToken,omitempty"` - - // Operations: A list of operations that matches the specified filter in - // the request. - Operations []*Operation `json:"operations,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "NextPageToken") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "NextPageToken") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) { - type NoMethod ListOperationsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ListQuerySourcesResponse: List sources response. -type ListQuerySourcesResponse struct { - NextPageToken string `json:"nextPageToken,omitempty"` - - Sources []*QuerySource `json:"sources,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "NextPageToken") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "NextPageToken") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ListQuerySourcesResponse) MarshalJSON() ([]byte, error) { - type NoMethod ListQuerySourcesResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ListSearchApplicationsResponse struct { - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - SearchApplications []*SearchApplication `json:"searchApplications,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "NextPageToken") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "NextPageToken") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ListSearchApplicationsResponse) MarshalJSON() ([]byte, error) { - type NoMethod ListSearchApplicationsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ListUnmappedIdentitiesResponse struct { - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - UnmappedIdentities []*UnmappedIdentity `json:"unmappedIdentities,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "NextPageToken") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "NextPageToken") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ListUnmappedIdentitiesResponse) MarshalJSON() ([]byte, error) { - type NoMethod ListUnmappedIdentitiesResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type MatchInfo struct { - // MatchingImageReferenceKey: Reference keys for image attachments that - // matches search query. - MatchingImageReferenceKey []string `json:"matchingImageReferenceKey,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "MatchingImageReferenceKey") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. - // "MatchingImageReferenceKey") to include in API requests with the JSON - // null value. By default, fields with empty values are omitted from API - // requests. However, any field with an empty value appearing in - // NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *MatchInfo) MarshalJSON() ([]byte, error) { - type NoMethod MatchInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MatchRange: Matched range of a snippet [start, end). -type MatchRange struct { - // End: End of the match in the snippet. - End int64 `json:"end,omitempty"` - - // Start: Starting position of the match in the snippet. - Start int64 `json:"start,omitempty"` - - // ForceSendFields is a list of field names (e.g. "End") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "End") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *MatchRange) MarshalJSON() ([]byte, error) { - type NoMethod MatchRange - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MdbGroupProto: An entity from the MDB namespace that is to be -// interpreted as a group. If using this for authorization, you should -// do an exact match of the peer role against group_name or any of the -// names in the Chubby expansion of the MDB group named group_name. -type MdbGroupProto struct { - GroupName string `json:"groupName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "GroupName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "GroupName") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *MdbGroupProto) MarshalJSON() ([]byte, error) { - type NoMethod MdbGroupProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MdbUserProto: An entity from the MDB namespace that is to be -// interpreted as a user. If using this for authorization, you should -// only do an exact match on the peer role against user_name. -type MdbUserProto struct { - // GaiaId: Do not set this field. Contact credentials-eng@ if you - // believe you absolutely need to use it. This is the @prod.google.com - // Gaia ID that corresponds to the MDB user, see go/authn-merge for - // details. This field may always be safely ignored when performing an - // authorization check. - GaiaId int64 `json:"gaiaId,omitempty,string"` - - UserName string `json:"userName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "GaiaId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "GaiaId") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *MdbUserProto) MarshalJSON() ([]byte, error) { - type NoMethod MdbUserProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Media: Media resource. -type Media struct { - // ResourceName: Name of the media resource. - ResourceName string `json:"resourceName,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "ResourceName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ResourceName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Media) MarshalJSON() ([]byte, error) { - type NoMethod Media - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MeetingSpace: A meeting space is a persistent object that is the -// context for one or more calls. The meeting space is what makes users -// find each other when they want to meet and to find shared resources. -// With two exceptions, all the fields in the meeting space resource are -// visible publicly to any client, even anonymous users. The exceptions -// are that * The call_info field is only visible to clients that have a -// device (as indicated by the meeting token) in the JOINED or HIDDEN -// state. * The meeting_alias field will only be set for users who are -// in the same domain as the meeting space. The meeting space resource -// (outside call_info) should only contain information necessary to join -// a call in the meeting space, and not any other metadata about the -// meeting space, such as what organization it belongs to or things -// related to ongoing calls. -type MeetingSpace struct { - // AcceptedNumberClass: Which number classes are accepted by this - // meeting at the moment? When there is no ongoing conference, this - // field may change independent of the version number of the - // MeetingSpace. When a conference starts, this field will be locked to - // the value at that time, and then will be unlocked again at the end of - // the conference. - // - // Possible values: - // "NUMBER_CLASS_UNSPECIFIED" - No number class has been specified. - // "LOW_COST" - The number has a low cost to receive calls on. - // "HIGH_COST" - The number has a high cost to receive calls on. - // "LEGACY" - Class for legacy numbers. - AcceptedNumberClass []string `json:"acceptedNumberClass,omitempty"` - - // BroadcastAccess: Broadcast access information for this meeting space. - BroadcastAccess *BroadcastAccess `json:"broadcastAccess,omitempty"` - - // CallInfo: Information relevant to an ongoing conference. This field - // will be set in responses if the client requesting the meeting space - // has a device in one of the JOINED, HIDDEN, or MISSING_PREREQUISITES - // states. The field will also be set without a created device if the - // client requesting the meeting space is eligible to directly create a - // device in the JOINED state without knocking, eg a same-domain joiner. - // Can also only be updated by clients with a device in the JOINED - // state. - CallInfo *CallInfo `json:"callInfo,omitempty"` - - // GatewayAccess: The interop gateway access information for the meeting - // space. A gateway access can be used when joining conferences from - // non-Google equipment through an interop gateway. - GatewayAccess *GatewayAccess `json:"gatewayAccess,omitempty"` - - // GatewaySipAccess: The SIP based access methods that can be used to - // join the conference. - GatewaySipAccess []*GatewaySipAccess `json:"gatewaySipAccess,omitempty"` - - // MeetingAlias: An optional alias for the meeting space. The alias can - // in some cases be resolved to the meeting space, similar to the - // meeting code. The limitation is that the user needs to be in the same - // meeting domain as the meeting space. - MeetingAlias string `json:"meetingAlias,omitempty"` - - // MeetingCode: A meeting code is a globally unique code which points to - // a meeting space. Note: Meeting codes may be regenerated, which will - // cause old meeting codes to become invalid. - MeetingCode string `json:"meetingCode,omitempty"` - - // MeetingSpaceId: A unique server-generated ID for the meeting space. - // This is the resource name of the meeting space resource and has the - // form `spaces/`, where is a sequence of characters in the base64url - // set (https://tools.ietf.org/html/rfc4648#section-5), without any `=` - // characters. - MeetingSpaceId string `json:"meetingSpaceId,omitempty"` - - // MeetingUrl: A URL to identify and access the meeting space. Output - // only. - MeetingUrl string `json:"meetingUrl,omitempty"` - - // MoreJoinUrl: Output only. A URL that clients (e.g. Calendar) can use - // to show the web page with all join methods available for this meeting - // space. This link is also used in iOS universal links and Android - // intents, used for opening the "More ways to join" view in the Meet - // mobile apps. Example: https://tel.meet/mee-ting-cod?pin=1234567891011 - // Here, "pin" is the universal phone PIN. We include it explicitly to - // better support the offline case on the mobile. This is set when the - // meeting space has either a universal PIN or an interop PIN and - // clients who can show a "more ways to join" button should show it - // whenever this field is set. - MoreJoinUrl string `json:"moreJoinUrl,omitempty"` - - // PhoneAccess: All regional phone access methods for this meeting - // space. Can be empty. - PhoneAccess []*PhoneAccess `json:"phoneAccess,omitempty"` - - // Settings: Settings of the meeting space. - Settings *Settings `json:"settings,omitempty"` - - // UniversalPhoneAccess: A universal phone access method for this - // meeting space. Can be unset. - UniversalPhoneAccess *UniversalPhoneAccess `json:"universalPhoneAccess,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AcceptedNumberClass") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AcceptedNumberClass") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *MeetingSpace) MarshalJSON() ([]byte, error) { - type NoMethod MeetingSpace - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type Member struct { - Roster *Roster `json:"roster,omitempty"` - - User *User `json:"user,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Roster") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Roster") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Member) MarshalJSON() ([]byte, error) { - type NoMethod Member - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MemberId: Eventually this can be updated to a oneOf User, Space (for -// nested spaces), Bots or Service, as and when these use cases come up. -type MemberId struct { - // RosterId: Unique, immutable ID of the Roster. - RosterId *RosterId `json:"rosterId,omitempty"` - - // UserId: Unique, immutable ID of the User. - UserId *UserId `json:"userId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "RosterId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "RosterId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *MemberId) MarshalJSON() ([]byte, error) { - type NoMethod MemberId - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type MembershipChangeEvent struct { - // LeaveReason: This should only be set when MembershipChange type is - // LEAVE. - // - // Possible values: - // "LEAVE_REASON_UNKNOWN" - // "FORCE_HISTORY_POLICY_CHANGE" - // "USER_INITIATED" - LeaveReason string `json:"leaveReason,omitempty"` - - ParticipantId []*StoredParticipantId `json:"participantId,omitempty"` - - // Possible values: - // "JOIN" - // "LEAVE" - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "LeaveReason") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "LeaveReason") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *MembershipChangeEvent) MarshalJSON() ([]byte, error) { - type NoMethod MembershipChangeEvent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MembershipChangedMetadata: Annotation metadata to display system -// messages for membership changes. Next Tag: 13 -type MembershipChangedMetadata struct { - AffectedMemberProfiles []*Member `json:"affectedMemberProfiles,omitempty"` - - // AffectedMembers: List of users and rosters whose membership status - // changed. - AffectedMembers []*MemberId `json:"affectedMembers,omitempty"` - - AffectedMemberships []*AffectedMembership `json:"affectedMemberships,omitempty"` - - // Initiator: The user whose action triggered this system message. - Initiator *UserId `json:"initiator,omitempty"` - - // InitiatorProfile: Complete member profiles, when ListTopicsRequest - // FetchOptions.USER is set. Otherwise, only the id will be filled in. - InitiatorProfile *User `json:"initiatorProfile,omitempty"` - - // InitiatorType: The type of the user who initiated this membership - // change. - // - // Possible values: - // "INITIATOR_TYPE_UNSPECIFIED" - // "INITIATOR_TYPE_END_USER" - // "INITIATOR_TYPE_ADMIN" - InitiatorType string `json:"initiatorType,omitempty"` - - // Possible values: - // "TYPE_UNSPECIFIED" - Default value for the enum. DO NOT USE. - // "INVITED" - Non-member -> Can join. Multiple groups and users. - // "JOINED" - Can join -> Member. One user. - // "ADDED" - Non-member -> Member. Multiple users. - // "REMOVED" - Member or can join -> Non-member. One group or user. - // "LEFT" - Before April 2023, a user transitioned from joined - // "BOT_ADDED" - Bot added to the room. - // "BOT_REMOVED" - Bot removed from the room. - // "KICKED_DUE_TO_OTR_CONFLICT" - This signifies the user is kicked - // because the user's OTR policy is conflicted with the room history - // settings. Joined -> Non-member. One user. - // "ROLE_UPDATED" - MembershipRole changed. Multiple users. - // "ROLE_TARGET_AUDIENCE_UPDATED" - The room is now joinable by an - // "SPACE_LIMIT_EXCEEDED" - Space limit exceeded - // "HUMAN_MEMBERSHIP_DISPLAY_DISABLED" - - // HUMAN_MEMBERSHIP_DISPLAY_DISABLED indicates that the space has - // crossed the member size threshold above which human membership change - // system messages will be muted. This event can only occur once for a - // space over its lifetime. When this event is received, clients should - // display a system message stating that human membership changes will - // no longer be displayed in the space. - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "AffectedMemberProfiles") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AffectedMemberProfiles") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *MembershipChangedMetadata) MarshalJSON() ([]byte, error) { - type NoMethod MembershipChangedMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Menu: This is deprecated and please use SelectionControl by setting -// type to DROPDOWN. -type Menu struct { - Items []*MenuItem `json:"items,omitempty"` - - // Label: Label used to be displayed ahead of the menu. It is optional. - Label string `json:"label,omitempty"` - - // Name: The name of the text field which is will be used in FormInput. - Name string `json:"name,omitempty"` - - // OnChange: If specified, form is submitted when selection changed. If - // not specified, developer will need to specify a separate button. - OnChange *FormAction `json:"onChange,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Items") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Menu) MarshalJSON() ([]byte, error) { - type NoMethod Menu - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type MenuItem struct { - Selected bool `json:"selected,omitempty"` - - // Text: The text to be displayed. - Text string `json:"text,omitempty"` - - // Value: The value associated with this item which will be sent back to - // app scripts. Client should use as a form input value. - Value string `json:"value,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Selected") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Selected") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *MenuItem) MarshalJSON() ([]byte, error) { - type NoMethod MenuItem - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Message: Message posted to a Space. -type Message struct { - // Annotations: Annotations parsed and extracted from the text body. - Annotations []*Annotation `json:"annotations,omitempty"` - - // AppProfile: Custom display profile info for apps. Leave the field - // empty for real users. - AppProfile *AppsDynamiteSharedAppProfile `json:"appProfile,omitempty"` - - // Attachments: Attachments parsed from incoming webhooks - Attachments []*Attachment `json:"attachments,omitempty"` - - // Attributes: Lightweight message attributes which values are - // calculated and set in the servers. - Attributes *MessageAttributes `json:"attributes,omitempty"` - - // BotResponses: Responses from bots indicating if extra auth/config is - // needed. - BotResponses []*BotResponse `json:"botResponses,omitempty"` - - // CommunalLabels: Communal labels associated with a message. These - // exist on the message itself regardless of which user fetches them. - // Order of entries is arbitrary and will not list duplicates of the - // same label_id. See go/chat-labels-design for details. - CommunalLabels []*CommunalLabelTag `json:"communalLabels,omitempty"` - - ContentReportSummary *ContentReportSummary `json:"contentReportSummary,omitempty"` - - // CreateTime: Time when the Message was posted in microseconds. - CreateTime int64 `json:"createTime,omitempty,string"` - - // CreatorId: ID of the User who posted the Message. This includes - // information to identify if this was posted by an App on behalf of a - // user. - CreatorId *UserId `json:"creatorId,omitempty"` - - // DeletableBy: Indicates who can delete the message. This field is set - // on the read path (e.g. ListTopics) but doesn’t have any effect on - // the write path (e.g. CreateMessageRequest). - // - // Possible values: - // "PERMISSION_UNSPECIFIED" - Default case, should never be used. If - // this data is encountered in the DB any request should throw an - // exception. - // "PERMISSION_NO_ONE" - No one except for the message creator/origin - // pair can mutate. This permission checks both gaia id and the request - // origin. Request origin can be Chat API or Chat UI. Mutation is - // allowed iff both attributes of the request match the original message - // creation. Use case: this allows historical 1P apps lock down message - // edit permission i.e. In Chat UI, humans cannot edit their messages - // created via these 1P apps. Do not use this for additional use cases. - // "PERMISSION_CREATOR" - The message creator can mutate regardless of - // request origin. Use case: for messages created by human via Chat UI - // or Chat API. These messages can be mutated by the same human user via - // Chat UI or via any app on Chat API. - // "PERMISSION_MEMBER" - Every human member of a space or the creator - // can mutate the entity. This excludes app acting on behalf of human - // via Chat API. Use case: This is to enable humans to delete messages - // created by apps. - DeletableBy string `json:"deletableBy,omitempty"` - - // DeleteTime: Time when the Message was deleted in microseconds. This - // field is set to nonzero value only for Messages deleted globally. - DeleteTime int64 `json:"deleteTime,omitempty,string"` - - // DeleteTimeForRequester: Time when the Message was per-user deleted by - // the message requester in microseconds. This field is set to nonzero - // value only for Message per-user deleted by the requester. - DeleteTimeForRequester int64 `json:"deleteTimeForRequester,omitempty,string"` - - // DeletedByVault: Was this message deleted by Vault (Only used for - // Vault support) This is false if message is live or message was - // deleted by user. - DeletedByVault bool `json:"deletedByVault,omitempty"` - - // DlpScanSummary: Data Loss Prevention scan information for this - // message. Messages are evaluated in the backend on create - // message/topic and edit message actions. DEPRECATED: Use - // DATA_LOSS_PREVENTION Annotation. - DlpScanSummary *DlpScanSummary `json:"dlpScanSummary,omitempty"` - - // EditableBy: Indicates who can edit the message. This field is set on - // the read path (e.g. ListTopics) but doesn’t have any effect on the - // write path (e.g. CreateMessageRequest). - // - // Possible values: - // "PERMISSION_UNSPECIFIED" - Default case, should never be used. If - // this data is encountered in the DB any request should throw an - // exception. - // "PERMISSION_NO_ONE" - No one except for the message creator/origin - // pair can mutate. This permission checks both gaia id and the request - // origin. Request origin can be Chat API or Chat UI. Mutation is - // allowed iff both attributes of the request match the original message - // creation. Use case: this allows historical 1P apps lock down message - // edit permission i.e. In Chat UI, humans cannot edit their messages - // created via these 1P apps. Do not use this for additional use cases. - // "PERMISSION_CREATOR" - The message creator can mutate regardless of - // request origin. Use case: for messages created by human via Chat UI - // or Chat API. These messages can be mutated by the same human user via - // Chat UI or via any app on Chat API. - // "PERMISSION_MEMBER" - Every human member of a space or the creator - // can mutate the entity. This excludes app acting on behalf of human - // via Chat API. Use case: This is to enable humans to delete messages - // created by apps. - EditableBy string `json:"editableBy,omitempty"` - - // FallbackText: A plain-text description of the attachment, used when - // clients cannot display formatted attachment (e.g. mobile push - // notifications). - FallbackText string `json:"fallbackText,omitempty"` - - // Id: ID of the resource. - Id *MessageId `json:"id,omitempty"` - - // IsContentPurged: Whether the message is content purged. Content - // purged messages contain only data required for tombstone (see - // go/chat-infinite-tombstone). This field is only used by Vault to - // display tombstone and should only be set to true if the message is a - // tombstone. - IsContentPurged bool `json:"isContentPurged,omitempty"` - - // IsInlineReply: Output only. Indicates if the message is an inline - // reply. Set to true only if the message's ParentPath is non-NULL. - // Currently, only inline replies have non-NULL ParentPath. See - // go/chat-be-inline-reply-indicator. - IsInlineReply bool `json:"isInlineReply,omitempty"` - - // LastEditTime: If the message was edited by a user, timestamp of the - // last edit, in microseconds. - LastEditTime int64 `json:"lastEditTime,omitempty,string"` - - // LastUpdateTime: Time when the Message text was last updated in - // microseconds. - LastUpdateTime int64 `json:"lastUpdateTime,omitempty,string"` - - // LocalId: A unique id specified on the client side. - LocalId string `json:"localId,omitempty"` - - // MessageIntegrationPayload: An optional payload (restricted to 1P - // applications) that will be stored with this message. This can only be - // set by the 1P API and should be used to deliver additional data such - // a 1P sync version, 1P entity ID to the client for more advanced - // functionality [Eg. inform Group Tasks tab of new version while - // linking, fetch & render a live Task/Meet call tile]. - MessageIntegrationPayload *AppsDynamiteSharedMessageIntegrationPayload `json:"messageIntegrationPayload,omitempty"` - - // MessageOrigin: Where the message was posted from - // - // Possible values: - // "ORIGIN_NOT_SET" - // "ORIGIN_DYNAMITE" - // "ORIGIN_BABEL_INTEROP_LIVE" - The message is from Babel (Hangouts - // Classic) interop. - // "ORIGIN_BABEL_INTEROP_RETRY" - The message is from Babel interop - // retries from Manifold queue. - // "ORIGIN_BABEL" - The message came directly from Babel as - // source-of-truth - // "ORIGIN_BABEL_DUAL_WRITE" - The message came directly from Babel - // during dual-write - // "ORIGIN_BABEL_DUAL_WRITE_RETRY" - The message came directly from - // Babel Manifold queue during dual write - // "ORIGIN_BACKFILL_FROM_PAPYRUS" - The message was backfilled by - // go/dinnertrain as part of go/storage-consolidation. The backfill - // origin corresponds to the BackfillState in which the message was - // created. - // "ORIGIN_BACKFILL_FROM_GMAIL_ARCHIVE" - MessageOrigin string `json:"messageOrigin,omitempty"` - - // MessageReference: Contains reference to another message. It is used - // in shortcuts which are used to collect messages from different spaces - // with a certain common property into another space. For example, all - // @mentions of a user are collected into a mention shortcut space - // (go/chat-shortcuts-backend-design for more details). Most information - // from the source message (like text) are copied onto top-level Message - // fields of shortcut messages by the server. The MessageReference is - // helpful for clients to enable things like click navigation to source - // message. - MessageReference *MessageReference `json:"messageReference,omitempty"` - - // MessageSearchInfo: Contains additional metadata that further - // annotates this message when returned as a search response. For - // example, this field can be used to highlight messages during search - // results rendering. In this case, clients can use this field to - // highlight matched segments in the message text_body (defined with tag - // 6). - MessageSearchInfo *AppsDynamiteSharedMessageSearchInfo `json:"messageSearchInfo,omitempty"` - - // MessageState: State of the message, indicating whether the message is - // visible to all members in the group or is only visible to the sender - // only, or the private_message_viewer if it is set. - // - // Possible values: - // "PUBLIC" - Default - visible to the room / DM. - // "PRIVATE" - Private state - only visible to the message creator, - // and the private_message_viewer if set. - MessageState string `json:"messageState,omitempty"` - - // NumberOfUnicodeEmojis: Indicates the number of unicode emojis in the - // message. - NumberOfUnicodeEmojis int64 `json:"numberOfUnicodeEmojis,omitempty"` - - // OriginAppSuggestions: Indicates if this message contains any - // suggestions that were provided by any Apps. - OriginAppSuggestions []*AppsDynamiteSharedOriginAppSuggestion `json:"originAppSuggestions,omitempty"` - - // PersonalLabels: Personal labels associated with a message for the - // viewing user. Order of entries is arbitrary and will not list - // duplicates of the same label_id. See go/chat-labels-design for - // details. NOTE: This will be unpopulated in the case of SpaceChangelog - // events. - PersonalLabels []*PersonalLabelTag `json:"personalLabels,omitempty"` - - // PrivateMessageInfos: A list of per-user private information. This is - // deprecated, because we no longer plan to support partially private - // messages or private messages for multiple users. The message_state - // and private_message_viewer fields should be sufficient for this - // infrastructure. - PrivateMessageInfos []*PrivateMessageInfo `json:"privateMessageInfos,omitempty"` - - // PrivateMessageViewer: Should only be set if the Message State is - // PRIVATE. If set, the message content is only visible to this user - // (and any apps associated with the message), as well as the message - // creator. If unset, a private message is visible to the message - // creator only. - PrivateMessageViewer *UserId `json:"privateMessageViewer,omitempty"` - - // Props: Contains additional (currently Hangouts Classic only) - // properties applicable to this message. - Props *MessageProps `json:"props,omitempty"` - - // QuotedByState: Output only. Whether this message has been quoted by - // another message or not. Used by clients to handle message edit flows - // for messages that have been quoted. - // - // Possible values: - // "QUOTED_BY_STATE_UNSPECIFIED" - Unspecified state for - // QuotedByState. - // "QUOTED_BY_STATE_HAS_BEEN_QUOTED" - State to indicate that this - // message is quoted by another message (excluding purged message). - // "QUOTED_BY_STATE_HAS_NOT_BEEN_QUOTED" - State to indicate that this - // message are not quoted by another message. - QuotedByState string `json:"quotedByState,omitempty"` - - // QuotedMessageMetadata: Output only. Metadata for a message that is - // quoted by this message. - QuotedMessageMetadata *QuotedMessageMetadata `json:"quotedMessageMetadata,omitempty"` - - // Reactions: A list of user reactions to this message. Ordered by the - // timestamp of the first reaction, ascending (oldest to newest). - Reactions []*AppsDynamiteSharedReaction `json:"reactions,omitempty"` - - // Reports: Output only. Details of content reports. Set only when the - // request asks for it. - Reports []*ContentReport `json:"reports,omitempty"` - - // RetentionSettings: The retention settings of the message. - RetentionSettings *AppsDynamiteSharedRetentionSettings `json:"retentionSettings,omitempty"` - - // RichTextFormattingType: Used by clients to correctly log format type - // for message creation due to complexity with client side optimistic - // update (see go/content-metric-post-send-logging for details). - // Currently, only set by server in the message or topic creation path. - // - // Possible values: - // "NONE" - // "MARKDOWN" - The formatting was specified as *markdown characters* - // in message text. - // "FORMAT_ANNOTATIONS" - The formatting was specified as {@link - // com.google.apps.dynamite.v1.shared.FormatMetadata} annotations. - // "FORMAT_ANNOTATIONS_IGNORED" - The client sent the format - // annotations, but didn't set the accept_format_annotations field to - // true. This shouldn't happen, but there might be some old clients that - // end up here. - // "FORMAT_ANNOTATIONS_IGNORED_WITH_MARKDOWN" - A combination of - // MARKDOWN and FORMAT_ANNOTATIONS_IGNORED. - RichTextFormattingType string `json:"richTextFormattingType,omitempty"` - - // SecondaryMessageKey: A client-specified string that can be used to - // uniquely identify a message in a space, in lieu of `id.message_id`. - SecondaryMessageKey string `json:"secondaryMessageKey,omitempty"` - - // TextBody: Plaintext body of the Message. - TextBody string `json:"textBody,omitempty"` - - // TombstoneMetadata: Information for the stoning of a Message. - TombstoneMetadata *TombstoneMetadata `json:"tombstoneMetadata,omitempty"` - - // UpdaterId: ID of the User who last updated (created/edited/deleted) - // the Message. This includes information to identify if this was - // updated by an App on behalf of a user. - UpdaterId *UserId `json:"updaterId,omitempty"` - - // UploadMetadata: UploadMetadata b/36864213 is an ongoing effort to - // move UploadMetadata out of annotations field and save it to - // upload_metadata field only. After the migration, UploadMetadata will - // only be saved in this field. - UploadMetadata []*UploadMetadata `json:"uploadMetadata,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Annotations") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Annotations") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Message) MarshalJSON() ([]byte, error) { - type NoMethod Message - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MessageAdded: A message was added. Specifying id and initial labels. -type MessageAdded struct { - AttributeIds []string `json:"attributeIds,omitempty"` - - LabelIds []string `json:"labelIds,omitempty"` - - MessageKey *MultiKey `json:"messageKey,omitempty"` - - // SyncIds: Note that there can be fewer sync ids than label ids. - SyncIds []int64 `json:"syncIds,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AttributeIds") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AttributeIds") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *MessageAdded) MarshalJSON() ([]byte, error) { - type NoMethod MessageAdded - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MessageAttributes: Stores tombstone message attributes: -// go/tombstone-message-attributes-overview -type MessageAttributes struct { - // IsTombstone: If true: message is a tombstone in the client. Default - // false. - IsTombstone bool `json:"isTombstone,omitempty"` - - // ForceSendFields is a list of field names (e.g. "IsTombstone") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "IsTombstone") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *MessageAttributes) MarshalJSON() ([]byte, error) { - type NoMethod MessageAttributes - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MessageDeleted: Some (subset of the) messages in this thread were -// deleted. -type MessageDeleted struct { - // ImapSyncMappings: Value of coproc's message delete history record - // extension that exports /imapsync/folder attribute of deleted messages - // which have ^is label. - ImapSyncMappings []*ImapSyncDelete `json:"imapSyncMappings,omitempty"` - - MessageKeys []*MultiKey `json:"messageKeys,omitempty"` - - // WonderCardMappings: Value of coproc's message delete history record - // extension that exports /wonder/message_mapping/{vertical} attribute - // of deleted messages which have smartmail label (eg. ^cob_sm_invoice, - // etc). - WonderCardMappings []*WonderCardDelete `json:"wonderCardMappings,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ImapSyncMappings") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ImapSyncMappings") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *MessageDeleted) MarshalJSON() ([]byte, error) { - type NoMethod MessageDeleted - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MessageId: Primary key for Message resource. -type MessageId struct { - // MessageId: Opaque, server-assigned ID of the Message. While this ID - // is guaranteed to be unique within the Space, it's not guaranteed to - // be globally unique. - MessageId string `json:"messageId,omitempty"` - - // ParentId: ID of the Message's immediate parent. - ParentId *MessageParentId `json:"parentId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "MessageId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "MessageId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *MessageId) MarshalJSON() ([]byte, error) { - type NoMethod MessageId - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type MessageInfo struct { - // AuthorUserType: Message author’s user type (human/bot). - // - // Possible values: - // "HUMAN" - Notes on HUMAN type: 1) Leaving UserId.UserType field - // empty will return HUMAN as default value. This is expected because - // all the existing UserIds are without explicitly setting UserType, - // most of which are HUMAN Ids. For Bot Ids we will always set BOT in - // UserType field. 2) DO NOT explicitly set HUMAN as type. This is a - // proto2 issue, that a UserId with explicitly set default value HUMAN - // as type is NOT equal to an id without setting the field. aka. UserId - // id1 = UserId.newBuilder() - // .setId("dummy").setType(UserType.HUMAN).build(); UserId id2 = - // UserId.newBuilder().setId("dummy").build(); - // AssertThat(id1).isNotEqual(id2); - // AssertThat(id2.getType()).isEqualTo(UserType.HUMAN); - // "BOT" - AuthorUserType string `json:"authorUserType,omitempty"` - - // Message: The content of a matching message. - Message *Message `json:"message,omitempty"` - - // SearcherMembershipState: Searcher's membership state in the space - // where the message is posted. - // - // Possible values: - // "MEMBER_UNKNOWN" - Default state, do not use - // "MEMBER_INVITED" - An invitation to the space has been sent - // "MEMBER_JOINED" - User has joined the space - // "MEMBER_NOT_A_MEMBER" - User is not a member - // "MEMBER_FAILED" - This state should never be stored in Spanner. It - // is a state for responses to the clients to indicate that membership - // mutations have failed and the member is in its previous state. - SearcherMembershipState string `json:"searcherMembershipState,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AuthorUserType") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AuthorUserType") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *MessageInfo) MarshalJSON() ([]byte, error) { - type NoMethod MessageInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MessageParentId: Primary key identifying Message resource's immediate -// parent. For top-level Messages, either topic_id or chat_id is -// populated. For replies, message_id is populated with the topic -// Message's ID. -type MessageParentId struct { - // TopicId: ID of the Topic this Message is posted to. NEXT TAG : 5 - TopicId *TopicId `json:"topicId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "TopicId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "TopicId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *MessageParentId) MarshalJSON() ([]byte, error) { - type NoMethod MessageParentId - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MessageProps: Container for storing properties applicable to -// messages. For now (until storage consolidation is complete), it will -// only be used for babel props. In the future it could be used to house -// Dynamite properties for experimenting/rapid prototyping. -type MessageProps struct { - BabelProps *BabelMessageProps `json:"babelProps,omitempty"` - - // ForceSendFields is a list of field names (e.g. "BabelProps") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "BabelProps") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *MessageProps) MarshalJSON() ([]byte, error) { - type NoMethod MessageProps - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MessageReference: Contains reference to another message. It is used -// in shortcuts which are used to collect messages from different spaces -// with a certain common property into another space. For example, all -// @mentions of a user are collected into a mention shortcut space -// (go/chat-shortcuts-backend-design for more details). Clients can use -// this reference to enable navigation to the source message when the -// shortcut message is clicked and also to identify a few other details -// about the source message. Other fields (like text) from the source -// message are copied on to the top-level fields in the Message proto by -// the server (More details in go/chat-shortcuts-client-server-design). -type MessageReference struct { - SourceInfo *SourceMessageInfo `json:"sourceInfo,omitempty"` - - // ForceSendFields is a list of field names (e.g. "SourceInfo") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "SourceInfo") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *MessageReference) MarshalJSON() ([]byte, error) { - type NoMethod MessageReference - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MessageSet: This is proto2's version of MessageSet. -type MessageSet struct { -} - -// Metadata: Metadata of a matched search result. -type Metadata struct { - // CreateTime: The creation time for this document or object in the - // search result. - CreateTime string `json:"createTime,omitempty"` - - // DisplayOptions: Options that specify how to display a structured data - // search result. - DisplayOptions *ResultDisplayMetadata `json:"displayOptions,omitempty"` - - // Fields: Indexed fields in structured data, returned as a generic - // named property. - Fields []*NamedProperty `json:"fields,omitempty"` - - // MimeType: Mime type of the search result. - MimeType string `json:"mimeType,omitempty"` - - // ObjectType: Object type of the search result. - ObjectType string `json:"objectType,omitempty"` - - // Owner: Owner (usually creator) of the document or object of the - // search result. - Owner *Person `json:"owner,omitempty"` - - // Source: The named source for the result, such as Gmail. - Source *Source `json:"source,omitempty"` - - // ThumbnailUrl: The thumbnail URL of the result. - ThumbnailUrl string `json:"thumbnailUrl,omitempty"` - - // UpdateTime: The last modified date for the object in the search - // result. If not set in the item, the value returned here is empty. - // When `updateTime` is used for calculating freshness and is not set, - // this value defaults to 2 years from the current time. - UpdateTime string `json:"updateTime,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CreateTime") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "CreateTime") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Metadata) MarshalJSON() ([]byte, error) { - type NoMethod Metadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Metaline: A metaline is a list of properties that are displayed along -// with the search result to provide context. -type Metaline struct { - // Properties: The list of displayed properties for the metaline. The - // maximum number of properties is 5. - Properties []*DisplayedProperty `json:"properties,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Properties") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Properties") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Metaline) MarshalJSON() ([]byte, error) { - type NoMethod Metaline - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// MultiKey: A union-like type for identifiying an object in storage. -// MultiKeys contain multiple key fields, each in a separate key space. -// At least one key field must be set. More than one key field may be -// set as long as all key values refer to the same object. All objects -// in storage have unique server_id keys. All MultiKeys returned from -// storage to storage clients will always have the server_id field set. -// When creating an object, if a MultiKey without a server_id is -// supplied to storage, the storage system will auto-assign a server ID -// to the new object. For all other storage requests (i.e. those not -// creating new objects), clients may omit server_id (as long as they -// supply another key). Instead of server ids, clients can specify -// string based client_assigned_perm_id keys. Mail message drafts are a -// prime example of these kinds of objects. Each time a user saves a new -// version of a draft, the storage system needs to create a new object -// with the updated draft content and needs to delete the object -// containing the old content. The new object gets a new SERVER_ID but -// should get the same CLIENT_ASSIGNED_PERM_ID as the now-deleted object -// containing the old content. Carrying forward the perm ID allows it to -// be used to consistently refer to the same logical object across -// revisions. These perm IDs save sync clients from having to deal with -// changing object IDs. For example, assume there's a mail message in -// storage with SERVER_ID = 123 and CLIENT_ASSIGNED_PERM_ID = "foo". The -// following are all valid ways of addressing the object using -// MultiKeys: 1) MultiKey { server_id = 123 } 2) MultiKey { server_id = -// 123, client_assigned_perm_id = "foo" } 3) MultiKey { -// client_assigned_perm_id = "foo" } Multikeys are never serialized in -// the storage. The individual keys are extracted and processed -// separately. Both the integer ids as well as string ids are indexed -// for efficient retrieval using the same fields in the backend. See -// go/tingle-multikeys for more information on background and -// motivation. -type MultiKey struct { - // ClientAssignedPermId: A client-assigned string based key. - ClientAssignedPermId string `json:"clientAssignedPermId,omitempty"` - - // ServerId: A server-assigned ID. This ID must be used only by Gmail - // and is constructed using millesecond ts << 20 + randomness. The ID - // affects the sort order of the index. - ServerId uint64 `json:"serverId,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. - // "ClientAssignedPermId") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ClientAssignedPermId") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *MultiKey) MarshalJSON() ([]byte, error) { - type NoMethod MultiKey - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Name: A person's name. -type Name struct { - // DisplayName: The read-only display name formatted according to the - // locale specified by the viewer's account or the `Accept-Language` - // HTTP header. - DisplayName string `json:"displayName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DisplayName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DisplayName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Name) MarshalJSON() ([]byte, error) { - type NoMethod Name - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// NamedProperty: A typed name-value pair for structured data. The type -// of the value should be the same as the registered type for the `name` -// property in the object definition of `objectType`. -type NamedProperty struct { - BooleanValue bool `json:"booleanValue,omitempty"` - - DateValues *DateValues `json:"dateValues,omitempty"` - - DoubleValues *DoubleValues `json:"doubleValues,omitempty"` - - EnumValues *EnumValues `json:"enumValues,omitempty"` - - HtmlValues *HtmlValues `json:"htmlValues,omitempty"` - - IntegerValues *IntegerValues `json:"integerValues,omitempty"` - - // Name: The name of the property. This name should correspond to the - // name of the property that was registered for object definition in the - // schema. The maximum allowable length for this property is 256 - // characters. - Name string `json:"name,omitempty"` - - ObjectValues *ObjectValues `json:"objectValues,omitempty"` - - TextValues *TextValues `json:"textValues,omitempty"` - - TimestampValues *TimestampValues `json:"timestampValues,omitempty"` - - // ForceSendFields is a list of field names (e.g. "BooleanValue") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "BooleanValue") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *NamedProperty) MarshalJSON() ([]byte, error) { - type NoMethod NamedProperty - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// OAuthConsumerProto: Represents an OAuth consumer, a/k/a AuthSub -// target. These principals are identified by domain name (e.g., -// example.com). Historically, Dasher domain GAIA group IDs have been -// used instead, but that doesn't work: http://go/tricky-gaia-ids -type OAuthConsumerProto struct { - Domain string `json:"domain,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Domain") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Domain") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *OAuthConsumerProto) MarshalJSON() ([]byte, error) { - type NoMethod OAuthConsumerProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ObjectDefinition: The definition for an object within a data source. -type ObjectDefinition struct { - // Name: The name for the object, which then defines its type. Item - // indexing requests should set the objectType field equal to this - // value. For example, if *name* is *Document*, then indexing requests - // for items of type Document should set objectType equal to *Document*. - // Each object definition must be uniquely named within a schema. The - // name must start with a letter and can only contain letters (A-Z, a-z) - // or numbers (0-9). The maximum length is 256 characters. - Name string `json:"name,omitempty"` - - // Options: The optional object-specific options. - Options *ObjectOptions `json:"options,omitempty"` - - // PropertyDefinitions: The property definitions for the object. The - // maximum number of elements is 1000. - PropertyDefinitions []*PropertyDefinition `json:"propertyDefinitions,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Name") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Name") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ObjectDefinition) MarshalJSON() ([]byte, error) { - type NoMethod ObjectDefinition - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ObjectDisplayOptions: The display options for an object. -type ObjectDisplayOptions struct { - // Metalines: Defines the properties that are displayed in the metalines - // of the search results. The property values are displayed in the order - // given here. If a property holds multiple values, all of the values - // are displayed before the next properties. For this reason, it is a - // good practice to specify singular properties before repeated - // properties in this list. All of the properties must set is_returnable - // to true. The maximum number of metalines is 3. - Metalines []*Metaline `json:"metalines,omitempty"` - - // ObjectDisplayLabel: The user friendly label to display in the search - // result to indicate the type of the item. This is OPTIONAL; if not - // provided, an object label isn't displayed on the context line of the - // search results. The maximum length is 64 characters. - ObjectDisplayLabel string `json:"objectDisplayLabel,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Metalines") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Metalines") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ObjectDisplayOptions) MarshalJSON() ([]byte, error) { - type NoMethod ObjectDisplayOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ObjectOptions: The options for an object. -type ObjectOptions struct { - // DisplayOptions: The options that determine how the object is - // displayed in the Cloud Search results page. - DisplayOptions *ObjectDisplayOptions `json:"displayOptions,omitempty"` - - // FreshnessOptions: The freshness options for an object. - FreshnessOptions *FreshnessOptions `json:"freshnessOptions,omitempty"` - - // SuggestionFilteringOperators: Operators that can be used to filter - // suggestions. For Suggest API, only operators mentioned here will be - // honored in the FilterOptions. Only TEXT and ENUM operators are - // supported. NOTE: "objecttype", "type" and "mimetype" are already - // supported. This property is to configure schema specific operators. - // Even though this is an array, only one operator can be specified. - // This is an array for future extensibility. Operators mapping to - // multiple properties within the same object are not supported. If the - // operator spans across different object types, this option has to be - // set once for each object definition. - SuggestionFilteringOperators []string `json:"suggestionFilteringOperators,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DisplayOptions") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DisplayOptions") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *ObjectOptions) MarshalJSON() ([]byte, error) { - type NoMethod ObjectOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ObjectPropertyOptions: The options for object properties. -type ObjectPropertyOptions struct { - // SubobjectProperties: The properties of the sub-object. These - // properties represent a nested object. For example, if this property - // represents a postal address, the subobjectProperties might be named - // *street*, *city*, and *state*. The maximum number of elements is - // 1000. - SubobjectProperties []*PropertyDefinition `json:"subobjectProperties,omitempty"` - - // ForceSendFields is a list of field names (e.g. "SubobjectProperties") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "SubobjectProperties") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *ObjectPropertyOptions) MarshalJSON() ([]byte, error) { - type NoMethod ObjectPropertyOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ObjectValues: List of object values. -type ObjectValues struct { - Values []*StructuredDataObject `json:"values,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Values") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Values") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ObjectValues) MarshalJSON() ([]byte, error) { - type NoMethod ObjectValues - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type OnClick struct { - Action *FormAction `json:"action,omitempty"` - - // Link: This can be used as a short form for OpenLink with the default - // OpenAs and OnClose. It may be undeprecated if this proves to be handy - // for developers. - Link string `json:"link,omitempty"` - - OpenLink *OpenLink `json:"openLink,omitempty"` - - // OpenLinkAction: An add-on triggers this action when the form action - // needs to open a link. This differs from the open_link above in that - // this needs to talk to server to get the link. Thus some preparation - // work is required for web client to do before the open link action - // response comes back. - OpenLinkAction *FormAction `json:"openLinkAction,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Action") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Action") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *OnClick) MarshalJSON() ([]byte, error) { - type NoMethod OnClick - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type OpenCreatedDraftActionMarkup struct { - // DraftId: The ID of the newly created draft in the form "r123". - DraftId string `json:"draftId,omitempty"` - - // DraftStorageId: The server storage ID in hex format, for - // example,"15e9fa622ce1029d". - DraftStorageId string `json:"draftStorageId,omitempty"` - - // DraftThreadId: The ID of the thread containing the newly created - // draft, for example, "15e9fa622ce1029d". - DraftThreadId string `json:"draftThreadId,omitempty"` - - // DraftThreadServerPermId: The server permanent ID for the draft's - // thread. This field isn't set anywhere, and it's ignored when - // processing OpenCreatedDraftActionMarkup. Supply and use - // draftThreadStorageId instead. - DraftThreadServerPermId string `json:"draftThreadServerPermId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DraftId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DraftId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *OpenCreatedDraftActionMarkup) MarshalJSON() ([]byte, error) { - type NoMethod OpenCreatedDraftActionMarkup - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type OpenLink struct { - // LoadIndicator: Next available ID: 5 - // - // Possible values: - // "NONE" - // "SPINNER" - LoadIndicator string `json:"loadIndicator,omitempty"` - - // Possible values: - // "NOTHING" - // "RELOAD_ADD_ON" - OnClose string `json:"onClose,omitempty"` - - // Possible values: - // "FULL_SIZE" - // "OVERLAY" - OpenAs string `json:"openAs,omitempty"` - - Url string `json:"url,omitempty"` - - // ForceSendFields is a list of field names (e.g. "LoadIndicator") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "LoadIndicator") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *OpenLink) MarshalJSON() ([]byte, error) { - type NoMethod OpenLink - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Operation: This resource represents a long-running operation that is -// the result of a network API call. -type Operation struct { - // Done: If the value is `false`, it means the operation is still in - // progress. If `true`, the operation is completed, and either `error` - // or `response` is available. - Done bool `json:"done,omitempty"` - - // Error: The error result of the operation in case of failure or - // cancellation. - Error *Status `json:"error,omitempty"` - - // Metadata: Service-specific metadata associated with the operation. It - // typically contains progress information and common metadata such as - // create time. Some services might not provide such metadata. Any - // method that returns a long-running operation should document the - // metadata type, if any. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` - - // Name: The server-assigned name, which is only unique within the same - // service that originally returns it. If you use the default HTTP - // mapping, the `name` should be a resource name ending with - // `operations/{unique_id}`. - Name string `json:"name,omitempty"` - - // Response: The normal response of the operation in case of success. If - // the original method returns no data on success, such as `Delete`, the - // response is `google.protobuf.Empty`. If the original method is - // standard `Get`/`Create`/`Update`, the response should be the - // resource. For other methods, the response should have the type - // `XxxResponse`, where `Xxx` is the original method name. For example, - // if the original method name is `TakeSnapshot()`, the inferred - // response type is `TakeSnapshotResponse`. - Response googleapi.RawMessage `json:"response,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "Done") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Done") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Operation) MarshalJSON() ([]byte, error) { - type NoMethod Operation - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type OsVersion struct { - MajorVersion int64 `json:"majorVersion,omitempty"` - - MinorVersion int64 `json:"minorVersion,omitempty"` - - TertiaryVersion int64 `json:"tertiaryVersion,omitempty"` - - // ForceSendFields is a list of field names (e.g. "MajorVersion") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "MajorVersion") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *OsVersion) MarshalJSON() ([]byte, error) { - type NoMethod OsVersion - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type OtrChatMessageEvent struct { - ExpirationTimestampUsec int64 `json:"expirationTimestampUsec,omitempty,string"` - - KansasRowId string `json:"kansasRowId,omitempty"` - - KansasVersionInfo string `json:"kansasVersionInfo,omitempty"` - - // Possible values: - // "OFF_THE_RECORD" - The conversation is completely off the record. - // "ON_THE_RECORD" - The conversation is completely on the record. - MessageOtrStatus string `json:"messageOtrStatus,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "ExpirationTimestampUsec") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ExpirationTimestampUsec") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *OtrChatMessageEvent) MarshalJSON() ([]byte, error) { - type NoMethod OtrChatMessageEvent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type OtrModificationEvent struct { - // Possible values: - // "OFF_THE_RECORD" - The conversation is completely off the record. - // "ON_THE_RECORD" - The conversation is completely on the record. - NewOtrStatus string `json:"newOtrStatus,omitempty"` - - // Possible values: - // "ENABLED" - The conversation can be toggled - // "DISABLED" - The conversation cannot be toggled - NewOtrToggle string `json:"newOtrToggle,omitempty"` - - // Possible values: - // "OFF_THE_RECORD" - The conversation is completely off the record. - // "ON_THE_RECORD" - The conversation is completely on the record. - OldOtrStatus string `json:"oldOtrStatus,omitempty"` - - // Possible values: - // "ENABLED" - The conversation can be toggled - // "DISABLED" - The conversation cannot be toggled - OldOtrToggle string `json:"oldOtrToggle,omitempty"` - - // ForceSendFields is a list of field names (e.g. "NewOtrStatus") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "NewOtrStatus") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *OtrModificationEvent) MarshalJSON() ([]byte, error) { - type NoMethod OtrModificationEvent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PackagingServiceClient: Developers register a client in Google API -// Console to get the deep-linking feature on Google+ posts or frames -// about their apps. The client data is stored in this proto. -type PackagingServiceClient struct { - // AndroidPackageName: Android app's package name to generate the - // deep-link URI. - AndroidPackageName string `json:"androidPackageName,omitempty"` - - // IosAppStoreId: iOS app's App Store ID to generate the App Store URL - // when app is not installed on device. - IosAppStoreId string `json:"iosAppStoreId,omitempty"` - - // IosBundleId: iOS app's bundle ID to generate the deep-link URI. - IosBundleId string `json:"iosBundleId,omitempty"` - - // Type: Type of Google API Console client. - // - // Possible values: - // "ANDROID" - Client for Android app. - // "IOS" - Client for iOS app. - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AndroidPackageName") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AndroidPackageName") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *PackagingServiceClient) MarshalJSON() ([]byte, error) { - type NoMethod PackagingServiceClient - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PaygateInfo: Information provided to clients so that they can show -// upgrade promos and warnings on call ending early (for non-paying -// users). -type PaygateInfo struct { - // CallEndingSoonWarningTime: Time when client should show message that - // the call is ending soon. - CallEndingSoonWarningTime string `json:"callEndingSoonWarningTime,omitempty"` - - // CallEndingTime: Time when the call will end if the user does not - // upgrade (after in-call upgrade support check has been implemented). - CallEndingTime string `json:"callEndingTime,omitempty"` - - // ShowUpgradePromos: This boolean is used by clients to decide whether - // the user should be shown promos to upgrade. - ShowUpgradePromos bool `json:"showUpgradePromos,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "CallEndingSoonWarningTime") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. - // "CallEndingSoonWarningTime") to include in API requests with the JSON - // null value. By default, fields with empty values are omitted from API - // requests. However, any field with an empty value appearing in - // NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PaygateInfo) MarshalJSON() ([]byte, error) { - type NoMethod PaygateInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PeopleSuggestion: This field contains information about the person -// being suggested. -type PeopleSuggestion struct { - // Person: Suggested person. All fields of the person object might not - // be populated. - Person *Person `json:"person,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Person") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Person") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PeopleSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod PeopleSuggestion - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Person: Object to represent a person. -type Person struct { - // EmailAddresses: The person's email addresses - EmailAddresses []*EmailAddress `json:"emailAddresses,omitempty"` - - // Name: The resource name of the person to provide information about. - // See `People.get` - // (https://developers.google.com/people/api/rest/v1/people/get) from - // the Google People API. - Name string `json:"name,omitempty"` - - // ObfuscatedId: Obfuscated ID of a person. - ObfuscatedId string `json:"obfuscatedId,omitempty"` - - // PersonNames: The person's name - PersonNames []*Name `json:"personNames,omitempty"` - - // PhoneNumbers: The person's phone numbers - PhoneNumbers []*PhoneNumber `json:"phoneNumbers,omitempty"` - - // Photos: A person's read-only photo. A picture shown next to the - // person's name to help others recognize the person in search results. - Photos []*Photo `json:"photos,omitempty"` - - // ForceSendFields is a list of field names (e.g. "EmailAddresses") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "EmailAddresses") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *Person) MarshalJSON() ([]byte, error) { - type NoMethod Person - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PersonalLabelTag: An individual instance (or "tag") of a label -// configured as a personal type that's associated with a message. -type PersonalLabelTag struct { - // LabelId: A string ID representing the label. Possible ID values are - // documented at go/chat-labels-howto:ids. Examples: "^t" for "Starred", - // "^nu" for "Nudged". - LabelId string `json:"labelId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "LabelId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "LabelId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PersonalLabelTag) MarshalJSON() ([]byte, error) { - type NoMethod PersonalLabelTag - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PhoneAccess: Phone access contains information required to dial into -// a conference using a regional phone number and a PIN that is specific -// to that phone number. -type PhoneAccess struct { - // FormattedPhoneNumber: The phone number to dial for this meeting space - // in INTERNATIONAL format. Full phone number with a leading '+' - // character and whitespace separations. - FormattedPhoneNumber string `json:"formattedPhoneNumber,omitempty"` - - // LanguageCode: The BCP 47/LDML language code for the language - // associated with this phone access. To be parsed by the i18n - // LanguageCode utility. Examples: "es-419" for Latin American Spanish, - // "fr-CA" for Canadian French. - LanguageCode string `json:"languageCode,omitempty"` - - // PhoneNumber: The phone number to dial for this meeting space in E.164 - // format. Full phone number with a leading '+' character. - PhoneNumber string `json:"phoneNumber,omitempty"` - - // Pin: The PIN that users must enter after dialing the given number. - // The PIN consists of only decimal digits and the length may vary. - Pin string `json:"pin,omitempty"` - - // RegionCode: The CLDR/ISO 3166 region code for the country associated - // with this phone access. To be parsed by the i18n RegionCode utility. - // Example: "SE" for Sweden. - RegionCode string `json:"regionCode,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "FormattedPhoneNumber") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "FormattedPhoneNumber") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *PhoneAccess) MarshalJSON() ([]byte, error) { - type NoMethod PhoneAccess - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PhoneNumber: A person's Phone Number -type PhoneNumber struct { - // PhoneNumber: The phone number of the person. - PhoneNumber string `json:"phoneNumber,omitempty"` - - // Possible values: - // "OTHER" - // "MOBILE" - // "OFFICE" - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "PhoneNumber") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "PhoneNumber") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PhoneNumber) MarshalJSON() ([]byte, error) { - type NoMethod PhoneNumber - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Photo: A person's photo. -type Photo struct { - // Url: The URL of the photo. - Url string `json:"url,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Url") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Url") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Photo) MarshalJSON() ([]byte, error) { - type NoMethod Photo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type PinnedItemId struct { - // DriveId: Identifier for a Drive file (e.g. Docs, Sheets, Slides). - DriveId string `json:"driveId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DriveId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DriveId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PinnedItemId) MarshalJSON() ([]byte, error) { - type NoMethod PinnedItemId - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type PollItemsRequest struct { - // ConnectorName: The name of connector making this call. Format: - // datasources/{source_id}/connectors/{ID} - ConnectorName string `json:"connectorName,omitempty"` - - // DebugOptions: Common debug options. - DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - - // Limit: Maximum number of items to return. The maximum value is 100 - // and the default value is 20. - Limit int64 `json:"limit,omitempty"` - - // Queue: Queue name to fetch items from. If unspecified, PollItems will - // fetch from 'default' queue. The maximum length is 100 characters. - Queue string `json:"queue,omitempty"` - - // StatusCodes: Limit the items polled to the ones with these statuses. - // - // Possible values: - // "CODE_UNSPECIFIED" - Input-only value. Used with Items.list to list - // all items in the queue, regardless of status. - // "ERROR" - Error encountered by Cloud Search while processing this - // item. Details of the error are in repositoryError. - // "MODIFIED" - Item has been modified in the repository, and is out - // of date with the version previously accepted into Cloud Search. - // "NEW_ITEM" - Item is known to exist in the repository, but is not - // yet accepted by Cloud Search. An item can be in this state when - // Items.push has been called for an item of this name that did not - // exist previously. - // "ACCEPTED" - API has accepted the up-to-date data of this item. - StatusCodes []string `json:"statusCodes,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ConnectorName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ConnectorName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PollItemsRequest) MarshalJSON() ([]byte, error) { - type NoMethod PollItemsRequest - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type PollItemsResponse struct { - // Items: Set of items from the queue available for connector to - // process. These items have the following subset of fields populated: - // version metadata.hash structured_data.hash content.hash payload - // status queue - Items []*Item `json:"items,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "Items") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PollItemsResponse) MarshalJSON() ([]byte, error) { - type NoMethod PollItemsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PossiblyTrimmedModel: This message contains either the device model, -// or a prefix of the device model (AKA a trimmed device model). The -// "is_trimmed" field indicates which one it is. -type PossiblyTrimmedModel struct { - IsTrimmed bool `json:"isTrimmed,omitempty"` - - Model string `json:"model,omitempty"` - - // ForceSendFields is a list of field names (e.g. "IsTrimmed") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "IsTrimmed") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PossiblyTrimmedModel) MarshalJSON() ([]byte, error) { - type NoMethod PossiblyTrimmedModel - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PostiniUserProto: See -// http://s/?fileprint=//depot/google3/security/authentication/postini/auth_token.proto -type PostiniUserProto struct { - PostiniUserId int64 `json:"postiniUserId,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "PostiniUserId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "PostiniUserId") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PostiniUserProto) MarshalJSON() ([]byte, error) { - type NoMethod PostiniUserProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PreState: State of the thread previous to the update. This really -// just describes the label state of all messages before the update. -type PreState struct { - LabelIds []string `json:"labelIds,omitempty"` - - MessageKey *MultiKey `json:"messageKey,omitempty"` - - // SyncIds: Note that there can be fewer sync ids than label ids. - SyncIds []int64 `json:"syncIds,omitempty"` - - ThreadKey *MultiKey `json:"threadKey,omitempty"` - - // ForceSendFields is a list of field names (e.g. "LabelIds") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "LabelIds") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PreState) MarshalJSON() ([]byte, error) { - type NoMethod PreState - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PrefDeleted: PREF_DELETED -type PrefDeleted struct { -} - -// PrefUpdate: HistoryRecord for changes associated with prefs, namely: -// PREF_WRITTEN PREF_DELETED -type PrefUpdate struct { - // Name: Name of the affected preference. - Name string `json:"name,omitempty"` - - PreState *FuseboxPrefUpdatePreState `json:"preState,omitempty"` - - PrefDeleted *PrefDeleted `json:"prefDeleted,omitempty"` - - PrefWritten *PrefWritten `json:"prefWritten,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Name") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Name") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PrefUpdate) MarshalJSON() ([]byte, error) { - type NoMethod PrefUpdate - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PrefWritten: PREF_WRITTEN -type PrefWritten struct { - Value string `json:"value,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Value") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Value") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PrefWritten) MarshalJSON() ([]byte, error) { - type NoMethod PrefWritten - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Presenter: Presenter contains information about which device is -// currently presenting as well as which device requested the presenter -// to be set. -type Presenter struct { - // AnnotationInfo: Screen annotation information associated with this - // presentation session. - AnnotationInfo *AnnotationInfo `json:"annotationInfo,omitempty"` - - // ByDeviceId: The device resource name of the device which requested - // the current presenter to be set. This field can not be modified by - // clients. - ByDeviceId string `json:"byDeviceId,omitempty"` - - // CopresenterDeviceIds: The device resource names of other devices - // which can control the current presentation. - CopresenterDeviceIds []string `json:"copresenterDeviceIds,omitempty"` - - // PresenterDeviceId: The device resource name of the currently - // presenting device. - PresenterDeviceId string `json:"presenterDeviceId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AnnotationInfo") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AnnotationInfo") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *Presenter) MarshalJSON() ([]byte, error) { - type NoMethod Presenter - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Principal: Reference to a user, group, or domain. -type Principal struct { - // GroupResourceName: This principal is a group identified using an - // external identity. The name field must specify the group resource - // name with this format: identitysources/{source_id}/groups/{ID} - GroupResourceName string `json:"groupResourceName,omitempty"` - - // GsuitePrincipal: This principal is a Google Workspace user, group or - // domain. - GsuitePrincipal *GSuitePrincipal `json:"gsuitePrincipal,omitempty"` - - // UserResourceName: This principal is a user identified using an - // external identity. The name field must specify the user resource name - // with this format: identitysources/{source_id}/users/{ID} - UserResourceName string `json:"userResourceName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "GroupResourceName") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "GroupResourceName") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *Principal) MarshalJSON() ([]byte, error) { - type NoMethod Principal - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PrincipalProto: A Principal represents something to which permissions -// are assigned, often but not always a user or group of some kind. It -// is most appropriate for use in ACLs and authorization checks. Callers -// should prefer to use the wrapper classes in -// google3/security/credentials/public/principal.h -// google3/java/com/google/security/credentials/Principal.java -// google3/security/credentials/go/principal.go unless direct proto -// access is essential. If you update this protocol buffer, please -// update the wrapper classes as well. LINT.IfChange -type PrincipalProto struct { - // AllAuthenticatedUsers: scope = ALL_AUTHENTICATED_USERS - AllAuthenticatedUsers *AllAuthenticatedUsersProto `json:"allAuthenticatedUsers,omitempty"` - - // CapTokenHolder: scope = CAP_TOKEN_HOLDER - CapTokenHolder *CapTokenHolderProto `json:"capTokenHolder,omitempty"` - - // Chat: scope = CHAT - Chat *ChatProto `json:"chat,omitempty"` - - // Circle: scope = CIRCLE - Circle *CircleProto `json:"circle,omitempty"` - - // CloudPrincipal: scope = CLOUD_PRINCIPAL - CloudPrincipal *CloudPrincipalProto `json:"cloudPrincipal,omitempty"` - - // ContactGroup: scope = CONTACT_GROUP - ContactGroup *ContactGroupProto `json:"contactGroup,omitempty"` - - // EmailOwner: scope = EMAIL_OWNER - EmailOwner *EmailOwnerProto `json:"emailOwner,omitempty"` - - // Event: scope = EVENT - Event *EventProto `json:"event,omitempty"` - - // GaiaGroup: scope = GAIA_GROUP - GaiaGroup *GaiaGroupProto `json:"gaiaGroup,omitempty"` - - // GaiaUser: scope = GAIA_USER - GaiaUser *GaiaUserProto `json:"gaiaUser,omitempty"` - - // Host: scope = HOST - Host *HostProto `json:"host,omitempty"` - - // LdapGroup: scope = LDAP_GROUP - LdapGroup *LdapGroupProto `json:"ldapGroup,omitempty"` - - // LdapUser: scope = LDAP_USER - LdapUser *LdapUserProto `json:"ldapUser,omitempty"` - - // MdbGroup: scope = MDB_GROUP - MdbGroup *MdbGroupProto `json:"mdbGroup,omitempty"` - - // MdbUser: scope = MDB_USER - MdbUser *MdbUserProto `json:"mdbUser,omitempty"` - - // OauthConsumer: scope = OAUTH_CONSUMER; - OauthConsumer *OAuthConsumerProto `json:"oauthConsumer,omitempty"` - - // PostiniUser: scope = POSTINI_USER - PostiniUser *PostiniUserProto `json:"postiniUser,omitempty"` - - // RbacRole: scope = RBAC_ROLE - RbacRole *RbacRoleProto `json:"rbacRole,omitempty"` - - // RbacSubject: scope = RBAC_SUBJECT - RbacSubject *RbacSubjectProto `json:"rbacSubject,omitempty"` - - // ResourceRole: scope = RESOURCE_ROLE - ResourceRole *ResourceRoleProto `json:"resourceRole,omitempty"` - - // Scope: This is only optional because required enums cannot be - // extended. Currently required. - // - // Possible values: - // "INVALID" - // "GAIA_USER" - // "GAIA_GROUP" - // "LDAP_USER" - // "LDAP_GROUP" - // "MDB_USER" - // "MDB_GROUP" - // "POSTINI_USER" - // "CONTACT_GROUP" - // "SIMPLE_SECRET_HOLDER" - // "SIGNING_KEY_POSSESSOR" - // "ALL_AUTHENTICATED_USERS" - // "OAUTH_CONSUMER" - // "HOST" - // "SOCIAL_GRAPH_NODE" - // "EMAIL_OWNER" - // "CAP_TOKEN_HOLDER" - // "CIRCLE" - // "SQUARE" - // "EVENT" - // "RESOURCE_ROLE" - // "CHAT" - // "YOUTUBE_USER" - // "UNUSED_ZWIEBACK_SESSION" - // "ZWIEBACK_SESSION" - // "RBAC_ROLE" - // "RBAC_SUBJECT" - // "CLOUD_PRINCIPAL" - next tag: 29 - Scope string `json:"scope,omitempty"` - - // SigningKeyPossessor: scope = SIGNING_KEY_POSSESSOR - SigningKeyPossessor *SigningKeyPossessorProto `json:"signingKeyPossessor,omitempty"` - - // SimpleSecretHolder: scope = SIMPLE_SECRET_HOLDER - SimpleSecretHolder *SimpleSecretHolderProto `json:"simpleSecretHolder,omitempty"` - - // SocialGraphNode: scope = SOCIAL_GRAPH_NODE - SocialGraphNode *SocialGraphNodeProto `json:"socialGraphNode,omitempty"` - - // Square: scope = SQUARE - Square *SquareProto `json:"square,omitempty"` - - // YoutubeUser: scope = YOUTUBE_USER - YoutubeUser *YoutubeUserProto `json:"youtubeUser,omitempty"` - - // ZwiebackSession: scope = ZWIEBACK_SESSION - ZwiebackSession *ZwiebackSessionProto `json:"zwiebackSession,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "AllAuthenticatedUsers") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AllAuthenticatedUsers") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *PrincipalProto) MarshalJSON() ([]byte, error) { - type NoMethod PrincipalProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PrivateMessageInfo: Private message information specific to a given -// user. DEPRECATED: Use the privateMessageViewer field in -// CreateMessageInfo instead. -type PrivateMessageInfo struct { - // Annotations: Annotations private to {@code userId}. - Annotations []*Annotation `json:"annotations,omitempty"` - - // Attachments: Attachments private to {@code userId}. - Attachments []*Attachment `json:"attachments,omitempty"` - - ContextualAddOnMarkup []*GoogleChatV1ContextualAddOnMarkup `json:"contextualAddOnMarkup,omitempty"` - - GsuiteIntegrationMetadata []*GsuiteIntegrationMetadata `json:"gsuiteIntegrationMetadata,omitempty"` - - // Text: Text private to {@code user_id}. Initial restriction: Only one - // of public text or private text is rendered on the client. So if - // public text is set, private text is ignored. - Text string `json:"text,omitempty"` - - // UserId: Required. The elements in this struct are visible to this - // user. - UserId *UserId `json:"userId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Annotations") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Annotations") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PrivateMessageInfo) MarshalJSON() ([]byte, error) { - type NoMethod PrivateMessageInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ProcessingError struct { - // Code: Error code indicating the nature of the error. - // - // Possible values: - // "PROCESSING_ERROR_CODE_UNSPECIFIED" - Input only value. Use this - // value in Items. - // "MALFORMED_REQUEST" - Item's ACL, metadata, or content is malformed - // or in invalid state. FieldViolations contains more details on where - // the problem is. - // "UNSUPPORTED_CONTENT_FORMAT" - Countent format is unsupported. - // "INDIRECT_BROKEN_ACL" - Items with incomplete ACL information due - // to inheriting other items with broken ACL or having groups with - // unmapped descendants. - // "ACL_CYCLE" - ACL inheritance graph formed a cycle. - Code string `json:"code,omitempty"` - - // ErrorMessage: The description of the error. - ErrorMessage string `json:"errorMessage,omitempty"` - - // FieldViolations: In case the item fields are invalid, this field - // contains the details about the validation errors. - FieldViolations []*FieldViolation `json:"fieldViolations,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Code") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Code") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ProcessingError) MarshalJSON() ([]byte, error) { - type NoMethod ProcessingError - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PropertyDefinition: The definition of a property within an object. -type PropertyDefinition struct { - BooleanPropertyOptions *BooleanPropertyOptions `json:"booleanPropertyOptions,omitempty"` - - DatePropertyOptions *DatePropertyOptions `json:"datePropertyOptions,omitempty"` - - // DisplayOptions: The options that determine how the property is - // displayed in the Cloud Search results page if it's specified to be - // displayed in the object's display options. - DisplayOptions *PropertyDisplayOptions `json:"displayOptions,omitempty"` - - DoublePropertyOptions *DoublePropertyOptions `json:"doublePropertyOptions,omitempty"` - - EnumPropertyOptions *EnumPropertyOptions `json:"enumPropertyOptions,omitempty"` - - HtmlPropertyOptions *HtmlPropertyOptions `json:"htmlPropertyOptions,omitempty"` - - IntegerPropertyOptions *IntegerPropertyOptions `json:"integerPropertyOptions,omitempty"` - - // IsFacetable: Indicates that the property can be used for generating - // facets. Cannot be true for properties whose type is object. - // IsReturnable must be true to set this option. Only supported for - // boolean, enum, integer, and text properties. - IsFacetable bool `json:"isFacetable,omitempty"` - - // IsRepeatable: Indicates that multiple values are allowed for the - // property. For example, a document only has one description but can - // have multiple comments. Cannot be true for properties whose type is a - // boolean. If set to false, properties that contain more than one value - // cause the indexing request for that item to be rejected. - IsRepeatable bool `json:"isRepeatable,omitempty"` - - // IsReturnable: Indicates that the property identifies data that should - // be returned in search results via the Query API. If set to *true*, - // indicates that Query API users can use matching property fields in - // results. However, storing fields requires more space allocation and - // uses more bandwidth for search queries, which impacts performance - // over large datasets. Set to *true* here only if the field is needed - // for search results. Cannot be true for properties whose type is an - // object. - IsReturnable bool `json:"isReturnable,omitempty"` - - // IsSortable: Indicates that the property can be used for sorting. - // Cannot be true for properties that are repeatable. Cannot be true for - // properties whose type is object. IsReturnable must be true to set - // this option. Only supported for boolean, date, double, integer, and - // timestamp properties. - IsSortable bool `json:"isSortable,omitempty"` - - // IsSuggestable: Indicates that the property can be used for generating - // query suggestions. - IsSuggestable bool `json:"isSuggestable,omitempty"` - - // IsWildcardSearchable: Indicates that users can perform wildcard - // search for this property. Only supported for Text properties. - // IsReturnable must be true to set this option. In a given datasource - // maximum of 5 properties can be marked as is_wildcard_searchable. For - // more details, see Define object properties - // (https://developers.google.com/cloud-search/docs/guides/schema-guide#properties) - IsWildcardSearchable bool `json:"isWildcardSearchable,omitempty"` - - // Name: The name of the property. Item indexing requests sent to the - // Indexing API should set the property name equal to this value. For - // example, if name is *subject_line*, then indexing requests for - // document items with subject fields should set the name for that field - // equal to *subject_line*. Use the name as the identifier for the - // object property. Once registered as a property for an object, you - // cannot re-use this name for another property within that object. The - // name must start with a letter and can only contain letters (A-Z, a-z) - // or numbers (0-9). The maximum length is 256 characters. - Name string `json:"name,omitempty"` - - ObjectPropertyOptions *ObjectPropertyOptions `json:"objectPropertyOptions,omitempty"` - - TextPropertyOptions *TextPropertyOptions `json:"textPropertyOptions,omitempty"` - - TimestampPropertyOptions *TimestampPropertyOptions `json:"timestampPropertyOptions,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "BooleanPropertyOptions") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "BooleanPropertyOptions") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *PropertyDefinition) MarshalJSON() ([]byte, error) { - type NoMethod PropertyDefinition - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PropertyDisplayOptions: The display options for a property. -type PropertyDisplayOptions struct { - // DisplayLabel: The user friendly label for the property that is used - // if the property is specified to be displayed in ObjectDisplayOptions. - // If provided, the display label is shown in front of the property - // values when the property is part of the object display options. For - // example, if the property value is '1', the value by itself may not be - // useful context for the user. If the display name given was - // 'priority', then the user sees 'priority : 1' in the search results - // which provides clear context to search users. This is OPTIONAL; if - // not given, only the property values are displayed. The maximum length - // is 64 characters. - DisplayLabel string `json:"displayLabel,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DisplayLabel") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DisplayLabel") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PropertyDisplayOptions) MarshalJSON() ([]byte, error) { - type NoMethod PropertyDisplayOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Provenance: This field records where the ItemScope was retrieved, if -// it was created via a web fetch. -type Provenance struct { - // AnnotationBlob: Annotation blob from Annotation Service. - AnnotationBlob string `json:"annotationBlob,omitempty"` - - // CanonicalUrl: Canonical url of the retrieved_url, if one was resolved - // during retrieval, for example, if a rel="canonical" link tag was - // provided in the retrieved web page. - CanonicalUrl string `json:"canonicalUrl,omitempty"` - - // InputUrl: The url originally passed in the PRS request, which should - // be used to re-discover the content. Note that this URL may be a - // forwarding service or link shortener (bit.ly), so it should not be - // assumed to be canonical, but should be used for navigation back to - // the original source of the itemscope. - InputUrl string `json:"inputUrl,omitempty"` - - // Itemtype: Contains exact types as parsed, whether or not we - // recognized that type at parse time. If an itemscope is created by - // merging SchemaOrg markup and open graph markup then the first - // itemtype would be schemaorg type, the second would be open graph and - // so on. example: http://schema.org/VideoObject, og:video.movie Plain - // text; usually a URL - Itemtype []string `json:"itemtype,omitempty"` - - // RetrievedTimestampMsec: The server retrieved timestamp (in msec). - RetrievedTimestampMsec uint64 `json:"retrievedTimestampMsec,omitempty,string"` - - // RetrievedUrl: The final URL that was the actual source of the - // itemscope, after any redirects. - RetrievedUrl string `json:"retrievedUrl,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AnnotationBlob") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AnnotationBlob") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *Provenance) MarshalJSON() ([]byte, error) { - type NoMethod Provenance - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// PushItem: Represents an item to be pushed to the indexing queue. -type PushItem struct { - // ContentHash: Content hash of the item according to the repository. If - // specified, this is used to determine how to modify this item's - // status. Setting this field and the type field results in argument - // error. The maximum length is 2048 characters. - ContentHash string `json:"contentHash,omitempty"` - - // MetadataHash: The metadata hash of the item according to the - // repository. If specified, this is used to determine how to modify - // this item's status. Setting this field and the type field results in - // argument error. The maximum length is 2048 characters. - MetadataHash string `json:"metadataHash,omitempty"` - - // Payload: Provides additional document state information for the - // connector, such as an alternate repository ID and other metadata. The - // maximum length is 8192 bytes. - Payload string `json:"payload,omitempty"` - - // Queue: Queue to which this item belongs. The `default` queue is - // chosen if this field is not specified. The maximum length is 512 - // characters. - Queue string `json:"queue,omitempty"` - - // RepositoryError: Populate this field to store Connector or repository - // error details. This information is displayed in the Admin Console. - // This field may only be populated when the Type is REPOSITORY_ERROR. - RepositoryError *RepositoryError `json:"repositoryError,omitempty"` - - // StructuredDataHash: Structured data hash of the item according to the - // repository. If specified, this is used to determine how to modify - // this item's status. Setting this field and the type field results in - // argument error. The maximum length is 2048 characters. - StructuredDataHash string `json:"structuredDataHash,omitempty"` - - // Type: The type of the push operation that defines the push behavior. - // - // Possible values: - // "UNSPECIFIED" - Default UNSPECIFIED. Specifies that the push - // operation should not modify ItemStatus - // "MODIFIED" - Indicates that the repository document has been - // modified or updated since the previous update call. This changes - // status to MODIFIED state for an existing item. If this is called on a - // non existing item, the status is changed to NEW_ITEM. - // "NOT_MODIFIED" - Item in the repository has not been modified since - // the last update call. This push operation will set status to ACCEPTED - // state. - // "REPOSITORY_ERROR" - Connector is facing a repository error - // regarding this item. Change status to REPOSITORY_ERROR state. Item is - // unreserved and rescheduled at a future time determined by exponential - // backoff. - // "REQUEUE" - Call push with REQUEUE only for items that have been - // reserved. This action unreserves the item and resets its available - // time to the wall clock time. - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ContentHash") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ContentHash") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PushItem) MarshalJSON() ([]byte, error) { - type NoMethod PushItem - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type PushItemRequest struct { - // ConnectorName: The name of connector making this call. Format: - // datasources/{source_id}/connectors/{ID} - ConnectorName string `json:"connectorName,omitempty"` - - // DebugOptions: Common debug options. - DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - - // Item: Item to push onto the queue. - Item *PushItem `json:"item,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ConnectorName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ConnectorName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *PushItemRequest) MarshalJSON() ([]byte, error) { - type NoMethod PushItemRequest - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// QueryActivity: Details about a user's query activity. -type QueryActivity struct { - // Query: User input query to be logged/removed. - Query string `json:"query,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Query") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Query") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *QueryActivity) MarshalJSON() ([]byte, error) { - type NoMethod QueryActivity - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type QueryCountByStatus struct { - Count int64 `json:"count,omitempty,string"` - - // StatusCode: This represents the http status code. - StatusCode int64 `json:"statusCode,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Count") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Count") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *QueryCountByStatus) MarshalJSON() ([]byte, error) { - type NoMethod QueryCountByStatus - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type QueryInterpretation struct { - // Possible values: - // "NONE" - Neither the natural language interpretation, nor a broader - // version of the query is used to fetch the search results. - // "BLEND" - The results from original query are blended with other - // results. The reason for blending these other results with the results - // from original query is populated in the 'Reason' field below. - // "REPLACE" - The results from original query are replaced. The - // reason for replacing the results from original query is populated in - // the 'Reason' field below. - InterpretationType string `json:"interpretationType,omitempty"` - - // InterpretedQuery: The interpretation of the query used in search. For - // example, queries with natural language intent like "email from john" - // will be interpreted as "from:john source:mail". This field will not - // be filled when the reason is NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY. - InterpretedQuery string `json:"interpretedQuery,omitempty"` - - // Reason: The reason for interpretation of the query. This field will - // not be UNSPECIFIED if the interpretation type is not NONE. - // - // Possible values: - // "UNSPECIFIED" - // "QUERY_HAS_NATURAL_LANGUAGE_INTENT" - Natural language - // interpretation of the query is used to fetch the search results. - // "NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY" - Query and document - // terms similarity is used to selectively broaden the query to retrieve - // additional search results since enough results were not found for the - // user query. Interpreted query will be empty for this case. - Reason string `json:"reason,omitempty"` - - // ForceSendFields is a list of field names (e.g. "InterpretationType") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "InterpretationType") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *QueryInterpretation) MarshalJSON() ([]byte, error) { - type NoMethod QueryInterpretation - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// QueryInterpretationConfig: Default options to interpret user query. -type QueryInterpretationConfig struct { - // ForceDisableSupplementalResults: Set this flag to disable - // supplemental results retrieval, setting a flag here will not retrieve - // supplemental results for queries associated with a given search - // application. If this flag is set to True, it will take precedence - // over the option set at Query level. For the default value of False, - // query level flag will set the correct interpretation for supplemental - // results. - ForceDisableSupplementalResults bool `json:"forceDisableSupplementalResults,omitempty"` - - // ForceVerbatimMode: Enable this flag to turn off all internal - // optimizations like natural language (NL) interpretation of queries, - // supplemental results retrieval, and usage of synonyms including - // custom ones. If this flag is set to True, it will take precedence - // over the option set at Query level. For the default value of False, - // query level flag will set the correct interpretation for verbatim - // mode. - ForceVerbatimMode bool `json:"forceVerbatimMode,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "ForceDisableSupplementalResults") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. - // "ForceDisableSupplementalResults") to include in API requests with - // the JSON null value. By default, fields with empty values are omitted - // from API requests. However, any field with an empty value appearing - // in NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *QueryInterpretationConfig) MarshalJSON() ([]byte, error) { - type NoMethod QueryInterpretationConfig - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// QueryInterpretationOptions: Options to interpret user query. -type QueryInterpretationOptions struct { - // DisableNlInterpretation: Flag to disable natural language (NL) - // interpretation of queries. Default is false, Set to true to disable - // natural language interpretation. NL interpretation only applies to - // predefined datasources. - DisableNlInterpretation bool `json:"disableNlInterpretation,omitempty"` - - // DisableSupplementalResults: Use this flag to disable supplemental - // results for a query. Supplemental results setting chosen at - // SearchApplication level will take precedence if set to True. - DisableSupplementalResults bool `json:"disableSupplementalResults,omitempty"` - - // EnableVerbatimMode: Enable this flag to turn off all internal - // optimizations like natural language (NL) interpretation of queries, - // supplemental result retrieval, and usage of synonyms including custom - // ones. Nl interpretation will be disabled if either one of the two - // flags is true. - EnableVerbatimMode bool `json:"enableVerbatimMode,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "DisableNlInterpretation") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DisableNlInterpretation") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *QueryInterpretationOptions) MarshalJSON() ([]byte, error) { - type NoMethod QueryInterpretationOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// QueryItem: Information relevant only to a query entry. -type QueryItem struct { - // IsSynthetic: True if the text was generated by means other than a - // previous user search. - IsSynthetic bool `json:"isSynthetic,omitempty"` - - // ForceSendFields is a list of field names (e.g. "IsSynthetic") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "IsSynthetic") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *QueryItem) MarshalJSON() ([]byte, error) { - type NoMethod QueryItem - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// QueryOperator: The definition of a operator that can be used in a -// Search/Suggest request. -type QueryOperator struct { - // DisplayName: Display name of the operator - DisplayName string `json:"displayName,omitempty"` - - // EnumValues: Potential list of values for the opeatror field. This - // field is only filled when we can safely enumerate all the possible - // values of this operator. - EnumValues []string `json:"enumValues,omitempty"` - - // GreaterThanOperatorName: Indicates the operator name that can be used - // to isolate the property using the greater-than operator. - GreaterThanOperatorName string `json:"greaterThanOperatorName,omitempty"` - - // IsFacetable: Can this operator be used to get facets. - IsFacetable bool `json:"isFacetable,omitempty"` - - // IsRepeatable: Indicates if multiple values can be set for this - // property. - IsRepeatable bool `json:"isRepeatable,omitempty"` - - // IsReturnable: Will the property associated with this facet be - // returned as part of search results. - IsReturnable bool `json:"isReturnable,omitempty"` - - // IsSortable: Can this operator be used to sort results. - IsSortable bool `json:"isSortable,omitempty"` - - // IsSuggestable: Can get suggestions for this field. - IsSuggestable bool `json:"isSuggestable,omitempty"` - - // LessThanOperatorName: Indicates the operator name that can be used to - // isolate the property using the less-than operator. - LessThanOperatorName string `json:"lessThanOperatorName,omitempty"` - - // ObjectType: The name of the object corresponding to the operator. - // This field is only filled for schema-specific operators, and is unset - // for common operators. - ObjectType string `json:"objectType,omitempty"` - - // OperatorName: The name of the operator. - OperatorName string `json:"operatorName,omitempty"` - - // Type: The type of the operator. - // - // Possible values: - // "UNKNOWN" - Invalid value. - // "INTEGER" - // "DOUBLE" - // "TIMESTAMP" - // "BOOLEAN" - // "ENUM" - // "DATE" - // "TEXT" - // "HTML" - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DisplayName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DisplayName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *QueryOperator) MarshalJSON() ([]byte, error) { - type NoMethod QueryOperator - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// QuerySource: List of sources that the user can search using the query -// API. -type QuerySource struct { - // DisplayName: Display name of the data source. - DisplayName string `json:"displayName,omitempty"` - - // Operators: List of all operators applicable for this source. - Operators []*QueryOperator `json:"operators,omitempty"` - - // ShortName: A short name or alias for the source. This value can be - // used with the 'source' operator. - ShortName string `json:"shortName,omitempty"` - - // Source: The name of the source - Source *Source `json:"source,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DisplayName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DisplayName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *QuerySource) MarshalJSON() ([]byte, error) { - type NoMethod QuerySource - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// QuerySuggestion: This field does not contain anything as of now and -// is just used as an indicator that the suggest result was a phrase -// completion. -type QuerySuggestion struct { -} - -// QuotedMessageMetadata: Quote metadata: go/message-quoting-be-dd-v2. -// This proto is only used on the read path. For the request proto, -// refer to `QuotedMessagePayload`. Fields are either derived from -// storage directly from the Item this metadata belongs to, or is -// hydrated at read time from another Item read. Note: -// QuotedMessageMetadata proto is similar to Message proto with less -// field. Reasons to differtiate QuotedMessageMetadata from Message are: -// 1. Not all fields for original message is applicable for quoted -// message. (E.g. reactions, is_inline_reply, etc.), thus separting out -// for confusion. 2. We don't support nested message quoting. For more -// detailed discussion, please see http://shortn/_VsSXQb2C7P. For future -// reference: if your new feature/field will be supported in message -// quoting feature (go/chat-quoting-prd), you will need to add that -// field within QuotedMessageMetadata -type QuotedMessageMetadata struct { - // Annotations: Output only. Snapshot of the annotations of the quoted - // message. - Annotations []*Annotation `json:"annotations,omitempty"` - - // AppProfile: Output only. Custom display profile info for apps. Will - // be empty for real users. - AppProfile *AppsDynamiteSharedAppProfile `json:"appProfile,omitempty"` - - // BotAttachmentState: Output only. The bot attachment state of the - // quoted message. Used by clients to display a bot attachment indicator - // in the UI. - // - // Possible values: - // "BOT_ATTACHMENT_STATE_UNSPECIFIED" - // "BOT_ATTACHMENT_STATE_HAS_BOT_ATTACHMENT" - // "BOT_ATTACHMENT_STATE_NO_BOT_ATTACHMENT" - BotAttachmentState string `json:"botAttachmentState,omitempty"` - - // CreateTimeMicros: Output only. Time when the quoted message was - // posted in microseconds. - CreateTimeMicros int64 `json:"createTimeMicros,omitempty,string"` - - // CreatorId: Output only. ID of the User who posted the quoted message. - // This includes information to identify if the quoted message was - // posted by an App on behalf of a user. - CreatorId *UserId `json:"creatorId,omitempty"` - - // LastEditTimeMicros: Output only. Time when the quoted message was - // last edited by a user at the time when quoting action happens. Time - // is in microseconds. - LastEditTimeMicros int64 `json:"lastEditTimeMicros,omitempty,string"` - - // LastUpdateTimeWhenQuotedMicros: The `last_update_time` of the - // original message when the client initiated the quote creation. This - // is derived from the request payload passed from clients. Used to - // fetch the quoted message contents at a specific time on the read - // path. This field is populated from storage directly. - LastUpdateTimeWhenQuotedMicros int64 `json:"lastUpdateTimeWhenQuotedMicros,omitempty,string"` - - // MessageId: MessageId of the original message that is being quoted. - // This is derived from the request payload passed from clients. This - // field is populated from storage directly. - MessageId *MessageId `json:"messageId,omitempty"` - - // MessageState: Output only. The state of the quoted message. Used by - // clients to display tombstones for quotes that reference a deleted - // message. - // - // Possible values: - // "MESSAGE_STATE_UNSPECIFIED" - // "MESSAGE_STATE_ACTIVE" - The original message is present in storage - // and not deleted; the message contents can be hydrated. - // "MESSAGE_STATE_DELETED" - The original message has been deleted; - // the message contents cannot be hydrated. - // "MESSAGE_STATE_OTR_EDITED" - The OTR original message was edited - // and therefore no longer retrievable from storage; the message - // contents cannot be hydrated. See go/message-quoting-otr-edits for - // more context. - MessageState string `json:"messageState,omitempty"` - - // RetentionSettings: Output only. The retention (OTR) settings of the - // quoted message. - RetentionSettings *AppsDynamiteSharedRetentionSettings `json:"retentionSettings,omitempty"` - - // TextBody: Output only. Snapshot of the text body of the quoted - // message. - TextBody string `json:"textBody,omitempty"` - - // UpdaterId: Output only. ID of the User who last updated - // (created/edited/deleted) the quoted message at the time when quoting - // action happens. This includes information to identify if the quoted - // message was posted by an App on behalf of a user. - UpdaterId *UserId `json:"updaterId,omitempty"` - - // UploadMetadata: Output only. Upload metadata of the quoted message. - UploadMetadata []*UploadMetadata `json:"uploadMetadata,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Annotations") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Annotations") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *QuotedMessageMetadata) MarshalJSON() ([]byte, error) { - type NoMethod QuotedMessageMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Rank: The rank contains a tuple of numbers which may be used as a -// general sort order. The rank should be treated as an ordered set of -// numbers, where the ordering is done in descending order of the most -// significant rank member. For example, given the following ranks -// described as (primary, secondary): (1,1), (1,2), (2,2) (2,1) The -// descending rank-order is: (2,2) > (2,1) > (1,2) > (1,1) -type Rank struct { - // Primary: The primary rank is the most significant rank member. This - // rank element should always be present. Items with higher primary rank - // are always considered of higher rank than those of lower primary - // rank. - Primary int64 `json:"primary,omitempty,string"` - - // Secondary: The secondary rank may be used to rank items of identical - // primary rank. This rank element should always be present. - Secondary int64 `json:"secondary,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "Primary") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Primary") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Rank) MarshalJSON() ([]byte, error) { - type NoMethod Rank - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// RbacRoleProto: Principal associated with a given RBAC role. This -// principal is used by Sphinx Provisioning Service for RBAC -// provisionable (go/sphinx-rbacz). -type RbacRoleProto struct { - Name string `json:"name,omitempty"` - - ObjectId string `json:"objectId,omitempty"` - - // RbacNamespace: DEPRECATED as of 01.11.2019 - RbacNamespace string `json:"rbacNamespace,omitempty"` - - // RbacRoleName: Format: "role/z?" - "role" is the Sphinx globally - // unique name of the Sphinx role that provisions the RBAC role. - "/z?" - // suffix indicates which Zanzibar environment stores the role - // membership data ("/zd": dev, "/zs": staging, "/zp": prod, "/zt": - // local test instance). Example: "mysystem_myrole/zp" - RbacRoleName string `json:"rbacRoleName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Name") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Name") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *RbacRoleProto) MarshalJSON() ([]byte, error) { - type NoMethod RbacRoleProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// RbacSubjectProto: Principal associated with a given RBAC subject. -// This principal is used by Sphinx Provisioning Service for RBAC -// provisionable (go/sphinx-rbacz). -type RbacSubjectProto struct { - // Username: Format "username" without "@domain", e.g., "bogdand". - Username string `json:"username,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Username") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Username") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *RbacSubjectProto) MarshalJSON() ([]byte, error) { - type NoMethod RbacSubjectProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ReactionInfo: Contains information about an emoji reaction. -type ReactionInfo struct { - // Emoji: Unicode string representing a single emoji. - Emoji string `json:"emoji,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Emoji") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Emoji") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ReactionInfo) MarshalJSON() ([]byte, error) { - type NoMethod ReactionInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ReadReceiptsSettingsUpdatedMetadata struct { - // ReadReceiptsEnabled: The new read receipts state. - ReadReceiptsEnabled bool `json:"readReceiptsEnabled,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ReadReceiptsEnabled") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ReadReceiptsEnabled") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *ReadReceiptsSettingsUpdatedMetadata) MarshalJSON() ([]byte, error) { - type NoMethod ReadReceiptsSettingsUpdatedMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type Recipient struct { - Email string `json:"email,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Email") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Email") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Recipient) MarshalJSON() ([]byte, error) { - type NoMethod Recipient - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// RecordingEvent: A recording event is something that happens to the -// recording in a conference. -type RecordingEvent struct { - // DeviceId: The initiator of the latest event of the recording. It will - // be set for all user events (`type` is 100-199) and unset for all - // server events (`type` is 200-299). - DeviceId string `json:"deviceId,omitempty"` - - // Type: The type of event. - // - // Possible values: - // "RECORDING_EVENT_UNSPECIFIED" - This is never used. - // "USER_ACTION" - Deprecated, use detailed user actions instead. - // "STARTED_BY_USER" - Recording was started or is being started by a - // user. - // "STOPPED_BY_USER" - Recording was stopped by a user. - // "CANCELLED_BY_USER" - Recording was cancelled by a user. - // "CANCELLED_INITIALIZATION_FAILED" - Recording was cancelled by the - // server because of a failure during recording initialization. - // "CANCELLED_INITIATOR_LEFT" - Recording was cancelled by the server - // because the recording initiator left the conference during - // initialization. When the initiator leaves after the recording is - // started, no event is triggered. - // "ACTIVE_ABOUT_TO_STOP_TOO_LONG" - Recording is about to be stopped - // by the server because the recording is about to reach the maximum - // duration. - // "STOPPED_TOO_LONG" - Recording was stopped because the recording - // reached the maximum duration. - // "STOPPED_ALL_DEVICES_LEFT" - Recording was stopped because there - // were no devices left in the conference. - // "STOPPED_INTERNAL_FAILURES" - Recording was stopped because of an - // internal error. - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DeviceId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DeviceId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *RecordingEvent) MarshalJSON() ([]byte, error) { - type NoMethod RecordingEvent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// RecordingInfo: This message is deprecated, please use -// RecordingSessionInfo instead. Information about recording in the -// current conference. -type RecordingInfo struct { - // LatestRecordingEvent: The latest recording event. This can be used by - // clients to help explain what is going on, why recording stopped, etc. - // This will always be set if there is or was an active recording, which - // means there can be latest event when recording is INACTIVE. - LatestRecordingEvent *RecordingEvent `json:"latestRecordingEvent,omitempty"` - - // OwnerDisplayName: The display name of the owner of the recording - // output. Email notifications about uploaded recordings will also be - // sent to this owner. - OwnerDisplayName string `json:"ownerDisplayName,omitempty"` - - // ProducerDeviceId: The device resource name of the producer device for - // the currently active recording. Note that, after the producer - // drops/leaves the conference, this field will be cleaned up by the - // server after a delay. - ProducerDeviceId string `json:"producerDeviceId,omitempty"` - - // RecordingApplicationType: The application type of the current active - // recording. `RECORDING_APPLICATION_TYPE_UNSPECIFIED` if - // `recording_status` is inactive. - // - // Possible values: - // "RECORDING_APPLICATION_TYPE_UNSPECIFIED" - This is never used. - // "RECORDING" - A meeting recording saved to a video file in Google - // Drive. - // "GLIVE_STREAM" - A *Google Live* managed stream. - // "BROADCAST" - A meeting broadcast. - RecordingApplicationType string `json:"recordingApplicationType,omitempty"` - - // RecordingId: An identifier for the current recording, if any. This is - // returned whenever recording_status is either `RECORDING_STARTING` or - // `RECORDING_STARTED`. - RecordingId string `json:"recordingId,omitempty"` - - // RecordingStatus: The current status of the recording. This can be - // used by clients to show a recording dot or similar to indicated to - // the user that a recording is taking place. - // - // Possible values: - // "RECORDING_UNSPECIFIED" - This value is never used. - // "RECORDING_INACTIVE" - The conference is not being recorded. This - // can mean either that no recording has been started, or that a - // previous recording has stopped. - // "RECORDING_STARTING" - Recording is about to begin. The status will - // be updated to RECORDING_STARTED when the recording actually starts, - // which happens when all the backend plumbing is set up. - // "RECORDING_STARTED" - The recording is started. Any media sent to - // the conference may be included in the resulting recording. - RecordingStatus string `json:"recordingStatus,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "LatestRecordingEvent") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "LatestRecordingEvent") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *RecordingInfo) MarshalJSON() ([]byte, error) { - type NoMethod RecordingInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// RecordingSessionInfo: Information about a recording session. -type RecordingSessionInfo struct { - // OwnerEmail: Input only. Deprecated field, should not be used. - OwnerEmail string `json:"ownerEmail,omitempty"` - - // RecordingSessionId: A unique server-generated ID for the recording - // session. - RecordingSessionId string `json:"recordingSessionId,omitempty"` - - // SessionStateInfo: Recording session's state information. - SessionStateInfo *SessionStateInfo `json:"sessionStateInfo,omitempty"` - - // ForceSendFields is a list of field names (e.g. "OwnerEmail") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "OwnerEmail") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *RecordingSessionInfo) MarshalJSON() ([]byte, error) { - type NoMethod RecordingSessionInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Reference: All fields in this proto are now columns in spanner see -// google3/storage/slice/production/gmail/user_data_tables.pi for -// documentation. -type Reference struct { - BlobId string `json:"blobId,omitempty"` - - ContentType string `json:"contentType,omitempty"` - - Hash string `json:"hash,omitempty"` - - // Key: LINT.IfChange - Key string `json:"key,omitempty"` - - // Name: LINT.ThenChange(//depot/google3/storage/slice/production/gmail/ - // user_data_tables.pi) - Name string `json:"name,omitempty"` - - Size int64 `json:"size,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "BlobId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "BlobId") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Reference) MarshalJSON() ([]byte, error) { - type NoMethod Reference - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type References struct { - References []*Reference `json:"references,omitempty"` - - // ForceSendFields is a list of field names (e.g. "References") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "References") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *References) MarshalJSON() ([]byte, error) { - type NoMethod References - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// RemoveActivityRequest: Remove Logged Activity Request. -type RemoveActivityRequest struct { - // RequestOptions: Request options, such as the search application and - // clientId. - RequestOptions *RequestOptions `json:"requestOptions,omitempty"` - - // UserActivity: User Activity containing the data to be deleted. - UserActivity *UserActivity `json:"userActivity,omitempty"` - - // ForceSendFields is a list of field names (e.g. "RequestOptions") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "RequestOptions") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *RemoveActivityRequest) MarshalJSON() ([]byte, error) { - type NoMethod RemoveActivityRequest - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// RemoveActivityResponse: Remove Logged Activity Response. will return -// an empty response for now. Will be revisited in later phases. -type RemoveActivityResponse struct { - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` -} - -type RenameEvent struct { - NewName string `json:"newName,omitempty"` - - OriginalName string `json:"originalName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "NewName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "NewName") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *RenameEvent) MarshalJSON() ([]byte, error) { - type NoMethod RenameEvent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// RepositoryError: Errors when the connector is communicating to the -// source repository. -type RepositoryError struct { - // ErrorMessage: Message that describes the error. The maximum allowable - // length of the message is 8192 characters. - ErrorMessage string `json:"errorMessage,omitempty"` - - // HttpStatusCode: Error codes. Matches the definition of HTTP status - // codes. - HttpStatusCode int64 `json:"httpStatusCode,omitempty"` - - // Type: The type of error. - // - // Possible values: - // "UNKNOWN" - Unknown error. - // "NETWORK_ERROR" - Unknown or unreachable host. - // "DNS_ERROR" - DNS problem, such as the DNS server is not - // responding. - // "CONNECTION_ERROR" - Cannot connect to the repository server. - // "AUTHENTICATION_ERROR" - Failed authentication due to incorrect - // credentials. - // "AUTHORIZATION_ERROR" - Service account is not authorized for the - // repository. - // "SERVER_ERROR" - Repository server error. - // "QUOTA_EXCEEDED" - Quota exceeded. - // "SERVICE_UNAVAILABLE" - Server temporarily unavailable. - // "CLIENT_ERROR" - Client-related error, such as an invalid request - // from the connector to the repository server. - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ErrorMessage") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ErrorMessage") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *RepositoryError) MarshalJSON() ([]byte, error) { - type NoMethod RepositoryError - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type RequestFileScope struct { - ItemId string `json:"itemId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ItemId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ItemId") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *RequestFileScope) MarshalJSON() ([]byte, error) { - type NoMethod RequestFileScope - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type RequestFileScopeForActiveDocument struct { -} - -// RequestOptions: Shared request options for all RPC methods. -type RequestOptions struct { - // DebugOptions: Debug options of the request - DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - - // LanguageCode: The BCP-47 language code, such as "en-US" or "sr-Latn". - // For more information, see - // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For - // translations. Set this field using the language set in browser or for - // the page. In the event that the user's language preference is known, - // set this field to the known user language. When specified, the - // documents in search results are biased towards the specified - // language. From Suggest API perspective, for 3p suggest this is used - // as a hint while making predictions to add language boosting. - LanguageCode string `json:"languageCode,omitempty"` - - // SearchApplicationId: The ID generated when you create a search - // application using the admin console - // (https://support.google.com/a/answer/9043922). - SearchApplicationId string `json:"searchApplicationId,omitempty"` - - // TimeZone: Current user's time zone id, such as "America/Los_Angeles" - // or "Australia/Sydney". These IDs are defined by Unicode Common Locale - // Data Repository (CLDR) (http://cldr.unicode.org/) project, and - // currently available in the file timezone.xml - // (http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml). This - // field is used to correctly interpret date and time queries. If this - // field is not specified, the default time zone (UTC) is used. - TimeZone string `json:"timeZone,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DebugOptions") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DebugOptions") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *RequestOptions) MarshalJSON() ([]byte, error) { - type NoMethod RequestOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// RequiredMessageFeaturesMetadata: A list of capabilities that are used -// in this message. -type RequiredMessageFeaturesMetadata struct { - // Possible values: - // "REQUIRED_FEATURE_UNSPECIFIED" - // "REQUIRED_FEATURE_MESSAGE_QUOTING" - // "REQUIRED_FEATURE_TOMBSTONES_IN_DMS_AND_UFRS" - // "REQUIRED_FEATURE_CUSTOM_HYPERLINK" - // "REQUIRED_FEATURE_DRIVE_SMART_CHIP" - // "REQUIRED_FEATURE_LEGACY_TOPIC_START" - RequiredFeatures []string `json:"requiredFeatures,omitempty"` - - // ForceSendFields is a list of field names (e.g. "RequiredFeatures") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "RequiredFeatures") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *RequiredMessageFeaturesMetadata) MarshalJSON() ([]byte, error) { - type NoMethod RequiredMessageFeaturesMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ResetSearchApplicationRequest struct { - // DebugOptions: Common debug options. - DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DebugOptions") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DebugOptions") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ResetSearchApplicationRequest) MarshalJSON() ([]byte, error) { - type NoMethod ResetSearchApplicationRequest - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ResourceRoleProto: A type of sharing target that points to some -// resource's ACL. Used to refer to the set of Principals that have the -// given privilege ('role_id') for the given resource ('application_id', -// 'object_id', 'object_part'). The meaning of 'role_id' is interpreted -// only by implementations of AclRpcService and is usually dependent on -// 'application_id' All fields except object_part are required. If -// present, object_part must be non-empty. -type ResourceRoleProto struct { - ApplicationId string `json:"applicationId,omitempty"` - - ObjectId string `json:"objectId,omitempty"` - - ObjectPart string `json:"objectPart,omitempty"` - - RoleId int64 `json:"roleId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ApplicationId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ApplicationId") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ResourceRoleProto) MarshalJSON() ([]byte, error) { - type NoMethod ResourceRoleProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ResponseDebugInfo: Debugging information about the response. -type ResponseDebugInfo struct { - // FormattedDebugInfo: General debug info formatted for display. - FormattedDebugInfo string `json:"formattedDebugInfo,omitempty"` - - // ForceSendFields is a list of field names (e.g. "FormattedDebugInfo") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "FormattedDebugInfo") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *ResponseDebugInfo) MarshalJSON() ([]byte, error) { - type NoMethod ResponseDebugInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// RestrictItem: Information relevant only to a restrict entry. NextId: -// 12 -type RestrictItem struct { - DriveFollowUpRestrict *DriveFollowUpRestrict `json:"driveFollowUpRestrict,omitempty"` - - DriveLocationRestrict *DriveLocationRestrict `json:"driveLocationRestrict,omitempty"` - - // DriveMimeTypeRestrict: Drive Types. - DriveMimeTypeRestrict *DriveMimeTypeRestrict `json:"driveMimeTypeRestrict,omitempty"` - - DriveTimeSpanRestrict *DriveTimeSpanRestrict `json:"driveTimeSpanRestrict,omitempty"` - - // SearchOperator: The search restrict (e.g. "after:2017-09-11 - // before:2017-09-12"). - SearchOperator string `json:"searchOperator,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "DriveFollowUpRestrict") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DriveFollowUpRestrict") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *RestrictItem) MarshalJSON() ([]byte, error) { - type NoMethod RestrictItem - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ResultCounts: Result count information -type ResultCounts struct { - // SourceResultCounts: Result count information for each source with - // results. - SourceResultCounts []*SourceResultCount `json:"sourceResultCounts,omitempty"` - - // ForceSendFields is a list of field names (e.g. "SourceResultCounts") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "SourceResultCounts") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *ResultCounts) MarshalJSON() ([]byte, error) { - type NoMethod ResultCounts - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ResultDebugInfo: Debugging information about the result. -type ResultDebugInfo struct { - // FormattedDebugInfo: General debug info formatted for display. - FormattedDebugInfo string `json:"formattedDebugInfo,omitempty"` - - // ForceSendFields is a list of field names (e.g. "FormattedDebugInfo") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "FormattedDebugInfo") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *ResultDebugInfo) MarshalJSON() ([]byte, error) { - type NoMethod ResultDebugInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ResultDisplayField: Display Fields for Search Results -type ResultDisplayField struct { - // Label: The display label for the property. - Label string `json:"label,omitempty"` - - // OperatorName: The operator name of the property. - OperatorName string `json:"operatorName,omitempty"` - - // Property: The name value pair for the property. - Property *NamedProperty `json:"property,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Label") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Label") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ResultDisplayField) MarshalJSON() ([]byte, error) { - type NoMethod ResultDisplayField - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ResultDisplayLine: The collection of fields that make up a displayed -// line -type ResultDisplayLine struct { - Fields []*ResultDisplayField `json:"fields,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Fields") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Fields") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ResultDisplayLine) MarshalJSON() ([]byte, error) { - type NoMethod ResultDisplayLine - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ResultDisplayMetadata struct { - // Metalines: The metalines content to be displayed with the result. - Metalines []*ResultDisplayLine `json:"metalines,omitempty"` - - // ObjectTypeLabel: The display label for the object. - ObjectTypeLabel string `json:"objectTypeLabel,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Metalines") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Metalines") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ResultDisplayMetadata) MarshalJSON() ([]byte, error) { - type NoMethod ResultDisplayMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type RetrievalImportance struct { - // Importance: Indicates the ranking importance given to property when - // it is matched during retrieval. Once set, the token importance of a - // property cannot be changed. - // - // Possible values: - // "DEFAULT" - Treat the match like a body text match. - // "HIGHEST" - Treat the match like a match against title of the item. - // "HIGH" - Treat the match with higher importance than body text. - // "LOW" - Treat the match with lower importance than body text. - // "NONE" - Do not match against this field during retrieval. The - // property can still be used for operator matching, faceting, and - // suggest if desired. - Importance string `json:"importance,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Importance") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Importance") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *RetrievalImportance) MarshalJSON() ([]byte, error) { - type NoMethod RetrievalImportance - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type RoomRenameMetadata struct { - NewName string `json:"newName,omitempty"` - - // PrevName: NEXT_TAG: 3 - PrevName string `json:"prevName,omitempty"` - - // ForceSendFields is a list of field names (e.g. "NewName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "NewName") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *RoomRenameMetadata) MarshalJSON() ([]byte, error) { - type NoMethod RoomRenameMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type RoomUpdatedMetadata struct { - GroupDetailsMetadata *GroupDetailsUpdatedMetadata `json:"groupDetailsMetadata,omitempty"` - - GroupLinkSharingEnabled bool `json:"groupLinkSharingEnabled,omitempty"` - - // Initiator: The user who initiated this room update. Complete member - // profiles, when ListTopicsRequest FetchOptions.USER is set. Otherwise, - // only the id will be filled in. - Initiator *User `json:"initiator,omitempty"` - - // InitiatorType: The type of the user who initiated this room update. - // - // Possible values: - // "INITIATOR_TYPE_UNSPECIFIED" - // "INITIATOR_TYPE_END_USER" - // "INITIATOR_TYPE_ADMIN" - InitiatorType string `json:"initiatorType,omitempty"` - - // Name: What was updated in the room. - Name string `json:"name,omitempty"` - - RenameMetadata *RoomRenameMetadata `json:"renameMetadata,omitempty"` - - // Visibility: DEPRECATED: See GroupVisibility proto definition. - Visibility *AppsDynamiteSharedGroupVisibility `json:"visibility,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "GroupDetailsMetadata") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "GroupDetailsMetadata") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *RoomUpdatedMetadata) MarshalJSON() ([]byte, error) { - type NoMethod RoomUpdatedMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Roster: Roster profile information. -type Roster struct { - AvatarUrl string `json:"avatarUrl,omitempty"` - - Id *RosterId `json:"id,omitempty"` - - // IsMembershipVisibleToCaller: Whether caller has visibility into - // members of the roster. - IsMembershipVisibleToCaller bool `json:"isMembershipVisibleToCaller,omitempty"` - - MembershipCount int64 `json:"membershipCount,omitempty"` - - Name string `json:"name,omitempty"` - - // RosterGaiaKey: Roster gaia key, usually an email address. Set in - // looking up rosters response. - RosterGaiaKey string `json:"rosterGaiaKey,omitempty"` - - // RosterState: Roster deletion state - considered active unless set to - // deleted - // - // Possible values: - // "ROSTER_STATE_UNKNOWN" - // "ROSTER_ACTIVE" - Roster is active - // "ROSTER_DELETED" - Roster deleted - RosterState string `json:"rosterState,omitempty"` - - // SegmentedMembershipCounts: Roster membership count. May contain - // counts based on member type and membership state. - SegmentedMembershipCounts *AppsDynamiteSharedSegmentedMembershipCounts `json:"segmentedMembershipCounts,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AvatarUrl") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AvatarUrl") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Roster) MarshalJSON() ([]byte, error) { - type NoMethod Roster - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// RosterId: Primary key for Roster resource. -type RosterId struct { - // Id: Opaque, server-assigned ID of the Roster. - Id string `json:"id,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Id") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Id") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *RosterId) MarshalJSON() ([]byte, error) { - type NoMethod RosterId - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// RpcOptions: Options for Triggers dispatched via RPC. -type RpcOptions struct { - // RequestExtensions: The RPC's request extensions (i.e. - // RPC::request_extensions(), a.k.a. the Stubby side channel) will be - // merged with the specified [request_extensions]. When Triggers are - // batched, the RPC's request extensions will be merged with all of the - // [request_extensions] of the Triggers in the batch. Note that merging - // of request extensions follows standard protocol buffer semantics; - // values of singular fields override previous values, and values of - // repeated fields are appended (In the case of Triggers, Triggers with - // later fire times will be merged after Triggers with earlier fire - // times in the same batch). It is not advised to specify extensions - // with repeated fields on batchable Triggers. - RequestExtensions *MessageSet `json:"requestExtensions,omitempty"` - - // ForceSendFields is a list of field names (e.g. "RequestExtensions") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "RequestExtensions") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *RpcOptions) MarshalJSON() ([]byte, error) { - type NoMethod RpcOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SafeHtmlProto: IMPORTANT: It is unsafe to accept this message from an -// untrusted source, since it's trivial for an attacker to forge -// serialized messages that don't fulfill the type's safety contract -- -// for example, it could contain attacker controlled script. A system -// which receives a SafeHtmlProto implicitly trusts the producer of the -// SafeHtmlProto. So, it's generally safe to return this message in RPC -// responses, but generally unsafe to accept it in RPC requests. -type SafeHtmlProto struct { - // PrivateDoNotAccessOrElseSafeHtmlWrappedValue: IMPORTANT: Never set or - // read this field, even from tests, it is private. See documentation at - // the top of .proto file for programming language packages with which - // to create or read this message. - PrivateDoNotAccessOrElseSafeHtmlWrappedValue string `json:"privateDoNotAccessOrElseSafeHtmlWrappedValue,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "PrivateDoNotAccessOrElseSafeHtmlWrappedValue") to unconditionally - // include in API requests. By default, fields with empty or default - // values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. - // "PrivateDoNotAccessOrElseSafeHtmlWrappedValue") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SafeHtmlProto) MarshalJSON() ([]byte, error) { - type NoMethod SafeHtmlProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SafeUrlProto: Message containing a string that is safe to use in URL -// contexts in DOM APIs and HTML documents, where the URL context does -// not refer to a resource that loads code. -type SafeUrlProto struct { - // PrivateDoNotAccessOrElseSafeUrlWrappedValue: IMPORTANT: Never set or - // read this field, even from tests, it is private. See documentation at - // the top of .proto file for programming language packages with which - // to create or read this message. - PrivateDoNotAccessOrElseSafeUrlWrappedValue string `json:"privateDoNotAccessOrElseSafeUrlWrappedValue,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "PrivateDoNotAccessOrElseSafeUrlWrappedValue") to unconditionally - // include in API requests. By default, fields with empty or default - // values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. - // "PrivateDoNotAccessOrElseSafeUrlWrappedValue") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SafeUrlProto) MarshalJSON() ([]byte, error) { - type NoMethod SafeUrlProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Schema: The schema definition for a data source. -type Schema struct { - // ObjectDefinitions: The list of top-level objects for the data source. - // The maximum number of elements is 10. - ObjectDefinitions []*ObjectDefinition `json:"objectDefinitions,omitempty"` - - // OperationIds: IDs of the Long Running Operations (LROs) currently - // running for this schema. After modifying the schema, wait for - // operations to complete before indexing additional content. - OperationIds []string `json:"operationIds,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "ObjectDefinitions") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ObjectDefinitions") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *Schema) MarshalJSON() ([]byte, error) { - type NoMethod Schema - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// ScoringConfig: Scoring configurations for a source while processing a -// Search or Suggest request. -type ScoringConfig struct { - // DisableFreshness: Whether to use freshness as a ranking signal. By - // default, freshness is used as a ranking signal. Note that this - // setting is not available in the Admin UI. - DisableFreshness bool `json:"disableFreshness,omitempty"` - - // DisablePersonalization: Whether to personalize the results. By - // default, personal signals will be used to boost results. - DisablePersonalization bool `json:"disablePersonalization,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DisableFreshness") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DisableFreshness") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *ScoringConfig) MarshalJSON() ([]byte, error) { - type NoMethod ScoringConfig - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SearchApplication: SearchApplication -type SearchApplication struct { - // DataSourceRestrictions: Retrictions applied to the configurations. - // The maximum number of elements is 10. - DataSourceRestrictions []*DataSourceRestriction `json:"dataSourceRestrictions,omitempty"` - - // DefaultFacetOptions: The default fields for returning facet results. - // The sources specified here also have been included in - // data_source_restrictions above. - DefaultFacetOptions []*FacetOptions `json:"defaultFacetOptions,omitempty"` - - // DefaultSortOptions: The default options for sorting the search - // results - DefaultSortOptions *SortOptions `json:"defaultSortOptions,omitempty"` - - // DisplayName: Display name of the Search Application. The maximum - // length is 300 characters. - DisplayName string `json:"displayName,omitempty"` - - // EnableAuditLog: Indicates whether audit logging is on/off for - // requests made for the search application in query APIs. - EnableAuditLog bool `json:"enableAuditLog,omitempty"` - - // Name: The name of the Search Application. Format: - // searchapplications/{application_id}. - Name string `json:"name,omitempty"` - - // OperationIds: Output only. IDs of the Long Running Operations (LROs) - // currently running for this schema. Output only field. - OperationIds []string `json:"operationIds,omitempty"` - - // QueryInterpretationConfig: The default options for query - // interpretation - QueryInterpretationConfig *QueryInterpretationConfig `json:"queryInterpretationConfig,omitempty"` - - // ReturnResultThumbnailUrls: With each result we should return the URI - // for its thumbnail (when applicable) - ReturnResultThumbnailUrls bool `json:"returnResultThumbnailUrls,omitempty"` - - // ScoringConfig: Configuration for ranking results. - ScoringConfig *ScoringConfig `json:"scoringConfig,omitempty"` - - // SourceConfig: Configuration for a sources specified in - // data_source_restrictions. - SourceConfig []*SourceConfig `json:"sourceConfig,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. - // "DataSourceRestrictions") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DataSourceRestrictions") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *SearchApplication) MarshalJSON() ([]byte, error) { - type NoMethod SearchApplication - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SearchApplicationQueryStats: Search application level query stats per -// date -type SearchApplicationQueryStats struct { - // Date: The date for which query stats were calculated. Stats - // calculated on the next day close to midnight are returned. - Date *Date `json:"date,omitempty"` - - QueryCountByStatus []*QueryCountByStatus `json:"queryCountByStatus,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Date") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Date") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SearchApplicationQueryStats) MarshalJSON() ([]byte, error) { - type NoMethod SearchApplicationQueryStats - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type SearchApplicationSessionStats struct { - // Date: The date for which session stats were calculated. Stats are - // calculated on the following day, close to midnight PST, and then - // returned. - Date *Date `json:"date,omitempty"` - - // SearchSessionsCount: The count of search sessions on the day - SearchSessionsCount int64 `json:"searchSessionsCount,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "Date") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Date") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SearchApplicationSessionStats) MarshalJSON() ([]byte, error) { - type NoMethod SearchApplicationSessionStats - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type SearchApplicationUserStats struct { - // Date: The date for which session stats were calculated. Stats - // calculated on the next day close to midnight are returned. - Date *Date `json:"date,omitempty"` - - // OneDayActiveUsersCount: The count of unique active users in the past - // one day - OneDayActiveUsersCount int64 `json:"oneDayActiveUsersCount,omitempty,string"` - - // SevenDaysActiveUsersCount: The count of unique active users in the - // past seven days - SevenDaysActiveUsersCount int64 `json:"sevenDaysActiveUsersCount,omitempty,string"` - - // ThirtyDaysActiveUsersCount: The count of unique active users in the - // past thirty days - ThirtyDaysActiveUsersCount int64 `json:"thirtyDaysActiveUsersCount,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "Date") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Date") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SearchApplicationUserStats) MarshalJSON() ([]byte, error) { - type NoMethod SearchApplicationUserStats - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type SearchItemsByViewUrlRequest struct { - // DebugOptions: Common debug options. - DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - - // PageToken: The next_page_token value returned from a previous - // request, if any. - PageToken string `json:"pageToken,omitempty"` - - // ViewUrl: Specify the full view URL to find the corresponding item. - // The maximum length is 2048 characters. - ViewUrl string `json:"viewUrl,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DebugOptions") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DebugOptions") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SearchItemsByViewUrlRequest) MarshalJSON() ([]byte, error) { - type NoMethod SearchItemsByViewUrlRequest - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type SearchItemsByViewUrlResponse struct { - Items []*Item `json:"items,omitempty"` - - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "Items") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SearchItemsByViewUrlResponse) MarshalJSON() ([]byte, error) { - type NoMethod SearchItemsByViewUrlResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SearchLinkData: SearchLink metadata, for SEARCH_LINK segments. For a -// search link, the "text" field should contain the display text. This -// is currently not indexed. -type SearchLinkData struct { - // KgEntityConfidence: For lightweight scoring in serving time. - KgEntityConfidence float64 `json:"kgEntityConfidence,omitempty"` - - // Mid: MID of the KG entity being linked. - Mid string `json:"mid,omitempty"` - - QueryBroadnessScore float64 `json:"queryBroadnessScore,omitempty"` - - // ForceSendFields is a list of field names (e.g. "KgEntityConfidence") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "KgEntityConfidence") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *SearchLinkData) MarshalJSON() ([]byte, error) { - type NoMethod SearchLinkData - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -func (s *SearchLinkData) UnmarshalJSON(data []byte) error { - type NoMethod SearchLinkData - var s1 struct { - KgEntityConfidence gensupport.JSONFloat64 `json:"kgEntityConfidence"` - QueryBroadnessScore gensupport.JSONFloat64 `json:"queryBroadnessScore"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.KgEntityConfidence = float64(s1.KgEntityConfidence) - s.QueryBroadnessScore = float64(s1.QueryBroadnessScore) - return nil -} - -// SearchQualityMetadata: Additional search quality metadata of the -// item. -type SearchQualityMetadata struct { - // Quality: An indication of the quality of the item, used to influence - // search quality. Value should be between 0.0 (lowest quality) and 1.0 - // (highest quality). The default value is 0.0. - Quality float64 `json:"quality,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Quality") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Quality") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SearchQualityMetadata) MarshalJSON() ([]byte, error) { - type NoMethod SearchQualityMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -func (s *SearchQualityMetadata) UnmarshalJSON(data []byte) error { - type NoMethod SearchQualityMetadata - var s1 struct { - Quality gensupport.JSONFloat64 `json:"quality"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Quality = float64(s1.Quality) - return nil -} - -// SearchRequest: The search API request. -type SearchRequest struct { - // ContextAttributes: Context attributes for the request which will be - // used to adjust ranking of search results. The maximum number of - // elements is 10. - ContextAttributes []*ContextAttribute `json:"contextAttributes,omitempty"` - - // DataSourceRestrictions: The sources to use for querying. If not - // specified, all data sources from the current search application are - // used. - DataSourceRestrictions []*DataSourceRestriction `json:"dataSourceRestrictions,omitempty"` - - FacetOptions []*FacetOptions `json:"facetOptions,omitempty"` - - // PageSize: Maximum number of search results to return in one page. - // Valid values are between 1 and 100, inclusive. Default value is 10. - // Minimum value is 50 when results beyond 2000 are requested. - PageSize int64 `json:"pageSize,omitempty"` - - // Query: The raw query string. See supported search operators in the - // Narrow your search with operators - // (https://support.google.com/cloudsearch/answer/6172299) - Query string `json:"query,omitempty"` - - // QueryInterpretationOptions: Options to interpret the user query. - QueryInterpretationOptions *QueryInterpretationOptions `json:"queryInterpretationOptions,omitempty"` - - // RequestOptions: Request options, such as the search application and - // user timezone. - RequestOptions *RequestOptions `json:"requestOptions,omitempty"` - - // SortOptions: The options for sorting the search results - SortOptions *SortOptions `json:"sortOptions,omitempty"` - - // Start: Starting index of the results. - Start int64 `json:"start,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ContextAttributes") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ContextAttributes") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *SearchRequest) MarshalJSON() ([]byte, error) { - type NoMethod SearchRequest - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SearchResponse: The search API response. -type SearchResponse struct { - // DebugInfo: Debugging information about the response. - DebugInfo *ResponseDebugInfo `json:"debugInfo,omitempty"` - - // ErrorInfo: Error information about the response. - ErrorInfo *ErrorInfo `json:"errorInfo,omitempty"` - - // FacetResults: Repeated facet results. - FacetResults []*FacetResult `json:"facetResults,omitempty"` - - // HasMoreResults: Whether there are more search results matching the - // query. - HasMoreResults bool `json:"hasMoreResults,omitempty"` - - // QueryInterpretation: Query interpretation result for user query. - // Empty if query interpretation is disabled. - QueryInterpretation *QueryInterpretation `json:"queryInterpretation,omitempty"` - - // ResultCountEstimate: The estimated result count for this query. - ResultCountEstimate int64 `json:"resultCountEstimate,omitempty,string"` - - // ResultCountExact: The exact result count for this query. - ResultCountExact int64 `json:"resultCountExact,omitempty,string"` - - // ResultCounts: Expanded result count information. - ResultCounts *ResultCounts `json:"resultCounts,omitempty"` - - // Results: Results from a search query. - Results []*SearchResult `json:"results,omitempty"` - - // SpellResults: Suggested spelling for the query. - SpellResults []*SpellResult `json:"spellResults,omitempty"` - - // StructuredResults: Structured results for the user query. These - // results are not counted against the page_size. - StructuredResults []*StructuredResult `json:"structuredResults,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "DebugInfo") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DebugInfo") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SearchResponse) MarshalJSON() ([]byte, error) { - type NoMethod SearchResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SearchResult: Results containing indexed information for a document. -type SearchResult struct { - // ClusteredResults: If source is clustered, provide list of clustered - // results. There will only be one level of clustered results. If - // current source is not enabled for clustering, this field will be - // empty. - ClusteredResults []*SearchResult `json:"clusteredResults,omitempty"` - - // DebugInfo: Debugging information about this search result. - DebugInfo *ResultDebugInfo `json:"debugInfo,omitempty"` - - // Metadata: Metadata of the search result. - Metadata *Metadata `json:"metadata,omitempty"` - - // Snippet: The concatenation of all snippets (summaries) available for - // this result. - Snippet *Snippet `json:"snippet,omitempty"` - - // Title: Title of the search result. - Title string `json:"title,omitempty"` - - // Url: The URL of the search result. The URL contains a Google redirect - // to the actual item. This URL is signed and shouldn't be changed. - Url string `json:"url,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ClusteredResults") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ClusteredResults") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *SearchResult) MarshalJSON() ([]byte, error) { - type NoMethod SearchResult - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Section: Sections are separated by a line divider. They contain a -// collection of widgets that are rendered (vertically) in the order -// that they are specified. Across all platforms, AddOns have a narrow -// fixed width, so there is currently no need for layout properties -// (e.g. float). -type Section struct { - // Collapsable: Indicating whether this section is collapsable. If a - // section is collapsable, the description must be given. - Collapsable bool `json:"collapsable,omitempty"` - - // Description: The header of the section, text formatted supported. - Description string `json:"description,omitempty"` - - // NumUncollapsableWidgets: The number of uncollapsable widgets. For - // example, when a section contains 5 widgets and the - // num_uncollapsable_widget are set to be 2, The first 2 widgets will - // always shown and the last 3 is collapsed as default. Only when - // collapsable is set to be true, the num_uncollapsable_widget will be - // taken into account. - NumUncollapsableWidgets int64 `json:"numUncollapsableWidgets,omitempty"` - - // Widgets: A section must contain at least 1 widget. - Widgets []*WidgetMarkup `json:"widgets,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Collapsable") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Collapsable") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Section) MarshalJSON() ([]byte, error) { - type NoMethod Section - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type Segment struct { - // Formatting: Formatting to be applied when rendering the Segment. For - // all segment types, this is the standard way of representing that the - // Segment should be rendered in bold, italics, etc. - Formatting *Formatting `json:"formatting,omitempty"` - - // HashtagData: For HASHTAG type: - HashtagData *HashtagData `json:"hashtagData,omitempty"` - - // LinkData: Type-specific metadata. At most one of these should be - // populated, and the one that is populated should correspond to the - // type of the Segment. For LINK type: - LinkData *LinkData `json:"linkData,omitempty"` - - // SearchLinkData: For SEARCH_LINK type: - SearchLinkData *SearchLinkData `json:"searchLinkData,omitempty"` - - // Text: Text content of the Segment. As a general rule, this field - // should contain the actual text that should be rendered in the UI. - // Thus, for a hashtag, it should be "#Foo", and for a link, it should - // be the display text. Clients that do not understand a particular - // segment type may use this text, along with the Formatting info below, - // as a fallback for display. The field is not required -- if all - // relevant information is carried in other metadata fields and there is - // no need for a fallback, or it is not practical for a fallback to be - // provided for any other reason, the field may be left blank. A - // standard example would be a user reference being transmitted between - // server layers, where a gaia-ID representation may be sufficient and - // there is no need for a textual fallback. In such a case, it would be - // valid and useful - though not required - for servers to compute and - // populate a fallback on the serving path. - Text string `json:"text,omitempty"` - - // Type: Type of Segment. - // - // Possible values: - // "TEXT" - A TEXT segment represents plain-text subject to particular - // formatting constraints (as represented in the "formatting" field of - // the Segment). - // "LINE_BREAK" - A LINE_BREAK segment is simply a placeholder to - // represent a line break between other segments. The "text" variable - // may be set to a newline as a fallback, but clients that understand - // this segment type should simply insert a line break without needing - // to reference any fields. - // "LINK" - A LINK segment represents a link to a web entity. The - // "text" field should be used for anchor text. Additional link data - // should be put in the link_data protobuf. - // "USER_MENTION" - A USER_MENTION segment represents a reference to a - // (possibly non-Gaia, possibly off-network) user. The "text" field may - // be populated as a fallback, but information identifying the user - // should be contained in the user_mention_data protobuf. (The set of - // fields that are populated in user_mention_data may differ depending - // on the context in which the segment is viewed, but the interpretation - // of the fields is uniform. See comments over UserMentionData). - // "ALL_USER_MENTION" - An ALL_USER_MENTION segment represents a - // reference to all users in the context, that is, the conversation, - // discussion, or other context containing the segment. For example, an - // ALL_USER_MENTION segment ("@all") can be useful to ping all - // participants in a conversation if the notification setting of the - // conversation is not set to ping on normal messages. An - // ALL_USER_MENTION should be treated as a USER_MENTION for all users - // who receives the segment. - // "HASHTAG" - A HASHTAG segment represents a structured reference to - // a topic. The "text" field should represent display text (e.g. - // "#Google"), and additional metadata should be put in the Segment's - // hashtag_data field. - // "SEARCH_LINK" - A SEARCH_LINK segment respresents a link to search - // results for a KG entity. The "text" field should represent the part - // of the comment where the KG entity is extracted from, and additional - // metadata of the entity should be put in the Segment's - // search_link_data field. - Type string `json:"type,omitempty"` - - // UserMentionData: For USER_MENTION type: - UserMentionData *UserMentionData `json:"userMentionData,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Formatting") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Formatting") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Segment) MarshalJSON() ([]byte, error) { - type NoMethod Segment - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type SelectionControl struct { - // Items: For radio button, at most one of the items will be selected. - Items []*SelectionItem `json:"items,omitempty"` - - // Label: Label used to be displayed ahead of the selection control. It - // is optional. - Label string `json:"label,omitempty"` - - // Name: The name of the text field which is will be used in FormInput. - Name string `json:"name,omitempty"` - - // OnChange: If specified, form is submitted when selection changed. If - // not specified, developer will need to specify a separate button. - OnChange *FormAction `json:"onChange,omitempty"` - - // Possible values: - // "CHECK_BOX" - // "RADIO_BUTTON" - // "SWITCH" - // "DROPDOWN" - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Items") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SelectionControl) MarshalJSON() ([]byte, error) { - type NoMethod SelectionControl - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type SelectionItem struct { - // Selected: If more than one items are selected for RADIO_BUTTON and - // DROPDOWN, the first selected item is treated as sElected and the - // after ones are all ignored. - Selected bool `json:"selected,omitempty"` - - // Text: The text to be displayed. - Text string `json:"text,omitempty"` - - // Value: The value associated with this item which will be sent back to - // app scripts. Client should use as a form input value. - Value string `json:"value,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Selected") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Selected") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SelectionItem) MarshalJSON() ([]byte, error) { - type NoMethod SelectionItem - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type SessionContext struct { - // AuthTime: Time at which this activity's session was authenticated, in - // seconds since the epoch. - AuthTime int64 `json:"authTime,omitempty,string"` - - // DelegateUserId: Gaia ID of the authenticated user when delegate - // access is active. In such sessions the main gaia ID is that of the - // delegator, i.e. the account being accessed. - DelegateUserId int64 `json:"delegateUserId,omitempty,string"` - - // Dusi: Device User Session ID, see go/dusi. - Dusi string `json:"dusi,omitempty"` - - // ImapSessionContext: Imap session context for Bond/Gmail integration - ImapSessionContext *ImapSessionContext `json:"imapSessionContext,omitempty"` - - // OauthLoginId: OAuth login ID. - OauthLoginId int64 `json:"oauthLoginId,omitempty"` - - // OauthProjectId: The devconsole project ID of the developer who - // authenticated with OAuth. - OauthProjectId int64 `json:"oauthProjectId,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "AuthTime") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AuthTime") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SessionContext) MarshalJSON() ([]byte, error) { - type NoMethod SessionContext - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SessionEvent: A session event is something that happens to the -// streaming session in a conference. -type SessionEvent struct { - // DeviceId: The initiator of the latest event of the streaming session. - // It will be set for all user events (`type` is 100-199) and unset for - // all server events(`type` is 200-299). - DeviceId string `json:"deviceId,omitempty"` - - // Type: The type of event. - // - // Possible values: - // "EVENT_UNSPECIFIED" - This is never used. - // "STARTED_BY_USER" - Streaming session was started or is being - // started by a user. - // "STOPPED_BY_USER" - Streaming session was stopped by a user. - // "CANCELLED_BY_USER" - Streaming session was cancelled by a user. - // "CANCELLED_INITIALIZATION_FAILED" - Streaming session was cancelled - // by the server because of a failure during session initialization. - // "CANCELLED_INITIATOR_LEFT" - Streaming session was cancelled by the - // server because the session initiator left the conference during - // initialization. When the initiator leaves after the session is - // started, no event is triggered. - // "ACTIVE_ABOUT_TO_STOP_TOO_LONG" - Streaming session is about to be - // stopped by the server because the session is about to reach the - // maximum duration. - // "STOPPED_TOO_LONG" - Streaming session was stopped because the - // session reached the maximum duration. - // "STOPPED_ALL_DEVICES_LEFT" - Streaming session was stopped because - // there were no devices left in the conference. - // "STOPPED_INTERNAL_FAILURES" - Streaming session was stopped because - // of an internal error. - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DeviceId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DeviceId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SessionEvent) MarshalJSON() ([]byte, error) { - type NoMethod SessionEvent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SessionStateInfo: Information about the state of a (recording, -// broadcast, transcription...) session in a conference. -type SessionStateInfo struct { - // AckInfo: Output only. The ack info of the session. - AckInfo *AckInfo `json:"ackInfo,omitempty"` - - // LanguageConfig: Immutable. The language configuration used by this - // session. When empty, captions will be disabled. It's a required field - // for transcription sessions. - LanguageConfig *LanguageConfig `json:"languageConfig,omitempty"` - - // LastActorDeviceId: Output only. The device id of the actor is set if - // the current state is a result of a user action, is empty otherwise. - LastActorDeviceId string `json:"lastActorDeviceId,omitempty"` - - // MaxEndTime: Output only. The max end time of the session, at this - // time the session will be force stopped/terminated. Clients are - // expected to use this timestamp to warn users about the force stop. - MaxEndTime string `json:"maxEndTime,omitempty"` - - // SessionState: State of the session. - // - // Possible values: - // "SESSION_STATE_UNSPECIFIED" - Unspecified session state. - // "STARTING" - The session is starting. - // "ACTIVE" - The session is active/ongoing. - // "STOPPED" - The session has stopped. - SessionState string `json:"sessionState,omitempty"` - - // SessionStopReason: Output only. The reason the session was - // transitioned to STOPPED state. - // - // Possible values: - // "SESSION_STOP_REASON_UNSPECIFIED" - Session stop reason - // unspecified. - // "USER_ACTION" - Stopped by user action. - // "STOPPED_INITIALIZATION_FAILED" - Stopped by the server because of - // an initialization failure. - // "STOPPED_TOO_LONG" - Stopped because the session reached the - // maximum duration. - // "STOPPED_ALL_DEVICES_LEFT" - Stopped because there were no devices - // left in the conference. - // "STOPPED_INTERNAL_FAILURES" - Stopped because of an internal error. - // "STOPPED_YOU_TUBE_LIVE_EVENT_ENDED" - Stopped because the broadcast - // event ended on YouTube. - SessionStopReason string `json:"sessionStopReason,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AckInfo") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AckInfo") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SessionStateInfo) MarshalJSON() ([]byte, error) { - type NoMethod SessionStateInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Settings: Settings of a meeting space that can be edited by users -// with corresponding manage privilege. These settings are always -// populated in responses. -type Settings struct { - // AccessLock: The access lock of the meeting space that lets hosts - // control who can join the meeting. - AccessLock bool `json:"accessLock,omitempty"` - - // AccessType: The access type of the meeting space. - // - // Possible values: - // "ACCESS_TYPE_UNSPECIFIED" - Default value. This value is unused. - // "ACCESS_TYPE_OPEN" - Anyone with meeting join information (url, - // phone access...) can join, no knocking required. (Subject to - // organization policies) - // "ACCESS_TYPE_TRUSTED" - Members of the Host's organization, invited - // external users, and dial-in users can join without knocking, everyone - // else must knock. (Subject to organization policies) - // "ACCESS_TYPE_RESTRICTED" - Only participants invited by a host can - // automatically join, everyone else must knock and be admitted. - // (Subject to organization policies) Participants cannot dial out from - // the meeting. And only hosts can accept knocks. - // "ACCESS_TYPE_CLOSED" - Only participants invited by a host can - // join. Knocking is not allowed, dial in and dial out are also - // disabled. - AccessType string `json:"accessType,omitempty"` - - // AllowJoiningBeforeHost: Whether users can join before host in the - // conferences of this meeting space. - AllowJoiningBeforeHost bool `json:"allowJoiningBeforeHost,omitempty"` - - // AttendanceReportEnabled: Whether attendance report is enabled for the - // meeting space. - AttendanceReportEnabled bool `json:"attendanceReportEnabled,omitempty"` - - // ChatLock: The chat lock of the meeting space that lets owner control - // whether the participants can send chat messages. - ChatLock bool `json:"chatLock,omitempty"` - - // CoActivityLock: The co-activity lock of the meeting space that lets - // owner control whether the participants can start/stop or update the - // state of co-activity. - CoActivityLock bool `json:"coActivityLock,omitempty"` - - // CohostArtifactSharingEnabled: Whether meeting artifacts will be - // shared with cohosts. - CohostArtifactSharingEnabled bool `json:"cohostArtifactSharingEnabled,omitempty"` - - // CseEnabled: Whether Client-side Encryption is enabled for the meeting - // space. - CseEnabled bool `json:"cseEnabled,omitempty"` - - // DefaultAsViewer: Whether the default role is viewer or not. - DefaultAsViewer bool `json:"defaultAsViewer,omitempty"` - - // ModerationEnabled: Indicates whether the meeting space is moderated. - ModerationEnabled bool `json:"moderationEnabled,omitempty"` - - // PresentLock: The present lock of the meeting space that lets owner - // control whether the participants can present their screen. - PresentLock bool `json:"presentLock,omitempty"` - - // ReactionsLock: The reactions lock of the meeting space that lets - // owner control whether the participants can send reactions. - ReactionsLock bool `json:"reactionsLock,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AccessLock") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "AccessLock") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Settings) MarshalJSON() ([]byte, error) { - type NoMethod Settings - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type ShareScope struct { - // Domain: If scope is DOMAIN, this field contains the dasher domain, - // for example "google.com". - Domain string `json:"domain,omitempty"` - - // Scope: The scope to which the content was shared. - // - // Possible values: - // "UNKNOWN" - // "PRIVATE" - Only the author can view the post. - // "LIMITED" - Viewable only by a set of people. - // "EXTENDED" - Viewable by extended circles. - // "DASHER_DOMAIN" - // "PUBLIC" - Scope string `json:"scope,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Domain") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Domain") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *ShareScope) MarshalJSON() ([]byte, error) { - type NoMethod ShareScope - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type SheetsClientActionMarkup struct { - CustomFunctionReturnValueMarkup *CustomFunctionReturnValueMarkup `json:"customFunctionReturnValueMarkup,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "CustomFunctionReturnValueMarkup") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. - // "CustomFunctionReturnValueMarkup") to include in API requests with - // the JSON null value. By default, fields with empty values are omitted - // from API requests. However, any field with an empty value appearing - // in NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SheetsClientActionMarkup) MarshalJSON() ([]byte, error) { - type NoMethod SheetsClientActionMarkup - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SigningKeyPossessorProto: Represents a principal who possesses a -// signing key corresponding to the verification key or keyset described -// here. -type SigningKeyPossessorProto struct { - // KeymasterKeyType: This value must be from the KeyMetadata.Type enum - // in keymaster.proto. - KeymasterKeyType int64 `json:"keymasterKeyType,omitempty"` - - // SerializedVerificationKey: The actual verification key bytes - // corresponding to the above type. - SerializedVerificationKey string `json:"serializedVerificationKey,omitempty"` - - // SerializedVerificationKeyset: The binary serialized Keymaster - // SerializedReader of a public keyset. The keyset must contain exactly - // one key. N.B.: If this field is populated, - // serialized_verification_key should be set to the empty string and - // keymaster_key_type should be set to zero. - SerializedVerificationKeyset string `json:"serializedVerificationKeyset,omitempty"` - - // ForceSendFields is a list of field names (e.g. "KeymasterKeyType") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "KeymasterKeyType") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *SigningKeyPossessorProto) MarshalJSON() ([]byte, error) { - type NoMethod SigningKeyPossessorProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SimpleSecretHolderProto: Represents a principal which possesses a -// particular, presumably secret, string. Useful for things like "auth -// keys," used for anonymous sharing. Since representing this principal -// with the actual secret included reveals the secret, it's best if the -// requisite condition is enforced in some other way, for example via -// Keystore wrapping attributes (Keystore will unwrap only if the -// specified secret, aka "attribute", is presented). All that's stored -// here is an identifying label. -type SimpleSecretHolderProto struct { - // Label: A descriptive label to help identify a relevant ACL entry or - // otherwise disambiguate this instance. - Label *SimpleSecretLabelProto `json:"label,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Label") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Label") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SimpleSecretHolderProto) MarshalJSON() ([]byte, error) { - type NoMethod SimpleSecretHolderProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SimpleSecretLabelProto: SimpleSecretProto (in authenticator.proto) -// and SimpleSecretHolderProto (below) share the notion of a "label", -// which identifies a particular secret without (hopefully) revealing -// the secret. Note that a SimpleSecretLabel only disambiguates between -// secrets used to get access to some particular object. Two different -// secrets that apply to two different objects could have the same -// label. For example, in the common sharing model, each object has no -// more than one "auth key". Therefore, the label for an auth key simply -// has type = AUTH_KEY with no additional information. In theory, we -// could add some sort of resource ID to SimpleSecretLabel to make it -// more explicit. However, in practice, this is never really needed. A -// SimpleSecret for one object is never used to authorize a request on -// some other object, so there is no ambiguity. Also, since -// SimpleSecrets must obviously be unguessable, there is no risk that a -// SimpleSecret intended for one object will accidentally grant access -// to another. -type SimpleSecretLabelProto struct { - // CapabilityId: ***DEPRECATED (3-Oct-2011) *** This field should be - // deleted when code stops using CAP_TOKEN labels. Used when type = - // CAP_TOKEN. When a CAP_TOKEN label appears in a SimpleSecretHolder - // Principal, |capability_id| must be filled in to identify one of the - // capabilities on the ACL. When a CAP_TOKEN label appears in a - // SimpleSecret Authenticator, it is NOT necessary to fill in - // |capability_id| -- ACL Service will find the ID by searching all - // capabilities on the ACL for one associated with the token given by - // the SimpleSecret's secret data. If |capability_id| is specified, - // though, then the Authenticator will only be accepted if it actually - // matches that particular token ID. - CapabilityId int64 `json:"capabilityId,omitempty"` - - // GenericLabel: Used when type = GENERIC_SECRET - GenericLabel string `json:"genericLabel,omitempty"` - - // InviteId: Used when type == INVITE. - InviteId int64 `json:"inviteId,omitempty,string"` - - // Type: This is optional because required enums cannot be extended. - // - // Possible values: - // "INVALID" - Used as a default value. - // "AUTH_KEY" - The singleton auth key for a common-sharing ACL. No - // other fields of SimpleSecretLabelProto need to be filled in, since - // there is only one of these per ACL. The corresponding secret is the - // auth key encoded in 64-bit big-endian. - // "INVITE" - A common-sharing invite token. |invite_id| (below) must - // be set to identify the invite. The corresponding secret is the - // SecretMaterial, as defined by InviteToken.SecretMaterial in - // acl.proto, encoded in 64-bit big-endian. If there is no - // SecretMaterial, the secret should be omitted; in this case the invite - // ID itself is the secret, which is less secure. - // "GENERIC_SECRET" - A generic secret value. Do not use this if any - // more specific type is appropriate. - // "CAP_TOKEN" - ***DEPRECATED (3-Oct-2011)*** Use the new - // CapTokenProto and CapTokenHolderProto instead. A capability token. - // The corresponding secret is an arbitrary-length random byte string - // (recommended: 128 bits). |capability_id| may be filled in (see - // below). See CapTokenMetadata in acl.proto. - // "REKE" - Identifies a principal that can perform a successful REKE - // handshake. The holder is not authenticated by presenting a - // SimpleSecretProto, but rather by knowing either the REKE resumption - // ticket secret or the private key corresponding to a public key - // specified outside the PrincipalProto. For more information, see: - // http://goto.google.com/loas2cert - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CapabilityId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "CapabilityId") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SimpleSecretLabelProto) MarshalJSON() ([]byte, error) { - type NoMethod SimpleSecretLabelProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SlashCommandMetadata: Annotation metadata for slash commands (/). -type SlashCommandMetadata struct { - // ArgumentsHint: Hint string for the arguments expected by the slash - // command. - ArgumentsHint string `json:"argumentsHint,omitempty"` - - // CommandId: Unique id for the slash command. - CommandId int64 `json:"commandId,omitempty,string"` - - // CommandName: Name of the slash command. - CommandName string `json:"commandName,omitempty"` - - // Id: ID of the bot which owns the slash command. - Id *UserId `json:"id,omitempty"` - - // TriggersDialog: Whether or not this slash command should trigger a - // dialog. - TriggersDialog bool `json:"triggersDialog,omitempty"` - - // Possible values: - // "TYPE_UNSPECIFIED" - Default value for the enum. DO NOT USE. - // "ADD" - If a bot is added by a Slash Command, it means the bot was - // invoked by the user but hasn't yet been added to the group. Attaching - // an ADD annotation both add and invoke the bot. - // "INVOKE" - // "FAILED_TO_ADD" - Server-generated slash command metadata, for - // clients to strikethrough. - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ArgumentsHint") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ArgumentsHint") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SlashCommandMetadata) MarshalJSON() ([]byte, error) { - type NoMethod SlashCommandMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Snippet: Snippet of the search result, which summarizes the content -// of the resulting page. -type Snippet struct { - // MatchRanges: The matched ranges in the snippet. - MatchRanges []*MatchRange `json:"matchRanges,omitempty"` - - // Snippet: The snippet of the document. The snippet of the document. - // May contain escaped HTML character that should be unescaped prior to - // rendering. - Snippet string `json:"snippet,omitempty"` - - // ForceSendFields is a list of field names (e.g. "MatchRanges") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "MatchRanges") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Snippet) MarshalJSON() ([]byte, error) { - type NoMethod Snippet - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SocialCommonAttachmentAttachment: An Attachment represents a linked -// entity associated with a piece of social content. This may be a -// 1st-party or 3rd-party entity. In the Papyrus context, an Attachment -// is part of a Cent, and sits alongside the main content of the cent, -// which is represented as a sequence of Segments. Right now an -// Attachment is just a wrapper around an Embed, but we provide the -// extra layer of abstraction since, as Embeds move to separate storage -// in Briefcase, we may want to add additional fields that are not part -// of the Embed proper, but that (for example) relate to the usage of -// the linked content within the particular post/cent. -type SocialCommonAttachmentAttachment struct { - // EmbedItem: An embed represents an external entity. See go/es-embeds. - EmbedItem *EmbedClientItem `json:"embedItem,omitempty"` - - // Id: An id to uniquely identify an attachment when several attachments - // are in a collection. - Id string `json:"id,omitempty"` - - // ForceSendFields is a list of field names (e.g. "EmbedItem") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "EmbedItem") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SocialCommonAttachmentAttachment) MarshalJSON() ([]byte, error) { - type NoMethod SocialCommonAttachmentAttachment - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SocialGraphNodeProto: Represents a user pseudonym. Pseudonyms are -// linked accounts on Google and third-party services (e.g. YouTube or -// Twitter) and are described by a Social Graph Node. -type SocialGraphNodeProto struct { - // SgnDomain: The fields from - // ccc/socialgraph/socialgraphnode.proto:SgnNode that uniquely identify - // a social graph node. The 'ident' field is not included here because - // its value can be changed. - SgnDomain string `json:"sgnDomain,omitempty"` - - SgnPk string `json:"sgnPk,omitempty"` - - // ForceSendFields is a list of field names (e.g. "SgnDomain") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "SgnDomain") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SocialGraphNodeProto) MarshalJSON() ([]byte, error) { - type NoMethod SocialGraphNodeProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type SortOptions struct { - // OperatorName: The name of the operator corresponding to the field to - // sort on. The corresponding property must be marked as sortable. - OperatorName string `json:"operatorName,omitempty"` - - // SortOrder: Ascending is the default sort order - // - // Possible values: - // "ASCENDING" - // "DESCENDING" - SortOrder string `json:"sortOrder,omitempty"` - - // ForceSendFields is a list of field names (e.g. "OperatorName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "OperatorName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SortOptions) MarshalJSON() ([]byte, error) { - type NoMethod SortOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Source: Defines sources for the suggest/search APIs. -type Source struct { - // Name: Source name for content indexed by the Indexing API. - Name string `json:"name,omitempty"` - - // PredefinedSource: Predefined content source for Google Apps. - // - // Possible values: - // "NONE" - // "QUERY_HISTORY" - Suggests queries issued by the user in the past. - // Only valid when used with the suggest API. Ignored when used in the - // query API. - // "PERSON" - Suggests people in the organization. Only valid when - // used with the suggest API. Results in an error when used in the query - // API. - // "GOOGLE_DRIVE" - // "GOOGLE_GMAIL" - // "GOOGLE_SITES" - // "GOOGLE_GROUPS" - // "GOOGLE_CALENDAR" - // "GOOGLE_KEEP" - PredefinedSource string `json:"predefinedSource,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Name") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Name") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Source) MarshalJSON() ([]byte, error) { - type NoMethod Source - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SourceConfig: Configurations for a source while processing a Search -// or Suggest request. -type SourceConfig struct { - // CrowdingConfig: The crowding configuration for the source. - CrowdingConfig *SourceCrowdingConfig `json:"crowdingConfig,omitempty"` - - // ScoringConfig: The scoring configuration for the source. - ScoringConfig *SourceScoringConfig `json:"scoringConfig,omitempty"` - - // Source: The source for which this configuration is to be used. - Source *Source `json:"source,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CrowdingConfig") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "CrowdingConfig") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *SourceConfig) MarshalJSON() ([]byte, error) { - type NoMethod SourceConfig - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SourceCrowdingConfig: Set search results crowding limits. Crowding is -// a situation in which multiple results from the same source or host -// "crowd out" other results, diminishing the quality of search for -// users. To foster better search quality and source diversity in search -// results, you can set a condition to reduce repetitive results by -// source. -type SourceCrowdingConfig struct { - // NumResults: Maximum number of results allowed from a datasource in a - // result page as long as results from other sources are not exhausted. - // Value specified must not be negative. A default value is used if this - // value is equal to 0. To disable crowding, set the value greater than - // 100. - NumResults int64 `json:"numResults,omitempty"` - - // NumSuggestions: Maximum number of suggestions allowed from a source. - // No limits will be set on results if this value is less than or equal - // to 0. - NumSuggestions int64 `json:"numSuggestions,omitempty"` - - // ForceSendFields is a list of field names (e.g. "NumResults") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "NumResults") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SourceCrowdingConfig) MarshalJSON() ([]byte, error) { - type NoMethod SourceCrowdingConfig - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type SourceMessageInfo struct { - // MessageId: Source message ID - MessageId *MessageId `json:"messageId,omitempty"` - - // Possible values: - // "SOURCE_MESSAGE_TYPE_UNDEFINED" - // "ROOT_MESSAGE" - // "INLINE_REPLY" - MessageType string `json:"messageType,omitempty"` - - // ForceSendFields is a list of field names (e.g. "MessageId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "MessageId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SourceMessageInfo) MarshalJSON() ([]byte, error) { - type NoMethod SourceMessageInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SourceResultCount: Per source result count information. -type SourceResultCount struct { - // HasMoreResults: Whether there are more search results for this - // source. - HasMoreResults bool `json:"hasMoreResults,omitempty"` - - // ResultCountEstimate: The estimated result count for this source. - ResultCountEstimate int64 `json:"resultCountEstimate,omitempty,string"` - - // ResultCountExact: The exact result count for this source. - ResultCountExact int64 `json:"resultCountExact,omitempty,string"` - - // Source: The source the result count information is associated with. - Source *Source `json:"source,omitempty"` - - // ForceSendFields is a list of field names (e.g. "HasMoreResults") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "HasMoreResults") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *SourceResultCount) MarshalJSON() ([]byte, error) { - type NoMethod SourceResultCount - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SourceScoringConfig: Set the scoring configuration. This allows -// modifying the ranking of results for a source. -type SourceScoringConfig struct { - // SourceImportance: Importance of the source. - // - // Possible values: - // "DEFAULT" - // "LOW" - // "HIGH" - SourceImportance string `json:"sourceImportance,omitempty"` - - // ForceSendFields is a list of field names (e.g. "SourceImportance") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "SourceImportance") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *SourceScoringConfig) MarshalJSON() ([]byte, error) { - type NoMethod SourceScoringConfig - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SpaceId: Primary key for Space resource. -type SpaceId struct { - // SpaceId: Unique, immutable ID of the Space - SpaceId string `json:"spaceId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "SpaceId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "SpaceId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SpaceId) MarshalJSON() ([]byte, error) { - type NoMethod SpaceId - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type SpellResult struct { - // SuggestedQuery: The suggested spelling of the query. - SuggestedQuery string `json:"suggestedQuery,omitempty"` - - // SuggestedQueryHtml: The sanitized HTML representing the spell - // corrected query that can be used in the UI. This usually has - // language-specific tags to mark up parts of the query that are spell - // checked. - SuggestedQueryHtml *SafeHtmlProto `json:"suggestedQueryHtml,omitempty"` - - // SuggestionType: Suggestion triggered for the current query. - // - // Possible values: - // "SUGGESTION_TYPE_UNSPECIFIED" - Default spell check type - // "NON_EMPTY_RESULTS_SPELL_SUGGESTION" - Spell suggestion without any - // results changed. The results are still shown for the original query - // (which has non zero / results) with a suggestion for spelling that - // would have results. - // "ZERO_RESULTS_FULL_PAGE_REPLACEMENT" - Spell suggestion triggered - // when original query has no results. When the original query has no - // results, and spell suggestion has results we trigger results for the - // spell corrected query. - SuggestionType string `json:"suggestionType,omitempty"` - - // ForceSendFields is a list of field names (e.g. "SuggestedQuery") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "SuggestedQuery") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *SpellResult) MarshalJSON() ([]byte, error) { - type NoMethod SpellResult - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SquareProto: Represents the set of members (of a given type) in a -// Google+ Square (see http://go/squares). A Square with default -// member_type is currently (1/2012) identical to the GaiaGroup with the -// same ID, but that is expected to change soon (see -// http://go/superglue). Support for this principal type is currently -// (1/2012) incomplete -- e.g., Keystore does not support it yet (see -// b/5703421). -type SquareProto struct { - // MemberType: The type of Square members to consider, e.g. "all - // members" vs. "owners" vs. "admins". These are defined by - // legacy_relation_id values in - // social.graph.storage.EdgeTypeEnum.EdgeType enum options in - // social/graph/storage/proto/id.proto. See square.pb (defined in - // production/config/cdd/socialgraph/mixer_config/prod/node_type_config) - // for all valid edge types associated with square. Currently required. - MemberType int64 `json:"memberType,omitempty"` - - // SquareId: Currently required. - SquareId int64 `json:"squareId,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "MemberType") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "MemberType") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *SquareProto) MarshalJSON() ([]byte, error) { - type NoMethod SquareProto - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// StartUploadItemRequest: Start upload file request. -type StartUploadItemRequest struct { +type PushItemRequest struct { // ConnectorName: The name of connector making this call. Format: // datasources/{source_id}/connectors/{ID} - ConnectorName string `json:"connectorName,omitempty"` - - // DebugOptions: Common debug options. - DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ConnectorName") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ConnectorName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *StartUploadItemRequest) MarshalJSON() ([]byte, error) { - type NoMethod StartUploadItemRequest - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Status: The `Status` type defines a logical error model that is -// suitable for different programming environments, including REST APIs -// and RPC APIs. It is used by gRPC (https://github.com/grpc). Each -// `Status` message contains three pieces of data: error code, error -// message, and error details. You can find out more about this error -// model and how to work with it in the API Design Guide -// (https://cloud.google.com/apis/design/errors). -type Status struct { - // Code: The status code, which should be an enum value of - // google.rpc.Code. - Code int64 `json:"code,omitempty"` - - // Details: A list of messages that carry the error details. There is a - // common set of message types for APIs to use. - Details []googleapi.RawMessage `json:"details,omitempty"` - - // Message: A developer-facing error message, which should be in - // English. Any user-facing error message should be localized and sent - // in the google.rpc.Status.details field, or localized by the client. - Message string `json:"message,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Code") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Code") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *Status) MarshalJSON() ([]byte, error) { - type NoMethod Status - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -type StoredParticipantId struct { - GaiaId int64 `json:"gaiaId,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "GaiaId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "GaiaId") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *StoredParticipantId) MarshalJSON() ([]byte, error) { - type NoMethod StoredParticipantId - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// StreamViewerStats: Information about viewers of the stream. -type StreamViewerStats struct { - // EstimatedViewerCount: The estimate of the current viewer count. - EstimatedViewerCount int64 `json:"estimatedViewerCount,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. - // "EstimatedViewerCount") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "EstimatedViewerCount") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *StreamViewerStats) MarshalJSON() ([]byte, error) { - type NoMethod StreamViewerStats - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// StreamingSessionInfo: Information about a streaming session in -// conference. -type StreamingSessionInfo struct { - // ApplicationType: The application type of the current streaming - // session. - // - // Possible values: - // "RECORDING_APPLICATION_TYPE_UNSPECIFIED" - This is never used. - // "RECORDING" - A meeting recording saved to a video file in Google - // Drive. - // "GLIVE_STREAM" - A *Google Live* managed stream. - // "BROADCAST" - A meeting broadcast. - ApplicationType string `json:"applicationType,omitempty"` - - // LatestSessionEvent: The latest streaming session event. This can be - // used by clients to help explain what is going on, why recording - // stopped, etc. This will always be set to a valid event and consistent - // with the status. It can be set when current session is inactive to - // indicate latest event that makes current session to become inactive. - LatestSessionEvent *SessionEvent `json:"latestSessionEvent,omitempty"` - - // OwnerDisplayName: The display name of the owner of the recording - // output. It's only set when there will be uploaded recordings. - // Currently, it's only set when application type is RECORDING or - // GLIVE_STREAM. - OwnerDisplayName string `json:"ownerDisplayName,omitempty"` - - // SessionId: This is the REST name and unique identifier of this - // streaming session and has the form `spaces//recordings/` This is - // returned whenever status is either `STARTING` or `STARTED`. - SessionId string `json:"sessionId,omitempty"` - - // Status: The current status of this streaming session. This can be - // used by clients to show session status indicator and/or notification. - // - // Possible values: - // "STATUS_UNSPECIFIED" - This value is never used. - // "INACTIVE" - The streaming session is inactive. This means either - // it's not started yet or it's already stopped. - // "STARTING" - The streaming session is about to begin. The status - // will be updated to LIVE when the streaming session actually starts, - // which happens when all the backend plumbing is set up. - // "LIVE" - The streaming session is live. Any media sent to the - // conference may be included in the resulting recording/broadcast. - Status string `json:"status,omitempty"` - - // TrainingEnabled: When true, this recording may be used for training - // new transcription models. - TrainingEnabled bool `json:"trainingEnabled,omitempty"` - - // ViewerAccessPolicy: The policy that controls who can view the - // broadcast. This setting applies for broadcast session. - // - // Possible values: - // "BROADCASTING_ACCESS_POLICY_UNSPECIFIED" - Used only when broadcast - // is not enabled, or an unknown enum value is used. - // "ORGANIZATION" - Only authenticated Google accounts belonging to - // the same organization as the meeting organizer can access the - // broadcast. - // "PUBLIC" - Anyone with the broadcast view URL can access the - // broadcast. - ViewerAccessPolicy string `json:"viewerAccessPolicy,omitempty"` - - // ViewerStats: Contains information about viewers of the livestream. It - // is only set when application type is BROADCAST. - ViewerStats *StreamViewerStats `json:"viewerStats,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ApplicationType") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ApplicationType") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *StreamingSessionInfo) MarshalJSON() ([]byte, error) { - type NoMethod StreamingSessionInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// StructuredDataObject: A structured data object consisting of named -// properties. -type StructuredDataObject struct { - // Properties: The properties for the object. The maximum number of - // elements is 1000. - Properties []*NamedProperty `json:"properties,omitempty"` + ConnectorName string `json:"connectorName,omitempty"` - // ForceSendFields is a list of field names (e.g. "Properties") to + // DebugOptions: Common debug options. + DebugOptions *DebugOptions `json:"debugOptions,omitempty"` + + // Item: Item to push onto the queue. + Item *PushItem `json:"item,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConnectorName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -23446,28 +7607,27 @@ type StructuredDataObject struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Properties") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "ConnectorName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *StructuredDataObject) MarshalJSON() ([]byte, error) { - type NoMethod StructuredDataObject +func (s *PushItemRequest) MarshalJSON() ([]byte, error) { + type NoMethod PushItemRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// StructuredResult: Structured results that are returned as part of -// search request. -type StructuredResult struct { - // Person: Representation of a person - Person *Person `json:"person,omitempty"` +// QueryActivity: Details about a user's query activity. +type QueryActivity struct { + // Query: User input query to be logged/removed. + Query string `json:"query,omitempty"` - // ForceSendFields is a list of field names (e.g. "Person") to + // ForceSendFields is a list of field names (e.g. "Query") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -23475,7 +7635,7 @@ type StructuredResult struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Person") to include in API + // NullFields is a list of field names (e.g. "Query") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -23484,65 +7644,19 @@ type StructuredResult struct { NullFields []string `json:"-"` } -func (s *StructuredResult) MarshalJSON() ([]byte, error) { - type NoMethod StructuredResult - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// SuggestRequest: Request of suggest API. -type SuggestRequest struct { - // DataSourceRestrictions: The sources to use for suggestions. If not - // specified, the data sources are taken from the current search - // application. NOTE: Suggestions are only supported for the following - // sources: * Third-party data sources * PredefinedSource.PERSON * - // PredefinedSource.GOOGLE_DRIVE - DataSourceRestrictions []*DataSourceRestriction `json:"dataSourceRestrictions,omitempty"` - - // Query: Partial query for which autocomplete suggestions will be - // shown. For example, if the query is "sea", then the server might - // return "season", "search", "seagull" and so on. - Query string `json:"query,omitempty"` - - // RequestOptions: Request options, such as the search application and - // user timezone. - RequestOptions *RequestOptions `json:"requestOptions,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "DataSourceRestrictions") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "DataSourceRestrictions") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *SuggestRequest) MarshalJSON() ([]byte, error) { - type NoMethod SuggestRequest +func (s *QueryActivity) MarshalJSON() ([]byte, error) { + type NoMethod QueryActivity raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// SuggestResponse: Response of the suggest API. -type SuggestResponse struct { - // SuggestResults: List of suggestions. - SuggestResults []*SuggestResult `json:"suggestResults,omitempty"` +type QueryCountByStatus struct { + Count int64 `json:"count,omitempty,string"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // StatusCode: This represents the http status code. + StatusCode int64 `json:"statusCode,omitempty"` - // ForceSendFields is a list of field names (e.g. "SuggestResults") to + // ForceSendFields is a list of field names (e.g. "Count") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -23550,49 +7664,61 @@ type SuggestResponse struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "SuggestResults") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Count") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *SuggestResponse) MarshalJSON() ([]byte, error) { - type NoMethod SuggestResponse +func (s *QueryCountByStatus) MarshalJSON() ([]byte, error) { + type NoMethod QueryCountByStatus raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// SuggestResult: One suggestion result. -type SuggestResult struct { - // PeopleSuggestion: This is present when the suggestion indicates a - // person. It contains more information about the person - like their - // email ID, name etc. - PeopleSuggestion *PeopleSuggestion `json:"peopleSuggestion,omitempty"` - - // QuerySuggestion: This field will be present if the suggested query is - // a word/phrase completion. - QuerySuggestion *QuerySuggestion `json:"querySuggestion,omitempty"` +type QueryInterpretation struct { + // Possible values: + // "NONE" - Neither the natural language interpretation, nor a broader + // version of the query is used to fetch the search results. + // "BLEND" - The results from original query are blended with other + // results. The reason for blending these other results with the results + // from original query is populated in the 'Reason' field below. + // "REPLACE" - The results from original query are replaced. The + // reason for replacing the results from original query is populated in + // the 'Reason' field below. + InterpretationType string `json:"interpretationType,omitempty"` - // Source: The source of the suggestion. - Source *Source `json:"source,omitempty"` + // InterpretedQuery: The interpretation of the query used in search. For + // example, queries with natural language intent like "email from john" + // will be interpreted as "from:john source:mail". This field will not + // be filled when the reason is NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY. + InterpretedQuery string `json:"interpretedQuery,omitempty"` - // SuggestedQuery: The suggested query that will be used for search, - // when the user clicks on the suggestion - SuggestedQuery string `json:"suggestedQuery,omitempty"` + // Reason: The reason for interpretation of the query. This field will + // not be UNSPECIFIED if the interpretation type is not NONE. + // + // Possible values: + // "UNSPECIFIED" + // "QUERY_HAS_NATURAL_LANGUAGE_INTENT" - Natural language + // interpretation of the query is used to fetch the search results. + // "NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY" - Query and document + // terms similarity is used to selectively broaden the query to retrieve + // additional search results since enough results were not found for the + // user query. Interpreted query will be empty for this case. + Reason string `json:"reason,omitempty"` - // ForceSendFields is a list of field names (e.g. "PeopleSuggestion") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "InterpretationType") + // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PeopleSuggestion") to + // NullFields is a list of field names (e.g. "InterpretationType") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -23602,110 +7728,109 @@ type SuggestResult struct { NullFields []string `json:"-"` } -func (s *SuggestResult) MarshalJSON() ([]byte, error) { - type NoMethod SuggestResult +func (s *QueryInterpretation) MarshalJSON() ([]byte, error) { + type NoMethod QueryInterpretation raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// SupportUrls: Urls with additional bot related information. -type SupportUrls struct { - // AdminConfigUrl: Link to the admin configuration webpage for the bot. - // Configured by Pantheon, may be empty. - AdminConfigUrl string `json:"adminConfigUrl,omitempty"` - - // DeletionPolicyUrl: Link to the deletion policy webpage for the bot. - // Configured by Pantheon, may be empty. - DeletionPolicyUrl string `json:"deletionPolicyUrl,omitempty"` - - // GwmUrl: Link to GWM page of the app. May be empty. - GwmUrl string `json:"gwmUrl,omitempty"` - - // PrivacyPolicyUrl: Link to the privacy policy webpage for the bot. May - // be empty. - PrivacyPolicyUrl string `json:"privacyPolicyUrl,omitempty"` - - // SetupUrl: Link to the setup webpage for the bot. Configured by - // Pantheon, may be empty. - SetupUrl string `json:"setupUrl,omitempty"` - - // SupportUrl: Link to the support webpage for the developer of the bot. - // May be empty. - SupportUrl string `json:"supportUrl,omitempty"` +// QueryInterpretationConfig: Default options to interpret user query. +type QueryInterpretationConfig struct { + // ForceDisableSupplementalResults: Set this flag to disable + // supplemental results retrieval, setting a flag here will not retrieve + // supplemental results for queries associated with a given search + // application. If this flag is set to True, it will take precedence + // over the option set at Query level. For the default value of False, + // query level flag will set the correct interpretation for supplemental + // results. + ForceDisableSupplementalResults bool `json:"forceDisableSupplementalResults,omitempty"` - // TosUrl: Link to the terms of service webpage for the bot. May be - // empty. - TosUrl string `json:"tosUrl,omitempty"` + // ForceVerbatimMode: Enable this flag to turn off all internal + // optimizations like natural language (NL) interpretation of queries, + // supplemental results retrieval, and usage of synonyms including + // custom ones. If this flag is set to True, it will take precedence + // over the option set at Query level. For the default value of False, + // query level flag will set the correct interpretation for verbatim + // mode. + ForceVerbatimMode bool `json:"forceVerbatimMode,omitempty"` - // ForceSendFields is a list of field names (e.g. "AdminConfigUrl") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "ForceDisableSupplementalResults") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AdminConfigUrl") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. + // "ForceDisableSupplementalResults") to include in API requests with + // the JSON null value. By default, fields with empty values are omitted + // from API requests. However, any field with an empty value appearing + // in NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *SupportUrls) MarshalJSON() ([]byte, error) { - type NoMethod SupportUrls +func (s *QueryInterpretationConfig) MarshalJSON() ([]byte, error) { + type NoMethod QueryInterpretationConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type SwitchWidget struct { - // Possible values: - // "UNSPECIFIED" - // "SWITCH" - // "CHECKBOX" - ControlType string `json:"controlType,omitempty"` - - // Name: The name of the switch widget which is will be used in - // FormInput. - Name string `json:"name,omitempty"` - - OnChange *FormAction `json:"onChange,omitempty"` - - Selected bool `json:"selected,omitempty"` +// QueryInterpretationOptions: Options to interpret user query. +type QueryInterpretationOptions struct { + // DisableNlInterpretation: Flag to disable natural language (NL) + // interpretation of queries. Default is false, Set to true to disable + // natural language interpretation. NL interpretation only applies to + // predefined datasources. + DisableNlInterpretation bool `json:"disableNlInterpretation,omitempty"` - // Value: The value is what is passed back in apps script callback. - Value string `json:"value,omitempty"` + // DisableSupplementalResults: Use this flag to disable supplemental + // results for a query. Supplemental results setting chosen at + // SearchApplication level will take precedence if set to True. + DisableSupplementalResults bool `json:"disableSupplementalResults,omitempty"` - // ForceSendFields is a list of field names (e.g. "ControlType") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // EnableVerbatimMode: Enable this flag to turn off all internal + // optimizations like natural language (NL) interpretation of queries, + // supplemental result retrieval, and usage of synonyms including custom + // ones. Nl interpretation will be disabled if either one of the two + // flags is true. + EnableVerbatimMode bool `json:"enableVerbatimMode,omitempty"` - // NullFields is a list of field names (e.g. "ControlType") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "DisableNlInterpretation") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DisableNlInterpretation") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *SwitchWidget) MarshalJSON() ([]byte, error) { - type NoMethod SwitchWidget +func (s *QueryInterpretationOptions) MarshalJSON() ([]byte, error) { + type NoMethod QueryInterpretationOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type TaskActionMarkup struct { - ReloadTasks bool `json:"reloadTasks,omitempty"` +// QueryItem: Information relevant only to a query entry. +type QueryItem struct { + // IsSynthetic: True if the text was generated by means other than a + // previous user search. + IsSynthetic bool `json:"isSynthetic,omitempty"` - // ForceSendFields is a list of field names (e.g. "ReloadTasks") to + // ForceSendFields is a list of field names (e.g. "IsSynthetic") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -23713,7 +7838,7 @@ type TaskActionMarkup struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ReloadTasks") to include + // NullFields is a list of field names (e.g. "IsSynthetic") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -23722,94 +7847,71 @@ type TaskActionMarkup struct { NullFields []string `json:"-"` } -func (s *TaskActionMarkup) MarshalJSON() ([]byte, error) { - type NoMethod TaskActionMarkup +func (s *QueryItem) MarshalJSON() ([]byte, error) { + type NoMethod QueryItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type TextButton struct { - // AltText: The alternative text used for accessibility Next field - // number: 7. - AltText string `json:"altText,omitempty"` - - // BackgroundColor: Optional color of the button's background in RAISE - // mode. The default is the secondary color from addon's manifest. - BackgroundColor string `json:"backgroundColor,omitempty"` - - Disabled bool `json:"disabled,omitempty"` - - OnClick *OnClick `json:"onClick,omitempty"` - - // Possible values: - // "UNSPECIFIED" - // "TEXT" - Simple text button with ripple touch feedback. - // "FILLED" - Button with solid background. - Style string `json:"style,omitempty"` - - // Text: Text color can be set via HTML markup. - Text string `json:"text,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AltText") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` +// QueryOperator: The definition of a operator that can be used in a +// Search/Suggest request. +type QueryOperator struct { + // DisplayName: Display name of the operator + DisplayName string `json:"displayName,omitempty"` - // NullFields is a list of field names (e.g. "AltText") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // EnumValues: Potential list of values for the opeatror field. This + // field is only filled when we can safely enumerate all the possible + // values of this operator. + EnumValues []string `json:"enumValues,omitempty"` -func (s *TextButton) MarshalJSON() ([]byte, error) { - type NoMethod TextButton - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // GreaterThanOperatorName: Indicates the operator name that can be used + // to isolate the property using the greater-than operator. + GreaterThanOperatorName string `json:"greaterThanOperatorName,omitempty"` -type TextField struct { - // AutoComplete: The initial set of auto complete items without any user - // input. - AutoComplete *AutoComplete `json:"autoComplete,omitempty"` + // IsFacetable: Can this operator be used to get facets. + IsFacetable bool `json:"isFacetable,omitempty"` - // AutoCompleteCallback: The refresh function which returns AutoComplete - // based on the user's input text. If the callback is not specified, - // auto complete will be purely done in client side based on the - // auto_complete items. - AutoCompleteCallback *FormAction `json:"autoCompleteCallback,omitempty"` + // IsRepeatable: Indicates if multiple values can be set for this + // property. + IsRepeatable bool `json:"isRepeatable,omitempty"` - // AutoCompleteMultipleSelections: When set to true, a user can input - // multiple auto-complet items. - AutoCompleteMultipleSelections bool `json:"autoCompleteMultipleSelections,omitempty"` + // IsReturnable: Will the property associated with this facet be + // returned as part of search results. + IsReturnable bool `json:"isReturnable,omitempty"` - HintText string `json:"hintText,omitempty"` + // IsSortable: Can this operator be used to sort results. + IsSortable bool `json:"isSortable,omitempty"` - // Label: One of label or hint_text is required to be specified by the - // developers. - Label string `json:"label,omitempty"` + // IsSuggestable: Can get suggestions for this field. + IsSuggestable bool `json:"isSuggestable,omitempty"` - MaxLines int64 `json:"maxLines,omitempty"` + // LessThanOperatorName: Indicates the operator name that can be used to + // isolate the property using the less-than operator. + LessThanOperatorName string `json:"lessThanOperatorName,omitempty"` - // Name: The name of the text field which is will be used in FormInput. - Name string `json:"name,omitempty"` + // ObjectType: The name of the object corresponding to the operator. + // This field is only filled for schema-specific operators, and is unset + // for common operators. + ObjectType string `json:"objectType,omitempty"` - OnChange *FormAction `json:"onChange,omitempty"` + // OperatorName: The name of the operator. + OperatorName string `json:"operatorName,omitempty"` + // Type: The type of the operator. + // // Possible values: - // "SINGLE_LINE" - // "MULTIPLE_LINE" + // "UNKNOWN" - Invalid value. + // "INTEGER" + // "DOUBLE" + // "TIMESTAMP" + // "BOOLEAN" + // "ENUM" + // "DATE" + // "TEXT" + // "HTML" Type string `json:"type,omitempty"` - // Value: The default value when no input from user. - Value string `json:"value,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AutoComplete") to + // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -23817,7 +7919,7 @@ type TextField struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AutoComplete") to include + // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -23826,21 +7928,29 @@ type TextField struct { NullFields []string `json:"-"` } -func (s *TextField) MarshalJSON() ([]byte, error) { - type NoMethod TextField +func (s *QueryOperator) MarshalJSON() ([]byte, error) { + type NoMethod QueryOperator raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TextKeyValue: This is deprecated and please use KeyValue. -type TextKeyValue struct { - Key string `json:"key,omitempty"` +// QuerySource: List of sources that the user can search using the query +// API. +type QuerySource struct { + // DisplayName: Display name of the data source. + DisplayName string `json:"displayName,omitempty"` + + // Operators: List of all operators applicable for this source. + Operators []*QueryOperator `json:"operators,omitempty"` - OnClick *OnClick `json:"onClick,omitempty"` + // ShortName: A short name or alias for the source. This value can be + // used with the 'source' operator. + ShortName string `json:"shortName,omitempty"` - Text string `json:"text,omitempty"` + // Source: The name of the source + Source *Source `json:"source,omitempty"` - // ForceSendFields is a list of field names (e.g. "Key") to + // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -23848,75 +7958,37 @@ type TextKeyValue struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Key") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "DisplayName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *TextKeyValue) MarshalJSON() ([]byte, error) { - type NoMethod TextKeyValue +func (s *QuerySource) MarshalJSON() ([]byte, error) { + type NoMethod QuerySource raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TextOperatorOptions: Used to provide a search operator for text -// properties. This is optional. Search operators let users restrict the -// query to specific fields relevant to the type of item being searched. -type TextOperatorOptions struct { - // ExactMatchWithOperator: If true, the text value is tokenized as one - // atomic value in operator searches and facet matches. For example, if - // the operator name is "genre" and the value is "science-fiction" the - // query restrictions "genre:science" and "genre:fiction" doesn't match - // the item; "genre:science-fiction" does. Text value matching is - // case-sensitive and does not remove special characters. If false, the - // text is tokenized. For example, if the value is "science-fiction" the - // queries "genre:science" and "genre:fiction" matches the item. - ExactMatchWithOperator bool `json:"exactMatchWithOperator,omitempty"` - - // OperatorName: Indicates the operator name required in the query in - // order to isolate the text property. For example, if operatorName is - // *subject* and the property's name is *subjectLine*, then queries like - // *subject:* show results only where the value of the property - // named *subjectLine* matches **. By contrast, a search that - // uses the same ** without an operator returns all items where - // ** matches the value of any text properties or text within the - // content field for the item. The operator name can only contain - // lowercase letters (a-z). The maximum length is 32 characters. - OperatorName string `json:"operatorName,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "ExactMatchWithOperator") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ExactMatchWithOperator") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` +// QuerySuggestion: This field does not contain anything as of now and +// is just used as an indicator that the suggest result was a phrase +// completion. +type QuerySuggestion struct { } -func (s *TextOperatorOptions) MarshalJSON() ([]byte, error) { - type NoMethod TextOperatorOptions - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} +// RemoveActivityRequest: Remove Logged Activity Request. +type RemoveActivityRequest struct { + // RequestOptions: Request options, such as the search application and + // clientId. + RequestOptions *RequestOptions `json:"requestOptions,omitempty"` -type TextParagraph struct { - Text string `json:"text,omitempty"` + // UserActivity: User Activity containing the data to be deleted. + UserActivity *UserActivity `json:"userActivity,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // ForceSendFields is a list of field names (e.g. "RequestOptions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -23924,32 +7996,61 @@ type TextParagraph struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "RequestOptions") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *TextParagraph) MarshalJSON() ([]byte, error) { - type NoMethod TextParagraph +func (s *RemoveActivityRequest) MarshalJSON() ([]byte, error) { + type NoMethod RemoveActivityRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TextPropertyOptions: The options for text properties. -type TextPropertyOptions struct { - // OperatorOptions: If set, describes how the property should be used as - // a search operator. - OperatorOptions *TextOperatorOptions `json:"operatorOptions,omitempty"` +// RemoveActivityResponse: Remove Logged Activity Response. will return +// an empty response for now. Will be revisited in later phases. +type RemoveActivityResponse struct { + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` +} - // RetrievalImportance: Indicates the search quality importance of the - // tokens within the field when used for retrieval. - RetrievalImportance *RetrievalImportance `json:"retrievalImportance,omitempty"` +// RepositoryError: Errors when the connector is communicating to the +// source repository. +type RepositoryError struct { + // ErrorMessage: Message that describes the error. The maximum allowable + // length of the message is 8192 characters. + ErrorMessage string `json:"errorMessage,omitempty"` - // ForceSendFields is a list of field names (e.g. "OperatorOptions") to + // HttpStatusCode: Error codes. Matches the definition of HTTP status + // codes. + HttpStatusCode int64 `json:"httpStatusCode,omitempty"` + + // Type: The type of error. + // + // Possible values: + // "UNKNOWN" - Unknown error. + // "NETWORK_ERROR" - Unknown or unreachable host. + // "DNS_ERROR" - DNS problem, such as the DNS server is not + // responding. + // "CONNECTION_ERROR" - Cannot connect to the repository server. + // "AUTHENTICATION_ERROR" - Failed authentication due to incorrect + // credentials. + // "AUTHORIZATION_ERROR" - Service account is not authorized for the + // repository. + // "SERVER_ERROR" - Repository server error. + // "QUOTA_EXCEEDED" - Quota exceeded. + // "SERVICE_UNAVAILABLE" - Server temporarily unavailable. + // "CLIENT_ERROR" - Client-related error, such as an invalid request + // from the connector to the repository server. + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ErrorMessage") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -23957,29 +8058,52 @@ type TextPropertyOptions struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OperatorOptions") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "ErrorMessage") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *TextPropertyOptions) MarshalJSON() ([]byte, error) { - type NoMethod TextPropertyOptions +func (s *RepositoryError) MarshalJSON() ([]byte, error) { + type NoMethod RepositoryError raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TextValues: List of text values. -type TextValues struct { - // Values: The maximum allowable length for text values is 2048 - // characters. - Values []string `json:"values,omitempty"` +// RequestOptions: Shared request options for all RPC methods. +type RequestOptions struct { + // DebugOptions: Debug options of the request + DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - // ForceSendFields is a list of field names (e.g. "Values") to + // LanguageCode: The BCP-47 language code, such as "en-US" or "sr-Latn". + // For more information, see + // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For + // translations. Set this field using the language set in browser or for + // the page. In the event that the user's language preference is known, + // set this field to the known user language. When specified, the + // documents in search results are biased towards the specified + // language. From Suggest API perspective, for 3p suggest this is used + // as a hint while making predictions to add language boosting. + LanguageCode string `json:"languageCode,omitempty"` + + // SearchApplicationId: The ID generated when you create a search + // application using the admin console + // (https://support.google.com/a/answer/9043922). + SearchApplicationId string `json:"searchApplicationId,omitempty"` + + // TimeZone: Current user's time zone id, such as "America/Los_Angeles" + // or "Australia/Sydney". These IDs are defined by Unicode Common Locale + // Data Repository (CLDR) (http://cldr.unicode.org/) project, and + // currently available in the file timezone.xml + // (http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml). This + // field is used to correctly interpret date and time queries. If this + // field is not specified, the default time zone (UTC) is used. + TimeZone string `json:"timeZone,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DebugOptions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -23987,31 +8111,26 @@ type TextValues struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Values") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "DebugOptions") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *TextValues) MarshalJSON() ([]byte, error) { - type NoMethod TextValues +func (s *RequestOptions) MarshalJSON() ([]byte, error) { + type NoMethod RequestOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ThreadKeySet: The ThreadKey was set on some (subset of the) messages -// in this thread. -type ThreadKeySet struct { - // MessageKeys: Messages on which the thread_key was changed. - MessageKeys []*MultiKey `json:"messageKeys,omitempty"` - - // NewThreadKey: The new thread_key for this thread - NewThreadKey *MultiKey `json:"newThreadKey,omitempty"` +type ResetSearchApplicationRequest struct { + // DebugOptions: Common debug options. + DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - // ForceSendFields is a list of field names (e.g. "MessageKeys") to + // ForceSendFields is a list of field names (e.g. "DebugOptions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -24019,7 +8138,7 @@ type ThreadKeySet struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MessageKeys") to include + // NullFields is a list of field names (e.g. "DebugOptions") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -24028,64 +8147,67 @@ type ThreadKeySet struct { NullFields []string `json:"-"` } -func (s *ThreadKeySet) MarshalJSON() ([]byte, error) { - type NoMethod ThreadKeySet +func (s *ResetSearchApplicationRequest) MarshalJSON() ([]byte, error) { + type NoMethod ResetSearchApplicationRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ThreadUpdate: HistoryRecord for changes associated with a thread, -// namely: MESSAGE_ADDED MESSAGE_DELETED LABEL_ADDED LABEL_REMOVED -// ATTRIBUTE_SET ATTRIBUTE_REMOVED THREAD_KEY_SET All label_ids refer to -// the (unchanging) value as defined by the Label.id field in -// labels.proto. In particular, it is *not* the canonical_name. -type ThreadUpdate struct { - AttributeRemoved *AttributeRemoved `json:"attributeRemoved,omitempty"` - - AttributeSet *AttributeSet `json:"attributeSet,omitempty"` - - LabelAdded *LabelAdded `json:"labelAdded,omitempty"` - - LabelRemoved *LabelRemoved `json:"labelRemoved,omitempty"` - - // LastHistoryRecordId: Indicates the record id of the last operation - // that modified this thread. - LastHistoryRecordId uint64 `json:"lastHistoryRecordId,omitempty,string"` +// ResponseDebugInfo: Debugging information about the response. +type ResponseDebugInfo struct { + // FormattedDebugInfo: General debug info formatted for display. + FormattedDebugInfo string `json:"formattedDebugInfo,omitempty"` - MessageAdded *MessageAdded `json:"messageAdded,omitempty"` + // ForceSendFields is a list of field names (e.g. "FormattedDebugInfo") + // to unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - MessageDeleted *MessageDeleted `json:"messageDeleted,omitempty"` + // NullFields is a list of field names (e.g. "FormattedDebugInfo") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} - // OriginalThreadKey: The first non-empty thread-key on any message in - // the thread (including deleted messages). This field has been - // introduced to maintain backward compatibility for clients that are - // not subthread aware. - OriginalThreadKey *MultiKey `json:"originalThreadKey,omitempty"` +func (s *ResponseDebugInfo) MarshalJSON() ([]byte, error) { + type NoMethod ResponseDebugInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // PreState: The PreStates of all messages before the transaction. These - // are suppressed if the client requested that prestates not be included - // in the output of the GetHistoryRequest. - PreState []*PreState `json:"preState,omitempty"` +// RestrictItem: Information relevant only to a restrict entry. NextId: +// 12 +type RestrictItem struct { + DriveFollowUpRestrict *DriveFollowUpRestrict `json:"driveFollowUpRestrict,omitempty"` - // ThreadKey: Affected thread - ThreadKey *MultiKey `json:"threadKey,omitempty"` + DriveLocationRestrict *DriveLocationRestrict `json:"driveLocationRestrict,omitempty"` - ThreadKeySet *ThreadKeySet `json:"threadKeySet,omitempty"` + // DriveMimeTypeRestrict: Drive Types. + DriveMimeTypeRestrict *DriveMimeTypeRestrict `json:"driveMimeTypeRestrict,omitempty"` - // ThreadLocator: Thread PLID - ThreadLocator string `json:"threadLocator,omitempty"` + DriveTimeSpanRestrict *DriveTimeSpanRestrict `json:"driveTimeSpanRestrict,omitempty"` - TopicStateUpdate *TopicStateUpdate `json:"topicStateUpdate,omitempty"` + // SearchOperator: The search restrict (e.g. "after:2017-09-11 + // before:2017-09-12"). + SearchOperator string `json:"searchOperator,omitempty"` - // ForceSendFields is a list of field names (e.g. "AttributeRemoved") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "DriveFollowUpRestrict") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AttributeRemoved") to + // NullFields is a list of field names (e.g. "DriveFollowUpRestrict") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -24095,88 +8217,56 @@ type ThreadUpdate struct { NullFields []string `json:"-"` } -func (s *ThreadUpdate) MarshalJSON() ([]byte, error) { - type NoMethod ThreadUpdate +func (s *RestrictItem) MarshalJSON() ([]byte, error) { + type NoMethod RestrictItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TimestampOperatorOptions: Used to provide a search operator for -// timestamp properties. This is optional. Search operators let users -// restrict the query to specific fields relevant to the type of item -// being searched. -type TimestampOperatorOptions struct { - // GreaterThanOperatorName: Indicates the operator name required in the - // query in order to isolate the timestamp property using the - // greater-than operator. For example, if greaterThanOperatorName is - // *closedafter* and the property's name is *closeDate*, then queries - // like *closedafter:* show results only where the value of the - // property named *closeDate* is later than **. The operator name - // can only contain lowercase letters (a-z). The maximum length is 32 - // characters. - GreaterThanOperatorName string `json:"greaterThanOperatorName,omitempty"` - - // LessThanOperatorName: Indicates the operator name required in the - // query in order to isolate the timestamp property using the less-than - // operator. For example, if lessThanOperatorName is *closedbefore* and - // the property's name is *closeDate*, then queries like - // *closedbefore:* show results only where the value of the - // property named *closeDate* is earlier than **. The operator - // name can only contain lowercase letters (a-z). The maximum length is - // 32 characters. - LessThanOperatorName string `json:"lessThanOperatorName,omitempty"` - - // OperatorName: Indicates the operator name required in the query in - // order to isolate the timestamp property. For example, if operatorName - // is *closedon* and the property's name is *closeDate*, then queries - // like *closedon:* show results only where the value of the - // property named *closeDate* matches **. By contrast, a search - // that uses the same ** without an operator returns all items - // where ** matches the value of any String properties or text - // within the content field for the item. The operator name can only - // contain lowercase letters (a-z). The maximum length is 32 characters. - OperatorName string `json:"operatorName,omitempty"` +// ResultCounts: Result count information +type ResultCounts struct { + // SourceResultCounts: Result count information for each source with + // results. + SourceResultCounts []*SourceResultCount `json:"sourceResultCounts,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "GreaterThanOperatorName") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. + // ForceSendFields is a list of field names (e.g. "SourceResultCounts") + // to unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "GreaterThanOperatorName") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the + // NullFields is a list of field names (e.g. "SourceResultCounts") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` } -func (s *TimestampOperatorOptions) MarshalJSON() ([]byte, error) { - type NoMethod TimestampOperatorOptions +func (s *ResultCounts) MarshalJSON() ([]byte, error) { + type NoMethod ResultCounts raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TimestampPropertyOptions: The options for timestamp properties. -type TimestampPropertyOptions struct { - // OperatorOptions: If set, describes how the timestamp should be used - // as a search operator. - OperatorOptions *TimestampOperatorOptions `json:"operatorOptions,omitempty"` +// ResultDebugInfo: Debugging information about the result. +type ResultDebugInfo struct { + // FormattedDebugInfo: General debug info formatted for display. + FormattedDebugInfo string `json:"formattedDebugInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "OperatorOptions") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "FormattedDebugInfo") + // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OperatorOptions") to + // NullFields is a list of field names (e.g. "FormattedDebugInfo") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -24186,17 +8276,24 @@ type TimestampPropertyOptions struct { NullFields []string `json:"-"` } -func (s *TimestampPropertyOptions) MarshalJSON() ([]byte, error) { - type NoMethod TimestampPropertyOptions +func (s *ResultDebugInfo) MarshalJSON() ([]byte, error) { + type NoMethod ResultDebugInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TimestampValues: List of timestamp values. -type TimestampValues struct { - Values []string `json:"values,omitempty"` +// ResultDisplayField: Display Fields for Search Results +type ResultDisplayField struct { + // Label: The display label for the property. + Label string `json:"label,omitempty"` - // ForceSendFields is a list of field names (e.g. "Values") to + // OperatorName: The operator name of the property. + OperatorName string `json:"operatorName,omitempty"` + + // Property: The name value pair for the property. + Property *NamedProperty `json:"property,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Label") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -24204,7 +8301,7 @@ type TimestampValues struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Values") to include in API + // NullFields is a list of field names (e.g. "Label") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -24213,33 +8310,18 @@ type TimestampValues struct { NullFields []string `json:"-"` } -func (s *TimestampValues) MarshalJSON() ([]byte, error) { - type NoMethod TimestampValues +func (s *ResultDisplayField) MarshalJSON() ([]byte, error) { + type NoMethod ResultDisplayField raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TombstoneMetadata: Tombstoning is the act of leaving a contextual -// trace when deleting a message. See more: go/tombstone-prd, -// go/hub-dynamite-tombstones-server-design-v2. -type TombstoneMetadata struct { - // TombstoneType: Indicates the type of Tombstone. - // - // Possible values: - // "TOMBSTONE_UNSPECIFIED" - This should not be used. - // "CREATOR" - User deleted their own message. - // "ROOM_OWNER" - The space owner deleted a message in their space. - // "ADMIN" - The customer admin deleted a message in a space or DM - // owned by the customer. (go/chat-customer-owned-data) - // "APP_MESSAGE_EXPIRY" - App scheduled deletion of their own message. - // See go/bme-dd. - // "CREATOR_VIA_APP" - User deleted their own message via an app. See - // go/chat-api-delete-message. - // "ROOM_OWNER_VIA_APP" - The space owner deleted a message in their - // space via an app. See go/chat-api-delete-message. - TombstoneType string `json:"tombstoneType,omitempty"` - - // ForceSendFields is a list of field names (e.g. "TombstoneType") to +// ResultDisplayLine: The collection of fields that make up a displayed +// line +type ResultDisplayLine struct { + Fields []*ResultDisplayField `json:"fields,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Fields") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -24247,32 +8329,29 @@ type TombstoneMetadata struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "TombstoneType") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Fields") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *TombstoneMetadata) MarshalJSON() ([]byte, error) { - type NoMethod TombstoneMetadata +func (s *ResultDisplayLine) MarshalJSON() ([]byte, error) { + type NoMethod ResultDisplayLine raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Toolbar: The Toolbar markup has been deprecated. The information is -// now specified in the manifest. -type Toolbar struct { - // Color: Background color of the toolbar in RBG hex representation. - Color string `json:"color,omitempty"` - - IconUrl string `json:"iconUrl,omitempty"` +type ResultDisplayMetadata struct { + // Metalines: The metalines content to be displayed with the result. + Metalines []*ResultDisplayLine `json:"metalines,omitempty"` - Name string `json:"name,omitempty"` + // ObjectTypeLabel: The display label for the object. + ObjectTypeLabel string `json:"objectTypeLabel,omitempty"` - // ForceSendFields is a list of field names (e.g. "Color") to + // ForceSendFields is a list of field names (e.g. "Metalines") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -24280,8 +8359,8 @@ type Toolbar struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Color") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Metalines") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -24289,24 +8368,28 @@ type Toolbar struct { NullFields []string `json:"-"` } -func (s *Toolbar) MarshalJSON() ([]byte, error) { - type NoMethod Toolbar +func (s *ResultDisplayMetadata) MarshalJSON() ([]byte, error) { + type NoMethod ResultDisplayMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type TopicId struct { - // GroupId: The Space or DM that the topic belongs to. - GroupId *GroupId `json:"groupId,omitempty"` - - // TopicId: Opaque, server-assigned ID of the Topic. While this ID is - // guaranteed to be unique within the Space, it's not guaranteed to be - // globally unique. Internal usage: this field can be empty in the - // following cases: 1. To create the first message in a topic. 2. To - // list last N messages of a Space (regardless of topic). - TopicId string `json:"topicId,omitempty"` +type RetrievalImportance struct { + // Importance: Indicates the ranking importance given to property when + // it is matched during retrieval. Once set, the token importance of a + // property cannot be changed. + // + // Possible values: + // "DEFAULT" - Treat the match like a body text match. + // "HIGHEST" - Treat the match like a match against title of the item. + // "HIGH" - Treat the match with higher importance than body text. + // "LOW" - Treat the match with lower importance than body text. + // "NONE" - Do not match against this field during retrieval. The + // property can still be used for operator matching, faceting, and + // suggest if desired. + Importance string `json:"importance,omitempty"` - // ForceSendFields is a list of field names (e.g. "GroupId") to + // ForceSendFields is a list of field names (e.g. "Importance") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -24314,7 +8397,7 @@ type TopicId struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "GroupId") to include in + // NullFields is a list of field names (e.g. "Importance") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -24323,62 +8406,73 @@ type TopicId struct { NullFields []string `json:"-"` } -func (s *TopicId) MarshalJSON() ([]byte, error) { - type NoMethod TopicId +func (s *RetrievalImportance) MarshalJSON() ([]byte, error) { + type NoMethod RetrievalImportance raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TopicState: State of an topic thread as maintained within Tingle. -type TopicState struct { - // LabelIdMessageCount: Map of label => count of topic constituent - // messages with label These only contain counts of labels that are - // relevant for topic normalization/denormalization. Eg. If a topic - // thread has 5 constituents, 4 of which are in inbox, this will contain - // ^i => 4. Some labels of interest are archive, inbox, trash, spam, - // etc. - LabelIdMessageCount map[string]int64 `json:"labelIdMessageCount,omitempty"` - - // NumConstituents: Number of constituents for this entity. - NumConstituents int64 `json:"numConstituents,omitempty"` +// SafeHtmlProto: IMPORTANT: It is unsafe to accept this message from an +// untrusted source, since it's trivial for an attacker to forge +// serialized messages that don't fulfill the type's safety contract -- +// for example, it could contain attacker controlled script. A system +// which receives a SafeHtmlProto implicitly trusts the producer of the +// SafeHtmlProto. So, it's generally safe to return this message in RPC +// responses, but generally unsafe to accept it in RPC requests. +type SafeHtmlProto struct { + // PrivateDoNotAccessOrElseSafeHtmlWrappedValue: IMPORTANT: Never set or + // read this field, even from tests, it is private. See documentation at + // the top of .proto file for programming language packages with which + // to create or read this message. + PrivateDoNotAccessOrElseSafeHtmlWrappedValue string `json:"privateDoNotAccessOrElseSafeHtmlWrappedValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "LabelIdMessageCount") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "PrivateDoNotAccessOrElseSafeHtmlWrappedValue") to unconditionally + // include in API requests. By default, fields with empty or default + // values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LabelIdMessageCount") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. + // "PrivateDoNotAccessOrElseSafeHtmlWrappedValue") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *TopicState) MarshalJSON() ([]byte, error) { - type NoMethod TopicState +func (s *SafeHtmlProto) MarshalJSON() ([]byte, error) { + type NoMethod SafeHtmlProto raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type TopicStateUpdate struct { - TopicState *TopicState `json:"topicState,omitempty"` +// SafeUrlProto: Message containing a string that is safe to use in URL +// contexts in DOM APIs and HTML documents, where the URL context does +// not refer to a resource that loads code. +type SafeUrlProto struct { + // PrivateDoNotAccessOrElseSafeUrlWrappedValue: IMPORTANT: Never set or + // read this field, even from tests, it is private. See documentation at + // the top of .proto file for programming language packages with which + // to create or read this message. + PrivateDoNotAccessOrElseSafeUrlWrappedValue string `json:"privateDoNotAccessOrElseSafeUrlWrappedValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "TopicState") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "PrivateDoNotAccessOrElseSafeUrlWrappedValue") to unconditionally + // include in API requests. By default, fields with empty or default + // values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "TopicState") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. + // "PrivateDoNotAccessOrElseSafeUrlWrappedValue") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -24386,36 +8480,36 @@ type TopicStateUpdate struct { NullFields []string `json:"-"` } -func (s *TopicStateUpdate) MarshalJSON() ([]byte, error) { - type NoMethod TopicStateUpdate +func (s *SafeUrlProto) MarshalJSON() ([]byte, error) { + type NoMethod SafeUrlProto raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TransactionContext: Storage information pertaining to the transaction -// with which a HistoryRecord is associated. -type TransactionContext struct { - // EndingRecordId: The last HistoryRecord of the transaction. Note that - // this may correspond to a record that is filtered by Tingle (and thus - // not returned to the client). See http://b/9513464. - EndingRecordId uint64 `json:"endingRecordId,omitempty,string"` +// Schema: The schema definition for a data source. +type Schema struct { + // ObjectDefinitions: The list of top-level objects for the data source. + // The maximum number of elements is 10. + ObjectDefinitions []*ObjectDefinition `json:"objectDefinitions,omitempty"` - // StartingRecordId: The first HistoryRecord of the transaction. Note - // that this may be a record of type INTERNAL. - StartingRecordId uint64 `json:"startingRecordId,omitempty,string"` + // OperationIds: IDs of the Long Running Operations (LROs) currently + // running for this schema. After modifying the schema, wait for + // operations to complete before indexing additional content. + OperationIds []string `json:"operationIds,omitempty"` - // WriteTimestampUs: The microsecond timestamp of the transaction. - WriteTimestampUs int64 `json:"writeTimestampUs,omitempty,string"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "EndingRecordId") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "ObjectDefinitions") + // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EndingRecordId") to + // NullFields is a list of field names (e.g. "ObjectDefinitions") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -24425,30 +8519,25 @@ type TransactionContext struct { NullFields []string `json:"-"` } -func (s *TransactionContext) MarshalJSON() ([]byte, error) { - type NoMethod TransactionContext +func (s *Schema) MarshalJSON() ([]byte, error) { + type NoMethod Schema raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TransactionDebugInfo: HistoryRecord for debug info associated with -// the transaction, namely: TXN_DEBUG_INFO TODO(b/143845917) This is a -// short-term workaround for unblocking fusebox writes migration. Clean -// up the code or land a long-term solution after the rollout. -// go/diff-to-historyrecord -type TransactionDebugInfo struct { -} - -// TranscriptionSessionInfo: Information about a transcription session. -type TranscriptionSessionInfo struct { - // SessionStateInfo: Transcription session's state information. - SessionStateInfo *SessionStateInfo `json:"sessionStateInfo,omitempty"` +// ScoringConfig: Scoring configurations for a source while processing a +// Search or Suggest request. +type ScoringConfig struct { + // DisableFreshness: Whether to use freshness as a ranking signal. By + // default, freshness is used as a ranking signal. Note that this + // setting is not available in the Admin UI. + DisableFreshness bool `json:"disableFreshness,omitempty"` - // TranscriptionSessionId: A unique server-generated ID for the - // transcription session. - TranscriptionSessionId string `json:"transcriptionSessionId,omitempty"` + // DisablePersonalization: Whether to personalize the results. By + // default, personal signals will be used to boost results. + DisablePersonalization bool `json:"disablePersonalization,omitempty"` - // ForceSendFields is a list of field names (e.g. "SessionStateInfo") to + // ForceSendFields is a list of field names (e.g. "DisableFreshness") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -24456,7 +8545,7 @@ type TranscriptionSessionInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "SessionStateInfo") to + // NullFields is a list of field names (e.g. "DisableFreshness") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -24466,235 +8555,97 @@ type TranscriptionSessionInfo struct { NullFields []string `json:"-"` } -func (s *TranscriptionSessionInfo) MarshalJSON() ([]byte, error) { - type NoMethod TranscriptionSessionInfo +func (s *ScoringConfig) MarshalJSON() ([]byte, error) { + type NoMethod ScoringConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TransientData: Transient generic data that will not be saved on the -// server. -type TransientData struct { -} +// SearchApplication: SearchApplication +type SearchApplication struct { + // DataSourceRestrictions: Retrictions applied to the configurations. + // The maximum number of elements is 10. + DataSourceRestrictions []*DataSourceRestriction `json:"dataSourceRestrictions,omitempty"` + + // DefaultFacetOptions: The default fields for returning facet results. + // The sources specified here also have been included in + // data_source_restrictions above. + DefaultFacetOptions []*FacetOptions `json:"defaultFacetOptions,omitempty"` + + // DefaultSortOptions: The default options for sorting the search + // results + DefaultSortOptions *SortOptions `json:"defaultSortOptions,omitempty"` -type Trigger struct { - // ActionType: Each dispatcher should use an enum to for the actions - // that it supports. If a dispatcher has only one action, this does not - // need to be set. (It can be expanded later, defining the default - // behaviour as type 0.) For purposes such as batching, the type of a - // trigger is (dispatcher, action_type). - ActionType int64 `json:"actionType,omitempty"` + // DisplayName: Display name of the Search Application. The maximum + // length is 300 characters. + DisplayName string `json:"displayName,omitempty"` - // BatchTimeUs: Maximum possible delay in micros that can be tolerated - // so triggers can be batched, which makes processing more efficient - // compared to firing triggers individually. Note that the actual fire - // time will be somewhere in the timerange interval [fire_time_us, - // fire_time_us + batch_time_us). - BatchTimeUs int64 `json:"batchTimeUs,omitempty,string"` + // EnableAuditLog: Indicates whether audit logging is on/off for + // requests made for the search application in query APIs. + EnableAuditLog bool `json:"enableAuditLog,omitempty"` - // DispatchId: Must be set for DISPATCHER_STUBBY_DISPATCHER. - DispatchId int64 `json:"dispatchId,omitempty"` + // Name: The name of the Search Application. Format: + // searchapplications/{application_id}. + Name string `json:"name,omitempty"` - // Dispatcher: Which server should interpret action_type. - // - // Possible values: - // "DISPATCHER_COPROC" - Replace ACTION_INVOKE_X; the CS and Stratus - // are no longer limited to a single type of action. Each additional - // remote client should be defined here. - // "DISPATCHER_JOBSETTED_PRIMARY" - // "DISPATCHER_STRATUS" - // "DISPATCHER_TASKS_SERVER" - // "DISPATCHER_STUBBY_DISPATCHER" - // "DISPATCHER_CS" - Dispatcher string `json:"dispatcher,omitempty"` - - // FireTimeUs: Earliest time to fire at in microseconds. The actual time - // that the trigger will fire will be in the timerange: [fire_time_us, - // fire_time_us + batch_time_us). - FireTimeUs int64 `json:"fireTimeUs,omitempty,string"` - - // JobsettedServerSpec: Must be set for DISPATCHER_JOBSETTED_PRIMARY. - JobsettedServerSpec *JobsettedServerSpec `json:"jobsettedServerSpec,omitempty"` - - // Key: The trigger key, if applicable. - Key string `json:"key,omitempty"` - - RpcOptions *RpcOptions `json:"rpcOptions,omitempty"` - - // SliceFireTimeUs: The slice_fire_time_us is automatically computed and - // stored as part of the trigger write. It represents the exact fire - // time at which the trigger will be queued to fire and will satisfy - // fire_time_us < slice_fire_time_us <= fire_time_us + batch_time_us - // Triggers have an index row in the slice trigger index with the row - // prefix matching this time. Note that this field is internal to - // gmail_cp and is ignored if set by external clients when adding / - // updating triggers. - SliceFireTimeUs int64 `json:"sliceFireTimeUs,omitempty,string"` - - // TriggerAction: Trigger action to perform. This should always be set. - TriggerAction *TriggerAction `json:"triggerAction,omitempty"` - - // TriggerKey: The TriggerKey will uniquely determine a trigger within a - // given context. A context is a single message for message triggers or - // a single account for account triggers. - TriggerKey *TriggerKey `json:"triggerKey,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ActionType") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // OperationIds: Output only. IDs of the Long Running Operations (LROs) + // currently running for this schema. Output only field. + OperationIds []string `json:"operationIds,omitempty"` + + // QueryInterpretationConfig: The default options for query + // interpretation + QueryInterpretationConfig *QueryInterpretationConfig `json:"queryInterpretationConfig,omitempty"` + + // ReturnResultThumbnailUrls: With each result we should return the URI + // for its thumbnail (when applicable) + ReturnResultThumbnailUrls bool `json:"returnResultThumbnailUrls,omitempty"` + + // ScoringConfig: Configuration for ranking results. + ScoringConfig *ScoringConfig `json:"scoringConfig,omitempty"` + + // SourceConfig: Configuration for a sources specified in + // data_source_restrictions. + SourceConfig []*SourceConfig `json:"sourceConfig,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. + // "DataSourceRestrictions") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ActionType") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "DataSourceRestrictions") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *Trigger) MarshalJSON() ([]byte, error) { - type NoMethod Trigger +func (s *SearchApplication) MarshalJSON() ([]byte, error) { + type NoMethod SearchApplication raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type TriggerAction struct { - // Possible values: - // "ACTION_NONE" - // "ACTION_DELETE" - No-op - // "ACTION_CREATE_NEW_TRIGGER" - No-op - // "ACTION_MESSAGE_EXPUNGE" - This action begins the message expunge - // process. It will trigger a purge attempt for all messages that have - // this trigger. - // "ACTION_RETENTION_POLICY_UPDATE" - When this trigger fires, the - // current retention policy will be loaded from the policy management - // system and stored into the preference cache (if necessary). This will - // also create new expunge triggers if necessary. - // "ACTION_UPDATE_ICEBOX_MODEL" - When this trigger fires, the message - // should be used to update the user's importance model. See - // http://go/io-tingle for more details. - // "ACTION_INVOKE_CS" - Sends the trigger to the master Caribou server - // via the Stubby TriggerHandlerService interface (defined in - // caribou/coproc/proto/trigger_handler.proto). The trigger is handled - // at fire time in the account's primary replica, and only in - // non-primary replicas after a delay. - // "ACTION_INVOKE_STRATUS" - Similar to ACTION_INVOKE_CS, but instead - // of sending the trigger to the master Caribou server, sends it to a - // Stratus server that also implements the TriggerHandlerService. This - // Stratus server is specified via - // FLAGS_triggers_stratus_server_address. The trigger is handled at fire - // time in the account's primary replica, and only in non-primary - // replicas after a delay. - // "ACTION_PDH_EXPUNGE" - This action begins the message's PDH - // expunge. It will trigger a expunge (from pdh) attempt for all - // messages that have this trigger. - // "ACTION_QUERY_RETENTION" - When this trigger fires, based on the - // latest retention policy: 1. messages that need to be deleted will be - // deleted through the CS trigger handler 2. ^deleted messages that need - // to be expunged will be expunged - // "ACTION_INVOKE_JOBSETTED_PRIMARY" - Similar to ACTION_INVOKE_CS, - // but instead of sending the trigger to the master Caribou server, - // sends it to a jobsetted server in the user's master jobset using the - // consistent-hash homing algorithm. The jobsetted_server_spec must be - // specified when using this TriggerAction. - // "ACTION_INVOKE_TASKS_SERVER" - Send the trigger to a Tasks server - // that implements the TriggerHandlerService. Dispatched via GSLB target - // specified by FLAGS_triggers_tasks_server_address. - // "ACTION_INVOKE_PUBLISHER" - Send the trigger to a SmartMail - // Publisher server that implements the TriggerHandlerService. - // Dispatched via GSLB target specified by - // FLAGS_triggers_publisher_server_address. - // "ACTION_INVOKE_OBSERVER" - Send the trigger to an Observer server - // that implements the TriggerHandlerService. Dispatched via GSLB target - // specified by FLAGS_triggers_observer_server_address. - // "ACTION_PUSH_HISTORY_TO_PDH" - Push a set of history records to - // PDH. - // "ACTION_INVOKE_STUBBY_DISPATCHER" - Send the trigger to the stubby - // dispatcher, which routes the RPC using the value of - // Trigger.dispatch_id as the RoutingInfo.extension_tag field. - // Dispatched via the GSLB target specified by - // FLAGS_triggers_stubby_dispatcher_address. - // "ACTION_PDH_BACKFILL" - Backfills a set of records from an account - // and pushes them to PDH. - // "ACTION_MESSAGE_UNDELETE" - Move messages from ^deleted to ^all. - // This trigger will only undelete messages that were deleted before the - // fire time of the trigger. Also, messages whose blobs are already - // deleted will not be undeleted. This is an account trigger. - // "ACTION_VAULT_END_USER_ACCESS" - This trigger will undelete - // messages that were ^deleted arbitrarily long in the past and a trash - // label will be applied to these undeleted messages. This is an account - // trigger that will be written when the Vault admin enables end user - // access for the Vault customer. This trigger shares its implementation - // with the ACTION_MESSAGE_UNDELETE trigger. - // "ACTION_INVOKE_GROUPS" - Send the trigger to a groups server that - // implements the TriggerHandlerService. Dispatched via GSLB target - // specified by FLAGS_triggers_groups_server_address. - // "ACTION_ACCOUNT_INITIALIZATION" - This trigger will be executed - // once per newly created account. It will be created as part of the - // first transaction written to the account. The trigger can also be - // written as part of an SVF in case we want to re-initialize every - // account. - // "ACTION_INVOKE_OBSERVER_WIPEOUT" - Send the trigger to an Observer - // server that implements the TriggerHandlerService for wipeout purpose. - // Dispatched via GSLB target specified by - // FLAGS_triggers_observer_server_address. It behaves differently from - // the invoke observer trigger (ACTION_INVOKE_OBSERVER) and should be - // batched separately. Tingle always fires this kind of action trigger - // for ^deleted messages. - // "ACTION_SERVICE_REMOVED_MESSAGE_EXPUNGE" - Begins the message - // expunge similar to ACTION_MESSAGE_EXPUNGE but doesn't check if the - // message was deleted at least 30 days back. To be used ONLY for - // service removal. See go/gmail-service-removal for more details. - // "ACTION_EVERCLEAR_EXPUNGE" - Sends RPC to everclear for the message - // expunge. - // "ACTION_INVOKE_SMIME_CERTIFICATE_ISSUER" - Send the trigger to the - // S/MIME certificate issuer server. Dispatched via the GSLB target - // specified by FLAGS_triggers_smime_certificate_issuer_server_address. - // "ACTION_GROUPS_QUERY_RETENTION" - The retention trigger that will - // be written to implement Groups retention. - // "ACTION_INVOKE_SATELLITE_BACKUP" - Dispatches the permanent backup - // trigger to Satellite through Stubby dispatcher. - // "ACTION_INVOKE_DEBUG_LOG" - Process the debug log trigger by adding - // message body before dispatching to the Caribou Server through Stubby - // Dispatcher. - // "ACTION_PREFERENCE_CLEANUP" - This trigger deletes expired - // temporary preferences. See go/tingle-temp-prefs for more details. - // "ACTION_CARIBOU_DATA_RETENTION" - Similar to ACTION_QUERY_RETENTION - // but uses the MessageRetention policies to trash/delete the messages: - // cs/caribou/base/lib/proto/data_retention.proto . - // "ACTION_HISTORY_CLEANUP" - This trigger deletes expired - // HistoryRecords. See go/history-record-cleanup for more details. - // "ACTION_ITEM_BULK_RELABEL" - This trigger relabels messages - // asynchronously. See go/fusebox-bulk-api for more details. - // "ACTION_INVOKE_SATELLITE_IMAGE_PROCESSING" - Dispatches the image - // processing trigger to Satellite through Stubby dispatcher. See - // go/gmail-photo-sharing for details. - // "ACTION_CARIBOU_DATA_RETENTION_DIFF" - Trigger for executing - // comparison logic between the output of ApplyDataRetention idle task - // and CaribouDataRetention trigger. - // "ACTION_RELEVANCY_SCORE_BACKFILL" - Trigger for backfill relevancy - // score. see go/gmail-relevancy-scoring-write for detail. - // "ACTION_PDH_PUSH_NOTIFICATION_BACKFILL" - Trigger to backfill gaps - // left by pdh pushed via push notification. see - // go/tingle-moonshine-push-v2 - // "ACTION_AUTO_SAVE_DRAFT_EXPUNGE" - Begins the message expunge - // similar to ACTION_MESSAGE_EXPUNGE but fires within one day. To be - // used ONLY for auto save drafts. See - // go/faster-auto-save-draft-deletion for more details. - // "ACTION_RELEVANCY_SCORE_CATCHUP" - Trigger for relevancy score - // catchup. See go/relevancy-trigger-doc for detail. - Action string `json:"action,omitempty"` - - // Data: Clients should use extensions on the Trigger message instead. - Data string `json:"data,omitempty"` - - DataInt int64 `json:"dataInt,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "Action") to +// SearchApplicationQueryStats: Search application level query stats per +// date +type SearchApplicationQueryStats struct { + // Date: The date for which query stats were calculated. Stats + // calculated on the next day close to midnight are returned. + Date *Date `json:"date,omitempty"` + + QueryCountByStatus []*QueryCountByStatus `json:"queryCountByStatus,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Date") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -24702,7 +8653,7 @@ type TriggerAction struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") to include in API + // NullFields is a list of field names (e.g. "Date") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -24711,27 +8662,22 @@ type TriggerAction struct { NullFields []string `json:"-"` } -func (s *TriggerAction) MarshalJSON() ([]byte, error) { - type NoMethod TriggerAction +func (s *SearchApplicationQueryStats) MarshalJSON() ([]byte, error) { + type NoMethod SearchApplicationQueryStats raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TriggerKey: A TriggerKey (type + instance_id) uniquely identifies a -// trigger within a message for a message-trigger and within an account -// for an account-trigger. -type TriggerKey struct { - // InstanceId: Identifier to distinguish multiple Triggers of the same - // type (per message or per account). - InstanceId string `json:"instanceId,omitempty"` +type SearchApplicationSessionStats struct { + // Date: The date for which session stats were calculated. Stats are + // calculated on the following day, close to midnight PST, and then + // returned. + Date *Date `json:"date,omitempty"` - // Type: A non-empty string that identifies the type of Trigger. - // Triggers of the same type may be batched together. The universe of - // values for the type field should be finite as it is used as a stats - // key. - Type string `json:"type,omitempty"` + // SearchSessionsCount: The count of search sessions on the day + SearchSessionsCount int64 `json:"searchSessionsCount,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "InstanceId") to + // ForceSendFields is a list of field names (e.g. "Date") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -24739,8 +8685,8 @@ type TriggerKey struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "InstanceId") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Date") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -24748,17 +8694,30 @@ type TriggerKey struct { NullFields []string `json:"-"` } -func (s *TriggerKey) MarshalJSON() ([]byte, error) { - type NoMethod TriggerKey +func (s *SearchApplicationSessionStats) MarshalJSON() ([]byte, error) { + type NoMethod SearchApplicationSessionStats raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type Triggers struct { - // Triggers: A list of triggers. - Triggers []*Trigger `json:"triggers,omitempty"` +type SearchApplicationUserStats struct { + // Date: The date for which session stats were calculated. Stats + // calculated on the next day close to midnight are returned. + Date *Date `json:"date,omitempty"` + + // OneDayActiveUsersCount: The count of unique active users in the past + // one day + OneDayActiveUsersCount int64 `json:"oneDayActiveUsersCount,omitempty,string"` + + // SevenDaysActiveUsersCount: The count of unique active users in the + // past seven days + SevenDaysActiveUsersCount int64 `json:"sevenDaysActiveUsersCount,omitempty,string"` + + // ThirtyDaysActiveUsersCount: The count of unique active users in the + // past thirty days + ThirtyDaysActiveUsersCount int64 `json:"thirtyDaysActiveUsersCount,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "Triggers") to + // ForceSendFields is a list of field names (e.g. "Date") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -24766,8 +8725,8 @@ type Triggers struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Triggers") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Date") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -24775,25 +8734,25 @@ type Triggers struct { NullFields []string `json:"-"` } -func (s *Triggers) MarshalJSON() ([]byte, error) { - type NoMethod Triggers +func (s *SearchApplicationUserStats) MarshalJSON() ([]byte, error) { + type NoMethod SearchApplicationUserStats raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TrustedResourceUrlProto: Message containing a string that is safe to -// use in all URL contexts in DOM APIs and HTML documents; even where -// the referred-to resource is interpreted as code, e.g., as the src of -// a script element. -type TrustedResourceUrlProto struct { - // PrivateDoNotAccessOrElseTrustedResourceUrlWrappedValue: IMPORTANT: - // Never set or read this field, even from tests, it is private. See - // documentation at the top of .proto file for programming language - // packages with which to create or read this message. - PrivateDoNotAccessOrElseTrustedResourceUrlWrappedValue string `json:"privateDoNotAccessOrElseTrustedResourceUrlWrappedValue,omitempty"` +type SearchItemsByViewUrlRequest struct { + // DebugOptions: Common debug options. + DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "PrivateDoNotAccessOrElseTrustedResourceUrlWrappedValue") to + // PageToken: The next_page_token value returned from a previous + // request, if any. + PageToken string `json:"pageToken,omitempty"` + + // ViewUrl: Specify the full view URL to find the corresponding item. + // The maximum length is 2048 characters. + ViewUrl string `json:"viewUrl,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DebugOptions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -24801,8 +8760,7 @@ type TrustedResourceUrlProto struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "PrivateDoNotAccessOrElseTrustedResourceUrlWrappedValue") to include + // NullFields is a list of field names (e.g. "DebugOptions") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -24811,19 +8769,24 @@ type TrustedResourceUrlProto struct { NullFields []string `json:"-"` } -func (s *TrustedResourceUrlProto) MarshalJSON() ([]byte, error) { - type NoMethod TrustedResourceUrlProto +func (s *SearchItemsByViewUrlRequest) MarshalJSON() ([]byte, error) { + type NoMethod SearchItemsByViewUrlRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TypeInfo: Next tag: 2 -type TypeInfo struct { - // VideoInfo: Contains additional video information only if - // document_type is VIDEO. - VideoInfo *VideoInfo `json:"videoInfo,omitempty"` +type SearchItemsByViewUrlResponse struct { + Items []*Item `json:"items,omitempty"` - // ForceSendFields is a list of field names (e.g. "VideoInfo") to + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Items") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -24831,8 +8794,8 @@ type TypeInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "VideoInfo") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Items") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -24840,29 +8803,21 @@ type TypeInfo struct { NullFields []string `json:"-"` } -func (s *TypeInfo) MarshalJSON() ([]byte, error) { - type NoMethod TypeInfo +func (s *SearchItemsByViewUrlResponse) MarshalJSON() ([]byte, error) { + type NoMethod SearchItemsByViewUrlResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// UniversalPhoneAccess: Universal phone access contains information -// required to dial into a conference using one of a static list of -// phone numbers and a universal PIN. The phone number list is -// distributed separately. -type UniversalPhoneAccess struct { - // Pin: The PIN that users must enter after dialing a universal number. - // The pin consists of only decimal digits and the length may vary, - // though it generally is longer than a PhoneAccess.pin. - Pin string `json:"pin,omitempty"` - - // PstnInfoUrl: This field has the same contents as the - // MeetingSpace.more_join_url field, and is included for compatibility - // reasons. Clients should use the other field instead. This field is - // deprecated and will be removed. - PstnInfoUrl string `json:"pstnInfoUrl,omitempty"` +// SearchQualityMetadata: Additional search quality metadata of the +// item. +type SearchQualityMetadata struct { + // Quality: An indication of the quality of the item, used to influence + // search quality. Value should be between 0.0 (lowest quality) and 1.0 + // (highest quality). The default value is 0.0. + Quality float64 `json:"quality,omitempty"` - // ForceSendFields is a list of field names (e.g. "Pin") to + // ForceSendFields is a list of field names (e.g. "Quality") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -24870,8 +8825,8 @@ type UniversalPhoneAccess struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Pin") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Quality") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -24879,43 +8834,72 @@ type UniversalPhoneAccess struct { NullFields []string `json:"-"` } -func (s *UniversalPhoneAccess) MarshalJSON() ([]byte, error) { - type NoMethod UniversalPhoneAccess +func (s *SearchQualityMetadata) MarshalJSON() ([]byte, error) { + type NoMethod SearchQualityMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type UnmappedIdentity struct { - // ExternalIdentity: The resource name for an external user. - ExternalIdentity *Principal `json:"externalIdentity,omitempty"` +func (s *SearchQualityMetadata) UnmarshalJSON(data []byte) error { + type NoMethod SearchQualityMetadata + var s1 struct { + Quality gensupport.JSONFloat64 `json:"quality"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Quality = float64(s1.Quality) + return nil +} - // ResolutionStatusCode: The resolution status for the external - // identity. - // - // Possible values: - // "CODE_UNSPECIFIED" - Input-only value. Used to list all unmapped - // identities regardless of status. - // "NOT_FOUND" - The unmapped identity was not found in IDaaS, and - // needs to be provided by the user. - // "IDENTITY_SOURCE_NOT_FOUND" - The identity source associated with - // the identity was either not found or deleted. - // "IDENTITY_SOURCE_MISCONFIGURED" - IDaaS does not understand the - // identity source, probably because the schema was modified in a non - // compatible way. - // "TOO_MANY_MAPPINGS_FOUND" - The number of users associated with the - // external identity is too large. - // "INTERNAL_ERROR" - Internal error. - ResolutionStatusCode string `json:"resolutionStatusCode,omitempty"` +// SearchRequest: The search API request. +type SearchRequest struct { + // ContextAttributes: Context attributes for the request which will be + // used to adjust ranking of search results. The maximum number of + // elements is 10. + ContextAttributes []*ContextAttribute `json:"contextAttributes,omitempty"` - // ForceSendFields is a list of field names (e.g. "ExternalIdentity") to - // unconditionally include in API requests. By default, fields with + // DataSourceRestrictions: The sources to use for querying. If not + // specified, all data sources from the current search application are + // used. + DataSourceRestrictions []*DataSourceRestriction `json:"dataSourceRestrictions,omitempty"` + + FacetOptions []*FacetOptions `json:"facetOptions,omitempty"` + + // PageSize: Maximum number of search results to return in one page. + // Valid values are between 1 and 100, inclusive. Default value is 10. + // Minimum value is 50 when results beyond 2000 are requested. + PageSize int64 `json:"pageSize,omitempty"` + + // Query: The raw query string. See supported search operators in the + // Narrow your search with operators + // (https://support.google.com/cloudsearch/answer/6172299) + Query string `json:"query,omitempty"` + + // QueryInterpretationOptions: Options to interpret the user query. + QueryInterpretationOptions *QueryInterpretationOptions `json:"queryInterpretationOptions,omitempty"` + + // RequestOptions: Request options, such as the search application and + // user timezone. + RequestOptions *RequestOptions `json:"requestOptions,omitempty"` + + // SortOptions: The options for sorting the search results + SortOptions *SortOptions `json:"sortOptions,omitempty"` + + // Start: Starting index of the results. + Start int64 `json:"start,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ContextAttributes") + // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ExternalIdentity") to + // NullFields is a list of field names (e.g. "ContextAttributes") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -24925,24 +8909,55 @@ type UnmappedIdentity struct { NullFields []string `json:"-"` } -func (s *UnmappedIdentity) MarshalJSON() ([]byte, error) { - type NoMethod UnmappedIdentity +func (s *SearchRequest) MarshalJSON() ([]byte, error) { + type NoMethod SearchRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type UnreserveItemsRequest struct { - // ConnectorName: The name of connector making this call. Format: - // datasources/{source_id}/connectors/{ID} - ConnectorName string `json:"connectorName,omitempty"` +// SearchResponse: The search API response. +type SearchResponse struct { + // DebugInfo: Debugging information about the response. + DebugInfo *ResponseDebugInfo `json:"debugInfo,omitempty"` - // DebugOptions: Common debug options. - DebugOptions *DebugOptions `json:"debugOptions,omitempty"` + // ErrorInfo: Error information about the response. + ErrorInfo *ErrorInfo `json:"errorInfo,omitempty"` - // Queue: The name of a queue to unreserve items from. - Queue string `json:"queue,omitempty"` + // FacetResults: Repeated facet results. + FacetResults []*FacetResult `json:"facetResults,omitempty"` - // ForceSendFields is a list of field names (e.g. "ConnectorName") to + // HasMoreResults: Whether there are more search results matching the + // query. + HasMoreResults bool `json:"hasMoreResults,omitempty"` + + // QueryInterpretation: Query interpretation result for user query. + // Empty if query interpretation is disabled. + QueryInterpretation *QueryInterpretation `json:"queryInterpretation,omitempty"` + + // ResultCountEstimate: The estimated result count for this query. + ResultCountEstimate int64 `json:"resultCountEstimate,omitempty,string"` + + // ResultCountExact: The exact result count for this query. + ResultCountExact int64 `json:"resultCountExact,omitempty,string"` + + // ResultCounts: Expanded result count information. + ResultCounts *ResultCounts `json:"resultCounts,omitempty"` + + // Results: Results from a search query. + Results []*SearchResult `json:"results,omitempty"` + + // SpellResults: Suggested spelling for the query. + SpellResults []*SpellResult `json:"spellResults,omitempty"` + + // StructuredResults: Structured results for the user query. These + // results are not counted against the page_size. + StructuredResults []*StructuredResult `json:"structuredResults,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "DebugInfo") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -24950,25 +8965,47 @@ type UnreserveItemsRequest struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ConnectorName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "DebugInfo") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *UnreserveItemsRequest) MarshalJSON() ([]byte, error) { - type NoMethod UnreserveItemsRequest +func (s *SearchResponse) MarshalJSON() ([]byte, error) { + type NoMethod SearchResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type UpdateBccRecipients struct { - BccRecipients []*Recipient `json:"bccRecipients,omitempty"` +// SearchResult: Results containing indexed information for a document. +type SearchResult struct { + // ClusteredResults: If source is clustered, provide list of clustered + // results. There will only be one level of clustered results. If + // current source is not enabled for clustering, this field will be + // empty. + ClusteredResults []*SearchResult `json:"clusteredResults,omitempty"` + + // DebugInfo: Debugging information about this search result. + DebugInfo *ResultDebugInfo `json:"debugInfo,omitempty"` + + // Metadata: Metadata of the search result. + Metadata *Metadata `json:"metadata,omitempty"` + + // Snippet: The concatenation of all snippets (summaries) available for + // this result. + Snippet *Snippet `json:"snippet,omitempty"` + + // Title: Title of the search result. + Title string `json:"title,omitempty"` + + // Url: The URL of the search result. The URL contains a Google redirect + // to the actual item. This URL is signed and shouldn't be changed. + Url string `json:"url,omitempty"` - // ForceSendFields is a list of field names (e.g. "BccRecipients") to + // ForceSendFields is a list of field names (e.g. "ClusteredResults") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -24976,42 +9013,39 @@ type UpdateBccRecipients struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BccRecipients") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "ClusteredResults") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *UpdateBccRecipients) MarshalJSON() ([]byte, error) { - type NoMethod UpdateBccRecipients +func (s *SearchResult) MarshalJSON() ([]byte, error) { + type NoMethod SearchResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type UpdateBody struct { - // InsertContents: A repeated field that contains a series of content to - // insert into the draft that the user is currently editing. The content - // can contain HTML content or plain text content. - InsertContents []*InsertContent `json:"insertContents,omitempty"` +type ShareScope struct { + // Domain: If scope is DOMAIN, this field contains the dasher domain, + // for example "google.com". + Domain string `json:"domain,omitempty"` + // Scope: The scope to which the content was shared. + // // Possible values: - // "UNSPECIFIED_ACTION_TYPE" - Default value when nothing is set for - // Type. - // "IN_PLACE_INSERT" - Indicates this action is to perform an in-place - // insertion. By default the content is inserted at the current cursor - // position, if there is selected content, it replaces the selected - // content. - // "INSERT_AT_START" - Indicates this action is to perform insert at - // the start of the message body. - // "INSERT_AT_END" - Indicates this action is to perform insert at the - // end of the message body. - // "REPLACE" - Indicates this action is to replace the message body. - Type string `json:"type,omitempty"` + // "UNKNOWN" + // "PRIVATE" - Only the author can view the post. + // "LIMITED" - Viewable only by a set of people. + // "EXTENDED" - Viewable by extended circles. + // "DASHER_DOMAIN" + // "PUBLIC" + Scope string `json:"scope,omitempty"` - // ForceSendFields is a list of field names (e.g. "InsertContents") to + // ForceSendFields is a list of field names (e.g. "Domain") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25019,26 +9053,33 @@ type UpdateBody struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "InsertContents") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Domain") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *UpdateBody) MarshalJSON() ([]byte, error) { - type NoMethod UpdateBody +func (s *ShareScope) MarshalJSON() ([]byte, error) { + type NoMethod ShareScope raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type UpdateCcRecipients struct { - CcRecipients []*Recipient `json:"ccRecipients,omitempty"` +// Snippet: Snippet of the search result, which summarizes the content +// of the resulting page. +type Snippet struct { + // MatchRanges: The matched ranges in the snippet. + MatchRanges []*MatchRange `json:"matchRanges,omitempty"` + + // Snippet: The snippet of the document. The snippet of the document. + // May contain escaped HTML character that should be unescaped prior to + // rendering. + Snippet string `json:"snippet,omitempty"` - // ForceSendFields is a list of field names (e.g. "CcRecipients") to + // ForceSendFields is a list of field names (e.g. "MatchRanges") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25046,7 +9087,7 @@ type UpdateCcRecipients struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CcRecipients") to include + // NullFields is a list of field names (e.g. "MatchRanges") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -25055,29 +9096,25 @@ type UpdateCcRecipients struct { NullFields []string `json:"-"` } -func (s *UpdateCcRecipients) MarshalJSON() ([]byte, error) { - type NoMethod UpdateCcRecipients +func (s *Snippet) MarshalJSON() ([]byte, error) { + type NoMethod Snippet raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type UpdateDataSourceRequest struct { - // DebugOptions: Common debug options. - DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - - Source *DataSource `json:"source,omitempty"` +type SortOptions struct { + // OperatorName: The name of the operator corresponding to the field to + // sort on. The corresponding property must be marked as sortable. + OperatorName string `json:"operatorName,omitempty"` - // UpdateMask: Only applies to `settings.datasources.patch` - // (https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.datasources/patch). - // Update mask to control which fields to update. Example field paths: - // `name`, `displayName`. * If `update_mask` is non-empty, then only the - // fields specified in the `update_mask` are updated. * If you specify a - // field in the `update_mask`, but don't specify its value in the - // source, that field is cleared. * If the `update_mask` is not present - // or empty or has the value `*`, then all fields are updated. - UpdateMask string `json:"updateMask,omitempty"` + // SortOrder: Ascending is the default sort order + // + // Possible values: + // "ASCENDING" + // "DESCENDING" + SortOrder string `json:"sortOrder,omitempty"` - // ForceSendFields is a list of field names (e.g. "DebugOptions") to + // ForceSendFields is a list of field names (e.g. "OperatorName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25085,7 +9122,7 @@ type UpdateDataSourceRequest struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DebugOptions") to include + // NullFields is a list of field names (e.g. "OperatorName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -25094,69 +9131,71 @@ type UpdateDataSourceRequest struct { NullFields []string `json:"-"` } -func (s *UpdateDataSourceRequest) MarshalJSON() ([]byte, error) { - type NoMethod UpdateDataSourceRequest +func (s *SortOptions) MarshalJSON() ([]byte, error) { + type NoMethod SortOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type UpdateDraftActionMarkup struct { - // UpdateBccRecipients: If set, replaces the existing Bcc recipients of - // the draft the user is currently editing. - UpdateBccRecipients *UpdateBccRecipients `json:"updateBccRecipients,omitempty"` - - // UpdateBody: A field that contains a series of update actions to - // perform on the draft body that the user is currently editing. - UpdateBody *UpdateBody `json:"updateBody,omitempty"` - - // UpdateCcRecipients: If set, replaces the existing Cc recipients of - // the draft the user is currently editing. - UpdateCcRecipients *UpdateCcRecipients `json:"updateCcRecipients,omitempty"` - - // UpdateSubject: If set, replaces the existing subject of the draft the - // user is currently editing. - UpdateSubject *UpdateSubject `json:"updateSubject,omitempty"` +// Source: Defines sources for the suggest/search APIs. +type Source struct { + // Name: Source name for content indexed by the Indexing API. + Name string `json:"name,omitempty"` - // UpdateToRecipients: If set, replaces the existing To recipients of - // the draft the user is currently editing. - UpdateToRecipients *UpdateToRecipients `json:"updateToRecipients,omitempty"` + // PredefinedSource: Predefined content source for Google Apps. + // + // Possible values: + // "NONE" + // "QUERY_HISTORY" - Suggests queries issued by the user in the past. + // Only valid when used with the suggest API. Ignored when used in the + // query API. + // "PERSON" - Suggests people in the organization. Only valid when + // used with the suggest API. Results in an error when used in the query + // API. + // "GOOGLE_DRIVE" + // "GOOGLE_GMAIL" + // "GOOGLE_SITES" + // "GOOGLE_GROUPS" + // "GOOGLE_CALENDAR" + // "GOOGLE_KEEP" + PredefinedSource string `json:"predefinedSource,omitempty"` - // ForceSendFields is a list of field names (e.g. "UpdateBccRecipients") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Name") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "UpdateBccRecipients") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Name") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *UpdateDraftActionMarkup) MarshalJSON() ([]byte, error) { - type NoMethod UpdateDraftActionMarkup +func (s *Source) MarshalJSON() ([]byte, error) { + type NoMethod Source raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type UpdateSchemaRequest struct { - // DebugOptions: Common debug options. - DebugOptions *DebugOptions `json:"debugOptions,omitempty"` +// SourceConfig: Configurations for a source while processing a Search +// or Suggest request. +type SourceConfig struct { + // CrowdingConfig: The crowding configuration for the source. + CrowdingConfig *SourceCrowdingConfig `json:"crowdingConfig,omitempty"` - // Schema: The new schema for the source. - Schema *Schema `json:"schema,omitempty"` + // ScoringConfig: The scoring configuration for the source. + ScoringConfig *SourceScoringConfig `json:"scoringConfig,omitempty"` - // ValidateOnly: If true, the schema will be checked for validity, but - // will not be registered with the data source, even if valid. - ValidateOnly bool `json:"validateOnly,omitempty"` + // Source: The source for which this configuration is to be used. + Source *Source `json:"source,omitempty"` - // ForceSendFields is a list of field names (e.g. "DebugOptions") to + // ForceSendFields is a list of field names (e.g. "CrowdingConfig") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25164,25 +9203,42 @@ type UpdateSchemaRequest struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DebugOptions") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "CrowdingConfig") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *UpdateSchemaRequest) MarshalJSON() ([]byte, error) { - type NoMethod UpdateSchemaRequest +func (s *SourceConfig) MarshalJSON() ([]byte, error) { + type NoMethod SourceConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type UpdateSubject struct { - Subject string `json:"subject,omitempty"` +// SourceCrowdingConfig: Set search results crowding limits. Crowding is +// a situation in which multiple results from the same source or host +// "crowd out" other results, diminishing the quality of search for +// users. To foster better search quality and source diversity in search +// results, you can set a condition to reduce repetitive results by +// source. +type SourceCrowdingConfig struct { + // NumResults: Maximum number of results allowed from a datasource in a + // result page as long as results from other sources are not exhausted. + // Value specified must not be negative. A default value is used if this + // value is equal to 0. To disable crowding, set the value greater than + // 100. + NumResults int64 `json:"numResults,omitempty"` + + // NumSuggestions: Maximum number of suggestions allowed from a source. + // No limits will be set on results if this value is less than or equal + // to 0. + NumSuggestions int64 `json:"numSuggestions,omitempty"` - // ForceSendFields is a list of field names (e.g. "Subject") to + // ForceSendFields is a list of field names (e.g. "NumResults") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25190,7 +9246,7 @@ type UpdateSubject struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Subject") to include in + // NullFields is a list of field names (e.g. "NumResults") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -25199,16 +9255,28 @@ type UpdateSubject struct { NullFields []string `json:"-"` } -func (s *UpdateSubject) MarshalJSON() ([]byte, error) { - type NoMethod UpdateSubject +func (s *SourceCrowdingConfig) MarshalJSON() ([]byte, error) { + type NoMethod SourceCrowdingConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type UpdateToRecipients struct { - ToRecipients []*Recipient `json:"toRecipients,omitempty"` +// SourceResultCount: Per source result count information. +type SourceResultCount struct { + // HasMoreResults: Whether there are more search results for this + // source. + HasMoreResults bool `json:"hasMoreResults,omitempty"` + + // ResultCountEstimate: The estimated result count for this source. + ResultCountEstimate int64 `json:"resultCountEstimate,omitempty,string"` + + // ResultCountExact: The exact result count for this source. + ResultCountExact int64 `json:"resultCountExact,omitempty,string"` + + // Source: The source the result count information is associated with. + Source *Source `json:"source,omitempty"` - // ForceSendFields is a list of field names (e.g. "ToRecipients") to + // ForceSendFields is a list of field names (e.g. "HasMoreResults") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25216,35 +9284,34 @@ type UpdateToRecipients struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ToRecipients") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "HasMoreResults") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *UpdateToRecipients) MarshalJSON() ([]byte, error) { - type NoMethod UpdateToRecipients +func (s *SourceResultCount) MarshalJSON() ([]byte, error) { + type NoMethod SourceResultCount raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// UploadItemRef: Represents an upload session reference. This reference -// is created via upload method. This reference is valid for 30 days -// after its creation. Updating of item content may refer to this -// uploaded content via contentDataRef. -type UploadItemRef struct { - // Name: The name of the content reference. The maximum length is 2048 - // characters. - Name string `json:"name,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// SourceScoringConfig: Set the scoring configuration. This allows +// modifying the ranking of results for a source. +type SourceScoringConfig struct { + // SourceImportance: Importance of the source. + // + // Possible values: + // "DEFAULT" + // "LOW" + // "HIGH" + SourceImportance string `json:"sourceImportance,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // ForceSendFields is a list of field names (e.g. "SourceImportance") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25252,117 +9319,47 @@ type UploadItemRef struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Name") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "SourceImportance") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *UploadItemRef) MarshalJSON() ([]byte, error) { - type NoMethod UploadItemRef +func (s *SourceScoringConfig) MarshalJSON() ([]byte, error) { + type NoMethod SourceScoringConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// UploadMetadata: Annotation metadata for user Upload artifacts. -type UploadMetadata struct { - // AttachmentToken: Opaque token. Clients shall simply pass it back to - // the Backend. There is no guarantee the attachment_token returned on - // subsequent reads is the same even if nothing has changed. This field - // will NOT be saved into storage. - AttachmentToken string `json:"attachmentToken,omitempty"` - - // BackendUploadMetadata: Information about the uploaded attachment that - // is only used in Backend. This field will NOT be sent out of Google. - BackendUploadMetadata *AppsDynamiteSharedBackendUploadMetadata `json:"backendUploadMetadata,omitempty"` - - // ClonedAuthorizedItemId: The "new" secure identifier for Drive files. - // Should be used instead of the deprecated string drive_id field above. - // This should only be set if the upload file has been added to Drive. - // Note that older Drive files that do not have a ResourceKey should - // still use this field, with the resource_key field unset. - ClonedAuthorizedItemId *AuthorizedItemId `json:"clonedAuthorizedItemId,omitempty"` - - // ClonedDriveAction: DriveAction for organizing the cloned version of - // this upload in Drive, if the file has been added to Drive. This field - // is not set if the file has not been added to Drive. Additionally, - // this field is only set when part of a FileResult in a - // ListFilesResponse. - // - // Possible values: - // "DRIVE_ACTION_UNSPECIFIED" - No organize action should be shown. - // "ADD_TO_DRIVE" - Show "Add to Drive" button, for adding file that - // doesn't exist in Drive to Drive. Note that deleted Drive files that - // still exist (i.e. in your Trash) will still be ORGANIZE (this is - // consistent with Gmail Drive attachments). - // "ORGANIZE" - Show "Move" button, for organizing a Drive file the - // user has permission to move. - // "ADD_SHORTCUT" - Show "Add shortcut" button, for adding a shortcut - // to a Drive file the user does not have permission to move. - // "ADD_ANOTHER_SHORTCUT" - Show "Add another shortcut" button, for - // Drive files the user has already created a shortcut to. - ClonedDriveAction string `json:"clonedDriveAction,omitempty"` - - // ClonedDriveId: Reference to a Drive ID, if this upload file has been - // previously cloned to Drive. Note: this is deprecated in favor of the - // AuthorizedItemId below. - ClonedDriveId string `json:"clonedDriveId,omitempty"` - - // ContentName: The original file name for the content, not the full - // path. - ContentName string `json:"contentName,omitempty"` - - // ContentType: Type is from Scotty's best_guess by default: - // http://google3/uploader/agent/scotty_agent.proto?l=51&rcl=140889785 - ContentType string `json:"contentType,omitempty"` - - // DlpMetricsMetadata: The metrics metadata of the Data Loss Prevention - // attachment scan. - DlpMetricsMetadata *AppsDynamiteSharedDlpMetricsMetadata `json:"dlpMetricsMetadata,omitempty"` - - // InternalOnlyComponentSearchInfo: Message component search metadata - // for this upload_metadata (currently used for message highlighting and - // snippeting). For use by Search backend only; clients should get - // upload_metadata search info from Annotation.component_search_info. - // This field is necessary because backend Message keeps UploadMetadata - // in a separate field. Upon converting from backend message to frontend - // message, this field will be copied to - // Annotation.component_search_info while the corresponding - // UploadMetadata is converted into an Annotation. - InternalOnlyComponentSearchInfo *AppsDynamiteSharedMessageComponentSearchInfo `json:"internalOnlyComponentSearchInfo,omitempty"` - - // LatestVirusScanTimestamp: The timestamp of the most recent virus scan - // completed (in microseconds). - LatestVirusScanTimestamp int64 `json:"latestVirusScanTimestamp,omitempty,string"` - - // LocalId: A copy of the LocalId in Annotation. This field is supposed - // to be filled by server only. - LocalId string `json:"localId,omitempty"` - - // OriginalDimension: Original dimension of the content. Only set for - // image attachments. - OriginalDimension *AppsDynamiteSharedDimension `json:"originalDimension,omitempty"` +type SpellResult struct { + // SuggestedQuery: The suggested spelling of the query. + SuggestedQuery string `json:"suggestedQuery,omitempty"` - // VideoReference: Reference to a transcoded video attachment. Only set - // for video attachments. - VideoReference *AppsDynamiteSharedVideoReference `json:"videoReference,omitempty"` + // SuggestedQueryHtml: The sanitized HTML representing the spell + // corrected query that can be used in the UI. This usually has + // language-specific tags to mark up parts of the query that are spell + // checked. + SuggestedQueryHtml *SafeHtmlProto `json:"suggestedQueryHtml,omitempty"` - // VirusScanResult: Result for a virus scan. It's duplicated in the - // above field apps.dynamite.shared.BackendUploadMetadata + // SuggestionType: Suggestion triggered for the current query. // // Possible values: - // "UNKNOWN_VIRUS_SCAN_RESULT" - // "CLEAN" - // "INFECTED" - // "ERROR" - // "POLICY_VIOLATION" - The document violates Google's policy for - // executables and archives. - VirusScanResult string `json:"virusScanResult,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AttachmentToken") to + // "SUGGESTION_TYPE_UNSPECIFIED" - Default spell check type + // "NON_EMPTY_RESULTS_SPELL_SUGGESTION" - Spell suggestion without any + // results changed. The results are still shown for the original query + // (which has non zero / results) with a suggestion for spelling that + // would have results. + // "ZERO_RESULTS_FULL_PAGE_REPLACEMENT" - Spell suggestion triggered + // when original query has no results. When the original query has no + // results, and spell suggestion has results we trigger results for the + // spell corrected query. + SuggestionType string `json:"suggestionType,omitempty"` + + // ForceSendFields is a list of field names (e.g. "SuggestedQuery") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25370,7 +9367,7 @@ type UploadMetadata struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AttachmentToken") to + // NullFields is a list of field names (e.g. "SuggestedQuery") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -25380,81 +9377,22 @@ type UploadMetadata struct { NullFields []string `json:"-"` } -func (s *UploadMetadata) MarshalJSON() ([]byte, error) { - type NoMethod UploadMetadata +func (s *SpellResult) MarshalJSON() ([]byte, error) { + type NoMethod SpellResult raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// UrlMetadata: Annotation metadata for a Weblink. In case of pasted -// link it can qualify to be other types in addition to being a URL - -// like DRIVE_DOC/DRIVE_SHEET and so on. The URL metadata will also be -// present and it's up to the client to decide which metadata to render -// it with. These fields are filled in using page render service. -type UrlMetadata struct { - // Domain: Domain for this url. If it's an IP address the address is - // returned. - Domain string `json:"domain,omitempty"` - - // GwsUrl: The signed GWS URL. - GwsUrl *SafeUrlProto `json:"gwsUrl,omitempty"` - - // GwsUrlExpirationTimestamp: The expiration timestamp for GWS URL, only - // set when gws_url is set. - GwsUrlExpirationTimestamp int64 `json:"gwsUrlExpirationTimestamp,omitempty,string"` - - // ImageHeight: Dimensions of the image: height. This field is string to - // match with page render service response. Deprecated. Use - // int_image_height instead. - ImageHeight string `json:"imageHeight,omitempty"` - - // ImageUrl: Representative image of the website. - ImageUrl string `json:"imageUrl,omitempty"` - - // ImageWidth: Dimensions of the image: width. This field is string to - // match with page render service response. Deprecated. Use - // int_image_height instead. - ImageWidth string `json:"imageWidth,omitempty"` - - // IntImageHeight: Dimensions of the image: height. - IntImageHeight int64 `json:"intImageHeight,omitempty"` - - // IntImageWidth: Dimensions of the image: width. - IntImageWidth int64 `json:"intImageWidth,omitempty"` - - // MimeType: Mime type of the content (Currently mapped from Page Render - // Service ItemType) Note that this is not necessarily the mime type of - // the http resource. For example a text/html from youtube or vimeo may - // actually be classified as a video type. Then we shall mark it as - // video/* since we don't know exactly what type of video it is. - MimeType string `json:"mimeType,omitempty"` - - // RedirectUrl: The stable redirect URL pointing to frontend server. - RedirectUrl *SafeUrlProto `json:"redirectUrl,omitempty"` - - // ShouldNotRender: If the UrlMetadata is missing data for rendering a - // chip. Deprecated. Use Annotation.ChipRenderType instead. - ShouldNotRender bool `json:"shouldNotRender,omitempty"` - - // Snippet: Snippet/small description of the weblink. - Snippet string `json:"snippet,omitempty"` - - // Title: Title of the Weblink. - Title string `json:"title,omitempty"` + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Url: The original URL. - Url *SafeUrlProto `json:"url,omitempty"` +// StartUploadItemRequest: Start upload file request. +type StartUploadItemRequest struct { + // ConnectorName: The name of connector making this call. Format: + // datasources/{source_id}/connectors/{ID} + ConnectorName string `json:"connectorName,omitempty"` - // Possible values: - // "URL_SOURCE_UNKNOWN" - // "SERVER_SUPPLIED_POLICY_VIOLATION" - // "AUTO_DETECTED_PLAIN_TEXT" - Set by the server, when it detects a - // URL in the message text - // "RICH_TEXT" - Set by the client, when the user adds a link as a - // custom hyperlink. Validated by the server and persisted in storage. - UrlSource string `json:"urlSource,omitempty"` + // DebugOptions: Common debug options. + DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - // ForceSendFields is a list of field names (e.g. "Domain") to + // ForceSendFields is a list of field names (e.g. "ConnectorName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25462,97 +9400,43 @@ type UrlMetadata struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Domain") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "ConnectorName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *UrlMetadata) MarshalJSON() ([]byte, error) { - type NoMethod UrlMetadata +func (s *StartUploadItemRequest) MarshalJSON() ([]byte, error) { + type NoMethod StartUploadItemRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// User: User profile information. This user is not necessarily member -// of a space. -type User struct { - // AvatarUrl: URL for the avatar picture of the User in dynamite - AvatarUrl string `json:"avatarUrl,omitempty"` - - // BlockRelationship: Information about whether the user is blocked by - // requester and/or has blocked requester. - BlockRelationship *AppsDynamiteSharedUserBlockRelationship `json:"blockRelationship,omitempty"` - - // BotInfo: Bot-specific profile information. Leave it empty for human - // users. - BotInfo *BotInfo `json:"botInfo,omitempty"` - - // Deleted: Deleted flag, if true, means User has been - // soft-deleted/purged Deprecated. Use user_account_state field instead. - Deleted bool `json:"deleted,omitempty"` - - // Email: Email ID of the user - Email string `json:"email,omitempty"` - - // FirstName: First or given name of the user - FirstName string `json:"firstName,omitempty"` - - // Gender: Gender of the user - Gender string `json:"gender,omitempty"` - - // Id: UserId - Id *UserId `json:"id,omitempty"` - - // IsAnonymous: Set to true if none of the depending services (Gaia, - // PeopleApi) returns any info for this user. - IsAnonymous bool `json:"isAnonymous,omitempty"` - - // LastName: Last or family name of the user - LastName string `json:"lastName,omitempty"` - - // Name: Non-unique, user-defined display name of the User - Name string `json:"name,omitempty"` +// Status: The `Status` type defines a logical error model that is +// suitable for different programming environments, including REST APIs +// and RPC APIs. It is used by gRPC (https://github.com/grpc). Each +// `Status` message contains three pieces of data: error code, error +// message, and error details. You can find out more about this error +// model and how to work with it in the API Design Guide +// (https://cloud.google.com/apis/design/errors). +type Status struct { + // Code: The status code, which should be an enum value of + // google.rpc.Code. + Code int64 `json:"code,omitempty"` - // OrganizationInfo: Information about whether the user is a consumer - // user, or the GSuite customer that they belong to. - OrganizationInfo *AppsDynamiteSharedOrganizationInfo `json:"organizationInfo,omitempty"` + // Details: A list of messages that carry the error details. There is a + // common set of message types for APIs to use. + Details []googleapi.RawMessage `json:"details,omitempty"` - // PhoneNumber: Phone number(s) of the user - PhoneNumber []*AppsDynamiteSharedPhoneNumber `json:"phoneNumber,omitempty"` + // Message: A developer-facing error message, which should be in + // English. Any user-facing error message should be localized and sent + // in the google.rpc.Status.details field, or localized by the client. + Message string `json:"message,omitempty"` - // UserAccountState: State of user's Gaia Account - // - // Possible values: - // "UNKNOWN_USER_ACCOUNT_STATE" - // "ENABLED" - User has Dynamite enabled. - // "DISABLED" - User doesn't have Dynamite enabled. This includes - // service disabled by admin, or user's account is suspended - // "DELETED" - User account is deleted - // "TEMPORARY_UNAVAILABLE" - Failed to retrieve user's info. Will use - // user's email address as name and first_name. - UserAccountState string `json:"userAccountState,omitempty"` - - // UserProfileVisibility: Visibility of user's Profile - // - // Possible values: - // "UNKNOWN_USER_PROFILE_VISIBILITY" - // "FULL_PROFILE" - Caller has full visibility. - // "PRIMARY_MAIL" - Caller can only see target user's primary email - // from Gaia - // "INVITEE_EMAIL" - Caller can only see the email used to invite the - // target user - // "DELETED_USER" - Caller can only see the target user as a deleted - // user. Email is empty. Names are redacted as "Deleted User". - // "UNKNOWN_USER" - Caller has no visibility to the target user at - // all. Email is empty. Names are redacted as "Unknown User". - // "FAILURE" - Stubby failed. Clients should always retry ASAP - UserProfileVisibility string `json:"userProfileVisibility,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AvatarUrl") to + // ForceSendFields is a list of field names (e.g. "Code") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25560,8 +9444,8 @@ type User struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AvatarUrl") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Code") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -25569,19 +9453,20 @@ type User struct { NullFields []string `json:"-"` } -func (s *User) MarshalJSON() ([]byte, error) { - type NoMethod User +func (s *Status) MarshalJSON() ([]byte, error) { + type NoMethod Status raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// UserActivity: User's single or bulk query activity. This can be a -// logging query or deletion query. -type UserActivity struct { - // QueryActivity: Contains data which needs to be logged/removed. - QueryActivity *QueryActivity `json:"queryActivity,omitempty"` +// StructuredDataObject: A structured data object consisting of named +// properties. +type StructuredDataObject struct { + // Properties: The properties for the object. The maximum number of + // elements is 1000. + Properties []*NamedProperty `json:"properties,omitempty"` - // ForceSendFields is a list of field names (e.g. "QueryActivity") to + // ForceSendFields is a list of field names (e.g. "Properties") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25589,30 +9474,28 @@ type UserActivity struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "QueryActivity") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Properties") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *UserActivity) MarshalJSON() ([]byte, error) { - type NoMethod UserActivity +func (s *StructuredDataObject) MarshalJSON() ([]byte, error) { + type NoMethod StructuredDataObject raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// UserDisplayInfo: Resource for displaying user info -type UserDisplayInfo struct { - // AvatarUrl: The avatar to show for this user - AvatarUrl string `json:"avatarUrl,omitempty"` - - // DisplayName: The name to show for this user - DisplayName string `json:"displayName,omitempty"` +// StructuredResult: Structured results that are returned as part of +// search request. +type StructuredResult struct { + // Person: Representation of a person + Person *Person `json:"person,omitempty"` - // ForceSendFields is a list of field names (e.g. "AvatarUrl") to + // ForceSendFields is a list of field names (e.g. "Person") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25620,8 +9503,8 @@ type UserDisplayInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AvatarUrl") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Person") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -25629,190 +9512,107 @@ type UserDisplayInfo struct { NullFields []string `json:"-"` } -func (s *UserDisplayInfo) MarshalJSON() ([]byte, error) { - type NoMethod UserDisplayInfo +func (s *StructuredResult) MarshalJSON() ([]byte, error) { + type NoMethod StructuredResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// UserId: Primary key for User resource. -type UserId struct { - // ActingUserId: Optional. Opaque, server-assigned ID of the user - // profile associated with App/user acting on behalf of the human user. - // This is currently only set when a 3P application is acting on the - // user's behalf. - ActingUserId string `json:"actingUserId,omitempty"` - - // Id: Opaque, server-assigned ID of the User. - Id string `json:"id,omitempty"` - - // OriginAppId: Optional. Identifier of the App involved (directly or on - // behalf of a human creator) in creating this message. This is not set - // if the user posted a message directly, but is used in the case of, - // for example, a message being generated by a 1P integration based on a - // user action (creating an event, creating a task etc). This should - // only be used on the BE. For clients, please use the field in the FE - // message proto instead - // (google3/apps/dynamite/v1/frontend/api/message.proto?q=origin_app_id). - OriginAppId *AppId `json:"originAppId,omitempty"` - - // Type: Clients do not need to send UserType to Backend, but Backend - // will always send this field to clients per the following rule: 1. For - // HUMAN Ids, the field is empty but by default .getType() will return - // HUMAN. 2. For BOT Ids, the field is ALWAYS set to BOT. - // - // Possible values: - // "HUMAN" - Notes on HUMAN type: 1) Leaving UserId.UserType field - // empty will return HUMAN as default value. This is expected because - // all the existing UserIds are without explicitly setting UserType, - // most of which are HUMAN Ids. For Bot Ids we will always set BOT in - // UserType field. 2) DO NOT explicitly set HUMAN as type. This is a - // proto2 issue, that a UserId with explicitly set default value HUMAN - // as type is NOT equal to an id without setting the field. aka. UserId - // id1 = UserId.newBuilder() - // .setId("dummy").setType(UserType.HUMAN).build(); UserId id2 = - // UserId.newBuilder().setId("dummy").build(); - // AssertThat(id1).isNotEqual(id2); - // AssertThat(id2.getType()).isEqualTo(UserType.HUMAN); - // "BOT" - Type string `json:"type,omitempty"` +// SuggestRequest: Request of suggest API. +type SuggestRequest struct { + // DataSourceRestrictions: The sources to use for suggestions. If not + // specified, the data sources are taken from the current search + // application. NOTE: Suggestions are only supported for the following + // sources: * Third-party data sources * PredefinedSource.PERSON * + // PredefinedSource.GOOGLE_DRIVE + DataSourceRestrictions []*DataSourceRestriction `json:"dataSourceRestrictions,omitempty"` - // ForceSendFields is a list of field names (e.g. "ActingUserId") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // Query: Partial query for which autocomplete suggestions will be + // shown. For example, if the query is "sea", then the server might + // return "season", "search", "seagull" and so on. + Query string `json:"query,omitempty"` + + // RequestOptions: Request options, such as the search application and + // user timezone. + RequestOptions *RequestOptions `json:"requestOptions,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "DataSourceRestrictions") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ActingUserId") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "DataSourceRestrictions") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *UserId) MarshalJSON() ([]byte, error) { - type NoMethod UserId +func (s *SuggestRequest) MarshalJSON() ([]byte, error) { + type NoMethod SuggestRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// UserInfo: Contains info regarding the updater of an Activity Feed -// item. Next Id: 8 -type UserInfo struct { - // DriveNotificationAvatarUrl: Avatar url of the user who triggered the - // Drive Notification email. This field will be populated if we can - // extract such information from the Drive Notification email. This - // should only be used to fetch user avatars when updater_to_show_email - // is not populated. This field is not set for non-Drive Notification - // items. - DriveNotificationAvatarUrl string `json:"driveNotificationAvatarUrl,omitempty"` +// SuggestResponse: Response of the suggest API. +type SuggestResponse struct { + // SuggestResults: List of suggestions. + SuggestResults []*SuggestResult `json:"suggestResults,omitempty"` - // UpdaterCountDisplayType: Describes how updater_count_to_show should - // be used. - // - // Possible values: - // "UPDATER_COUNT_DISPLAY_TYPE_UNSPECIFIED" - // "NO_DISPLAY_COUNT" - No additional updaters where involved. Shows - // up in clients as "$USERNAME replied". - // "EXACT_COUNT" - A precise updater count is known and the value set - // in updater_count_to_show should be used. If set, - // updater_count_to_show is set to the total number of updaters minus - // the one set in updater_to_show. Shows up in clients as "$USERNAME and - // $NUM others replied". - // "NONZERO_COUNT" - A precise updater count could not be calculated, - // but there is at least one. Any value set in updater_count_to_show - // should NOT be used. Shows up in clients as "$USERNAME and others - // replied". - UpdaterCountDisplayType string `json:"updaterCountDisplayType,omitempty"` - - // UpdaterCountToShow: The number of updaters for clients to show - // depending on UpdaterCountDisplayType. - UpdaterCountToShow int64 `json:"updaterCountToShow,omitempty"` - - // UpdaterToShowEmail: The email of the updater for clients to show used - // for Gmail items. For Drive Notifications, this is the email of the - // user who triggered the Drive Notification email. This field will be - // populated if we can extract such information from the Drive - // Notification email. This is not the actual sender of the email, as - // the sender is always comments-noreply@docs.google.com. - UpdaterToShowEmail string `json:"updaterToShowEmail,omitempty"` - - // UpdaterToShowGaiaId: The gaia id of the updater for clients to show - // used for Gmail items. If the updater is an external user, the email - // field below should be populated. - UpdaterToShowGaiaId int64 `json:"updaterToShowGaiaId,omitempty,string"` - - // UpdaterToShowName: The display name of the updater for clients to - // show used for Gmail items. For non-Drive Notification items, this - // field will always be populated. If the display name cannot be found - // for the user, the fallback string will be the email address. For - // Drive Notification items, this is the name of the user who triggered - // the Drive notification email. This field will be populated if we can - // extract such information from the Drive Notification email. If the - // name cannot be extracted, then the email will be the fallback string, - // which is used as the display name text in the UI when needed. This is - // not the actual sender of the email, as the sender is always - // comments-noreply@docs.google.com. - UpdaterToShowName string `json:"updaterToShowName,omitempty"` - - // UpdaterToShowUserId: The updater for clients to show used for - // Dynamite Chat items. - UpdaterToShowUserId *UserId `json:"updaterToShowUserId,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. - // "DriveNotificationAvatarUrl") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. + // ForceSendFields is a list of field names (e.g. "SuggestResults") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "DriveNotificationAvatarUrl") to include in API requests with the - // JSON null value. By default, fields with empty values are omitted - // from API requests. However, any field with an empty value appearing - // in NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. + // NullFields is a list of field names (e.g. "SuggestResults") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *UserInfo) MarshalJSON() ([]byte, error) { - type NoMethod UserInfo +func (s *SuggestResponse) MarshalJSON() ([]byte, error) { + type NoMethod SuggestResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// UserMentionData: Person metadata, for USER_MENTION segments. Should -// always contain at least one of user_gaia_id, user_id, email or user. -// The exact set of populated fields may differ depending on the context -// and the level in the serving stack; for example, emails will be -// elided on the viewing path. But as a general rule, a proto having any -// one of the four is valid, subject to the standard constraints of the -// applied annotations -- that is, communication between servers and -// clients will ignore jspb.ignore fields, and communication between -// servers and other servers (or between servers and storage) will -// ignore client_only fields. For more on the annotations, see the -// comments in social/common/segment_annotations.proto -type UserMentionData struct { - Email string `json:"email,omitempty"` +// SuggestResult: One suggestion result. +type SuggestResult struct { + // PeopleSuggestion: This is present when the suggestion indicates a + // person. It contains more information about the person - like their + // email ID, name etc. + PeopleSuggestion *PeopleSuggestion `json:"peopleSuggestion,omitempty"` - // User: If the principal is backed by a gaia id, DO NOT use this field. - // Use user_gaia_id/user_id fields instead. - User *PrincipalProto `json:"user,omitempty"` + // QuerySuggestion: This field will be present if the suggested query is + // a word/phrase completion. + QuerySuggestion *QuerySuggestion `json:"querySuggestion,omitempty"` - // UserGaiaId: An unobfuscated gaia ID: - UserGaiaId int64 `json:"userGaiaId,omitempty,string"` + // Source: The source of the suggestion. + Source *Source `json:"source,omitempty"` - // UserId: An obfuscated gaia ID: - UserId string `json:"userId,omitempty"` + // SuggestedQuery: The suggested query that will be used for search, + // when the user clicks on the suggestion + SuggestedQuery string `json:"suggestedQuery,omitempty"` - // ForceSendFields is a list of field names (e.g. "Email") to + // ForceSendFields is a list of field names (e.g. "PeopleSuggestion") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25820,70 +9620,83 @@ type UserMentionData struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Email") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "PeopleSuggestion") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *UserMentionData) MarshalJSON() ([]byte, error) { - type NoMethod UserMentionData +func (s *SuggestResult) MarshalJSON() ([]byte, error) { + type NoMethod SuggestResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// UserMentionMetadata: Annotation metadata for user mentions (+/@/-). -type UserMentionMetadata struct { - // DisplayName: Display name of the mentioned user. This field should - // remain empty when clients resolve a UserMention annotation. It will - // be filled in when a UserMention is generated by the Integration - // Server. - DisplayName string `json:"displayName,omitempty"` +// TextOperatorOptions: Used to provide a search operator for text +// properties. This is optional. Search operators let users restrict the +// query to specific fields relevant to the type of item being searched. +type TextOperatorOptions struct { + // ExactMatchWithOperator: If true, the text value is tokenized as one + // atomic value in operator searches and facet matches. For example, if + // the operator name is "genre" and the value is "science-fiction" the + // query restrictions "genre:science" and "genre:fiction" doesn't match + // the item; "genre:science-fiction" does. Text value matching is + // case-sensitive and does not remove special characters. If false, the + // text is tokenized. For example, if the value is "science-fiction" the + // queries "genre:science" and "genre:fiction" matches the item. + ExactMatchWithOperator bool `json:"exactMatchWithOperator,omitempty"` + + // OperatorName: Indicates the operator name required in the query in + // order to isolate the text property. For example, if operatorName is + // *subject* and the property's name is *subjectLine*, then queries like + // *subject:* show results only where the value of the property + // named *subjectLine* matches **. By contrast, a search that + // uses the same ** without an operator returns all items where + // ** matches the value of any text properties or text within the + // content field for the item. The operator name can only contain + // lowercase letters (a-z). The maximum length is 32 characters. + OperatorName string `json:"operatorName,omitempty"` - // Gender: Gender of the mentioned user. One of "female", "male" or - // "other". Used for choosing accurate translations for strings that - // contain the UserMention, when these need to be constructed (e.g. task - // assignment update message). This field should remain empty when - // clients resolve a UserMention. It will be filled in when a - // UserMention is generated by the Integration Server. - Gender string `json:"gender,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "ExactMatchWithOperator") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` - // Id: To be deprecated. Use invitee_info field instead. ID of the User - // mentioned. This field should remain empty when type == MENTION_ALL. - Id *UserId `json:"id,omitempty"` + // NullFields is a list of field names (e.g. "ExactMatchWithOperator") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} - // InviteeInfo: Invitee UserId and email used when mentioned. This field - // should remain empty when type == MENTION_ALL. Invitee_info.email is - // only used when a user is @-mentioned with an email address, and it - // will be empty when clients get messages from Backend. - InviteeInfo *InviteeInfo `json:"inviteeInfo,omitempty"` +func (s *TextOperatorOptions) MarshalJSON() ([]byte, error) { + type NoMethod TextOperatorOptions + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Possible values: - // "TYPE_UNSPECIFIED" - Default value for the enum. DO NOT USE. - // "INVITE" - An @mention that invites a new member into the space - // "UNINVITE" - DEPRECATED: An @mention that removes a member from a - // space. Support for this has been removed. - // "MENTION" - An @mention of an existing member in the space. - // "MENTION_ALL" - An @mention of all members in the space. - // "FAILED_TO_ADD" - Server-generated user mention, for clients to - // strikethrough. - Type string `json:"type,omitempty"` +// TextPropertyOptions: The options for text properties. +type TextPropertyOptions struct { + // OperatorOptions: If set, describes how the property should be used as + // a search operator. + OperatorOptions *TextOperatorOptions `json:"operatorOptions,omitempty"` - // UserMentionError: Specific reason for the user mention failing, for - // fine-grained processing by clients (i.e. specific error message for - // space limit exceeded case) IMPORTANT: Set this only for FAILED_TO_ADD - // case. - // - // Possible values: - // "USER_MENTION_ERROR_UNSPECIFIED" - // "MEMBERSHIP_LIMIT_EXCEEDED" - Failure caused by adding user to a - // room that is full - UserMentionError string `json:"userMentionError,omitempty"` + // RetrievalImportance: Indicates the search quality importance of the + // tokens within the field when used for retrieval. + RetrievalImportance *RetrievalImportance `json:"retrievalImportance,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to + // ForceSendFields is a list of field names (e.g. "OperatorOptions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25891,29 +9704,29 @@ type UserMentionMetadata struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "OperatorOptions") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *UserMentionMetadata) MarshalJSON() ([]byte, error) { - type NoMethod UserMentionMetadata +func (s *TextPropertyOptions) MarshalJSON() ([]byte, error) { + type NoMethod TextPropertyOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type VPCSettings struct { - // Project: The resource name of the GCP Project to be used for VPC SC - // policy check. VPC security settings on this project will be honored - // for Cloud Search APIs after project_name has been updated through - // CustomerService. Format: projects/{project_id} - Project string `json:"project,omitempty"` +// TextValues: List of text values. +type TextValues struct { + // Values: The maximum allowable length for text values is 2048 + // characters. + Values []string `json:"values,omitempty"` - // ForceSendFields is a list of field names (e.g. "Project") to + // ForceSendFields is a list of field names (e.g. "Values") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25921,8 +9734,8 @@ type VPCSettings struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Project") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Values") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -25930,27 +9743,32 @@ type VPCSettings struct { NullFields []string `json:"-"` } -func (s *VPCSettings) MarshalJSON() ([]byte, error) { - type NoMethod VPCSettings +func (s *TextValues) MarshalJSON() ([]byte, error) { + type NoMethod TextValues raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Value: Definition of a single value with generic type. -type Value struct { - BooleanValue bool `json:"booleanValue,omitempty"` +type ThirdPartyGenericCard struct { + // CardId: Unique identifier for the card. + CardId string `json:"cardId,omitempty"` - DateValue *Date `json:"dateValue,omitempty"` + // Category: Category that the card belongs to. + Category string `json:"category,omitempty"` - DoubleValue float64 `json:"doubleValue,omitempty"` + // Content: [Required] Card content. + Content *Content `json:"content,omitempty"` - IntegerValue int64 `json:"integerValue,omitempty,string"` + // Context: [Required] Context where the card should be triggered. + Context *Context `json:"context,omitempty"` - StringValue string `json:"stringValue,omitempty"` + // IsDismissible: Whether the card can be dismissed. + IsDismissible bool `json:"isDismissible,omitempty"` - TimestampValue string `json:"timestampValue,omitempty"` + // Priority: Priority of the card, where 0 is the highest priority. + Priority int64 `json:"priority,omitempty"` - // ForceSendFields is a list of field names (e.g. "BooleanValue") to + // ForceSendFields is a list of field names (e.g. "CardId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -25958,50 +9776,89 @@ type Value struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BooleanValue") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "CardId") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *Value) MarshalJSON() ([]byte, error) { - type NoMethod Value +func (s *ThirdPartyGenericCard) MarshalJSON() ([]byte, error) { + type NoMethod ThirdPartyGenericCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *Value) UnmarshalJSON(data []byte) error { - type NoMethod Value - var s1 struct { - DoubleValue gensupport.JSONFloat64 `json:"doubleValue"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.DoubleValue = float64(s1.DoubleValue) - return nil -} +// TimestampOperatorOptions: Used to provide a search operator for +// timestamp properties. This is optional. Search operators let users +// restrict the query to specific fields relevant to the type of item +// being searched. +type TimestampOperatorOptions struct { + // GreaterThanOperatorName: Indicates the operator name required in the + // query in order to isolate the timestamp property using the + // greater-than operator. For example, if greaterThanOperatorName is + // *closedafter* and the property's name is *closeDate*, then queries + // like *closedafter:* show results only where the value of the + // property named *closeDate* is later than **. The operator name + // can only contain lowercase letters (a-z). The maximum length is 32 + // characters. + GreaterThanOperatorName string `json:"greaterThanOperatorName,omitempty"` -type ValueFilter struct { - // OperatorName: The `operator_name` applied to the query, such as - // *price_greater_than*. The filter can work against both types of - // filters defined in the schema for your data source: 1. - // `operator_name`, where the query filters results by the property that - // matches the value. 2. `greater_than_operator_name` or - // `less_than_operator_name` in your schema. The query filters the - // results for the property values that are greater than or less than - // the supplied value in the query. + // LessThanOperatorName: Indicates the operator name required in the + // query in order to isolate the timestamp property using the less-than + // operator. For example, if lessThanOperatorName is *closedbefore* and + // the property's name is *closeDate*, then queries like + // *closedbefore:* show results only where the value of the + // property named *closeDate* is earlier than **. The operator + // name can only contain lowercase letters (a-z). The maximum length is + // 32 characters. + LessThanOperatorName string `json:"lessThanOperatorName,omitempty"` + + // OperatorName: Indicates the operator name required in the query in + // order to isolate the timestamp property. For example, if operatorName + // is *closedon* and the property's name is *closeDate*, then queries + // like *closedon:* show results only where the value of the + // property named *closeDate* matches **. By contrast, a search + // that uses the same ** without an operator returns all items + // where ** matches the value of any String properties or text + // within the content field for the item. The operator name can only + // contain lowercase letters (a-z). The maximum length is 32 characters. OperatorName string `json:"operatorName,omitempty"` - // Value: The value to be compared with. - Value *Value `json:"value,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "GreaterThanOperatorName") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. + ForceSendFields []string `json:"-"` - // ForceSendFields is a list of field names (e.g. "OperatorName") to + // NullFields is a list of field names (e.g. "GreaterThanOperatorName") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *TimestampOperatorOptions) MarshalJSON() ([]byte, error) { + type NoMethod TimestampOperatorOptions + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// TimestampPropertyOptions: The options for timestamp properties. +type TimestampPropertyOptions struct { + // OperatorOptions: If set, describes how the timestamp should be used + // as a search operator. + OperatorOptions *TimestampOperatorOptions `json:"operatorOptions,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OperatorOptions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -26009,35 +9866,27 @@ type ValueFilter struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OperatorName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "OperatorOptions") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *ValueFilter) MarshalJSON() ([]byte, error) { - type NoMethod ValueFilter +func (s *TimestampPropertyOptions) MarshalJSON() ([]byte, error) { + type NoMethod TimestampPropertyOptions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type VideoCallMetadata struct { - // MeetingSpace: Thor meeting space. - MeetingSpace *MeetingSpace `json:"meetingSpace,omitempty"` - - // ShouldNotRender: If this field is set to true, server should still - // contact external backends to get metadata for search but clients - // should not render this chip. - ShouldNotRender bool `json:"shouldNotRender,omitempty"` - - // WasCreatedInCurrentGroup: Whether this meeting space was created via - // Dynamite in this Dynamite group. - WasCreatedInCurrentGroup bool `json:"wasCreatedInCurrentGroup,omitempty"` +// TimestampValues: List of timestamp values. +type TimestampValues struct { + Values []string `json:"values,omitempty"` - // ForceSendFields is a list of field names (e.g. "MeetingSpace") to + // ForceSendFields is a list of field names (e.g. "Values") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -26045,28 +9894,28 @@ type VideoCallMetadata struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MeetingSpace") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Values") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *VideoCallMetadata) MarshalJSON() ([]byte, error) { - type NoMethod VideoCallMetadata +func (s *TimestampValues) MarshalJSON() ([]byte, error) { + type NoMethod TimestampValues raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// VideoInfo: Next tag: 2 -type VideoInfo struct { - // Duration: Duration of the video in milliseconds. This field can be - // absent for recently uploaded video or inaccurate sometimes. - Duration int64 `json:"duration,omitempty"` +// TypeInfo: Next tag: 2 +type TypeInfo struct { + // VideoInfo: Contains additional video information only if + // document_type is VIDEO. + VideoInfo *VideoInfo `json:"videoInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "Duration") to + // ForceSendFields is a list of field names (e.g. "VideoInfo") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -26074,7 +9923,7 @@ type VideoInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Duration") to include in + // NullFields is a list of field names (e.g. "VideoInfo") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -26083,28 +9932,35 @@ type VideoInfo struct { NullFields []string `json:"-"` } -func (s *VideoInfo) MarshalJSON() ([]byte, error) { - type NoMethod VideoInfo +func (s *TypeInfo) MarshalJSON() ([]byte, error) { + type NoMethod TypeInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// VoicePhoneNumber: Represents both long and short phone number that -// can be called or texted. Short telephone numbers are used to reach -// local services. Short numbers and their purpose differ from country -// to country. These numbers in US are in the form of N11 which is a -// three-digit abbreviated dialing telephone number. -type VoicePhoneNumber struct { - // E164: E.164 formatted full phone number with leading +. This field - // also represents encoded form of short telephone numbers in E.164 - // format. e.g. "911" is encoded as "+1911". - E164 string `json:"e164,omitempty"` +type UnmappedIdentity struct { + // ExternalIdentity: The resource name for an external user. + ExternalIdentity *Principal `json:"externalIdentity,omitempty"` - // I18nData: Additional data that could be added using the - // libphonenumber API. - I18nData *VoicePhoneNumberI18nData `json:"i18nData,omitempty"` + // ResolutionStatusCode: The resolution status for the external + // identity. + // + // Possible values: + // "CODE_UNSPECIFIED" - Input-only value. Used to list all unmapped + // identities regardless of status. + // "NOT_FOUND" - The unmapped identity was not found in IDaaS, and + // needs to be provided by the user. + // "IDENTITY_SOURCE_NOT_FOUND" - The identity source associated with + // the identity was either not found or deleted. + // "IDENTITY_SOURCE_MISCONFIGURED" - IDaaS does not understand the + // identity source, probably because the schema was modified in a non + // compatible way. + // "TOO_MANY_MAPPINGS_FOUND" - The number of users associated with the + // external identity is too large. + // "INTERNAL_ERROR" - Internal error. + ResolutionStatusCode string `json:"resolutionStatusCode,omitempty"` - // ForceSendFields is a list of field names (e.g. "E164") to + // ForceSendFields is a list of field names (e.g. "ExternalIdentity") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -26112,61 +9968,34 @@ type VoicePhoneNumber struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "E164") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "ExternalIdentity") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *VoicePhoneNumber) MarshalJSON() ([]byte, error) { - type NoMethod VoicePhoneNumber +func (s *UnmappedIdentity) MarshalJSON() ([]byte, error) { + type NoMethod UnmappedIdentity raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type VoicePhoneNumberI18nData struct { - // CountryCode: The country calling code for this number, as defined by - // the ITU. For example, this would be 1 for NANPA countries, and 33 for - // France (for more info see - // i18n.phonenumbers.PhoneNumber.country_code). - CountryCode int64 `json:"countryCode,omitempty"` - - // InternationalNumber: Display number formatted using the INTERNATIONAL - // format. - InternationalNumber string `json:"internationalNumber,omitempty"` - - // IsValid: When present, indicates the number is valid according to the - // libphonenumber's isValidNumber API (see - // https://code.google.com/p/libphonenumber/). - IsValid bool `json:"isValid,omitempty"` +type UnreserveItemsRequest struct { + // ConnectorName: The name of connector making this call. Format: + // datasources/{source_id}/connectors/{ID} + ConnectorName string `json:"connectorName,omitempty"` - // NationalNumber: Display number formatted using the NATIONAL format. - NationalNumber string `json:"nationalNumber,omitempty"` + // DebugOptions: Common debug options. + DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - // RegionCode: A region (country, territory, continent, etc), as defined - // by Unicode's "CLDR", itself based on ISO 3166 (UN country codes). For - // details, see - // https://www.corp.google.com/~engdocs/java/com/google/i18n/identifiers/RegionCode.html - RegionCode string `json:"regionCode,omitempty"` + // Queue: The name of a queue to unreserve items from. + Queue string `json:"queue,omitempty"` - // ValidationResult: When set to a non-default value, indicates the - // validation reason that is set when phone number is invalid (is_valid - // is false). - // - // Possible values: - // "UNKNOWN" - // "IS_POSSIBLE" - // "INVALID_COUNTRY_CODE" - // "TOO_SHORT" - // "TOO_LONG" - // "IS_POSSIBLE_LOCAL_ONLY" - // "INVALID_LENGTH" - ValidationResult string `json:"validationResult,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CountryCode") to + // ForceSendFields is a list of field names (e.g. "ConnectorName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -26174,7 +10003,7 @@ type VoicePhoneNumberI18nData struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CountryCode") to include + // NullFields is a list of field names (e.g. "ConnectorName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -26183,25 +10012,29 @@ type VoicePhoneNumberI18nData struct { NullFields []string `json:"-"` } -func (s *VoicePhoneNumberI18nData) MarshalJSON() ([]byte, error) { - type NoMethod VoicePhoneNumberI18nData +func (s *UnreserveItemsRequest) MarshalJSON() ([]byte, error) { + type NoMethod UnreserveItemsRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// WhiteboardInfo: Information on a whiteboard attached to an active -// conference. A whiteboard is a Jam document. -type WhiteboardInfo struct { - // Id: The Cosmo Id of the whiteboard document (Jam). - Id string `json:"id,omitempty"` +type UpdateDataSourceRequest struct { + // DebugOptions: Common debug options. + DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - // Title: Title of the whiteboard document. - Title string `json:"title,omitempty"` + Source *DataSource `json:"source,omitempty"` - // Uri: The uri for whiteboard document. - Uri string `json:"uri,omitempty"` + // UpdateMask: Only applies to `settings.datasources.patch` + // (https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.datasources/patch). + // Update mask to control which fields to update. Example field paths: + // `name`, `displayName`. * If `update_mask` is non-empty, then only the + // fields specified in the `update_mask` are updated. * If you specify a + // field in the `update_mask`, but don't specify its value in the + // source, that field is cleared. * If the `update_mask` is not present + // or empty or has the value `*`, then all fields are updated. + UpdateMask string `json:"updateMask,omitempty"` - // ForceSendFields is a list of field names (e.g. "Id") to + // ForceSendFields is a list of field names (e.g. "DebugOptions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -26209,60 +10042,33 @@ type WhiteboardInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Id") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "DebugOptions") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *WhiteboardInfo) MarshalJSON() ([]byte, error) { - type NoMethod WhiteboardInfo +func (s *UpdateDataSourceRequest) MarshalJSON() ([]byte, error) { + type NoMethod UpdateDataSourceRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type WidgetMarkup struct { - // Buttons: buttons is also oneof data and only one of these fields - // should be set. - Buttons []*Button `json:"buttons,omitempty"` - - DateTimePicker *DateTimePicker `json:"dateTimePicker,omitempty"` - - Divider *Divider `json:"divider,omitempty"` - - Grid *Grid `json:"grid,omitempty"` - - // HorizontalAlignment: The horizontal alignment of this widget. - // - // Possible values: - // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - // "START" - // "CENTER" - // "END" - HorizontalAlignment string `json:"horizontalAlignment,omitempty"` - - Image *Image `json:"image,omitempty"` - - ImageKeyValue *ImageKeyValue `json:"imageKeyValue,omitempty"` - - KeyValue *KeyValue `json:"keyValue,omitempty"` - - // Menu: Input Widgets - Menu *Menu `json:"menu,omitempty"` - - SelectionControl *SelectionControl `json:"selectionControl,omitempty"` - - TextField *TextField `json:"textField,omitempty"` +type UpdateSchemaRequest struct { + // DebugOptions: Common debug options. + DebugOptions *DebugOptions `json:"debugOptions,omitempty"` - TextKeyValue *TextKeyValue `json:"textKeyValue,omitempty"` + // Schema: The new schema for the source. + Schema *Schema `json:"schema,omitempty"` - // TextParagraph: Read-only Widgets - TextParagraph *TextParagraph `json:"textParagraph,omitempty"` + // ValidateOnly: If true, the schema will be checked for validity, but + // will not be registered with the data source, even if valid. + ValidateOnly bool `json:"validateOnly,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "DebugOptions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -26270,35 +10076,35 @@ type WidgetMarkup struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "DebugOptions") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *WidgetMarkup) MarshalJSON() ([]byte, error) { - type NoMethod WidgetMarkup +func (s *UpdateSchemaRequest) MarshalJSON() ([]byte, error) { + type NoMethod UpdateSchemaRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// WonderCardDelete: Message delete history record extension that -// exports /wonder/message_mapping/{vertical} attribute of deleted -// messages which have any smartmail label (eg. ^cob_sm_invoice). -// go/how-dd-card-deletion -type WonderCardDelete struct { - // MessageMappings: Contains <{@code WonderCardType} enum value, value - // of /wonder/message_mapping/{vertical} attribute of deleted message> - // pairs. - MessageMappings map[string]WonderMessageMapping `json:"messageMappings,omitempty"` +// UploadItemRef: Represents an upload session reference. This reference +// is created via upload method. This reference is valid for 30 days +// after its creation. Updating of item content may refer to this +// uploaded content via contentDataRef. +type UploadItemRef struct { + // Name: The name of the content reference. The maximum length is 2048 + // characters. + Name string `json:"name,omitempty"` - // MsgId: Message ID of the original deleted message - MsgId uint64 `json:"msgId,omitempty,string"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "MessageMappings") to + // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -26306,65 +10112,28 @@ type WonderCardDelete struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MessageMappings") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *WonderCardDelete) MarshalJSON() ([]byte, error) { - type NoMethod WonderCardDelete - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// WonderMessageMapping: Card mapping attached to original message as an -// attribute stored at /wonder/message_mapping/{vertical} Next ID: 2 -type WonderMessageMapping struct { - // WonderCardMessageId: List of wonder card (client-generated) message - // IDs generated based on the original message. - WonderCardMessageId []string `json:"wonderCardMessageId,omitempty"` - - // ForceSendFields is a list of field names (e.g. "WonderCardMessageId") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "WonderCardMessageId") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Name") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *WonderMessageMapping) MarshalJSON() ([]byte, error) { - type NoMethod WonderMessageMapping +func (s *UploadItemRef) MarshalJSON() ([]byte, error) { + type NoMethod UploadItemRef raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// WrappedResourceKey: A wrapper around a raw resource key. The secret -// should never be logged, and this proto annotates those secret fields -// to ensure that they are not. Clients are encouraged to use this proto -// rather than defining their own, to ensure that secrets are correctly -// annotated. -type WrappedResourceKey struct { - // ResourceKey: Resource key of the Drive item. This field should be - // unset if, depending on the context, the item does not have a resource - // key, or if none was specified. This must never be logged. - ResourceKey string `json:"resourceKey,omitempty"` +// UserActivity: User's single or bulk query activity. This can be a +// logging query or deletion query. +type UserActivity struct { + // QueryActivity: Contains data which needs to be logged/removed. + QueryActivity *QueryActivity `json:"queryActivity,omitempty"` - // ForceSendFields is a list of field names (e.g. "ResourceKey") to + // ForceSendFields is a list of field names (e.g. "QueryActivity") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -26372,7 +10141,7 @@ type WrappedResourceKey struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ResourceKey") to include + // NullFields is a list of field names (e.g. "QueryActivity") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -26381,30 +10150,20 @@ type WrappedResourceKey struct { NullFields []string `json:"-"` } -func (s *WrappedResourceKey) MarshalJSON() ([]byte, error) { - type NoMethod WrappedResourceKey +func (s *UserActivity) MarshalJSON() ([]byte, error) { + type NoMethod UserActivity raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// YouTubeBroadcastSessionInfo: Information about a YouTube broadcast -// session. -type YouTubeBroadcastSessionInfo struct { - // BroadcastStats: Current broadcast session's statistics. - BroadcastStats *YouTubeBroadcastStats `json:"broadcastStats,omitempty"` - - // SessionStateInfo: YouTube broadcast session's state information. - SessionStateInfo *SessionStateInfo `json:"sessionStateInfo,omitempty"` - - // YouTubeBroadcastSessionId: A unique server-generated ID for the - // broadcast session. - YouTubeBroadcastSessionId string `json:"youTubeBroadcastSessionId,omitempty"` - - // YouTubeLiveBroadcastEvent: The YouTube Live broadcast event that is - // being streamed to. - YouTubeLiveBroadcastEvent *YouTubeLiveBroadcastEvent `json:"youTubeLiveBroadcastEvent,omitempty"` +type VPCSettings struct { + // Project: The resource name of the GCP Project to be used for VPC SC + // policy check. VPC security settings on this project will be honored + // for Cloud Search APIs after project_name has been updated through + // CustomerService. Format: projects/{project_id} + Project string `json:"project,omitempty"` - // ForceSendFields is a list of field names (e.g. "BroadcastStats") to + // ForceSendFields is a list of field names (e.g. "Project") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -26412,112 +10171,36 @@ type YouTubeBroadcastSessionInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BroadcastStats") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *YouTubeBroadcastSessionInfo) MarshalJSON() ([]byte, error) { - type NoMethod YouTubeBroadcastSessionInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// YouTubeBroadcastStats: Statistics of the YouTube broadcast session. -type YouTubeBroadcastStats struct { - // EstimatedViewerCount: Estimated concurrent viewer count. - EstimatedViewerCount int64 `json:"estimatedViewerCount,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. - // "EstimatedViewerCount") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "EstimatedViewerCount") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Project") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *YouTubeBroadcastStats) MarshalJSON() ([]byte, error) { - type NoMethod YouTubeBroadcastStats +func (s *VPCSettings) MarshalJSON() ([]byte, error) { + type NoMethod VPCSettings raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// YouTubeLiveBroadcastEvent: Information about the broadcast to -// YouTube. -type YouTubeLiveBroadcastEvent struct { - // BrandAccountGaiaId: Input only. If the channel_id is for a YouTube - // Channel owned by a Brand Account, client is required to populate this - // field with the obfuscated gaia id of the Brand account when starting - // the broadcast. - BrandAccountGaiaId string `json:"brandAccountGaiaId,omitempty"` - - // BroadcastId: Input only. The broadcast id, used to control the - // lifecycle of the event on YouTube - BroadcastId string `json:"broadcastId,omitempty"` - - // ChannelId: YouTube Channel associated with the broadcast. - ChannelId string `json:"channelId,omitempty"` - - // ViewUrl: Output only. A URL that can be used to watch the meeting - // broadcast. Will be populated by the backend. - ViewUrl string `json:"viewUrl,omitempty"` - - // ForceSendFields is a list of field names (e.g. "BrandAccountGaiaId") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` +// Value: Definition of a single value with generic type. +type Value struct { + BooleanValue bool `json:"booleanValue,omitempty"` - // NullFields is a list of field names (e.g. "BrandAccountGaiaId") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} + DateValue *Date `json:"dateValue,omitempty"` -func (s *YouTubeLiveBroadcastEvent) MarshalJSON() ([]byte, error) { - type NoMethod YouTubeLiveBroadcastEvent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + DoubleValue float64 `json:"doubleValue,omitempty"` -// YoutubeMetadata: Annotation metadata for YouTube artifact. -type YoutubeMetadata struct { - // Id: YouTube resource ID of the artifact. - Id string `json:"id,omitempty"` + IntegerValue int64 `json:"integerValue,omitempty,string"` - // ShouldNotRender: If this field is set to true, server should still - // contact external backends to get metadata for search but clients - // should not render this chip. - ShouldNotRender bool `json:"shouldNotRender,omitempty"` + StringValue string `json:"stringValue,omitempty"` - // StartTime: YouTube query parameter for timestamp. YouTube specific - // flag that allows users to embed time token when sharing a link. This - // property contains parsed time token in seconds. - StartTime int64 `json:"startTime,omitempty"` + TimestampValue string `json:"timestampValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "Id") to + // ForceSendFields is a list of field names (e.g. "BooleanValue") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -26525,25 +10208,50 @@ type YoutubeMetadata struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Id") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "BooleanValue") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *YoutubeMetadata) MarshalJSON() ([]byte, error) { - type NoMethod YoutubeMetadata +func (s *Value) MarshalJSON() ([]byte, error) { + type NoMethod Value raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type YoutubeUserProto struct { - YoutubeUserId int64 `json:"youtubeUserId,omitempty,string"` +func (s *Value) UnmarshalJSON(data []byte) error { + type NoMethod Value + var s1 struct { + DoubleValue gensupport.JSONFloat64 `json:"doubleValue"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.DoubleValue = float64(s1.DoubleValue) + return nil +} + +type ValueFilter struct { + // OperatorName: The `operator_name` applied to the query, such as + // *price_greater_than*. The filter can work against both types of + // filters defined in the schema for your data source: 1. + // `operator_name`, where the query filters results by the property that + // matches the value. 2. `greater_than_operator_name` or + // `less_than_operator_name` in your schema. The query filters the + // results for the property values that are greater than or less than + // the supplied value in the query. + OperatorName string `json:"operatorName,omitempty"` + + // Value: The value to be compared with. + Value *Value `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "YoutubeUserId") to + // ForceSendFields is a list of field names (e.g. "OperatorName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -26551,7 +10259,7 @@ type YoutubeUserProto struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "YoutubeUserId") to include + // NullFields is a list of field names (e.g. "OperatorName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -26560,37 +10268,37 @@ type YoutubeUserProto struct { NullFields []string `json:"-"` } -func (s *YoutubeUserProto) MarshalJSON() ([]byte, error) { - type NoMethod YoutubeUserProto +func (s *ValueFilter) MarshalJSON() ([]byte, error) { + type NoMethod ValueFilter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ZwiebackSessionProto: See go/zwieback. New uses of Zwieback sessions -// must be approved via go/zwieback-request. -type ZwiebackSessionProto struct { - ZwiebackSessionId uint64 `json:"zwiebackSessionId,omitempty,string"` +// VideoInfo: Next tag: 2 +type VideoInfo struct { + // Duration: Duration of the video in milliseconds. This field can be + // absent for recently uploaded video or inaccurate sometimes. + Duration int64 `json:"duration,omitempty"` - // ForceSendFields is a list of field names (e.g. "ZwiebackSessionId") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Duration") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ZwiebackSessionId") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Duration") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *ZwiebackSessionProto) MarshalJSON() ([]byte, error) { - type NoMethod ZwiebackSessionProto +func (s *VideoInfo) MarshalJSON() ([]byte, error) { + type NoMethod VideoInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } diff --git a/compute/v0.alpha/compute-api.json b/compute/v0.alpha/compute-api.json index 4bce3f25c41..9184c39fa81 100644 --- a/compute/v0.alpha/compute-api.json +++ b/compute/v0.alpha/compute-api.json @@ -42015,7 +42015,7 @@ } } }, - "revision": "20230606", + "revision": "20230610", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -42580,7 +42580,7 @@ "type": "string" }, "ipVersion": { - "description": "The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.", + "description": "The IP version that will be used by this address. Valid options are IPV4 or IPV6.", "enum": [ "IPV4", "IPV6", @@ -50714,6 +50714,18 @@ "FutureReservation": { "id": "FutureReservation", "properties": { + "autoCreatedReservationsDeleteTime": { + "description": "Future timestamp when the FR auto-created reservations will be deleted by GCE. Format of this field must be a valid href=\"https://www.ietf.org/rfc/rfc3339.txt\"\u003eRFC3339 value.", + "type": "string" + }, + "autoCreatedReservationsDuration": { + "$ref": "Duration", + "description": "Specifies the duration of auto-created reservations. It represents relative time to future reservation start_time when auto-created reservations will be automatically deleted by GCE. Duration time unit is represented as a count of seconds and fractions of seconds at nanosecond resolution." + }, + "autoDeleteAutoCreatedReservations": { + "description": "Setting for enabling or disabling automatic deletion for auto-created reservation. If omitted or set to true, auto-created reservations will be deleted at Future Reservation's end time (default) or at user's defined timestamp if any of the [auto_created_reservations_delete_time, auto_created_reservations_duration] values is specified. For keeping auto-created reservation indefinitely, this value should be set to false.", + "type": "boolean" + }, "creationTimestamp": { "description": "[Output Only] The creation timestamp for this future reservation in RFC3339 text format.", "type": "string" @@ -55431,14 +55443,14 @@ "id": "InstanceGroupManagerInstanceLifecyclePolicy", "properties": { "defaultActionOnFailure": { - "description": "Defines behaviour for all instance or failures", + "description": "The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM. ", "enum": [ "DO_NOTHING", "REPAIR" ], "enumDescriptions": [ - "If any of the MIG's VMs is not running, or is failing, no repair action will be taken.", - "*[Default]* If any of the MIG's VMs is not running - for example, a VM cannot be created during a scale out or a VM fails – then the group will retry until it creates that VM successfully. For more information about how a MIG manages its VMs, see What is a managed instance.\"" + "MIG does not repair a failed or an unhealthy VM.", + "(Default) MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG." ], "type": "string" }, @@ -55982,14 +55994,14 @@ ], "enumDescriptions": [ "Do not perform any action.", - "Updates applied in runtime, instances will not be disrupted.", - "Old instances will be deleted. New instances will be created from the target template.", - "Every instance will be restarted." + "Do not stop the instance.", + "(Default.) Replace the instance according to the replacement method option.", + "Stop the instance and start it again." ], "type": "string" }, "mostDisruptiveAllowedAction": { - "description": "Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.", + "description": "Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.", "enum": [ "NONE", "REFRESH", @@ -55998,9 +56010,9 @@ ], "enumDescriptions": [ "Do not perform any action.", - "Updates applied in runtime, instances will not be disrupted.", - "Old instances will be deleted. New instances will be created from the target template.", - "Every instance will be restarted." + "Do not stop the instance.", + "(Default.) Replace the instance according to the replacement method option.", + "Stop the instance and start it again." ], "type": "string" }, @@ -56091,14 +56103,14 @@ ], "enumDescriptions": [ "Do not perform any action.", - "Updates applied in runtime, instances will not be disrupted.", - "Old instances will be deleted. New instances will be created from the target template.", - "Every instance will be restarted." + "Do not stop the instance.", + "(Default.) Replace the instance according to the replacement method option.", + "Stop the instance and start it again." ], "type": "string" }, "minimalAction": { - "description": "The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.", + "description": "The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.", "enum": [ "NONE", "REFRESH", @@ -56107,14 +56119,14 @@ ], "enumDescriptions": [ "Do not perform any action.", - "Updates applied in runtime, instances will not be disrupted.", - "Old instances will be deleted. New instances will be created from the target template.", - "Every instance will be restarted." + "Do not stop the instance.", + "(Default.) Replace the instance according to the replacement method option.", + "Stop the instance and start it again." ], "type": "string" }, "mostDisruptiveAllowedAction": { - "description": "The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.", + "description": "The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.", "enum": [ "NONE", "REFRESH", @@ -56123,9 +56135,9 @@ ], "enumDescriptions": [ "Do not perform any action.", - "Updates applied in runtime, instances will not be disrupted.", - "Old instances will be deleted. New instances will be created from the target template.", - "Every instance will be restarted." + "Do not stop the instance.", + "(Default.) Replace the instance according to the replacement method option.", + "Stop the instance and start it again." ], "type": "string" } @@ -69259,7 +69271,7 @@ "type": "string" }, "dnsVerificationIp": { - "description": "The IPv4 address to be used for reverse DNS verification.", + "description": "The address to be used for reverse DNS verification.", "type": "string" }, "fingerprint": { @@ -69273,7 +69285,7 @@ "type": "string" }, "ipCidrRange": { - "description": "The IPv4 address range, in CIDR format, represented by this public advertised prefix.", + "description": "The address range, in CIDR format, represented by this public advertised prefix.", "type": "string" }, "kind": { @@ -71667,14 +71679,14 @@ ], "enumDescriptions": [ "Do not perform any action.", - "Updates applied in runtime, instances will not be disrupted.", - "Old instances will be deleted. New instances will be created from the target template.", - "Every instance will be restarted." + "Do not stop the instance.", + "(Default.) Replace the instance according to the replacement method option.", + "Stop the instance and start it again." ], "type": "string" }, "minimalAction": { - "description": "The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.", + "description": "The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.", "enum": [ "NONE", "REFRESH", @@ -71683,14 +71695,14 @@ ], "enumDescriptions": [ "Do not perform any action.", - "Updates applied in runtime, instances will not be disrupted.", - "Old instances will be deleted. New instances will be created from the target template.", - "Every instance will be restarted." + "Do not stop the instance.", + "(Default.) Replace the instance according to the replacement method option.", + "Stop the instance and start it again." ], "type": "string" }, "mostDisruptiveAllowedAction": { - "description": "The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.", + "description": "The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.", "enum": [ "NONE", "REFRESH", @@ -71699,9 +71711,9 @@ ], "enumDescriptions": [ "Do not perform any action.", - "Updates applied in runtime, instances will not be disrupted.", - "Old instances will be deleted. New instances will be created from the target template.", - "Every instance will be restarted." + "Do not stop the instance.", + "(Default.) Replace the instance according to the replacement method option.", + "Stop the instance and start it again." ], "type": "string" } @@ -72480,6 +72492,14 @@ "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, + "deleteAfterDuration": { + "$ref": "Duration", + "description": "Duration time relative to reservation creation when GCE will automatically delete this resource." + }, + "deleteAtTime": { + "description": "Absolute time in future when the reservation will be auto-deleted by GCE. Timestamp is represented in RFC3339 text format.", + "type": "string" + }, "description": { "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" @@ -77923,6 +77943,10 @@ "description": "[Output Only] A connection connected to this service attachment.", "id": "ServiceAttachmentConnectedEndpoint", "properties": { + "consumerNetwork": { + "description": "The url of the consumer network.", + "type": "string" + }, "endpoint": { "description": "The url of a connected endpoint.", "type": "string" diff --git a/compute/v0.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go index a1256c4100e..7fa29bdd18e 100644 --- a/compute/v0.alpha/compute-gen.go +++ b/compute/v0.alpha/compute-gen.go @@ -2268,8 +2268,7 @@ type Address struct { Id uint64 `json:"id,omitempty,string"` // IpVersion: The IP version that will be used by this address. Valid - // options are IPV4 or IPV6. This can only be specified for a global - // address. + // options are IPV4 or IPV6. // // Possible values: // "IPV4" @@ -15337,6 +15336,29 @@ func (s *ForwardingRulesScopedListWarningData) MarshalJSON() ([]byte, error) { } type FutureReservation struct { + // AutoCreatedReservationsDeleteTime: Future timestamp when the FR + // auto-created reservations will be deleted by GCE. Format of this + // field must be a valid + // href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339 value. + AutoCreatedReservationsDeleteTime string `json:"autoCreatedReservationsDeleteTime,omitempty"` + + // AutoCreatedReservationsDuration: Specifies the duration of + // auto-created reservations. It represents relative time to future + // reservation start_time when auto-created reservations will be + // automatically deleted by GCE. Duration time unit is represented as a + // count of seconds and fractions of seconds at nanosecond resolution. + AutoCreatedReservationsDuration *Duration `json:"autoCreatedReservationsDuration,omitempty"` + + // AutoDeleteAutoCreatedReservations: Setting for enabling or disabling + // automatic deletion for auto-created reservation. If omitted or set to + // true, auto-created reservations will be deleted at Future + // Reservation's end time (default) or at user's defined timestamp if + // any of the [auto_created_reservations_delete_time, + // auto_created_reservations_duration] values is specified. For keeping + // auto-created reservation indefinitely, this value should be set to + // false. + AutoDeleteAutoCreatedReservations bool `json:"autoDeleteAutoCreatedReservations,omitempty"` + // CreationTimestamp: [Output Only] The creation timestamp for this // future reservation in RFC3339 text format. CreationTimestamp string `json:"creationTimestamp,omitempty"` @@ -15407,21 +15429,22 @@ type FutureReservation struct { // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "CreationTimestamp") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "AutoCreatedReservationsDeleteTime") to unconditionally include in + // API requests. By default, fields with empty or default values are + // omitted from API requests. However, any non-pointer, non-interface + // field appearing in ForceSendFields will be sent to the server + // regardless of whether the field is empty or not. This may be used to + // include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreationTimestamp") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. + // "AutoCreatedReservationsDeleteTime") to include in API requests with + // the JSON null value. By default, fields with empty values are omitted + // from API requests. However, any field with an empty value appearing + // in NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } @@ -22715,17 +22738,18 @@ func (s *InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection) Marshal } type InstanceGroupManagerInstanceLifecyclePolicy struct { - // DefaultActionOnFailure: Defines behaviour for all instance or - // failures - // - // Possible values: - // "DO_NOTHING" - If any of the MIG's VMs is not running, or is - // failing, no repair action will be taken. - // "REPAIR" - *[Default]* If any of the MIG's VMs is not running - for - // example, a VM cannot be created during a scale out or a VM fails – - // then the group will retry until it creates that VM successfully. For - // more information about how a MIG manages its VMs, see What is a - // managed instance." + // DefaultActionOnFailure: The action that a MIG performs on a failed or + // an unhealthy VM. A VM is marked as unhealthy when the application + // running on that VM fails a health check. Valid values are - REPAIR + // (default): MIG automatically repairs a failed or an unhealthy VM by + // recreating it. For more information, see About repairing VMs in a + // MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM. + // + // Possible values: + // "DO_NOTHING" - MIG does not repair a failed or an unhealthy VM. + // "REPAIR" - (Default) MIG automatically repairs a failed or an + // unhealthy VM by recreating it. For more information, see About + // repairing VMs in a MIG. DefaultActionOnFailure string `json:"defaultActionOnFailure,omitempty"` // ForceUpdateOnRepair: A bit indicating whether to forcefully apply the @@ -23704,29 +23728,27 @@ type InstanceGroupManagerUpdatePolicy struct { // // Possible values: // "NONE" - Do not perform any action. - // "REFRESH" - Updates applied in runtime, instances will not be - // disrupted. - // "REPLACE" - Old instances will be deleted. New instances will be - // created from the target template. - // "RESTART" - Every instance will be restarted. + // "REFRESH" - Do not stop the instance. + // "REPLACE" - (Default.) Replace the instance according to the + // replacement method option. + // "RESTART" - Stop the instance and start it again. MinimalAction string `json:"minimalAction,omitempty"` // MostDisruptiveAllowedAction: Most disruptive action that is allowed // to be taken on an instance. You can specify either NONE to forbid any - // actions, REFRESH to allow actions that do not need instance restart, - // RESTART to allow actions that can be applied without instance - // replacing or REPLACE to allow all possible actions. If the Updater - // determines that the minimal update action needed is more disruptive - // than most disruptive allowed action you specify it will not perform - // the update at all. + // actions, REFRESH to avoid restarting the VM and to limit disruption + // as much as possible. RESTART to allow actions that can be applied + // without instance replacing or REPLACE to allow all possible actions. + // If the Updater determines that the minimal update action needed is + // more disruptive than most disruptive allowed action you specify it + // will not perform the update at all. // // Possible values: // "NONE" - Do not perform any action. - // "REFRESH" - Updates applied in runtime, instances will not be - // disrupted. - // "REPLACE" - Old instances will be deleted. New instances will be - // created from the target template. - // "RESTART" - Every instance will be restarted. + // "REFRESH" - Do not stop the instance. + // "REPLACE" - (Default.) Replace the instance according to the + // replacement method option. + // "RESTART" - Stop the instance and start it again. MostDisruptiveAllowedAction string `json:"mostDisruptiveAllowedAction,omitempty"` // ReplacementMethod: What action should be used to replace instances. @@ -23883,45 +23905,44 @@ type InstanceGroupManagersApplyUpdatesRequest struct { // // Possible values: // "NONE" - Do not perform any action. - // "REFRESH" - Updates applied in runtime, instances will not be - // disrupted. - // "REPLACE" - Old instances will be deleted. New instances will be - // created from the target template. - // "RESTART" - Every instance will be restarted. + // "REFRESH" - Do not stop the instance. + // "REPLACE" - (Default.) Replace the instance according to the + // replacement method option. + // "RESTART" - Stop the instance and start it again. MaximalAction string `json:"maximalAction,omitempty"` // MinimalAction: The minimal action that you want to perform on each // instance during the update: - REPLACE: At minimum, delete the // instance and create it again. - RESTART: Stop the instance and start - // it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt - // the instance at all. By default, the minimum action is NONE. If your - // update requires a more disruptive action than you set with this flag, - // the necessary action is performed to execute the update. + // it again. - REFRESH: Do not stop the instance and limit disruption as + // much as possible. - NONE: Do not disrupt the instance at all. By + // default, the minimum action is NONE. If your update requires a more + // disruptive action than you set with this flag, the necessary action + // is performed to execute the update. // // Possible values: // "NONE" - Do not perform any action. - // "REFRESH" - Updates applied in runtime, instances will not be - // disrupted. - // "REPLACE" - Old instances will be deleted. New instances will be - // created from the target template. - // "RESTART" - Every instance will be restarted. + // "REFRESH" - Do not stop the instance. + // "REPLACE" - (Default.) Replace the instance according to the + // replacement method option. + // "RESTART" - Stop the instance and start it again. MinimalAction string `json:"minimalAction,omitempty"` // MostDisruptiveAllowedAction: The most disruptive action that you want // to perform on each instance during the update: - REPLACE: Delete the // instance and create it again. - RESTART: Stop the instance and start - // it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt - // the instance at all. By default, the most disruptive allowed action - // is REPLACE. If your update requires a more disruptive action than you - // set with this flag, the update request will fail. + // it again. - REFRESH: Do not stop the instance and limit disruption as + // much as possible. - NONE: Do not disrupt the instance at all. By + // default, the most disruptive allowed action is REPLACE. If your + // update requires a more disruptive action than you set with this flag, + // the update request will fail. // // Possible values: // "NONE" - Do not perform any action. - // "REFRESH" - Updates applied in runtime, instances will not be - // disrupted. - // "REPLACE" - Old instances will be deleted. New instances will be - // created from the target template. - // "RESTART" - Every instance will be restarted. + // "REFRESH" - Do not stop the instance. + // "REPLACE" - (Default.) Replace the instance according to the + // replacement method option. + // "RESTART" - Stop the instance and start it again. MostDisruptiveAllowedAction string `json:"mostDisruptiveAllowedAction,omitempty"` // ForceSendFields is a list of field names (e.g. "AllInstances") to @@ -44667,7 +44688,7 @@ type PublicAdvertisedPrefix struct { // property when you create the resource. Description string `json:"description,omitempty"` - // DnsVerificationIp: The IPv4 address to be used for reverse DNS + // DnsVerificationIp: The address to be used for reverse DNS // verification. DnsVerificationIp string `json:"dnsVerificationIp,omitempty"` @@ -44684,8 +44705,8 @@ type PublicAdvertisedPrefix struct { // server generates this identifier. Id uint64 `json:"id,omitempty,string"` - // IpCidrRange: The IPv4 address range, in CIDR format, represented by - // this public advertised prefix. + // IpCidrRange: The address range, in CIDR format, represented by this + // public advertised prefix. IpCidrRange string `json:"ipCidrRange,omitempty"` // Kind: [Output Only] Type of the resource. Always @@ -48147,45 +48168,44 @@ type RegionInstanceGroupManagersApplyUpdatesRequest struct { // // Possible values: // "NONE" - Do not perform any action. - // "REFRESH" - Updates applied in runtime, instances will not be - // disrupted. - // "REPLACE" - Old instances will be deleted. New instances will be - // created from the target template. - // "RESTART" - Every instance will be restarted. + // "REFRESH" - Do not stop the instance. + // "REPLACE" - (Default.) Replace the instance according to the + // replacement method option. + // "RESTART" - Stop the instance and start it again. MaximalAction string `json:"maximalAction,omitempty"` // MinimalAction: The minimal action that you want to perform on each // instance during the update: - REPLACE: At minimum, delete the // instance and create it again. - RESTART: Stop the instance and start - // it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt - // the instance at all. By default, the minimum action is NONE. If your - // update requires a more disruptive action than you set with this flag, - // the necessary action is performed to execute the update. + // it again. - REFRESH: Do not stop the instance and limit disruption as + // much as possible. - NONE: Do not disrupt the instance at all. By + // default, the minimum action is NONE. If your update requires a more + // disruptive action than you set with this flag, the necessary action + // is performed to execute the update. // // Possible values: // "NONE" - Do not perform any action. - // "REFRESH" - Updates applied in runtime, instances will not be - // disrupted. - // "REPLACE" - Old instances will be deleted. New instances will be - // created from the target template. - // "RESTART" - Every instance will be restarted. + // "REFRESH" - Do not stop the instance. + // "REPLACE" - (Default.) Replace the instance according to the + // replacement method option. + // "RESTART" - Stop the instance and start it again. MinimalAction string `json:"minimalAction,omitempty"` // MostDisruptiveAllowedAction: The most disruptive action that you want // to perform on each instance during the update: - REPLACE: Delete the // instance and create it again. - RESTART: Stop the instance and start - // it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt - // the instance at all. By default, the most disruptive allowed action - // is REPLACE. If your update requires a more disruptive action than you - // set with this flag, the update request will fail. + // it again. - REFRESH: Do not stop the instance and limit disruption as + // much as possible. - NONE: Do not disrupt the instance at all. By + // default, the most disruptive allowed action is REPLACE. If your + // update requires a more disruptive action than you set with this flag, + // the update request will fail. // // Possible values: // "NONE" - Do not perform any action. - // "REFRESH" - Updates applied in runtime, instances will not be - // disrupted. - // "REPLACE" - Old instances will be deleted. New instances will be - // created from the target template. - // "RESTART" - Every instance will be restarted. + // "REFRESH" - Do not stop the instance. + // "REPLACE" - (Default.) Replace the instance according to the + // replacement method option. + // "RESTART" - Stop the instance and start it again. MostDisruptiveAllowedAction string `json:"mostDisruptiveAllowedAction,omitempty"` // ForceSendFields is a list of field names (e.g. "AllInstances") to @@ -49640,6 +49660,14 @@ type Reservation struct { // format. CreationTimestamp string `json:"creationTimestamp,omitempty"` + // DeleteAfterDuration: Duration time relative to reservation creation + // when GCE will automatically delete this resource. + DeleteAfterDuration *Duration `json:"deleteAfterDuration,omitempty"` + + // DeleteAtTime: Absolute time in future when the reservation will be + // auto-deleted by GCE. Timestamp is represented in RFC3339 text format. + DeleteAtTime string `json:"deleteAtTime,omitempty"` + // Description: An optional description of this resource. Provide this // property when you create the resource. Description string `json:"description,omitempty"` @@ -57748,6 +57776,9 @@ func (s *ServiceAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, erro // ServiceAttachmentConnectedEndpoint: [Output Only] A connection // connected to this service attachment. type ServiceAttachmentConnectedEndpoint struct { + // ConsumerNetwork: The url of the consumer network. + ConsumerNetwork string `json:"consumerNetwork,omitempty"` + // Endpoint: The url of a connected endpoint. Endpoint string `json:"endpoint,omitempty"` @@ -57769,7 +57800,7 @@ type ServiceAttachmentConnectedEndpoint struct { // "STATUS_UNSPECIFIED" Status string `json:"status,omitempty"` - // ForceSendFields is a list of field names (e.g. "Endpoint") to + // ForceSendFields is a list of field names (e.g. "ConsumerNetwork") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -57777,12 +57808,13 @@ type ServiceAttachmentConnectedEndpoint struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Endpoint") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "ConsumerNetwork") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } diff --git a/contentwarehouse/v1/contentwarehouse-api.json b/contentwarehouse/v1/contentwarehouse-api.json index a96d537487a..15c52fd3a88 100644 --- a/contentwarehouse/v1/contentwarehouse-api.json +++ b/contentwarehouse/v1/contentwarehouse-api.json @@ -167,6 +167,31 @@ "resources": { "locations": { "methods": { + "getStatus": { + "description": "Get the project status.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:getStatus", + "httpMethod": "GET", + "id": "contentwarehouse.projects.locations.getStatus", + "parameterOrder": [ + "location" + ], + "parameters": { + "location": { + "description": "Required. The location to be queried Format: projects/{project_number}/locations/{location}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+location}:getStatus", + "response": { + "$ref": "GoogleCloudContentwarehouseV1ProjectStatus" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "initialize": { "description": "Provisions resources for given tenant project. Returns a long running operation.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:initialize", @@ -1103,7 +1128,7 @@ } } }, - "revision": "20230612", + "revision": "20230618", "rootUrl": "https://contentwarehouse.googleapis.com/", "schemas": { "AbuseiamAbuseType": { @@ -3630,7 +3655,8 @@ "DRIVE_SEARCH_FILTER_PERSON_ONLY", "ACCESSIBILITY_TRACKER_AFFINITY", "PLX_DATASOURCE_AFFINITY", - "DUCKIEWEB_AFFINITY" + "DUCKIEWEB_AFFINITY", + "MEET_CALLING_AFFINITY" ], "enumDescriptions": [ "", @@ -3885,6 +3911,7 @@ "", "", "", + "", "" ], "type": "string" @@ -9815,6 +9842,7 @@ "SIM_STATUS", "MICROPHONE_PERMISSIONS", "GOOGLE_PLAY_UPDATE", + "ADD_GOOGLE_ACCOUNT", "ABOUT_PHONE", "ACCOUNTS", "APPLICATION", @@ -10138,6 +10166,7 @@ "", "Permission Manager \u003e Microphone", "", + "", "Begin of NGA proto consistence", "", "", @@ -16995,7 +17024,7 @@ "type": "boolean" }, "supportsGenericMutations": { - "description": "Whether the client supports mutation of any alarm attribute such as time_pattern, recurrence_pattern, etc through the MUTATE action. If this is false, MUTATE may only be used for changing the alarm's status (to e.g. disable or dismiss the alarm).", + "description": "Whether the client supports mutation of any alarm attribute such as time_pattern, recurrence_pattern, etc through the MUTATE action. If this is false, MUTATE may only be used to disable or dismiss an alarm. This field is true by default for backwards-compatibility; clients which don't support mutation outside of Disable/DismissAlarm should explicitly set this to false.", "type": "boolean" }, "supportsStopAction": { @@ -17228,6 +17257,11 @@ }, "type": "object" }, + "AssistantDevicesPlatformProtoExecutionWaitCapability": { + "id": "AssistantDevicesPlatformProtoExecutionWaitCapability", + "properties": {}, + "type": "object" + }, "AssistantDevicesPlatformProtoInlinedActionCapability": { "id": "AssistantDevicesPlatformProtoInlinedActionCapability", "properties": { @@ -17512,7 +17546,7 @@ "type": "object" }, "AssistantDevicesPlatformProtoSupportedDeviceOps": { - "description": "This message will specify supports for fields in |assistant.embedded.v1.DeviceOp|, for a device model package. See go/easi-client-op2 for more info. Next ID: 16", + "description": "This message will specify supports for fields in |assistant.embedded.v1.DeviceOp|, for a device model package. See go/easi-client-op2 for more info. Next ID: 17", "id": "AssistantDevicesPlatformProtoSupportedDeviceOps", "properties": { "callCall": { @@ -17535,6 +17569,10 @@ "$ref": "AssistantDevicesPlatformProtoDeviceTakePhotoCapability", "description": "[device_take_photo] specifies the support for the device.TAKE_PHOTO clientop, and the corresponding device_take_photo field in assistant.embedded.v1.DeviceOp." }, + "executionWait": { + "$ref": "AssistantDevicesPlatformProtoExecutionWaitCapability", + "description": "|execution_wait| specifies the support for execution.WAIT client_op, and the corresponding execution_wait field in assistant.embedded.v1.DeviceOp." + }, "mediaNext": { "$ref": "AssistantDevicesPlatformProtoMediaNextCapability" }, @@ -17767,7 +17805,8 @@ "SHARED_CONTACT", "FAMILY_MEMBER", "SHARED_DEVICE_USER", - "ON_DEVICE_CONTACT_LOOKUP" + "ON_DEVICE_CONTACT_LOOKUP", + "APP_SEARCH_CONTACT" ], "enumDescriptions": [ "Contacts from Focus", @@ -17780,7 +17819,8 @@ "Contacts shared from other users. See go/multi-user-shared-contact.", "People in the user's family group in http://families.google.com who are not contacts.", "People who share a device with the user who are not contacts.", - "Contacts from on device lookup during contact fulfillment." + "Contacts from on device lookup during contact fulfillment.", + "Contacts from AppSearch." ], "type": "string" }, @@ -18765,7 +18805,8 @@ "SHARED_CONTACT", "FAMILY_MEMBER", "SHARED_DEVICE_USER", - "ON_DEVICE_CONTACT_LOOKUP" + "ON_DEVICE_CONTACT_LOOKUP", + "APP_SEARCH_CONTACT" ], "enumDescriptions": [ "", @@ -18779,7 +18820,8 @@ "Contacts shared from other users. See go/multi-user-shared-contact.", "People in the user's family group in http://families.google.com who are not contacts.", "People who share a device with the user who are not contacts.", - "Contacts from on device lookup during contact fulfillment." + "Contacts from on device lookup during contact fulfillment.", + "Contacts from AppSearch." ], "type": "string" }, @@ -18892,7 +18934,7 @@ "type": "object" }, "AssistantLogsDeviceInfoLog": { - "description": "The information related to the device.", + "description": "The information related to the device. Next ID: 18", "id": "AssistantLogsDeviceInfoLog", "properties": { "arbitrationDeviceId": { @@ -19007,6 +19049,10 @@ ], "type": "string" }, + "homeStructureId": { + "description": "The home structure id of the device.", + "type": "string" + }, "isRemote": { "type": "boolean" }, @@ -20531,13 +20577,15 @@ "SUB_INTENT_TYPE_TV_FALLBACK_SEARCH_INTENT", "SUB_INTENT_TYPE_PODCAST", "SUB_INTENT_TYPE_MUSIC_INITIATION_INTENT", - "SUB_INTENT_TYPE_PLAY_RADIO_INTENT" + "SUB_INTENT_TYPE_PLAY_RADIO_INTENT", + "SUB_INTENT_TYPE_PLAY_TVM_INTENT" ], "enumDescriptions": [ "", "Find_media", "Play_media, Play_media, Play_media, Listen_to_media, Media_entity_bare, Play_and_shuffle_media", "Play_media", + "Play_media", "Play_media" ], "type": "string" @@ -21072,7 +21120,7 @@ "type": "object" }, "AssistantVerticalsHomeautomationProtoHomeAutomation_MetaData": { - "description": "Next ID: 43", + "description": "Next ID: 44", "id": "AssistantVerticalsHomeautomationProtoHomeAutomation_MetaData", "properties": { "actionProjectConfigs": { @@ -21133,6 +21181,10 @@ "description": "Whether local home platform should discover new devices via LAN for the structure.", "type": "boolean" }, + "matterUniqueId": { + "$ref": "AssistantVerticalsHomeautomationProtoMatterUniqueId", + "description": "Matter Unique ID. Contains VID/PID information" + }, "modelName": { "description": "Model name from HomeGraph, populated from model_manifest.model_name. See b/200087451.", "type": "string" @@ -21349,6 +21401,24 @@ }, "type": "object" }, + "AssistantVerticalsHomeautomationProtoMatterUniqueId": { + "description": "Matter unique Id. These values are provided by the device.", + "id": "AssistantVerticalsHomeautomationProtoMatterUniqueId", + "properties": { + "productId": { + "format": "int32", + "type": "integer" + }, + "uniqueId": { + "type": "string" + }, + "vendorId": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "AssistantVerticalsHomeautomationProtoPhysicalLocation": { "id": "AssistantVerticalsHomeautomationProtoPhysicalLocation", "properties": { @@ -32716,7 +32786,7 @@ "type": "object" }, "GeostoreFeatureFieldMetadataProto": { - "description": "Provenance information for sub-fields of this feature.", + "description": "Provenance information for sub-fields of this feature - go/subfield-provenance.", "id": "GeostoreFeatureFieldMetadataProto", "properties": { "fieldProvenance": { @@ -47296,6 +47366,79 @@ }, "type": "object" }, + "GoogleCloudContentwarehouseV1ProjectStatus": { + "description": "Status of a project, including the project state, dbType, aclMode and etc.", + "id": "GoogleCloudContentwarehouseV1ProjectStatus", + "properties": { + "accessControlMode": { + "description": "Access control mode.", + "enum": [ + "ACL_MODE_UNKNOWN", + "ACL_MODE_UNIVERSAL_ACCESS", + "ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID", + "ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI" + ], + "enumDescriptions": [ + "This value is required by protobuf best practices", + "Universal Access: No document level access control.", + "Document level access control with customer own Identity Service.", + "Document level access control using Google Cloud Identity." + ], + "type": "string" + }, + "databaseType": { + "description": "Database type.", + "enum": [ + "DB_UNKNOWN", + "DB_INFRA_SPANNER", + "DB_CLOUD_SQL_POSTGRES" + ], + "enumDescriptions": [ + "This value is required by protobuf best practices", + "Internal Spanner", + "Cloud Sql with a Postgres Sql instance" + ], + "type": "string" + }, + "documentCreatorDefaultRole": { + "description": "The default role for the person who create a document.", + "type": "string" + }, + "location": { + "description": "The location of the queried project.", + "type": "string" + }, + "qaEnabled": { + "description": "If the qa is enabled on this project.", + "type": "boolean" + }, + "state": { + "description": "State of the project.", + "enum": [ + "PROJECT_STATE_UNSPECIFIED", + "PROJECT_STATE_PENDING", + "PROJECT_STATE_COMPLETED", + "PROJECT_STATE_FAILED", + "PROJECT_STATE_DELETING", + "PROJECT_STATE_DELETING_FAILED", + "PROJECT_STATE_DELETED", + "PROJECT_STATE_NOT_FOUND" + ], + "enumDescriptions": [ + "Default status, required by protobuf best practices.", + "The project is in the middle of a provision process.", + "All dependencies have been provisioned.", + "A provision process was previously initiated, but failed.", + "The project is in the middle of a deletion process.", + "A deleting process was initiated, but failed.", + "The project is deleted.", + "The project is not found." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudContentwarehouseV1Property": { "description": "Property of a document.", "id": "GoogleCloudContentwarehouseV1Property", @@ -57347,514 +57490,2049 @@ "format": "uint32", "type": "integer" }, - "demoted": { - "description": "Following field record details of anchor demotion in action. How many anchors were demoted.", - "format": "uint32", - "type": "integer" + "demoted": { + "description": "Following field record details of anchor demotion in action. How many anchors were demoted.", + "format": "uint32", + "type": "integer" + }, + "demotedAll": { + "description": "Demoted all anchors in the period or only anchors classified as spam.", + "type": "boolean" + }, + "demotedEnd": { + "description": "End date of the demotion period.", + "format": "uint32", + "type": "integer" + }, + "demotedStart": { + "description": "Start date of the demotion period.", + "format": "uint32", + "type": "integer" + }, + "phraseCount": { + "description": "Following fields record signals used in anchor spam classification. How many spam phrases found in the anchors among unique domains.", + "format": "float", + "type": "number" + }, + "phraseDays": { + "description": "Over how many days 80% of these phrases were discovered.", + "format": "float", + "type": "number" + }, + "phraseFraq": { + "description": "Spam phrases fraction of all anchors of the document.", + "format": "float", + "type": "number" + }, + "phraseRate": { + "description": "Average daily rate of spam anchor discovery.", + "format": "float", + "type": "number" + }, + "processed": { + "description": "Total number of processed anchors.", + "format": "uint32", + "type": "integer" + }, + "sampled": { + "description": "True if anchors were sampled during observation phrase.", + "type": "boolean" + }, + "sources": { + "description": "Detailed information about trusted sources and match computation. Populated only when --anchorspam_penalizer_debug=true.", + "items": { + "$ref": "IndexingDocjoinerAnchorTrustedInfo" + }, + "type": "array" + }, + "spamDebugInfo": { + "description": "Additional debug information about computation of spam probability.", + "type": "string" + }, + "spamPenalty": { + "description": "Combined penalty for anchor demotion.", + "format": "float", + "type": "number" + }, + "spamProbability": { + "description": "Predicted probability of spam.", + "format": "float", + "type": "number" + }, + "trustedDemoted": { + "description": "Number of trusted anchors used in computation of spam probability.", + "format": "uint32", + "type": "integer" + }, + "trustedExamples": { + "description": "Examples of trusted sources.", + "type": "string" + }, + "trustedMatching": { + "description": "Number of trusted anchors with anchor text matching spam terms.", + "format": "uint32", + "type": "integer" + }, + "trustedTarget": { + "description": "Following fields record details about trusted anchors True if is this URL is on trusted source.", + "type": "boolean" + }, + "trustedTotal": { + "description": "Total number of trusted sources for this URL.", + "format": "uint32", + "type": "integer" + } + }, + "type": "object" + }, + "IndexingDocjoinerAnchorStatistics": { + "description": "Statistics of the anchors in a docjoin. Next available tag ID: 63.", + "id": "IndexingDocjoinerAnchorStatistics", + "properties": { + "anchorCount": { + "format": "int32", + "type": "integer" + }, + "anchorPhraseCount": { + "description": "The number of unique anchor phrases. Capped by the constant kMaxAnchorPhraseCountInStats (=5000) defined in indexing/docjoiner/anchors/anchor-manager.cc.", + "format": "int32", + "type": "integer" + }, + "anchorSpamInfo": { + "$ref": "IndexingDocjoinerAnchorSpamInfo", + "description": "This structure contains signals and penalties of AnchorSpamPenalizer. It replaces phrase_anchor_spam_info above, that is deprecated." + }, + "anchorsWithDedupedImprovanchors": { + "description": "The number of anchors for which some ImprovAnchors phrases have been removed due to duplication within source org.", + "format": "int32", + "type": "integer" + }, + "badbacklinksPenalized": { + "description": "Whether this doc is penalized by BadBackLinks, in which case we should not use improvanchor score in mustang ascorer.", + "type": "boolean" + }, + "baseAnchorCount": { + "format": "int32", + "type": "integer" + }, + "baseOffdomainAnchorCount": { + "format": "int32", + "type": "integer" + }, + "droppedHomepageAnchorCount": { + "format": "int32", + "type": "integer" + }, + "droppedLocalAnchorCount": { + "format": "int32", + "type": "integer" + }, + "droppedNonLocalAnchorCount": { + "format": "int32", + "type": "integer" + }, + "droppedRedundantAnchorCount": { + "description": "Sum of anchors_dropped in the repeated group RedundantAnchorInfo, but can go higher if the latter reaches the cap of kMaxRecordsToKeep. (indexing/docjoiner/anchors/anchor-loader.cc), currently 10,000", + "format": "int32", + "type": "integer" + }, + "fakeAnchorCount": { + "format": "int32", + "type": "integer" + }, + "forwardedAnchorCount": { + "format": "int32", + "type": "integer" + }, + "forwardedOffdomainAnchorCount": { + "format": "int32", + "type": "integer" + }, + "globalAnchorDelta": { + "description": "Metric of number of changed global anchors computed as, size(union(previous, new) - intersection(previous, new)).", + "format": "int32", + "type": "integer" + }, + "linkBeforeSitechangeTaggedAnchors": { + "format": "int32", + "type": "integer" + }, + "localAnchorCount": { + "format": "int32", + "type": "integer" + }, + "lowCorpusAnchorCount": { + "format": "int32", + "type": "integer" + }, + "lowCorpusOffdomainAnchorCount": { + "format": "int32", + "type": "integer" + }, + "mediumCorpusAnchorCount": { + "format": "int32", + "type": "integer" + }, + "mediumCorpusOffdomainAnchorCount": { + "format": "int32", + "type": "integer" + }, + "minDomainHomePageLocalOutdegree": { + "description": "Minimum local outdegree of all anchor sources that are domain home pages as well as on the same domain as the current target URL.", + "format": "int32", + "type": "integer" + }, + "minHostHomePageLocalOutdegree": { + "description": "Minimum local outdegree of all anchor sources that are host home pages as well as on the same host as the current target URL.", + "format": "int32", + "type": "integer" + }, + "nonLocalAnchorCount": { + "format": "int32", + "type": "integer" + }, + "offdomainAnchorCount": { + "format": "int32", + "type": "integer" + }, + "ondomainAnchorCount": { + "format": "int32", + "type": "integer" + }, + "onsiteAnchorCount": { + "format": "int32", + "type": "integer" + }, + "pageFromExpiredTaggedAnchors": { + "description": "Set in SignalPenalizer::FillInAnchorStatistics.", + "format": "int32", + "type": "integer" + }, + "pageMismatchTaggedAnchors": { + "format": "int32", + "type": "integer" + }, + "penguinEarlyAnchorProtected": { + "description": "Doc is protected by goodness of early anchors.", + "type": "boolean" + }, + "penguinLastUpdate": { + "description": "BEGIN: Penguin related fields. Timestamp when penguin scores were last updated. Measured in days since Jan. 1st 1995.", + "format": "int32", + "type": "integer" + }, + "penguinPenalty": { + "description": "Page-level penguin penalty (0 = good, 1 = bad).", + "format": "float", + "type": "number" + }, + "penguinTooManySources": { + "description": "Doc not scored because it has too many anchor sources. END: Penguin related fields.", + "type": "boolean" + }, + "perdupstats": { + "items": { + "$ref": "IndexingDocjoinerAnchorStatisticsPerDupStats" + }, + "type": "array" + }, + "phraseAnchorSpamInfo": { + "$ref": "IndexingDocjoinerAnchorPhraseSpamInfo", + "description": "Following signals identify spike of spammy anchor phrases. Anchors created during the spike are tagged with LINK_SPAM_PHRASE_SPIKE." + }, + "redundantAnchorForPhraseCapCount": { + "description": "Total anchor dropped due to exceed per domain phrase cap. Equals to sum of anchors_dropped in the repeated group RedundantAnchorInfoForPhraseCap, but can go higher if the latter reaches the cap of kMaxDomainsToKeepForPhraseCap (indexing/docjoiner/anchors/anchor-loader.h), currently 1000.", + "format": "int32", + "type": "integer" + }, + "redundantanchorinfo": { + "items": { + "$ref": "IndexingDocjoinerAnchorStatisticsRedundantAnchorInfo" + }, + "type": "array" + }, + "redundantanchorinfoforphrasecap": { + "items": { + "$ref": "IndexingDocjoinerAnchorStatisticsRedundantAnchorInfoForPhraseCap" + }, + "type": "array" + }, + "scannedAnchorCount": { + "description": "The total number of anchors being scanned from storage.", + "format": "int32", + "type": "integer" + }, + "skippedAccumulate": { + "description": "A count of the number of times anchor accumulation has been skipped for this document. Note: Only used when canonical.", + "format": "int32", + "type": "integer" + }, + "skippedOrReusedReason": { + "description": "Reason to skip accumulate, when skipped, or Reason for reprocessing when not skipped.", + "type": "string" + }, + "spamLog10Odds": { + "description": "The log base 10 odds that this set of anchors exhibits spammy behavior. Computed in the AnchorLocalizer.", + "format": "float", + "type": "number" + }, + "timestamp": { + "description": "Walltime of when anchors were accumulated last.", + "format": "int32", + "type": "integer" + }, + "topPrOffdomainAnchorCount": { + "format": "int32", + "type": "integer" + }, + "topPrOndomainAnchorCount": { + "format": "int32", + "type": "integer" + }, + "topPrOnsiteAnchorCount": { + "description": "According to anchor quality bucket, anchor with pagrank \u003e 51000 is the best anchor. anchors with pagerank \u003c 47000 are all same.", + "format": "int32", + "type": "integer" + }, + "totalDomainPhrasePairsAboveLimit": { + "description": "The following should be equal to the size of the following repeated group, except that it can go higher than 10,000.", + "format": "int32", + "type": "integer" + }, + "totalDomainPhrasePairsSeenApprox": { + "description": "Number of domain/phrase pairs in total -- i.e. how many anchors we would have if the domain/phrase cutoff was set to 1 instead of 200. This is \"approx\" for large anchor clusters because there can be double counting when the LRU cache forgets about rare domain/phrase pairs.", + "format": "int32", + "type": "integer" + }, + "totalDomainsAbovePhraseCap": { + "description": "Number of domains above per domain phrase cap. We see too many phrases in the domains.", + "format": "int32", + "type": "integer" + }, + "totalDomainsSeen": { + "description": "Number of domains seen in total.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "IndexingDocjoinerAnchorStatisticsPerDupStats": { + "description": "------------------------------------------------------------------------- The total number of anchors collected per dupforwarding (including the canonical itself). Includes additional data about redundant and offdomain counts and the last timestamp it was collected from.", + "id": "IndexingDocjoinerAnchorStatisticsPerDupStats", + "properties": { + "anchorCount": { + "description": "Count of anchors kept from forwarding.", + "format": "int32", + "type": "integer" + }, + "collectType": { + "description": "This is EcnCollectType in anchor-ecn-matcher.h for the latest ECN of this dup: - kCollectNormal = 0, // Normal collection. - kCollectUnforwarded = 1, // Forwarding leader docid match only. - kCollectWhitelisted = 2, // Collected anchors matching whitelist. - kCollectNone = 4 // Skipped ECN anchor cluster.", + "format": "int32", + "type": "integer" + }, + "dupUrl": { + "description": "If missing, the same as the canonical.", + "type": "string" + }, + "offdomainAnchorCount": { + "description": "Count of offdomain anchors.", + "format": "int32", + "type": "integer" + }, + "redundantAnchorCount": { + "description": "Count of redundant anchors.", + "format": "int32", + "type": "integer" + }, + "scannedAnchorCount": { + "description": "The number of anchors being scanned from storage per dupforwarding.", + "format": "int32", + "type": "integer" + }, + "timestamp": { + "description": "Walltime when this was scanned last.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "IndexingDocjoinerAnchorStatisticsRedundantAnchorInfo": { + "description": "------------------------------------------------------------------------- The total number of redundant anchors dropped per (domain, text). If we receive a large number of anchors from a particular domain, then we'll throw out all but 200 of them from that domain. The data is sorted by the (domain, text) pairs. This is capped at 10,000 entries (if less, it will have the same number of elements as the above_limit count).", + "id": "IndexingDocjoinerAnchorStatisticsRedundantAnchorInfo", + "properties": { + "anchorsDropped": { + "format": "int64", + "type": "string" + }, + "domain": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "type": "object" + }, + "IndexingDocjoinerAnchorStatisticsRedundantAnchorInfoForPhraseCap": { + "id": "IndexingDocjoinerAnchorStatisticsRedundantAnchorInfoForPhraseCap", + "properties": { + "anchorsDropped": { + "format": "int32", + "type": "integer" + }, + "domain": { + "type": "string" + } + }, + "type": "object" + }, + "IndexingDocjoinerAnchorTrustedInfo": { + "description": "This message summarized anchors of one trusted site.", + "id": "IndexingDocjoinerAnchorTrustedInfo", + "properties": { + "matchedScore": { + "description": "Difference in KL-divergence from spam and non-spam anchors. Value \u003e0 indicate that anchor text from this trusted source is similar to anchors classified as spam which means that spammy anchors are legitimate.", + "format": "float", + "type": "number" + }, + "matchedScoreInfo": { + "description": "Detailed debug information about computation of trusted anchors match. Populated only when --anchorspam_penalizer_debug=true", + "items": { + "type": "string" + }, + "type": "array" + }, + "phrasesScore": { + "description": "Count of anchors classified as spam using anchor text.", + "format": "float", + "type": "number" + }, + "site": { + "description": "Site name from anchor.source().site().", + "type": "string" + }, + "text": { + "description": "Tokenized text of all anchors from the site.", + "items": { + "type": "string" + }, + "type": "array" + }, + "trustedScore": { + "description": "Fraction of pages with newsy anchors on the site, \u003e0 for trusted sites.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "IndexingDocjoinerCDocBuildInfo": { + "description": "Holds extra info except annotations and raw cdoc for buildint the final cdoc.", + "id": "IndexingDocjoinerCDocBuildInfo", + "properties": { + "extraMessage": { + "$ref": "Proto2BridgeMessageSet" + } + }, + "type": "object" + }, + "IndexingDocjoinerDataVersion": { + "description": "DataVersion tracks the version of data in CompositeDoc. The notion of \"data\" here is loose and people can define the name of their own. For example, a signal generated by Index Signals or an annotation generated by Goldmine (and other components) can all be considered as data here. Each field in this proto represents the human readable version string and the timestamp of one particular data. We choose to explicitly list out all of the data here for better understanding about which data are tracked. NOTE that human_readable_version is not intended for comparison, use timestamp_micros. In addition, we have an annotation about the field paths of each data. With proto reflection (using google3/net/proto2/util/public/field_path.h), downstream systems can take advantage of this annotation to automatically handle newly introduced data without modifying their code. Please also see the comment of FieldProjector above. There are also some fields in DataInfo that annotate who generates the data, the Index Signals or Goldmine annotator name. Next ID: 536", + "id": "IndexingDocjoinerDataVersion", + "properties": { + "acceleratedShoppingSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "adsAdsaiMagicApfelApfelRegionFinderAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "adsAdsaiMagicMagicPageTypeAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "adsShoppingWebpxRawShoppingAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "amphtmlSignedExchangeErrorDetails": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "amphtmlSignedExchangeValidationPayload": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "analyticsSiteidAnalyticsPropertyAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "analyticsSiteidAnalyticsRenderedOutput": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "authenticSiteRankData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "babelEncoderBabelEncodings": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "badurlsBadurlsForceSelectionSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "boilerplateAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "boilerplateVisibleBytesEstimates": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "chromeCounts": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "commerceDataqualityOrganicCrawledSellerData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "commerceDataqualityOrganicShoppingAnnotationSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "commerceDataqualityOrganicShoppingSiteQuality": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "commonsenseQueriosityGoldmineQnaAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "commonsenseScoredCompoundReferenceAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "commonsenseStoneSoupProtoRaffiaInstructionsSeq": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "contraContentReviewAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "contraCuratedContent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "countryCountryAttachment": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "crawzallSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "creator": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "datacommonsDatacommonsTriplesSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "dateAnnotationTags": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "dateAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "dateRangeAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "dateTimeAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "discoverSource": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "discussion": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "documentIntent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "dotsGaramondSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "dotsNewsstandSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "emailAddressAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "extractedBookInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "fatcatCompactDocClassification": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "fatcatSiteVerticalsAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "firstseen": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "fontsAnalysisAnnotatorFontsAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "forumRankingForumPostsSafeSearchAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "foundationSplinterSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "freshboxFreshboxArticleAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "geoPointAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "geoPointResolution": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "geostoreAddressProto": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "i2eV2ImageEntitiesInfos": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageContentAnnotationLabels": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageContentColorSearchColorDetectionResults": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageDataList": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageExtraImageExtraTerms": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageMonetizationFeaturedDocumentProperties": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageMustangFaviconInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageMustangWebsearchImageSnippetResponse": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageQualityLabelmakerDocMediaLabels": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageQualityLandingPageProtoLandingPageSalientTextSet": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageQualityLayoutDocument": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageQualityRichdataProtoImageAnchor": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageQualityRichdataProtoRichdata": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageQualitySalientTermsImageQuerySmearingList": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageQualitySalientTermsImageSalientTermSetMap": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageQualitySensitiveFaceSkinToneSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageQualitySensitiveMediaOrPeopleEntities": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageRepositoryGeolocation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageRepositoryPicasaGeoData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageSearchRejectedImageInfoList": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageStockStockImageAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsAnnotationMeta": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsAppMarketAppMarketAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsAppsCacheColonAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsAppsDocRestrictionsDocPreviewRestrictionsAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsAutomobileVinAnnotatorAutomobileVinAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsCanonicalUrl": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsCleanTextProto": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsCollectionsDocCollections": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsCommentBlockGroups": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsDatasetModelAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsDatesDateTimes": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsDocImportance": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsDocRestrictionsInDocRestrictionsAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsEntityPage": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsFeedbackSet": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsIBertEmbeddingAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsImageRepositoryImageLicenseInfoAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsPcuAmpError": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsPcuSignedExchangeInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsPersonPersonAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsSduPageTypeAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsSocialLinksSocialLinksAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsSubscribewithgoogleSwgAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsTwitterEmbeddedTweetsAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsTypedNumberTypedNumberAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsWaPassagesQueryToPassageAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAnnotationsWaPassagesTrimmedQueryToPassageAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAppsAffiliatedInstantAppInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingAppsMergedAppInfoAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingBadpagesBadPageParseResult": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingBadpagesCollapserInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingBadpagesIndexSelectionRemoval": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingBadpagesLoginPageResult": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingBadpagesUnifiedModelFeatures": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingBeringPublisherOnPageAdsAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingCenterpieceCenterPieceAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingCenterpieceCenterpieceChecksums": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingCenterpieceComponentLearningSource": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingCenterpieceSectionTitleAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingConverterContentGenerationInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingConverterContentParserResults": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingConverterFileMetaInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingConverterLinkRelOutlinks": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingConverterMetaDetectorsResultsProto": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingConverterPdfFileMetaInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingConverterPdfPageAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingCustomCorpusCdmAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingDeepwebStoreListAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingDocjoinerServingTimeClusterIds": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingDocjoinerWikiInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingDocskeletonRepeatedPatternRepeatedPatternAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingDupsLocalizedLocalizedCluster": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingFreshSchedulerFreshSchedulerDoubleInstantExtension": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingFreshSchedulerOutlinkDiscoveryHistoricalHubsSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingImagesRelatedImageSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingInstantActiveClusterScorerSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingInstantBaseReindexWhitelistData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingInstantClusterScorerArticle": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingInstantClusterScorerSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingInstantHistoricalContentSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingInstantNewsHighlyCitedDocumentSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingInstantNewsImagesInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingInstantSignalSourceTagsExtension": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingLatticeLatticeAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingMetricsUrlIndexingProps": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingMlDomNodeSegments": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingMlEntityInfoboxes": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingMlPageStructure": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingMlSemanticArticle": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingMlShoppingUniverseAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingMlVerticalVerticalClassificationResult": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingMlVerticalVerticalClassificationV2": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingMobileClientDependentInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingMobileInterstitialsProtoDesktopInterstitials": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingMobileObelixInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingMobileSmartphoneContentAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingMobileSmartphonePatternClassification": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingMobileSpeedPageSpeedFieldData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingPlusonePlusOneSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingPlusoneSocialScoreSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingRaffiaDataRecoveryInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingRaffiaIndexingIntermediate": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingRaffiaMediaProcessingMetadata": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingRaffiaOverlayCDocAttachment": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSelectionAcquisitionMetadataAttachment": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSelectionDoubleIndexingExtension": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSelectionFastServingPush": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSelectionFreshdocsPassthroughExtension": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSelectionImageImageSelectionAttachment": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSelectionLanguageExtension": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSelectionPriorScorerParameterSet": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSelectionProcessingPriorityExtension": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSelectionProtoBasePromotionInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSelectionTensorFlowExtension": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSignalAggregatorUrlPatternSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSignalsAccumulatedOnlineSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSignalsImpressionsPerDayContainer": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSocialCountsSocialWidgetsIndicator": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSpeechGoldminePodcastAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingSpeechSpeechPagePropertiesProto": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingThirdpartyThirdPartyInputs": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingUgcPageParamInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingUnionKeyData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingUrlPatternUrlTreeUrlPatternAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingVideosVideoAnchorSourceInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingVideosVideoPlaylistAnchorSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "indexingWebChannelsWebChannelAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "infoextractionPinpointPinpointAnnotationSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "infoextractionPinpointPinpointSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "instantChromeViews": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "instantNavboost": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeGraphAcquisitionFeedsQuotesQuotesAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsDocumentSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsFactEvaluationSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsHtmlTableSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsKatsSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsLocalizedFact": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsObjectAnnotationsSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsProductCompositionSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsServingData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsShoppingSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsStructuredSnippetsSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsUdrExtraFactData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsUdrExtraFactMentionData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsUniversalFactMetadata": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsUniversalFactScores": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsUniversalTableSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningFactsWebKvSiteGroupSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningShoppingBrowseonomyData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMiningShoppingTwdModelVersions": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMumStoryTeaserAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMumStorytimeStampEngagementAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeMumStorytimeStampQualityAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeTablesTableInternalData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeTablesUniversalTableAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeTasksUniversalTaskAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "knowledgeTpfHowtodoHowtoVideoAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "langIdLangReasonerDocumentLanguages": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "lensVsaiDatasets": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "localsearchAuthoritySiteAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "localyp": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "mapsSyntheticsGeoDocFetchKey": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "measurementAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "metawebExtractionDocumentEvidence": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "modernFormatContent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "navBoostDocument": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "navboost": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo", + "description": "BEGIN DATA FIELDS" + }, + "newsAnnotationsContentAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsCorpusHubPageAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsCorpusLeafPageAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsCorpusNewsAggregateSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsCorpusNewsCorpusAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsCorpusNewsCorpusRootAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo", + "description": "END DATA FIELDS" + }, + "newsCorpusNewsCorpusStatusAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsCorpusNewsinessAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsCorpusPositionRankAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsCrawlFilterNewsLinkCrawlSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsExtractionNewsPbeAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsNarIndexingMetadata": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsNarRow": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsNarRowContainer": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsNearDupsInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsNewromanIndexingNewRomanSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsNewsArticleChecksum": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsNewsClassifications": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsNewsContentSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsNewsForEducationReadingStatistics": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsVideosNewsAnchorSourceInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "newsVideosNewsVideoAnnotationSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "nlpAtcClaraAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "nlpSaftDocument": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "nlpSaftNlxDocAnnotatorMigration": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "nlpSaftRodinClassification": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "nlpSentimentSentimentAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "nlxDocAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "noindexedImageDataList": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "numberAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanLibrarianBookMetadata": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanLibrarianPopulatorData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanLibrarianPopulatorPageData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataAllItemSpecificBibdatas": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataAvailabilityInfoComponent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataAvailabilitySnapshot": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataAvailabilitySnapshotHolder": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataBibkeyComponent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataClusterHorizontalReference": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataClusterRecord": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataClusterVolumes": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataClusteringSeriesSeriesInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataClusteringTomeHorizontalLinkDescriptor": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataContributorLinks": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataItemSpecificBibdataComponent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataKgTopicLinks": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataLanguageInfoComponent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataMaterialInfoComponent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataParsedAccessTerms": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataParsedSuDoc": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataPatentPublicationDetails": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataPhysicalMeasurementsComponent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataPublicDomainInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataPublicationDetailsComponent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataRightsComponent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataSeriesInfoComponent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataTomeDetailsComponent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataTomeMembersComponent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanMetadataTomePriceInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanReviewsForWork": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "oceanRightsOptOutRequest": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "officialPagesQuerySet": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "perDocLangidData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "personalizationGameWebeventsConsolidatedEvents": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "personalizationGameWebeventsEvent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "personalizationGameWebeventsEvents": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "photosGeoAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "predictedAuthenticity": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "priceAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityAnchorsOutdegreeOutdegreeInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityAnimaLivewebLivewebAttachment": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityAnimaRoutinesRoutinesPropertiesProto": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityAuthorityTopicEmbeddings": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityAuthorshipAuthorAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityBreadcrumbsBreadcrumbAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityCalypsoAppsLink": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityChardDocument": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityChardPredictedQueryFringeScore": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityChardPredictedXlq": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityContraSelectedAttributions": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityCopiaFireflySiteInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityDiscoverUgcScatScatEmbeddingAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityDniNewsstandPcu": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityDniPcuAuxiliaryData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityDniPcuMetaAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityDniPcuParsedData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityDniPcuRawData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityExploreQueryableFeedEcsAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityExploreQueryableFeedHashtagAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityExploreQueryableFeedHashtagListAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityExploreQueryableFeedTopicFeedScoringSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityFreshnessAbacusInstantNegativeClicksInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityFringeFringeQueryPrior": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityGeoBrainlocGoldmineBrainlocAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityGeoLoglocGoldmineDocumentLocationAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityHistoricalContentAge": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityHorizonProtoHorizonEmbeddings": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityHorizonRecordInfoAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityImprovDocToQueries": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityImprovImprovAnchors": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityLisztomaniaDocument": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityNavboostCrapsCrapsData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityNavboostCrapsCrapsPatternSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityNegativeClicksNegativeClicksInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityNlqStructuredSearchAnnotationAnalysisAutomaticExtractionAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityNlqStructuredSearchListingPagesListingPageAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityNsrDokiAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityNsrNsrData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityNsrNsrSitechunksAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityNsrPairwiseqPairwiseQData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityNsrPqData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityNsrSiteAuthority": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityNsrUvSitechunksAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityOrbitAsteroidBeltIntermediateDocumentIntentScores": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityPagemasterPagemasterAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityPanopticIndexingDiscoverCorpusAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityPanopticIndexingDiscoverDocumentSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityPanopticIndexingPanopticAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityPanopticStorytimeAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityPanopticStorytimeScoringSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityPanopticVoiceUgcAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityPeoplesearchNamedetectorNameOccurrenceAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityPopfeedsChromeBackgroundAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityPopfeedsHubDataAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityPopfeedsUrlPredictionAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityPopfeedsUrlSourceAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityPricedetectorKefirPriceAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityPricedetectorProductBlockAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityProseJsonLdAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityProseThumbnailSelection": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityQ2QualityBoost": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityQ2SiteQualityFeatures": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityRealtimeBoostRealtimeBoostEvent": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityRealtimeBoostRealtimeBoostResponse": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityRealtimeBoostSeismographEventAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityRealtimeRealtimeResultInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityRealtimeRtFactAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityResultFilteringIndexingClusterAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityRichsnippetsAppsProtosApplicationInformationAttachment": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityRodinRodinSiteSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySalientCountriesSalientCountrySet": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySalientStructuresSalientStructureSet": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySalientStuffSalientStuffSet": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySalientTermsQuerySmearingModel": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySalientTermsSalientTermSet": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySearchoversiteAnnotatorStructuredResultsAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySherlockKnexAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityShoppingProductReview": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityShoppingProductReviewPage": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityShoppingShoppingProductReviewAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySimilarpagesRelatedInfoSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySitemapDocument": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySitemapThirdPartyCarouselsItemLists": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySixfaceSixfaceUrlData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySnippetsHiddenTextHiddenSpanAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySnippetsListSnippetsAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySnippetsMetadescriptionDuplicateMetaSiteSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySnippetsSnippetSpansInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySosGoldmineSosAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualitySummarySummary": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityTangramInformationTypes": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityTimebasedTimeSensitivityTimeSensitivityAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityTitlesAlternativeTitlesInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityTitlesSitelinksTargetTitleInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityTwiddlerDomainClassification": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityViewsAnswersAnswerAnnotationInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityVisualwebVisualWebAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityVisualwebVisualWebModelsAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityWebanswersAltTitleSaftDoc": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityWebanswersTranscriptAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityWebfeederDocEmbedding": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "qualityWebshineDocResources": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "rankBoostDocAttachment": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "rankembed": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "relativeDateAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsAddressAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsAmenitiesAmenitiesAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsCrawzallAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsDiscussionThreadDiscussionViewProto": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsLicensedResources": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsListFilterAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsListSummaryAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsMicrodataMicrodataAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsMicroformatsHproduct": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsMicroformatsMicroformatAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsPhoneTypePhoneTypeAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsRdfaRdfaAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsRodinArticleAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsSectionHeadingAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsSnippetSegmentSnippetSegmentAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsSporeAuthoritySignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsSporeDeeplinkAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsSporeExtractorTopicAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsSporeExtractorTripleAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsSporeSporeEtlAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsSporeSporeEtlInputAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsStorehoursStoreHoursAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsVerseAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryAnnotationsWebanswersContextItemAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryProtiumEncyclojoinsEncycloJoin": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryProtiumGoldmineTriplificationResult": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryProtiumGoldmineTypeAssertionOutput": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryProtiumWebkvWebKv": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "repositoryProtiumWikiaWikiaInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "demotedAll": { - "description": "Demoted all anchors in the period or only anchors classified as spam.", - "type": "boolean" + "repositoryUpdaterIndexSelectionAttachment": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "demotedEnd": { - "description": "End date of the demotion period.", - "format": "uint32", - "type": "integer" + "repositoryWebrefEntityJoin": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "demotedStart": { - "description": "Start date of the demotion period.", - "format": "uint32", - "type": "integer" + "repositoryWebrefExperimentalWebrefEntitiesAttachment": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "phraseCount": { - "description": "Following fields record signals used in anchor spam classification. How many spam phrases found in the anchors among unique domains.", - "format": "float", - "type": "number" + "repositoryWebrefGraphMention": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "phraseDays": { - "description": "Over how many days 80% of these phrases were discovered.", - "format": "float", - "type": "number" + "repositoryWebrefJuggernautIndices": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "phraseFraq": { - "description": "Spam phrases fraction of all anchors of the document.", - "format": "float", - "type": "number" + "repositoryWebrefPageClassificationAnchorSignalsSet": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "phraseRate": { - "description": "Average daily rate of spam anchor discovery.", - "format": "float", - "type": "number" + "repositoryWebrefPageClassificationSignalsSet": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "processed": { - "description": "Total number of processed anchors.", - "format": "uint32", - "type": "integer" + "repositoryWebrefPiannoDocumentIntents": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "sampled": { - "description": "True if anchors were sampled during observation phrase.", - "type": "boolean" + "repositoryWebrefPiannoTvSeasonEpisode": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "sources": { - "description": "Detailed information about trusted sources and match computation. Populated only when --anchorspam_penalizer_debug=true.", - "items": { - "$ref": "IndexingDocjoinerAnchorTrustedInfo" - }, - "type": "array" + "repositoryWebrefPreprocessingReferencePageCandidateList": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "spamDebugInfo": { - "description": "Additional debug information about computation of spam probability.", - "type": "string" + "repositoryWebrefReconcileResponse": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "spamPenalty": { - "description": "Combined penalty for anchor demotion.", - "format": "float", - "type": "number" + "repositoryWebrefRefconJugglerReferencePageMappings": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "spamProbability": { - "description": "Predicted probability of spam.", - "format": "float", - "type": "number" + "repositoryWebrefReferencePagesClassifierScoredPage": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "trustedDemoted": { - "description": "Number of trusted anchors used in computation of spam probability.", - "format": "uint32", - "type": "integer" + "repositoryWebrefSalientEntitySet": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "trustedExamples": { - "description": "Examples of trusted sources.", - "type": "string" + "repositoryWebrefUndermergedEntities": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "trustedMatching": { - "description": "Number of trusted anchors with anchor text matching spam terms.", - "format": "uint32", - "type": "integer" + "repositoryWebrefUniversalEmbeddingRetrievalDebug": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "trustedTarget": { - "description": "Following fields record details about trusted anchors True if is this URL is on trusted source.", - "type": "boolean" + "repositoryWebrefWebitIntermediaryMids": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "trustedTotal": { - "description": "Total number of trusted sources for this URL.", - "format": "uint32", - "type": "integer" - } - }, - "type": "object" - }, - "IndexingDocjoinerAnchorStatistics": { - "description": "Statistics of the anchors in a docjoin. Next available tag ID: 63.", - "id": "IndexingDocjoinerAnchorStatistics", - "properties": { - "anchorCount": { - "format": "int32", - "type": "integer" + "repositoryWebrefWebitScopeFprint": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "anchorPhraseCount": { - "description": "The number of unique anchor phrases. Capped by the constant kMaxAnchorPhraseCountInStats (=5000) defined in indexing/docjoiner/anchors/anchor-manager.cc.", - "format": "int32", - "type": "integer" + "repositoryWebrefWebitScopeSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "anchorSpamInfo": { - "$ref": "IndexingDocjoinerAnchorSpamInfo", - "description": "This structure contains signals and penalties of AnchorSpamPenalizer. It replaces phrase_anchor_spam_info above, that is deprecated." + "repositoryWebrefWebitTripleSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "anchorsWithDedupedImprovanchors": { - "description": "The number of anchors for which some ImprovAnchors phrases have been removed due to duplication within source org.", - "format": "int32", - "type": "integer" + "repositoryWebrefWebrefEntities": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "badbacklinksPenalized": { - "description": "Whether this doc is penalized by BadBackLinks, in which case we should not use improvanchor score in mustang ascorer.", - "type": "boolean" + "repositoryWebrefWebrefStatus": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "baseAnchorCount": { - "format": "int32", - "type": "integer" + "repositoryWebtablesDataTableAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "baseOffdomainAnchorCount": { - "format": "int32", - "type": "integer" + "repositoryWebtablesDataTableMidAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "droppedHomepageAnchorCount": { - "format": "int32", - "type": "integer" + "repositoryWebtablesTranslationMessage": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "droppedLocalAnchorCount": { - "format": "int32", - "type": "integer" + "repositoryWikipediaAliasList": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "droppedNonLocalAnchorCount": { - "format": "int32", - "type": "integer" + "repositoryWikipediaAnnotatorWikipediaPageComponentAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "droppedRedundantAnchorCount": { - "description": "Sum of anchors_dropped in the repeated group RedundantAnchorInfo, but can go higher if the latter reaches the cap of kMaxRecordsToKeep. (indexing/docjoiner/anchors/anchor-loader.cc), currently 10,000", - "format": "int32", - "type": "integer" + "repositoryWikipediaSentenceCompressionAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "fakeAnchorCount": { - "format": "int32", - "type": "integer" + "repositoryWikipediaWikiJoin": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "forwardedAnchorCount": { - "format": "int32", - "type": "integer" + "repositoryWikipediaWikiMapperTripleSet": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "forwardedOffdomainAnchorCount": { - "format": "int32", - "type": "integer" + "repositoryWikipediaWikibaseEntity": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "globalAnchorDelta": { - "description": "Metric of number of changed global anchors computed as, size(union(previous, new) - intersection(previous, new)).", - "format": "int32", - "type": "integer" + "repositoryWikipediaWikidataOrgTripleSet": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "linkBeforeSitechangeTaggedAnchors": { - "format": "int32", - "type": "integer" + "repositoryWikipediaWikitrustWikiTrustInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "localAnchorCount": { - "format": "int32", - "type": "integer" + "researchCoauthorOpinionAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "lowCorpusAnchorCount": { - "format": "int32", - "type": "integer" + "researchStructuredDataInadvertentAnchorScoreAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "lowCorpusOffdomainAnchorCount": { - "format": "int32", - "type": "integer" + "researchStructuredDataKnowledgeExplorationAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "mediumCorpusAnchorCount": { - "format": "int32", - "type": "integer" + "researchStructuredDataNewsEmbeddingAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "mediumCorpusOffdomainAnchorCount": { - "format": "int32", - "type": "integer" + "richsnippetsDataObject": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "minDomainHomePageLocalOutdegree": { - "description": "Minimum local outdegree of all anchor sources that are domain home pages as well as on the same domain as the current target URL.", - "format": "int32", - "type": "integer" + "richsnippetsFeedPageMap": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "minHostHomePageLocalOutdegree": { - "description": "Minimum local outdegree of all anchor sources that are host home pages as well as on the same host as the current target URL.", - "format": "int32", - "type": "integer" + "richsnippetsPageMap": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "nonLocalAnchorCount": { - "format": "int32", - "type": "integer" + "richsnippetsPageMapAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "offdomainAnchorCount": { - "format": "int32", - "type": "integer" + "richsnippetsSchemaThing": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "ondomainAnchorCount": { - "format": "int32", - "type": "integer" + "rosettaLanguage": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "onsiteAnchorCount": { - "format": "int32", - "type": "integer" + "safesearchPageClassifierOutput": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "pageFromExpiredTaggedAnchors": { - "description": "Set in SignalPenalizer::FillInAnchorStatistics.", - "format": "int32", - "type": "integer" + "safesearchSafeSearchInternalPageSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "pageMismatchTaggedAnchors": { - "format": "int32", - "type": "integer" + "scienceIndexSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "penguinEarlyAnchorProtected": { - "description": "Doc is protected by goodness of early anchors.", - "type": "boolean" + "searchEngagementHighlightSharedHighlightSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "penguinLastUpdate": { - "description": "BEGIN: Penguin related fields. Timestamp when penguin scores were last updated. Measured in days since Jan. 1st 1995.", - "format": "int32", - "type": "integer" + "searcharSearchArPipelineSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "penguinPenalty": { - "description": "Page-level penguin penalty (0 = good, 1 = bad).", - "format": "float", - "type": "number" + "shoppingQualityShoppingSiteClassifier": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "penguinTooManySources": { - "description": "Doc not scored because it has too many anchor sources. END: Penguin related fields.", - "type": "boolean" + "shoppingQualityShoppingSiteClassifierShopfab": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "perdupstats": { - "items": { - "$ref": "IndexingDocjoinerAnchorStatisticsPerDupStats" - }, - "type": "array" + "shoppingWebentityShoppingAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "phraseAnchorSpamInfo": { - "$ref": "IndexingDocjoinerAnchorPhraseSpamInfo", - "description": "Following signals identify spike of spammy anchor phrases. Anchors created during the spike are tagged with LINK_SPAM_PHRASE_SPIKE." + "sitemapsSitemapsSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "redundantAnchorForPhraseCapCount": { - "description": "Total anchor dropped due to exceed per domain phrase cap. Equals to sum of anchors_dropped in the repeated group RedundantAnchorInfoForPhraseCap, but can go higher if the latter reaches the cap of kMaxDomainsToKeepForPhraseCap (indexing/docjoiner/anchors/anchor-loader.h), currently 1000.", - "format": "int32", - "type": "integer" + "smearingSmearedTerms": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "redundantanchorinfo": { - "items": { - "$ref": "IndexingDocjoinerAnchorStatisticsRedundantAnchorInfo" - }, - "type": "array" + "socialPersonalizationKnexAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "redundantanchorinfoforphrasecap": { - "items": { - "$ref": "IndexingDocjoinerAnchorStatisticsRedundantAnchorInfoForPhraseCap" - }, - "type": "array" + "spamBrainSpamBrainData": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "scannedAnchorCount": { - "description": "The total number of anchors being scanned from storage.", - "format": "int32", - "type": "integer" + "spamBrainSpamBrainPageClassifierAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "skippedAccumulate": { - "description": "A count of the number of times anchor accumulation has been skipped for this document. Note: Only used when canonical.", - "format": "int32", - "type": "integer" + "spamContentAnchorDist": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "skippedOrReusedReason": { - "description": "Reason to skip accumulate, when skipped, or Reason for reprocessing when not skipped.", - "type": "string" + "spamContentAuthenticAuthenticTextAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "spamLog10Odds": { - "description": "The log base 10 odds that this set of anchors exhibits spammy behavior. Computed in the AnchorLocalizer.", - "format": "float", - "type": "number" + "spamContentImageMapPb": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "timestamp": { - "description": "Walltime of when anchors were accumulated last.", - "format": "int32", - "type": "integer" + "spamContentSiteAgeStats": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "topPrOffdomainAnchorCount": { - "format": "int32", - "type": "integer" + "spamCookbookCookbookAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "topPrOndomainAnchorCount": { - "format": "int32", - "type": "integer" + "spamCookbookCookbookSitechunkAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "topPrOnsiteAnchorCount": { - "description": "According to anchor quality bucket, anchor with pagrank \u003e 51000 is the best anchor. anchors with pagerank \u003c 47000 are all same.", - "format": "int32", - "type": "integer" + "spamFatpingIndexFeed": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "totalDomainPhrasePairsAboveLimit": { - "description": "The following should be equal to the size of the following repeated group, except that it can go higher than 10,000.", - "format": "int32", - "type": "integer" + "spamGodclusterAffIdAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "totalDomainPhrasePairsSeenApprox": { - "description": "Number of domain/phrase pairs in total -- i.e. how many anchors we would have if the domain/phrase cutoff was set to 1 instead of 200. This is \"approx\" for large anchor clusters because there can be double counting when the LRU cache forgets about rare domain/phrase pairs.", - "format": "int32", - "type": "integer" + "spamGodclusterServerHeaderAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "totalDomainsAbovePhraseCap": { - "description": "Number of domains above per domain phrase cap. We see too many phrases in the domains.", - "format": "int32", - "type": "integer" + "spamGooglebombsGooglebombsAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "totalDomainsSeen": { - "description": "Number of domains seen in total.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "IndexingDocjoinerAnchorStatisticsPerDupStats": { - "description": "------------------------------------------------------------------------- The total number of anchors collected per dupforwarding (including the canonical itself). Includes additional data about redundant and offdomain counts and the last timestamp it was collected from.", - "id": "IndexingDocjoinerAnchorStatisticsPerDupStats", - "properties": { - "anchorCount": { - "description": "Count of anchors kept from forwarding.", - "format": "int32", - "type": "integer" + "spamHackedSitesDocSpamInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "collectType": { - "description": "This is EcnCollectType in anchor-ecn-matcher.h for the latest ECN of this dup: - kCollectNormal = 0, // Normal collection. - kCollectUnforwarded = 1, // Forwarding leader docid match only. - kCollectWhitelisted = 2, // Collected anchors matching whitelist. - kCollectNone = 4 // Skipped ECN anchor cluster.", - "format": "int32", - "type": "integer" + "spamHackedSitesGpgbGpgbNgramStats": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "dupUrl": { - "description": "If missing, the same as the canonical.", - "type": "string" + "spamHackedSitesWordFrequencies": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "offdomainAnchorCount": { - "description": "Count of offdomain anchors.", - "format": "int32", - "type": "integer" + "spamJsJsInfo": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "redundantAnchorCount": { - "description": "Count of redundant anchors.", - "format": "int32", - "type": "integer" + "spamScamScamness": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "scannedAnchorCount": { - "description": "The number of anchors being scanned from storage per dupforwarding.", - "format": "int32", - "type": "integer" + "spamScamUnauthoritativeSite": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "timestamp": { - "description": "Walltime when this was scanned last.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "IndexingDocjoinerAnchorStatisticsRedundantAnchorInfo": { - "description": "------------------------------------------------------------------------- The total number of redundant anchors dropped per (domain, text). If we receive a large number of anchors from a particular domain, then we'll throw out all but 200 of them from that domain. The data is sorted by the (domain, text) pairs. This is capped at 10,000 entries (if less, it will have the same number of elements as the above_limit count).", - "id": "IndexingDocjoinerAnchorStatisticsRedundantAnchorInfo", - "properties": { - "anchorsDropped": { - "format": "int64", - "type": "string" + "spamTokensSpamTokensAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "domain": { - "type": "string" + "tableTalkStrideOfferPagePriceAnnotation": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "text": { - "type": "string" - } - }, - "type": "object" - }, - "IndexingDocjoinerAnchorStatisticsRedundantAnchorInfoForPhraseCap": { - "id": "IndexingDocjoinerAnchorStatisticsRedundantAnchorInfoForPhraseCap", - "properties": { - "anchorsDropped": { - "format": "int32", - "type": "integer" + "tasksTabaTabaDocSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "domain": { - "type": "string" - } - }, - "type": "object" - }, - "IndexingDocjoinerAnchorTrustedInfo": { - "description": "This message summarized anchors of one trusted site.", - "id": "IndexingDocjoinerAnchorTrustedInfo", - "properties": { - "matchedScore": { - "description": "Difference in KL-divergence from spam and non-spam anchors. Value \u003e0 indicate that anchor text from this trusted source is similar to anchors classified as spam which means that spammy anchors are legitimate.", - "format": "float", - "type": "number" + "telephoneNumberAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "matchedScoreInfo": { - "description": "Detailed debug information about computation of trusted anchors match. Populated only when --anchorspam_penalizer_debug=true", - "items": { - "type": "string" - }, - "type": "array" + "timeAnnotationTags": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "phrasesScore": { - "description": "Count of anchors classified as spam using anchor text.", - "format": "float", - "type": "number" + "timeAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "site": { - "description": "Site name from anchor.source().site().", - "type": "string" + "timeRangeAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "text": { - "description": "Tokenized text of all anchors from the site.", - "items": { - "type": "string" - }, - "type": "array" + "travelAssistantTravelDocClassification": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "trustedScore": { - "description": "Fraction of pages with newsy anchors on the site, \u003e0 for trusted sites.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "IndexingDocjoinerCDocBuildInfo": { - "description": "Holds extra info except annotations and raw cdoc for buildint the final cdoc.", - "id": "IndexingDocjoinerCDocBuildInfo", - "properties": { - "extraMessage": { - "$ref": "Proto2BridgeMessageSet" - } - }, - "type": "object" - }, - "IndexingDocjoinerDataVersion": { - "description": "DataVersion tracks the version of data in CompositeDoc. The notion of \"data\" here is loose and people can define the name of their own. For example, a signal generated by Index Signals or an annotation generated by Goldmine (and other components) can all be considered as data here. Each field in this proto represents the human readable version string and the timestamp of one particular data. We choose to explicitly list out all of the data here for better understanding about which data are tracked. NOTE that human_readable_version is not intended for comparison, use timestamp_micros. In addition, we have an annotation about the field paths of each data. With proto reflection (using google3/net/proto2/util/public/field_path.h), downstream systems can take advantage of this annotation to automatically handle newly introduced data without modifying their code. Please also see the comment of FieldProjector above. There are also some fields in DataInfo that annotate who generates the data, the Index Signals or Goldmine annotator name.", - "id": "IndexingDocjoinerDataVersion", - "properties": { - "acceleratedShoppingSignal": { + "udrConverterDocumentShoppingData": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "authenticSiteRankData": { + "udrConverterOffer": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "chromeCounts": { + "udrConverterProductBlockData": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "creator": { + "udrProtoDetailedEntityScores": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "discoverSource": { + "udrProtoOverlay": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "discussion": { + "udrProtoWebrefMention": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "documentIntent": { + "universalFacts": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "extractedBookInfo": { + "unwantedImageDataList": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "instantChromeViews": { + "uriAnnotations": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "instantNavboost": { + "utilStatusProto": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "localyp": { + "verticalsDiscussionDiscussionAnnotationTag": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "modernFormatContent": { + "videoCrawlAutomatedAudioExtractionSignals": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "navboost": { + "videoCrawlAutomatedExtractionSignals": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "predictedAuthenticity": { + "videoCrawlDomainVideoClickData": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "rankembed": { + "videoCrawlVideoClickData": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "rosettaLanguage": { + "videoCrawlVideoSalientTermSet": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, - "universalFacts": { + "videoCrawlVideoScoringSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "videoCrawlWatchPagePatternClassification": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "videoCrawlYoutubeEmbedSignal": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, "videoScoringSignal": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, + "videoWebGallery": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "videoYoutubeLiveCardioCardioStats": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, "volt": { "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "watchpageLanguageWatchPageLanguageResult": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "websitetoolsFeedsAnnotationsFeedContentAnnotations": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "websitetoolsFeedsLinkedFeedLinkedFeed": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "websitetoolsFeedsPodcastPodcastSignals": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "websitetoolsFeedsSporeFeedsSporeTriples": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "whatshappStrideExtractions": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "youtubeAlexandriaYoutubeBody": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "youtubeAlexandriaYoutubeSignal": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" } }, "type": "object" @@ -77053,14 +78731,12 @@ "enum": [ "NO_EQUIVALENT", "EQUIVALENT", - "MUNIN_SYNONYM", - "SYNONYM" + "MUNIN_SYNONYM" ], "enumDescriptions": [ "Not equivalent.", "Equivalent to the other entity.", - "The related entity is a synonym added to Munin interpretation.", - "The related entity is a synonym." + "The related entity is a synonym added to Munin interpretation." ], "type": "string" }, @@ -80425,7 +82101,7 @@ "type": "object" }, "PerDocData": { - "description": "=========================================================================== # Make sure you read the comments in the bottom before you add any new field. NB: As noted in the comments, this protocol buffer is used in both indexing and serving. In mustang serving implementations we only decode perdocdata during the search phase, and so this protocol should only contain data used during search. See mustang/repos_www/attachments.proto:{MustangBasicInfo,MustangContentInfo} for protocols used during search and/or docinfo. Next available tag deprecated, use this (and look for commented out fields): blaze-bin/net/proto_compiler/protocol-compiler --freetags \\ indexer/perdocdata/perdocdata.proto Next tag: 222", + "description": "=========================================================================== # Make sure you read the comments in the bottom before you add any new field. NB: As noted in the comments, this protocol buffer is used in both indexing and serving. In mustang serving implementations we only decode perdocdata during the search phase, and so this protocol should only contain data used during search. See mustang/repos_www/attachments.proto:{MustangBasicInfo,MustangContentInfo} for protocols used during search and/or docinfo. Next available tag deprecated, use this (and look for commented out fields): blaze-bin/net/proto_compiler/protocol-compiler --freetags \\ indexer/perdocdata/perdocdata.proto Next tag: 223", "id": "PerDocData", "properties": { "BlogData": { @@ -83636,10 +85312,6 @@ "description": "A protocol buffer to store the url, referer and porn flag for a url. and an optional image score. Next available tag id: 51.", "id": "PornFlagData", "properties": { - "coclickBrainScores": { - "$ref": "ImageSafesearchContentBrainPornAnnotation", - "description": "Aggregated brain_porn_scores for navboost co-clicked images. Historical: this signal is deprecated and no longer populated as of 2020-12-01. Refer to b/172897542 for more information." - }, "csaiScore": { "description": "Score predicting how likely an image is offensive or suggestive about CSAI (child sexual abuse imagery).", "format": "float", @@ -84146,7 +85818,7 @@ "type": "object" }, "PtokenPToken": { - "description": "PToken expresses policy-relevant properties of the data objects being processed and stored in Google's production systems. See go/ptoken to learn more. PTokens are intentionally opaque: go/ptokens-are-opaque. The following should be considered implementation details. Next ID: 8 INTERNAL: If both the Scalar and the Compound extensions are populated, we use the Compound and discard the Scalar. In principle, this should never happen.", + "description": "PToken expresses policy-relevant properties of the data objects being processed and stored in Google's production systems. See go/ptoken to learn more. PTokens are intentionally opaque: go/ptokens-are-opaque. The following should be considered implementation details. Next ID: 9 INTERNAL: If both the Scalar and the Compound extensions are populated, we use the Compound and discard the Scalar. In principle, this should never happen.", "id": "PtokenPToken", "properties": {}, "type": "object" @@ -89254,9 +90926,9 @@ "SEQUENCE", "SEQUENCE_V2", "FULL", - "FULL_V2", "META", "LEADING_TEXT", + "FULL_V2", "SAFT_SENTENCE", "RADISH_SENTENCE", "RADISH_LIST", @@ -89269,9 +90941,9 @@ "A sequence snippet is generated from query term matches (from meta and body sections) and typically consists of multiple tidbits. Currently we only keep one single best combination of the retrieved tidbits.", "", "A full snippet is also generated from query term matches. Unlike the sequence snippet, this only consists of one expanded tidbit that are scored as the best single tidbit among the retrieved tidbits.", - "", "This is a leading text of meta description.", "This is a leading text of main body text (skipping headers), and its starting position is typically identified in the indexing phase.", + "Similar to FULL snippet, but this allows multiple candidates.", "saft sentences.", "Candidates created from radish attachment.", "", @@ -90697,7 +92369,7 @@ "type": "string" }, "source": { - "description": "LINT.ThenChange(//depot/google3/assistant/verticals/communication/\\ fulfillment/proto/contact_logging_enums.proto, //depot/google3/assistant/api/dialog_state/values/person.proto) Data source of the contact data.", + "description": "LINT.ThenChange(//depot/google3/assistant/verticals/communication/\\ fulfillment/proto/contact_logging_enums.proto, //depot/google3/assistant/api/dialog_state/values/person.proto, //depot/google3/assistant/context/proto/person.proto) Data source of the contact data.", "enum": [ "FOCUS_CONTACT", "DEVICE_CONTACT", @@ -90709,7 +92381,8 @@ "SHARED_CONTACT", "FAMILY_MEMBER", "SHARED_DEVICE_USER", - "ON_DEVICE_CONTACT_LOOKUP" + "ON_DEVICE_CONTACT_LOOKUP", + "APP_SEARCH_CONTACT" ], "enumDescriptions": [ "Contacts from Focus", @@ -90722,7 +92395,8 @@ "Contacts shared from other users. See go/multi-user-shared-contact.", "People in the user's family group in http://families.google.com who are not contacts.", "People who share a device with the user who are not contacts.", - "Contacts from on device lookup during contact fulfillment." + "Contacts from on device lookup during contact fulfillment.", + "Contacts from AppSearch." ], "type": "string" } @@ -94076,6 +95750,7 @@ "VIDEO_OCR", "IMAGE_OCR", "LENS", + "VIDEO_DESCRIPTION", "ONLY_LOOKUP_METADATA", "EMBEDDED_CONTENT" ], @@ -94121,6 +95796,7 @@ "", "", "", + "", "Entries which are created in order to instruct the fprint-loader to load metadata for the contained ngrams.", "The embedded content in the document (e.g., within json scripts)." ], @@ -96022,6 +97698,7 @@ "VIDEO_OCR", "IMAGE_OCR", "LENS", + "VIDEO_DESCRIPTION", "ONLY_LOOKUP_METADATA", "EMBEDDED_CONTENT" ], @@ -96067,6 +97744,7 @@ "", "", "", + "", "Entries which are created in order to instruct the fprint-loader to load metadata for the contained ngrams.", "The embedded content in the document (e.g., within json scripts)." ], @@ -98534,7 +100212,8 @@ "VIDEO_TRANSCRIPT", "VIDEO_OCR", "IMAGE_OCR", - "LENS" + "LENS", + "VIDEO_DESCRIPTION" ], "enumDescriptions": [ "The document content (excluding the title) or the text of the query.", @@ -98553,7 +100232,8 @@ "The transcript of a video.", "The ocr text of a video.", "The ocr text of an image.", - "Fake segment that contains all Lens entity mids in a given image." + "Fake segment that contains all Lens entity mids in a given image.", + "The video description coming from VideoScoringSignal" ], "type": "string" }, @@ -98737,7 +100417,8 @@ "VIDEO_TRANSCRIPT", "VIDEO_OCR", "IMAGE_OCR", - "LENS" + "LENS", + "VIDEO_DESCRIPTION" ], "enumDescriptions": [ "The document content (excluding the title) or the text of the query.", @@ -98756,7 +100437,8 @@ "The transcript of a video.", "The ocr text of a video.", "The ocr text of an image.", - "Fake segment that contains all Lens entity mids in a given image." + "Fake segment that contains all Lens entity mids in a given image.", + "The video description coming from VideoScoringSignal" ], "type": "string" } @@ -98792,7 +100474,8 @@ "VIDEO_TRANSCRIPT", "VIDEO_OCR", "IMAGE_OCR", - "LENS" + "LENS", + "VIDEO_DESCRIPTION" ], "enumDescriptions": [ "The document content (excluding the title) or the text of the query.", @@ -98811,7 +100494,8 @@ "The transcript of a video.", "The ocr text of a video.", "The ocr text of an image.", - "Fake segment that contains all Lens entity mids in a given image." + "Fake segment that contains all Lens entity mids in a given image.", + "The video description coming from VideoScoringSignal" ], "type": "string" } @@ -98950,7 +100634,7 @@ "type": "object" }, "RepositoryWebrefSimplifiedCompositeDoc": { - "description": "Represents an information which is very close to composite doc, but compresses how the anchors are represented to save space. Next available tag: 15.", + "description": "Represents an information which is very close to composite doc, but compresses how the anchors are represented to save space. Next available tag: 16.", "id": "RepositoryWebrefSimplifiedCompositeDoc", "properties": { "anchors": { @@ -99014,7 +100698,10 @@ "description": "The URL, populated independently of whether we have a CompositeDoc proto. If the cdoc exists, the url is the same as CompositeDoc.doc.url.", "type": "string" }, - "webrefOutlinks": { + "webrefOutlinkInfos": { + "$ref": "RepositoryWebrefWebrefOutlinkInfos" + }, + "webrefOutlinksLegacy": { "$ref": "Proto2BridgeMessageSet" } }, @@ -105711,9 +107398,9 @@ "SEQUENCE", "SEQUENCE_V2", "FULL", - "FULL_V2", "META", "LEADING_TEXT", + "FULL_V2", "SAFT_SENTENCE", "RADISH_SENTENCE", "RADISH_LIST", @@ -105726,9 +107413,9 @@ "A sequence snippet is generated from query term matches (from meta and body sections) and typically consists of multiple tidbits. Currently we only keep one single best combination of the retrieved tidbits.", "", "A full snippet is also generated from query term matches. Unlike the sequence snippet, this only consists of one expanded tidbit that are scored as the best single tidbit among the retrieved tidbits.", - "", "This is a leading text of meta description.", "This is a leading text of main body text (skipping headers), and its starting position is typically identified in the indexing phase.", + "Similar to FULL snippet, but this allows multiple candidates.", "saft sentences.", "Candidates created from radish attachment.", "", @@ -112839,6 +114526,9 @@ "CLICKED_INSTALL_IN_DEEP_LINK_DETAILS", "ONE_TIME_PRODUCT_VARIANT_OFFER_DARK_LAUNCH_SESSION_LEVEL", "ONE_TIME_PRODUCT_VARIANT_OFFER_LAUNCH_SESSION_LEVEL", + "AMPLIFY_FORM_OF_PAYMENT_ABANDONMENT_ELIGIBLE_SESSION_LEVEL", + "SUBSCRIPTION_FREE_TRIAL_OFFER_HIGHLIGHT_SESSION_LEVEL", + "SUBSCRIPTION_INTRO_PRICE_OFFER_HIGHLIGHT_SESSION_LEVEL", "SESSION_LEVEL_TEST_CODE_LIMIT", "CART_ABANDONMENT_USER_LEVEL", "IN_APP_PRODUCTS_IN_DETAILS_PAGE_USER_LEVEL", @@ -113121,6 +114811,7 @@ "FOP_PARTNER_PROMOTION_USER_LEVEL", "BOOKS_LOYALTY_PROMO_BANNER_WEEKLY_PRIZE_USER_LEVEL", "IS_ELIGIBLE_FOR_DYNAMIC_AUTH_USER_LEVEL", + "GE_LIVEOPS_PSPEND_USER_LEVEL", "USER_LEVEL_TEST_CODE_LIMIT" ], "enumDescriptions": [ @@ -114032,6 +115723,9 @@ "Session level test code for users who click install in the details page for the post-install redirection experiment.", "", "", + "Session level test code that indicates the user is eligible for an abandonment screen for a form of payment to be amplified.", + "Session level test code for subscription with free trial offer highlight buyflow.", + "Session level test code for subscription with intro price offer highlight buyflow.", "", "Cart abandonment flow for purchase flow.", "User saw/would have seen the in app products section in App", @@ -114314,6 +116008,7 @@ "User level test code for FOP Partner Promo.", "User level test code for users who have seen a Loyalty weekly prize banner.", "User level test code for users who are eligible for dynamic auth.", + "User level test code for LiveOps pSpend uplift experiment. If GE campaign decision changed after enabling pSpend model, log test code.", "" ], "type": "string" @@ -115948,6 +117643,9 @@ "ADSBURST_DISCOVERY_NERV_SUBS_V1", "ADSBURST_BASIC_TEXT_TOWER_V0", "ADSBURST_V2", + "ADSBURST_V2_128D", + "ADSBURST_V2_64D", + "ADSBURST_V2_32D", "SHOPPING_IMAGE_TRANSFORMATION_UNCROP", "SHOPPING_IMAGE_TRANSFORMATION_V2", "SCREENAI_V1", @@ -116054,6 +117752,9 @@ "", "", "", + "", + "", + "", "Shopping image transformation versions.", "", "ScreenAI versions. IconNet.", diff --git a/contentwarehouse/v1/contentwarehouse-gen.go b/contentwarehouse/v1/contentwarehouse-gen.go index 2b0a737a5c0..43c188f4f01 100644 --- a/contentwarehouse/v1/contentwarehouse-gen.go +++ b/contentwarehouse/v1/contentwarehouse-gen.go @@ -3219,6 +3219,7 @@ type AppsPeopleOzExternalMergedpeopleapiAffinity struct { // "ACCESSIBILITY_TRACKER_AFFINITY" // "PLX_DATASOURCE_AFFINITY" // "DUCKIEWEB_AFFINITY" + // "MEET_CALLING_AFFINITY" AffinityType string `json:"affinityType,omitempty"` // ContainerId: The ID of the container @@ -11772,6 +11773,7 @@ type AssistantApiClientOpPropertiesDeviceModifySettingClientOpProperty struct { // "SIM_STATUS" // "MICROPHONE_PERMISSIONS" - Permission Manager > Microphone // "GOOGLE_PLAY_UPDATE" + // "ADD_GOOGLE_ACCOUNT" // "ABOUT_PHONE" - Begin of NGA proto consistence // "ACCOUNTS" // "APPLICATION" @@ -21723,8 +21725,10 @@ type AssistantDevicesPlatformProtoAlarmCapability struct { // SupportsGenericMutations: Whether the client supports mutation of any // alarm attribute such as time_pattern, recurrence_pattern, etc through - // the MUTATE action. If this is false, MUTATE may only be used for - // changing the alarm's status (to e.g. disable or dismiss the alarm). + // the MUTATE action. If this is false, MUTATE may only be used to + // disable or dismiss an alarm. This field is true by default for + // backwards-compatibility; clients which don't support mutation outside + // of Disable/DismissAlarm should explicitly set this to false. SupportsGenericMutations bool `json:"supportsGenericMutations,omitempty"` // SupportsStopAction: Whether the client supports the STOP alarm @@ -22104,6 +22108,9 @@ func (s *AssistantDevicesPlatformProtoExecutionConfig) MarshalJSON() ([]byte, er return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type AssistantDevicesPlatformProtoExecutionWaitCapability struct { +} + type AssistantDevicesPlatformProtoInlinedActionCapability struct { // Alarm: Specifies capabilities for handling on-device alarms. The // presence of this field, even if empty, implies that the device @@ -22571,7 +22578,7 @@ type AssistantDevicesPlatformProtoSendChatMessageCapability struct { // AssistantDevicesPlatformProtoSupportedDeviceOps: This message will // specify supports for fields in |assistant.embedded.v1.DeviceOp|, for // a device model package. See go/easi-client-op2 for more info. Next -// ID: 16 +// ID: 17 type AssistantDevicesPlatformProtoSupportedDeviceOps struct { // CallCall: |call_call| specifies the support for the call.CALL // clientop, and the corresponding call_call field in @@ -22600,6 +22607,11 @@ type AssistantDevicesPlatformProtoSupportedDeviceOps struct { // field in assistant.embedded.v1.DeviceOp. DeviceTakePhoto *AssistantDevicesPlatformProtoDeviceTakePhotoCapability `json:"deviceTakePhoto,omitempty"` + // ExecutionWait: |execution_wait| specifies the support for + // execution.WAIT client_op, and the corresponding execution_wait field + // in assistant.embedded.v1.DeviceOp. + ExecutionWait *AssistantDevicesPlatformProtoExecutionWaitCapability `json:"executionWait,omitempty"` + MediaNext *AssistantDevicesPlatformProtoMediaNextCapability `json:"mediaNext,omitempty"` MediaPause *AssistantDevicesPlatformProtoMediaPauseCapability `json:"mediaPause,omitempty"` @@ -22982,6 +22994,7 @@ type AssistantGroundingRankerContactGroundingProviderFeatures struct { // are not contacts. // "ON_DEVICE_CONTACT_LOOKUP" - Contacts from on device lookup during // contact fulfillment. + // "APP_SEARCH_CONTACT" - Contacts from AppSearch. ContactSource string `json:"contactSource,omitempty"` // IsRelationshipFromAnnotation: Whether the query is a relationship @@ -24429,6 +24442,7 @@ type AssistantLogsCommunicationPersonalContactDataLog struct { // are not contacts. // "ON_DEVICE_CONTACT_LOOKUP" - Contacts from on device lookup during // contact fulfillment. + // "APP_SEARCH_CONTACT" - Contacts from AppSearch. Source string `json:"source,omitempty"` // SystemContactGroupId: Integer value corresponding to @@ -24660,6 +24674,7 @@ func (s *AssistantLogsDeviceAnnotationLog) MarshalJSON() ([]byte, error) { } // AssistantLogsDeviceInfoLog: The information related to the device. +// Next ID: 18 type AssistantLogsDeviceInfoLog struct { // ArbitrationDeviceId: Device identifier string for the current device // used in the arbitration service. @@ -24735,6 +24750,9 @@ type AssistantLogsDeviceInfoLog struct { // "LABELER" - labeler EliminatingLumosProcessor string `json:"eliminatingLumosProcessor,omitempty"` + // HomeStructureId: The home structure id of the device. + HomeStructureId string `json:"homeStructureId,omitempty"` + IsRemote bool `json:"isRemote,omitempty"` // IsTethered: This flag indicates this is a non-local device that is @@ -26485,6 +26503,7 @@ type AssistantPrefulfillmentRankerPrefulfillmentSignals struct { // Listen_to_media, Media_entity_bare, Play_and_shuffle_media // "SUB_INTENT_TYPE_MUSIC_INITIATION_INTENT" - Play_media // "SUB_INTENT_TYPE_PLAY_RADIO_INTENT" - Play_media + // "SUB_INTENT_TYPE_PLAY_TVM_INTENT" - Play_media SubIntentType string `json:"subIntentType,omitempty"` // TopHypothesisConfidence: Average of per-word confidence for top @@ -27436,7 +27455,7 @@ func (s *AssistantVerticalsHomeautomationProtoHomeAutomationDeviceItem) MarshalJ } // AssistantVerticalsHomeautomationProtoHomeAutomationMetaData: Next ID: -// 43 +// 44 type AssistantVerticalsHomeautomationProtoHomeAutomationMetaData struct { // ActionProjectConfigs: Custom actions that this item supports. ActionProjectConfigs []*AssistantVerticalsHomeautomationProtoActionProjectConfig `json:"actionProjectConfigs,omitempty"` @@ -27489,6 +27508,9 @@ type AssistantVerticalsHomeautomationProtoHomeAutomationMetaData struct { // devices via LAN for the structure. LanscanOptedIn bool `json:"lanscanOptedIn,omitempty"` + // MatterUniqueId: Matter Unique ID. Contains VID/PID information + MatterUniqueId *AssistantVerticalsHomeautomationProtoMatterUniqueId `json:"matterUniqueId,omitempty"` + // ModelName: Model name from HomeGraph, populated from // model_manifest.model_name. See b/200087451. ModelName string `json:"modelName,omitempty"` @@ -27750,6 +27772,38 @@ func (s *AssistantVerticalsHomeautomationProtoHomeAutomationMetaDataSupportedTra return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// AssistantVerticalsHomeautomationProtoMatterUniqueId: Matter unique +// Id. These values are provided by the device. +type AssistantVerticalsHomeautomationProtoMatterUniqueId struct { + ProductId int64 `json:"productId,omitempty"` + + UniqueId string `json:"uniqueId,omitempty"` + + VendorId int64 `json:"vendorId,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ProductId") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ProductId") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *AssistantVerticalsHomeautomationProtoMatterUniqueId) MarshalJSON() ([]byte, error) { + type NoMethod AssistantVerticalsHomeautomationProtoMatterUniqueId + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type AssistantVerticalsHomeautomationProtoPhysicalLocation struct { Address string `json:"address,omitempty"` @@ -41779,7 +41833,7 @@ func (s *GeostoreExistenceProto) MarshalJSON() ([]byte, error) { } // GeostoreFeatureFieldMetadataProto: Provenance information for -// sub-fields of this feature. +// sub-fields of this feature - go/subfield-provenance. type GeostoreFeatureFieldMetadataProto struct { FieldProvenance []*GeostoreFeatureFieldMetadataProtoFieldProvenance `json:"fieldProvenance,omitempty"` @@ -59240,6 +59294,86 @@ func (s *GoogleCloudContentwarehouseV1ProcessorInfo) MarshalJSON() ([]byte, erro return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudContentwarehouseV1ProjectStatus: Status of a project, +// including the project state, dbType, aclMode and etc. +type GoogleCloudContentwarehouseV1ProjectStatus struct { + // AccessControlMode: Access control mode. + // + // Possible values: + // "ACL_MODE_UNKNOWN" - This value is required by protobuf best + // practices + // "ACL_MODE_UNIVERSAL_ACCESS" - Universal Access: No document level + // access control. + // "ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID" - Document level + // access control with customer own Identity Service. + // "ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI" - Document level + // access control using Google Cloud Identity. + AccessControlMode string `json:"accessControlMode,omitempty"` + + // DatabaseType: Database type. + // + // Possible values: + // "DB_UNKNOWN" - This value is required by protobuf best practices + // "DB_INFRA_SPANNER" - Internal Spanner + // "DB_CLOUD_SQL_POSTGRES" - Cloud Sql with a Postgres Sql instance + DatabaseType string `json:"databaseType,omitempty"` + + // DocumentCreatorDefaultRole: The default role for the person who + // create a document. + DocumentCreatorDefaultRole string `json:"documentCreatorDefaultRole,omitempty"` + + // Location: The location of the queried project. + Location string `json:"location,omitempty"` + + // QaEnabled: If the qa is enabled on this project. + QaEnabled bool `json:"qaEnabled,omitempty"` + + // State: State of the project. + // + // Possible values: + // "PROJECT_STATE_UNSPECIFIED" - Default status, required by protobuf + // best practices. + // "PROJECT_STATE_PENDING" - The project is in the middle of a + // provision process. + // "PROJECT_STATE_COMPLETED" - All dependencies have been provisioned. + // "PROJECT_STATE_FAILED" - A provision process was previously + // initiated, but failed. + // "PROJECT_STATE_DELETING" - The project is in the middle of a + // deletion process. + // "PROJECT_STATE_DELETING_FAILED" - A deleting process was initiated, + // but failed. + // "PROJECT_STATE_DELETED" - The project is deleted. + // "PROJECT_STATE_NOT_FOUND" - The project is not found. + State string `json:"state,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "AccessControlMode") + // to unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AccessControlMode") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudContentwarehouseV1ProjectStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudContentwarehouseV1ProjectStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudContentwarehouseV1Property: Property of a document. type GoogleCloudContentwarehouseV1Property struct { // DateTimeValues: Date time property values. It is not supported by @@ -74030,46 +74164,1070 @@ func (s *IndexingDocjoinerCDocBuildInfo) MarshalJSON() ([]byte, error) { // introduced data without modifying their code. Please also see the // comment of FieldProjector above. There are also some fields in // DataInfo that annotate who generates the data, the Index Signals or -// Goldmine annotator name. +// Goldmine annotator name. Next ID: 536 type IndexingDocjoinerDataVersion struct { AcceleratedShoppingSignal *IndexingDocjoinerDataVersionVersionInfo `json:"acceleratedShoppingSignal,omitempty"` + AdsAdsaiMagicApfelApfelRegionFinderAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"adsAdsaiMagicApfelApfelRegionFinderAnnotation,omitempty"` + + AdsAdsaiMagicMagicPageTypeAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"adsAdsaiMagicMagicPageTypeAnnotation,omitempty"` + + AdsShoppingWebpxRawShoppingAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"adsShoppingWebpxRawShoppingAnnotation,omitempty"` + + AmphtmlSignedExchangeErrorDetails *IndexingDocjoinerDataVersionVersionInfo `json:"amphtmlSignedExchangeErrorDetails,omitempty"` + + AmphtmlSignedExchangeValidationPayload *IndexingDocjoinerDataVersionVersionInfo `json:"amphtmlSignedExchangeValidationPayload,omitempty"` + + AnalyticsSiteidAnalyticsPropertyAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"analyticsSiteidAnalyticsPropertyAnnotation,omitempty"` + + AnalyticsSiteidAnalyticsRenderedOutput *IndexingDocjoinerDataVersionVersionInfo `json:"analyticsSiteidAnalyticsRenderedOutput,omitempty"` + AuthenticSiteRankData *IndexingDocjoinerDataVersionVersionInfo `json:"authenticSiteRankData,omitempty"` + BabelEncoderBabelEncodings *IndexingDocjoinerDataVersionVersionInfo `json:"babelEncoderBabelEncodings,omitempty"` + + BadurlsBadurlsForceSelectionSignal *IndexingDocjoinerDataVersionVersionInfo `json:"badurlsBadurlsForceSelectionSignal,omitempty"` + + BoilerplateAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"boilerplateAnnotations,omitempty"` + + BoilerplateVisibleBytesEstimates *IndexingDocjoinerDataVersionVersionInfo `json:"boilerplateVisibleBytesEstimates,omitempty"` + ChromeCounts *IndexingDocjoinerDataVersionVersionInfo `json:"chromeCounts,omitempty"` + CommerceDataqualityOrganicCrawledSellerData *IndexingDocjoinerDataVersionVersionInfo `json:"commerceDataqualityOrganicCrawledSellerData,omitempty"` + + CommerceDataqualityOrganicShoppingAnnotationSignal *IndexingDocjoinerDataVersionVersionInfo `json:"commerceDataqualityOrganicShoppingAnnotationSignal,omitempty"` + + CommerceDataqualityOrganicShoppingSiteQuality *IndexingDocjoinerDataVersionVersionInfo `json:"commerceDataqualityOrganicShoppingSiteQuality,omitempty"` + + CommonsenseQueriosityGoldmineQnaAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"commonsenseQueriosityGoldmineQnaAnnotations,omitempty"` + + CommonsenseScoredCompoundReferenceAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"commonsenseScoredCompoundReferenceAnnotation,omitempty"` + + CommonsenseStoneSoupProtoRaffiaInstructionsSeq *IndexingDocjoinerDataVersionVersionInfo `json:"commonsenseStoneSoupProtoRaffiaInstructionsSeq,omitempty"` + + ContraContentReviewAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"contraContentReviewAnnotations,omitempty"` + + ContraCuratedContent *IndexingDocjoinerDataVersionVersionInfo `json:"contraCuratedContent,omitempty"` + + CountryCountryAttachment *IndexingDocjoinerDataVersionVersionInfo `json:"countryCountryAttachment,omitempty"` + + CrawzallSignal *IndexingDocjoinerDataVersionVersionInfo `json:"crawzallSignal,omitempty"` + Creator *IndexingDocjoinerDataVersionVersionInfo `json:"creator,omitempty"` + DatacommonsDatacommonsTriplesSignal *IndexingDocjoinerDataVersionVersionInfo `json:"datacommonsDatacommonsTriplesSignal,omitempty"` + + DateAnnotationTags *IndexingDocjoinerDataVersionVersionInfo `json:"dateAnnotationTags,omitempty"` + + DateAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"dateAnnotations,omitempty"` + + DateRangeAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"dateRangeAnnotations,omitempty"` + + DateTimeAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"dateTimeAnnotations,omitempty"` + DiscoverSource *IndexingDocjoinerDataVersionVersionInfo `json:"discoverSource,omitempty"` Discussion *IndexingDocjoinerDataVersionVersionInfo `json:"discussion,omitempty"` DocumentIntent *IndexingDocjoinerDataVersionVersionInfo `json:"documentIntent,omitempty"` + DotsGaramondSignal *IndexingDocjoinerDataVersionVersionInfo `json:"dotsGaramondSignal,omitempty"` + + DotsNewsstandSignal *IndexingDocjoinerDataVersionVersionInfo `json:"dotsNewsstandSignal,omitempty"` + + EmailAddressAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"emailAddressAnnotations,omitempty"` + ExtractedBookInfo *IndexingDocjoinerDataVersionVersionInfo `json:"extractedBookInfo,omitempty"` + FatcatCompactDocClassification *IndexingDocjoinerDataVersionVersionInfo `json:"fatcatCompactDocClassification,omitempty"` + + FatcatSiteVerticalsAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"fatcatSiteVerticalsAnnotation,omitempty"` + + Firstseen *IndexingDocjoinerDataVersionVersionInfo `json:"firstseen,omitempty"` + + FontsAnalysisAnnotatorFontsAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"fontsAnalysisAnnotatorFontsAnnotation,omitempty"` + + ForumRankingForumPostsSafeSearchAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"forumRankingForumPostsSafeSearchAnnotation,omitempty"` + + FoundationSplinterSignal *IndexingDocjoinerDataVersionVersionInfo `json:"foundationSplinterSignal,omitempty"` + + FreshboxFreshboxArticleAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"freshboxFreshboxArticleAnnotation,omitempty"` + + GeoPointAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"geoPointAnnotations,omitempty"` + + GeoPointResolution *IndexingDocjoinerDataVersionVersionInfo `json:"geoPointResolution,omitempty"` + + GeostoreAddressProto *IndexingDocjoinerDataVersionVersionInfo `json:"geostoreAddressProto,omitempty"` + + I2eV2ImageEntitiesInfos *IndexingDocjoinerDataVersionVersionInfo `json:"i2eV2ImageEntitiesInfos,omitempty"` + + ImageContentAnnotationLabels *IndexingDocjoinerDataVersionVersionInfo `json:"imageContentAnnotationLabels,omitempty"` + + ImageContentColorSearchColorDetectionResults *IndexingDocjoinerDataVersionVersionInfo `json:"imageContentColorSearchColorDetectionResults,omitempty"` + + ImageDataList *IndexingDocjoinerDataVersionVersionInfo `json:"imageDataList,omitempty"` + + ImageExtraImageExtraTerms *IndexingDocjoinerDataVersionVersionInfo `json:"imageExtraImageExtraTerms,omitempty"` + + ImageMonetizationFeaturedDocumentProperties *IndexingDocjoinerDataVersionVersionInfo `json:"imageMonetizationFeaturedDocumentProperties,omitempty"` + + ImageMustangFaviconInfo *IndexingDocjoinerDataVersionVersionInfo `json:"imageMustangFaviconInfo,omitempty"` + + ImageMustangWebsearchImageSnippetResponse *IndexingDocjoinerDataVersionVersionInfo `json:"imageMustangWebsearchImageSnippetResponse,omitempty"` + + ImageQualityLabelmakerDocMediaLabels *IndexingDocjoinerDataVersionVersionInfo `json:"imageQualityLabelmakerDocMediaLabels,omitempty"` + + ImageQualityLandingPageProtoLandingPageSalientTextSet *IndexingDocjoinerDataVersionVersionInfo `json:"imageQualityLandingPageProtoLandingPageSalientTextSet,omitempty"` + + ImageQualityLayoutDocument *IndexingDocjoinerDataVersionVersionInfo `json:"imageQualityLayoutDocument,omitempty"` + + ImageQualityRichdataProtoImageAnchor *IndexingDocjoinerDataVersionVersionInfo `json:"imageQualityRichdataProtoImageAnchor,omitempty"` + + ImageQualityRichdataProtoRichdata *IndexingDocjoinerDataVersionVersionInfo `json:"imageQualityRichdataProtoRichdata,omitempty"` + + ImageQualitySalientTermsImageQuerySmearingList *IndexingDocjoinerDataVersionVersionInfo `json:"imageQualitySalientTermsImageQuerySmearingList,omitempty"` + + ImageQualitySalientTermsImageSalientTermSetMap *IndexingDocjoinerDataVersionVersionInfo `json:"imageQualitySalientTermsImageSalientTermSetMap,omitempty"` + + ImageQualitySensitiveFaceSkinToneSignals *IndexingDocjoinerDataVersionVersionInfo `json:"imageQualitySensitiveFaceSkinToneSignals,omitempty"` + + ImageQualitySensitiveMediaOrPeopleEntities *IndexingDocjoinerDataVersionVersionInfo `json:"imageQualitySensitiveMediaOrPeopleEntities,omitempty"` + + ImageRepositoryGeolocation *IndexingDocjoinerDataVersionVersionInfo `json:"imageRepositoryGeolocation,omitempty"` + + ImageRepositoryPicasaGeoData *IndexingDocjoinerDataVersionVersionInfo `json:"imageRepositoryPicasaGeoData,omitempty"` + + ImageSearchRejectedImageInfoList *IndexingDocjoinerDataVersionVersionInfo `json:"imageSearchRejectedImageInfoList,omitempty"` + + ImageStockStockImageAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"imageStockStockImageAnnotation,omitempty"` + + IndexingAnnotationsAnnotationMeta *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsAnnotationMeta,omitempty"` + + IndexingAnnotationsAppMarketAppMarketAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsAppMarketAppMarketAnnotation,omitempty"` + + IndexingAnnotationsAppsCacheColonAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsAppsCacheColonAnnotation,omitempty"` + + IndexingAnnotationsAppsDocRestrictionsDocPreviewRestrictionsAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsAppsDocRestrictionsDocPreviewRestrictionsAnnotation,omitempty"` + + IndexingAnnotationsAutomobileVinAnnotatorAutomobileVinAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsAutomobileVinAnnotatorAutomobileVinAnnotations,omitempty"` + + IndexingAnnotationsCanonicalUrl *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsCanonicalUrl,omitempty"` + + IndexingAnnotationsCleanTextProto *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsCleanTextProto,omitempty"` + + IndexingAnnotationsCollectionsDocCollections *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsCollectionsDocCollections,omitempty"` + + IndexingAnnotationsCommentBlockGroups *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsCommentBlockGroups,omitempty"` + + IndexingAnnotationsDatasetModelAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsDatasetModelAnnotation,omitempty"` + + IndexingAnnotationsDatesDateTimes *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsDatesDateTimes,omitempty"` + + IndexingAnnotationsDocImportance *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsDocImportance,omitempty"` + + IndexingAnnotationsDocRestrictionsInDocRestrictionsAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsDocRestrictionsInDocRestrictionsAnnotation,omitempty"` + + IndexingAnnotationsEntityPage *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsEntityPage,omitempty"` + + IndexingAnnotationsFeedbackSet *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsFeedbackSet,omitempty"` + + IndexingAnnotationsIBertEmbeddingAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsIBertEmbeddingAnnotation,omitempty"` + + IndexingAnnotationsImageRepositoryImageLicenseInfoAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsImageRepositoryImageLicenseInfoAnnotation,omitempty"` + + IndexingAnnotationsPcuAmpError *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsPcuAmpError,omitempty"` + + IndexingAnnotationsPcuSignedExchangeInfo *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsPcuSignedExchangeInfo,omitempty"` + + IndexingAnnotationsPersonPersonAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsPersonPersonAnnotation,omitempty"` + + IndexingAnnotationsSduPageTypeAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsSduPageTypeAnnotation,omitempty"` + + IndexingAnnotationsSocialLinksSocialLinksAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsSocialLinksSocialLinksAnnotation,omitempty"` + + IndexingAnnotationsSubscribewithgoogleSwgAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsSubscribewithgoogleSwgAnnotation,omitempty"` + + IndexingAnnotationsTwitterEmbeddedTweetsAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsTwitterEmbeddedTweetsAnnotation,omitempty"` + + IndexingAnnotationsTypedNumberTypedNumberAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsTypedNumberTypedNumberAnnotations,omitempty"` + + IndexingAnnotationsWaPassagesQueryToPassageAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsWaPassagesQueryToPassageAnnotations,omitempty"` + + IndexingAnnotationsWaPassagesTrimmedQueryToPassageAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsWaPassagesTrimmedQueryToPassageAnnotations,omitempty"` + + IndexingAppsAffiliatedInstantAppInfo *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAppsAffiliatedInstantAppInfo,omitempty"` + + IndexingAppsMergedAppInfoAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAppsMergedAppInfoAnnotation,omitempty"` + + IndexingBadpagesBadPageParseResult *IndexingDocjoinerDataVersionVersionInfo `json:"indexingBadpagesBadPageParseResult,omitempty"` + + IndexingBadpagesCollapserInfo *IndexingDocjoinerDataVersionVersionInfo `json:"indexingBadpagesCollapserInfo,omitempty"` + + IndexingBadpagesIndexSelectionRemoval *IndexingDocjoinerDataVersionVersionInfo `json:"indexingBadpagesIndexSelectionRemoval,omitempty"` + + IndexingBadpagesLoginPageResult *IndexingDocjoinerDataVersionVersionInfo `json:"indexingBadpagesLoginPageResult,omitempty"` + + IndexingBadpagesUnifiedModelFeatures *IndexingDocjoinerDataVersionVersionInfo `json:"indexingBadpagesUnifiedModelFeatures,omitempty"` + + IndexingBeringPublisherOnPageAdsAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingBeringPublisherOnPageAdsAnnotation,omitempty"` + + IndexingCenterpieceCenterPieceAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"indexingCenterpieceCenterPieceAnnotations,omitempty"` + + IndexingCenterpieceCenterpieceChecksums *IndexingDocjoinerDataVersionVersionInfo `json:"indexingCenterpieceCenterpieceChecksums,omitempty"` + + IndexingCenterpieceComponentLearningSource *IndexingDocjoinerDataVersionVersionInfo `json:"indexingCenterpieceComponentLearningSource,omitempty"` + + IndexingCenterpieceSectionTitleAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"indexingCenterpieceSectionTitleAnnotations,omitempty"` + + IndexingConverterContentGenerationInfo *IndexingDocjoinerDataVersionVersionInfo `json:"indexingConverterContentGenerationInfo,omitempty"` + + IndexingConverterContentParserResults *IndexingDocjoinerDataVersionVersionInfo `json:"indexingConverterContentParserResults,omitempty"` + + IndexingConverterFileMetaInfo *IndexingDocjoinerDataVersionVersionInfo `json:"indexingConverterFileMetaInfo,omitempty"` + + IndexingConverterLinkRelOutlinks *IndexingDocjoinerDataVersionVersionInfo `json:"indexingConverterLinkRelOutlinks,omitempty"` + + IndexingConverterMetaDetectorsResultsProto *IndexingDocjoinerDataVersionVersionInfo `json:"indexingConverterMetaDetectorsResultsProto,omitempty"` + + IndexingConverterPdfFileMetaInfo *IndexingDocjoinerDataVersionVersionInfo `json:"indexingConverterPdfFileMetaInfo,omitempty"` + + IndexingConverterPdfPageAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"indexingConverterPdfPageAnnotations,omitempty"` + + IndexingCustomCorpusCdmAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"indexingCustomCorpusCdmAnnotations,omitempty"` + + IndexingDeepwebStoreListAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingDeepwebStoreListAnnotation,omitempty"` + + IndexingDocjoinerServingTimeClusterIds *IndexingDocjoinerDataVersionVersionInfo `json:"indexingDocjoinerServingTimeClusterIds,omitempty"` + + IndexingDocjoinerWikiInfo *IndexingDocjoinerDataVersionVersionInfo `json:"indexingDocjoinerWikiInfo,omitempty"` + + IndexingDocskeletonRepeatedPatternRepeatedPatternAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingDocskeletonRepeatedPatternRepeatedPatternAnnotation,omitempty"` + + IndexingDupsLocalizedLocalizedCluster *IndexingDocjoinerDataVersionVersionInfo `json:"indexingDupsLocalizedLocalizedCluster,omitempty"` + + IndexingFreshSchedulerFreshSchedulerDoubleInstantExtension *IndexingDocjoinerDataVersionVersionInfo `json:"indexingFreshSchedulerFreshSchedulerDoubleInstantExtension,omitempty"` + + IndexingFreshSchedulerOutlinkDiscoveryHistoricalHubsSignal *IndexingDocjoinerDataVersionVersionInfo `json:"indexingFreshSchedulerOutlinkDiscoveryHistoricalHubsSignal,omitempty"` + + IndexingImagesRelatedImageSignal *IndexingDocjoinerDataVersionVersionInfo `json:"indexingImagesRelatedImageSignal,omitempty"` + + IndexingInstantActiveClusterScorerSignal *IndexingDocjoinerDataVersionVersionInfo `json:"indexingInstantActiveClusterScorerSignal,omitempty"` + + IndexingInstantBaseReindexWhitelistData *IndexingDocjoinerDataVersionVersionInfo `json:"indexingInstantBaseReindexWhitelistData,omitempty"` + + IndexingInstantClusterScorerArticle *IndexingDocjoinerDataVersionVersionInfo `json:"indexingInstantClusterScorerArticle,omitempty"` + + IndexingInstantClusterScorerSignal *IndexingDocjoinerDataVersionVersionInfo `json:"indexingInstantClusterScorerSignal,omitempty"` + + IndexingInstantHistoricalContentSignals *IndexingDocjoinerDataVersionVersionInfo `json:"indexingInstantHistoricalContentSignals,omitempty"` + + IndexingInstantNewsHighlyCitedDocumentSignal *IndexingDocjoinerDataVersionVersionInfo `json:"indexingInstantNewsHighlyCitedDocumentSignal,omitempty"` + + IndexingInstantNewsImagesInfo *IndexingDocjoinerDataVersionVersionInfo `json:"indexingInstantNewsImagesInfo,omitempty"` + + IndexingInstantSignalSourceTagsExtension *IndexingDocjoinerDataVersionVersionInfo `json:"indexingInstantSignalSourceTagsExtension,omitempty"` + + IndexingLatticeLatticeAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"indexingLatticeLatticeAnnotations,omitempty"` + + IndexingMetricsUrlIndexingProps *IndexingDocjoinerDataVersionVersionInfo `json:"indexingMetricsUrlIndexingProps,omitempty"` + + IndexingMlDomNodeSegments *IndexingDocjoinerDataVersionVersionInfo `json:"indexingMlDomNodeSegments,omitempty"` + + IndexingMlEntityInfoboxes *IndexingDocjoinerDataVersionVersionInfo `json:"indexingMlEntityInfoboxes,omitempty"` + + IndexingMlPageStructure *IndexingDocjoinerDataVersionVersionInfo `json:"indexingMlPageStructure,omitempty"` + + IndexingMlSemanticArticle *IndexingDocjoinerDataVersionVersionInfo `json:"indexingMlSemanticArticle,omitempty"` + + IndexingMlShoppingUniverseAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingMlShoppingUniverseAnnotation,omitempty"` + + IndexingMlVerticalVerticalClassificationResult *IndexingDocjoinerDataVersionVersionInfo `json:"indexingMlVerticalVerticalClassificationResult,omitempty"` + + IndexingMlVerticalVerticalClassificationV2 *IndexingDocjoinerDataVersionVersionInfo `json:"indexingMlVerticalVerticalClassificationV2,omitempty"` + + IndexingMobileClientDependentInfo *IndexingDocjoinerDataVersionVersionInfo `json:"indexingMobileClientDependentInfo,omitempty"` + + IndexingMobileInterstitialsProtoDesktopInterstitials *IndexingDocjoinerDataVersionVersionInfo `json:"indexingMobileInterstitialsProtoDesktopInterstitials,omitempty"` + + IndexingMobileObelixInfo *IndexingDocjoinerDataVersionVersionInfo `json:"indexingMobileObelixInfo,omitempty"` + + IndexingMobileSmartphoneContentAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"indexingMobileSmartphoneContentAnnotations,omitempty"` + + IndexingMobileSmartphonePatternClassification *IndexingDocjoinerDataVersionVersionInfo `json:"indexingMobileSmartphonePatternClassification,omitempty"` + + IndexingMobileSpeedPageSpeedFieldData *IndexingDocjoinerDataVersionVersionInfo `json:"indexingMobileSpeedPageSpeedFieldData,omitempty"` + + IndexingPlusonePlusOneSignal *IndexingDocjoinerDataVersionVersionInfo `json:"indexingPlusonePlusOneSignal,omitempty"` + + IndexingPlusoneSocialScoreSignal *IndexingDocjoinerDataVersionVersionInfo `json:"indexingPlusoneSocialScoreSignal,omitempty"` + + IndexingRaffiaDataRecoveryInfo *IndexingDocjoinerDataVersionVersionInfo `json:"indexingRaffiaDataRecoveryInfo,omitempty"` + + IndexingRaffiaIndexingIntermediate *IndexingDocjoinerDataVersionVersionInfo `json:"indexingRaffiaIndexingIntermediate,omitempty"` + + IndexingRaffiaMediaProcessingMetadata *IndexingDocjoinerDataVersionVersionInfo `json:"indexingRaffiaMediaProcessingMetadata,omitempty"` + + IndexingRaffiaOverlayCDocAttachment *IndexingDocjoinerDataVersionVersionInfo `json:"indexingRaffiaOverlayCDocAttachment,omitempty"` + + IndexingSelectionAcquisitionMetadataAttachment *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSelectionAcquisitionMetadataAttachment,omitempty"` + + IndexingSelectionDoubleIndexingExtension *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSelectionDoubleIndexingExtension,omitempty"` + + IndexingSelectionFastServingPush *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSelectionFastServingPush,omitempty"` + + IndexingSelectionFreshdocsPassthroughExtension *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSelectionFreshdocsPassthroughExtension,omitempty"` + + IndexingSelectionImageImageSelectionAttachment *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSelectionImageImageSelectionAttachment,omitempty"` + + IndexingSelectionLanguageExtension *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSelectionLanguageExtension,omitempty"` + + IndexingSelectionPriorScorerParameterSet *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSelectionPriorScorerParameterSet,omitempty"` + + IndexingSelectionProcessingPriorityExtension *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSelectionProcessingPriorityExtension,omitempty"` + + IndexingSelectionProtoBasePromotionInfo *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSelectionProtoBasePromotionInfo,omitempty"` + + IndexingSelectionTensorFlowExtension *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSelectionTensorFlowExtension,omitempty"` + + IndexingSignalAggregatorUrlPatternSignals *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSignalAggregatorUrlPatternSignals,omitempty"` + + IndexingSignalsAccumulatedOnlineSignals *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSignalsAccumulatedOnlineSignals,omitempty"` + + IndexingSignalsImpressionsPerDayContainer *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSignalsImpressionsPerDayContainer,omitempty"` + + IndexingSocialCountsSocialWidgetsIndicator *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSocialCountsSocialWidgetsIndicator,omitempty"` + + IndexingSpeechGoldminePodcastAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSpeechGoldminePodcastAnnotation,omitempty"` + + IndexingSpeechSpeechPagePropertiesProto *IndexingDocjoinerDataVersionVersionInfo `json:"indexingSpeechSpeechPagePropertiesProto,omitempty"` + + IndexingThirdpartyThirdPartyInputs *IndexingDocjoinerDataVersionVersionInfo `json:"indexingThirdpartyThirdPartyInputs,omitempty"` + + IndexingUgcPageParamInfo *IndexingDocjoinerDataVersionVersionInfo `json:"indexingUgcPageParamInfo,omitempty"` + + IndexingUnionKeyData *IndexingDocjoinerDataVersionVersionInfo `json:"indexingUnionKeyData,omitempty"` + + IndexingUrlPatternUrlTreeUrlPatternAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"indexingUrlPatternUrlTreeUrlPatternAnnotations,omitempty"` + + IndexingVideosVideoAnchorSourceInfo *IndexingDocjoinerDataVersionVersionInfo `json:"indexingVideosVideoAnchorSourceInfo,omitempty"` + + IndexingVideosVideoPlaylistAnchorSignal *IndexingDocjoinerDataVersionVersionInfo `json:"indexingVideosVideoPlaylistAnchorSignal,omitempty"` + + IndexingWebChannelsWebChannelAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"indexingWebChannelsWebChannelAnnotations,omitempty"` + + InfoextractionPinpointPinpointAnnotationSignal *IndexingDocjoinerDataVersionVersionInfo `json:"infoextractionPinpointPinpointAnnotationSignal,omitempty"` + + InfoextractionPinpointPinpointSignal *IndexingDocjoinerDataVersionVersionInfo `json:"infoextractionPinpointPinpointSignal,omitempty"` + InstantChromeViews *IndexingDocjoinerDataVersionVersionInfo `json:"instantChromeViews,omitempty"` InstantNavboost *IndexingDocjoinerDataVersionVersionInfo `json:"instantNavboost,omitempty"` + KnowledgeGraphAcquisitionFeedsQuotesQuotesAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeGraphAcquisitionFeedsQuotesQuotesAnnotation,omitempty"` + + KnowledgeMiningFactsDocumentSignals *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsDocumentSignals,omitempty"` + + KnowledgeMiningFactsFactEvaluationSignals *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsFactEvaluationSignals,omitempty"` + + KnowledgeMiningFactsHtmlTableSignal *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsHtmlTableSignal,omitempty"` + + KnowledgeMiningFactsKatsSignals *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsKatsSignals,omitempty"` + + KnowledgeMiningFactsLocalizedFact *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsLocalizedFact,omitempty"` + + KnowledgeMiningFactsObjectAnnotationsSignal *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsObjectAnnotationsSignal,omitempty"` + + KnowledgeMiningFactsProductCompositionSignal *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsProductCompositionSignal,omitempty"` + + KnowledgeMiningFactsServingData *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsServingData,omitempty"` + + KnowledgeMiningFactsShoppingSignals *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsShoppingSignals,omitempty"` + + KnowledgeMiningFactsStructuredSnippetsSignal *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsStructuredSnippetsSignal,omitempty"` + + KnowledgeMiningFactsUdrExtraFactData *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsUdrExtraFactData,omitempty"` + + KnowledgeMiningFactsUdrExtraFactMentionData *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsUdrExtraFactMentionData,omitempty"` + + KnowledgeMiningFactsUniversalFactMetadata *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsUniversalFactMetadata,omitempty"` + + KnowledgeMiningFactsUniversalFactScores *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsUniversalFactScores,omitempty"` + + KnowledgeMiningFactsUniversalTableSignal *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsUniversalTableSignal,omitempty"` + + KnowledgeMiningFactsWebKvSiteGroupSignal *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningFactsWebKvSiteGroupSignal,omitempty"` + + KnowledgeMiningShoppingBrowseonomyData *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningShoppingBrowseonomyData,omitempty"` + + KnowledgeMiningShoppingTwdModelVersions *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMiningShoppingTwdModelVersions,omitempty"` + + KnowledgeMumStoryTeaserAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMumStoryTeaserAnnotation,omitempty"` + + KnowledgeMumStorytimeStampEngagementAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMumStorytimeStampEngagementAnnotation,omitempty"` + + KnowledgeMumStorytimeStampQualityAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeMumStorytimeStampQualityAnnotation,omitempty"` + + KnowledgeTablesTableInternalData *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeTablesTableInternalData,omitempty"` + + KnowledgeTablesUniversalTableAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeTablesUniversalTableAnnotations,omitempty"` + + KnowledgeTasksUniversalTaskAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeTasksUniversalTaskAnnotation,omitempty"` + + KnowledgeTpfHowtodoHowtoVideoAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"knowledgeTpfHowtodoHowtoVideoAnnotation,omitempty"` + + LangIdLangReasonerDocumentLanguages *IndexingDocjoinerDataVersionVersionInfo `json:"langIdLangReasonerDocumentLanguages,omitempty"` + + LensVsaiDatasets *IndexingDocjoinerDataVersionVersionInfo `json:"lensVsaiDatasets,omitempty"` + + LocalsearchAuthoritySiteAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"localsearchAuthoritySiteAnnotation,omitempty"` + Localyp *IndexingDocjoinerDataVersionVersionInfo `json:"localyp,omitempty"` + MapsSyntheticsGeoDocFetchKey *IndexingDocjoinerDataVersionVersionInfo `json:"mapsSyntheticsGeoDocFetchKey,omitempty"` + + MeasurementAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"measurementAnnotations,omitempty"` + + MetawebExtractionDocumentEvidence *IndexingDocjoinerDataVersionVersionInfo `json:"metawebExtractionDocumentEvidence,omitempty"` + ModernFormatContent *IndexingDocjoinerDataVersionVersionInfo `json:"modernFormatContent,omitempty"` + NavBoostDocument *IndexingDocjoinerDataVersionVersionInfo `json:"navBoostDocument,omitempty"` + + // Navboost: BEGIN DATA FIELDS Navboost *IndexingDocjoinerDataVersionVersionInfo `json:"navboost,omitempty"` + NewsAnnotationsContentAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"newsAnnotationsContentAnnotations,omitempty"` + + NewsCorpusHubPageAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"newsCorpusHubPageAnnotations,omitempty"` + + NewsCorpusLeafPageAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"newsCorpusLeafPageAnnotation,omitempty"` + + NewsCorpusNewsAggregateSignal *IndexingDocjoinerDataVersionVersionInfo `json:"newsCorpusNewsAggregateSignal,omitempty"` + + NewsCorpusNewsCorpusAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"newsCorpusNewsCorpusAnnotation,omitempty"` + + // NewsCorpusNewsCorpusRootAnnotation: END DATA FIELDS + NewsCorpusNewsCorpusRootAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"newsCorpusNewsCorpusRootAnnotation,omitempty"` + + NewsCorpusNewsCorpusStatusAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"newsCorpusNewsCorpusStatusAnnotation,omitempty"` + + NewsCorpusNewsinessAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"newsCorpusNewsinessAnnotation,omitempty"` + + NewsCorpusPositionRankAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"newsCorpusPositionRankAnnotations,omitempty"` + + NewsCrawlFilterNewsLinkCrawlSignal *IndexingDocjoinerDataVersionVersionInfo `json:"newsCrawlFilterNewsLinkCrawlSignal,omitempty"` + + NewsExtractionNewsPbeAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"newsExtractionNewsPbeAnnotations,omitempty"` + + NewsNarIndexingMetadata *IndexingDocjoinerDataVersionVersionInfo `json:"newsNarIndexingMetadata,omitempty"` + + NewsNarRow *IndexingDocjoinerDataVersionVersionInfo `json:"newsNarRow,omitempty"` + + NewsNarRowContainer *IndexingDocjoinerDataVersionVersionInfo `json:"newsNarRowContainer,omitempty"` + + NewsNearDupsInfo *IndexingDocjoinerDataVersionVersionInfo `json:"newsNearDupsInfo,omitempty"` + + NewsNewromanIndexingNewRomanSignal *IndexingDocjoinerDataVersionVersionInfo `json:"newsNewromanIndexingNewRomanSignal,omitempty"` + + NewsNewsArticleChecksum *IndexingDocjoinerDataVersionVersionInfo `json:"newsNewsArticleChecksum,omitempty"` + + NewsNewsClassifications *IndexingDocjoinerDataVersionVersionInfo `json:"newsNewsClassifications,omitempty"` + + NewsNewsContentSignals *IndexingDocjoinerDataVersionVersionInfo `json:"newsNewsContentSignals,omitempty"` + + NewsNewsForEducationReadingStatistics *IndexingDocjoinerDataVersionVersionInfo `json:"newsNewsForEducationReadingStatistics,omitempty"` + + NewsVideosNewsAnchorSourceInfo *IndexingDocjoinerDataVersionVersionInfo `json:"newsVideosNewsAnchorSourceInfo,omitempty"` + + NewsVideosNewsVideoAnnotationSignals *IndexingDocjoinerDataVersionVersionInfo `json:"newsVideosNewsVideoAnnotationSignals,omitempty"` + + NlpAtcClaraAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"nlpAtcClaraAnnotation,omitempty"` + + NlpSaftDocument *IndexingDocjoinerDataVersionVersionInfo `json:"nlpSaftDocument,omitempty"` + + NlpSaftNlxDocAnnotatorMigration *IndexingDocjoinerDataVersionVersionInfo `json:"nlpSaftNlxDocAnnotatorMigration,omitempty"` + + NlpSaftRodinClassification *IndexingDocjoinerDataVersionVersionInfo `json:"nlpSaftRodinClassification,omitempty"` + + NlpSentimentSentimentAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"nlpSentimentSentimentAnnotation,omitempty"` + + NlxDocAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"nlxDocAnnotation,omitempty"` + + NoindexedImageDataList *IndexingDocjoinerDataVersionVersionInfo `json:"noindexedImageDataList,omitempty"` + + NumberAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"numberAnnotations,omitempty"` + + OceanLibrarianBookMetadata *IndexingDocjoinerDataVersionVersionInfo `json:"oceanLibrarianBookMetadata,omitempty"` + + OceanLibrarianPopulatorData *IndexingDocjoinerDataVersionVersionInfo `json:"oceanLibrarianPopulatorData,omitempty"` + + OceanLibrarianPopulatorPageData *IndexingDocjoinerDataVersionVersionInfo `json:"oceanLibrarianPopulatorPageData,omitempty"` + + OceanMetadataAllItemSpecificBibdatas *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataAllItemSpecificBibdatas,omitempty"` + + OceanMetadataAvailabilityInfoComponent *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataAvailabilityInfoComponent,omitempty"` + + OceanMetadataAvailabilitySnapshot *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataAvailabilitySnapshot,omitempty"` + + OceanMetadataAvailabilitySnapshotHolder *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataAvailabilitySnapshotHolder,omitempty"` + + OceanMetadataBibkeyComponent *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataBibkeyComponent,omitempty"` + + OceanMetadataClusterHorizontalReference *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataClusterHorizontalReference,omitempty"` + + OceanMetadataClusterRecord *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataClusterRecord,omitempty"` + + OceanMetadataClusterVolumes *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataClusterVolumes,omitempty"` + + OceanMetadataClusteringSeriesSeriesInfo *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataClusteringSeriesSeriesInfo,omitempty"` + + OceanMetadataClusteringTomeHorizontalLinkDescriptor *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataClusteringTomeHorizontalLinkDescriptor,omitempty"` + + OceanMetadataContributorLinks *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataContributorLinks,omitempty"` + + OceanMetadataItemSpecificBibdataComponent *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataItemSpecificBibdataComponent,omitempty"` + + OceanMetadataKgTopicLinks *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataKgTopicLinks,omitempty"` + + OceanMetadataLanguageInfoComponent *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataLanguageInfoComponent,omitempty"` + + OceanMetadataMaterialInfoComponent *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataMaterialInfoComponent,omitempty"` + + OceanMetadataParsedAccessTerms *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataParsedAccessTerms,omitempty"` + + OceanMetadataParsedSuDoc *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataParsedSuDoc,omitempty"` + + OceanMetadataPatentPublicationDetails *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataPatentPublicationDetails,omitempty"` + + OceanMetadataPhysicalMeasurementsComponent *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataPhysicalMeasurementsComponent,omitempty"` + + OceanMetadataPublicDomainInfo *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataPublicDomainInfo,omitempty"` + + OceanMetadataPublicationDetailsComponent *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataPublicationDetailsComponent,omitempty"` + + OceanMetadataRightsComponent *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataRightsComponent,omitempty"` + + OceanMetadataSeriesInfoComponent *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataSeriesInfoComponent,omitempty"` + + OceanMetadataTomeDetailsComponent *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataTomeDetailsComponent,omitempty"` + + OceanMetadataTomeMembersComponent *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataTomeMembersComponent,omitempty"` + + OceanMetadataTomePriceInfo *IndexingDocjoinerDataVersionVersionInfo `json:"oceanMetadataTomePriceInfo,omitempty"` + + OceanReviewsForWork *IndexingDocjoinerDataVersionVersionInfo `json:"oceanReviewsForWork,omitempty"` + + OceanRightsOptOutRequest *IndexingDocjoinerDataVersionVersionInfo `json:"oceanRightsOptOutRequest,omitempty"` + + OfficialPagesQuerySet *IndexingDocjoinerDataVersionVersionInfo `json:"officialPagesQuerySet,omitempty"` + + PerDocLangidData *IndexingDocjoinerDataVersionVersionInfo `json:"perDocLangidData,omitempty"` + + PersonalizationGameWebeventsConsolidatedEvents *IndexingDocjoinerDataVersionVersionInfo `json:"personalizationGameWebeventsConsolidatedEvents,omitempty"` + + PersonalizationGameWebeventsEvent *IndexingDocjoinerDataVersionVersionInfo `json:"personalizationGameWebeventsEvent,omitempty"` + + PersonalizationGameWebeventsEvents *IndexingDocjoinerDataVersionVersionInfo `json:"personalizationGameWebeventsEvents,omitempty"` + + PhotosGeoAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"photosGeoAnnotation,omitempty"` + PredictedAuthenticity *IndexingDocjoinerDataVersionVersionInfo `json:"predictedAuthenticity,omitempty"` + PriceAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"priceAnnotations,omitempty"` + + QualityAnchorsOutdegreeOutdegreeInfo *IndexingDocjoinerDataVersionVersionInfo `json:"qualityAnchorsOutdegreeOutdegreeInfo,omitempty"` + + QualityAnimaLivewebLivewebAttachment *IndexingDocjoinerDataVersionVersionInfo `json:"qualityAnimaLivewebLivewebAttachment,omitempty"` + + QualityAnimaRoutinesRoutinesPropertiesProto *IndexingDocjoinerDataVersionVersionInfo `json:"qualityAnimaRoutinesRoutinesPropertiesProto,omitempty"` + + QualityAuthorityTopicEmbeddings *IndexingDocjoinerDataVersionVersionInfo `json:"qualityAuthorityTopicEmbeddings,omitempty"` + + QualityAuthorshipAuthorAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityAuthorshipAuthorAnnotations,omitempty"` + + QualityBreadcrumbsBreadcrumbAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityBreadcrumbsBreadcrumbAnnotations,omitempty"` + + QualityCalypsoAppsLink *IndexingDocjoinerDataVersionVersionInfo `json:"qualityCalypsoAppsLink,omitempty"` + + QualityChardDocument *IndexingDocjoinerDataVersionVersionInfo `json:"qualityChardDocument,omitempty"` + + QualityChardPredictedQueryFringeScore *IndexingDocjoinerDataVersionVersionInfo `json:"qualityChardPredictedQueryFringeScore,omitempty"` + + QualityChardPredictedXlq *IndexingDocjoinerDataVersionVersionInfo `json:"qualityChardPredictedXlq,omitempty"` + + QualityContraSelectedAttributions *IndexingDocjoinerDataVersionVersionInfo `json:"qualityContraSelectedAttributions,omitempty"` + + QualityCopiaFireflySiteInfo *IndexingDocjoinerDataVersionVersionInfo `json:"qualityCopiaFireflySiteInfo,omitempty"` + + QualityDiscoverUgcScatScatEmbeddingAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityDiscoverUgcScatScatEmbeddingAnnotation,omitempty"` + + QualityDniNewsstandPcu *IndexingDocjoinerDataVersionVersionInfo `json:"qualityDniNewsstandPcu,omitempty"` + + QualityDniPcuAuxiliaryData *IndexingDocjoinerDataVersionVersionInfo `json:"qualityDniPcuAuxiliaryData,omitempty"` + + QualityDniPcuMetaAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityDniPcuMetaAnnotation,omitempty"` + + QualityDniPcuParsedData *IndexingDocjoinerDataVersionVersionInfo `json:"qualityDniPcuParsedData,omitempty"` + + QualityDniPcuRawData *IndexingDocjoinerDataVersionVersionInfo `json:"qualityDniPcuRawData,omitempty"` + + QualityExploreQueryableFeedEcsAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityExploreQueryableFeedEcsAnnotation,omitempty"` + + QualityExploreQueryableFeedHashtagAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityExploreQueryableFeedHashtagAnnotation,omitempty"` + + QualityExploreQueryableFeedHashtagListAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityExploreQueryableFeedHashtagListAnnotation,omitempty"` + + QualityExploreQueryableFeedTopicFeedScoringSignals *IndexingDocjoinerDataVersionVersionInfo `json:"qualityExploreQueryableFeedTopicFeedScoringSignals,omitempty"` + + QualityFreshnessAbacusInstantNegativeClicksInfo *IndexingDocjoinerDataVersionVersionInfo `json:"qualityFreshnessAbacusInstantNegativeClicksInfo,omitempty"` + + QualityFringeFringeQueryPrior *IndexingDocjoinerDataVersionVersionInfo `json:"qualityFringeFringeQueryPrior,omitempty"` + + QualityGeoBrainlocGoldmineBrainlocAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityGeoBrainlocGoldmineBrainlocAnnotation,omitempty"` + + QualityGeoLoglocGoldmineDocumentLocationAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityGeoLoglocGoldmineDocumentLocationAnnotation,omitempty"` + + QualityHistoricalContentAge *IndexingDocjoinerDataVersionVersionInfo `json:"qualityHistoricalContentAge,omitempty"` + + QualityHorizonProtoHorizonEmbeddings *IndexingDocjoinerDataVersionVersionInfo `json:"qualityHorizonProtoHorizonEmbeddings,omitempty"` + + QualityHorizonRecordInfoAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityHorizonRecordInfoAnnotation,omitempty"` + + QualityImprovDocToQueries *IndexingDocjoinerDataVersionVersionInfo `json:"qualityImprovDocToQueries,omitempty"` + + QualityImprovImprovAnchors *IndexingDocjoinerDataVersionVersionInfo `json:"qualityImprovImprovAnchors,omitempty"` + + QualityLisztomaniaDocument *IndexingDocjoinerDataVersionVersionInfo `json:"qualityLisztomaniaDocument,omitempty"` + + QualityNavboostCrapsCrapsData *IndexingDocjoinerDataVersionVersionInfo `json:"qualityNavboostCrapsCrapsData,omitempty"` + + QualityNavboostCrapsCrapsPatternSignal *IndexingDocjoinerDataVersionVersionInfo `json:"qualityNavboostCrapsCrapsPatternSignal,omitempty"` + + QualityNegativeClicksNegativeClicksInfo *IndexingDocjoinerDataVersionVersionInfo `json:"qualityNegativeClicksNegativeClicksInfo,omitempty"` + + QualityNlqStructuredSearchAnnotationAnalysisAutomaticExtractionAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityNlqStructuredSearchAnnotationAnalysisAutomaticExtractionAnnotations,omitempty"` + + QualityNlqStructuredSearchListingPagesListingPageAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityNlqStructuredSearchListingPagesListingPageAnnotations,omitempty"` + + QualityNsrDokiAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityNsrDokiAnnotation,omitempty"` + + QualityNsrNsrData *IndexingDocjoinerDataVersionVersionInfo `json:"qualityNsrNsrData,omitempty"` + + QualityNsrNsrSitechunksAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityNsrNsrSitechunksAnnotation,omitempty"` + + QualityNsrPairwiseqPairwiseQData *IndexingDocjoinerDataVersionVersionInfo `json:"qualityNsrPairwiseqPairwiseQData,omitempty"` + + QualityNsrPqData *IndexingDocjoinerDataVersionVersionInfo `json:"qualityNsrPqData,omitempty"` + + QualityNsrSiteAuthority *IndexingDocjoinerDataVersionVersionInfo `json:"qualityNsrSiteAuthority,omitempty"` + + QualityNsrUvSitechunksAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityNsrUvSitechunksAnnotation,omitempty"` + + QualityOrbitAsteroidBeltIntermediateDocumentIntentScores *IndexingDocjoinerDataVersionVersionInfo `json:"qualityOrbitAsteroidBeltIntermediateDocumentIntentScores,omitempty"` + + QualityPagemasterPagemasterAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityPagemasterPagemasterAnnotations,omitempty"` + + QualityPanopticIndexingDiscoverCorpusAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityPanopticIndexingDiscoverCorpusAnnotation,omitempty"` + + QualityPanopticIndexingDiscoverDocumentSignal *IndexingDocjoinerDataVersionVersionInfo `json:"qualityPanopticIndexingDiscoverDocumentSignal,omitempty"` + + QualityPanopticIndexingPanopticAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityPanopticIndexingPanopticAnnotation,omitempty"` + + QualityPanopticStorytimeAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityPanopticStorytimeAnnotation,omitempty"` + + QualityPanopticStorytimeScoringSignals *IndexingDocjoinerDataVersionVersionInfo `json:"qualityPanopticStorytimeScoringSignals,omitempty"` + + QualityPanopticVoiceUgcAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityPanopticVoiceUgcAnnotation,omitempty"` + + QualityPeoplesearchNamedetectorNameOccurrenceAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityPeoplesearchNamedetectorNameOccurrenceAnnotations,omitempty"` + + QualityPopfeedsChromeBackgroundAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityPopfeedsChromeBackgroundAnnotation,omitempty"` + + QualityPopfeedsHubDataAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityPopfeedsHubDataAnnotations,omitempty"` + + QualityPopfeedsUrlPredictionAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityPopfeedsUrlPredictionAnnotations,omitempty"` + + QualityPopfeedsUrlSourceAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityPopfeedsUrlSourceAnnotations,omitempty"` + + QualityPricedetectorKefirPriceAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityPricedetectorKefirPriceAnnotations,omitempty"` + + QualityPricedetectorProductBlockAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityPricedetectorProductBlockAnnotations,omitempty"` + + QualityProseJsonLdAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityProseJsonLdAnnotation,omitempty"` + + QualityProseThumbnailSelection *IndexingDocjoinerDataVersionVersionInfo `json:"qualityProseThumbnailSelection,omitempty"` + + QualityQ2QualityBoost *IndexingDocjoinerDataVersionVersionInfo `json:"qualityQ2QualityBoost,omitempty"` + + QualityQ2SiteQualityFeatures *IndexingDocjoinerDataVersionVersionInfo `json:"qualityQ2SiteQualityFeatures,omitempty"` + + QualityRealtimeBoostRealtimeBoostEvent *IndexingDocjoinerDataVersionVersionInfo `json:"qualityRealtimeBoostRealtimeBoostEvent,omitempty"` + + QualityRealtimeBoostRealtimeBoostResponse *IndexingDocjoinerDataVersionVersionInfo `json:"qualityRealtimeBoostRealtimeBoostResponse,omitempty"` + + QualityRealtimeBoostSeismographEventAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityRealtimeBoostSeismographEventAnnotations,omitempty"` + + QualityRealtimeRealtimeResultInfo *IndexingDocjoinerDataVersionVersionInfo `json:"qualityRealtimeRealtimeResultInfo,omitempty"` + + QualityRealtimeRtFactAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityRealtimeRtFactAnnotations,omitempty"` + + QualityResultFilteringIndexingClusterAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityResultFilteringIndexingClusterAnnotations,omitempty"` + + QualityRichsnippetsAppsProtosApplicationInformationAttachment *IndexingDocjoinerDataVersionVersionInfo `json:"qualityRichsnippetsAppsProtosApplicationInformationAttachment,omitempty"` + + QualityRodinRodinSiteSignal *IndexingDocjoinerDataVersionVersionInfo `json:"qualityRodinRodinSiteSignal,omitempty"` + + QualitySalientCountriesSalientCountrySet *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySalientCountriesSalientCountrySet,omitempty"` + + QualitySalientStructuresSalientStructureSet *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySalientStructuresSalientStructureSet,omitempty"` + + QualitySalientStuffSalientStuffSet *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySalientStuffSalientStuffSet,omitempty"` + + QualitySalientTermsQuerySmearingModel *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySalientTermsQuerySmearingModel,omitempty"` + + QualitySalientTermsSalientTermSet *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySalientTermsSalientTermSet,omitempty"` + + QualitySearchoversiteAnnotatorStructuredResultsAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySearchoversiteAnnotatorStructuredResultsAnnotation,omitempty"` + + QualitySherlockKnexAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySherlockKnexAnnotation,omitempty"` + + QualityShoppingProductReview *IndexingDocjoinerDataVersionVersionInfo `json:"qualityShoppingProductReview,omitempty"` + + QualityShoppingProductReviewPage *IndexingDocjoinerDataVersionVersionInfo `json:"qualityShoppingProductReviewPage,omitempty"` + + QualityShoppingShoppingProductReviewAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityShoppingShoppingProductReviewAnnotation,omitempty"` + + QualitySimilarpagesRelatedInfoSignal *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySimilarpagesRelatedInfoSignal,omitempty"` + + QualitySitemapDocument *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySitemapDocument,omitempty"` + + QualitySitemapThirdPartyCarouselsItemLists *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySitemapThirdPartyCarouselsItemLists,omitempty"` + + QualitySixfaceSixfaceUrlData *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySixfaceSixfaceUrlData,omitempty"` + + QualitySnippetsHiddenTextHiddenSpanAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySnippetsHiddenTextHiddenSpanAnnotations,omitempty"` + + QualitySnippetsListSnippetsAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySnippetsListSnippetsAnnotations,omitempty"` + + QualitySnippetsMetadescriptionDuplicateMetaSiteSignal *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySnippetsMetadescriptionDuplicateMetaSiteSignal,omitempty"` + + QualitySnippetsSnippetSpansInfo *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySnippetsSnippetSpansInfo,omitempty"` + + QualitySosGoldmineSosAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySosGoldmineSosAnnotation,omitempty"` + + QualitySummarySummary *IndexingDocjoinerDataVersionVersionInfo `json:"qualitySummarySummary,omitempty"` + + QualityTangramInformationTypes *IndexingDocjoinerDataVersionVersionInfo `json:"qualityTangramInformationTypes,omitempty"` + + QualityTimebasedTimeSensitivityTimeSensitivityAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityTimebasedTimeSensitivityTimeSensitivityAnnotation,omitempty"` + + QualityTitlesAlternativeTitlesInfo *IndexingDocjoinerDataVersionVersionInfo `json:"qualityTitlesAlternativeTitlesInfo,omitempty"` + + QualityTitlesSitelinksTargetTitleInfo *IndexingDocjoinerDataVersionVersionInfo `json:"qualityTitlesSitelinksTargetTitleInfo,omitempty"` + + QualityTwiddlerDomainClassification *IndexingDocjoinerDataVersionVersionInfo `json:"qualityTwiddlerDomainClassification,omitempty"` + + QualityViewsAnswersAnswerAnnotationInfo *IndexingDocjoinerDataVersionVersionInfo `json:"qualityViewsAnswersAnswerAnnotationInfo,omitempty"` + + QualityVisualwebVisualWebAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityVisualwebVisualWebAnnotation,omitempty"` + + QualityVisualwebVisualWebModelsAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"qualityVisualwebVisualWebModelsAnnotation,omitempty"` + + QualityWebanswersAltTitleSaftDoc *IndexingDocjoinerDataVersionVersionInfo `json:"qualityWebanswersAltTitleSaftDoc,omitempty"` + + QualityWebanswersTranscriptAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"qualityWebanswersTranscriptAnnotations,omitempty"` + + QualityWebfeederDocEmbedding *IndexingDocjoinerDataVersionVersionInfo `json:"qualityWebfeederDocEmbedding,omitempty"` + + QualityWebshineDocResources *IndexingDocjoinerDataVersionVersionInfo `json:"qualityWebshineDocResources,omitempty"` + + RankBoostDocAttachment *IndexingDocjoinerDataVersionVersionInfo `json:"rankBoostDocAttachment,omitempty"` + Rankembed *IndexingDocjoinerDataVersionVersionInfo `json:"rankembed,omitempty"` + RelativeDateAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"relativeDateAnnotations,omitempty"` + + RepositoryAnnotationsAddressAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsAddressAnnotations,omitempty"` + + RepositoryAnnotationsAmenitiesAmenitiesAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsAmenitiesAmenitiesAnnotations,omitempty"` + + RepositoryAnnotationsCrawzallAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsCrawzallAnnotations,omitempty"` + + RepositoryAnnotationsDiscussionThreadDiscussionViewProto *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsDiscussionThreadDiscussionViewProto,omitempty"` + + RepositoryAnnotationsLicensedResources *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsLicensedResources,omitempty"` + + RepositoryAnnotationsListFilterAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsListFilterAnnotations,omitempty"` + + RepositoryAnnotationsListSummaryAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsListSummaryAnnotations,omitempty"` + + RepositoryAnnotationsMicrodataMicrodataAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsMicrodataMicrodataAnnotations,omitempty"` + + RepositoryAnnotationsMicroformatsHproduct *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsMicroformatsHproduct,omitempty"` + + RepositoryAnnotationsMicroformatsMicroformatAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsMicroformatsMicroformatAnnotations,omitempty"` + + RepositoryAnnotationsPhoneTypePhoneTypeAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsPhoneTypePhoneTypeAnnotations,omitempty"` + + RepositoryAnnotationsRdfaRdfaAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsRdfaRdfaAnnotations,omitempty"` + + RepositoryAnnotationsRodinArticleAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsRodinArticleAnnotation,omitempty"` + + RepositoryAnnotationsSectionHeadingAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsSectionHeadingAnnotations,omitempty"` + + RepositoryAnnotationsSnippetSegmentSnippetSegmentAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsSnippetSegmentSnippetSegmentAnnotations,omitempty"` + + RepositoryAnnotationsSporeAuthoritySignal *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsSporeAuthoritySignal,omitempty"` + + RepositoryAnnotationsSporeDeeplinkAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsSporeDeeplinkAnnotations,omitempty"` + + RepositoryAnnotationsSporeExtractorTopicAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsSporeExtractorTopicAnnotations,omitempty"` + + RepositoryAnnotationsSporeExtractorTripleAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsSporeExtractorTripleAnnotations,omitempty"` + + RepositoryAnnotationsSporeSporeEtlAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsSporeSporeEtlAnnotation,omitempty"` + + RepositoryAnnotationsSporeSporeEtlInputAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsSporeSporeEtlInputAnnotations,omitempty"` + + RepositoryAnnotationsStorehoursStoreHoursAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsStorehoursStoreHoursAnnotations,omitempty"` + + RepositoryAnnotationsVerseAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsVerseAnnotations,omitempty"` + + RepositoryAnnotationsWebanswersContextItemAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryAnnotationsWebanswersContextItemAnnotations,omitempty"` + + RepositoryProtiumEncyclojoinsEncycloJoin *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryProtiumEncyclojoinsEncycloJoin,omitempty"` + + RepositoryProtiumGoldmineTriplificationResult *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryProtiumGoldmineTriplificationResult,omitempty"` + + RepositoryProtiumGoldmineTypeAssertionOutput *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryProtiumGoldmineTypeAssertionOutput,omitempty"` + + RepositoryProtiumWebkvWebKv *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryProtiumWebkvWebKv,omitempty"` + + RepositoryProtiumWikiaWikiaInfo *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryProtiumWikiaWikiaInfo,omitempty"` + + RepositoryUpdaterIndexSelectionAttachment *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryUpdaterIndexSelectionAttachment,omitempty"` + + RepositoryWebrefEntityJoin *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefEntityJoin,omitempty"` + + RepositoryWebrefExperimentalWebrefEntitiesAttachment *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefExperimentalWebrefEntitiesAttachment,omitempty"` + + RepositoryWebrefGraphMention *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefGraphMention,omitempty"` + + RepositoryWebrefJuggernautIndices *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefJuggernautIndices,omitempty"` + + RepositoryWebrefPageClassificationAnchorSignalsSet *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefPageClassificationAnchorSignalsSet,omitempty"` + + RepositoryWebrefPageClassificationSignalsSet *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefPageClassificationSignalsSet,omitempty"` + + RepositoryWebrefPiannoDocumentIntents *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefPiannoDocumentIntents,omitempty"` + + RepositoryWebrefPiannoTvSeasonEpisode *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefPiannoTvSeasonEpisode,omitempty"` + + RepositoryWebrefPreprocessingReferencePageCandidateList *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefPreprocessingReferencePageCandidateList,omitempty"` + + RepositoryWebrefReconcileResponse *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefReconcileResponse,omitempty"` + + RepositoryWebrefRefconJugglerReferencePageMappings *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefRefconJugglerReferencePageMappings,omitempty"` + + RepositoryWebrefReferencePagesClassifierScoredPage *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefReferencePagesClassifierScoredPage,omitempty"` + + RepositoryWebrefSalientEntitySet *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefSalientEntitySet,omitempty"` + + RepositoryWebrefUndermergedEntities *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefUndermergedEntities,omitempty"` + + RepositoryWebrefUniversalEmbeddingRetrievalDebug *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefUniversalEmbeddingRetrievalDebug,omitempty"` + + RepositoryWebrefWebitIntermediaryMids *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefWebitIntermediaryMids,omitempty"` + + RepositoryWebrefWebitScopeFprint *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefWebitScopeFprint,omitempty"` + + RepositoryWebrefWebitScopeSignals *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefWebitScopeSignals,omitempty"` + + RepositoryWebrefWebitTripleSignals *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefWebitTripleSignals,omitempty"` + + RepositoryWebrefWebrefEntities *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefWebrefEntities,omitempty"` + + RepositoryWebrefWebrefStatus *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebrefWebrefStatus,omitempty"` + + RepositoryWebtablesDataTableAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebtablesDataTableAnnotations,omitempty"` + + RepositoryWebtablesDataTableMidAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebtablesDataTableMidAnnotation,omitempty"` + + RepositoryWebtablesTranslationMessage *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWebtablesTranslationMessage,omitempty"` + + RepositoryWikipediaAliasList *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWikipediaAliasList,omitempty"` + + RepositoryWikipediaAnnotatorWikipediaPageComponentAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWikipediaAnnotatorWikipediaPageComponentAnnotations,omitempty"` + + RepositoryWikipediaSentenceCompressionAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWikipediaSentenceCompressionAnnotation,omitempty"` + + RepositoryWikipediaWikiJoin *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWikipediaWikiJoin,omitempty"` + + RepositoryWikipediaWikiMapperTripleSet *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWikipediaWikiMapperTripleSet,omitempty"` + + RepositoryWikipediaWikibaseEntity *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWikipediaWikibaseEntity,omitempty"` + + RepositoryWikipediaWikidataOrgTripleSet *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWikipediaWikidataOrgTripleSet,omitempty"` + + RepositoryWikipediaWikitrustWikiTrustInfo *IndexingDocjoinerDataVersionVersionInfo `json:"repositoryWikipediaWikitrustWikiTrustInfo,omitempty"` + + ResearchCoauthorOpinionAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"researchCoauthorOpinionAnnotations,omitempty"` + + ResearchStructuredDataInadvertentAnchorScoreAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"researchStructuredDataInadvertentAnchorScoreAnnotation,omitempty"` + + ResearchStructuredDataKnowledgeExplorationAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"researchStructuredDataKnowledgeExplorationAnnotations,omitempty"` + + ResearchStructuredDataNewsEmbeddingAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"researchStructuredDataNewsEmbeddingAnnotations,omitempty"` + + RichsnippetsDataObject *IndexingDocjoinerDataVersionVersionInfo `json:"richsnippetsDataObject,omitempty"` + + RichsnippetsFeedPageMap *IndexingDocjoinerDataVersionVersionInfo `json:"richsnippetsFeedPageMap,omitempty"` + + RichsnippetsPageMap *IndexingDocjoinerDataVersionVersionInfo `json:"richsnippetsPageMap,omitempty"` + + RichsnippetsPageMapAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"richsnippetsPageMapAnnotations,omitempty"` + + RichsnippetsSchemaThing *IndexingDocjoinerDataVersionVersionInfo `json:"richsnippetsSchemaThing,omitempty"` + RosettaLanguage *IndexingDocjoinerDataVersionVersionInfo `json:"rosettaLanguage,omitempty"` + SafesearchPageClassifierOutput *IndexingDocjoinerDataVersionVersionInfo `json:"safesearchPageClassifierOutput,omitempty"` + + SafesearchSafeSearchInternalPageSignals *IndexingDocjoinerDataVersionVersionInfo `json:"safesearchSafeSearchInternalPageSignals,omitempty"` + + ScienceIndexSignal *IndexingDocjoinerDataVersionVersionInfo `json:"scienceIndexSignal,omitempty"` + + SearchEngagementHighlightSharedHighlightSignal *IndexingDocjoinerDataVersionVersionInfo `json:"searchEngagementHighlightSharedHighlightSignal,omitempty"` + + SearcharSearchArPipelineSignal *IndexingDocjoinerDataVersionVersionInfo `json:"searcharSearchArPipelineSignal,omitempty"` + + ShoppingQualityShoppingSiteClassifier *IndexingDocjoinerDataVersionVersionInfo `json:"shoppingQualityShoppingSiteClassifier,omitempty"` + + ShoppingQualityShoppingSiteClassifierShopfab *IndexingDocjoinerDataVersionVersionInfo `json:"shoppingQualityShoppingSiteClassifierShopfab,omitempty"` + + ShoppingWebentityShoppingAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"shoppingWebentityShoppingAnnotation,omitempty"` + + SitemapsSitemapsSignals *IndexingDocjoinerDataVersionVersionInfo `json:"sitemapsSitemapsSignals,omitempty"` + + SmearingSmearedTerms *IndexingDocjoinerDataVersionVersionInfo `json:"smearingSmearedTerms,omitempty"` + + SocialPersonalizationKnexAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"socialPersonalizationKnexAnnotation,omitempty"` + + SpamBrainSpamBrainData *IndexingDocjoinerDataVersionVersionInfo `json:"spamBrainSpamBrainData,omitempty"` + + SpamBrainSpamBrainPageClassifierAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"spamBrainSpamBrainPageClassifierAnnotation,omitempty"` + + SpamContentAnchorDist *IndexingDocjoinerDataVersionVersionInfo `json:"spamContentAnchorDist,omitempty"` + + SpamContentAuthenticAuthenticTextAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"spamContentAuthenticAuthenticTextAnnotation,omitempty"` + + SpamContentImageMapPb *IndexingDocjoinerDataVersionVersionInfo `json:"spamContentImageMapPb,omitempty"` + + SpamContentSiteAgeStats *IndexingDocjoinerDataVersionVersionInfo `json:"spamContentSiteAgeStats,omitempty"` + + SpamCookbookCookbookAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"spamCookbookCookbookAnnotations,omitempty"` + + SpamCookbookCookbookSitechunkAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"spamCookbookCookbookSitechunkAnnotations,omitempty"` + + SpamFatpingIndexFeed *IndexingDocjoinerDataVersionVersionInfo `json:"spamFatpingIndexFeed,omitempty"` + + SpamGodclusterAffIdAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"spamGodclusterAffIdAnnotation,omitempty"` + + SpamGodclusterServerHeaderAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"spamGodclusterServerHeaderAnnotation,omitempty"` + + SpamGooglebombsGooglebombsAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"spamGooglebombsGooglebombsAnnotation,omitempty"` + + SpamHackedSitesDocSpamInfo *IndexingDocjoinerDataVersionVersionInfo `json:"spamHackedSitesDocSpamInfo,omitempty"` + + SpamHackedSitesGpgbGpgbNgramStats *IndexingDocjoinerDataVersionVersionInfo `json:"spamHackedSitesGpgbGpgbNgramStats,omitempty"` + + SpamHackedSitesWordFrequencies *IndexingDocjoinerDataVersionVersionInfo `json:"spamHackedSitesWordFrequencies,omitempty"` + + SpamJsJsInfo *IndexingDocjoinerDataVersionVersionInfo `json:"spamJsJsInfo,omitempty"` + + SpamScamScamness *IndexingDocjoinerDataVersionVersionInfo `json:"spamScamScamness,omitempty"` + + SpamScamUnauthoritativeSite *IndexingDocjoinerDataVersionVersionInfo `json:"spamScamUnauthoritativeSite,omitempty"` + + SpamTokensSpamTokensAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"spamTokensSpamTokensAnnotation,omitempty"` + + TableTalkStrideOfferPagePriceAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"tableTalkStrideOfferPagePriceAnnotation,omitempty"` + + TasksTabaTabaDocSignals *IndexingDocjoinerDataVersionVersionInfo `json:"tasksTabaTabaDocSignals,omitempty"` + + TelephoneNumberAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"telephoneNumberAnnotations,omitempty"` + + TimeAnnotationTags *IndexingDocjoinerDataVersionVersionInfo `json:"timeAnnotationTags,omitempty"` + + TimeAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"timeAnnotations,omitempty"` + + TimeRangeAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"timeRangeAnnotations,omitempty"` + + TravelAssistantTravelDocClassification *IndexingDocjoinerDataVersionVersionInfo `json:"travelAssistantTravelDocClassification,omitempty"` + + UdrConverterDocumentShoppingData *IndexingDocjoinerDataVersionVersionInfo `json:"udrConverterDocumentShoppingData,omitempty"` + + UdrConverterOffer *IndexingDocjoinerDataVersionVersionInfo `json:"udrConverterOffer,omitempty"` + + UdrConverterProductBlockData *IndexingDocjoinerDataVersionVersionInfo `json:"udrConverterProductBlockData,omitempty"` + + UdrProtoDetailedEntityScores *IndexingDocjoinerDataVersionVersionInfo `json:"udrProtoDetailedEntityScores,omitempty"` + + UdrProtoOverlay *IndexingDocjoinerDataVersionVersionInfo `json:"udrProtoOverlay,omitempty"` + + UdrProtoWebrefMention *IndexingDocjoinerDataVersionVersionInfo `json:"udrProtoWebrefMention,omitempty"` + UniversalFacts *IndexingDocjoinerDataVersionVersionInfo `json:"universalFacts,omitempty"` + UnwantedImageDataList *IndexingDocjoinerDataVersionVersionInfo `json:"unwantedImageDataList,omitempty"` + + UriAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"uriAnnotations,omitempty"` + + UtilStatusProto *IndexingDocjoinerDataVersionVersionInfo `json:"utilStatusProto,omitempty"` + + VerticalsDiscussionDiscussionAnnotationTag *IndexingDocjoinerDataVersionVersionInfo `json:"verticalsDiscussionDiscussionAnnotationTag,omitempty"` + + VideoCrawlAutomatedAudioExtractionSignals *IndexingDocjoinerDataVersionVersionInfo `json:"videoCrawlAutomatedAudioExtractionSignals,omitempty"` + + VideoCrawlAutomatedExtractionSignals *IndexingDocjoinerDataVersionVersionInfo `json:"videoCrawlAutomatedExtractionSignals,omitempty"` + + VideoCrawlDomainVideoClickData *IndexingDocjoinerDataVersionVersionInfo `json:"videoCrawlDomainVideoClickData,omitempty"` + + VideoCrawlVideoClickData *IndexingDocjoinerDataVersionVersionInfo `json:"videoCrawlVideoClickData,omitempty"` + + VideoCrawlVideoSalientTermSet *IndexingDocjoinerDataVersionVersionInfo `json:"videoCrawlVideoSalientTermSet,omitempty"` + + VideoCrawlVideoScoringSignals *IndexingDocjoinerDataVersionVersionInfo `json:"videoCrawlVideoScoringSignals,omitempty"` + + VideoCrawlWatchPagePatternClassification *IndexingDocjoinerDataVersionVersionInfo `json:"videoCrawlWatchPagePatternClassification,omitempty"` + + VideoCrawlYoutubeEmbedSignal *IndexingDocjoinerDataVersionVersionInfo `json:"videoCrawlYoutubeEmbedSignal,omitempty"` + VideoScoringSignal *IndexingDocjoinerDataVersionVersionInfo `json:"videoScoringSignal,omitempty"` + VideoWebGallery *IndexingDocjoinerDataVersionVersionInfo `json:"videoWebGallery,omitempty"` + + VideoYoutubeLiveCardioCardioStats *IndexingDocjoinerDataVersionVersionInfo `json:"videoYoutubeLiveCardioCardioStats,omitempty"` + Volt *IndexingDocjoinerDataVersionVersionInfo `json:"volt,omitempty"` + WatchpageLanguageWatchPageLanguageResult *IndexingDocjoinerDataVersionVersionInfo `json:"watchpageLanguageWatchPageLanguageResult,omitempty"` + + WebsitetoolsFeedsAnnotationsFeedContentAnnotations *IndexingDocjoinerDataVersionVersionInfo `json:"websitetoolsFeedsAnnotationsFeedContentAnnotations,omitempty"` + + WebsitetoolsFeedsLinkedFeedLinkedFeed *IndexingDocjoinerDataVersionVersionInfo `json:"websitetoolsFeedsLinkedFeedLinkedFeed,omitempty"` + + WebsitetoolsFeedsPodcastPodcastSignals *IndexingDocjoinerDataVersionVersionInfo `json:"websitetoolsFeedsPodcastPodcastSignals,omitempty"` + + WebsitetoolsFeedsSporeFeedsSporeTriples *IndexingDocjoinerDataVersionVersionInfo `json:"websitetoolsFeedsSporeFeedsSporeTriples,omitempty"` + + WhatshappStrideExtractions *IndexingDocjoinerDataVersionVersionInfo `json:"whatshappStrideExtractions,omitempty"` + + YoutubeAlexandriaYoutubeBody *IndexingDocjoinerDataVersionVersionInfo `json:"youtubeAlexandriaYoutubeBody,omitempty"` + + YoutubeAlexandriaYoutubeSignal *IndexingDocjoinerDataVersionVersionInfo `json:"youtubeAlexandriaYoutubeSignal,omitempty"` + // ForceSendFields is a list of field names (e.g. // "AcceleratedShoppingSignal") to unconditionally include in API // requests. By default, fields with empty or default values are omitted @@ -99063,7 +100221,6 @@ type NlpSemanticParsingRelatedEntity struct { // "EQUIVALENT" - Equivalent to the other entity. // "MUNIN_SYNONYM" - The related entity is a synonym added to Munin // interpretation. - // "SYNONYM" - The related entity is a synonym. EquivalentRelation string `json:"equivalentRelation,omitempty"` // MdvcRelation: The mdvc relation with the related mid. @@ -103190,7 +104347,7 @@ func (s *PeoplestackFlexorgsProtoInternalExternalStateStatus) MarshalJSON() ([]b // fo} for protocols used during search and/or docinfo. Next available // tag deprecated, use this (and look for commented out fields): // blaze-bin/net/proto_compiler/protocol-compiler --freetags \ -// indexer/perdocdata/perdocdata.proto Next tag: 222 +// indexer/perdocdata/perdocdata.proto Next tag: 223 type PerDocData struct { BlogData *BlogPerDocData `json:"BlogData,omitempty"` @@ -106422,12 +107579,6 @@ func (s *PhotosVisionObjectrecROI) MarshalJSON() ([]byte, error) { // flag for a url. and an optional image score. Next available tag id: // 51. type PornFlagData struct { - // CoclickBrainScores: Aggregated brain_porn_scores for navboost - // co-clicked images. Historical: this signal is deprecated and no - // longer populated as of 2020-12-01. Refer to b/172897542 for more - // information. - CoclickBrainScores *ImageSafesearchContentBrainPornAnnotation `json:"coclickBrainScores,omitempty"` - // CsaiScore: Score predicting how likely an image is offensive or // suggestive about CSAI (child sexual abuse imagery). CsaiScore float64 `json:"csaiScore,omitempty"` @@ -106516,21 +107667,20 @@ type PornFlagData struct { // associated with this image. UrlPornScores *ClassifierPornAggregatedUrlPornScores `json:"urlPornScores,omitempty"` - // ForceSendFields is a list of field names (e.g. "CoclickBrainScores") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "CsaiScore") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CoclickBrainScores") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "CsaiScore") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } @@ -107018,7 +108168,7 @@ func (s *PseudoVideoDataTranscriptTimestamp) MarshalJSON() ([]byte, error) { // objects being processed and stored in Google's production systems. // See go/ptoken to learn more. PTokens are intentionally opaque: // go/ptokens-are-opaque. The following should be considered -// implementation details. Next ID: 8 INTERNAL: If both the Scalar and +// implementation details. Next ID: 9 INTERNAL: If both the Scalar and // the Compound extensions are populated, we use the Compound and // discard the Scalar. In principle, this should never happen. type PtokenPToken struct { @@ -112284,11 +113434,12 @@ type QualityPreviewChosenSnippetInfo struct { // Unlike the sequence snippet, this only consists of one expanded // tidbit that are scored as the best single tidbit among the retrieved // tidbits. - // "FULL_V2" // "META" - This is a leading text of meta description. // "LEADING_TEXT" - This is a leading text of main body text (skipping // headers), and its starting position is typically identified in the // indexing phase. + // "FULL_V2" - Similar to FULL snippet, but this allows multiple + // candidates. // "SAFT_SENTENCE" - saft sentences. // "RADISH_SENTENCE" - Candidates created from radish attachment. // "RADISH_LIST" @@ -114032,8 +115183,9 @@ type QualityQrewritePersonalContactData struct { // Source: // LINT.ThenChange(//depot/google3/assistant/verticals/communication/\ // fulfillment/proto/contact_logging_enums.proto, - // //depot/google3/assistant/api/dialog_state/values/person.proto) Data - // source of the contact data. + // //depot/google3/assistant/api/dialog_state/values/person.proto, + // //depot/google3/assistant/context/proto/person.proto) Data source of + // the contact data. // // Possible values: // "FOCUS_CONTACT" - Contacts from Focus @@ -114052,6 +115204,7 @@ type QualityQrewritePersonalContactData struct { // are not contacts. // "ON_DEVICE_CONTACT_LOOKUP" - Contacts from on device lookup during // contact fulfillment. + // "APP_SEARCH_CONTACT" - Contacts from AppSearch. Source string `json:"source,omitempty"` // ForceSendFields is a list of field names (e.g. "AccountProvenance") @@ -118259,6 +119412,7 @@ type RepositoryWebrefAnnotationStatsPerType struct { // "VIDEO_OCR" // "IMAGE_OCR" // "LENS" + // "VIDEO_DESCRIPTION" // "ONLY_LOOKUP_METADATA" - Entries which are created in order to // instruct the fprint-loader to load metadata for the contained ngrams. // "EMBEDDED_CONTENT" - The embedded content in the document (e.g., @@ -121105,6 +122259,7 @@ type RepositoryWebrefFprintModifierProto struct { // "VIDEO_OCR" // "IMAGE_OCR" // "LENS" + // "VIDEO_DESCRIPTION" // "ONLY_LOOKUP_METADATA" - Entries which are created in order to // instruct the fprint-loader to load metadata for the contained ngrams. // "EMBEDDED_CONTENT" - The embedded content in the document (e.g., @@ -124505,6 +125660,8 @@ type RepositoryWebrefRefconMentionSpans struct { // "IMAGE_OCR" - The ocr text of an image. // "LENS" - Fake segment that contains all Lens entity mids in a given // image. + // "VIDEO_DESCRIPTION" - The video description coming from + // VideoScoringSignal Segment []string `json:"segment,omitempty"` // ShortToken: Fingerprinted tokens which form the mention span. We are @@ -124818,6 +125975,8 @@ type RepositoryWebrefSegmentMention struct { // "IMAGE_OCR" - The ocr text of an image. // "LENS" - Fake segment that contains all Lens entity mids in a given // image. + // "VIDEO_DESCRIPTION" - The video description coming from + // VideoScoringSignal SegmentType string `json:"segmentType,omitempty"` // ForceSendFields is a list of field names (e.g. "Mention") to @@ -124881,6 +126040,8 @@ type RepositoryWebrefSegmentMentions struct { // "IMAGE_OCR" - The ocr text of an image. // "LENS" - Fake segment that contains all Lens entity mids in a given // image. + // "VIDEO_DESCRIPTION" - The video description coming from + // VideoScoringSignal SegmentType string `json:"segmentType,omitempty"` // ForceSendFields is a list of field names (e.g. "Mention") to @@ -125125,7 +126286,7 @@ func (s *RepositoryWebrefSimplifiedAnchors) MarshalJSON() ([]byte, error) { // RepositoryWebrefSimplifiedCompositeDoc: Represents an information // which is very close to composite doc, but compresses how the anchors -// are represented to save space. Next available tag: 15. +// are represented to save space. Next available tag: 16. type RepositoryWebrefSimplifiedCompositeDoc struct { // Anchors: The composite doc anchors trimmed and transformed in a // smaller data structure and aggregated (if they have the exact same @@ -125183,7 +126344,9 @@ type RepositoryWebrefSimplifiedCompositeDoc struct { // CompositeDoc.doc.url. Url string `json:"url,omitempty"` - WebrefOutlinks *Proto2BridgeMessageSet `json:"webrefOutlinks,omitempty"` + WebrefOutlinkInfos *RepositoryWebrefWebrefOutlinkInfos `json:"webrefOutlinkInfos,omitempty"` + + WebrefOutlinksLegacy *Proto2BridgeMessageSet `json:"webrefOutlinksLegacy,omitempty"` // ForceSendFields is a list of field names (e.g. "Anchors") to // unconditionally include in API requests. By default, fields with @@ -134107,11 +135270,12 @@ type SnippetExtraInfoSnippetCandidateInfo struct { // Unlike the sequence snippet, this only consists of one expanded // tidbit that are scored as the best single tidbit among the retrieved // tidbits. - // "FULL_V2" // "META" - This is a leading text of meta description. // "LEADING_TEXT" - This is a leading text of main body text (skipping // headers), and its starting position is typically identified in the // indexing phase. + // "FULL_V2" - Similar to FULL snippet, but this allows multiple + // candidates. // "SAFT_SENTENCE" - saft sentences. // "RADISH_SENTENCE" - Candidates created from radish attachment. // "RADISH_LIST" @@ -144612,6 +145776,15 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // redirection experiment. // "ONE_TIME_PRODUCT_VARIANT_OFFER_DARK_LAUNCH_SESSION_LEVEL" // "ONE_TIME_PRODUCT_VARIANT_OFFER_LAUNCH_SESSION_LEVEL" + // "AMPLIFY_FORM_OF_PAYMENT_ABANDONMENT_ELIGIBLE_SESSION_LEVEL" - + // Session level test code that indicates the user is eligible for an + // abandonment screen for a form of payment to be amplified. + // "SUBSCRIPTION_FREE_TRIAL_OFFER_HIGHLIGHT_SESSION_LEVEL" - Session + // level test code for subscription with free trial offer highlight + // buyflow. + // "SUBSCRIPTION_INTRO_PRICE_OFFER_HIGHLIGHT_SESSION_LEVEL" - Session + // level test code for subscription with intro price offer highlight + // buyflow. // "SESSION_LEVEL_TEST_CODE_LIMIT" // "CART_ABANDONMENT_USER_LEVEL" - Cart abandonment flow for purchase // flow. @@ -145125,6 +146298,9 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // test code for users who have seen a Loyalty weekly prize banner. // "IS_ELIGIBLE_FOR_DYNAMIC_AUTH_USER_LEVEL" - User level test code // for users who are eligible for dynamic auth. + // "GE_LIVEOPS_PSPEND_USER_LEVEL" - User level test code for LiveOps + // pSpend uplift experiment. If GE campaign decision changed after + // enabling pSpend model, log test code. // "USER_LEVEL_TEST_CODE_LIMIT" TestCode []string `json:"testCode,omitempty"` @@ -147646,6 +148822,9 @@ type VideoContentSearchFrameStarburstData struct { // "ADSBURST_DISCOVERY_NERV_SUBS_V1" // "ADSBURST_BASIC_TEXT_TOWER_V0" // "ADSBURST_V2" + // "ADSBURST_V2_128D" + // "ADSBURST_V2_64D" + // "ADSBURST_V2_32D" // "SHOPPING_IMAGE_TRANSFORMATION_UNCROP" - Shopping image // transformation versions. // "SHOPPING_IMAGE_TRANSFORMATION_V2" @@ -162308,6 +163487,155 @@ func (c *ProjectsSetAclCall) Do(opts ...googleapi.CallOption) (*GoogleCloudConte } +// method id "contentwarehouse.projects.locations.getStatus": + +type ProjectsLocationsGetStatusCall struct { + s *Service + location string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetStatus: Get the project status. +// +// - location: The location to be queried Format: +// projects/{project_number}/locations/{location}. +func (r *ProjectsLocationsService) GetStatus(location string) *ProjectsLocationsGetStatusCall { + c := &ProjectsLocationsGetStatusCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.location = location + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsGetStatusCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetStatusCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsGetStatusCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetStatusCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsGetStatusCall) Context(ctx context.Context) *ProjectsLocationsGetStatusCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsGetStatusCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsGetStatusCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+location}:getStatus") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "location": c.location, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "contentwarehouse.projects.locations.getStatus" call. +// Exactly one of *GoogleCloudContentwarehouseV1ProjectStatus or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudContentwarehouseV1ProjectStatus.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsGetStatusCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContentwarehouseV1ProjectStatus, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &GoogleCloudContentwarehouseV1ProjectStatus{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Get the project status.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:getStatus", + // "httpMethod": "GET", + // "id": "contentwarehouse.projects.locations.getStatus", + // "parameterOrder": [ + // "location" + // ], + // "parameters": { + // "location": { + // "description": "Required. The location to be queried Format: projects/{project_number}/locations/{location}.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+location}:getStatus", + // "response": { + // "$ref": "GoogleCloudContentwarehouseV1ProjectStatus" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "contentwarehouse.projects.locations.initialize": type ProjectsLocationsInitializeCall struct { diff --git a/essentialcontacts/v1/essentialcontacts-api.json b/essentialcontacts/v1/essentialcontacts-api.json index c20c9c349fa..067955a3bfa 100644 --- a/essentialcontacts/v1/essentialcontacts-api.json +++ b/essentialcontacts/v1/essentialcontacts-api.json @@ -1,13 +1,4 @@ { - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, "basePath": "", "baseUrl": "https://essentialcontacts.googleapis.com/", "batchPath": "batch", @@ -168,10 +159,7 @@ "path": "v1/{+parent}/contacts:compute", "response": { "$ref": "GoogleCloudEssentialcontactsV1ComputeContactsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "create": { "description": "Adds a new contact for a resource.", @@ -196,10 +184,7 @@ }, "response": { "$ref": "GoogleCloudEssentialcontactsV1Contact" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "delete": { "description": "Deletes a contact.", @@ -221,10 +206,7 @@ "path": "v1/{+name}", "response": { "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "get": { "description": "Gets a single contact.", @@ -246,10 +228,7 @@ "path": "v1/{+name}", "response": { "$ref": "GoogleCloudEssentialcontactsV1Contact" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "list": { "description": "Lists the contacts that have been set on a resource.", @@ -282,10 +261,7 @@ "path": "v1/{+parent}/contacts", "response": { "$ref": "GoogleCloudEssentialcontactsV1ListContactsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "patch": { "description": "Updates a contact. Note: A contact's email address cannot be changed.", @@ -316,10 +292,7 @@ }, "response": { "$ref": "GoogleCloudEssentialcontactsV1Contact" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "sendTestMessage": { "description": "Allows a contact admin to send a test message to contact to verify that it has been configured correctly.", @@ -344,10 +317,7 @@ }, "response": { "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } } } } @@ -416,10 +386,7 @@ "path": "v1/{+parent}/contacts:compute", "response": { "$ref": "GoogleCloudEssentialcontactsV1ComputeContactsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "create": { "description": "Adds a new contact for a resource.", @@ -444,10 +411,7 @@ }, "response": { "$ref": "GoogleCloudEssentialcontactsV1Contact" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "delete": { "description": "Deletes a contact.", @@ -469,10 +433,7 @@ "path": "v1/{+name}", "response": { "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "get": { "description": "Gets a single contact.", @@ -494,10 +455,7 @@ "path": "v1/{+name}", "response": { "$ref": "GoogleCloudEssentialcontactsV1Contact" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "list": { "description": "Lists the contacts that have been set on a resource.", @@ -530,10 +488,7 @@ "path": "v1/{+parent}/contacts", "response": { "$ref": "GoogleCloudEssentialcontactsV1ListContactsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "patch": { "description": "Updates a contact. Note: A contact's email address cannot be changed.", @@ -564,10 +519,7 @@ }, "response": { "$ref": "GoogleCloudEssentialcontactsV1Contact" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "sendTestMessage": { "description": "Allows a contact admin to send a test message to contact to verify that it has been configured correctly.", @@ -592,10 +544,7 @@ }, "response": { "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } } } } @@ -664,10 +613,7 @@ "path": "v1/{+parent}/contacts:compute", "response": { "$ref": "GoogleCloudEssentialcontactsV1ComputeContactsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "create": { "description": "Adds a new contact for a resource.", @@ -692,10 +638,7 @@ }, "response": { "$ref": "GoogleCloudEssentialcontactsV1Contact" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "delete": { "description": "Deletes a contact.", @@ -717,10 +660,7 @@ "path": "v1/{+name}", "response": { "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "get": { "description": "Gets a single contact.", @@ -742,10 +682,7 @@ "path": "v1/{+name}", "response": { "$ref": "GoogleCloudEssentialcontactsV1Contact" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "list": { "description": "Lists the contacts that have been set on a resource.", @@ -778,10 +715,7 @@ "path": "v1/{+parent}/contacts", "response": { "$ref": "GoogleCloudEssentialcontactsV1ListContactsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "patch": { "description": "Updates a contact. Note: A contact's email address cannot be changed.", @@ -812,10 +746,7 @@ }, "response": { "$ref": "GoogleCloudEssentialcontactsV1Contact" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } }, "sendTestMessage": { "description": "Allows a contact admin to send a test message to contact to verify that it has been configured correctly.", @@ -840,17 +771,14 @@ }, "response": { "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } } } } } } }, - "revision": "20230607", + "revision": "20230618", "rootUrl": "https://essentialcontacts.googleapis.com/", "schemas": { "GoogleCloudEssentialcontactsV1ComputeContactsResponse": { diff --git a/essentialcontacts/v1/essentialcontacts-gen.go b/essentialcontacts/v1/essentialcontacts-gen.go index 88c45cb593e..1fa6d007dfe 100644 --- a/essentialcontacts/v1/essentialcontacts-gen.go +++ b/essentialcontacts/v1/essentialcontacts-gen.go @@ -79,20 +79,8 @@ const apiVersion = "v1" const basePath = "https://essentialcontacts.googleapis.com/" const mtlsBasePath = "https://essentialcontacts.mtls.googleapis.com/" -// OAuth2 scopes used by this API. -const ( - // See, edit, configure, and delete your Google Cloud data and see the - // email address for your Google Account. - CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" -) - // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { - scopesOption := internaloption.WithDefaultScopes( - "https://www.googleapis.com/auth/cloud-platform", - ) - // NOTE: prepend, so we don't override user-specified scopes. - opts = append([]option.ClientOption{scopesOption}, opts...) opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) client, endpoint, err := htransport.NewClient(ctx, opts...) @@ -697,10 +685,7 @@ func (c *FoldersContactsComputeCall) Do(opts ...googleapi.CallOption) (*GoogleCl // "path": "v1/{+parent}/contacts:compute", // "response": { // "$ref": "GoogleCloudEssentialcontactsV1ComputeContactsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -863,10 +848,7 @@ func (c *FoldersContactsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleClo // }, // "response": { // "$ref": "GoogleCloudEssentialcontactsV1Contact" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -998,10 +980,7 @@ func (c *FoldersContactsDeleteCall) Do(opts ...googleapi.CallOption) (*GooglePro // "path": "v1/{+name}", // "response": { // "$ref": "GoogleProtobufEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -1148,10 +1127,7 @@ func (c *FoldersContactsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudE // "path": "v1/{+name}", // "response": { // "$ref": "GoogleCloudEssentialcontactsV1Contact" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -1329,10 +1305,7 @@ func (c *FoldersContactsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloud // "path": "v1/{+parent}/contacts", // "response": { // "$ref": "GoogleCloudEssentialcontactsV1ListContactsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -1509,10 +1482,7 @@ func (c *FoldersContactsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleClou // }, // "response": { // "$ref": "GoogleCloudEssentialcontactsV1Contact" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -1656,10 +1626,7 @@ func (c *FoldersContactsSendTestMessageCall) Do(opts ...googleapi.CallOption) (* // }, // "response": { // "$ref": "GoogleProtobufEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -1915,10 +1882,7 @@ func (c *OrganizationsContactsComputeCall) Do(opts ...googleapi.CallOption) (*Go // "path": "v1/{+parent}/contacts:compute", // "response": { // "$ref": "GoogleCloudEssentialcontactsV1ComputeContactsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -2081,10 +2045,7 @@ func (c *OrganizationsContactsCreateCall) Do(opts ...googleapi.CallOption) (*Goo // }, // "response": { // "$ref": "GoogleCloudEssentialcontactsV1Contact" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -2216,10 +2177,7 @@ func (c *OrganizationsContactsDeleteCall) Do(opts ...googleapi.CallOption) (*Goo // "path": "v1/{+name}", // "response": { // "$ref": "GoogleProtobufEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -2366,10 +2324,7 @@ func (c *OrganizationsContactsGetCall) Do(opts ...googleapi.CallOption) (*Google // "path": "v1/{+name}", // "response": { // "$ref": "GoogleCloudEssentialcontactsV1Contact" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -2547,10 +2502,7 @@ func (c *OrganizationsContactsListCall) Do(opts ...googleapi.CallOption) (*Googl // "path": "v1/{+parent}/contacts", // "response": { // "$ref": "GoogleCloudEssentialcontactsV1ListContactsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -2727,10 +2679,7 @@ func (c *OrganizationsContactsPatchCall) Do(opts ...googleapi.CallOption) (*Goog // }, // "response": { // "$ref": "GoogleCloudEssentialcontactsV1Contact" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -2874,10 +2823,7 @@ func (c *OrganizationsContactsSendTestMessageCall) Do(opts ...googleapi.CallOpti // }, // "response": { // "$ref": "GoogleProtobufEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -3133,10 +3079,7 @@ func (c *ProjectsContactsComputeCall) Do(opts ...googleapi.CallOption) (*GoogleC // "path": "v1/{+parent}/contacts:compute", // "response": { // "$ref": "GoogleCloudEssentialcontactsV1ComputeContactsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -3299,10 +3242,7 @@ func (c *ProjectsContactsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCl // }, // "response": { // "$ref": "GoogleCloudEssentialcontactsV1Contact" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -3434,10 +3374,7 @@ func (c *ProjectsContactsDeleteCall) Do(opts ...googleapi.CallOption) (*GooglePr // "path": "v1/{+name}", // "response": { // "$ref": "GoogleProtobufEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -3584,10 +3521,7 @@ func (c *ProjectsContactsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloud // "path": "v1/{+name}", // "response": { // "$ref": "GoogleCloudEssentialcontactsV1Contact" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -3765,10 +3699,7 @@ func (c *ProjectsContactsListCall) Do(opts ...googleapi.CallOption) (*GoogleClou // "path": "v1/{+parent}/contacts", // "response": { // "$ref": "GoogleCloudEssentialcontactsV1ListContactsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -3945,10 +3876,7 @@ func (c *ProjectsContactsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleClo // }, // "response": { // "$ref": "GoogleCloudEssentialcontactsV1Contact" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } @@ -4092,10 +4020,7 @@ func (c *ProjectsContactsSendTestMessageCall) Do(opts ...googleapi.CallOption) ( // }, // "response": { // "$ref": "GoogleProtobufEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform" - // ] + // } // } } diff --git a/firebaseappcheck/v1/firebaseappcheck-api.json b/firebaseappcheck/v1/firebaseappcheck-api.json index d3dba3c4cb1..ca23b184fba 100644 --- a/firebaseappcheck/v1/firebaseappcheck-api.json +++ b/firebaseappcheck/v1/firebaseappcheck-api.json @@ -1343,7 +1343,7 @@ } } }, - "revision": "20230612", + "revision": "20230619", "rootUrl": "https://firebaseappcheck.googleapis.com/", "schemas": { "GoogleFirebaseAppcheckV1AppAttestConfig": { @@ -1928,8 +1928,8 @@ ], "enumDescriptions": [ "Firebase App Check is not enforced for the service, nor are App Check metrics collected. Though the service is not protected by App Check in this mode, other applicable protections, such as user authorization, are still enforced. An unconfigured service is in this mode by default.", - "Firebase App Check is not enforced for the service. App Check metrics are collected to help you decide when to turn on enforcement for the service. Though the service is not protected by App Check in this mode, other applicable protections, such as user authorization, are still enforced.", - "Firebase App Check is enforced for the service. The service will reject any request that attempts to access your project's resources if it does not have valid App Check token attached, with some exceptions depending on the service; for example, some services will still allow requests bearing the developer's privileged service account credentials without an App Check token. App Check metrics continue to be collected to help you detect issues with your App Check integration and monitor the composition of your callers. While the service is protected by App Check, other applicable protections, such as user authorization, continue to be enforced at the same time. Use caution when choosing to enforce App Check on a Firebase service. If your users have not updated to an App Check capable version of your app, their apps will no longer be able to use your Firebase services that are enforcing App Check. App Check metrics can help you decide whether to enforce App Check on your Firebase services. If your app has not launched yet, you should enable enforcement immediately, since there are no outdated clients in use." + "Firebase App Check is not enforced for the service. App Check metrics are collected to help you decide when to turn on enforcement for the service. Though the service is not protected by App Check in this mode, other applicable protections, such as user authorization, are still enforced. Some services require certain conditions to be met before they will work with App Check, such as requiring you to upgrade to a specific service tier. Until those requirements are met for a service, this `UNENFORCED` setting will have no effect and App Check will not work with that service.", + "Firebase App Check is enforced for the service. The service will reject any request that attempts to access your project's resources if it does not have valid App Check token attached, with some exceptions depending on the service; for example, some services will still allow requests bearing the developer's privileged service account credentials without an App Check token. App Check metrics continue to be collected to help you detect issues with your App Check integration and monitor the composition of your callers. While the service is protected by App Check, other applicable protections, such as user authorization, continue to be enforced at the same time. Use caution when choosing to enforce App Check on a Firebase service. If your users have not updated to an App Check capable version of your app, their apps will no longer be able to use your Firebase services that are enforcing App Check. App Check metrics can help you decide whether to enforce App Check on your Firebase services. If your app has not launched yet, you should enable enforcement immediately, since there are no outdated clients in use. Some services require certain conditions to be met before they will work with App Check, such as requiring you to upgrade to a specific service tier or requiring you to enable the service first. Until those requirements are met for a service, this `ENFORCED` setting will have no effect and App Check will not work with that service." ], "type": "string" }, diff --git a/firebaseappcheck/v1/firebaseappcheck-gen.go b/firebaseappcheck/v1/firebaseappcheck-gen.go index bd88f637b42..9b5b6b54888 100644 --- a/firebaseappcheck/v1/firebaseappcheck-gen.go +++ b/firebaseappcheck/v1/firebaseappcheck-gen.go @@ -1598,7 +1598,11 @@ type GoogleFirebaseAppcheckV1Service struct { // App Check metrics are collected to help you decide when to turn on // enforcement for the service. Though the service is not protected by // App Check in this mode, other applicable protections, such as user - // authorization, are still enforced. + // authorization, are still enforced. Some services require certain + // conditions to be met before they will work with App Check, such as + // requiring you to upgrade to a specific service tier. Until those + // requirements are met for a service, this `UNENFORCED` setting will + // have no effect and App Check will not work with that service. // "ENFORCED" - Firebase App Check is enforced for the service. The // service will reject any request that attempts to access your // project's resources if it does not have valid App Check token @@ -1616,7 +1620,12 @@ type GoogleFirebaseAppcheckV1Service struct { // metrics can help you decide whether to enforce App Check on your // Firebase services. If your app has not launched yet, you should // enable enforcement immediately, since there are no outdated clients - // in use. + // in use. Some services require certain conditions to be met before + // they will work with App Check, such as requiring you to upgrade to a + // specific service tier or requiring you to enable the service first. + // Until those requirements are met for a service, this `ENFORCED` + // setting will have no effect and App Check will not work with that + // service. EnforcementMode string `json:"enforcementMode,omitempty"` // Name: Required. The relative resource name of the service diff --git a/firebaseappcheck/v1beta/firebaseappcheck-api.json b/firebaseappcheck/v1beta/firebaseappcheck-api.json index 00f276599ba..23d146daceb 100644 --- a/firebaseappcheck/v1beta/firebaseappcheck-api.json +++ b/firebaseappcheck/v1beta/firebaseappcheck-api.json @@ -1503,7 +1503,7 @@ ], "parameters": { "name": { - "description": "Required. The relative resource name of the Service to retrieve, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)", + "description": "Required. The relative resource name of the Service to retrieve, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.com` (Firebase Authentication with Identity Platform)", "location": "path", "pattern": "^projects/[^/]+/services/[^/]+$", "required": true, @@ -1566,7 +1566,7 @@ ], "parameters": { "name": { - "description": "Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)", + "description": "Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.com` (Firebase Authentication with Identity Platform)", "location": "path", "pattern": "^projects/[^/]+/services/[^/]+$", "required": true, @@ -1596,7 +1596,7 @@ } } }, - "revision": "20230529", + "revision": "20230619", "rootUrl": "https://firebaseappcheck.googleapis.com/", "schemas": { "GoogleFirebaseAppcheckV1betaAppAttestConfig": { @@ -2255,13 +2255,13 @@ ], "enumDescriptions": [ "Firebase App Check is not enforced for the service, nor are App Check metrics collected. Though the service is not protected by App Check in this mode, other applicable protections, such as user authorization, are still enforced. An unconfigured service is in this mode by default. Note that resource policies behave slightly differently as an unconfigured resource policy means that the resource will inherit the EnforcementMode configured for the service it belongs to and will not be considered as being in OFF mode by default.", - "Firebase App Check is not enforced for the service. App Check metrics are collected to help you decide when to turn on enforcement for the service. Though the service is not protected by App Check in this mode, other applicable protections, such as user authorization, are still enforced.", - "Firebase App Check is enforced for the service. The service will reject any request that attempts to access your project's resources if it does not have valid App Check token attached, with some exceptions depending on the service; for example, some services will still allow requests bearing the developer's privileged service account credentials without an App Check token. App Check metrics continue to be collected to help you detect issues with your App Check integration and monitor the composition of your callers. While the service is protected by App Check, other applicable protections, such as user authorization, continue to be enforced at the same time. Use caution when choosing to enforce App Check on a Firebase service. If your users have not updated to an App Check capable version of your app, their apps will no longer be able to use your Firebase services that are enforcing App Check. App Check metrics can help you decide whether to enforce App Check on your Firebase services. If your app has not launched yet, you should enable enforcement immediately, since there are no outdated clients in use." + "Firebase App Check is not enforced for the service. App Check metrics are collected to help you decide when to turn on enforcement for the service. Though the service is not protected by App Check in this mode, other applicable protections, such as user authorization, are still enforced. Some services require certain conditions to be met before they will work with App Check, such as requiring you to upgrade to a specific service tier. Until those requirements are met for a service, this `UNENFORCED` setting will have no effect and App Check will not work with that service.", + "Firebase App Check is enforced for the service. The service will reject any request that attempts to access your project's resources if it does not have valid App Check token attached, with some exceptions depending on the service; for example, some services will still allow requests bearing the developer's privileged service account credentials without an App Check token. App Check metrics continue to be collected to help you detect issues with your App Check integration and monitor the composition of your callers. While the service is protected by App Check, other applicable protections, such as user authorization, continue to be enforced at the same time. Use caution when choosing to enforce App Check on a Firebase service. If your users have not updated to an App Check capable version of your app, their apps will no longer be able to use your Firebase services that are enforcing App Check. App Check metrics can help you decide whether to enforce App Check on your Firebase services. If your app has not launched yet, you should enable enforcement immediately, since there are no outdated clients in use. Some services require certain conditions to be met before they will work with App Check, such as requiring you to upgrade to a specific service tier. Until those requirements are met for a service, this `ENFORCED` setting will have no effect and App Check will not work with that service." ], "type": "string" }, "name": { - "description": "Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)", + "description": "Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.com` (Firebase Authentication with Identity Platform)", "type": "string" } }, @@ -2273,7 +2273,7 @@ "properties": { "service": { "$ref": "GoogleFirebaseAppcheckV1betaService", - "description": "Required. The Service to update. The Service's `name` field is used to identify the Service to be updated, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)" + "description": "Required. The Service to update. The Service's `name` field is used to identify the Service to be updated, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.com` (Firebase Authentication with Identity Platform) For Firebase Authentication to work with App Check, you must first upgrade to [Firebase Authentication with Identity Platform](https://firebase.google.com/docs/auth#identity-platform)." }, "updateMask": { "description": "Required. A comma-separated list of names of fields in the Service to update. Example: `enforcement_mode`.", diff --git a/firebaseappcheck/v1beta/firebaseappcheck-gen.go b/firebaseappcheck/v1beta/firebaseappcheck-gen.go index 8d596a9b568..c963ec9222d 100644 --- a/firebaseappcheck/v1beta/firebaseappcheck-gen.go +++ b/firebaseappcheck/v1beta/firebaseappcheck-gen.go @@ -1792,7 +1792,11 @@ type GoogleFirebaseAppcheckV1betaService struct { // App Check metrics are collected to help you decide when to turn on // enforcement for the service. Though the service is not protected by // App Check in this mode, other applicable protections, such as user - // authorization, are still enforced. + // authorization, are still enforced. Some services require certain + // conditions to be met before they will work with App Check, such as + // requiring you to upgrade to a specific service tier. Until those + // requirements are met for a service, this `UNENFORCED` setting will + // have no effect and App Check will not work with that service. // "ENFORCED" - Firebase App Check is enforced for the service. The // service will reject any request that attempts to access your // project's resources if it does not have valid App Check token @@ -1810,7 +1814,11 @@ type GoogleFirebaseAppcheckV1betaService struct { // metrics can help you decide whether to enforce App Check on your // Firebase services. If your app has not launched yet, you should // enable enforcement immediately, since there are no outdated clients - // in use. + // in use. Some services require certain conditions to be met before + // they will work with App Check, such as requiring you to upgrade to a + // specific service tier. Until those requirements are met for a + // service, this `ENFORCED` setting will have no effect and App Check + // will not work with that service. EnforcementMode string `json:"enforcementMode,omitempty"` // Name: Required. The relative resource name of the service @@ -1820,7 +1828,9 @@ type GoogleFirebaseAppcheckV1betaService struct { // following service IDs are supported: * // `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * // `firebasedatabase.googleapis.com` (Firebase Realtime Database) * - // `firestore.googleapis.com` (Cloud Firestore) + // `firestore.googleapis.com` (Cloud Firestore) * + // `identitytoolkit.googleapis.com` (Firebase Authentication with + // Identity Platform) Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -1862,7 +1872,12 @@ type GoogleFirebaseAppcheckV1betaUpdateServiceRequest struct { // following service IDs are supported: * // `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * // `firebasedatabase.googleapis.com` (Firebase Realtime Database) * - // `firestore.googleapis.com` (Cloud Firestore) + // `firestore.googleapis.com` (Cloud Firestore) * + // `identitytoolkit.googleapis.com` (Firebase Authentication with + // Identity Platform) For Firebase Authentication to work with App + // Check, you must first upgrade to Firebase Authentication with + // Identity Platform + // (https://firebase.google.com/docs/auth#identity-platform). Service *GoogleFirebaseAppcheckV1betaService `json:"service,omitempty"` // UpdateMask: Required. A comma-separated list of names of fields in @@ -8971,7 +8986,9 @@ type ProjectsServicesGetCall struct { // Currently, the following service IDs are supported: * // `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * // `firebasedatabase.googleapis.com` (Firebase Realtime Database) * -// `firestore.googleapis.com` (Cloud Firestore). +// `firestore.googleapis.com` (Cloud Firestore) * +// `identitytoolkit.googleapis.com` (Firebase Authentication with +// Identity Platform). func (r *ProjectsServicesService) Get(name string) *ProjectsServicesGetCall { c := &ProjectsServicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -9087,7 +9104,7 @@ func (c *ProjectsServicesGetCall) Do(opts ...googleapi.CallOption) (*GoogleFireb // ], // "parameters": { // "name": { - // "description": "Required. The relative resource name of the Service to retrieve, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)", + // "description": "Required. The relative resource name of the Service to retrieve, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.com` (Firebase Authentication with Identity Platform)", // "location": "path", // "pattern": "^projects/[^/]+/services/[^/]+$", // "required": true, @@ -9332,7 +9349,9 @@ type ProjectsServicesPatchCall struct { // following service IDs are supported: * // `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * // `firebasedatabase.googleapis.com` (Firebase Realtime Database) * -// `firestore.googleapis.com` (Cloud Firestore). +// `firestore.googleapis.com` (Cloud Firestore) * +// `identitytoolkit.googleapis.com` (Firebase Authentication with +// Identity Platform). func (r *ProjectsServicesService) Patch(name string, googlefirebaseappcheckv1betaservice *GoogleFirebaseAppcheckV1betaService) *ProjectsServicesPatchCall { c := &ProjectsServicesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -9449,7 +9468,7 @@ func (c *ProjectsServicesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFir // ], // "parameters": { // "name": { - // "description": "Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)", + // "description": "Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.com` (Firebase Authentication with Identity Platform)", // "location": "path", // "pattern": "^projects/[^/]+/services/[^/]+$", // "required": true, diff --git a/osconfig/v1/osconfig-api.json b/osconfig/v1/osconfig-api.json index f66b7a40ef9..35beff7f32f 100644 --- a/osconfig/v1/osconfig-api.json +++ b/osconfig/v1/osconfig-api.json @@ -216,7 +216,7 @@ "reports": { "methods": { "get": { - "description": "Get the OS policy asssignment report for the specified Compute Engine VM instance.", + "description": "Get the OS policy assignment report for the specified Compute Engine VM instance.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/osPolicyAssignments/{osPolicyAssignmentsId}/report", "httpMethod": "GET", "id": "osconfig.projects.locations.instances.osPolicyAssignments.reports.get", @@ -241,7 +241,7 @@ ] }, "list": { - "description": "List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.", + "description": "List OS policy assignment reports for all Compute Engine VM instances in the specified zone.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/osPolicyAssignments/{osPolicyAssignmentsId}/reports", "httpMethod": "GET", "id": "osconfig.projects.locations.instances.osPolicyAssignments.reports.list", @@ -1000,7 +1000,7 @@ } } }, - "revision": "20230409", + "revision": "20230618", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "AptSettings": { diff --git a/osconfig/v1/osconfig-gen.go b/osconfig/v1/osconfig-gen.go index 013e6b65543..2227d35f04a 100644 --- a/osconfig/v1/osconfig-gen.go +++ b/osconfig/v1/osconfig-gen.go @@ -5007,7 +5007,7 @@ type ProjectsLocationsInstancesOsPolicyAssignmentsReportsGetCall struct { header_ http.Header } -// Get: Get the OS policy asssignment report for the specified Compute +// Get: Get the OS policy assignment report for the specified Compute // Engine VM instance. // // - name: API resource name for OS policy assignment report. Format: @@ -5122,7 +5122,7 @@ func (c *ProjectsLocationsInstancesOsPolicyAssignmentsReportsGetCall) Do(opts .. } return ret, nil // { - // "description": "Get the OS policy asssignment report for the specified Compute Engine VM instance.", + // "description": "Get the OS policy assignment report for the specified Compute Engine VM instance.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/osPolicyAssignments/{osPolicyAssignmentsId}/report", // "httpMethod": "GET", // "id": "osconfig.projects.locations.instances.osPolicyAssignments.reports.get", @@ -5160,7 +5160,7 @@ type ProjectsLocationsInstancesOsPolicyAssignmentsReportsListCall struct { header_ http.Header } -// List: List OS policy asssignment reports for all Compute Engine VM +// List: List OS policy assignment reports for all Compute Engine VM // instances in the specified zone. // // - parent: The parent resource name. Format: @@ -5313,7 +5313,7 @@ func (c *ProjectsLocationsInstancesOsPolicyAssignmentsReportsListCall) Do(opts . } return ret, nil // { - // "description": "List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.", + // "description": "List OS policy assignment reports for all Compute Engine VM instances in the specified zone.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/osPolicyAssignments/{osPolicyAssignmentsId}/reports", // "httpMethod": "GET", // "id": "osconfig.projects.locations.instances.osPolicyAssignments.reports.list", diff --git a/osconfig/v1alpha/osconfig-api.json b/osconfig/v1alpha/osconfig-api.json index a57239cdf2e..6bb7e4b6810 100644 --- a/osconfig/v1alpha/osconfig-api.json +++ b/osconfig/v1alpha/osconfig-api.json @@ -289,7 +289,7 @@ "reports": { "methods": { "get": { - "description": "Get the OS policy asssignment report for the specified Compute Engine VM instance.", + "description": "Get the OS policy assignment report for the specified Compute Engine VM instance.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/osPolicyAssignments/{osPolicyAssignmentsId}/report", "httpMethod": "GET", "id": "osconfig.projects.locations.instances.osPolicyAssignments.reports.get", @@ -314,7 +314,7 @@ ] }, "list": { - "description": "List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.", + "description": "List OS policy assignment reports for all Compute Engine VM instances in the specified zone.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/osPolicyAssignments/{osPolicyAssignmentsId}/reports", "httpMethod": "GET", "id": "osconfig.projects.locations.instances.osPolicyAssignments.reports.list", @@ -687,7 +687,7 @@ } } }, - "revision": "20230521", + "revision": "20230618", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "CVSSv3": { diff --git a/osconfig/v1alpha/osconfig-gen.go b/osconfig/v1alpha/osconfig-gen.go index 72224840982..b2ff9f1e15d 100644 --- a/osconfig/v1alpha/osconfig-gen.go +++ b/osconfig/v1alpha/osconfig-gen.go @@ -4314,7 +4314,7 @@ type ProjectsLocationsInstancesOsPolicyAssignmentsReportsGetCall struct { header_ http.Header } -// Get: Get the OS policy asssignment report for the specified Compute +// Get: Get the OS policy assignment report for the specified Compute // Engine VM instance. // // - name: API resource name for OS policy assignment report. Format: @@ -4429,7 +4429,7 @@ func (c *ProjectsLocationsInstancesOsPolicyAssignmentsReportsGetCall) Do(opts .. } return ret, nil // { - // "description": "Get the OS policy asssignment report for the specified Compute Engine VM instance.", + // "description": "Get the OS policy assignment report for the specified Compute Engine VM instance.", // "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/osPolicyAssignments/{osPolicyAssignmentsId}/report", // "httpMethod": "GET", // "id": "osconfig.projects.locations.instances.osPolicyAssignments.reports.get", @@ -4467,7 +4467,7 @@ type ProjectsLocationsInstancesOsPolicyAssignmentsReportsListCall struct { header_ http.Header } -// List: List OS policy asssignment reports for all Compute Engine VM +// List: List OS policy assignment reports for all Compute Engine VM // instances in the specified zone. // // - parent: The parent resource name. Format: @@ -4620,7 +4620,7 @@ func (c *ProjectsLocationsInstancesOsPolicyAssignmentsReportsListCall) Do(opts . } return ret, nil // { - // "description": "List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.", + // "description": "List OS policy assignment reports for all Compute Engine VM instances in the specified zone.", // "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/osPolicyAssignments/{osPolicyAssignmentsId}/reports", // "httpMethod": "GET", // "id": "osconfig.projects.locations.instances.osPolicyAssignments.reports.list", diff --git a/storage/v1/storage-api.json b/storage/v1/storage-api.json index edebc73ad4c..b0649447b71 100644 --- a/storage/v1/storage-api.json +++ b/storage/v1/storage-api.json @@ -26,7 +26,7 @@ "description": "Stores and retrieves potentially large, immutable data objects.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/storage/docs/json_api/", - "etag": "\"34333739363230323936363635393736363430\"", + "etag": "\"383236363234373537353532383237373333\"", "icons": { "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png", "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png" @@ -1311,7 +1311,7 @@ "type": "string" }, "object": { - "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -1357,7 +1357,7 @@ "type": "string" }, "object": { - "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -1399,7 +1399,7 @@ "type": "string" }, "object": { - "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -1444,7 +1444,7 @@ "type": "string" }, "object": { - "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -1493,7 +1493,7 @@ "type": "string" }, "object": { - "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -1545,7 +1545,7 @@ "type": "string" }, "object": { - "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -1588,7 +1588,7 @@ "type": "string" }, "destinationObject": { - "description": "Name of the new object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the new object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -1662,7 +1662,7 @@ ], "parameters": { "destinationBucket": { - "description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -1773,7 +1773,7 @@ "type": "string" }, "sourceObject": { - "description": "Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the source object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -1843,7 +1843,7 @@ "type": "string" }, "object": { - "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -1907,7 +1907,7 @@ "type": "string" }, "object": { - "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -1967,7 +1967,7 @@ "type": "string" }, "object": { - "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -2054,7 +2054,7 @@ "type": "string" }, "name": { - "description": "Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "query", "type": "string" }, @@ -2252,7 +2252,7 @@ "type": "string" }, "object": { - "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -2332,7 +2332,7 @@ "type": "string" }, "destinationObject": { - "description": "Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -2443,7 +2443,7 @@ "type": "string" }, "sourceObject": { - "description": "Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the source object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -2489,7 +2489,7 @@ "type": "string" }, "object": { - "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -2536,7 +2536,7 @@ "type": "string" }, "object": { - "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -2612,7 +2612,7 @@ "type": "string" }, "object": { - "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", "location": "path", "required": true, "type": "string" @@ -3010,7 +3010,7 @@ } } }, - "revision": "20230301", + "revision": "20230617", "rootUrl": "https://storage.googleapis.com/", "schemas": { "Bucket": { diff --git a/storage/v1/storage-gen.go b/storage/v1/storage-gen.go index e11bf2e6d36..9f04327d928 100644 --- a/storage/v1/storage-gen.go +++ b/storage/v1/storage-gen.go @@ -7260,7 +7260,8 @@ type ObjectAccessControlsDeleteCall struct { // user-emailAddress, group-groupId, group-emailAddress, allUsers, or // allAuthenticatedUsers. // - object: Name of the object. For information about how to URL encode -// object names to be path safe, see Encoding URI Path Parts. +// object names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectAccessControlsService) Delete(bucket string, object string, entity string) *ObjectAccessControlsDeleteCall { c := &ObjectAccessControlsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.bucket = bucket @@ -7375,7 +7376,7 @@ func (c *ObjectAccessControlsDeleteCall) Do(opts ...googleapi.CallOption) error // "type": "string" // }, // "object": { - // "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -7416,7 +7417,8 @@ type ObjectAccessControlsGetCall struct { // user-emailAddress, group-groupId, group-emailAddress, allUsers, or // allAuthenticatedUsers. // - object: Name of the object. For information about how to URL encode -// object names to be path safe, see Encoding URI Path Parts. +// object names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectAccessControlsService) Get(bucket string, object string, entity string) *ObjectAccessControlsGetCall { c := &ObjectAccessControlsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.bucket = bucket @@ -7569,7 +7571,7 @@ func (c *ObjectAccessControlsGetCall) Do(opts ...googleapi.CallOption) (*ObjectA // "type": "string" // }, // "object": { - // "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -7608,7 +7610,8 @@ type ObjectAccessControlsInsertCall struct { // // - bucket: Name of a bucket. // - object: Name of the object. For information about how to URL encode -// object names to be path safe, see Encoding URI Path Parts. +// object names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectAccessControlsService) Insert(bucket string, object string, objectaccesscontrol *ObjectAccessControl) *ObjectAccessControlsInsertCall { c := &ObjectAccessControlsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.bucket = bucket @@ -7745,7 +7748,7 @@ func (c *ObjectAccessControlsInsertCall) Do(opts ...googleapi.CallOption) (*Obje // "type": "string" // }, // "object": { - // "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -7787,7 +7790,8 @@ type ObjectAccessControlsListCall struct { // // - bucket: Name of a bucket. // - object: Name of the object. For information about how to URL encode -// object names to be path safe, see Encoding URI Path Parts. +// object names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectAccessControlsService) List(bucket string, object string) *ObjectAccessControlsListCall { c := &ObjectAccessControlsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.bucket = bucket @@ -7931,7 +7935,7 @@ func (c *ObjectAccessControlsListCall) Do(opts ...googleapi.CallOption) (*Object // "type": "string" // }, // "object": { - // "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -7974,7 +7978,8 @@ type ObjectAccessControlsPatchCall struct { // user-emailAddress, group-groupId, group-emailAddress, allUsers, or // allAuthenticatedUsers. // - object: Name of the object. For information about how to URL encode -// object names to be path safe, see Encoding URI Path Parts. +// object names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectAccessControlsService) Patch(bucket string, object string, entity string, objectaccesscontrol *ObjectAccessControl) *ObjectAccessControlsPatchCall { c := &ObjectAccessControlsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.bucket = bucket @@ -8120,7 +8125,7 @@ func (c *ObjectAccessControlsPatchCall) Do(opts ...googleapi.CallOption) (*Objec // "type": "string" // }, // "object": { - // "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -8166,7 +8171,8 @@ type ObjectAccessControlsUpdateCall struct { // user-emailAddress, group-groupId, group-emailAddress, allUsers, or // allAuthenticatedUsers. // - object: Name of the object. For information about how to URL encode -// object names to be path safe, see Encoding URI Path Parts. +// object names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectAccessControlsService) Update(bucket string, object string, entity string, objectaccesscontrol *ObjectAccessControl) *ObjectAccessControlsUpdateCall { c := &ObjectAccessControlsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.bucket = bucket @@ -8312,7 +8318,7 @@ func (c *ObjectAccessControlsUpdateCall) Do(opts ...googleapi.CallOption) (*Obje // "type": "string" // }, // "object": { - // "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -8357,7 +8363,7 @@ type ObjectsComposeCall struct { // objects. The destination object is stored in this bucket. // - destinationObject: Name of the new object. For information about // how to URL encode object names to be path safe, see Encoding URI -// Path Parts. +// Path Parts (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectsService) Compose(destinationBucket string, destinationObject string, composerequest *ComposeRequest) *ObjectsComposeCall { c := &ObjectsComposeCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.destinationBucket = destinationBucket @@ -8540,7 +8546,7 @@ func (c *ObjectsComposeCall) Do(opts ...googleapi.CallOption) (*Object, error) { // "type": "string" // }, // "destinationObject": { - // "description": "Name of the new object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the new object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -8625,7 +8631,8 @@ type ObjectsCopyCall struct { // - destinationBucket: Name of the bucket in which to store the new // object. Overrides the provided object metadata's bucket value, if // any.For information about how to URL encode object names to be path -// safe, see Encoding URI Path Parts. +// safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). // - destinationObject: Name of the new object. Required when the object // metadata is not otherwise provided. Overrides the object metadata's // name value, if any. @@ -8633,7 +8640,7 @@ type ObjectsCopyCall struct { // object. // - sourceObject: Name of the source object. For information about how // to URL encode object names to be path safe, see Encoding URI Path -// Parts. +// Parts (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectsService) Copy(sourceBucket string, sourceObject string, destinationBucket string, destinationObject string, object *Object) *ObjectsCopyCall { c := &ObjectsCopyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.sourceBucket = sourceBucket @@ -8894,7 +8901,7 @@ func (c *ObjectsCopyCall) Do(opts ...googleapi.CallOption) (*Object, error) { // ], // "parameters": { // "destinationBucket": { - // "description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -9005,7 +9012,7 @@ func (c *ObjectsCopyCall) Do(opts ...googleapi.CallOption) (*Object, error) { // "type": "string" // }, // "sourceObject": { - // "description": "Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the source object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -9049,7 +9056,8 @@ type ObjectsDeleteCall struct { // // - bucket: Name of the bucket in which the object resides. // - object: Name of the object. For information about how to URL encode -// object names to be path safe, see Encoding URI Path Parts. +// object names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectsService) Delete(bucket string, object string) *ObjectsDeleteCall { c := &ObjectsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.bucket = bucket @@ -9215,7 +9223,7 @@ func (c *ObjectsDeleteCall) Do(opts ...googleapi.CallOption) error { // "type": "string" // }, // "object": { - // "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -9252,7 +9260,8 @@ type ObjectsGetCall struct { // // - bucket: Name of the bucket in which the object resides. // - object: Name of the object. For information about how to URL encode -// object names to be path safe, see Encoding URI Path Parts. +// object names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectsService) Get(bucket string, object string) *ObjectsGetCall { c := &ObjectsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.bucket = bucket @@ -9484,7 +9493,7 @@ func (c *ObjectsGetCall) Do(opts ...googleapi.CallOption) (*Object, error) { // "type": "string" // }, // "object": { - // "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -9541,7 +9550,8 @@ type ObjectsGetIamPolicyCall struct { // // - bucket: Name of the bucket in which the object resides. // - object: Name of the object. For information about how to URL encode -// object names to be path safe, see Encoding URI Path Parts. +// object names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectsService) GetIamPolicy(bucket string, object string) *ObjectsGetIamPolicyCall { c := &ObjectsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.bucket = bucket @@ -9685,7 +9695,7 @@ func (c *ObjectsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, err // "type": "string" // }, // "object": { - // "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -9797,7 +9807,8 @@ func (c *ObjectsInsertCall) KmsKeyName(kmsKeyName string) *ObjectsInsertCall { // Name sets the optional parameter "name": Name of the object. Required // when the object metadata is not otherwise provided. Overrides the // object metadata's name value, if any. For information about how to -// URL encode object names to be path safe, see Encoding URI Path Parts. +// URL encode object names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). func (c *ObjectsInsertCall) Name(name string) *ObjectsInsertCall { c.urlParams_.Set("name", name) return c @@ -10107,7 +10118,7 @@ func (c *ObjectsInsertCall) Do(opts ...googleapi.CallOption) (*Object, error) { // "type": "string" // }, // "name": { - // "description": "Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "query", // "type": "string" // }, @@ -10517,7 +10528,8 @@ type ObjectsPatchCall struct { // // - bucket: Name of the bucket in which the object resides. // - object: Name of the object. For information about how to URL encode -// object names to be path safe, see Encoding URI Path Parts. +// object names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectsService) Patch(bucket string, object string, object2 *Object) *ObjectsPatchCall { c := &ObjectsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.bucket = bucket @@ -10756,7 +10768,7 @@ func (c *ObjectsPatchCall) Do(opts ...googleapi.CallOption) (*Object, error) { // "type": "string" // }, // "object": { - // "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -10839,12 +10851,13 @@ type ObjectsRewriteCall struct { // - destinationObject: Name of the new object. Required when the object // metadata is not otherwise provided. Overrides the object metadata's // name value, if any. For information about how to URL encode object -// names to be path safe, see Encoding URI Path Parts. +// names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). // - sourceBucket: Name of the bucket in which to find the source // object. // - sourceObject: Name of the source object. For information about how // to URL encode object names to be path safe, see Encoding URI Path -// Parts. +// Parts (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectsService) Rewrite(sourceBucket string, sourceObject string, destinationBucket string, destinationObject string, object *Object) *ObjectsRewriteCall { c := &ObjectsRewriteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.sourceBucket = sourceBucket @@ -11140,7 +11153,7 @@ func (c *ObjectsRewriteCall) Do(opts ...googleapi.CallOption) (*RewriteResponse, // "type": "string" // }, // "destinationObject": { - // "description": "Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -11251,7 +11264,7 @@ func (c *ObjectsRewriteCall) Do(opts ...googleapi.CallOption) (*RewriteResponse, // "type": "string" // }, // "sourceObject": { - // "description": "Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the source object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -11294,7 +11307,8 @@ type ObjectsSetIamPolicyCall struct { // // - bucket: Name of the bucket in which the object resides. // - object: Name of the object. For information about how to URL encode -// object names to be path safe, see Encoding URI Path Parts. +// object names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectsService) SetIamPolicy(bucket string, object string, policy *Policy) *ObjectsSetIamPolicyCall { c := &ObjectsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.bucket = bucket @@ -11431,7 +11445,7 @@ func (c *ObjectsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, err // "type": "string" // }, // "object": { - // "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -11475,7 +11489,8 @@ type ObjectsTestIamPermissionsCall struct { // // - bucket: Name of the bucket in which the object resides. // - object: Name of the object. For information about how to URL encode -// object names to be path safe, see Encoding URI Path Parts. +// object names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). // - permissions: Permissions to test. func (r *ObjectsService) TestIamPermissions(bucket string, object string, permissions []string) *ObjectsTestIamPermissionsCall { c := &ObjectsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -11622,7 +11637,7 @@ func (c *ObjectsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestI // "type": "string" // }, // "object": { - // "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" @@ -11671,7 +11686,8 @@ type ObjectsUpdateCall struct { // // - bucket: Name of the bucket in which the object resides. // - object: Name of the object. For information about how to URL encode -// object names to be path safe, see Encoding URI Path Parts. +// object names to be path safe, see Encoding URI Path Parts +// (http://cloud/storage/docs/request-endpoints#encoding). func (r *ObjectsService) Update(bucket string, object string, object2 *Object) *ObjectsUpdateCall { c := &ObjectsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.bucket = bucket @@ -11910,7 +11926,7 @@ func (c *ObjectsUpdateCall) Do(opts ...googleapi.CallOption) (*Object, error) { // "type": "string" // }, // "object": { - // "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + // "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).", // "location": "path", // "required": true, // "type": "string" diff --git a/streetviewpublish/v1/streetviewpublish-api.json b/streetviewpublish/v1/streetviewpublish-api.json index dd7b5810df1..25554ca1a2e 100644 --- a/streetviewpublish/v1/streetviewpublish-api.json +++ b/streetviewpublish/v1/streetviewpublish-api.json @@ -377,7 +377,7 @@ "parameterOrder": [], "parameters": { "filter": { - "description": "Optional. The filter expression. For example: `imagery_type=SPHERICAL`. The filters supported are: `imagery_type`, `processing_state`, `min_latitude`, `max_latitude`, `min_longitude`, `max_longitude`, `filename_query`, `min_capture_time_seconds`, and `max_capture_time_seconds`. See https://google.aip.dev/160 for more information. Filename queries should sent as a Phrase in order to support multiple words and special characters by adding escaped quotes. Ex: filename_query=\"example of a phrase.mp4\"", + "description": "Optional. The filter expression. For example: `imagery_type=SPHERICAL`. The filters supported are: `imagery_type`, `processing_state`, `min_latitude`, `max_latitude`, `min_longitude`, `max_longitude`, `filename_query`, `min_capture_time_seconds`, `max_capture_time_seconds`, and `takedown`. See https://google.aip.dev/160 for more information. Filename queries should sent as a Phrase in order to support multiple words and special characters by adding escaped quotes. Ex: filename_query=\"example of a phrase.mp4\"", "location": "query", "type": "string" }, @@ -534,7 +534,7 @@ } } }, - "revision": "20230611", + "revision": "20230618", "rootUrl": "https://streetviewpublish.googleapis.com/", "schemas": { "BatchDeletePhotosRequest": { diff --git a/streetviewpublish/v1/streetviewpublish-gen.go b/streetviewpublish/v1/streetviewpublish-gen.go index 38b5afbef51..44b799d9196 100644 --- a/streetviewpublish/v1/streetviewpublish-gen.go +++ b/streetviewpublish/v1/streetviewpublish-gen.go @@ -2985,10 +2985,10 @@ func (r *PhotoSequencesService) List() *PhotoSequencesListCall { // For example: `imagery_type=SPHERICAL`. The filters supported are: // `imagery_type`, `processing_state`, `min_latitude`, `max_latitude`, // `min_longitude`, `max_longitude`, `filename_query`, -// `min_capture_time_seconds`, and `max_capture_time_seconds`. See -// https://google.aip.dev/160 for more information. Filename queries -// should sent as a Phrase in order to support multiple words and -// special characters by adding escaped quotes. Ex: +// `min_capture_time_seconds`, `max_capture_time_seconds`, and +// `takedown`. See https://google.aip.dev/160 for more information. +// Filename queries should sent as a Phrase in order to support multiple +// words and special characters by adding escaped quotes. Ex: // filename_query="example of a phrase.mp4" func (c *PhotoSequencesListCall) Filter(filter string) *PhotoSequencesListCall { c.urlParams_.Set("filter", filter) @@ -3116,7 +3116,7 @@ func (c *PhotoSequencesListCall) Do(opts ...googleapi.CallOption) (*ListPhotoSeq // "parameterOrder": [], // "parameters": { // "filter": { - // "description": "Optional. The filter expression. For example: `imagery_type=SPHERICAL`. The filters supported are: `imagery_type`, `processing_state`, `min_latitude`, `max_latitude`, `min_longitude`, `max_longitude`, `filename_query`, `min_capture_time_seconds`, and `max_capture_time_seconds`. See https://google.aip.dev/160 for more information. Filename queries should sent as a Phrase in order to support multiple words and special characters by adding escaped quotes. Ex: filename_query=\"example of a phrase.mp4\"", + // "description": "Optional. The filter expression. For example: `imagery_type=SPHERICAL`. The filters supported are: `imagery_type`, `processing_state`, `min_latitude`, `max_latitude`, `min_longitude`, `max_longitude`, `filename_query`, `min_capture_time_seconds`, `max_capture_time_seconds`, and `takedown`. See https://google.aip.dev/160 for more information. Filename queries should sent as a Phrase in order to support multiple words and special characters by adding escaped quotes. Ex: filename_query=\"example of a phrase.mp4\"", // "location": "query", // "type": "string" // },