diff --git a/artifactregistry/v1/artifactregistry-api.json b/artifactregistry/v1/artifactregistry-api.json index aed0f843ccd..fd1f64c338c 100644 --- a/artifactregistry/v1/artifactregistry-api.json +++ b/artifactregistry/v1/artifactregistry-api.json @@ -1713,7 +1713,7 @@ } } }, - "revision": "20231108", + "revision": "20231208", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -1906,12 +1906,6 @@ ], "type": "string" }, - "versionAge": { - "deprecated": true, - "description": "DEPRECATED: Use older_than.", - "format": "google-duration", - "type": "string" - }, "versionNamePrefixes": { "description": "Match versions by version name prefix. Applied on any prefix match.", "items": { diff --git a/artifactregistry/v1/artifactregistry-gen.go b/artifactregistry/v1/artifactregistry-gen.go index 85c14d8da79..1da252705d6 100644 --- a/artifactregistry/v1/artifactregistry-gen.go +++ b/artifactregistry/v1/artifactregistry-gen.go @@ -658,9 +658,6 @@ type CleanupPolicyCondition struct { // "ANY" - Applies to all versions. TagState string `json:"tagState,omitempty"` - // VersionAge: DEPRECATED: Use older_than. - VersionAge string `json:"versionAge,omitempty"` - // VersionNamePrefixes: Match versions by version name prefix. Applied // on any prefix match. VersionNamePrefixes []string `json:"versionNamePrefixes,omitempty"` diff --git a/checks/v1alpha/checks-api.json b/checks/v1alpha/checks-api.json index 9f6d8435970..2f1400c70b0 100644 --- a/checks/v1alpha/checks-api.json +++ b/checks/v1alpha/checks-api.json @@ -414,7 +414,7 @@ } } }, - "revision": "20230912", + "revision": "20231213", "rootUrl": "https://checks.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -466,6 +466,22 @@ "description": "The request message for ReportService.AnalyzeUpload.", "id": "GoogleChecksReportV1alphaAnalyzeUploadRequest", "properties": { + "appBinaryFileType": { + "description": "Optional. The type of the uploaded app binary. If not provided, the server assumes APK file for Android and IPA file for iOS.", + "enum": [ + "APP_BINARY_FILE_TYPE_UNSPECIFIED", + "ANDROID_APK", + "ANDROID_AAB", + "IOS_IPA" + ], + "enumDescriptions": [ + "Not specified.", + ".apk file type.", + ".aab (app bundle) file type.", + ".ipa file type." + ], + "type": "string" + }, "codeReferenceId": { "description": "Optional. Git commit hash or changelist number associated with the upload.", "type": "string" diff --git a/checks/v1alpha/checks-gen.go b/checks/v1alpha/checks-gen.go index 57429535ad4..8c6d489c104 100644 --- a/checks/v1alpha/checks-gen.go +++ b/checks/v1alpha/checks-gen.go @@ -288,19 +288,30 @@ func (s *GoogleChecksAccountV1alphaListAppsResponse) MarshalJSON() ([]byte, erro // GoogleChecksReportV1alphaAnalyzeUploadRequest: The request message // for ReportService.AnalyzeUpload. type GoogleChecksReportV1alphaAnalyzeUploadRequest struct { + // AppBinaryFileType: Optional. The type of the uploaded app binary. If + // not provided, the server assumes APK file for Android and IPA file + // for iOS. + // + // Possible values: + // "APP_BINARY_FILE_TYPE_UNSPECIFIED" - Not specified. + // "ANDROID_APK" - .apk file type. + // "ANDROID_AAB" - .aab (app bundle) file type. + // "IOS_IPA" - .ipa file type. + AppBinaryFileType string `json:"appBinaryFileType,omitempty"` + // CodeReferenceId: Optional. Git commit hash or changelist number // associated with the upload. CodeReferenceId string `json:"codeReferenceId,omitempty"` - // ForceSendFields is a list of field names (e.g. "CodeReferenceId") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "AppBinaryFileType") + // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CodeReferenceId") to + // NullFields is a list of field names (e.g. "AppBinaryFileType") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the diff --git a/cloudprofiler/v2/cloudprofiler-api.json b/cloudprofiler/v2/cloudprofiler-api.json index bba699deed9..1b0296a0430 100644 --- a/cloudprofiler/v2/cloudprofiler-api.json +++ b/cloudprofiler/v2/cloudprofiler-api.json @@ -175,6 +175,44 @@ "https://www.googleapis.com/auth/monitoring.write" ] }, + "list": { + "description": "Lists profiles which have been collected so far and for which the caller has permission to view.", + "flatPath": "v2/projects/{projectsId}/profiles", + "httpMethod": "GET", + "id": "cloudprofiler.projects.profiles.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of items to return. Default page_size is 1000. Max limit is 10000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The token to continue pagination and get profiles from a particular page. When paginating, all other parameters provided to `ListProfiles` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of profiles. Format: projects/{user_project_id}", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/profiles", + "response": { + "$ref": "ListProfilesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring", + "https://www.googleapis.com/auth/monitoring.write" + ] + }, "patch": { "description": "UpdateProfile updates the profile bytes and labels on the profile resource created in the online mode. Updating the bytes for profiles created in the offline mode is currently not supported: the profile content must be provided at the time of the profile creation.", "flatPath": "v2/projects/{projectsId}/profiles/{profilesId}", @@ -216,7 +254,7 @@ } } }, - "revision": "20230327", + "revision": "20231213", "rootUrl": "https://cloudprofiler.googleapis.com/", "schemas": { "CreateProfileRequest": { @@ -279,6 +317,29 @@ }, "type": "object" }, + "ListProfilesResponse": { + "description": "ListProfileResponse contains the list of collected profiles for deployments in projects which the user has permissions to view.", + "id": "ListProfilesResponse", + "properties": { + "nextPageToken": { + "description": "Token to receive the next page of results. This field maybe empty if there are no more profiles to fetch.", + "type": "string" + }, + "profiles": { + "description": "List of profiles fetched.", + "items": { + "$ref": "Profile" + }, + "type": "array" + }, + "skippedProfiles": { + "description": "Number of profiles that were skipped in the current page since they were not able to be fetched successfully. This should typically be zero. A non-zero value may indicate a transient failure, in which case if the number is too high for your use case, the call may be retried.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "Profile": { "description": "Profile resource.", "id": "Profile", diff --git a/cloudprofiler/v2/cloudprofiler-gen.go b/cloudprofiler/v2/cloudprofiler-gen.go index 100ad6af173..53be5a6e34f 100644 --- a/cloudprofiler/v2/cloudprofiler-gen.go +++ b/cloudprofiler/v2/cloudprofiler-gen.go @@ -290,6 +290,51 @@ func (s *Deployment) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ListProfilesResponse: ListProfileResponse contains the list of +// collected profiles for deployments in projects which the user has +// permissions to view. +type ListProfilesResponse struct { + // NextPageToken: Token to receive the next page of results. This field + // maybe empty if there are no more profiles to fetch. + NextPageToken string `json:"nextPageToken,omitempty"` + + // Profiles: List of profiles fetched. + Profiles []*Profile `json:"profiles,omitempty"` + + // SkippedProfiles: Number of profiles that were skipped in the current + // page since they were not able to be fetched successfully. This should + // typically be zero. A non-zero value may indicate a transient failure, + // in which case if the number is too high for your use case, the call + // may be retried. + SkippedProfiles int64 `json:"skippedProfiles,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 *ListProfilesResponse) MarshalJSON() ([]byte, error) { + type NoMethod ListProfilesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Profile: Profile resource. type Profile struct { // Deployment: Deployment this profile corresponds to. @@ -668,6 +713,204 @@ func (c *ProjectsProfilesCreateOfflineCall) Do(opts ...googleapi.CallOption) (*P } +// method id "cloudprofiler.projects.profiles.list": + +type ProjectsProfilesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists profiles which have been collected so far and for which +// the caller has permission to view. +// +// - parent: The parent, which owns this collection of profiles. Format: +// projects/{user_project_id}. +func (r *ProjectsProfilesService) List(parent string) *ProjectsProfilesListCall { + c := &ProjectsProfilesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return. Default page_size is 1000. Max limit is 10000. +func (c *ProjectsProfilesListCall) PageSize(pageSize int64) *ProjectsProfilesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The token to +// continue pagination and get profiles from a particular page. When +// paginating, all other parameters provided to `ListProfiles` must +// match the call that provided the page token. +func (c *ProjectsProfilesListCall) PageToken(pageToken string) *ProjectsProfilesListCall { + c.urlParams_.Set("pageToken", pageToken) + 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 *ProjectsProfilesListCall) Fields(s ...googleapi.Field) *ProjectsProfilesListCall { + 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 *ProjectsProfilesListCall) IfNoneMatch(entityTag string) *ProjectsProfilesListCall { + 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 *ProjectsProfilesListCall) Context(ctx context.Context) *ProjectsProfilesListCall { + 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 *ProjectsProfilesListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsProfilesListCall) 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, "v2/{+parent}/profiles") + 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{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "cloudprofiler.projects.profiles.list" call. +// Exactly one of *ListProfilesResponse or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ListProfilesResponse.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 *ProjectsProfilesListCall) Do(opts ...googleapi.CallOption) (*ListProfilesResponse, 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 := &ListProfilesResponse{ + 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": "Lists profiles which have been collected so far and for which the caller has permission to view.", + // "flatPath": "v2/projects/{projectsId}/profiles", + // "httpMethod": "GET", + // "id": "cloudprofiler.projects.profiles.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "pageSize": { + // "description": "The maximum number of items to return. Default page_size is 1000. Max limit is 10000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The token to continue pagination and get profiles from a particular page. When paginating, all other parameters provided to `ListProfiles` must match the call that provided the page token.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The parent, which owns this collection of profiles. Format: projects/{user_project_id}", + // "location": "path", + // "pattern": "^projects/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v2/{+parent}/profiles", + // "response": { + // "$ref": "ListProfilesResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/monitoring", + // "https://www.googleapis.com/auth/monitoring.write" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsProfilesListCall) Pages(ctx context.Context, f func(*ListProfilesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + // method id "cloudprofiler.projects.profiles.patch": type ProjectsProfilesPatchCall struct { diff --git a/dataproc/v1/dataproc-api.json b/dataproc/v1/dataproc-api.json index 39495f8a146..a858d1e76eb 100644 --- a/dataproc/v1/dataproc-api.json +++ b/dataproc/v1/dataproc-api.json @@ -3006,7 +3006,7 @@ } } }, - "revision": "20231109", + "revision": "20231207", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3855,11 +3855,11 @@ "id": "EncryptionConfig", "properties": { "gcePdKmsKeyName": { - "description": "Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster.", + "description": "Optional. The Cloud KMS key resource name to use for persistent disk encryption for all instances in the cluster. See Use CMEK with cluster data (https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_cluster_data) for more information.", "type": "string" }, "kmsKey": { - "description": "Optional. The Cloud KMS key name to use for encrypting customer core content in spanner and cluster PD disk for all instances in the cluster.", + "description": "Optional. The Cloud KMS key resource name to use for cluster persistent disk and job argument encryption. See Use CMEK with cluster data (https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_cluster_data) for more information.When this key resource name is provided, the following job arguments of the following job types submitted to the cluster are encrypted using CMEK: FlinkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/FlinkJob) HadoopJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob) SparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob) SparkRJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob) PySparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/PySparkJob) SparkSqlJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkSqlJob) scriptVariables and queryList.queries HiveJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/HiveJob) scriptVariables and queryList.queries PigJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/PigJob) scriptVariables and queryList.queries PrestoJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/PrestoJob) scriptVariables and queryList.queries", "type": "string" } }, @@ -4271,11 +4271,11 @@ "type": "object" }, "GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig": { - "description": "Encryption settings for the encrypting customer core content. NEXT ID: 2", + "description": "Encryption settings for encrypting workflow template job arguments.", "id": "GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig", "properties": { "kmsKey": { - "description": "Optional. The Cloud KMS key name to use for encrypting customer core content.", + "description": "Optional. The Cloud KMS key name to use for encrypting workflow template job arguments.When this this key is provided, the following workflow template job arguments (https://cloud.google.com/dataproc/docs/concepts/workflows/use-workflows#adding_jobs_to_a_template), if present, are CMEK encrypted (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_workflow_template_data): FlinkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/FlinkJob) HadoopJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob) SparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob) SparkRJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob) PySparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/PySparkJob) SparkSqlJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkSqlJob) scriptVariables and queryList.queries HiveJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/HiveJob) scriptVariables and queryList.queries PigJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/PigJob) scriptVariables and queryList.queries PrestoJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/PrestoJob) scriptVariables and queryList.queries", "type": "string" } }, @@ -4962,7 +4962,7 @@ "type": "string" }, "kmsKeyUri": { - "description": "Optional. The uri of the KMS key used to encrypt various sensitive files.", + "description": "Optional. The URI of the KMS key used to encrypt sensitive files.", "type": "string" }, "realm": { @@ -5092,6 +5092,14 @@ "nextPageToken": { "description": "A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", "type": "string" + }, + "unreachable": { + "description": "Output only. List of Batches that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" } }, "type": "object" @@ -5133,7 +5141,7 @@ "type": "string" }, "unreachable": { - "description": "Output only. List of jobs that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.", + "description": "Output only. List of jobs with kms_key-encrypted parameters that could not be decrypted. A response to a jobs.get request may indicate the reason for the decryption failure for a specific job.", "items": { "type": "string" }, @@ -7238,7 +7246,7 @@ }, "encryptionConfig": { "$ref": "GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig", - "description": "Optional. Encryption settings for the encrypting customer core content." + "description": "Optional. Encryption settings for encrypting workflow template job arguments." }, "id": { "type": "string" diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go index 3938d01844a..d0c2bb67ae5 100644 --- a/dataproc/v1/dataproc-gen.go +++ b/dataproc/v1/dataproc-gen.go @@ -1635,13 +1635,38 @@ type Empty struct { // EncryptionConfig: Encryption settings for the cluster. type EncryptionConfig struct { - // GcePdKmsKeyName: Optional. The Cloud KMS key name to use for PD disk - // encryption for all instances in the cluster. + // GcePdKmsKeyName: Optional. The Cloud KMS key resource name to use for + // persistent disk encryption for all instances in the cluster. See Use + // CMEK with cluster data + // (https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_cluster_data) + // for more information. GcePdKmsKeyName string `json:"gcePdKmsKeyName,omitempty"` - // KmsKey: Optional. The Cloud KMS key name to use for encrypting - // customer core content in spanner and cluster PD disk for all - // instances in the cluster. + // KmsKey: Optional. The Cloud KMS key resource name to use for cluster + // persistent disk and job argument encryption. See Use CMEK with + // cluster data + // (https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_cluster_data) + // for more information.When this key resource name is provided, the + // following job arguments of the following job types submitted to the + // cluster are encrypted using CMEK: FlinkJob args + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/FlinkJob) + // HadoopJob args + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob) + // SparkJob args + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob) + // SparkRJob args + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob) + // PySparkJob args + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/PySparkJob) + // SparkSqlJob + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkSqlJob) + // scriptVariables and queryList.queries HiveJob + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/HiveJob) + // scriptVariables and queryList.queries PigJob + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/PigJob) + // scriptVariables and queryList.queries PrestoJob + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/PrestoJob) + // scriptVariables and queryList.queries KmsKey string `json:"kmsKey,omitempty"` // ForceSendFields is a list of field names (e.g. "GcePdKmsKeyName") to @@ -2432,10 +2457,33 @@ func (s *GkeNodePoolTarget) MarshalJSON() ([]byte, error) { } // GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig: Encryption -// settings for the encrypting customer core content. NEXT ID: 2 +// settings for encrypting workflow template job arguments. type GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig struct { // KmsKey: Optional. The Cloud KMS key name to use for encrypting - // customer core content. + // workflow template job arguments.When this this key is provided, the + // following workflow template job arguments + // (https://cloud.google.com/dataproc/docs/concepts/workflows/use-workflows#adding_jobs_to_a_template), + // if present, are CMEK encrypted + // (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_workflow_template_data): + // FlinkJob args + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/FlinkJob) + // HadoopJob args + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob) + // SparkJob args + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob) + // SparkRJob args + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob) + // PySparkJob args + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/PySparkJob) + // SparkSqlJob + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkSqlJob) + // scriptVariables and queryList.queries HiveJob + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/HiveJob) + // scriptVariables and queryList.queries PigJob + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/PigJob) + // scriptVariables and queryList.queries PrestoJob + // (https://cloud.google.com/dataproc/docs/reference/rest/v1/PrestoJob) + // scriptVariables and queryList.queries KmsKey string `json:"kmsKey,omitempty"` // ForceSendFields is a list of field names (e.g. "KmsKey") to @@ -3489,8 +3537,8 @@ type KerberosConfig struct { // self-signed certificate. KeystoreUri string `json:"keystoreUri,omitempty"` - // KmsKeyUri: Optional. The uri of the KMS key used to encrypt various - // sensitive files. + // KmsKeyUri: Optional. The URI of the KMS key used to encrypt sensitive + // files. KmsKeyUri string `json:"kmsKeyUri,omitempty"` // Realm: Optional. The name of the on-cluster Kerberos realm. If not @@ -3724,6 +3772,11 @@ type ListBatchesResponse struct { // pages. NextPageToken string `json:"nextPageToken,omitempty"` + // Unreachable: Output only. List of Batches that could not be included + // in the response. Attempting to get one of these resources may + // indicate why it was not included in the list response. + Unreachable []string `json:"unreachable,omitempty"` + // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` @@ -3798,9 +3851,10 @@ type ListJobsResponse struct { // this value as the page_token in a subsequent ListJobsRequest. NextPageToken string `json:"nextPageToken,omitempty"` - // Unreachable: Output only. List of jobs that could not be included in - // the response. Attempting to get one of these resources may indicate - // why it was not included in the list response. + // Unreachable: Output only. List of jobs with kms_key-encrypted + // parameters that could not be decrypted. A response to a jobs.get + // request may indicate the reason for the decryption failure for a + // specific job. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -7113,8 +7167,8 @@ type WorkflowTemplate struct { // running on a managed cluster, the cluster is deleted. DagTimeout string `json:"dagTimeout,omitempty"` - // EncryptionConfig: Optional. Encryption settings for the encrypting - // customer core content. + // EncryptionConfig: Optional. Encryption settings for encrypting + // workflow template job arguments. EncryptionConfig *GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig `json:"encryptionConfig,omitempty"` Id string `json:"id,omitempty"` diff --git a/dlp/v2/dlp-api.json b/dlp/v2/dlp-api.json index 94313731d17..8b08489f777 100644 --- a/dlp/v2/dlp-api.json +++ b/dlp/v2/dlp-api.json @@ -3714,7 +3714,7 @@ } } }, - "revision": "20231127", + "revision": "20231210", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -5049,7 +5049,11 @@ "dataProfileJob": { "$ref": "GooglePrivacyDlpV2DataProfileJobConfig", "deprecated": true, - "description": "A copy of the configuration used to generate this profile. This is deprecated and will be replaced by DiscoveryConfig. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will." + "description": "A copy of the configuration used to generate this profile. This is deprecated, and the DiscoveryConfig field is preferred moving forward. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will." + }, + "discoveryConfig": { + "$ref": "GooglePrivacyDlpV2DiscoveryConfig", + "description": "A copy of the configuration used to generate this profile." }, "inspectConfig": { "$ref": "GooglePrivacyDlpV2InspectConfig", diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go index 88daf19ff5b..95f6720cf64 100644 --- a/dlp/v2/dlp-gen.go +++ b/dlp/v2/dlp-gen.go @@ -2813,12 +2813,16 @@ func (s *GooglePrivacyDlpV2DataProfileBigQueryRowSchema) MarshalJSON() ([]byte, // configurations used to generate the profile. type GooglePrivacyDlpV2DataProfileConfigSnapshot struct { // DataProfileJob: A copy of the configuration used to generate this - // profile. This is deprecated and will be replaced by DiscoveryConfig. - // DataProfileJobConfig will still be written here for Discovery in - // BigQuery for backwards compatibility, but will not be updated with - // new fields, while DiscoveryConfig will. + // profile. This is deprecated, and the DiscoveryConfig field is + // preferred moving forward. DataProfileJobConfig will still be written + // here for Discovery in BigQuery for backwards compatibility, but will + // not be updated with new fields, while DiscoveryConfig will. DataProfileJob *GooglePrivacyDlpV2DataProfileJobConfig `json:"dataProfileJob,omitempty"` + // DiscoveryConfig: A copy of the configuration used to generate this + // profile. + DiscoveryConfig *GooglePrivacyDlpV2DiscoveryConfig `json:"discoveryConfig,omitempty"` + // InspectConfig: A copy of the inspection config used to generate this // profile. This is a copy of the inspect_template specified in // `DataProfileJobConfig`. diff --git a/file/v1/file-api.json b/file/v1/file-api.json index 2a402d968da..717c87c6bd4 100644 --- a/file/v1/file-api.json +++ b/file/v1/file-api.json @@ -874,7 +874,7 @@ } } }, - "revision": "20231203", + "revision": "20231210", "rootUrl": "https://file.googleapis.com/", "schemas": { "Backup": { @@ -1119,7 +1119,7 @@ "additionalProperties": { "type": "string" }, - "description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For details, please refer to go/cloud-saas-mw-ug. Should not be set if maintenance_settings.maintenance_policies is set.", + "description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For details, please refer to go/mr-user-guide. Should not be set if maintenance_settings.maintenance_policies is set.", "type": "object" }, "maintenanceSchedules": { @@ -1260,7 +1260,7 @@ "additionalProperties": { "$ref": "MaintenancePolicy" }, - "description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the embedded policy must define the same policy type. For details, please refer to go/cloud-saas-mw-ug. Should not be set if maintenance_policy_names is set. If only the name is needed, then only populate MaintenancePolicy.name.", + "description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the embedded policy must define the same policy type. For details, please refer to go/mr-user-guide. Should not be set if maintenance_policy_names is set. If only the name is needed, then only populate MaintenancePolicy.name.", "type": "object" } }, diff --git a/file/v1/file-gen.go b/file/v1/file-gen.go index f561da45dc5..6bc3d3c5329 100644 --- a/file/v1/file-gen.go +++ b/file/v1/file-gen.go @@ -570,7 +570,7 @@ type GoogleCloudSaasacceleratorManagementProvidersV1Instance struct { // been attached to the instance. The key must be of the type name of // the oneof policy name defined in MaintenancePolicy, and the // referenced policy must define the same policy type. For details, - // please refer to go/cloud-saas-mw-ug. Should not be set if + // please refer to go/mr-user-guide. Should not be set if // maintenance_settings.maintenance_policies is set. MaintenancePolicyNames map[string]string `json:"maintenancePolicyNames,omitempty"` @@ -739,7 +739,7 @@ type GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings struct { // attached to the instance. The key must be of the type name of the // oneof policy name defined in MaintenancePolicy, and the embedded // policy must define the same policy type. For details, please refer to - // go/cloud-saas-mw-ug. Should not be set if maintenance_policy_names is + // go/mr-user-guide. Should not be set if maintenance_policy_names is // set. If only the name is needed, then only populate // MaintenancePolicy.name. MaintenancePolicies map[string]MaintenancePolicy `json:"maintenancePolicies,omitempty"` diff --git a/file/v1beta1/file-api.json b/file/v1beta1/file-api.json index 6d6690951fe..b259a565c48 100644 --- a/file/v1beta1/file-api.json +++ b/file/v1beta1/file-api.json @@ -1041,7 +1041,7 @@ } } }, - "revision": "20231203", + "revision": "20231210", "rootUrl": "https://file.googleapis.com/", "schemas": { "Backup": { @@ -1297,7 +1297,7 @@ "additionalProperties": { "type": "string" }, - "description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For details, please refer to go/cloud-saas-mw-ug. Should not be set if maintenance_settings.maintenance_policies is set.", + "description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For details, please refer to go/mr-user-guide. Should not be set if maintenance_settings.maintenance_policies is set.", "type": "object" }, "maintenanceSchedules": { @@ -1438,7 +1438,7 @@ "additionalProperties": { "$ref": "MaintenancePolicy" }, - "description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the embedded policy must define the same policy type. For details, please refer to go/cloud-saas-mw-ug. Should not be set if maintenance_policy_names is set. If only the name is needed, then only populate MaintenancePolicy.name.", + "description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the embedded policy must define the same policy type. For details, please refer to go/mr-user-guide. Should not be set if maintenance_policy_names is set. If only the name is needed, then only populate MaintenancePolicy.name.", "type": "object" } }, diff --git a/file/v1beta1/file-gen.go b/file/v1beta1/file-gen.go index 8c9faddd42c..1e29dd08fe7 100644 --- a/file/v1beta1/file-gen.go +++ b/file/v1beta1/file-gen.go @@ -612,7 +612,7 @@ type GoogleCloudSaasacceleratorManagementProvidersV1Instance struct { // been attached to the instance. The key must be of the type name of // the oneof policy name defined in MaintenancePolicy, and the // referenced policy must define the same policy type. For details, - // please refer to go/cloud-saas-mw-ug. Should not be set if + // please refer to go/mr-user-guide. Should not be set if // maintenance_settings.maintenance_policies is set. MaintenancePolicyNames map[string]string `json:"maintenancePolicyNames,omitempty"` @@ -781,7 +781,7 @@ type GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings struct { // attached to the instance. The key must be of the type name of the // oneof policy name defined in MaintenancePolicy, and the embedded // policy must define the same policy type. For details, please refer to - // go/cloud-saas-mw-ug. Should not be set if maintenance_policy_names is + // go/mr-user-guide. Should not be set if maintenance_policy_names is // set. If only the name is needed, then only populate // MaintenancePolicy.name. MaintenancePolicies map[string]MaintenancePolicy `json:"maintenancePolicies,omitempty"` diff --git a/gkehub/v1/gkehub-api.json b/gkehub/v1/gkehub-api.json index 51d526e679a..8d1c0fa5d4a 100644 --- a/gkehub/v1/gkehub-api.json +++ b/gkehub/v1/gkehub-api.json @@ -1834,7 +1834,7 @@ } } }, - "revision": "20231201", + "revision": "20231206", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -4959,7 +4959,8 @@ "type": "string" }, "podAntiAffinity": { - "description": "Pod anti-affinity enablement.", + "deprecated": true, + "description": "Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.", "type": "boolean" }, "podTolerations": { diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go index 448c64fcb74..7e096b823fd 100644 --- a/gkehub/v1/gkehub-gen.go +++ b/gkehub/v1/gkehub-gen.go @@ -5397,7 +5397,8 @@ type PolicyControllerPolicyControllerDeploymentConfig struct { // this deployment. Default for admissions deployment. PodAffinity string `json:"podAffinity,omitempty"` - // PodAntiAffinity: Pod anti-affinity enablement. + // PodAntiAffinity: Pod anti-affinity enablement. Deprecated: use + // `pod_affinity` instead. PodAntiAffinity bool `json:"podAntiAffinity,omitempty"` // PodTolerations: Pod tolerations of node taints. diff --git a/gkehub/v1beta/gkehub-api.json b/gkehub/v1beta/gkehub-api.json index e468158bb5c..6c327e760fe 100644 --- a/gkehub/v1beta/gkehub-api.json +++ b/gkehub/v1beta/gkehub-api.json @@ -2024,7 +2024,7 @@ } } }, - "revision": "20231201", + "revision": "20231206", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -5341,7 +5341,8 @@ "type": "string" }, "podAntiAffinity": { - "description": "Pod anti-affinity enablement.", + "deprecated": true, + "description": "Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.", "type": "boolean" }, "podTolerations": { diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go index 917e2abfcd0..57dd918185b 100644 --- a/gkehub/v1beta/gkehub-gen.go +++ b/gkehub/v1beta/gkehub-gen.go @@ -5762,7 +5762,8 @@ type PolicyControllerPolicyControllerDeploymentConfig struct { // this deployment. Default for admissions deployment. PodAffinity string `json:"podAffinity,omitempty"` - // PodAntiAffinity: Pod anti-affinity enablement. + // PodAntiAffinity: Pod anti-affinity enablement. Deprecated: use + // `pod_affinity` instead. PodAntiAffinity bool `json:"podAntiAffinity,omitempty"` // PodTolerations: Pod tolerations of node taints. diff --git a/logging/v2/logging-api.json b/logging/v2/logging-api.json index 09ff866b4cf..5225816d793 100644 --- a/logging/v2/logging-api.json +++ b/logging/v2/logging-api.json @@ -946,7 +946,7 @@ ] }, "patch": { - "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", + "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "PATCH", "id": "logging.billingAccounts.locations.buckets.views.patch", @@ -1202,7 +1202,7 @@ "type": "string" }, "savedQueryId": { - "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.", + "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.", "location": "query", "type": "string" } @@ -1498,7 +1498,7 @@ ] }, "patch": { - "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}", "httpMethod": "PATCH", "id": "logging.billingAccounts.sinks.patch", @@ -1543,7 +1543,7 @@ ] }, "update": { - "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}", "httpMethod": "PUT", "id": "logging.billingAccounts.sinks.update", @@ -1896,7 +1896,7 @@ ] }, "updateSettings": { - "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings will fail if 1) kms_key_name is invalid, 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, 3) access to the key is disabled, 4) storage_location is not supported by Logging, 5) storage_location violates the location OrgPolicy, or 6) default_sink_config is set but has an unspecified filter write mode.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.", + "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.", "flatPath": "v2/folders/{foldersId}/settings", "httpMethod": "PATCH", "id": "logging.folders.updateSettings", @@ -2694,7 +2694,7 @@ ] }, "patch": { - "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", + "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "PATCH", "id": "logging.folders.locations.buckets.views.patch", @@ -2950,7 +2950,7 @@ "type": "string" }, "savedQueryId": { - "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.", + "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.", "location": "query", "type": "string" } @@ -3246,7 +3246,7 @@ ] }, "patch": { - "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", "flatPath": "v2/folders/{foldersId}/sinks/{sinksId}", "httpMethod": "PATCH", "id": "logging.folders.sinks.patch", @@ -3291,7 +3291,7 @@ ] }, "update": { - "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", "flatPath": "v2/folders/{foldersId}/sinks/{sinksId}", "httpMethod": "PUT", "id": "logging.folders.sinks.update", @@ -3940,7 +3940,7 @@ ] }, "patch": { - "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", + "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "PATCH", "id": "logging.locations.buckets.views.patch", @@ -4253,7 +4253,7 @@ ] }, "updateCmekSettings": { - "description": "Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.", + "description": "Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.", "flatPath": "v2/organizations/{organizationsId}/cmekSettings", "httpMethod": "PATCH", "id": "logging.organizations.updateCmekSettings", @@ -4288,7 +4288,7 @@ ] }, "updateSettings": { - "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings will fail if 1) kms_key_name is invalid, 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, 3) access to the key is disabled, 4) storage_location is not supported by Logging, 5) storage_location violates the location OrgPolicy, or 6) default_sink_config is set but has an unspecified filter write mode.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.", + "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.", "flatPath": "v2/organizations/{organizationsId}/settings", "httpMethod": "PATCH", "id": "logging.organizations.updateSettings", @@ -5086,7 +5086,7 @@ ] }, "patch": { - "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", + "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "PATCH", "id": "logging.organizations.locations.buckets.views.patch", @@ -5342,7 +5342,7 @@ "type": "string" }, "savedQueryId": { - "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.", + "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.", "location": "query", "type": "string" } @@ -5638,7 +5638,7 @@ ] }, "patch": { - "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", "flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}", "httpMethod": "PATCH", "id": "logging.organizations.sinks.patch", @@ -5683,7 +5683,7 @@ ] }, "update": { - "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", "flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}", "httpMethod": "PUT", "id": "logging.organizations.sinks.update", @@ -6553,7 +6553,7 @@ ] }, "patch": { - "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", + "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", "httpMethod": "PATCH", "id": "logging.projects.locations.buckets.views.patch", @@ -6809,7 +6809,7 @@ "type": "string" }, "savedQueryId": { - "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.", + "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.", "location": "query", "type": "string" } @@ -7263,7 +7263,7 @@ ] }, "patch": { - "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", "flatPath": "v2/projects/{projectsId}/sinks/{sinksId}", "httpMethod": "PATCH", "id": "logging.projects.sinks.patch", @@ -7308,7 +7308,7 @@ ] }, "update": { - "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", "flatPath": "v2/projects/{projectsId}/sinks/{sinksId}", "httpMethod": "PUT", "id": "logging.projects.sinks.update", @@ -7491,7 +7491,7 @@ ] }, "update": { - "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", "flatPath": "v2/{v2Id}/{v2Id1}/sinks/{sinksId}", "httpMethod": "PUT", "id": "logging.sinks.update", @@ -7596,7 +7596,7 @@ ] }, "updateCmekSettings": { - "description": "Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.", + "description": "Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.", "flatPath": "v2/{v2Id}/{v2Id1}/cmekSettings", "httpMethod": "PATCH", "id": "logging.updateCmekSettings", @@ -7631,7 +7631,7 @@ ] }, "updateSettings": { - "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings will fail if 1) kms_key_name is invalid, 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, 3) access to the key is disabled, 4) storage_location is not supported by Logging, 5) storage_location violates the location OrgPolicy, or 6) default_sink_config is set but has an unspecified filter write mode.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.", + "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.", "flatPath": "v2/{v2Id}/{v2Id1}/settings", "httpMethod": "PATCH", "id": "logging.updateSettings", @@ -7668,7 +7668,7 @@ } } }, - "revision": "20231130", + "revision": "20231210", "rootUrl": "https://logging.googleapis.com/", "schemas": { "BigQueryDataset": { @@ -7933,7 +7933,7 @@ "type": "array" }, "filter": { - "description": "Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity\u003e=ERRORCannot be empty or unset if mode == OVERWRITE. In order to match all logs, use the following line as the value of filter and do not use exclusions:logName:*", + "description": "Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity\u003e=ERRORTo match all logs, don't add exclusions and use the following line as the value of filter:logName:*Cannot be empty or unset when the value of mode is OVERWRITE.", "type": "string" }, "mode": { @@ -8839,7 +8839,7 @@ "id": "LogErrorGroup", "properties": { "id": { - "description": "The id is a unique identifier for a particular error group; it is the last part of the error group resource name: /projects//errors/. Example: COShysOX0r_51QE The id is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice (https://cloud.google.com/terms/cloud-privacy-notice).", + "description": "The id is a unique identifier for a particular error group; it is the last part of the error group resource name: /project/[PROJECT_ID]/errors/[ERROR_GROUP_ID]. Example: COShysOX0r_51QE. The id is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice (https://cloud.google.com/terms/cloud-privacy-notice).", "type": "string" } }, @@ -8998,7 +8998,7 @@ "type": "object" }, "LogSink": { - "description": "Describes a sink used to export log entries to one of the following destinations in any project: a Cloud Storage bucket, a BigQuery dataset, a Pub/Sub topic or a Cloud Logging log bucket. A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing account, or folder.", + "description": "Describes a sink used to export log entries to one of the following destinations: a Cloud Logging log bucket, a Cloud Storage bucket, a BigQuery dataset, a Pub/Sub topic, a Cloud project.A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing account, or folder.", "id": "LogSink", "properties": { "bigqueryOptions": { @@ -9039,7 +9039,7 @@ "type": "boolean" }, "name": { - "description": "Required. The client-assigned sink identifier, unique within the project.For example: \"my-syslog-errors-to-pubsub\". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.", + "description": "Required. The client-assigned sink identifier, unique within the project.For example: \"my-syslog-errors-to-pubsub\".Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.", "type": "string" }, "outputVersionFormat": { @@ -9107,7 +9107,7 @@ "type": "string" }, "filter": { - "description": "Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE(\"projects/myproject\") AND resource.type = \"gce_instance\" AND LOG_ID(\"stdout\")", + "description": "Filter that restricts which log entries in a bucket are visible in this view.Filters must be logical conjunctions that use the AND operator, and they can use any of the following qualifiers: SOURCE(), which specifies a project, folder, organization, or billing account of origin. resource.type, which specifies the resource type. LOG_ID(), which identifies the log.They can also use the negations of these qualifiers with the NOT operator.For example:SOURCE(\"projects/myproject\") AND resource.type = \"gce_instance\" AND NOT LOG_ID(\"stdout\")", "type": "string" }, "name": { @@ -9695,7 +9695,7 @@ "type": "string" }, "storageLocation": { - "description": "Optional. The storage location that Cloud Logging will use to create new resources when a location is needed but not explicitly provided. The use cases includes: The location of _Default and _Required log bucket for newly created projects and folders.Example value: europe-west1.Note: this setting does not affect the location of resources where a location is explicitly provided when created, such as custom log buckets.", + "description": "Optional. The storage location for the _Default and _Required log buckets of newly created projects and folders, unless the storage location is explicitly provided.Example value: europe-west1.Note: this setting does not affect the location of resources where a location is explicitly provided when created, such as custom log buckets.", "type": "string" } }, diff --git a/logging/v2/logging-gen.go b/logging/v2/logging-gen.go index 5aa5ac427bd..a0cd914aa29 100644 --- a/logging/v2/logging-gen.go +++ b/logging/v2/logging-gen.go @@ -1392,9 +1392,9 @@ type DefaultSinkConfig struct { // only exported log entries are those that are in the resource owning // the sink and that match the filter.For // example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND - // severity>=ERRORCannot be empty or unset if mode == OVERWRITE. In - // order to match all logs, use the following line as the value of - // filter and do not use exclusions:logName:* + // severity>=ERRORTo match all logs, don't add exclusions and use the + // following line as the value of filter:logName:*Cannot be empty or + // unset when the value of mode is OVERWRITE. Filter string `json:"filter,omitempty"` // Mode: Required. Determines the behavior to apply to the built-in @@ -3019,10 +3019,11 @@ func (s *LogEntrySourceLocation) MarshalJSON() ([]byte, error) { // Error Reporting error groups. type LogErrorGroup struct { // Id: The id is a unique identifier for a particular error group; it is - // the last part of the error group resource name: /projects//errors/. - // Example: COShysOX0r_51QE The id is derived from key parts of the - // error-log content and is treated as Service Data. For information - // about how Service Data is handled, see Google Cloud Privacy Notice + // the last part of the error group resource name: + // /project/[PROJECT_ID]/errors/[ERROR_GROUP_ID]. Example: + // COShysOX0r_51QE. The id is derived from key parts of the error-log + // content and is treated as Service Data. For information about how + // Service Data is handled, see Google Cloud Privacy Notice // (https://cloud.google.com/terms/cloud-privacy-notice). Id string `json:"id,omitempty"` @@ -3308,9 +3309,9 @@ func (s *LogMetric) MarshalJSON() ([]byte, error) { } // LogSink: Describes a sink used to export log entries to one of the -// following destinations in any project: a Cloud Storage bucket, a -// BigQuery dataset, a Pub/Sub topic or a Cloud Logging log bucket. A -// logs filter controls which log entries are exported. The sink must be +// following destinations: a Cloud Logging log bucket, a Cloud Storage +// bucket, a BigQuery dataset, a Pub/Sub topic, a Cloud project.A logs +// filter controls which log entries are exported. The sink must be // created within a project, organization, billing account, or folder. type LogSink struct { // BigqueryOptions: Optional. Options that affect sinks exporting data @@ -3371,11 +3372,10 @@ type LogSink struct { IncludeChildren bool `json:"includeChildren,omitempty"` // Name: Required. The client-assigned sink identifier, unique within - // the project.For example: "my-syslog-errors-to-pubsub". Sink + // the project.For example: "my-syslog-errors-to-pubsub".Sink // identifiers are limited to 100 characters and can include only the // following characters: upper and lower-case alphanumeric characters, - // underscores, hyphens, and periods. First character has to be - // alphanumeric. + // underscores, hyphens, periods.First character has to be alphanumeric. Name string `json:"name,omitempty"` // OutputVersionFormat: Deprecated. This field is unused. @@ -3485,11 +3485,14 @@ type LogView struct { Description string `json:"description,omitempty"` // Filter: Filter that restricts which log entries in a bucket are - // visible in this view.Filters are restricted to be a logical AND of - // ==/!= of any of the following: originating - // project/folder/organization/billing account. resource type log idFor + // visible in this view.Filters must be logical conjunctions that use + // the AND operator, and they can use any of the following qualifiers: + // SOURCE(), which specifies a project, folder, organization, or billing + // account of origin. resource.type, which specifies the resource type. + // LOG_ID(), which identifies the log.They can also use the negations of + // these qualifiers with the NOT operator.For // example:SOURCE("projects/myproject") AND resource.type = - // "gce_instance" AND LOG_ID("stdout") + // "gce_instance" AND NOT LOG_ID("stdout") Filter string `json:"filter,omitempty"` // Name: The resource name of the view.For @@ -4442,13 +4445,12 @@ type Settings struct { // Name: Output only. The resource name of the settings. Name string `json:"name,omitempty"` - // StorageLocation: Optional. The storage location that Cloud Logging - // will use to create new resources when a location is needed but not - // explicitly provided. The use cases includes: The location of _Default - // and _Required log bucket for newly created projects and - // folders.Example value: europe-west1.Note: this setting does not - // affect the location of resources where a location is explicitly - // provided when created, such as custom log buckets. + // StorageLocation: Optional. The storage location for the _Default and + // _Required log buckets of newly created projects and folders, unless + // the storage location is explicitly provided.Example value: + // europe-west1.Note: this setting does not affect the location of + // resources where a location is explicitly provided when created, such + // as custom log buckets. StorageLocation string `json:"storageLocation,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -9063,11 +9065,11 @@ type BillingAccountsLocationsBucketsViewsPatchCall struct { header_ http.Header } -// Patch: Updates a view on a log bucket. This method replaces the -// following fields in the existing view with values from the new view: -// filter. If an UNAVAILABLE error is returned, this indicates that -// system is not in a state where it can update the view. If this -// occurs, please try again in a few minutes. +// Patch: Updates a view on a log bucket. This method replaces the value +// of the filter field from the existing view with the corresponding +// value from the new view. If an UNAVAILABLE error is returned, this +// indicates that system is not in a state where it can update the view. +// If this occurs, please try again in a few minutes. // // - name: The full resource name of the view to update // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v @@ -9184,7 +9186,7 @@ func (c *BillingAccountsLocationsBucketsViewsPatchCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", + // "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", // "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", // "httpMethod": "PATCH", // "id": "logging.billingAccounts.locations.buckets.views.patch", @@ -10201,8 +10203,7 @@ func (r *BillingAccountsLocationsSavedQueriesService) Create(parent string, save // the system will generate an alphanumeric ID.The saved_query_id is // limited to 100 characters and can include only the following // characters: upper and lower-case alphanumeric characters, -// underscores, hyphens, and periods. First character has to be -// alphanumeric. +// underscores, hyphens, periods.First character has to be alphanumeric. func (c *BillingAccountsLocationsSavedQueriesCreateCall) SavedQueryId(savedQueryId string) *BillingAccountsLocationsSavedQueriesCreateCall { c.urlParams_.Set("savedQueryId", savedQueryId) return c @@ -10315,7 +10316,7 @@ func (c *BillingAccountsLocationsSavedQueriesCreateCall) Do(opts ...googleapi.Ca // "type": "string" // }, // "savedQueryId": { - // "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.", + // "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.", // "location": "query", // "type": "string" // } @@ -11753,10 +11754,10 @@ type BillingAccountsSinksPatchCall struct { header_ http.Header } -// Patch: Updates a sink. This method replaces the following fields in -// the existing sink with values from the new sink: destination, and -// filter.The updated sink might also have a new writer_identity; see -// the unique_writer_identity field. +// Patch: Updates a sink. This method replaces the values of the +// destination and filter fields of the existing sink with the +// corresponding values from the new sink.The updated sink might also +// have a new writer_identity; see the unique_writer_identity field. // // - sinkName: The full resource name of the sink to update, including // the parent resource and the sink identifier: @@ -11905,7 +11906,7 @@ func (c *BillingAccountsSinksPatchCall) Do(opts ...googleapi.CallOption) (*LogSi } return ret, nil // { - // "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + // "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", // "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}", // "httpMethod": "PATCH", // "id": "logging.billingAccounts.sinks.patch", @@ -11963,10 +11964,10 @@ type BillingAccountsSinksUpdateCall struct { header_ http.Header } -// Update: Updates a sink. This method replaces the following fields in -// the existing sink with values from the new sink: destination, and -// filter.The updated sink might also have a new writer_identity; see -// the unique_writer_identity field. +// Update: Updates a sink. This method replaces the values of the +// destination and filter fields of the existing sink with the +// corresponding values from the new sink.The updated sink might also +// have a new writer_identity; see the unique_writer_identity field. // // - sinkName: The full resource name of the sink to update, including // the parent resource and the sink identifier: @@ -12115,7 +12116,7 @@ func (c *BillingAccountsSinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogS } return ret, nil // { - // "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + // "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", // "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}", // "httpMethod": "PUT", // "id": "logging.billingAccounts.sinks.update", @@ -13851,15 +13852,16 @@ type FoldersUpdateSettingsCall struct { // UpdateSettings: Updates the settings for the given resource. This // method applies to all feature configurations for organization and -// folders.UpdateSettings will fail if 1) kms_key_name is invalid, 2) -// the associated service account does not have the required -// roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, -// 3) access to the key is disabled, 4) storage_location is not -// supported by Logging, 5) storage_location violates the location -// OrgPolicy, or 6) default_sink_config is set but has an unspecified -// filter write mode.See Configure default settings for organizations -// and folders (https://cloud.google.com/logging/docs/default-settings) -// for more information. +// folders.UpdateSettings fails when any of the following are true: The +// value of storage_location either isn't supported by Logging or +// violates the location OrgPolicy. The default_sink_config field is +// set, but it has an unspecified filter write mode. The value of +// kms_key_name is invalid. The associated service account doesn't have +// the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned +// for the key. Access to the key is disabled.See Configure default +// settings for organizations and folders +// (https://cloud.google.com/logging/docs/default-settings) for more +// information. // // - name: The resource name for the settings to update. // "organizations/[ORGANIZATION_ID]/settings" For @@ -13972,7 +13974,7 @@ func (c *FoldersUpdateSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, } return ret, nil // { - // "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings will fail if 1) kms_key_name is invalid, 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, 3) access to the key is disabled, 4) storage_location is not supported by Logging, 5) storage_location violates the location OrgPolicy, or 6) default_sink_config is set but has an unspecified filter write mode.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.", + // "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.", // "flatPath": "v2/folders/{foldersId}/settings", // "httpMethod": "PATCH", // "id": "logging.folders.updateSettings", @@ -17835,11 +17837,11 @@ type FoldersLocationsBucketsViewsPatchCall struct { header_ http.Header } -// Patch: Updates a view on a log bucket. This method replaces the -// following fields in the existing view with values from the new view: -// filter. If an UNAVAILABLE error is returned, this indicates that -// system is not in a state where it can update the view. If this -// occurs, please try again in a few minutes. +// Patch: Updates a view on a log bucket. This method replaces the value +// of the filter field from the existing view with the corresponding +// value from the new view. If an UNAVAILABLE error is returned, this +// indicates that system is not in a state where it can update the view. +// If this occurs, please try again in a few minutes. // // - name: The full resource name of the view to update // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v @@ -17956,7 +17958,7 @@ func (c *FoldersLocationsBucketsViewsPatchCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", + // "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", // "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", // "httpMethod": "PATCH", // "id": "logging.folders.locations.buckets.views.patch", @@ -18973,8 +18975,7 @@ func (r *FoldersLocationsSavedQueriesService) Create(parent string, savedquery * // the system will generate an alphanumeric ID.The saved_query_id is // limited to 100 characters and can include only the following // characters: upper and lower-case alphanumeric characters, -// underscores, hyphens, and periods. First character has to be -// alphanumeric. +// underscores, hyphens, periods.First character has to be alphanumeric. func (c *FoldersLocationsSavedQueriesCreateCall) SavedQueryId(savedQueryId string) *FoldersLocationsSavedQueriesCreateCall { c.urlParams_.Set("savedQueryId", savedQueryId) return c @@ -19087,7 +19088,7 @@ func (c *FoldersLocationsSavedQueriesCreateCall) Do(opts ...googleapi.CallOption // "type": "string" // }, // "savedQueryId": { - // "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.", + // "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.", // "location": "query", // "type": "string" // } @@ -20525,10 +20526,10 @@ type FoldersSinksPatchCall struct { header_ http.Header } -// Patch: Updates a sink. This method replaces the following fields in -// the existing sink with values from the new sink: destination, and -// filter.The updated sink might also have a new writer_identity; see -// the unique_writer_identity field. +// Patch: Updates a sink. This method replaces the values of the +// destination and filter fields of the existing sink with the +// corresponding values from the new sink.The updated sink might also +// have a new writer_identity; see the unique_writer_identity field. // // - sinkName: The full resource name of the sink to update, including // the parent resource and the sink identifier: @@ -20677,7 +20678,7 @@ func (c *FoldersSinksPatchCall) Do(opts ...googleapi.CallOption) (*LogSink, erro } return ret, nil // { - // "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + // "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", // "flatPath": "v2/folders/{foldersId}/sinks/{sinksId}", // "httpMethod": "PATCH", // "id": "logging.folders.sinks.patch", @@ -20735,10 +20736,10 @@ type FoldersSinksUpdateCall struct { header_ http.Header } -// Update: Updates a sink. This method replaces the following fields in -// the existing sink with values from the new sink: destination, and -// filter.The updated sink might also have a new writer_identity; see -// the unique_writer_identity field. +// Update: Updates a sink. This method replaces the values of the +// destination and filter fields of the existing sink with the +// corresponding values from the new sink.The updated sink might also +// have a new writer_identity; see the unique_writer_identity field. // // - sinkName: The full resource name of the sink to update, including // the parent resource and the sink identifier: @@ -20887,7 +20888,7 @@ func (c *FoldersSinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSink, err } return ret, nil // { - // "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + // "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", // "flatPath": "v2/folders/{foldersId}/sinks/{sinksId}", // "httpMethod": "PUT", // "id": "logging.folders.sinks.update", @@ -23950,11 +23951,11 @@ type LocationsBucketsViewsPatchCall struct { header_ http.Header } -// Patch: Updates a view on a log bucket. This method replaces the -// following fields in the existing view with values from the new view: -// filter. If an UNAVAILABLE error is returned, this indicates that -// system is not in a state where it can update the view. If this -// occurs, please try again in a few minutes. +// Patch: Updates a view on a log bucket. This method replaces the value +// of the filter field from the existing view with the corresponding +// value from the new view. If an UNAVAILABLE error is returned, this +// indicates that system is not in a state where it can update the view. +// If this occurs, please try again in a few minutes. // // - name: The full resource name of the view to update // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v @@ -24071,7 +24072,7 @@ func (c *LocationsBucketsViewsPatchCall) Do(opts ...googleapi.CallOption) (*LogV } return ret, nil // { - // "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", + // "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", // "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", // "httpMethod": "PATCH", // "id": "logging.locations.buckets.views.patch", @@ -25518,11 +25519,11 @@ type OrganizationsUpdateCmekSettingsCall struct { // given resource.Note: CMEK for the Log Router can currently only be // configured for Google Cloud organizations. Once configured, it // applies to all projects and folders in the Google Cloud -// organization.UpdateCmekSettings will fail if 1) kms_key_name is -// invalid, or 2) the associated service account does not have the -// required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for -// the key, or 3) access to the key is disabled.See Enabling CMEK for -// Log Router +// organization.UpdateCmekSettings fails when any of the following are +// true: The value of kms_key_name is invalid. The associated service +// account doesn't have the required +// roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. +// Access to the key is disabled.See Enabling CMEK for Log Router // (https://cloud.google.com/logging/docs/routing/managed-encryption) // for more information. // @@ -25643,7 +25644,7 @@ func (c *OrganizationsUpdateCmekSettingsCall) Do(opts ...googleapi.CallOption) ( } return ret, nil // { - // "description": "Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.", + // "description": "Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.", // "flatPath": "v2/organizations/{organizationsId}/cmekSettings", // "httpMethod": "PATCH", // "id": "logging.organizations.updateCmekSettings", @@ -25693,15 +25694,16 @@ type OrganizationsUpdateSettingsCall struct { // UpdateSettings: Updates the settings for the given resource. This // method applies to all feature configurations for organization and -// folders.UpdateSettings will fail if 1) kms_key_name is invalid, 2) -// the associated service account does not have the required -// roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, -// 3) access to the key is disabled, 4) storage_location is not -// supported by Logging, 5) storage_location violates the location -// OrgPolicy, or 6) default_sink_config is set but has an unspecified -// filter write mode.See Configure default settings for organizations -// and folders (https://cloud.google.com/logging/docs/default-settings) -// for more information. +// folders.UpdateSettings fails when any of the following are true: The +// value of storage_location either isn't supported by Logging or +// violates the location OrgPolicy. The default_sink_config field is +// set, but it has an unspecified filter write mode. The value of +// kms_key_name is invalid. The associated service account doesn't have +// the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned +// for the key. Access to the key is disabled.See Configure default +// settings for organizations and folders +// (https://cloud.google.com/logging/docs/default-settings) for more +// information. // // - name: The resource name for the settings to update. // "organizations/[ORGANIZATION_ID]/settings" For @@ -25814,7 +25816,7 @@ func (c *OrganizationsUpdateSettingsCall) Do(opts ...googleapi.CallOption) (*Set } return ret, nil // { - // "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings will fail if 1) kms_key_name is invalid, 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, 3) access to the key is disabled, 4) storage_location is not supported by Logging, 5) storage_location violates the location OrgPolicy, or 6) default_sink_config is set but has an unspecified filter write mode.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.", + // "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.", // "flatPath": "v2/organizations/{organizationsId}/settings", // "httpMethod": "PATCH", // "id": "logging.organizations.updateSettings", @@ -29677,11 +29679,11 @@ type OrganizationsLocationsBucketsViewsPatchCall struct { header_ http.Header } -// Patch: Updates a view on a log bucket. This method replaces the -// following fields in the existing view with values from the new view: -// filter. If an UNAVAILABLE error is returned, this indicates that -// system is not in a state where it can update the view. If this -// occurs, please try again in a few minutes. +// Patch: Updates a view on a log bucket. This method replaces the value +// of the filter field from the existing view with the corresponding +// value from the new view. If an UNAVAILABLE error is returned, this +// indicates that system is not in a state where it can update the view. +// If this occurs, please try again in a few minutes. // // - name: The full resource name of the view to update // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v @@ -29798,7 +29800,7 @@ func (c *OrganizationsLocationsBucketsViewsPatchCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", + // "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", // "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", // "httpMethod": "PATCH", // "id": "logging.organizations.locations.buckets.views.patch", @@ -30815,8 +30817,7 @@ func (r *OrganizationsLocationsSavedQueriesService) Create(parent string, savedq // the system will generate an alphanumeric ID.The saved_query_id is // limited to 100 characters and can include only the following // characters: upper and lower-case alphanumeric characters, -// underscores, hyphens, and periods. First character has to be -// alphanumeric. +// underscores, hyphens, periods.First character has to be alphanumeric. func (c *OrganizationsLocationsSavedQueriesCreateCall) SavedQueryId(savedQueryId string) *OrganizationsLocationsSavedQueriesCreateCall { c.urlParams_.Set("savedQueryId", savedQueryId) return c @@ -30929,7 +30930,7 @@ func (c *OrganizationsLocationsSavedQueriesCreateCall) Do(opts ...googleapi.Call // "type": "string" // }, // "savedQueryId": { - // "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.", + // "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.", // "location": "query", // "type": "string" // } @@ -32367,10 +32368,10 @@ type OrganizationsSinksPatchCall struct { header_ http.Header } -// Patch: Updates a sink. This method replaces the following fields in -// the existing sink with values from the new sink: destination, and -// filter.The updated sink might also have a new writer_identity; see -// the unique_writer_identity field. +// Patch: Updates a sink. This method replaces the values of the +// destination and filter fields of the existing sink with the +// corresponding values from the new sink.The updated sink might also +// have a new writer_identity; see the unique_writer_identity field. // // - sinkName: The full resource name of the sink to update, including // the parent resource and the sink identifier: @@ -32519,7 +32520,7 @@ func (c *OrganizationsSinksPatchCall) Do(opts ...googleapi.CallOption) (*LogSink } return ret, nil // { - // "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + // "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", // "flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}", // "httpMethod": "PATCH", // "id": "logging.organizations.sinks.patch", @@ -32577,10 +32578,10 @@ type OrganizationsSinksUpdateCall struct { header_ http.Header } -// Update: Updates a sink. This method replaces the following fields in -// the existing sink with values from the new sink: destination, and -// filter.The updated sink might also have a new writer_identity; see -// the unique_writer_identity field. +// Update: Updates a sink. This method replaces the values of the +// destination and filter fields of the existing sink with the +// corresponding values from the new sink.The updated sink might also +// have a new writer_identity; see the unique_writer_identity field. // // - sinkName: The full resource name of the sink to update, including // the parent resource and the sink identifier: @@ -32729,7 +32730,7 @@ func (c *OrganizationsSinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSin } return ret, nil // { - // "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + // "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", // "flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}", // "httpMethod": "PUT", // "id": "logging.organizations.sinks.update", @@ -36927,11 +36928,11 @@ type ProjectsLocationsBucketsViewsPatchCall struct { header_ http.Header } -// Patch: Updates a view on a log bucket. This method replaces the -// following fields in the existing view with values from the new view: -// filter. If an UNAVAILABLE error is returned, this indicates that -// system is not in a state where it can update the view. If this -// occurs, please try again in a few minutes. +// Patch: Updates a view on a log bucket. This method replaces the value +// of the filter field from the existing view with the corresponding +// value from the new view. If an UNAVAILABLE error is returned, this +// indicates that system is not in a state where it can update the view. +// If this occurs, please try again in a few minutes. // // - name: The full resource name of the view to update // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v @@ -37048,7 +37049,7 @@ func (c *ProjectsLocationsBucketsViewsPatchCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", + // "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", // "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", // "httpMethod": "PATCH", // "id": "logging.projects.locations.buckets.views.patch", @@ -38065,8 +38066,7 @@ func (r *ProjectsLocationsSavedQueriesService) Create(parent string, savedquery // the system will generate an alphanumeric ID.The saved_query_id is // limited to 100 characters and can include only the following // characters: upper and lower-case alphanumeric characters, -// underscores, hyphens, and periods. First character has to be -// alphanumeric. +// underscores, hyphens, periods.First character has to be alphanumeric. func (c *ProjectsLocationsSavedQueriesCreateCall) SavedQueryId(savedQueryId string) *ProjectsLocationsSavedQueriesCreateCall { c.urlParams_.Set("savedQueryId", savedQueryId) return c @@ -38179,7 +38179,7 @@ func (c *ProjectsLocationsSavedQueriesCreateCall) Do(opts ...googleapi.CallOptio // "type": "string" // }, // "savedQueryId": { - // "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.", + // "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.", // "location": "query", // "type": "string" // } @@ -40397,10 +40397,10 @@ type ProjectsSinksPatchCall struct { header_ http.Header } -// Patch: Updates a sink. This method replaces the following fields in -// the existing sink with values from the new sink: destination, and -// filter.The updated sink might also have a new writer_identity; see -// the unique_writer_identity field. +// Patch: Updates a sink. This method replaces the values of the +// destination and filter fields of the existing sink with the +// corresponding values from the new sink.The updated sink might also +// have a new writer_identity; see the unique_writer_identity field. // // - sinkName: The full resource name of the sink to update, including // the parent resource and the sink identifier: @@ -40549,7 +40549,7 @@ func (c *ProjectsSinksPatchCall) Do(opts ...googleapi.CallOption) (*LogSink, err } return ret, nil // { - // "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + // "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", // "flatPath": "v2/projects/{projectsId}/sinks/{sinksId}", // "httpMethod": "PATCH", // "id": "logging.projects.sinks.patch", @@ -40607,10 +40607,10 @@ type ProjectsSinksUpdateCall struct { header_ http.Header } -// Update: Updates a sink. This method replaces the following fields in -// the existing sink with values from the new sink: destination, and -// filter.The updated sink might also have a new writer_identity; see -// the unique_writer_identity field. +// Update: Updates a sink. This method replaces the values of the +// destination and filter fields of the existing sink with the +// corresponding values from the new sink.The updated sink might also +// have a new writer_identity; see the unique_writer_identity field. // // - sinkName: The full resource name of the sink to update, including // the parent resource and the sink identifier: @@ -40759,7 +40759,7 @@ func (c *ProjectsSinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSink, er } return ret, nil // { - // "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + // "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", // "flatPath": "v2/projects/{projectsId}/sinks/{sinksId}", // "httpMethod": "PUT", // "id": "logging.projects.sinks.update", @@ -41501,10 +41501,10 @@ type SinksUpdateCall struct { header_ http.Header } -// Update: Updates a sink. This method replaces the following fields in -// the existing sink with values from the new sink: destination, and -// filter.The updated sink might also have a new writer_identity; see -// the unique_writer_identity field. +// Update: Updates a sink. This method replaces the values of the +// destination and filter fields of the existing sink with the +// corresponding values from the new sink.The updated sink might also +// have a new writer_identity; see the unique_writer_identity field. // // - sinkName: The full resource name of the sink to update, including // the parent resource and the sink identifier: @@ -41653,7 +41653,7 @@ func (c *SinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSink, error) { } return ret, nil // { - // "description": "Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", + // "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", // "flatPath": "v2/{v2Id}/{v2Id1}/sinks/{sinksId}", // "httpMethod": "PUT", // "id": "logging.sinks.update", @@ -42040,11 +42040,11 @@ type V2UpdateCmekSettingsCall struct { // given resource.Note: CMEK for the Log Router can currently only be // configured for Google Cloud organizations. Once configured, it // applies to all projects and folders in the Google Cloud -// organization.UpdateCmekSettings will fail if 1) kms_key_name is -// invalid, or 2) the associated service account does not have the -// required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for -// the key, or 3) access to the key is disabled.See Enabling CMEK for -// Log Router +// organization.UpdateCmekSettings fails when any of the following are +// true: The value of kms_key_name is invalid. The associated service +// account doesn't have the required +// roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. +// Access to the key is disabled.See Enabling CMEK for Log Router // (https://cloud.google.com/logging/docs/routing/managed-encryption) // for more information. // @@ -42165,7 +42165,7 @@ func (c *V2UpdateCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettin } return ret, nil // { - // "description": "Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.", + // "description": "Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.", // "flatPath": "v2/{v2Id}/{v2Id1}/cmekSettings", // "httpMethod": "PATCH", // "id": "logging.updateCmekSettings", @@ -42215,15 +42215,16 @@ type V2UpdateSettingsCall struct { // UpdateSettings: Updates the settings for the given resource. This // method applies to all feature configurations for organization and -// folders.UpdateSettings will fail if 1) kms_key_name is invalid, 2) -// the associated service account does not have the required -// roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, -// 3) access to the key is disabled, 4) storage_location is not -// supported by Logging, 5) storage_location violates the location -// OrgPolicy, or 6) default_sink_config is set but has an unspecified -// filter write mode.See Configure default settings for organizations -// and folders (https://cloud.google.com/logging/docs/default-settings) -// for more information. +// folders.UpdateSettings fails when any of the following are true: The +// value of storage_location either isn't supported by Logging or +// violates the location OrgPolicy. The default_sink_config field is +// set, but it has an unspecified filter write mode. The value of +// kms_key_name is invalid. The associated service account doesn't have +// the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned +// for the key. Access to the key is disabled.See Configure default +// settings for organizations and folders +// (https://cloud.google.com/logging/docs/default-settings) for more +// information. // // - name: The resource name for the settings to update. // "organizations/[ORGANIZATION_ID]/settings" For @@ -42336,7 +42337,7 @@ func (c *V2UpdateSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, erro } return ret, nil // { - // "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings will fail if 1) kms_key_name is invalid, 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, 3) access to the key is disabled, 4) storage_location is not supported by Logging, 5) storage_location violates the location OrgPolicy, or 6) default_sink_config is set but has an unspecified filter write mode.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.", + // "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.", // "flatPath": "v2/{v2Id}/{v2Id1}/settings", // "httpMethod": "PATCH", // "id": "logging.updateSettings", diff --git a/migrationcenter/v1/migrationcenter-api.json b/migrationcenter/v1/migrationcenter-api.json index 950472a56cc..0b7446f5347 100644 --- a/migrationcenter/v1/migrationcenter-api.json +++ b/migrationcenter/v1/migrationcenter-api.json @@ -2099,7 +2099,7 @@ } } }, - "revision": "20231201", + "revision": "20231208", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -3253,6 +3253,13 @@ "format": "google-datetime", "type": "string" }, + "licenses": { + "description": "License strings associated with the installed application.", + "items": { + "type": "string" + }, + "type": "array" + }, "path": { "description": "Source path.", "type": "string" diff --git a/migrationcenter/v1/migrationcenter-gen.go b/migrationcenter/v1/migrationcenter-gen.go index 67716120f95..782aafc4fbd 100644 --- a/migrationcenter/v1/migrationcenter-gen.go +++ b/migrationcenter/v1/migrationcenter-gen.go @@ -2264,6 +2264,9 @@ type GuestInstalledApplication struct { // InstallTime: The time when the application was installed. InstallTime string `json:"installTime,omitempty"` + // Licenses: License strings associated with the installed application. + Licenses []string `json:"licenses,omitempty"` + // Path: Source path. Path string `json:"path,omitempty"` diff --git a/networkmanagement/v1/networkmanagement-api.json b/networkmanagement/v1/networkmanagement-api.json index dbf7469c66f..b1561648a3a 100644 --- a/networkmanagement/v1/networkmanagement-api.json +++ b/networkmanagement/v1/networkmanagement-api.json @@ -591,7 +591,7 @@ } } }, - "revision": "20231129", + "revision": "20231207", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -622,7 +622,8 @@ "RESOURCE_CONFIG_NOT_FOUND", "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT", "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED", - "SOURCE_FORWARDING_RULE_UNSUPPORTED" + "SOURCE_FORWARDING_RULE_UNSUPPORTED", + "NON_ROUTABLE_IP_ADDRESS" ], "enumDescriptions": [ "Cause is unspecified.", @@ -646,7 +647,8 @@ "Aborted because expected resource configuration was missing.", "Aborted because a PSC endpoint selection for the Google-managed service is ambiguous (several PSC endpoints satisfy test input).", "Aborted because tests with a PSC-based Cloud SQL instance as a source are not supported.", - "Aborted because tests with a forwarding rule as a source are not supported." + "Aborted because tests with a forwarding rule as a source are not supported.", + "Aborted because one of the endpoints is a non-routable IP address (loopback, link-local, etc)." ], "type": "string" }, @@ -1034,6 +1036,7 @@ "FORWARDING_RULE_REGION_MISMATCH", "PSC_CONNECTION_NOT_ACCEPTED", "PSC_ENDPOINT_ACCESSED_FROM_PEERED_NETWORK", + "PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS", "CLOUD_RUN_REVISION_NOT_READY", "DROPPED_INSIDE_PSC_SERVICE_PRODUCER", "LOAD_BALANCER_HAS_NO_PROXY_SUBNET", @@ -1084,6 +1087,7 @@ "Packet could be dropped because it was sent from a different region to a regional forwarding without global access.", "The Private Service Connect endpoint is in a project that is not approved to connect to the service.", "The packet is sent to the Private Service Connect endpoint over the peering, but [it's not supported](https://cloud.google.com/vpc/docs/configure-private-service-connect-services#on-premises).", + "The packet is sent to the Private Service Connect backend (network endpoint group), but the producer PSC forwarding rule does not have global access enabled.", "Packet sent from a Cloud Run revision that is not ready.", "Packet was dropped inside Private Service Connect service producer.", "Packet sent to a load balancer, which requires a proxy-only subnet and the subnet is not found.", @@ -1317,7 +1321,7 @@ "id": "FirewallInfo", "properties": { "action": { - "description": "Possible values: ALLOW, DENY", + "description": "Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP", "type": "string" }, "direction": { @@ -1338,7 +1342,8 @@ "SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE", "NETWORK_FIREWALL_POLICY_RULE", "NETWORK_REGIONAL_FIREWALL_POLICY_RULE", - "UNSUPPORTED_FIREWALL_POLICY_RULE" + "UNSUPPORTED_FIREWALL_POLICY_RULE", + "TRACKING_STATE" ], "enumDescriptions": [ "Unspecified type.", @@ -1348,7 +1353,8 @@ "Implicit firewall rules that are managed by serverless VPC access to allow ingress access. They are not visible in the Google Cloud console. For details, see [VPC connector's implicit rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).", "Global network firewall policy rule. For details, see [Network firewall policies](https://cloud.google.com/vpc/docs/network-firewall-policies).", "Regional network firewall policy rule. For details, see [Regional network firewall policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).", - "Firewall policy rule containing attributes not yet supported in Connectivity tests. Firewall analysis is skipped if such a rule can potentially be matched. Please see the [list of unsupported configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs)." + "Firewall policy rule containing attributes not yet supported in Connectivity tests. Firewall analysis is skipped if such a rule can potentially be matched. Please see the [list of unsupported configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs).", + "Tracking state for response traffic created when request traffic goes through allow firewall rule. For details, see [firewall rules specifications](https://cloud.google.com/firewall/docs/firewalls#specifications)" ], "type": "string" }, @@ -1405,7 +1411,8 @@ "IMPORTED_CUSTOM_ROUTE_NEXT_HOP", "CLOUD_SQL_INSTANCE", "ANOTHER_PROJECT", - "NCC_HUB" + "NCC_HUB", + "ROUTER_APPLIANCE" ], "enumDescriptions": [ "Target not specified.", @@ -1416,7 +1423,8 @@ "Forwarded to the next hop of a custom route imported from a peering VPC.", "Forwarded to a Cloud SQL instance.", "Forwarded to a VPC network in another project.", - "Forwarded to an NCC Hub." + "Forwarded to an NCC Hub.", + "Forwarded to a router appliance." ], "type": "string" } @@ -1696,18 +1704,14 @@ "description": "For display only. Metadata associated with the load balancer backend.", "id": "LoadBalancerBackendInfo", "properties": { - "backendDisplayName": { - "description": "Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends.", - "type": "string" - }, "backendServiceUri": { "description": "URI of the backend service this backend belongs to (if applicable).", "type": "string" }, - "healthCheckConfigState": { - "description": "Output only. Health check configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules", + "healthCheckFirewallsConfigState": { + "description": "Output only. Health check firewalls configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules", "enum": [ - "HEALTH_CHECK_CONFIG_STATE_UNSPECIFIED", + "HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED", "FIREWALLS_CONFIGURED", "FIREWALLS_PARTIALLY_CONFIGURED", "FIREWALLS_NOT_CONFIGURED", @@ -1735,6 +1739,10 @@ "description": "URI of the backend instance (if applicable). Populated for instance group backends, and zonal NEG backends.", "type": "string" }, + "name": { + "description": "Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends.", + "type": "string" + }, "networkEndpointGroupUri": { "description": "URI of the network endpoint group this backend belongs to (if applicable).", "type": "string" diff --git a/networkmanagement/v1/networkmanagement-gen.go b/networkmanagement/v1/networkmanagement-gen.go index fba8ea79087..3b121989e1c 100644 --- a/networkmanagement/v1/networkmanagement-gen.go +++ b/networkmanagement/v1/networkmanagement-gen.go @@ -266,6 +266,8 @@ type AbortInfo struct { // PSC-based Cloud SQL instance as a source are not supported. // "SOURCE_FORWARDING_RULE_UNSUPPORTED" - Aborted because tests with a // forwarding rule as a source are not supported. + // "NON_ROUTABLE_IP_ADDRESS" - Aborted because one of the endpoints is + // a non-routable IP address (loopback, link-local, etc). Cause string `json:"cause,omitempty"` // ProjectsMissingPermission: List of project IDs that the user has @@ -1010,6 +1012,9 @@ type DropInfo struct { // the Private Service Connect endpoint over the peering, but [it's not // supported](https://cloud.google.com/vpc/docs/configure-private-service // -connect-services#on-premises). + // "PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS" - The packet is sent + // to the Private Service Connect backend (network endpoint group), but + // the producer PSC forwarding rule does not have global access enabled. // "CLOUD_RUN_REVISION_NOT_READY" - Packet sent from a Cloud Run // revision that is not ready. // "DROPPED_INSIDE_PSC_SERVICE_PRODUCER" - Packet was dropped inside @@ -1355,7 +1360,7 @@ func (s *Expr) MarshalJSON() ([]byte, error) { // firewall rule, an implied VPC firewall rule, or a hierarchical // firewall policy rule. type FirewallInfo struct { - // Action: Possible values: ALLOW, DENY + // Action: Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP Action string `json:"action,omitempty"` // Direction: Possible values: INGRESS, EGRESS @@ -1399,6 +1404,11 @@ type FirewallInfo struct { // matched. Please see the [list of unsupported // configurations](https://cloud.google.com/network-intelligence-center/d // ocs/connectivity-tests/concepts/overview#unsupported-configs). + // "TRACKING_STATE" - Tracking state for response traffic created when + // request traffic goes through allow firewall rule. For details, see + // [firewall rules + // specifications](https://cloud.google.com/firewall/docs/firewalls#speci + // fications) FirewallRuleType string `json:"firewallRuleType,omitempty"` // NetworkUri: The URI of the VPC network that the firewall rule is @@ -1468,6 +1478,7 @@ type ForwardInfo struct { // "CLOUD_SQL_INSTANCE" - Forwarded to a Cloud SQL instance. // "ANOTHER_PROJECT" - Forwarded to a VPC network in another project. // "NCC_HUB" - Forwarded to an NCC Hub. + // "ROUTER_APPLIANCE" - Forwarded to a router appliance. Target string `json:"target,omitempty"` // ForceSendFields is a list of field names (e.g. "ResourceUri") to @@ -1921,28 +1932,24 @@ func (s *LoadBalancerBackend) MarshalJSON() ([]byte, error) { // LoadBalancerBackendInfo: For display only. Metadata associated with // the load balancer backend. type LoadBalancerBackendInfo struct { - // BackendDisplayName: Display name of the backend. For example, it - // might be an instance name for the instance group backends, or an IP - // address and port for zonal network endpoint group backends. - BackendDisplayName string `json:"backendDisplayName,omitempty"` - // BackendServiceUri: URI of the backend service this backend belongs to // (if applicable). BackendServiceUri string `json:"backendServiceUri,omitempty"` - // HealthCheckConfigState: Output only. Health check configuration state - // for the backend. This is a result of the static firewall analysis - // (verifying that health check traffic from required IP ranges to the - // backend is allowed or not). The backend might still be unhealthy even - // if these firewalls are configured. Please refer to the documentation - // for more information: + // HealthCheckFirewallsConfigState: Output only. Health check firewalls + // configuration state for the backend. This is a result of the static + // firewall analysis (verifying that health check traffic from required + // IP ranges to the backend is allowed or not). The backend might still + // be unhealthy even if these firewalls are configured. Please refer to + // the documentation for more information: // https://cloud.google.com/load-balancing/docs/firewall-rules // // Possible values: - // "HEALTH_CHECK_CONFIG_STATE_UNSPECIFIED" - Configuration state - // unspecified. It usually means that the backend has no health check - // attached, or there was an unexpected configuration error preventing - // Connectivity tests from verifying health check configuration. + // "HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED" - Configuration + // state unspecified. It usually means that the backend has no health + // check attached, or there was an unexpected configuration error + // preventing Connectivity tests from verifying health check + // configuration. // "FIREWALLS_CONFIGURED" - Firewall rules (policies) allowing health // check traffic from all required IP ranges to the backend are // configured. @@ -1955,7 +1962,7 @@ type LoadBalancerBackendInfo struct { // health check configuration status. Please refer to the documentation // for the list of unsupported configurations: // https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs - HealthCheckConfigState string `json:"healthCheckConfigState,omitempty"` + HealthCheckFirewallsConfigState string `json:"healthCheckFirewallsConfigState,omitempty"` // HealthCheckUri: URI of the health check attached to this backend (if // applicable). @@ -1969,11 +1976,16 @@ type LoadBalancerBackendInfo struct { // for instance group backends, and zonal NEG backends. InstanceUri string `json:"instanceUri,omitempty"` + // Name: Display name of the backend. For example, it might be an + // instance name for the instance group backends, or an IP address and + // port for zonal network endpoint group backends. + Name string `json:"name,omitempty"` + // NetworkEndpointGroupUri: URI of the network endpoint group this // backend belongs to (if applicable). NetworkEndpointGroupUri string `json:"networkEndpointGroupUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "BackendDisplayName") + // ForceSendFields is a list of field names (e.g. "BackendServiceUri") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1981,7 +1993,7 @@ type LoadBalancerBackendInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BackendDisplayName") to + // NullFields is a list of field names (e.g. "BackendServiceUri") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the diff --git a/networkmanagement/v1beta1/networkmanagement-api.json b/networkmanagement/v1beta1/networkmanagement-api.json index 0a541c6a518..88882bd5b19 100644 --- a/networkmanagement/v1beta1/networkmanagement-api.json +++ b/networkmanagement/v1beta1/networkmanagement-api.json @@ -591,7 +591,7 @@ } } }, - "revision": "20231129", + "revision": "20231207", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -622,7 +622,8 @@ "RESOURCE_CONFIG_NOT_FOUND", "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT", "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED", - "SOURCE_FORWARDING_RULE_UNSUPPORTED" + "SOURCE_FORWARDING_RULE_UNSUPPORTED", + "NON_ROUTABLE_IP_ADDRESS" ], "enumDescriptions": [ "Cause is unspecified.", @@ -646,7 +647,8 @@ "Aborted because expected resource configuration was missing.", "Aborted because a PSC endpoint selection for the Google-managed service is ambiguous (several PSC endpoints satisfy test input).", "Aborted because tests with a PSC-based Cloud SQL instance as a source are not supported.", - "Aborted because tests with a forwarding rule as a source are not supported." + "Aborted because tests with a forwarding rule as a source are not supported.", + "Aborted because one of the endpoints is a non-routable IP address (loopback, link-local, etc)." ], "type": "string" }, @@ -1039,6 +1041,7 @@ "FORWARDING_RULE_REGION_MISMATCH", "PSC_CONNECTION_NOT_ACCEPTED", "PSC_ENDPOINT_ACCESSED_FROM_PEERED_NETWORK", + "PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS", "CLOUD_RUN_REVISION_NOT_READY", "DROPPED_INSIDE_PSC_SERVICE_PRODUCER", "LOAD_BALANCER_HAS_NO_PROXY_SUBNET", @@ -1089,6 +1092,7 @@ "Packet could be dropped because it was sent from a different region to a regional forwarding without global access.", "The Private Service Connect endpoint is in a project that is not approved to connect to the service.", "The packet is sent to the Private Service Connect endpoint over the peering, but [it's not supported](https://cloud.google.com/vpc/docs/configure-private-service-connect-services#on-premises).", + "The packet is sent to the Private Service Connect backend (network endpoint group), but the producer PSC forwarding rule does not have global access enabled.", "Packet sent from a Cloud Run revision that is not ready.", "Packet was dropped inside Private Service Connect service producer.", "Packet sent to a load balancer, which requires a proxy-only subnet and the subnet is not found.", @@ -1322,7 +1326,7 @@ "id": "FirewallInfo", "properties": { "action": { - "description": "Possible values: ALLOW, DENY", + "description": "Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP", "type": "string" }, "direction": { @@ -1343,7 +1347,8 @@ "SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE", "NETWORK_FIREWALL_POLICY_RULE", "NETWORK_REGIONAL_FIREWALL_POLICY_RULE", - "UNSUPPORTED_FIREWALL_POLICY_RULE" + "UNSUPPORTED_FIREWALL_POLICY_RULE", + "TRACKING_STATE" ], "enumDescriptions": [ "Unspecified type.", @@ -1353,7 +1358,8 @@ "Implicit firewall rules that are managed by serverless VPC access to allow ingress access. They are not visible in the Google Cloud console. For details, see [VPC connector's implicit rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).", "Global network firewall policy rule. For details, see [Network firewall policies](https://cloud.google.com/vpc/docs/network-firewall-policies).", "Regional network firewall policy rule. For details, see [Regional network firewall policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).", - "Firewall policy rule containing attributes not yet supported in Connectivity tests. Firewall analysis is skipped if such a rule can potentially be matched. Please see the [list of unsupported configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs)." + "Firewall policy rule containing attributes not yet supported in Connectivity tests. Firewall analysis is skipped if such a rule can potentially be matched. Please see the [list of unsupported configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs).", + "Tracking state for response traffic created when request traffic goes through allow firewall rule. For details, see [firewall rules specifications](https://cloud.google.com/firewall/docs/firewalls#specifications)" ], "type": "string" }, @@ -1410,7 +1416,8 @@ "IMPORTED_CUSTOM_ROUTE_NEXT_HOP", "CLOUD_SQL_INSTANCE", "ANOTHER_PROJECT", - "NCC_HUB" + "NCC_HUB", + "ROUTER_APPLIANCE" ], "enumDescriptions": [ "Target not specified.", @@ -1421,7 +1428,8 @@ "Forwarded to the next hop of a custom route imported from a peering VPC.", "Forwarded to a Cloud SQL instance.", "Forwarded to a VPC network in another project.", - "Forwarded to an NCC Hub." + "Forwarded to an NCC Hub.", + "Forwarded to a router appliance." ], "type": "string" } @@ -1701,18 +1709,14 @@ "description": "For display only. Metadata associated with the load balancer backend.", "id": "LoadBalancerBackendInfo", "properties": { - "backendDisplayName": { - "description": "Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends.", - "type": "string" - }, "backendServiceUri": { "description": "URI of the backend service this backend belongs to (if applicable).", "type": "string" }, - "healthCheckConfigState": { - "description": "Output only. Health check configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules", + "healthCheckFirewallsConfigState": { + "description": "Output only. Health check firewalls configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules", "enum": [ - "HEALTH_CHECK_CONFIG_STATE_UNSPECIFIED", + "HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED", "FIREWALLS_CONFIGURED", "FIREWALLS_PARTIALLY_CONFIGURED", "FIREWALLS_NOT_CONFIGURED", @@ -1740,6 +1744,10 @@ "description": "URI of the backend instance (if applicable). Populated for instance group backends, and zonal NEG backends.", "type": "string" }, + "name": { + "description": "Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends.", + "type": "string" + }, "networkEndpointGroupUri": { "description": "URI of the network endpoint group this backend belongs to (if applicable).", "type": "string" diff --git a/networkmanagement/v1beta1/networkmanagement-gen.go b/networkmanagement/v1beta1/networkmanagement-gen.go index cb1737a38bb..154dcf76afa 100644 --- a/networkmanagement/v1beta1/networkmanagement-gen.go +++ b/networkmanagement/v1beta1/networkmanagement-gen.go @@ -266,6 +266,8 @@ type AbortInfo struct { // PSC-based Cloud SQL instance as a source are not supported. // "SOURCE_FORWARDING_RULE_UNSUPPORTED" - Aborted because tests with a // forwarding rule as a source are not supported. + // "NON_ROUTABLE_IP_ADDRESS" - Aborted because one of the endpoints is + // a non-routable IP address (loopback, link-local, etc). Cause string `json:"cause,omitempty"` // ProjectsMissingPermission: List of project IDs that the user has @@ -1013,6 +1015,9 @@ type DropInfo struct { // the Private Service Connect endpoint over the peering, but [it's not // supported](https://cloud.google.com/vpc/docs/configure-private-service // -connect-services#on-premises). + // "PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS" - The packet is sent + // to the Private Service Connect backend (network endpoint group), but + // the producer PSC forwarding rule does not have global access enabled. // "CLOUD_RUN_REVISION_NOT_READY" - Packet sent from a Cloud Run // revision that is not ready. // "DROPPED_INSIDE_PSC_SERVICE_PRODUCER" - Packet was dropped inside @@ -1358,7 +1363,7 @@ func (s *Expr) MarshalJSON() ([]byte, error) { // firewall rule, an implied VPC firewall rule, or a hierarchical // firewall policy rule. type FirewallInfo struct { - // Action: Possible values: ALLOW, DENY + // Action: Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP Action string `json:"action,omitempty"` // Direction: Possible values: INGRESS, EGRESS @@ -1402,6 +1407,11 @@ type FirewallInfo struct { // matched. Please see the [list of unsupported // configurations](https://cloud.google.com/network-intelligence-center/d // ocs/connectivity-tests/concepts/overview#unsupported-configs). + // "TRACKING_STATE" - Tracking state for response traffic created when + // request traffic goes through allow firewall rule. For details, see + // [firewall rules + // specifications](https://cloud.google.com/firewall/docs/firewalls#speci + // fications) FirewallRuleType string `json:"firewallRuleType,omitempty"` // NetworkUri: The URI of the VPC network that the firewall rule is @@ -1471,6 +1481,7 @@ type ForwardInfo struct { // "CLOUD_SQL_INSTANCE" - Forwarded to a Cloud SQL instance. // "ANOTHER_PROJECT" - Forwarded to a VPC network in another project. // "NCC_HUB" - Forwarded to an NCC Hub. + // "ROUTER_APPLIANCE" - Forwarded to a router appliance. Target string `json:"target,omitempty"` // ForceSendFields is a list of field names (e.g. "ResourceUri") to @@ -1924,28 +1935,24 @@ func (s *LoadBalancerBackend) MarshalJSON() ([]byte, error) { // LoadBalancerBackendInfo: For display only. Metadata associated with // the load balancer backend. type LoadBalancerBackendInfo struct { - // BackendDisplayName: Display name of the backend. For example, it - // might be an instance name for the instance group backends, or an IP - // address and port for zonal network endpoint group backends. - BackendDisplayName string `json:"backendDisplayName,omitempty"` - // BackendServiceUri: URI of the backend service this backend belongs to // (if applicable). BackendServiceUri string `json:"backendServiceUri,omitempty"` - // HealthCheckConfigState: Output only. Health check configuration state - // for the backend. This is a result of the static firewall analysis - // (verifying that health check traffic from required IP ranges to the - // backend is allowed or not). The backend might still be unhealthy even - // if these firewalls are configured. Please refer to the documentation - // for more information: + // HealthCheckFirewallsConfigState: Output only. Health check firewalls + // configuration state for the backend. This is a result of the static + // firewall analysis (verifying that health check traffic from required + // IP ranges to the backend is allowed or not). The backend might still + // be unhealthy even if these firewalls are configured. Please refer to + // the documentation for more information: // https://cloud.google.com/load-balancing/docs/firewall-rules // // Possible values: - // "HEALTH_CHECK_CONFIG_STATE_UNSPECIFIED" - Configuration state - // unspecified. It usually means that the backend has no health check - // attached, or there was an unexpected configuration error preventing - // Connectivity tests from verifying health check configuration. + // "HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED" - Configuration + // state unspecified. It usually means that the backend has no health + // check attached, or there was an unexpected configuration error + // preventing Connectivity tests from verifying health check + // configuration. // "FIREWALLS_CONFIGURED" - Firewall rules (policies) allowing health // check traffic from all required IP ranges to the backend are // configured. @@ -1958,7 +1965,7 @@ type LoadBalancerBackendInfo struct { // health check configuration status. Please refer to the documentation // for the list of unsupported configurations: // https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs - HealthCheckConfigState string `json:"healthCheckConfigState,omitempty"` + HealthCheckFirewallsConfigState string `json:"healthCheckFirewallsConfigState,omitempty"` // HealthCheckUri: URI of the health check attached to this backend (if // applicable). @@ -1972,11 +1979,16 @@ type LoadBalancerBackendInfo struct { // for instance group backends, and zonal NEG backends. InstanceUri string `json:"instanceUri,omitempty"` + // Name: Display name of the backend. For example, it might be an + // instance name for the instance group backends, or an IP address and + // port for zonal network endpoint group backends. + Name string `json:"name,omitempty"` + // NetworkEndpointGroupUri: URI of the network endpoint group this // backend belongs to (if applicable). NetworkEndpointGroupUri string `json:"networkEndpointGroupUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "BackendDisplayName") + // ForceSendFields is a list of field names (e.g. "BackendServiceUri") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1984,7 +1996,7 @@ type LoadBalancerBackendInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BackendDisplayName") to + // NullFields is a list of field names (e.g. "BackendServiceUri") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the diff --git a/workloadmanager/v1/workloadmanager-api.json b/workloadmanager/v1/workloadmanager-api.json index e2d88fd5479..0c06d590c03 100644 --- a/workloadmanager/v1/workloadmanager-api.json +++ b/workloadmanager/v1/workloadmanager-api.json @@ -92,13 +92,13 @@ "location": "query", "type": "string" }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "location": "query", "type": "string" }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "location": "query", "type": "string" } @@ -707,7 +707,7 @@ } } }, - "revision": "20231114", + "revision": "20231211", "rootUrl": "https://workloadmanager.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -1352,6 +1352,10 @@ "$ref": "SapDiscoveryMetadata", "description": "Optional. The metadata for SAP system discovery data." }, + "projectNumber": { + "description": "Optional. The GCP project number that this SapSystem belongs to.", + "type": "string" + }, "systemId": { "description": "Output only. A combination of database SID, database instance URI and tenant DB name to make a unique identifier per-system.", "readOnly": true, @@ -1377,6 +1381,13 @@ "$ref": "SapDiscoveryComponentDatabaseProperties", "description": "Optional. The component is a SAP database." }, + "haHosts": { + "description": "Optional. A list of host URIs that are part of the HA configuration if present. An empty list indicates the component is not configured for HA.", + "items": { + "type": "string" + }, + "type": "array" + }, "hostProject": { "description": "Required. Pantheon Project in which the resources reside.", "type": "string" @@ -1391,6 +1402,20 @@ "sid": { "description": "Optional. The SAP identifier, used by the SAP software and helps differentiate systems for customers.", "type": "string" + }, + "topologyType": { + "description": "Optional. The detected topology of the component.", + "enum": [ + "TOPOLOGY_TYPE_UNSPECIFIED", + "TOPOLOGY_SCALE_UP", + "TOPOLOGY_SCALE_OUT" + ], + "enumDescriptions": [ + "Unspecified topology.", + "A scale-up single node system.", + "A scale-out multi-node system." + ], + "type": "string" } }, "type": "object" @@ -1399,6 +1424,10 @@ "description": "A set of properties describing an SAP Application layer.", "id": "SapDiscoveryComponentApplicationProperties", "properties": { + "abap": { + "description": "Optional. Indicates whether this is a Java or ABAP Netweaver instance. true means it is ABAP, false means it is Java.", + "type": "boolean" + }, "applicationType": { "description": "Required. Type of the application. Netweaver, etc.", "enum": [ @@ -1415,6 +1444,10 @@ "description": "Optional. Resource URI of the recognized ASCS host of the application.", "type": "string" }, + "kernelVersion": { + "description": "Optional. Kernel version for Netweaver running in the system.", + "type": "string" + }, "nfsUri": { "description": "Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node.", "type": "string" @@ -1442,6 +1475,10 @@ ], "type": "string" }, + "databaseVersion": { + "description": "Optional. The version of the database software running in the system.", + "type": "string" + }, "primaryInstanceUri": { "description": "Required. URI of the recognized primary instance of the database.", "type": "string" @@ -1480,6 +1517,10 @@ "description": "Message describing a resource.", "id": "SapDiscoveryResource", "properties": { + "instanceProperties": { + "$ref": "SapDiscoveryResourceInstanceProperties", + "description": "Optional. A set of properties only applying to instance type resources." + }, "relatedResources": { "description": "Optional. A list of resource URIs related to this resource.", "items": { @@ -1547,6 +1588,24 @@ }, "type": "object" }, + "SapDiscoveryResourceInstanceProperties": { + "description": "A set of properties only present for an instance type resource", + "id": "SapDiscoveryResourceInstanceProperties", + "properties": { + "clusterInstances": { + "description": "Optional. A list of instance URIs that are part of a cluster with this one.", + "items": { + "type": "string" + }, + "type": "array" + }, + "virtualHostname": { + "description": "Optional. A virtual hostname of the instance if it has one.", + "type": "string" + } + }, + "type": "object" + }, "SapValidation": { "description": "A presentation of SAP workload insight. The schema of SAP workloads validation related data.", "id": "SapValidation", @@ -1577,7 +1636,7 @@ "additionalProperties": { "type": "string" }, - "description": "Optional. The pairs of metrics data: field name & field value.", + "description": "Optional. The pairs of metrics data: field name \u0026 field value.", "type": "object" }, "isPresent": { @@ -1785,4 +1844,4 @@ "title": "Workload Manager API", "version": "v1", "version_module": true -} +} \ No newline at end of file diff --git a/workloadmanager/v1/workloadmanager-gen.go b/workloadmanager/v1/workloadmanager-gen.go index 7364d3c456d..f4a6340625e 100644 --- a/workloadmanager/v1/workloadmanager-gen.go +++ b/workloadmanager/v1/workloadmanager-gen.go @@ -1181,6 +1181,10 @@ type SapDiscovery struct { // Metadata: Optional. The metadata for SAP system discovery data. Metadata *SapDiscoveryMetadata `json:"metadata,omitempty"` + // ProjectNumber: Optional. The GCP project number that this SapSystem + // belongs to. + ProjectNumber string `json:"projectNumber,omitempty"` + // SystemId: Output only. A combination of database SID, database // instance URI and tenant DB name to make a unique identifier // per-system. @@ -1222,6 +1226,11 @@ type SapDiscoveryComponent struct { // DatabaseProperties: Optional. The component is a SAP database. DatabaseProperties *SapDiscoveryComponentDatabaseProperties `json:"databaseProperties,omitempty"` + // HaHosts: Optional. A list of host URIs that are part of the HA + // configuration if present. An empty list indicates the component is + // not configured for HA. + HaHosts []string `json:"haHosts,omitempty"` + // HostProject: Required. Pantheon Project in which the resources // reside. HostProject string `json:"hostProject,omitempty"` @@ -1233,6 +1242,14 @@ type SapDiscoveryComponent struct { // differentiate systems for customers. Sid string `json:"sid,omitempty"` + // TopologyType: Optional. The detected topology of the component. + // + // Possible values: + // "TOPOLOGY_TYPE_UNSPECIFIED" - Unspecified topology. + // "TOPOLOGY_SCALE_UP" - A scale-up single node system. + // "TOPOLOGY_SCALE_OUT" - A scale-out multi-node system. + TopologyType string `json:"topologyType,omitempty"` + // ForceSendFields is a list of field names (e.g. // "ApplicationProperties") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API @@ -1261,6 +1278,10 @@ func (s *SapDiscoveryComponent) MarshalJSON() ([]byte, error) { // SapDiscoveryComponentApplicationProperties: A set of properties // describing an SAP Application layer. type SapDiscoveryComponentApplicationProperties struct { + // Abap: Optional. Indicates whether this is a Java or ABAP Netweaver + // instance. true means it is ABAP, false means it is Java. + Abap bool `json:"abap,omitempty"` + // ApplicationType: Required. Type of the application. Netweaver, etc. // // Possible values: @@ -1272,12 +1293,16 @@ type SapDiscoveryComponentApplicationProperties struct { // application. AscsUri string `json:"ascsUri,omitempty"` + // KernelVersion: Optional. Kernel version for Netweaver running in the + // system. + KernelVersion string `json:"kernelVersion,omitempty"` + // NfsUri: Optional. Resource URI of the recognized shared NFS of the // application. May be empty if the application server has only a single // node. NfsUri string `json:"nfsUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "ApplicationType") to + // ForceSendFields is a list of field names (e.g. "Abap") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1285,13 +1310,12 @@ type SapDiscoveryComponentApplicationProperties struct { // 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 is a list of field names (e.g. "Abap") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } @@ -1313,6 +1337,10 @@ type SapDiscoveryComponentDatabaseProperties struct { // "DB2" - IBM DB2 DatabaseType string `json:"databaseType,omitempty"` + // DatabaseVersion: Optional. The version of the database software + // running in the system. + DatabaseVersion string `json:"databaseVersion,omitempty"` + // PrimaryInstanceUri: Required. URI of the recognized primary instance // of the database. PrimaryInstanceUri string `json:"primaryInstanceUri,omitempty"` @@ -1388,6 +1416,10 @@ func (s *SapDiscoveryMetadata) MarshalJSON() ([]byte, error) { // SapDiscoveryResource: Message describing a resource. type SapDiscoveryResource struct { + // InstanceProperties: Optional. A set of properties only applying to + // instance type resources. + InstanceProperties *SapDiscoveryResourceInstanceProperties `json:"instanceProperties,omitempty"` + // RelatedResources: Optional. A list of resource URIs related to this // resource. RelatedResources []string `json:"relatedResources,omitempty"` @@ -1430,15 +1462,15 @@ type SapDiscoveryResource struct { // its discovery data updated. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "RelatedResources") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "InstanceProperties") + // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "RelatedResources") to + // NullFields is a list of field names (e.g. "InstanceProperties") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -1454,6 +1486,41 @@ func (s *SapDiscoveryResource) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// SapDiscoveryResourceInstanceProperties: A set of properties only +// present for an instance type resource +type SapDiscoveryResourceInstanceProperties struct { + // ClusterInstances: Optional. A list of instance URIs that are part of + // a cluster with this one. + ClusterInstances []string `json:"clusterInstances,omitempty"` + + // VirtualHostname: Optional. A virtual hostname of the instance if it + // has one. + VirtualHostname string `json:"virtualHostname,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ClusterInstances") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ClusterInstances") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *SapDiscoveryResourceInstanceProperties) MarshalJSON() ([]byte, error) { + type NoMethod SapDiscoveryResourceInstanceProperties + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // SapValidation: A presentation of SAP workload insight. The schema of // SAP workloads validation related data. type SapValidation struct {