diff --git a/artifactregistry/v1/artifactregistry-api.json b/artifactregistry/v1/artifactregistry-api.json index 23de7ab35f9..960ec3dc32e 100644 --- a/artifactregistry/v1/artifactregistry-api.json +++ b/artifactregistry/v1/artifactregistry-api.json @@ -884,7 +884,7 @@ "attachments": { "methods": { "create": { - "description": "Creates an attachment. The returned Operation will finish once the attachment has been created. Its response will be the created Attachment.", + "description": "Creates an attachment. The returned Operation will finish once the attachment has been created. Its response will be the created attachment.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments", "httpMethod": "POST", "id": "artifactregistry.projects.locations.repositories.attachments.create", @@ -917,7 +917,7 @@ ] }, "delete": { - "description": "Deletes an attachment. The returned Operation will finish once the attachments has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.", + "description": "Deletes an attachment. The returned Operation will finish once the attachments has been deleted. It will not have any Operation metadata and will return a `google.protobuf.Empty` response.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments/{attachmentsId}", "httpMethod": "DELETE", "id": "artifactregistry.projects.locations.repositories.attachments.delete", @@ -968,7 +968,7 @@ ] }, "list": { - "description": "Lists repositories.", + "description": "Lists attachments.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments", "httpMethod": "GET", "id": "artifactregistry.projects.locations.repositories.attachments.list", @@ -1246,7 +1246,7 @@ ] }, "upload": { - "description": "Directly uploads a File to a repository. The returned Operation will complete once the resources are uploaded.", + "description": "Directly uploads a file to a repository. The returned Operation will complete once the resources are uploaded.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files:upload", "httpMethod": "POST", "id": "artifactregistry.projects.locations.repositories.files.upload", @@ -2106,7 +2106,7 @@ ], "parameters": { "name": { - "description": "The name of the version, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1\". If the package or version ID parts contain slashes, the slashes are escaped.", + "description": "The name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID parts contain slashes, the slashes are escaped.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/versions/[^/]+$", "required": true, @@ -2439,7 +2439,7 @@ } } }, - "revision": "20240923", + "revision": "20241001", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -2506,18 +2506,18 @@ "type": "object" }, "Attachment": { - "description": "An Attachment refers to additional metadata that can be attached to artifacts in ArtifactRegistry. An attachment consists of one or more files.", + "description": "An Attachment refers to additional metadata that can be attached to artifacts in Artifact Registry. An attachment consists of one or more files.", "id": "Attachment", "properties": { "annotations": { "additionalProperties": { "type": "string" }, - "description": "Optional. User annotations. These attributes can only be set and used by the user, and not by Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format and size limitations. Client specified annotations.", + "description": "Optional. User annotations. These attributes can only be set and used by the user, and not by Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format and size limitations.", "type": "object" }, "attachmentNamespace": { - "description": "The namespace this attachment belongs to. E.g. If an Attachment is created by artifact analysis, namespace is set to artifactanalysis.googleapis.com.", + "description": "The namespace this attachment belongs to. E.g. If an Attachment is created by artifact analysis, namespace is set to `artifactanalysis.googleapis.com`.", "type": "string" }, "createTime": { @@ -2527,7 +2527,7 @@ "type": "string" }, "files": { - "description": "Required. The files that blong to this Attachment. If the file ID part contains slashes, they are escaped. E.g. \"projects/p1/locations/us-central1/repositories/repo1/files/sha:\".", + "description": "Required. The files that belong to this attachment. If the file ID part contains slashes, they are escaped. E.g. `projects/p1/locations/us-central1/repositories/repo1/files/sha:`.", "items": { "type": "string" }, @@ -2538,7 +2538,7 @@ "type": "string" }, "ociVersionName": { - "description": "Output only. The name of the OCI version that this attachment created. Only populated for Docker attachments. E.g. \"projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1\".", + "description": "Output only. The name of the OCI version that this attachment created. Only populated for Docker attachments. E.g. `projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1`.", "readOnly": true, "type": "string" }, @@ -2547,7 +2547,7 @@ "type": "string" }, "type": { - "description": "Type of Attachment. E.g. application/vnd.spdx+jsonn", + "description": "Type of Attachment. E.g. `application/vnd.spdx+json`", "type": "string" }, "updateTime": { @@ -2724,7 +2724,7 @@ "id": "CommonRemoteRepository", "properties": { "uri": { - "description": "Required. A common public repository base for Remote Repository.", + "description": "Required. A common public repository base for remote repository.", "type": "string" } }, @@ -3938,12 +3938,6 @@ }, "type": "object" }, - "PromoteArtifactMetadata": { - "description": "The metadata for promote artifact long running operation.", - "id": "PromoteArtifactMetadata", - "properties": {}, - "type": "object" - }, "PythonPackage": { "description": "PythonPackage represents a python artifact.", "id": "PythonPackage", @@ -4012,7 +4006,7 @@ }, "commonRepository": { "$ref": "CommonRemoteRepository", - "description": "Common remote repository settings. Used as the RR upstream URL instead of Predefined and Custom remote repositories. UI and Gcloud will map all the new remote repositories to this field." + "description": "Common remote repository settings. Used as the RemoteRepository upstream URL instead of Predefined and Custom remote repositories. Google Cloud Console and Google Cloud CLI will map all the new remote repositories to this field." }, "description": { "description": "The description of the remote source.", @@ -4593,7 +4587,7 @@ "type": "object" }, "name": { - "description": "The name of the version, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1\". If the package or version ID parts contain slashes, the slashes are escaped.", + "description": "The name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID parts contain slashes, the slashes are escaped.", "type": "string" }, "relatedTags": { diff --git a/artifactregistry/v1/artifactregistry-gen.go b/artifactregistry/v1/artifactregistry-gen.go index 0406f59e5e1..121ec0f6dfb 100644 --- a/artifactregistry/v1/artifactregistry-gen.go +++ b/artifactregistry/v1/artifactregistry-gen.go @@ -466,38 +466,38 @@ func (s AptRepository) MarshalJSON() ([]byte, error) { } // Attachment: An Attachment refers to additional metadata that can be attached -// to artifacts in ArtifactRegistry. An attachment consists of one or more +// to artifacts in Artifact Registry. An attachment consists of one or more // files. type Attachment struct { // Annotations: Optional. User annotations. These attributes can only be set // and used by the user, and not by Artifact Registry. See // https://google.aip.dev/128#annotations for more details such as format and - // size limitations. Client specified annotations. + // size limitations. Annotations map[string]string `json:"annotations,omitempty"` // AttachmentNamespace: The namespace this attachment belongs to. E.g. If an // Attachment is created by artifact analysis, namespace is set to - // artifactanalysis.googleapis.com. + // `artifactanalysis.googleapis.com`. AttachmentNamespace string `json:"attachmentNamespace,omitempty"` // CreateTime: Output only. The time when the attachment was created. CreateTime string `json:"createTime,omitempty"` - // Files: Required. The files that blong to this Attachment. If the file ID + // Files: Required. The files that belong to this attachment. If the file ID // part contains slashes, they are escaped. E.g. - // "projects/p1/locations/us-central1/repositories/repo1/files/sha:". + // `projects/p1/locations/us-central1/repositories/repo1/files/sha:`. Files []string `json:"files,omitempty"` // Name: The name of the attachment. E.g. // "projects/p1/locations/us/repositories/repo/attachments/sbom". Name string `json:"name,omitempty"` // OciVersionName: Output only. The name of the OCI version that this // attachment created. Only populated for Docker attachments. E.g. - // "projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1 - // ". + // `projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1 + // `. OciVersionName string `json:"ociVersionName,omitempty"` // Target: Required. The target the attachment is for, can be a Version, // Package or Repository. E.g. // "projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1 // ". Target string `json:"target,omitempty"` - // Type: Type of Attachment. E.g. application/vnd.spdx+jsonn + // Type: Type of Attachment. E.g. `application/vnd.spdx+json` Type string `json:"type,omitempty"` // UpdateTime: Output only. The time when the attachment was last updated. UpdateTime string `json:"updateTime,omitempty"` @@ -777,7 +777,7 @@ func (s CleanupPolicyMostRecentVersions) MarshalJSON() ([]byte, error) { // CommonRemoteRepository: Common remote repository settings type. type CommonRemoteRepository struct { - // Uri: Required. A common public repository base for Remote Repository. + // Uri: Required. A common public repository base for remote repository. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "Uri") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -2499,11 +2499,6 @@ func (s ProjectSettings) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// PromoteArtifactMetadata: The metadata for promote artifact long running -// operation. -type PromoteArtifactMetadata struct { -} - // PythonPackage: PythonPackage represents a python artifact. type PythonPackage struct { // CreateTime: Output only. Time the package was created. @@ -2580,9 +2575,10 @@ func (s PythonRepository) MarshalJSON() ([]byte, error) { type RemoteRepositoryConfig struct { // AptRepository: Specific settings for an Apt remote repository. AptRepository *AptRepository `json:"aptRepository,omitempty"` - // CommonRepository: Common remote repository settings. Used as the RR upstream - // URL instead of Predefined and Custom remote repositories. UI and Gcloud will - // map all the new remote repositories to this field. + // CommonRepository: Common remote repository settings. Used as the + // RemoteRepository upstream URL instead of Predefined and Custom remote + // repositories. Google Cloud Console and Google Cloud CLI will map all the new + // remote repositories to this field. CommonRepository *CommonRemoteRepository `json:"commonRepository,omitempty"` // Description: The description of the remote source. Description string `json:"description,omitempty"` @@ -3378,8 +3374,8 @@ type Version struct { // MavenArtifact Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: The name of the version, for example: - // "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/ - // art1". If the package or version ID parts contain slashes, the slashes are + // `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/ + // art1`. If the package or version ID parts contain slashes, the slashes are // escaped. Name string `json:"name,omitempty"` // RelatedTags: Output only. A list of related tags. Will contain up to 100 @@ -5510,7 +5506,7 @@ type ProjectsLocationsRepositoriesAttachmentsCreateCall struct { } // Create: Creates an attachment. The returned Operation will finish once the -// attachment has been created. Its response will be the created Attachment. +// attachment has been created. Its response will be the created attachment. // // - parent: The name of the parent resource where the attachment will be // created. @@ -5620,7 +5616,7 @@ type ProjectsLocationsRepositoriesAttachmentsDeleteCall struct { // Delete: Deletes an attachment. The returned Operation will finish once the // attachments has been deleted. It will not have any Operation metadata and -// will return a google.protobuf.Empty response. +// will return a `google.protobuf.Empty` response. // // - name: The name of the attachment to delete. func (r *ProjectsLocationsRepositoriesAttachmentsService) Delete(name string) *ProjectsLocationsRepositoriesAttachmentsDeleteCall { @@ -5823,7 +5819,7 @@ type ProjectsLocationsRepositoriesAttachmentsListCall struct { header_ http.Header } -// List: Lists repositories. +// List: Lists attachments. // // - parent: The name of the parent resource whose attachments will be listed. func (r *ProjectsLocationsRepositoriesAttachmentsService) List(parent string) *ProjectsLocationsRepositoriesAttachmentsListCall { @@ -6863,7 +6859,7 @@ type ProjectsLocationsRepositoriesFilesUploadCall struct { header_ http.Header } -// Upload: Directly uploads a File to a repository. The returned Operation will +// Upload: Directly uploads a file to a repository. The returned Operation will // complete once the resources are uploaded. // // - parent: The resource name of the repository where the file will be @@ -9960,8 +9956,8 @@ type ProjectsLocationsRepositoriesPackagesVersionsPatchCall struct { // Patch: Updates a version. // // - name: The name of the version, for example: -// "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/version -// s/art1". If the package or version ID parts contain slashes, the slashes +// `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/version +// s/art1`. If the package or version ID parts contain slashes, the slashes // are escaped. func (r *ProjectsLocationsRepositoriesPackagesVersionsService) Patch(name string, version *Version) *ProjectsLocationsRepositoriesPackagesVersionsPatchCall { c := &ProjectsLocationsRepositoriesPackagesVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} diff --git a/artifactregistry/v1beta1/artifactregistry-api.json b/artifactregistry/v1beta1/artifactregistry-api.json index 26280b979aa..bc32c8f1e64 100644 --- a/artifactregistry/v1beta1/artifactregistry-api.json +++ b/artifactregistry/v1beta1/artifactregistry-api.json @@ -1156,7 +1156,7 @@ } } }, - "revision": "20240903", + "revision": "20241001", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "Binding": { @@ -1674,7 +1674,7 @@ "type": "string" }, "name": { - "description": "The name of the version, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1\". If the package or version ID parts contain slashes, the slashes are escaped.", + "description": "The name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID parts contain slashes, the slashes are escaped.", "type": "string" }, "relatedTags": { diff --git a/artifactregistry/v1beta1/artifactregistry-gen.go b/artifactregistry/v1beta1/artifactregistry-gen.go index 5811da08515..68468578c88 100644 --- a/artifactregistry/v1beta1/artifactregistry-gen.go +++ b/artifactregistry/v1beta1/artifactregistry-gen.go @@ -1078,8 +1078,8 @@ type Version struct { // metadata. Description string `json:"description,omitempty"` // Name: The name of the version, for example: - // "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/ - // art1". If the package or version ID parts contain slashes, the slashes are + // `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/ + // art1`. If the package or version ID parts contain slashes, the slashes are // escaped. Name string `json:"name,omitempty"` // RelatedTags: Output only. A list of related tags. Will contain up to 100 diff --git a/artifactregistry/v1beta2/artifactregistry-api.json b/artifactregistry/v1beta2/artifactregistry-api.json index 6aae827c859..dbb4672a99b 100644 --- a/artifactregistry/v1beta2/artifactregistry-api.json +++ b/artifactregistry/v1beta2/artifactregistry-api.json @@ -1424,7 +1424,7 @@ } } }, - "revision": "20240903", + "revision": "20241001", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -2307,7 +2307,7 @@ "type": "object" }, "name": { - "description": "The name of the version, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1\". If the package or version ID parts contain slashes, the slashes are escaped.", + "description": "The name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID parts contain slashes, the slashes are escaped.", "type": "string" }, "relatedTags": { diff --git a/artifactregistry/v1beta2/artifactregistry-gen.go b/artifactregistry/v1beta2/artifactregistry-gen.go index 1ac9e872c40..bfa95b3948a 100644 --- a/artifactregistry/v1beta2/artifactregistry-gen.go +++ b/artifactregistry/v1beta2/artifactregistry-gen.go @@ -1559,8 +1559,8 @@ type Version struct { // MavenArtifact Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: The name of the version, for example: - // "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/ - // art1". If the package or version ID parts contain slashes, the slashes are + // `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/ + // art1`. If the package or version ID parts contain slashes, the slashes are // escaped. Name string `json:"name,omitempty"` // RelatedTags: Output only. A list of related tags. Will contain up to 100 diff --git a/backupdr/v1/backupdr-api.json b/backupdr/v1/backupdr-api.json index d865c0d5f65..5b143d14300 100644 --- a/backupdr/v1/backupdr-api.json +++ b/backupdr/v1/backupdr-api.json @@ -1658,7 +1658,7 @@ } } }, - "revision": "20240918", + "revision": "20240920", "rootUrl": "https://backupdr.googleapis.com/", "schemas": { "AbandonBackupRequest": { @@ -3390,6 +3390,25 @@ }, "type": "object" }, + "GcpResource": { + "description": "Minimum details to identify a Google Cloud resource", + "id": "GcpResource", + "properties": { + "gcpResourcename": { + "description": "Name of the Google Cloud resource.", + "type": "string" + }, + "location": { + "description": "Location of the resource: //\"global\"/\"unspecified\".", + "type": "string" + }, + "type": { + "description": "Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.", + "type": "string" + } + }, + "type": "object" + }, "GuestOsFeature": { "description": "Feature type of the Guest OS.", "id": "GuestOsFeature", @@ -4455,6 +4474,17 @@ }, "type": "object" }, + "RestoreBackupResponse": { + "description": "Response message for restoring from a Backup.", + "id": "RestoreBackupResponse", + "properties": { + "targetResource": { + "$ref": "TargetResource", + "description": "Details of the target resource created/modified as part of restore." + } + }, + "type": "object" + }, "RuleConfigInfo": { "description": "Message for rules config info.", "id": "RuleConfigInfo", @@ -4664,6 +4694,12 @@ }, "type": "object" }, + "SetInternalStatusResponse": { + "description": "Response message from SetStatusInternal method.", + "id": "SetInternalStatusResponse", + "properties": {}, + "type": "object" + }, "SpannerLocation": { "id": "SpannerLocation", "properties": { @@ -4841,6 +4877,17 @@ }, "type": "object" }, + "TargetResource": { + "description": "Details of the target resource created/modified as part of restore.", + "id": "TargetResource", + "properties": { + "gcpResource": { + "$ref": "GcpResource", + "description": "Details of the native Google Cloud resource created as part of restore." + } + }, + "type": "object" + }, "TenantProjectProxy": { "id": "TenantProjectProxy", "properties": { diff --git a/backupdr/v1/backupdr-gen.go b/backupdr/v1/backupdr-gen.go index 3646f2bca23..9a7cf225b76 100644 --- a/backupdr/v1/backupdr-gen.go +++ b/backupdr/v1/backupdr-gen.go @@ -2211,6 +2211,33 @@ func (s GcpBackupConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GcpResource: Minimum details to identify a Google Cloud resource +type GcpResource struct { + // GcpResourcename: Name of the Google Cloud resource. + GcpResourcename string `json:"gcpResourcename,omitempty"` + // Location: Location of the resource: //"global"/"unspecified". + Location string `json:"location,omitempty"` + // Type: Type of the resource. Use the Unified Resource Type, eg. + // compute.googleapis.com/Instance. + Type string `json:"type,omitempty"` + // ForceSendFields is a list of field names (e.g. "GcpResourcename") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "GcpResourcename") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GcpResource) MarshalJSON() ([]byte, error) { + type NoMethod GcpResource + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GuestOsFeature: Feature type of the Guest OS. type GuestOsFeature struct { // Type: The ID of a supported feature. @@ -3451,6 +3478,29 @@ func (s RestoreBackupRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// RestoreBackupResponse: Response message for restoring from a Backup. +type RestoreBackupResponse struct { + // TargetResource: Details of the target resource created/modified as part of + // restore. + TargetResource *TargetResource `json:"targetResource,omitempty"` + // ForceSendFields is a list of field names (e.g. "TargetResource") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "TargetResource") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s RestoreBackupResponse) MarshalJSON() ([]byte, error) { + type NoMethod RestoreBackupResponse + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // RuleConfigInfo: Message for rules config info. type RuleConfigInfo struct { // LastBackupError: Output only. Output Only. google.rpc.Status object to store @@ -3705,6 +3755,10 @@ func (s SetInternalStatusRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// SetInternalStatusResponse: Response message from SetStatusInternal method. +type SetInternalStatusResponse struct { +} + type SpannerLocation struct { // BackupName: Set of backups used by the resource with name in the same format // as what is available at http://table/spanner_automon.backup_metadata @@ -3886,6 +3940,30 @@ func (s Tags) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// TargetResource: Details of the target resource created/modified as part of +// restore. +type TargetResource struct { + // GcpResource: Details of the native Google Cloud resource created as part of + // restore. + GcpResource *GcpResource `json:"gcpResource,omitempty"` + // ForceSendFields is a list of field names (e.g. "GcpResource") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "GcpResource") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s TargetResource) MarshalJSON() ([]byte, error) { + type NoMethod TargetResource + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + type TenantProjectProxy struct { ProjectNumbers []string `json:"projectNumbers,omitempty"` // ForceSendFields is a list of field names (e.g. "ProjectNumbers") to diff --git a/datamigration/v1/datamigration-api.json b/datamigration/v1/datamigration-api.json index c0d9e09c920..f3aad438ec0 100644 --- a/datamigration/v1/datamigration-api.json +++ b/datamigration/v1/datamigration-api.json @@ -2218,7 +2218,7 @@ } } }, - "revision": "20240914", + "revision": "20240930", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AlloyDbConnectionProfile": { @@ -2486,6 +2486,21 @@ }, "type": "object" }, + "BinaryLogParser": { + "description": "Configuration to use Binary Log Parser CDC technique.", + "id": "BinaryLogParser", + "properties": { + "logFileDirectories": { + "$ref": "LogFileDirectories", + "description": "Use Oracle directories." + }, + "oracleAsmLogFileAccess": { + "$ref": "OracleAsmLogFileAccess", + "description": "Use Oracle ASM." + } + }, + "type": "object" + }, "Binding": { "description": "Associates `members`, or principals, with a `role`.", "id": "Binding", @@ -4322,6 +4337,27 @@ }, "type": "object" }, + "LogFileDirectories": { + "description": "Configuration to specify the Oracle directories to access the log files.", + "id": "LogFileDirectories", + "properties": { + "archivedLogDirectory": { + "description": "Required. Oracle directory for archived logs.", + "type": "string" + }, + "onlineLogDirectory": { + "description": "Required. Oracle directory for online logs.", + "type": "string" + } + }, + "type": "object" + }, + "LogMiner": { + "description": "Configuration to use LogMiner CDC method.", + "id": "LogMiner", + "properties": {}, + "type": "object" + }, "MachineConfig": { "description": "MachineConfig describes the configuration of a machine.", "id": "MachineConfig", @@ -4602,6 +4638,10 @@ "description": "The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.", "type": "string" }, + "oracleToPostgresConfig": { + "$ref": "OracleToPostgresConfig", + "description": "Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and **Oracle to AlloyDB for PostgreSQL** migrations." + }, "performanceConfig": { "$ref": "PerformanceConfig", "description": "Optional. Data dump parallelism settings used by the migration." @@ -4991,6 +5031,12 @@ }, "type": "object" }, + "OracleAsmLogFileAccess": { + "description": "Configuration to use Oracle ASM to access the log files.", + "id": "OracleAsmLogFileAccess", + "properties": {}, + "type": "object" + }, "OracleConnectionProfile": { "description": "Specifies connection parameters required specifically for Oracle databases.", "id": "OracleConnectionProfile", @@ -5044,6 +5090,55 @@ }, "type": "object" }, + "OracleSourceConfig": { + "description": "Configuration for Oracle as a source in a migration.", + "id": "OracleSourceConfig", + "properties": { + "binaryLogParser": { + "$ref": "BinaryLogParser", + "description": "Use Binary Log Parser." + }, + "cdcStartPosition": { + "description": "Optional. The schema change number (SCN) to start CDC data migration from.", + "format": "int64", + "type": "string" + }, + "logMiner": { + "$ref": "LogMiner", + "description": "Use LogMiner." + }, + "maxConcurrentCdcConnections": { + "description": "Optional. Maximum number of connections Database Migration Service will open to the source for CDC phase.", + "format": "int32", + "type": "integer" + }, + "maxConcurrentFullDumpConnections": { + "description": "Optional. Maximum number of connections Database Migration Service will open to the source for full dump phase.", + "format": "int32", + "type": "integer" + }, + "skipFullDump": { + "description": "Optional. Whether to skip full dump or not.", + "type": "boolean" + } + }, + "type": "object" + }, + "OracleToPostgresConfig": { + "description": "Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and **Oracle to AlloyDB for PostgreSQL** migrations.", + "id": "OracleToPostgresConfig", + "properties": { + "oracleSourceConfig": { + "$ref": "OracleSourceConfig", + "description": "Optional. Configuration for Oracle source." + }, + "postgresDestinationConfig": { + "$ref": "PostgresDestinationConfig", + "description": "Optional. Configuration for Postgres destination." + } + }, + "type": "object" + }, "PackageEntity": { "description": "Package's parent is a schema.", "id": "PackageEntity", @@ -5212,6 +5307,23 @@ }, "type": "object" }, + "PostgresDestinationConfig": { + "description": "Configuration for Postgres as a destination in a migration.", + "id": "PostgresDestinationConfig", + "properties": { + "maxConcurrentConnections": { + "description": "Optional. Maximum number of connections Database Migration Service will open to the destination for data migration.", + "format": "int32", + "type": "integer" + }, + "transactionTimeout": { + "description": "Optional. Timeout for data migration transactions.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "PrimaryInstanceSettings": { "description": "Settings for the cluster's primary instance", "id": "PrimaryInstanceSettings", diff --git a/datamigration/v1/datamigration-gen.go b/datamigration/v1/datamigration-gen.go index ec20b4f7485..7b063e9d1a7 100644 --- a/datamigration/v1/datamigration-gen.go +++ b/datamigration/v1/datamigration-gen.go @@ -601,6 +601,30 @@ func (s BackgroundJobLogEntry) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// BinaryLogParser: Configuration to use Binary Log Parser CDC technique. +type BinaryLogParser struct { + // LogFileDirectories: Use Oracle directories. + LogFileDirectories *LogFileDirectories `json:"logFileDirectories,omitempty"` + // OracleAsmLogFileAccess: Use Oracle ASM. + OracleAsmLogFileAccess *OracleAsmLogFileAccess `json:"oracleAsmLogFileAccess,omitempty"` + // ForceSendFields is a list of field names (e.g. "LogFileDirectories") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "LogFileDirectories") to include + // in API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s BinaryLogParser) MarshalJSON() ([]byte, error) { + type NoMethod BinaryLogParser + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Binding: Associates `members`, or principals, with a `role`. type Binding struct { // Condition: The condition that is associated with this binding. If the @@ -2613,6 +2637,35 @@ func (s Location) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// LogFileDirectories: Configuration to specify the Oracle directories to +// access the log files. +type LogFileDirectories struct { + // ArchivedLogDirectory: Required. Oracle directory for archived logs. + ArchivedLogDirectory string `json:"archivedLogDirectory,omitempty"` + // OnlineLogDirectory: Required. Oracle directory for online logs. + OnlineLogDirectory string `json:"onlineLogDirectory,omitempty"` + // ForceSendFields is a list of field names (e.g. "ArchivedLogDirectory") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "ArchivedLogDirectory") to include + // in API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s LogFileDirectories) MarshalJSON() ([]byte, error) { + type NoMethod LogFileDirectories + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// LogMiner: Configuration to use LogMiner CDC method. +type LogMiner struct { +} + // MachineConfig: MachineConfig describes the configuration of a machine. type MachineConfig struct { // CpuCount: The number of CPU's in the VM instance. @@ -2869,6 +2922,9 @@ type MigrationJob struct { // Name: The name (URI) of this migration job resource, in the form of: // projects/{project}/locations/{location}/migrationJobs/{migrationJob}. Name string `json:"name,omitempty"` + // OracleToPostgresConfig: Configuration for heterogeneous **Oracle to Cloud + // SQL for PostgreSQL** and **Oracle to AlloyDB for PostgreSQL** migrations. + OracleToPostgresConfig *OracleToPostgresConfig `json:"oracleToPostgresConfig,omitempty"` // PerformanceConfig: Optional. Data dump parallelism settings used by the // migration. PerformanceConfig *PerformanceConfig `json:"performanceConfig,omitempty"` @@ -3263,6 +3319,11 @@ func (s OracleAsmConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// OracleAsmLogFileAccess: Configuration to use Oracle ASM to access the log +// files. +type OracleAsmLogFileAccess struct { +} + // OracleConnectionProfile: Specifies connection parameters required // specifically for Oracle databases. type OracleConnectionProfile struct { @@ -3314,6 +3375,66 @@ func (s OracleConnectionProfile) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// OracleSourceConfig: Configuration for Oracle as a source in a migration. +type OracleSourceConfig struct { + // BinaryLogParser: Use Binary Log Parser. + BinaryLogParser *BinaryLogParser `json:"binaryLogParser,omitempty"` + // CdcStartPosition: Optional. The schema change number (SCN) to start CDC data + // migration from. + CdcStartPosition int64 `json:"cdcStartPosition,omitempty,string"` + // LogMiner: Use LogMiner. + LogMiner *LogMiner `json:"logMiner,omitempty"` + // MaxConcurrentCdcConnections: Optional. Maximum number of connections + // Database Migration Service will open to the source for CDC phase. + MaxConcurrentCdcConnections int64 `json:"maxConcurrentCdcConnections,omitempty"` + // MaxConcurrentFullDumpConnections: Optional. Maximum number of connections + // Database Migration Service will open to the source for full dump phase. + MaxConcurrentFullDumpConnections int64 `json:"maxConcurrentFullDumpConnections,omitempty"` + // SkipFullDump: Optional. Whether to skip full dump or not. + SkipFullDump bool `json:"skipFullDump,omitempty"` + // ForceSendFields is a list of field names (e.g. "BinaryLogParser") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "BinaryLogParser") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s OracleSourceConfig) MarshalJSON() ([]byte, error) { + type NoMethod OracleSourceConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// OracleToPostgresConfig: Configuration for heterogeneous **Oracle to Cloud +// SQL for PostgreSQL** and **Oracle to AlloyDB for PostgreSQL** migrations. +type OracleToPostgresConfig struct { + // OracleSourceConfig: Optional. Configuration for Oracle source. + OracleSourceConfig *OracleSourceConfig `json:"oracleSourceConfig,omitempty"` + // PostgresDestinationConfig: Optional. Configuration for Postgres destination. + PostgresDestinationConfig *PostgresDestinationConfig `json:"postgresDestinationConfig,omitempty"` + // ForceSendFields is a list of field names (e.g. "OracleSourceConfig") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "OracleSourceConfig") to include + // in API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s OracleToPostgresConfig) MarshalJSON() ([]byte, error) { + type NoMethod OracleToPostgresConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // PackageEntity: Package's parent is a schema. type PackageEntity struct { // CustomFeatures: Custom engine specific features. @@ -3552,6 +3673,32 @@ func (s PostgreSqlConnectionProfile) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// PostgresDestinationConfig: Configuration for Postgres as a destination in a +// migration. +type PostgresDestinationConfig struct { + // MaxConcurrentConnections: Optional. Maximum number of connections Database + // Migration Service will open to the destination for data migration. + MaxConcurrentConnections int64 `json:"maxConcurrentConnections,omitempty"` + // TransactionTimeout: Optional. Timeout for data migration transactions. + TransactionTimeout string `json:"transactionTimeout,omitempty"` + // ForceSendFields is a list of field names (e.g. "MaxConcurrentConnections") + // to unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "MaxConcurrentConnections") to + // include in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s PostgresDestinationConfig) MarshalJSON() ([]byte, error) { + type NoMethod PostgresDestinationConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // PrimaryInstanceSettings: Settings for the cluster's primary instance type PrimaryInstanceSettings struct { // DatabaseFlags: Database flags to pass to AlloyDB when DMS is creating the diff --git a/dataplex/v1/dataplex-api.json b/dataplex/v1/dataplex-api.json index 49668c20beb..e0bf6313465 100644 --- a/dataplex/v1/dataplex-api.json +++ b/dataplex/v1/dataplex-api.json @@ -2480,7 +2480,7 @@ "type": "boolean" }, "aspectKeys": { - "description": "Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. * - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.", + "description": "Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. * - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.", "location": "query", "repeated": true, "type": "string" @@ -5997,7 +5997,7 @@ } } }, - "revision": "20240914", + "revision": "20240925", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { diff --git a/dataplex/v1/dataplex-gen.go b/dataplex/v1/dataplex-gen.go index fec3722054e..e9595dc1413 100644 --- a/dataplex/v1/dataplex-gen.go +++ b/dataplex/v1/dataplex-gen.go @@ -16347,9 +16347,11 @@ func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) AllowMissing(allowMissing // AspectKeys sets the optional parameter "aspectKeys": The map keys of the // Aspects which the service should modify. It supports the following syntaxes: // - matches an aspect of the given type and empty path. @path - matches an -// aspect of the given type and specified path. * - matches aspects of the -// given type for all paths. *@path - matches aspects of all types on the given -// path.The service will not remove existing aspects matching the syntax unless +// aspect of the given type and specified path. For example, to attach an +// aspect to a field that is specified by the schema aspect, the path should +// have the format Schema.. * - matches aspects of the given type for all +// paths. *@path - matches aspects of all types on the given path.The service +// will not remove existing aspects matching the syntax unless // delete_missing_aspects is set to true.If this field is left empty, the // service treats it as specifying exactly those Aspects present in the // request. diff --git a/displayvideo/v2/displayvideo-api.json b/displayvideo/v2/displayvideo-api.json index d38e92a80a9..d4ffe94761a 100644 --- a/displayvideo/v2/displayvideo-api.json +++ b/displayvideo/v2/displayvideo-api.json @@ -9267,7 +9267,7 @@ } } }, - "revision": "20240919", + "revision": "20241003", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { @@ -20066,8 +20066,8 @@ "Content related to motor vehicle, aviation or other transportation accidents.", "Issues that evoke strong, opposing views and spark debate. These include issues that are controversial in most countries and markets (such as abortion), as well as those that are controversial in specific countries and markets (such as immigration reform in the United States).", "Content which may be considered shocking or disturbing, such as violent news stories, stunts, or toilet humor.", - "YouTube videos embedded on websites outside of YouTube.com. Only applicable to YouTube and Partners line items. *Warning*: On **September 30, 2024**, this value will be sunset. [Read more about this announced change](/display-video/api/deprecations#features.yt_li_categories).", - "Video of live events streamed over the internet. Only applicable to YouTube and Partners line items. *Warning*: On **September 30, 2024**, this value will be sunset. [Read more about this announced change](/display-video/api/deprecations#features.yt_li_categories)." + "YouTube videos embedded on websites outside of YouTube.com.", + "Video of live events streamed over the internet." ], "type": "string" } @@ -20121,8 +20121,8 @@ "Content related to motor vehicle, aviation or other transportation accidents.", "Issues that evoke strong, opposing views and spark debate. These include issues that are controversial in most countries and markets (such as abortion), as well as those that are controversial in specific countries and markets (such as immigration reform in the United States).", "Content which may be considered shocking or disturbing, such as violent news stories, stunts, or toilet humor.", - "YouTube videos embedded on websites outside of YouTube.com. Only applicable to YouTube and Partners line items. *Warning*: On **September 30, 2024**, this value will be sunset. [Read more about this announced change](/display-video/api/deprecations#features.yt_li_categories).", - "Video of live events streamed over the internet. Only applicable to YouTube and Partners line items. *Warning*: On **September 30, 2024**, this value will be sunset. [Read more about this announced change](/display-video/api/deprecations#features.yt_li_categories)." + "YouTube videos embedded on websites outside of YouTube.com.", + "Video of live events streamed over the internet." ], "readOnly": true, "type": "string" diff --git a/displayvideo/v2/displayvideo-gen.go b/displayvideo/v2/displayvideo-gen.go index e1f8d912b74..1dc16bf0a91 100644 --- a/displayvideo/v2/displayvideo-gen.go +++ b/displayvideo/v2/displayvideo-gen.go @@ -13429,15 +13429,9 @@ type SensitiveCategoryAssignedTargetingOptionDetails struct { // "SENSITIVE_CATEGORY_SHOCKING" - Content which may be considered shocking // or disturbing, such as violent news stories, stunts, or toilet humor. // "SENSITIVE_CATEGORY_EMBEDDED_VIDEO" - YouTube videos embedded on websites - // outside of YouTube.com. Only applicable to YouTube and Partners line items. - // *Warning*: On **September 30, 2024**, this value will be sunset. [Read more - // about this announced - // change](/display-video/api/deprecations#features.yt_li_categories). + // outside of YouTube.com. // "SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO" - Video of live events streamed - // over the internet. Only applicable to YouTube and Partners line items. - // *Warning*: On **September 30, 2024**, this value will be sunset. [Read more - // about this announced - // change](/display-video/api/deprecations#features.yt_li_categories). + // over the internet. ExcludedSensitiveCategory string `json:"excludedSensitiveCategory,omitempty"` // ForceSendFields is a list of field names (e.g. "ExcludedSensitiveCategory") // to unconditionally include in API requests. By default, fields with empty or @@ -13515,15 +13509,9 @@ type SensitiveCategoryTargetingOptionDetails struct { // "SENSITIVE_CATEGORY_SHOCKING" - Content which may be considered shocking // or disturbing, such as violent news stories, stunts, or toilet humor. // "SENSITIVE_CATEGORY_EMBEDDED_VIDEO" - YouTube videos embedded on websites - // outside of YouTube.com. Only applicable to YouTube and Partners line items. - // *Warning*: On **September 30, 2024**, this value will be sunset. [Read more - // about this announced - // change](/display-video/api/deprecations#features.yt_li_categories). + // outside of YouTube.com. // "SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO" - Video of live events streamed - // over the internet. Only applicable to YouTube and Partners line items. - // *Warning*: On **September 30, 2024**, this value will be sunset. [Read more - // about this announced - // change](/display-video/api/deprecations#features.yt_li_categories). + // over the internet. SensitiveCategory string `json:"sensitiveCategory,omitempty"` // ForceSendFields is a list of field names (e.g. "SensitiveCategory") to // unconditionally include in API requests. By default, fields with empty or diff --git a/displayvideo/v3/displayvideo-api.json b/displayvideo/v3/displayvideo-api.json index 7c211b8825d..a787c705ff4 100644 --- a/displayvideo/v3/displayvideo-api.json +++ b/displayvideo/v3/displayvideo-api.json @@ -9222,7 +9222,7 @@ } } }, - "revision": "20240919", + "revision": "20241003", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActiveViewVideoViewabilityMetricConfig": { @@ -20837,8 +20837,8 @@ "Content related to motor vehicle, aviation or other transportation accidents.", "Issues that evoke strong, opposing views and spark debate. These include issues that are controversial in most countries and markets (such as abortion), as well as those that are controversial in specific countries and markets (such as immigration reform in the United States).", "Content which may be considered shocking or disturbing, such as violent news stories, stunts, or toilet humor.", - "YouTube videos embedded on websites outside of YouTube.com. Only applicable to YouTube and Partners line items. *Warning*: On **September 30, 2024**, this value will be sunset. [Read more about this announced change](/display-video/api/deprecations#features.yt_li_categories).", - "Video of live events streamed over the internet. Only applicable to YouTube and Partners line items. *Warning*: On **September 30, 2024**, this value will be sunset. [Read more about this announced change](/display-video/api/deprecations#features.yt_li_categories)." + "YouTube videos embedded on websites outside of YouTube.com.", + "Video of live events streamed over the internet." ], "type": "string" } @@ -20892,8 +20892,8 @@ "Content related to motor vehicle, aviation or other transportation accidents.", "Issues that evoke strong, opposing views and spark debate. These include issues that are controversial in most countries and markets (such as abortion), as well as those that are controversial in specific countries and markets (such as immigration reform in the United States).", "Content which may be considered shocking or disturbing, such as violent news stories, stunts, or toilet humor.", - "YouTube videos embedded on websites outside of YouTube.com. Only applicable to YouTube and Partners line items. *Warning*: On **September 30, 2024**, this value will be sunset. [Read more about this announced change](/display-video/api/deprecations#features.yt_li_categories).", - "Video of live events streamed over the internet. Only applicable to YouTube and Partners line items. *Warning*: On **September 30, 2024**, this value will be sunset. [Read more about this announced change](/display-video/api/deprecations#features.yt_li_categories)." + "YouTube videos embedded on websites outside of YouTube.com.", + "Video of live events streamed over the internet." ], "readOnly": true, "type": "string" @@ -21054,7 +21054,7 @@ "type": "boolean" }, "enableOptimizedTargeting": { - "description": "Required. Whether to enable Optimized Targeting for the line item. *Warning*: Starting on **September 30, 2024**, optimized targeting will no longer be compatible with a subset of bid strategies. [Read more about this announced change](/display-video/api/deprecations#features.ot_bid_strategies).", + "description": "Required. Whether to enable Optimized Targeting for the line item. Optimized targeting is not compatible with all bid strategies. Attempting to set this field to `true` for a line item using one of the following combinations of BiddingStrategy fields and BiddingStrategyPerformanceGoalType will result in an error: maximize_auto_spend_bid: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` performance_goal_auto_bid: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`", "type": "boolean" } }, diff --git a/displayvideo/v3/displayvideo-gen.go b/displayvideo/v3/displayvideo-gen.go index 5064e051d02..6ab65bb3e53 100644 --- a/displayvideo/v3/displayvideo-gen.go +++ b/displayvideo/v3/displayvideo-gen.go @@ -14266,15 +14266,9 @@ type SensitiveCategoryAssignedTargetingOptionDetails struct { // "SENSITIVE_CATEGORY_SHOCKING" - Content which may be considered shocking // or disturbing, such as violent news stories, stunts, or toilet humor. // "SENSITIVE_CATEGORY_EMBEDDED_VIDEO" - YouTube videos embedded on websites - // outside of YouTube.com. Only applicable to YouTube and Partners line items. - // *Warning*: On **September 30, 2024**, this value will be sunset. [Read more - // about this announced - // change](/display-video/api/deprecations#features.yt_li_categories). + // outside of YouTube.com. // "SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO" - Video of live events streamed - // over the internet. Only applicable to YouTube and Partners line items. - // *Warning*: On **September 30, 2024**, this value will be sunset. [Read more - // about this announced - // change](/display-video/api/deprecations#features.yt_li_categories). + // over the internet. ExcludedSensitiveCategory string `json:"excludedSensitiveCategory,omitempty"` // ForceSendFields is a list of field names (e.g. "ExcludedSensitiveCategory") // to unconditionally include in API requests. By default, fields with empty or @@ -14352,15 +14346,9 @@ type SensitiveCategoryTargetingOptionDetails struct { // "SENSITIVE_CATEGORY_SHOCKING" - Content which may be considered shocking // or disturbing, such as violent news stories, stunts, or toilet humor. // "SENSITIVE_CATEGORY_EMBEDDED_VIDEO" - YouTube videos embedded on websites - // outside of YouTube.com. Only applicable to YouTube and Partners line items. - // *Warning*: On **September 30, 2024**, this value will be sunset. [Read more - // about this announced - // change](/display-video/api/deprecations#features.yt_li_categories). + // outside of YouTube.com. // "SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO" - Video of live events streamed - // over the internet. Only applicable to YouTube and Partners line items. - // *Warning*: On **September 30, 2024**, this value will be sunset. [Read more - // about this announced - // change](/display-video/api/deprecations#features.yt_li_categories). + // over the internet. SensitiveCategory string `json:"sensitiveCategory,omitempty"` // ForceSendFields is a list of field names (e.g. "SensitiveCategory") to // unconditionally include in API requests. By default, fields with empty or @@ -14590,10 +14578,15 @@ type TargetingExpansionConfig struct { // item and ad group resources. AudienceExpansionSeedListExcluded bool `json:"audienceExpansionSeedListExcluded,omitempty"` // EnableOptimizedTargeting: Required. Whether to enable Optimized Targeting - // for the line item. *Warning*: Starting on **September 30, 2024**, optimized - // targeting will no longer be compatible with a subset of bid strategies. Read - // more about this announced change - // (/display-video/api/deprecations#features.ot_bid_strategies). + // for the line item. Optimized targeting is not compatible with all bid + // strategies. Attempting to set this field to `true` for a line item using one + // of the following combinations of BiddingStrategy fields and + // BiddingStrategyPerformanceGoalType will result in an error: + // maximize_auto_spend_bid: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` * + // `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN` * + // `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` + // performance_goal_auto_bid: * + // `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` EnableOptimizedTargeting bool `json:"enableOptimizedTargeting,omitempty"` // ForceSendFields is a list of field names (e.g. "AudienceExpansionLevel") to // unconditionally include in API requests. By default, fields with empty or diff --git a/firebaseappcheck/v1/firebaseappcheck-api.json b/firebaseappcheck/v1/firebaseappcheck-api.json index af417cfe54b..7c131260b94 100644 --- a/firebaseappcheck/v1/firebaseappcheck-api.json +++ b/firebaseappcheck/v1/firebaseappcheck-api.json @@ -1370,7 +1370,7 @@ ], "parameters": { "name": { - "description": "Required. The relative resource name of the Service to retrieve, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)", + "description": "Required. The relative resource name of the Service to retrieve, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com` (Google Identity for iOS)", "location": "path", "pattern": "^projects/[^/]+/services/[^/]+$", "required": true, @@ -1433,7 +1433,7 @@ ], "parameters": { "name": { - "description": "Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)", + "description": "Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com` (Google Identity for iOS)", "location": "path", "pattern": "^projects/[^/]+/services/[^/]+$", "required": true, @@ -1661,7 +1661,7 @@ } } }, - "revision": "20240708", + "revision": "20240930", "rootUrl": "https://firebaseappcheck.googleapis.com/", "schemas": { "GoogleFirebaseAppcheckV1AppAttestConfig": { @@ -1681,11 +1681,11 @@ "type": "object" }, "GoogleFirebaseAppcheckV1AppCheckToken": { - "description": "Encapsulates an *App Check token*, which are used to access Firebase services protected by App Check.", + "description": "Encapsulates an *App Check token*, which are used to access backend services protected by App Check.", "id": "GoogleFirebaseAppcheckV1AppCheckToken", "properties": { "token": { - "description": "The App Check token. App Check tokens are signed [JWTs](https://tools.ietf.org/html/rfc7519) containing claims that identify the attested app and Firebase project. This token is used to access Firebase services protected by App Check. These tokens can also be [verified by your own custom backends](https://firebase.google.com/docs/app-check/custom-resource-backend) using the Firebase Admin SDK.", + "description": "The App Check token. App Check tokens are signed [JWTs](https://tools.ietf.org/html/rfc7519) containing claims that identify the attested app and GCP project. This token is used to access Google services protected by App Check. These tokens can also be [verified by your own custom backends](https://firebase.google.com/docs/app-check/custom-resource-backend) using the Firebase Admin SDK or third-party libraries.", "type": "string" }, "ttl": { @@ -2277,7 +2277,7 @@ "type": "object" }, "GoogleFirebaseAppcheckV1ResourcePolicy": { - "description": "App Check enforcement policy for a specific resource of a Firebase service supported by App Check. Note that this policy will override the service-level configuration.", + "description": "App Check enforcement policy for a specific resource of a Google service supported by App Check. Note that this policy will override the service-level configuration.", "id": "GoogleFirebaseAppcheckV1ResourcePolicy", "properties": { "enforcementMode": { @@ -2303,7 +2303,7 @@ "type": "string" }, "targetResource": { - "description": "Required. Service specific name of the resource object to which this policy applies, in the format: * `//oauth2.googleapis.com/projects/{project_number}/oauthClients/{oauth_client_id}` (Google Identity for iOS) Note that the resource must belong to the service specified in the `name` and be from the same project as this policy, but the resource is allowed to be missing at the time of creation of this policy; in that case, we make a best-effort attempt at respecting this policy, but it may not have any effect until the resource is fully created.", + "description": "Required. Service specific name of the resource object to which this policy applies, in the format: * **iOS OAuth clients** (Google Identity for iOS): `//oauth2.googleapis.com/projects/{project_number}/oauthClients/{oauth_client_id}` Note that the resource must belong to the service specified in the `name` and be from the same project as this policy, but the resource is allowed to be missing at the time of creation of this policy; in that case, we make a best-effort attempt at respecting this policy, but it may not have any effect until the resource is fully created.", "type": "string" }, "updateTime": { @@ -2351,7 +2351,7 @@ "type": "string" }, "name": { - "description": "Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)", + "description": "Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com` (Google Identity for iOS)", "type": "string" } }, @@ -2379,7 +2379,7 @@ "properties": { "service": { "$ref": "GoogleFirebaseAppcheckV1Service", - "description": "Required. The Service to update. The Service's `name` field is used to identify the Service to be updated, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore)" + "description": "Required. The Service to update. The Service's `name` field is used to identify the Service to be updated, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com` (Google Identity for iOS)" }, "updateMask": { "description": "Required. A comma-separated list of names of fields in the Service to update. Example: `enforcement_mode`.", diff --git a/firebaseappcheck/v1/firebaseappcheck-gen.go b/firebaseappcheck/v1/firebaseappcheck-gen.go index fece356d9bf..aba26a9c784 100644 --- a/firebaseappcheck/v1/firebaseappcheck-gen.go +++ b/firebaseappcheck/v1/firebaseappcheck-gen.go @@ -355,15 +355,15 @@ func (s GoogleFirebaseAppcheckV1AppAttestConfig) MarshalJSON() ([]byte, error) { } // GoogleFirebaseAppcheckV1AppCheckToken: Encapsulates an *App Check token*, -// which are used to access Firebase services protected by App Check. +// which are used to access backend services protected by App Check. type GoogleFirebaseAppcheckV1AppCheckToken struct { // Token: The App Check token. App Check tokens are signed JWTs // (https://tools.ietf.org/html/rfc7519) containing claims that identify the - // attested app and Firebase project. This token is used to access Firebase - // services protected by App Check. These tokens can also be verified by your - // own custom backends + // attested app and GCP project. This token is used to access Google services + // protected by App Check. These tokens can also be verified by your own custom + // backends // (https://firebase.google.com/docs/app-check/custom-resource-backend) using - // the Firebase Admin SDK. + // the Firebase Admin SDK or third-party libraries. Token string `json:"token,omitempty"` // Ttl: The duration from the time this token is minted until its expiration. // This field is intended to ease client-side token management, since the @@ -1419,8 +1419,8 @@ func (s GoogleFirebaseAppcheckV1RecaptchaV3Config) MarshalJSON() ([]byte, error) } // GoogleFirebaseAppcheckV1ResourcePolicy: App Check enforcement policy for a -// specific resource of a Firebase service supported by App Check. Note that -// this policy will override the service-level configuration. +// specific resource of a Google service supported by App Check. Note that this +// policy will override the service-level configuration. type GoogleFirebaseAppcheckV1ResourcePolicy struct { // EnforcementMode: Required. The App Check enforcement mode for this resource. // This will override the EnforcementMode setting on the service. @@ -1474,13 +1474,14 @@ type GoogleFirebaseAppcheckV1ResourcePolicy struct { // system-generated UID. Name string `json:"name,omitempty"` // TargetResource: Required. Service specific name of the resource object to - // which this policy applies, in the format: * + // which this policy applies, in the format: * **iOS OAuth clients** (Google + // Identity for iOS): // `//oauth2.googleapis.com/projects/{project_number}/oauthClients/{oauth_client - // _id}` (Google Identity for iOS) Note that the resource must belong to the - // service specified in the `name` and be from the same project as this policy, - // but the resource is allowed to be missing at the time of creation of this - // policy; in that case, we make a best-effort attempt at respecting this - // policy, but it may not have any effect until the resource is fully created. + // _id}` Note that the resource must belong to the service specified in the + // `name` and be from the same project as this policy, but the resource is + // allowed to be missing at the time of creation of this policy; in that case, + // we make a best-effort attempt at respecting this policy, but it may not have + // any effect until the resource is fully created. TargetResource string `json:"targetResource,omitempty"` // UpdateTime: Output only. Timestamp when this resource policy configuration // object was most recently updated. @@ -1589,7 +1590,8 @@ type GoogleFirebaseAppcheckV1Service struct { // Currently, the following service IDs are supported: * // `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * // `firebasedatabase.googleapis.com` (Firebase Realtime Database) * - // `firestore.googleapis.com` (Cloud Firestore) + // `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com` + // (Google Identity for iOS) Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. @@ -1655,7 +1657,8 @@ type GoogleFirebaseAppcheckV1UpdateServiceRequest struct { // `service_id` element must be a supported service ID. Currently, the // following service IDs are supported: * `firebasestorage.googleapis.com` // (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase - // Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) + // Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * + // `oauth2.googleapis.com` (Google Identity for iOS) Service *GoogleFirebaseAppcheckV1Service `json:"service,omitempty"` // UpdateMask: Required. A comma-separated list of names of fields in the // Service to update. Example: `enforcement_mode`. @@ -6211,7 +6214,8 @@ type ProjectsServicesGetCall struct { // the `service_id` element must be a supported service ID. Currently, the // following service IDs are supported: * `firebasestorage.googleapis.com` // (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase -// Realtime Database) * `firestore.googleapis.com` (Cloud Firestore). +// Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * +// `oauth2.googleapis.com` (Google Identity for iOS). func (r *ProjectsServicesService) Get(name string) *ProjectsServicesGetCall { c := &ProjectsServicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -6478,7 +6482,8 @@ type ProjectsServicesPatchCall struct { // the following service IDs are supported: * // `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * // `firebasedatabase.googleapis.com` (Firebase Realtime Database) * -// `firestore.googleapis.com` (Cloud Firestore). +// `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com` +// (Google Identity for iOS). func (r *ProjectsServicesService) Patch(name string, googlefirebaseappcheckv1service *GoogleFirebaseAppcheckV1Service) *ProjectsServicesPatchCall { c := &ProjectsServicesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name diff --git a/firebaseappcheck/v1beta/firebaseappcheck-api.json b/firebaseappcheck/v1beta/firebaseappcheck-api.json index 967a68d8374..c855c8c9774 100644 --- a/firebaseappcheck/v1beta/firebaseappcheck-api.json +++ b/firebaseappcheck/v1beta/firebaseappcheck-api.json @@ -1595,7 +1595,7 @@ ], "parameters": { "name": { - "description": "Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.com` (Firebase Authentication with Identity Platform)", + "description": "Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.com` (Firebase Authentication with Identity Platform) * `oauth2.googleapis.com` (Google Identity for iOS)", "location": "path", "pattern": "^projects/[^/]+/services/[^/]+$", "required": true, @@ -1823,7 +1823,7 @@ } } }, - "revision": "20240524", + "revision": "20240930", "rootUrl": "https://firebaseappcheck.googleapis.com/", "schemas": { "GoogleFirebaseAppcheckV1betaAppAttestConfig": { @@ -1843,16 +1843,16 @@ "type": "object" }, "GoogleFirebaseAppcheckV1betaAppCheckToken": { - "description": "Encapsulates an *App Check token*, which are used to access Firebase services protected by App Check.", + "description": "Encapsulates an *App Check token*, which are used to access backend services protected by App Check.", "id": "GoogleFirebaseAppcheckV1betaAppCheckToken", "properties": { "attestationToken": { "deprecated": true, - "description": "An App Check token. App Check tokens are signed [JWTs](https://tools.ietf.org/html/rfc7519) containing claims that identify the attested app and Firebase project. This token is used to access Firebase services protected by App Check.", + "description": "The App Check token. App Check tokens are signed [JWTs](https://tools.ietf.org/html/rfc7519) containing claims that identify the attested app and GCP project. This token is used to access Google services protected by App Check. These tokens can also be [verified by your own custom backends](https://firebase.google.com/docs/app-check/custom-resource-backend) using the Firebase Admin SDK or third-party libraries.", "type": "string" }, "token": { - "description": "An App Check token. App Check tokens are signed [JWTs](https://tools.ietf.org/html/rfc7519) containing claims that identify the attested app and Firebase project. This token is used to access Firebase services protected by App Check.", + "description": "The App Check token. App Check tokens are signed [JWTs](https://tools.ietf.org/html/rfc7519) containing claims that identify the attested app and GCP project. This token is used to access Google services protected by App Check. These tokens can also be [verified by your own custom backends](https://firebase.google.com/docs/app-check/custom-resource-backend) using the Firebase Admin SDK or third-party libraries.", "type": "string" }, "ttl": { @@ -2519,7 +2519,7 @@ "type": "object" }, "GoogleFirebaseAppcheckV1betaResourcePolicy": { - "description": "App Check enforcement policy for a specific resource of a Firebase service supported by App Check. Note that this policy will override the service-level configuration.", + "description": "App Check enforcement policy for a specific resource of a Google service supported by App Check. Note that this policy will override the service-level configuration.", "id": "GoogleFirebaseAppcheckV1betaResourcePolicy", "properties": { "enforcementMode": { @@ -2545,7 +2545,7 @@ "type": "string" }, "targetResource": { - "description": "Required. Service specific name of the resource object to which this policy applies, in the format: * `//oauth2.googleapis.com/projects/{project_number}/oauthClients/{oauth_client_id}` (Google Identity for iOS) Note that the resource must belong to the service specified in the `name` and be from the same project as this policy, but the resource is allowed to be missing at the time of creation of this policy; in that case, we make a best-effort attempt at respecting this policy, but it may not have any effect until the resource is fully created.", + "description": "Required. Service specific name of the resource object to which this policy applies, in the format: * **iOS OAuth clients** (Google Identity for iOS): `//oauth2.googleapis.com/projects/{project_number}/oauthClients/{oauth_client_id}` Note that the resource must belong to the service specified in the `name` and be from the same project as this policy, but the resource is allowed to be missing at the time of creation of this policy; in that case, we make a best-effort attempt at respecting this policy, but it may not have any effect until the resource is fully created.", "type": "string" }, "updateTime": { @@ -2597,7 +2597,7 @@ "type": "string" }, "name": { - "description": "Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.com` (Firebase Authentication with Identity Platform)", + "description": "Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.com` (Firebase Authentication with Identity Platform) * `oauth2.googleapis.com` (Google Identity for iOS)", "type": "string" }, "updateTime": { diff --git a/firebaseappcheck/v1beta/firebaseappcheck-gen.go b/firebaseappcheck/v1beta/firebaseappcheck-gen.go index e9feff42af1..01b412d47b4 100644 --- a/firebaseappcheck/v1beta/firebaseappcheck-gen.go +++ b/firebaseappcheck/v1beta/firebaseappcheck-gen.go @@ -367,17 +367,23 @@ func (s GoogleFirebaseAppcheckV1betaAppAttestConfig) MarshalJSON() ([]byte, erro } // GoogleFirebaseAppcheckV1betaAppCheckToken: Encapsulates an *App Check -// token*, which are used to access Firebase services protected by App Check. +// token*, which are used to access backend services protected by App Check. type GoogleFirebaseAppcheckV1betaAppCheckToken struct { - // AttestationToken: An App Check token. App Check tokens are signed JWTs + // AttestationToken: The App Check token. App Check tokens are signed JWTs // (https://tools.ietf.org/html/rfc7519) containing claims that identify the - // attested app and Firebase project. This token is used to access Firebase - // services protected by App Check. + // attested app and GCP project. This token is used to access Google services + // protected by App Check. These tokens can also be verified by your own custom + // backends + // (https://firebase.google.com/docs/app-check/custom-resource-backend) using + // the Firebase Admin SDK or third-party libraries. AttestationToken string `json:"attestationToken,omitempty"` - // Token: An App Check token. App Check tokens are signed JWTs + // Token: The App Check token. App Check tokens are signed JWTs // (https://tools.ietf.org/html/rfc7519) containing claims that identify the - // attested app and Firebase project. This token is used to access Firebase - // services protected by App Check. + // attested app and GCP project. This token is used to access Google services + // protected by App Check. These tokens can also be verified by your own custom + // backends + // (https://firebase.google.com/docs/app-check/custom-resource-backend) using + // the Firebase Admin SDK or third-party libraries. Token string `json:"token,omitempty"` // Ttl: The duration from the time this token is minted until its expiration. // This field is intended to ease client-side token management, since the @@ -1560,7 +1566,7 @@ func (s GoogleFirebaseAppcheckV1betaRecaptchaV3Config) MarshalJSON() ([]byte, er } // GoogleFirebaseAppcheckV1betaResourcePolicy: App Check enforcement policy for -// a specific resource of a Firebase service supported by App Check. Note that +// a specific resource of a Google service supported by App Check. Note that // this policy will override the service-level configuration. type GoogleFirebaseAppcheckV1betaResourcePolicy struct { // EnforcementMode: Required. The App Check enforcement mode for this resource. @@ -1615,13 +1621,14 @@ type GoogleFirebaseAppcheckV1betaResourcePolicy struct { // system-generated UID. Name string `json:"name,omitempty"` // TargetResource: Required. Service specific name of the resource object to - // which this policy applies, in the format: * + // which this policy applies, in the format: * **iOS OAuth clients** (Google + // Identity for iOS): // `//oauth2.googleapis.com/projects/{project_number}/oauthClients/{oauth_client - // _id}` (Google Identity for iOS) Note that the resource must belong to the - // service specified in the `name` and be from the same project as this policy, - // but the resource is allowed to be missing at the time of creation of this - // policy; in that case, we make a best-effort attempt at respecting this - // policy, but it may not have any effect until the resource is fully created. + // _id}` Note that the resource must belong to the service specified in the + // `name` and be from the same project as this policy, but the resource is + // allowed to be missing at the time of creation of this policy; in that case, + // we make a best-effort attempt at respecting this policy, but it may not have + // any effect until the resource is fully created. TargetResource string `json:"targetResource,omitempty"` // UpdateTime: Output only. Timestamp when this resource policy configuration // object was most recently updated. @@ -1737,7 +1744,7 @@ type GoogleFirebaseAppcheckV1betaService struct { // `firebasedatabase.googleapis.com` (Firebase Realtime Database) * // `firestore.googleapis.com` (Cloud Firestore) * // `identitytoolkit.googleapis.com` (Firebase Authentication with Identity - // Platform) + // Platform) * `oauth2.googleapis.com` (Google Identity for iOS) Name string `json:"name,omitempty"` // UpdateTime: Output only. Timestamp when this service configuration object // was most recently updated. @@ -7341,7 +7348,7 @@ type ProjectsServicesPatchCall struct { // `firebasedatabase.googleapis.com` (Firebase Realtime Database) * // `firestore.googleapis.com` (Cloud Firestore) * // `identitytoolkit.googleapis.com` (Firebase Authentication with Identity -// Platform). +// Platform) * `oauth2.googleapis.com` (Google Identity for iOS). func (r *ProjectsServicesService) Patch(name string, googlefirebaseappcheckv1betaservice *GoogleFirebaseAppcheckV1betaService) *ProjectsServicesPatchCall { c := &ProjectsServicesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name diff --git a/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json b/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json index 09c55f6eb94..39884eea546 100644 --- a/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json +++ b/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json @@ -465,7 +465,7 @@ "type": "string" }, "releaseTestId": { - "description": "Optional. The ID to use for the test, which will become the final component of the tests's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. If it is not provided one will be automatically generated.", + "description": "Optional. The ID to use for the test, which will become the final component of the test's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. If it is not provided one will be automatically generated.", "location": "query", "type": "string" } @@ -585,7 +585,7 @@ } } }, - "revision": "20240911", + "revision": "20241003", "rootUrl": "https://firebaseappdistribution.googleapis.com/", "schemas": { "AndroidxCrawlerOutputPoint": { @@ -1440,6 +1440,25 @@ "name": { "description": "The name of the release test resource. Format: `projects/{project_number}/apps/{app_id}/releases/{release_id}/tests/{test_id}`", "type": "string" + }, + "testState": { + "description": "Output only. The state of the release test.", + "enum": [ + "TEST_STATE_UNSPECIFIED", + "IN_PROGRESS", + "PASSED", + "FAILED", + "INCONCLUSIVE" + ], + "enumDescriptions": [ + "Test state unspecified.", + "The test is in progress.", + "The test has passed.", + "The test has failed.", + "The test was inconclusive." + ], + "readOnly": true, + "type": "string" } }, "type": "object" diff --git a/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go b/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go index a698401cf08..1c6a4da322b 100644 --- a/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go +++ b/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go @@ -1243,6 +1243,15 @@ type GoogleFirebaseAppdistroV1alphaReleaseTest struct { // `projects/{project_number}/apps/{app_id}/releases/{release_id}/tests/{test_id // }` Name string `json:"name,omitempty"` + // TestState: Output only. The state of the release test. + // + // Possible values: + // "TEST_STATE_UNSPECIFIED" - Test state unspecified. + // "IN_PROGRESS" - The test is in progress. + // "PASSED" - The test has passed. + // "FAILED" - The test has failed. + // "INCONCLUSIVE" - The test was inconclusive. + TestState string `json:"testState,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` @@ -2599,9 +2608,9 @@ func (r *ProjectsAppsReleasesTestsService) Create(parent string, googlefirebasea } // ReleaseTestId sets the optional parameter "releaseTestId": The ID to use for -// the test, which will become the final component of the tests's resource -// name. This value should be 4-63 characters, and valid characters are /a-z-/. -// If it is not provided one will be automatically generated. +// the test, which will become the final component of the test's resource name. +// This value should be 4-63 characters, and valid characters are /a-z-/. If it +// is not provided one will be automatically generated. func (c *ProjectsAppsReleasesTestsCreateCall) ReleaseTestId(releaseTestId string) *ProjectsAppsReleasesTestsCreateCall { c.urlParams_.Set("releaseTestId", releaseTestId) return c diff --git a/monitoring/v1/monitoring-api.json b/monitoring/v1/monitoring-api.json index b4218c60958..3c06eabcd3b 100644 --- a/monitoring/v1/monitoring-api.json +++ b/monitoring/v1/monitoring-api.json @@ -753,7 +753,7 @@ } } }, - "revision": "20240829", + "revision": "20240929", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -1413,7 +1413,8 @@ "CLOUD_SQL_STORAGE", "UPTIME_CHECK_FAILURE", "CLOUD_ALERTING_ALERT", - "SERVICE_HEALTH_INCIDENT" + "SERVICE_HEALTH_INCIDENT", + "SAP_BACKINT" ], "enumDescriptions": [ "No event type specified.", @@ -1437,7 +1438,8 @@ "Storage event for a Cloud SQL instance.", "Failure of a Cloud Monitoring uptime check.", "Alerts from Cloud Alerting", - "Incidents from Service Health" + "Incidents from Service Health", + "Agent for SAP Backint related events." ], "type": "string" }, @@ -2054,7 +2056,7 @@ "type": "string" }, "query": { - "description": "A PromQL query string. Query lanauge documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/.", + "description": "A PromQL query string. Query language documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/.", "type": "string" }, "start": { @@ -2069,7 +2071,7 @@ "id": "QueryInstantRequest", "properties": { "query": { - "description": "A PromQL query string. Query lanauge documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/.", + "description": "A PromQL query string. Query language documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/.", "type": "string" }, "time": { @@ -2111,7 +2113,7 @@ "type": "string" }, "query": { - "description": "A PromQL query string. Query lanauge documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/.", + "description": "A PromQL query string. Query language documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/.", "type": "string" }, "start": { diff --git a/monitoring/v1/monitoring-gen.go b/monitoring/v1/monitoring-gen.go index 6d63f950e23..170c7ae0f8a 100644 --- a/monitoring/v1/monitoring-gen.go +++ b/monitoring/v1/monitoring-gen.go @@ -1234,6 +1234,7 @@ type EventAnnotation struct { // "UPTIME_CHECK_FAILURE" - Failure of a Cloud Monitoring uptime check. // "CLOUD_ALERTING_ALERT" - Alerts from Cloud Alerting // "SERVICE_HEALTH_INCIDENT" - Incidents from Service Health + // "SAP_BACKINT" - Agent for SAP Backint related events. EventType string `json:"eventType,omitempty"` // Filter: string filtering the events - event dependant. Example values: // "resource.labels.pod_name = 'pod-1'" @@ -2073,7 +2074,7 @@ type QueryExemplarsRequest struct { // End: The end time to evaluate the query for. Either floating point UNIX // seconds or RFC3339 formatted timestamp. End string `json:"end,omitempty"` - // Query: A PromQL query string. Query lanauge documentation: + // Query: A PromQL query string. Query language documentation: // https://prometheus.io/docs/prometheus/latest/querying/basics/. Query string `json:"query,omitempty"` // Start: The start time to evaluate the query for. Either floating point UNIX @@ -2100,7 +2101,7 @@ func (s QueryExemplarsRequest) MarshalJSON() ([]byte, error) { // QueryInstantRequest: QueryInstantRequest holds all parameters of the // Prometheus upstream instant query API plus GCM specific parameters. type QueryInstantRequest struct { - // Query: A PromQL query string. Query lanauge documentation: + // Query: A PromQL query string. Query language documentation: // https://prometheus.io/docs/prometheus/latest/querying/basics/. Query string `json:"query,omitempty"` // Time: The single point in time to evaluate the query for. Either floating @@ -2167,7 +2168,7 @@ type QueryRangeRequest struct { // End: The end time to evaluate the query for. Either floating point UNIX // seconds or RFC3339 formatted timestamp. End string `json:"end,omitempty"` - // Query: A PromQL query string. Query lanauge documentation: + // Query: A PromQL query string. Query language documentation: // https://prometheus.io/docs/prometheus/latest/querying/basics/. Query string `json:"query,omitempty"` // Start: The start time to evaluate the query for. Either floating point UNIX diff --git a/monitoring/v3/monitoring-api.json b/monitoring/v3/monitoring-api.json index ad5a3845356..e690eec76f3 100644 --- a/monitoring/v3/monitoring-api.json +++ b/monitoring/v3/monitoring-api.json @@ -2715,7 +2715,7 @@ } } }, - "revision": "20240829", + "revision": "20240929", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -3020,6 +3020,17 @@ }, "type": "object" }, + "BooleanTest": { + "description": "A test that uses an alerting result in a boolean column produced by the SQL query.", + "id": "BooleanTest", + "properties": { + "column": { + "description": "Required. The name of the column containing the boolean value. If the value in a row is NULL, that row is ignored.", + "type": "string" + } + }, + "type": "object" + }, "BucketOptions": { "description": "BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i \u003e 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.", "id": "BucketOptions", @@ -3243,6 +3254,10 @@ "$ref": "PrometheusQueryLanguageCondition", "description": "A condition that uses the Prometheus query language to define alerts." }, + "conditionSql": { + "$ref": "SqlCondition", + "description": "A condition that uses SQL to define alerts in Logs Analytics." + }, "conditionThreshold": { "$ref": "MetricThreshold", "description": "A condition that compares a time series against a threshold." @@ -3393,6 +3408,22 @@ "properties": {}, "type": "object" }, + "Daily": { + "description": "Used to schedule the query to run every so many days.", + "id": "Daily", + "properties": { + "executionTime": { + "$ref": "TimeOfDay", + "description": "Optional. The time of day (in UTC) at which the query should run. If left unspecified, the server picks an arbitrary time of day and runs the query at the same time each day." + }, + "periodicity": { + "description": "Required. LINT.IfChange The number of days between runs. Must be greater than or equal to 1 day and less than or equal to 31 days. LINT.ThenChange(//depot/google3/cloud/monitoring/api/alerts/policy_validation.cc)", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "Distribution": { "description": "Distribution contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets.The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths.Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the mean and sum_of_squared_deviation fields meaningless.", "id": "Distribution", @@ -3854,6 +3885,23 @@ }, "type": "object" }, + "Hourly": { + "description": "Used to schedule the query to run every so many hours.", + "id": "Hourly", + "properties": { + "minuteOffset": { + "description": "Optional. LINT.IfChange The number of minutes after the hour (in UTC) to run the query. Must be between 0 and 59 inclusive. If left unspecified, then an arbitrary offset is used. LINT.ThenChange(//depot/google3/cloud/monitoring/api/alerts/policy_validation.cc)", + "format": "int32", + "type": "integer" + }, + "periodicity": { + "description": "Required. LINT.IfChange The number of hours between runs. Must be greater than or equal to 1 hour and less than or equal to 48 hours. LINT.ThenChange(//depot/google3/cloud/monitoring/api/alerts/policy_validation.cc)", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "HttpCheck": { "description": "Information involved in an HTTP/HTTPS Uptime check request.", "id": "HttpCheck", @@ -4744,6 +4792,18 @@ }, "type": "object" }, + "Minutes": { + "description": "Used to schedule the query to run every so many minutes.", + "id": "Minutes", + "properties": { + "periodicity": { + "description": "Required. LINT.IfChange Number of minutes between runs. The interval must be between 5 minutes and 1440 minutes. LINT.ThenChange(//depot/google3/cloud/monitoring/api/alerts/policy_validation.cc)", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "MonitoredResource": { "description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for \"gce_instance\" has labels \"project_id\", \"instance_id\" and \"zone\": { \"type\": \"gce_instance\", \"labels\": { \"project_id\": \"my-project\", \"instance_id\": \"12345678901234\", \"zone\": \"us-central1-a\" }} ", "id": "MonitoredResource", @@ -5356,6 +5416,40 @@ }, "type": "object" }, + "RowCountTest": { + "description": "A test that checks if the number of rows in the result set violates some threshold.", + "id": "RowCountTest", + "properties": { + "comparison": { + "description": "Required. The comparison to apply between the number of rows returned by the query and the threshold.", + "enum": [ + "COMPARISON_UNSPECIFIED", + "COMPARISON_GT", + "COMPARISON_GE", + "COMPARISON_LT", + "COMPARISON_LE", + "COMPARISON_EQ", + "COMPARISON_NE" + ], + "enumDescriptions": [ + "No ordering relationship is specified.", + "True if the left argument is greater than the right argument.", + "True if the left argument is greater than or equal to the right argument.", + "True if the left argument is less than the right argument.", + "True if the left argument is less than or equal to the right argument.", + "True if the left argument is equal to the right argument.", + "True if the left argument is not equal to the right argument." + ], + "type": "string" + }, + "threshold": { + "description": "Required. The value against which to compare the row count.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "SendNotificationChannelVerificationCodeRequest": { "description": "The SendNotificationChannelVerificationCode request.", "id": "SendNotificationChannelVerificationCodeRequest", @@ -5575,6 +5669,37 @@ }, "type": "object" }, + "SqlCondition": { + "description": "A condition that allows alert policies to be defined using GoogleSQL. SQL conditions examine a sliding window of logs using GoogleSQL. Alert policies with SQL conditions may incur additional billing.", + "id": "SqlCondition", + "properties": { + "booleanTest": { + "$ref": "BooleanTest", + "description": "Test the boolean value in the indicated column." + }, + "daily": { + "$ref": "Daily", + "description": "Schedule the query to execute every so many days." + }, + "hourly": { + "$ref": "Hourly", + "description": "Schedule the query to execute every so many hours." + }, + "minutes": { + "$ref": "Minutes", + "description": "Schedule the query to execute every so many minutes." + }, + "query": { + "description": "Required. The Log Analytics SQL query to run, as a string. The query must conform to the required shape. Specifically, the query must not try to filter the input by time. A filter will automatically be applied to filter the input so that the query receives all rows received since the last time the query was run.E.g. Extract all log entries containing an HTTP request:SELECT timestamp, log_name, severity, http_request, resource, labels FROM my-project.global._Default._AllLogs WHERE http_request IS NOT NULL", + "type": "string" + }, + "rowCountTest": { + "$ref": "RowCountTest", + "description": "Test the row count against a threshold." + } + }, + "type": "object" + }, "Status": { "description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).", "id": "Status", @@ -5657,6 +5782,33 @@ }, "type": "object" }, + "TimeOfDay": { + "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.", + "id": "TimeOfDay", + "properties": { + "hours": { + "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", + "format": "int32", + "type": "integer" + }, + "minutes": { + "description": "Minutes of hour of day. Must be from 0 to 59.", + "format": "int32", + "type": "integer" + }, + "nanos": { + "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.", + "format": "int32", + "type": "integer" + }, + "seconds": { + "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "TimeSeries": { "description": "A collection of data points that describes the time-varying values of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.", "id": "TimeSeries", diff --git a/monitoring/v3/monitoring-gen.go b/monitoring/v3/monitoring-gen.go index e2d32dd06c0..50fdbd515dc 100644 --- a/monitoring/v3/monitoring-gen.go +++ b/monitoring/v3/monitoring-gen.go @@ -929,6 +929,30 @@ func (s BasicSli) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// BooleanTest: A test that uses an alerting result in a boolean column +// produced by the SQL query. +type BooleanTest struct { + // Column: Required. The name of the column containing the boolean value. If + // the value in a row is NULL, that row is ignored. + Column string `json:"column,omitempty"` + // ForceSendFields is a list of field names (e.g. "Column") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Column") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s BooleanTest) MarshalJSON() ([]byte, error) { + type NoMethod BooleanTest + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // BucketOptions: BucketOptions describes the bucket boundaries used to create // a histogram for the distribution. The buckets can be in a linear sequence, // an exponential sequence, or each bucket can be specified explicitly. @@ -1237,6 +1261,8 @@ type Condition struct { // ConditionPrometheusQueryLanguage: A condition that uses the Prometheus query // language to define alerts. ConditionPrometheusQueryLanguage *PrometheusQueryLanguageCondition `json:"conditionPrometheusQueryLanguage,omitempty"` + // ConditionSql: A condition that uses SQL to define alerts in Logs Analytics. + ConditionSql *SqlCondition `json:"conditionSql,omitempty"` // ConditionThreshold: A condition that compares a time series against a // threshold. ConditionThreshold *MetricThreshold `json:"conditionThreshold,omitempty"` @@ -1486,6 +1512,35 @@ func (s Criteria) MarshalJSON() ([]byte, error) { type Custom struct { } +// Daily: Used to schedule the query to run every so many days. +type Daily struct { + // ExecutionTime: Optional. The time of day (in UTC) at which the query should + // run. If left unspecified, the server picks an arbitrary time of day and runs + // the query at the same time each day. + ExecutionTime *TimeOfDay `json:"executionTime,omitempty"` + // Periodicity: Required. LINT.IfChange The number of days between runs. Must + // be greater than or equal to 1 day and less than or equal to 31 days. + // LINT.ThenChange(//depot/google3/cloud/monitoring/api/alerts/policy_validation + // .cc) + Periodicity int64 `json:"periodicity,omitempty"` + // ForceSendFields is a list of field names (e.g. "ExecutionTime") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "ExecutionTime") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s Daily) MarshalJSON() ([]byte, error) { + type NoMethod Daily + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Distribution: Distribution contains summary statistics for a population of // values. It optionally contains a histogram representing the distribution of // those values across a set of buckets.The summary statistics are the count, @@ -2220,6 +2275,37 @@ func (s Group) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// Hourly: Used to schedule the query to run every so many hours. +type Hourly struct { + // MinuteOffset: Optional. LINT.IfChange The number of minutes after the hour + // (in UTC) to run the query. Must be between 0 and 59 inclusive. If left + // unspecified, then an arbitrary offset is used. + // LINT.ThenChange(//depot/google3/cloud/monitoring/api/alerts/policy_validation + // .cc) + MinuteOffset int64 `json:"minuteOffset,omitempty"` + // Periodicity: Required. LINT.IfChange The number of hours between runs. Must + // be greater than or equal to 1 hour and less than or equal to 48 hours. + // LINT.ThenChange(//depot/google3/cloud/monitoring/api/alerts/policy_validation + // .cc) + Periodicity int64 `json:"periodicity,omitempty"` + // ForceSendFields is a list of field names (e.g. "MinuteOffset") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "MinuteOffset") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s Hourly) MarshalJSON() ([]byte, error) { + type NoMethod Hourly + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // HttpCheck: Information involved in an HTTP/HTTPS Uptime check request. type HttpCheck struct { // AcceptedResponseStatusCodes: If present, the check will only pass if the @@ -3576,6 +3662,31 @@ func (s *MetricThreshold) UnmarshalJSON(data []byte) error { return nil } +// Minutes: Used to schedule the query to run every so many minutes. +type Minutes struct { + // Periodicity: Required. LINT.IfChange Number of minutes between runs. The + // interval must be between 5 minutes and 1440 minutes. + // LINT.ThenChange(//depot/google3/cloud/monitoring/api/alerts/policy_validation + // .cc) + Periodicity int64 `json:"periodicity,omitempty"` + // ForceSendFields is a list of field names (e.g. "Periodicity") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Periodicity") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s Minutes) MarshalJSON() ([]byte, error) { + type NoMethod Minutes + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // MonitoredResource: An object representing a resource that can be used for // monitoring, logging, billing, or other purposes. Examples include virtual // machine instances, databases, and storage devices such as disks. The type @@ -4546,6 +4657,47 @@ func (s ResponseStatusCode) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// RowCountTest: A test that checks if the number of rows in the result set +// violates some threshold. +type RowCountTest struct { + // Comparison: Required. The comparison to apply between the number of rows + // returned by the query and the threshold. + // + // Possible values: + // "COMPARISON_UNSPECIFIED" - No ordering relationship is specified. + // "COMPARISON_GT" - True if the left argument is greater than the right + // argument. + // "COMPARISON_GE" - True if the left argument is greater than or equal to + // the right argument. + // "COMPARISON_LT" - True if the left argument is less than the right + // argument. + // "COMPARISON_LE" - True if the left argument is less than or equal to the + // right argument. + // "COMPARISON_EQ" - True if the left argument is equal to the right + // argument. + // "COMPARISON_NE" - True if the left argument is not equal to the right + // argument. + Comparison string `json:"comparison,omitempty"` + // Threshold: Required. The value against which to compare the row count. + Threshold int64 `json:"threshold,omitempty,string"` + // ForceSendFields is a list of field names (e.g. "Comparison") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Comparison") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s RowCountTest) MarshalJSON() ([]byte, error) { + type NoMethod RowCountTest + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // SendNotificationChannelVerificationCodeRequest: The // SendNotificationChannelVerificationCode request. type SendNotificationChannelVerificationCodeRequest struct { @@ -4868,6 +5020,46 @@ func (s SpanContext) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// SqlCondition: A condition that allows alert policies to be defined using +// GoogleSQL. SQL conditions examine a sliding window of logs using GoogleSQL. +// Alert policies with SQL conditions may incur additional billing. +type SqlCondition struct { + // BooleanTest: Test the boolean value in the indicated column. + BooleanTest *BooleanTest `json:"booleanTest,omitempty"` + // Daily: Schedule the query to execute every so many days. + Daily *Daily `json:"daily,omitempty"` + // Hourly: Schedule the query to execute every so many hours. + Hourly *Hourly `json:"hourly,omitempty"` + // Minutes: Schedule the query to execute every so many minutes. + Minutes *Minutes `json:"minutes,omitempty"` + // Query: Required. The Log Analytics SQL query to run, as a string. The query + // must conform to the required shape. Specifically, the query must not try to + // filter the input by time. A filter will automatically be applied to filter + // the input so that the query receives all rows received since the last time + // the query was run.E.g. Extract all log entries containing an HTTP + // request:SELECT timestamp, log_name, severity, http_request, resource, labels + // FROM my-project.global._Default._AllLogs WHERE http_request IS NOT NULL + Query string `json:"query,omitempty"` + // RowCountTest: Test the row count against a threshold. + RowCountTest *RowCountTest `json:"rowCountTest,omitempty"` + // ForceSendFields is a list of field names (e.g. "BooleanTest") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "BooleanTest") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s SqlCondition) MarshalJSON() ([]byte, error) { + type NoMethod SqlCondition + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Status: The Status type defines a logical error model that is suitable for // different programming environments, including REST APIs and RPC APIs. It is // used by gRPC (https://github.com/grpc). Each Status message contains three @@ -5030,6 +5222,39 @@ func (s TimeInterval) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// TimeOfDay: Represents a time of day. The date and time zone are either not +// significant or are specified elsewhere. An API may choose to allow leap +// seconds. Related types are google.type.Date and google.protobuf.Timestamp. +type TimeOfDay struct { + // Hours: Hours of day in 24 hour format. Should be from 0 to 23. An API may + // choose to allow the value "24:00:00" for scenarios like business closing + // time. + Hours int64 `json:"hours,omitempty"` + // Minutes: Minutes of hour of day. Must be from 0 to 59. + Minutes int64 `json:"minutes,omitempty"` + // Nanos: Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + Nanos int64 `json:"nanos,omitempty"` + // Seconds: Seconds of minutes of the time. Must normally be from 0 to 59. An + // API may allow the value 60 if it allows leap-seconds. + Seconds int64 `json:"seconds,omitempty"` + // ForceSendFields is a list of field names (e.g. "Hours") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Hours") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s TimeOfDay) MarshalJSON() ([]byte, error) { + type NoMethod TimeOfDay + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // TimeSeries: A collection of data points that describes the time-varying // values of a metric. A time series is identified by a combination of a // fully-specified monitored resource and a fully-specified metric. This type diff --git a/osconfig/v1/osconfig-api.json b/osconfig/v1/osconfig-api.json index 5d0874dcc07..6f13668af50 100644 --- a/osconfig/v1/osconfig-api.json +++ b/osconfig/v1/osconfig-api.json @@ -1083,7 +1083,7 @@ } } }, - "revision": "20240901", + "revision": "20241002", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "AptSettings": { @@ -3500,22 +3500,22 @@ "id": "TimeOfDay", "properties": { "hours": { - "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", + "description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", "format": "int32", "type": "integer" }, "minutes": { - "description": "Minutes of hour of day. Must be from 0 to 59.", + "description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", "format": "int32", "type": "integer" }, "nanos": { - "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.", + "description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", "format": "int32", "type": "integer" }, "seconds": { - "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.", + "description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", "format": "int32", "type": "integer" } diff --git a/osconfig/v1/osconfig-gen.go b/osconfig/v1/osconfig-gen.go index 28768a74e56..578cd07c5a1 100644 --- a/osconfig/v1/osconfig-gen.go +++ b/osconfig/v1/osconfig-gen.go @@ -3269,16 +3269,19 @@ func (s Status) MarshalJSON() ([]byte, error) { // significant or are specified elsewhere. An API may choose to allow leap // seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. type TimeOfDay struct { - // Hours: Hours of day in 24 hour format. Should be from 0 to 23. An API may - // choose to allow the value "24:00:00" for scenarios like business closing - // time. + // Hours: Hours of a day in 24 hour format. Must be greater than or equal to 0 + // and typically must be less than or equal to 23. An API may choose to allow + // the value "24:00:00" for scenarios like business closing time. Hours int64 `json:"hours,omitempty"` - // Minutes: Minutes of hour of day. Must be from 0 to 59. + // Minutes: Minutes of an hour. Must be greater than or equal to 0 and less + // than or equal to 59. Minutes int64 `json:"minutes,omitempty"` - // Nanos: Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + // Nanos: Fractions of seconds, in nanoseconds. Must be greater than or equal + // to 0 and less than or equal to 999,999,999. Nanos int64 `json:"nanos,omitempty"` - // Seconds: Seconds of minutes of the time. Must normally be from 0 to 59. An - // API may allow the value 60 if it allows leap-seconds. + // Seconds: Seconds of a minute. Must be greater than or equal to 0 and + // typically must be less than or equal to 59. An API may allow the value 60 if + // it allows leap-seconds. Seconds int64 `json:"seconds,omitempty"` // ForceSendFields is a list of field names (e.g. "Hours") to unconditionally // include in API requests. By default, fields with empty or default values are diff --git a/osconfig/v1beta/osconfig-api.json b/osconfig/v1beta/osconfig-api.json index eef237c53fd..67e658e378c 100644 --- a/osconfig/v1beta/osconfig-api.json +++ b/osconfig/v1beta/osconfig-api.json @@ -689,7 +689,7 @@ } } }, - "revision": "20220319", + "revision": "20241002", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "AptRepository": { @@ -2268,22 +2268,22 @@ "id": "TimeOfDay", "properties": { "hours": { - "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", + "description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", "format": "int32", "type": "integer" }, "minutes": { - "description": "Minutes of hour of day. Must be from 0 to 59.", + "description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", "format": "int32", "type": "integer" }, "nanos": { - "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.", + "description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", "format": "int32", "type": "integer" }, "seconds": { - "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.", + "description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", "format": "int32", "type": "integer" } diff --git a/osconfig/v1beta/osconfig-gen.go b/osconfig/v1beta/osconfig-gen.go index 482533526a0..d61dab83848 100644 --- a/osconfig/v1beta/osconfig-gen.go +++ b/osconfig/v1beta/osconfig-gen.go @@ -2103,16 +2103,19 @@ func (s SoftwareRecipeStepRunScript) MarshalJSON() ([]byte, error) { // significant or are specified elsewhere. An API may choose to allow leap // seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. type TimeOfDay struct { - // Hours: Hours of day in 24 hour format. Should be from 0 to 23. An API may - // choose to allow the value "24:00:00" for scenarios like business closing - // time. + // Hours: Hours of a day in 24 hour format. Must be greater than or equal to 0 + // and typically must be less than or equal to 23. An API may choose to allow + // the value "24:00:00" for scenarios like business closing time. Hours int64 `json:"hours,omitempty"` - // Minutes: Minutes of hour of day. Must be from 0 to 59. + // Minutes: Minutes of an hour. Must be greater than or equal to 0 and less + // than or equal to 59. Minutes int64 `json:"minutes,omitempty"` - // Nanos: Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + // Nanos: Fractions of seconds, in nanoseconds. Must be greater than or equal + // to 0 and less than or equal to 999,999,999. Nanos int64 `json:"nanos,omitempty"` - // Seconds: Seconds of minutes of the time. Must normally be from 0 to 59. An - // API may allow the value 60 if it allows leap-seconds. + // Seconds: Seconds of a minute. Must be greater than or equal to 0 and + // typically must be less than or equal to 59. An API may allow the value 60 if + // it allows leap-seconds. Seconds int64 `json:"seconds,omitempty"` // ForceSendFields is a list of field names (e.g. "Hours") to unconditionally // include in API requests. By default, fields with empty or default values are diff --git a/servicemanagement/v1/servicemanagement-api.json b/servicemanagement/v1/servicemanagement-api.json index 105ac370dda..06f683fb598 100644 --- a/servicemanagement/v1/servicemanagement-api.json +++ b/servicemanagement/v1/servicemanagement-api.json @@ -830,7 +830,7 @@ } } }, - "revision": "20240920", + "revision": "20240927", "rootUrl": "https://servicemanagement.googleapis.com/", "schemas": { "Advice": { @@ -2636,7 +2636,7 @@ "type": "object" }, "Mixin": { - "description": "Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v1/{resource=**}:getAcl\"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = \"/v2/{resource=**}\"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inherting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v2/{resource=**}:getAcl\"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\"; } ... }", + "description": "Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v1/{resource=**}:getAcl\"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = \"/v2/{resource=**}\"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inheriting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v2/{resource=**}:getAcl\"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\"; } ... }", "id": "Mixin", "properties": { "name": { diff --git a/servicemanagement/v1/servicemanagement-gen.go b/servicemanagement/v1/servicemanagement-gen.go index d38ff49289e..0335684a836 100644 --- a/servicemanagement/v1/servicemanagement-gen.go +++ b/servicemanagement/v1/servicemanagement-gen.go @@ -3026,7 +3026,7 @@ func (s MetricRule) MarshalJSON() ([]byte, error) { // mixin construct implies that all methods in `AccessControl` are also // declared with same name and request/response types in `Storage`. A // documentation generator or annotation processor will see the effective -// `Storage.GetAcl` method after inherting documentation and annotations as +// `Storage.GetAcl` method after inheriting documentation and annotations as // follows: service Storage { // Get the underlying ACL object. rpc // GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = // "/v2/{resource=**}:getAcl"; } ... } Note how the version in the path pattern