Skip to content

Commit

Permalink
chore: update DiscoveryEngineTargetSite for URI as acronym
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsb committed Dec 27, 2024
1 parent 3fceed2 commit 058f6b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions apis/discoveryengine/v1alpha1/targetsite_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type DiscoveryEngineDataStoreTargetSiteSpec struct {

// Required. Input only. The user provided URI pattern from which the
// `generated_uri_pattern` is generated.
ProvidedUriPattern *string `json:"providedUriPattern,omitempty"`
ProvidedUriPattern *string `json:"providedURIPattern,omitempty"`

// The type of the target site, e.g., whether the site is to be included or
// excluded.
Expand Down Expand Up @@ -66,10 +66,10 @@ type DiscoveryEngineDataStoreTargetSiteStatus struct {
// +kcc:proto=google.cloud.discoveryengine.v1.TargetSite
type DiscoveryEngineDataStoreTargetSiteObservedState struct {
// Output only. This is system-generated based on the provided_uri.
GeneratedUriPattern *string `json:"generatedUriPattern,omitempty"`
GeneratedUriPattern *string `json:"generatedURIPattern,omitempty"`

// Output only. Root domain of the provided_uri.
RootDomainUri *string `json:"rootDomainUri,omitempty"`
RootDomainUri *string `json:"rootDomainURI,omitempty"`

// Output only. Site ownership and validity verification status.
SiteVerificationInfo *SiteVerificationInfo `json:"siteVerificationInfo,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ spec:
always normalized to generate the URI pattern to be used by the
search engine.
type: boolean
providedUriPattern:
providedURIPattern:
description: Required. Input only. The user provided URI pattern from
which the `generated_uri_pattern` is generated.
type: string
Expand Down Expand Up @@ -167,14 +167,14 @@ spec:
type: integer
type: object
type: object
generatedUriPattern:
generatedURIPattern:
description: Output only. This is system-generated based on the
provided_uri.
type: string
indexingStatus:
description: Output only. Indexing status.
type: string
rootDomainUri:
rootDomainURI:
description: Output only. Root domain of the provided_uri.
type: string
siteVerificationInfo:
Expand Down
3 changes: 0 additions & 3 deletions tests/apichecks/testdata/exceptions/acronyms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,6 @@
[acronyms] crd=dialogflowcxpages.dialogflowcx.cnrm.cloud.google.com version=v1alpha1: field ".spec.form.parameters[].fillBehavior.initialPromptFulfillment.messages[].playAudio.audioUri" should be ".spec.form.parameters[].fillBehavior.initialPromptFulfillment.messages[].playAudio.audioURI"
[acronyms] crd=dialogflowcxpages.dialogflowcx.cnrm.cloud.google.com version=v1alpha1: field ".spec.form.parameters[].fillBehavior.repromptEventHandlers[].triggerFulfillment.messages[].playAudio.audioUri" should be ".spec.form.parameters[].fillBehavior.repromptEventHandlers[].triggerFulfillment.messages[].playAudio.audioURI"
[acronyms] crd=dialogflowcxpages.dialogflowcx.cnrm.cloud.google.com version=v1alpha1: field ".spec.transitionRoutes[].triggerFulfillment.messages[].playAudio.audioUri" should be ".spec.transitionRoutes[].triggerFulfillment.messages[].playAudio.audioURI"
[acronyms] crd=discoveryenginedatastoretargetsites.discoveryengine.cnrm.cloud.google.com version=v1alpha1: field ".spec.providedUriPattern" should be ".spec.providedURIPattern"
[acronyms] crd=discoveryenginedatastoretargetsites.discoveryengine.cnrm.cloud.google.com version=v1alpha1: field ".status.observedState.generatedUriPattern" should be ".status.observedState.generatedURIPattern"
[acronyms] crd=discoveryenginedatastoretargetsites.discoveryengine.cnrm.cloud.google.com version=v1alpha1: field ".status.observedState.rootDomainUri" should be ".status.observedState.rootDomainURI"
[acronyms] crd=dlpdeidentifytemplates.dlp.cnrm.cloud.google.com version=v1beta1: field ".status.locationId" should be ".status.locationID"
[acronyms] crd=dlpinspecttemplates.dlp.cnrm.cloud.google.com version=v1beta1: field ".status.locationId" should be ".status.locationID"
[acronyms] crd=dlpjobtriggers.dlp.cnrm.cloud.google.com version=v1beta1: field ".spec.inspectJob.storageConfig.datastoreOptions.partitionId" should be ".spec.inspectJob.storageConfig.datastoreOptions.partitionID"
Expand Down

0 comments on commit 058f6b2

Please sign in to comment.