From 597995c005371797cba1357406a8b83cf447e345 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 30 Jul 2023 00:24:35 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2091) --- connectors/v1/connectors-api.json | 28 +++++----- connectors/v1/connectors-gen.go | 51 +++++++++---------- .../v1beta1/networkservices-api.json | 6 +-- .../v1beta1/networkservices-gen.go | 9 +++- 4 files changed, 47 insertions(+), 47 deletions(-) diff --git a/connectors/v1/connectors-api.json b/connectors/v1/connectors-api.json index ea812fbae7a..cf760d10763 100644 --- a/connectors/v1/connectors-api.json +++ b/connectors/v1/connectors-api.json @@ -666,7 +666,7 @@ ], "parameters": { "filter": { - "description": "Filter. https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering.", + "description": "Filter.", "location": "query", "type": "string" }, @@ -953,7 +953,7 @@ ], "parameters": { "filter": { - "description": "Filter. https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering.", + "description": "Filter.", "location": "query", "type": "string" }, @@ -1183,7 +1183,7 @@ ], "parameters": { "filter": { - "description": "Filter. https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering.", + "description": "Filter.", "location": "query", "type": "string" }, @@ -1773,7 +1773,7 @@ } } }, - "revision": "20230712", + "revision": "20230724", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { @@ -1933,7 +1933,7 @@ "id": "AuthorizationCodeLink", "properties": { "clientId": { - "description": "The client ID assigned to the GCP Connectors OAuth app for the connector data source.", + "description": "The client ID assigned to the Google Cloud Connectors OAuth app for the connector data source.", "type": "string" }, "enablePkce": { @@ -1941,7 +1941,7 @@ "type": "boolean" }, "scopes": { - "description": "The scopes for which the user will authorize GCP Connectors on the connector data source.", + "description": "The scopes for which the user will authorize Google Cloud Connectors on the connector data source.", "items": { "type": "string" }, @@ -2226,7 +2226,7 @@ "description": "Optional. Node configuration for the connection." }, "serviceAccount": { - "description": "Optional. Service account needed for runtime plane to access GCP resources.", + "description": "Optional. Service account needed for runtime plane to access Google Cloud resources.", "type": "string" }, "serviceDirectory": { @@ -4310,7 +4310,7 @@ "id": "Resource", "properties": { "pathTemplate": { - "description": "Template to uniquely represent a GCP resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.", + "description": "Template to uniquely represent a Google Cloud resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.", "type": "string" }, "type": { @@ -4324,10 +4324,10 @@ ], "enumDescriptions": [ "Value type is not specified.", - "GCP Project Resource.", - "Any GCP Resource which is identified uniquely by IAM.", - "GCP Secret Resource.", - "GCP Secret Version Resource." + "Google Cloud Project Resource.", + "Any Google Cloud Resource which is identified uniquely by IAM.", + "Google Cloud Secret Resource.", + "Google Cloud Secret Version Resource." ], "type": "string" } @@ -4501,7 +4501,7 @@ "type": "object" }, "RoleGrant": { - "description": "This configuration defines all the Cloud IAM roles that needs to be granted to a particular GCP resource for the selected principal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a 'grant' button to do the same on behalf of the user.", + "description": "This configuration defines all the Cloud IAM roles that needs to be granted to a particular Google Cloud resource for the selected principal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a 'grant' button to do the same on behalf of the user.", "id": "RoleGrant", "properties": { "helperTextTemplate": { @@ -4941,7 +4941,7 @@ "type": "object" }, "SupportedRuntimeFeatures": { - "description": "Supported runtime features of a connector version. This is passed to the management layer to add a new connector version by the connector developer. Details about how this proto is passed to the management layer is covered in this doc - go/runtime-manifest.", + "description": "Supported runtime features of a connector version.", "id": "SupportedRuntimeFeatures", "properties": { "actionApis": { diff --git a/connectors/v1/connectors-gen.go b/connectors/v1/connectors-gen.go index 6cce3145389..b545cbbe5f9 100644 --- a/connectors/v1/connectors-gen.go +++ b/connectors/v1/connectors-gen.go @@ -529,15 +529,15 @@ func (s *AuthConfigTemplate) MarshalJSON() ([]byte, error) { // required to render an authorization link for the OAuth Authorization // Code Flow. type AuthorizationCodeLink struct { - // ClientId: The client ID assigned to the GCP Connectors OAuth app for - // the connector data source. + // ClientId: The client ID assigned to the Google Cloud Connectors OAuth + // app for the connector data source. ClientId string `json:"clientId,omitempty"` // EnablePkce: Whether to enable PKCE for the auth code flow. EnablePkce bool `json:"enablePkce,omitempty"` - // Scopes: The scopes for which the user will authorize GCP Connectors - // on the connector data source. + // Scopes: The scopes for which the user will authorize Google Cloud + // Connectors on the connector data source. Scopes []string `json:"scopes,omitempty"` // Uri: The base URI the user must click to trigger the authorization @@ -869,7 +869,7 @@ type Connection struct { NodeConfig *NodeConfig `json:"nodeConfig,omitempty"` // ServiceAccount: Optional. Service account needed for runtime plane to - // access GCP resources. + // access Google Cloud resources. ServiceAccount string `json:"serviceAccount,omitempty"` // ServiceDirectory: Output only. The name of the Service Directory @@ -3596,20 +3596,21 @@ type RepairEventingRequest struct { // Resource: Resource definition type Resource struct { - // PathTemplate: Template to uniquely represent a GCP resource in a - // format IAM expects This is a template that can have references to - // other values provided in the config variable template. + // PathTemplate: Template to uniquely represent a Google Cloud resource + // in a format IAM expects This is a template that can have references + // to other values provided in the config variable template. PathTemplate string `json:"pathTemplate,omitempty"` // Type: Different types of resource supported. // // Possible values: // "TYPE_UNSPECIFIED" - Value type is not specified. - // "GCP_PROJECT" - GCP Project Resource. - // "GCP_RESOURCE" - Any GCP Resource which is identified uniquely by - // IAM. - // "GCP_SECRETMANAGER_SECRET" - GCP Secret Resource. - // "GCP_SECRETMANAGER_SECRET_VERSION" - GCP Secret Version Resource. + // "GCP_PROJECT" - Google Cloud Project Resource. + // "GCP_RESOURCE" - Any Google Cloud Resource which is identified + // uniquely by IAM. + // "GCP_SECRETMANAGER_SECRET" - Google Cloud Secret Resource. + // "GCP_SECRETMANAGER_SECRET_VERSION" - Google Cloud Secret Version + // Resource. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "PathTemplate") to @@ -3727,11 +3728,11 @@ type RetryEventSubscriptionRequest struct { } // RoleGrant: This configuration defines all the Cloud IAM roles that -// needs to be granted to a particular GCP resource for the selected -// principal like service account. These configurations will let UI -// display to customers what IAM roles need to be granted by them. Or -// these configurations can be used by the UI to render a 'grant' button -// to do the same on behalf of the user. +// needs to be granted to a particular Google Cloud resource for the +// selected principal like service account. These configurations will +// let UI display to customers what IAM roles need to be granted by +// them. Or these configurations can be used by the UI to render a +// 'grant' button to do the same on behalf of the user. type RoleGrant struct { // HelperTextTemplate: Template that UI can use to provide helper text // to customers. @@ -4285,10 +4286,7 @@ func (s *Status) MarshalJSON() ([]byte, error) { } // SupportedRuntimeFeatures: Supported runtime features of a connector -// version. This is passed to the management layer to add a new -// connector version by the connector developer. Details about how this -// proto is passed to the management layer is covered in this doc - -// go/runtime-manifest. +// version. type SupportedRuntimeFeatures struct { // ActionApis: Specifies if the connector supports action apis like // 'executeAction'. @@ -7163,7 +7161,6 @@ func (r *ProjectsLocationsConnectionsEventSubscriptionsService) List(parent stri } // Filter sets the optional parameter "filter": Filter. -// https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering. func (c *ProjectsLocationsConnectionsEventSubscriptionsListCall) Filter(filter string) *ProjectsLocationsConnectionsEventSubscriptionsListCall { c.urlParams_.Set("filter", filter) return c @@ -7295,7 +7292,7 @@ func (c *ProjectsLocationsConnectionsEventSubscriptionsListCall) Do(opts ...goog // ], // "parameters": { // "filter": { - // "description": "Filter. https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering.", + // "description": "Filter.", // "location": "query", // "type": "string" // }, @@ -8529,7 +8526,6 @@ func (r *ProjectsLocationsEndpointAttachmentsService) List(parent string) *Proje } // Filter sets the optional parameter "filter": Filter. -// https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering. func (c *ProjectsLocationsEndpointAttachmentsListCall) Filter(filter string) *ProjectsLocationsEndpointAttachmentsListCall { c.urlParams_.Set("filter", filter) return c @@ -8661,7 +8657,7 @@ func (c *ProjectsLocationsEndpointAttachmentsListCall) Do(opts ...googleapi.Call // ], // "parameters": { // "filter": { - // "description": "Filter. https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering.", + // "description": "Filter.", // "location": "query", // "type": "string" // }, @@ -9643,7 +9639,6 @@ func (r *ProjectsLocationsGlobalManagedZonesService) List(parent string) *Projec } // Filter sets the optional parameter "filter": Filter. -// https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering. func (c *ProjectsLocationsGlobalManagedZonesListCall) Filter(filter string) *ProjectsLocationsGlobalManagedZonesListCall { c.urlParams_.Set("filter", filter) return c @@ -9775,7 +9770,7 @@ func (c *ProjectsLocationsGlobalManagedZonesListCall) Do(opts ...googleapi.CallO // ], // "parameters": { // "filter": { - // "description": "Filter. https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering.", + // "description": "Filter.", // "location": "query", // "type": "string" // }, diff --git a/networkservices/v1beta1/networkservices-api.json b/networkservices/v1beta1/networkservices-api.json index d8facfebf25..d8ed46fe2c3 100644 --- a/networkservices/v1beta1/networkservices-api.json +++ b/networkservices/v1beta1/networkservices-api.json @@ -2119,7 +2119,7 @@ } } }, - "revision": "20230619", + "revision": "20230724", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -3082,7 +3082,7 @@ }, "requestHeaderModifier": { "$ref": "HttpRouteHeaderModifier", - "description": "The specification for modifying the headers of a matching request prior to delivery of the request to the destination." + "description": "The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration." }, "requestMirrorPolicy": { "$ref": "HttpRouteRequestMirrorPolicy", @@ -3090,7 +3090,7 @@ }, "responseHeaderModifier": { "$ref": "HttpRouteHeaderModifier", - "description": "The specification for modifying the headers of a response prior to sending the response back to the client." + "description": "The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration." }, "retryPolicy": { "$ref": "HttpRouteRetryPolicy", diff --git a/networkservices/v1beta1/networkservices-gen.go b/networkservices/v1beta1/networkservices-gen.go index 648e4e78cc9..304db4b7d90 100644 --- a/networkservices/v1beta1/networkservices-gen.go +++ b/networkservices/v1beta1/networkservices-gen.go @@ -1922,7 +1922,9 @@ type HttpRouteRouteAction struct { // RequestHeaderModifier: The specification for modifying the headers of // a matching request prior to delivery of the request to the - // destination. + // destination. If HeaderModifiers are set on both the Destination and + // the RouteAction, they will be merged. Conflicts between the two will + // not be resolved on the configuration. RequestHeaderModifier *HttpRouteHeaderModifier `json:"requestHeaderModifier,omitempty"` // RequestMirrorPolicy: Specifies the policy on how requests intended @@ -1934,7 +1936,10 @@ type HttpRouteRouteAction struct { RequestMirrorPolicy *HttpRouteRequestMirrorPolicy `json:"requestMirrorPolicy,omitempty"` // ResponseHeaderModifier: The specification for modifying the headers - // of a response prior to sending the response back to the client. + // of a response prior to sending the response back to the client. If + // HeaderModifiers are set on both the Destination and the RouteAction, + // they will be merged. Conflicts between the two will not be resolved + // on the configuration. ResponseHeaderModifier *HttpRouteHeaderModifier `json:"responseHeaderModifier,omitempty"` // RetryPolicy: Specifies the retry policy associated with this route.