Skip to content

Commit

Permalink
feat(cloudsearch): update the api
Browse files Browse the repository at this point in the history
#### cloudsearch:v1

The following keys were deleted:
- schemas.AppId (Total Keys: 6)
- schemas.AvatarInfo (Total Keys: 3)
- schemas.CustomEmoji (Total Keys: 16)
- schemas.CustomerId (Total Keys: 3)
- schemas.DmId (Total Keys: 3)
- schemas.Emoji (Total Keys: 4)
- schemas.GroupId (Total Keys: 4)
- schemas.SpaceId (Total Keys: 3)
- schemas.SpaceInfo (Total Keys: 10)
- schemas.UserId (Total Keys: 6)

The following keys were added:
- resources.settings.resources.datasources.methods.patch (Total Keys: 14)
- resources.settings.resources.searchapplications.methods.patch (Total Keys: 12)
- schemas.AbuseReportingConfig (Total Keys: 4)
- schemas.AckInfo (Total Keys: 8)
- schemas.ActionParameter (Total Keys: 4)
- schemas.AllAuthenticatedUsersProto (Total Keys: 2)
- schemas.AppsDynamiteAnnotation (Total Keys: 30)
- schemas.AppsDynamiteAppId (Total Keys: 6)
- schemas.AppsDynamiteAttachment (Total Keys: 8)
- schemas.AppsDynamiteBabelMessageProps (Total Keys: 9)
- schemas.AppsDynamiteBabelPlaceholderMetadata (Total Keys: 12)
- schemas.AppsDynamiteBackendDlpScanSummary (Total Keys: 5)
- schemas.AppsDynamiteBackendLabelsCommunalLabelTag (Total Keys: 5)
- schemas.AppsDynamiteBackendLabelsPersonalLabelTag (Total Keys: 3)
- schemas.AppsDynamiteBotResponse (Total Keys: 5)
- schemas.AppsDynamiteCardCapabilityMetadata (Total Keys: 4)
- schemas.AppsDynamiteContentReport (Total Keys: 10)
- schemas.AppsDynamiteCustomEmojiMetadata (Total Keys: 3)
- schemas.AppsDynamiteCustomerId (Total Keys: 3)
- schemas.AppsDynamiteDataLossPreventionMetadata (Total Keys: 4)
- schemas.AppsDynamiteDmId (Total Keys: 3)
- schemas.AppsDynamiteDriveMetadata (Total Keys: 42)
- schemas.AppsDynamiteFormatMetadata (Total Keys: 5)
- schemas.AppsDynamiteFrontendBotInfo (Total Keys: 9)
- schemas.AppsDynamiteFrontendMember (Total Keys: 4)
- schemas.AppsDynamiteFrontendRoster (Total Keys: 8)
- schemas.AppsDynamiteFrontendUser (Total Keys: 15)
- schemas.AppsDynamiteGroupId (Total Keys: 4)
- schemas.AppsDynamiteGroupRetentionSettingsUpdatedMetaData (Total Keys: 4)
- schemas.AppsDynamiteGsuiteIntegrationMetadata (Total Keys: 10)
- schemas.AppsDynamiteIncomingWebhookChangedMetadata (Total Keys: 8)
- schemas.AppsDynamiteIntegrationConfigMutation (Total Keys: 6)
- schemas.AppsDynamiteIntegrationConfigUpdatedMetadata (Total Keys: 5)
- schemas.AppsDynamiteInviteeInfo (Total Keys: 4)
- schemas.AppsDynamiteMemberId (Total Keys: 4)
- schemas.AppsDynamiteMembershipChangedMetadata (Total Keys: 17)
- schemas.AppsDynamiteMessage (Total Keys: 83)
- schemas.AppsDynamitePinnedItemId (Total Keys: 3)
- schemas.AppsDynamitePrivateMessageInfo (Total Keys: 12)
- schemas.AppsDynamiteQuotedMessageMetadata (Total Keys: 23)
- schemas.AppsDynamiteReadReceiptsSettingsUpdatedMetadata (Total Keys: 3)
- schemas.AppsDynamiteRequiredMessageFeaturesMetadata (Total Keys: 4)
- schemas.AppsDynamiteRoomUpdatedMetadata (Total Keys: 17)
- schemas.AppsDynamiteRosterId (Total Keys: 3)
- schemas.AppsDynamiteSharedAction (Total Keys: 11)
- schemas.AppsDynamiteSharedActivityFeedAnnotationData (Total Keys: 12)
- schemas.AppsDynamiteSharedAppProfile (Total Keys: 4)
- schemas.AppsDynamiteSharedAssistantAnnotationData (Total Keys: 4)
- schemas.AppsDynamiteSharedAssistantDebugContext (Total Keys: 3)
- schemas.AppsDynamiteSharedAssistantFeedbackContext (Total Keys: 9)
- schemas.AppsDynamiteSharedAssistantSessionContext (Total Keys: 3)
- schemas.AppsDynamiteSharedAssistantSuggestion (Total Keys: 7)
- schemas.AppsDynamiteSharedAssistantUnfulfillableRequest (Total Keys: 2)
- schemas.AppsDynamiteSharedAvatarInfo (Total Keys: 3)
- schemas.AppsDynamiteSharedBackendUploadMetadata (Total Keys: 20)
- schemas.AppsDynamiteSharedBorderStyle (Total Keys: 6)
- schemas.AppsDynamiteSharedButton (Total Keys: 12)
- schemas.AppsDynamiteSharedCalendarEventAnnotationData (Total Keys: 16)
- schemas.AppsDynamiteSharedCallAnnotationData (Total Keys: 6)
- schemas.AppsDynamiteSharedCallMetadata (Total Keys: 3)
- schemas.AppsDynamiteSharedCard (Total Keys: 28)
- schemas.AppsDynamiteSharedChatItem (Total Keys: 30)
- schemas.AppsDynamiteSharedColumns (Total Keys: 21)
- schemas.AppsDynamiteSharedContentReportType (Total Keys: 3)
- schemas.AppsDynamiteSharedCustomEmoji (Total Keys: 16)
- schemas.AppsDynamiteSharedDateTimePicker (Total Keys: 10)
- schemas.AppsDynamiteSharedDecoratedText (Total Keys: 19)
- schemas.AppsDynamiteSharedDimension (Total Keys: 6)
- schemas.AppsDynamiteSharedDivider (Total Keys: 2)
- schemas.AppsDynamiteSharedDlpMetricsMetadata (Total Keys: 3)
- schemas.AppsDynamiteSharedDocument (Total Keys: 7)
- schemas.AppsDynamiteSharedEmoji (Total Keys: 4)
- schemas.AppsDynamiteSharedFindDocumentSuggestion (Total Keys: 5)
- schemas.AppsDynamiteSharedGrid (Total Keys: 14)
- schemas.AppsDynamiteSharedGroupDetails (Total Keys: 3)
- schemas.AppsDynamiteSharedGroupVisibility (Total Keys: 3)
- schemas.AppsDynamiteSharedIcon (Total Keys: 5)
- schemas.AppsDynamiteSharedImage (Total Keys: 15)
- schemas.AppsDynamiteSharedJustification (Total Keys: 12)
- schemas.AppsDynamiteSharedMeetMetadata (Total Keys: 3)
- schemas.AppsDynamiteSharedMessageInfo (Total Keys: 5)
- schemas.AppsDynamiteSharedMessageIntegrationPayload (Total Keys: 6)
- schemas.AppsDynamiteSharedOnClick (Total Keys: 5)
- schemas.AppsDynamiteSharedOpenLink (Total Keys: 19)
- schemas.AppsDynamiteSharedOrganizationInfo (Total Keys: 9)
- schemas.AppsDynamiteSharedOriginAppSuggestion (Total Keys: 4)
- schemas.AppsDynamiteSharedReaction (Total Keys: 8)
- schemas.AppsDynamiteSharedRetentionSettings (Total Keys: 5)
- schemas.AppsDynamiteSharedSelectionInput (Total Keys: 13)
- schemas.AppsDynamiteSharedSpaceInfo (Total Keys: 10)
- schemas.AppsDynamiteSharedSuggestions (Total Keys: 7)
- schemas.AppsDynamiteSharedTasksAnnotationData (Total Keys: 28)
- schemas.AppsDynamiteSharedTasksMessageIntegrationPayload (Total Keys: 2)
- schemas.AppsDynamiteSharedTextInput (Total Keys: 10)
- schemas.AppsDynamiteSharedTextParagraph (Total Keys: 3)
- schemas.AppsDynamiteSharedUserBlockRelationship (Total Keys: 4)
- schemas.AppsDynamiteSharedVideoReference (Total Keys: 6)
- schemas.AppsDynamiteSharedWidget (Total Keys: 13)
- schemas.AppsDynamiteSlashCommandMetadata (Total Keys: 9)
- schemas.AppsDynamiteSpaceId (Total Keys: 3)
- schemas.AppsDynamiteTombstoneMetadata (Total Keys: 3)
- schemas.AppsDynamiteTopicId (Total Keys: 4)
- schemas.AppsDynamiteUploadMetadata (Total Keys: 14)
- schemas.AppsDynamiteUserId (Total Keys: 6)
- schemas.AppsDynamiteUserMentionMetadata (Total Keys: 7)
- schemas.AppsDynamiteV1ApiCompatV1Action (Total Keys: 13)
- schemas.AppsDynamiteV1ApiCompatV1Attachment (Total Keys: 21)
- schemas.AppsDynamiteV1ApiCompatV1Field (Total Keys: 4)
- schemas.AppsDynamiteVideoCallMetadata (Total Keys: 5)
- schemas.AppsDynamiteYoutubeMetadata (Total Keys: 6)
- schemas.Attachment (Total Keys: 7)
- schemas.AuthorizedItemId (Total Keys: 4)
- schemas.AutoComplete (Total Keys: 7)
- schemas.BorderStyle (Total Keys: 6)
- schemas.BotMessageMetadata (Total Keys: 2)
- schemas.BroadcastAccess (Total Keys: 3)
- schemas.BroadcastSessionInfo (Total Keys: 7)
- schemas.BroadcastStats (Total Keys: 4)
- schemas.Button (Total Keys: 4)
- schemas.CalendarEventMetadata (Total Keys: 2)
- schemas.CallInfo (Total Keys: 39)
- schemas.CallSettings (Total Keys: 12)
- schemas.CapTokenHolderProto (Total Keys: 4)
- schemas.Card (Total Keys: 19)
- schemas.ChatContentExtension (Total Keys: 13)
- schemas.ChatProto (Total Keys: 5)
- schemas.CircleProto (Total Keys: 8)
- schemas.CloudPrincipalProto (Total Keys: 3)
- schemas.CoActivity (Total Keys: 3)
- schemas.Collaboration (Total Keys: 5)
- schemas.Color (Total Keys: 10)
- schemas.ContactGroupProto (Total Keys: 8)
- schemas.ContextualAddOnMarkup (Total Keys: 5)
- schemas.CseInfo (Total Keys: 5)
- schemas.DateTimePicker (Total Keys: 10)
- schemas.DeepLinkData (Total Keys: 7)
- schemas.DeleteMetadata (Total Keys: 2)
- schemas.DeliveryMedium (Total Keys: 4)
- schemas.Divider (Total Keys: 2)
- schemas.DocumentInfo (Total Keys: 3)
- schemas.DynamitePlaceholderMetadata (Total Keys: 9)
- schemas.EditMetadata (Total Keys: 2)
- schemas.EmailOwnerProto (Total Keys: 3)
- schemas.EmbedClientItem (Total Keys: 11)
- schemas.EventAnnotation (Total Keys: 5)
- schemas.EventProto (Total Keys: 5)
- schemas.FixedFooter (Total Keys: 6)
- schemas.FormAction (Total Keys: 7)
- schemas.Formatting (Total Keys: 8)
- schemas.GaiaGroupProto (Total Keys: 4)
- schemas.GaiaUserProto (Total Keys: 4)
- schemas.GatewayAccess (Total Keys: 3)
- schemas.GatewaySipAccess (Total Keys: 4)
- schemas.GoogleChatV1ContextualAddOnMarkup (Total Keys: 24)
- schemas.GoogleChatV1WidgetMarkup (Total Keys: 52)
- schemas.Grid (Total Keys: 14)
- schemas.GroupLinkSharingModificationEvent (Total Keys: 3)
- schemas.HangoutEvent (Total Keys: 8)
- schemas.HashtagData (Total Keys: 3)
- schemas.HostProto (Total Keys: 4)
- schemas.IconImage (Total Keys: 5)
- schemas.Image (Total Keys: 26)
- schemas.InviteAcceptedEvent (Total Keys: 4)
- schemas.KeyValue (Total Keys: 14)
- schemas.LanguageConfig (Total Keys: 4)
- schemas.LdapGroupProto (Total Keys: 3)
- schemas.LdapUserProto (Total Keys: 3)
- schemas.LinkData (Total Keys: 6)
- schemas.MdbGroupProto (Total Keys: 3)
- schemas.MdbUserProto (Total Keys: 5)
- schemas.MeetingSpace (Total Keys: 16)
- schemas.MembershipChangeEvent (Total Keys: 6)
- schemas.Menu (Total Keys: 12)
- schemas.MessageContent (Total Keys: 6)
- schemas.OAuthConsumerProto (Total Keys: 3)
- schemas.OnClick (Total Keys: 6)
- schemas.OpenLink (Total Keys: 5)
- schemas.OtrChatMessageEvent (Total Keys: 7)
- schemas.OtrModificationEvent (Total Keys: 6)
- schemas.PackagingServiceClient (Total Keys: 6)
- schemas.PaygateInfo (Total Keys: 7)
- schemas.PhoneAccess (Total Keys: 5)
- schemas.PostiniUserProto (Total Keys: 4)
- schemas.Presenter (Total Keys: 6)
- schemas.PrincipalProto (Total Keys: 29)
- schemas.Provenance (Total Keys: 8)
- schemas.RbacRoleProto (Total Keys: 6)
- schemas.RbacSubjectProto (Total Keys: 3)
- schemas.ReactionInfo (Total Keys: 3)
- schemas.RecordingEvent (Total Keys: 4)
- schemas.RecordingInfo (Total Keys: 8)
- schemas.RecordingSessionInfo (Total Keys: 5)
- schemas.RenameEvent (Total Keys: 4)
- schemas.ResourceRoleProto (Total Keys: 7)
- schemas.Section (Total Keys: 7)
- schemas.Segment (Total Keys: 8)
- schemas.SelectionControl (Total Keys: 8)
- schemas.SelectionItem (Total Keys: 5)
- schemas.SessionEvent (Total Keys: 4)
- schemas.SessionStateInfo (Total Keys: 13)
- schemas.Settings (Total Keys: 11)
- schemas.SigningKeyPossessorProto (Total Keys: 8)
- schemas.SimpleSecretHolderProto (Total Keys: 3)
- schemas.SimpleSecretLabelProto (Total Keys: 9)
- schemas.SocialGraphNodeProto (Total Keys: 4)
- schemas.SquareProto (Total Keys: 6)
- schemas.StoredParticipantId (Total Keys: 4)
- schemas.StreamViewerStats (Total Keys: 4)
- schemas.StreamingSessionInfo (Total Keys: 10)
- schemas.SwitchWidget (Total Keys: 7)
- schemas.TasksMetadata (Total Keys: 2)
- schemas.TextButton (Total Keys: 8)
- schemas.TextField (Total Keys: 13)
- schemas.TextKeyValue (Total Keys: 5)
- schemas.TextParagraph (Total Keys: 3)
- schemas.Toolbar (Total Keys: 4)
- schemas.TranscriptionSessionInfo (Total Keys: 4)
- schemas.TransientData (Total Keys: 2)
- schemas.UniversalPhoneAccess (Total Keys: 3)
- schemas.UserDisplayInfo (Total Keys: 3)
- schemas.UserInfo (Total Keys: 9)
- schemas.UserMentionData (Total Keys: 7)
- schemas.VideoCallMetadata (Total Keys: 2)
- schemas.WhiteboardInfo (Total Keys: 5)
- schemas.WidgetMarkup (Total Keys: 16)
- schemas.WrappedResourceKey (Total Keys: 3)
- schemas.YouTubeBroadcastSessionInfo (Total Keys: 6)
- schemas.YouTubeBroadcastStats (Total Keys: 4)
- schemas.YouTubeLiveBroadcastEvent (Total Keys: 4)
- schemas.YoutubeUserProto (Total Keys: 4)
- schemas.ZwiebackSessionProto (Total Keys: 4)
  • Loading branch information
yoshi-automation committed Aug 9, 2022
1 parent 7463513 commit c5f6895
Show file tree
Hide file tree
Showing 3 changed files with 11,021 additions and 1,034 deletions.
64 changes: 64 additions & 0 deletions docs/dyn/cloudsearch_v1.settings.datasources.html
Expand Up @@ -92,6 +92,9 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#patch">patch(name, body=None, debugOptions_enableDebugging=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates a datasource. **Note:** This API requires an admin account to execute.</p>
<p class="toc_element">
<code><a href="#update">update(name, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates a datasource. **Note:** This API requires an admin account to execute.</p>
Expand Down Expand Up @@ -292,6 +295,67 @@ <h3>Method Details</h3>
</pre>
</div>

<div class="method">
<code class="details" id="patch">patch(name, body=None, debugOptions_enableDebugging=None, x__xgafv=None)</code>
<pre>Updates a datasource. **Note:** This API requires an admin account to execute.

Args:
name: string, The name of the datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource. (required)
body: object, The request body.
The object takes the form of:

{ # 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.
&quot;disableModifications&quot;: True or False, # 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.
&quot;disableServing&quot;: True or False, # Disable serving any search or assist results.
&quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the datasource The maximum length is 300 characters.
&quot;indexingServiceAccounts&quot;: [ # List of service accounts that have indexing access.
&quot;A String&quot;,
],
&quot;itemsVisibility&quot;: [ # 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.
{
&quot;gsuiteDomain&quot;: True or False, # This principal represents all users of the Google Workspace domain of the customer.
&quot;gsuiteGroupEmail&quot;: &quot;A String&quot;, # This principal references a Google Workspace group name.
&quot;gsuiteUserEmail&quot;: &quot;A String&quot;, # This principal references a Google Workspace user account.
},
],
&quot;name&quot;: &quot;A String&quot;, # The name of the datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource.
&quot;operationIds&quot;: [ # IDs of the Long Running Operations (LROs) currently running for this schema.
&quot;A String&quot;,
],
&quot;returnThumbnailUrls&quot;: True or False, # Can a user request to get thumbnail URI for Items indexed in this data source.
&quot;shortName&quot;: &quot;A String&quot;, # A short name or alias for the source. This value will be used to match the &#x27;source&#x27; operator. For example, if the short name is *&lt;value&gt;* then queries like *source:&lt;value&gt;* 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 &#x27;google&#x27; 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.
}

debugOptions_enableDebugging: boolean, If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # This resource represents a long-running operation that is the result of a network API call.
&quot;done&quot;: True or False, # 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.
&quot;error&quot;: { # 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). # The error result of the operation in case of failure or cancellation.
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
],
&quot;message&quot;: &quot;A String&quot;, # 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.
},
&quot;metadata&quot;: { # 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.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
&quot;name&quot;: &quot;A String&quot;, # 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}`.
&quot;response&quot;: { # 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`.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
}</pre>
</div>

<div class="method">
<code class="details" id="update">update(name, body=None, x__xgafv=None)</code>
<pre>Updates a datasource. **Note:** This API requires an admin account to execute.
Expand Down

0 comments on commit c5f6895

Please sign in to comment.