From b6144314ce34ca9912dbaabe321eaf83b23983bf Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 3 Jun 2025 07:12:47 +0000 Subject: [PATCH] feat(all): auto-regenerate discovery clients --- dataplex/v1/dataplex-api.json | 45 +++- dataplex/v1/dataplex-gen.go | 37 ++++ .../v1/videointelligence-api.json | 157 +++++++++++++- videointelligence/v1/videointelligence-gen.go | 205 ++++++++++++++++-- .../v1beta2/videointelligence-api.json | 157 +++++++++++++- .../v1beta2/videointelligence-gen.go | 205 ++++++++++++++++-- .../v1p1beta1/videointelligence-api.json | 157 +++++++++++++- .../v1p1beta1/videointelligence-gen.go | 205 ++++++++++++++++-- .../v1p3beta1/videointelligence-api.json | 157 +++++++++++++- .../v1p3beta1/videointelligence-gen.go | 205 ++++++++++++++++-- 10 files changed, 1445 insertions(+), 85 deletions(-) diff --git a/dataplex/v1/dataplex-api.json b/dataplex/v1/dataplex-api.json index 52a522c89e5..8df4670ddc2 100644 --- a/dataplex/v1/dataplex-api.json +++ b/dataplex/v1/dataplex-api.json @@ -7027,7 +7027,7 @@ } } }, - "revision": "20250520", + "revision": "20250525", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -11245,6 +11245,10 @@ "$ref": "GoogleCloudDataplexV1Entry", "description": "Information about an entry and its attached aspects." }, + "entryLink": { + "$ref": "GoogleCloudDataplexV1EntryLink", + "description": "Information about the entry link. User should provide either one of the entry or entry_link. While providing entry_link, user should not provide update_mask and aspect_keys." + }, "updateMask": { "description": "The fields to update, in paths that are relative to the Entry resource. Separate each field with a comma.In FULL entry sync mode, Dataplex includes the paths of all of the fields for an entry that can be modified, including aspects. This means that Dataplex replaces the existing entry with the entry in the metadata import file. All modifiable fields are updated, regardless of the fields that are listed in the update mask, and regardless of whether a field is present in the entry object.The update_mask field is ignored when an entry is created or re-created.In an aspect-only metadata job (when entry sync mode is NONE), set this value to aspects.Dataplex also determines which entries and aspects to modify by comparing the values and timestamps that you provide in the metadata import file with the values and timestamps that exist in your project. For more information, see Comparison logic (https://cloud.google.com/dataplex/docs/import-metadata#data-modification-logic).", "format": "google-fieldmask", @@ -12288,12 +12292,24 @@ "readOnly": true, "type": "string" }, + "createdEntryLinks": { + "description": "Output only. The total number of entry links that were successfully created.", + "format": "int64", + "readOnly": true, + "type": "string" + }, "deletedEntries": { "description": "Output only. The total number of entries that were deleted.", "format": "int64", "readOnly": true, "type": "string" }, + "deletedEntryLinks": { + "description": "Output only. The total number of entry links that were successfully deleted.", + "format": "int64", + "readOnly": true, + "type": "string" + }, "recreatedEntries": { "description": "Output only. The total number of entries that were recreated.", "format": "int64", @@ -12306,6 +12322,12 @@ "readOnly": true, "type": "string" }, + "unchangedEntryLinks": { + "description": "Output only. The total number of entry links that were left unchanged.", + "format": "int64", + "readOnly": true, + "type": "string" + }, "updateTime": { "description": "Output only. The time when the status was updated.", "format": "google-datetime", @@ -12405,12 +12427,33 @@ }, "type": "array" }, + "entryLinkTypes": { + "description": "Optional. The entry link types that are in scope for the import job, specified as relative resource names in the format projects/{project_number_or_id}/locations/{location_id}/entryLinkTypes/{entry_link_type_id}. The job modifies only the entryLinks that belong to these entry link types.If the metadata import file attempts to create or delete an entry link whose entry link type isn't included in this list, the import job will skip those entry links.", + "items": { + "type": "string" + }, + "type": "array" + }, "entryTypes": { "description": "Required. The entry types that are in scope for the import job, specified as relative resource names in the format projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_type_id}. The job modifies only the entries and aspects that belong to these entry types.If the metadata import file attempts to modify an entry whose type isn't included in this list, the import job is halted before modifying any entries or aspects.The location of an entry type must either match the location of the job, or the entry type must be global.", "items": { "type": "string" }, "type": "array" + }, + "glossaries": { + "description": "Optional. The glossaries that are in scope for the import job, specified as relative resource names in the format projects/{project_number_or_id}/locations/{location_id}/glossaries/{glossary_id}.While importing Business Glossary entries, the user must provide glossaries. While importing entries, the user does not have to provide glossaries. If the metadata import file attempts to modify Business Glossary entries whose glossary isn't included in this list, the import job will skip those entries.The location of a glossary must either match the location of the job, or the glossary must be global.", + "items": { + "type": "string" + }, + "type": "array" + }, + "referencedEntryScopes": { + "description": "Optional. Defines the scope of entries that can be referenced in the entry links.Currently, projects are supported as valid scopes. Format: projects/{project_number_or_id}If the metadata import file attempts to create an entry link which references an entry that is not in the scope, the import job will skip that entry link.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" diff --git a/dataplex/v1/dataplex-gen.go b/dataplex/v1/dataplex-gen.go index b1356616747..a438ad6c9d2 100644 --- a/dataplex/v1/dataplex-gen.go +++ b/dataplex/v1/dataplex-gen.go @@ -5607,6 +5607,10 @@ type GoogleCloudDataplexV1ImportItem struct { AspectKeys []string `json:"aspectKeys,omitempty"` // Entry: Information about an entry and its attached aspects. Entry *GoogleCloudDataplexV1Entry `json:"entry,omitempty"` + // EntryLink: Information about the entry link. User should provide either one + // of the entry or entry_link. While providing entry_link, user should not + // provide update_mask and aspect_keys. + EntryLink *GoogleCloudDataplexV1EntryLink `json:"entryLink,omitempty"` // UpdateMask: The fields to update, in paths that are relative to the Entry // resource. Separate each field with a comma.In FULL entry sync mode, Dataplex // includes the paths of all of the fields for an entry that can be modified, @@ -6817,14 +6821,23 @@ func (s GoogleCloudDataplexV1MetadataJobExportJobSpecExportJobScope) MarshalJSON type GoogleCloudDataplexV1MetadataJobImportJobResult struct { // CreatedEntries: Output only. The total number of entries that were created. CreatedEntries int64 `json:"createdEntries,omitempty,string"` + // CreatedEntryLinks: Output only. The total number of entry links that were + // successfully created. + CreatedEntryLinks int64 `json:"createdEntryLinks,omitempty,string"` // DeletedEntries: Output only. The total number of entries that were deleted. DeletedEntries int64 `json:"deletedEntries,omitempty,string"` + // DeletedEntryLinks: Output only. The total number of entry links that were + // successfully deleted. + DeletedEntryLinks int64 `json:"deletedEntryLinks,omitempty,string"` // RecreatedEntries: Output only. The total number of entries that were // recreated. RecreatedEntries int64 `json:"recreatedEntries,omitempty,string"` // UnchangedEntries: Output only. The total number of entries that were // unchanged. UnchangedEntries int64 `json:"unchangedEntries,omitempty,string"` + // UnchangedEntryLinks: Output only. The total number of entry links that were + // left unchanged. + UnchangedEntryLinks int64 `json:"unchangedEntryLinks,omitempty,string"` // UpdateTime: Output only. The time when the status was updated. UpdateTime string `json:"updateTime,omitempty"` // UpdatedEntries: Output only. The total number of entries that were updated. @@ -6967,6 +6980,14 @@ type GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope struct { // are affected by the job.Must contain exactly one element. The entry group // and the job must be in the same location. EntryGroups []string `json:"entryGroups,omitempty"` + // EntryLinkTypes: Optional. The entry link types that are in scope for the + // import job, specified as relative resource names in the format + // projects/{project_number_or_id}/locations/{location_id}/entryLinkTypes/{entry + // _link_type_id}. The job modifies only the entryLinks that belong to these + // entry link types.If the metadata import file attempts to create or delete an + // entry link whose entry link type isn't included in this list, the import job + // will skip those entry links. + EntryLinkTypes []string `json:"entryLinkTypes,omitempty"` // EntryTypes: Required. The entry types that are in scope for the import job, // specified as relative resource names in the format // projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_typ @@ -6976,6 +6997,22 @@ type GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope struct { // any entries or aspects.The location of an entry type must either match the // location of the job, or the entry type must be global. EntryTypes []string `json:"entryTypes,omitempty"` + // Glossaries: Optional. The glossaries that are in scope for the import job, + // specified as relative resource names in the format + // projects/{project_number_or_id}/locations/{location_id}/glossaries/{glossary_ + // id}.While importing Business Glossary entries, the user must provide + // glossaries. While importing entries, the user does not have to provide + // glossaries. If the metadata import file attempts to modify Business Glossary + // entries whose glossary isn't included in this list, the import job will skip + // those entries.The location of a glossary must either match the location of + // the job, or the glossary must be global. + Glossaries []string `json:"glossaries,omitempty"` + // ReferencedEntryScopes: Optional. Defines the scope of entries that can be + // referenced in the entry links.Currently, projects are supported as valid + // scopes. Format: projects/{project_number_or_id}If the metadata import file + // attempts to create an entry link which references an entry that is not in + // the scope, the import job will skip that entry link. + ReferencedEntryScopes []string `json:"referencedEntryScopes,omitempty"` // ForceSendFields is a list of field names (e.g. "AspectTypes") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/videointelligence/v1/videointelligence-api.json b/videointelligence/v1/videointelligence-api.json index ae524dbc9e7..f347ade5900 100644 --- a/videointelligence/v1/videointelligence-api.json +++ b/videointelligence/v1/videointelligence-api.json @@ -350,7 +350,7 @@ } } }, - "revision": "20250130", + "revision": "20250521", "rootUrl": "https://videointelligence.googleapis.com/", "schemas": { "GoogleCloudVideointelligenceV1_AnnotateVideoProgress": { @@ -560,6 +560,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -1217,6 +1244,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -1619,6 +1650,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1beta2_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -2091,6 +2149,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -2447,6 +2509,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -2919,6 +3008,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -3275,6 +3368,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -3747,6 +3867,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -4158,6 +4282,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -4702,6 +4853,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ diff --git a/videointelligence/v1/videointelligence-gen.go b/videointelligence/v1/videointelligence-gen.go index 7ba18e5e960..dca0f1b21be 100644 --- a/videointelligence/v1/videointelligence-gen.go +++ b/videointelligence/v1/videointelligence-gen.go @@ -559,6 +559,36 @@ func (s GoogleCloudVideointelligenceV1ExplicitContentFrame) MarshalJSON() ([]byt return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1ExportToOutputUriStatus: Status of exporting +// annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -1590,6 +1620,9 @@ func (s *GoogleCloudVideointelligenceV1Track) UnmarshalJSON(data []byte) error { // GoogleCloudVideointelligenceV1VideoAnnotationProgress: Annotation progress // for a single video. type GoogleCloudVideointelligenceV1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -1619,13 +1652,13 @@ type GoogleCloudVideointelligenceV1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -2068,6 +2101,36 @@ func (s GoogleCloudVideointelligenceV1beta2ExplicitContentFrame) MarshalJSON() ( return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1beta2FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1beta2FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -2795,6 +2858,9 @@ func (s *GoogleCloudVideointelligenceV1beta2Track) UnmarshalJSON(data []byte) er // GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -2824,13 +2890,13 @@ type GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -3231,6 +3297,36 @@ func (s GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1p1beta1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1p1beta1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -3958,6 +4054,9 @@ func (s *GoogleCloudVideointelligenceV1p1beta1Track) UnmarshalJSON(data []byte) // GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -3987,13 +4086,13 @@ type GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -4394,6 +4493,36 @@ func (s GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1p2beta1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1p2beta1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -5121,6 +5250,9 @@ func (s *GoogleCloudVideointelligenceV1p2beta1Track) UnmarshalJSON(data []byte) // GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -5150,13 +5282,13 @@ type GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -5639,6 +5771,36 @@ func (s GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1p3beta1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1p3beta1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -6472,6 +6634,9 @@ func (s *GoogleCloudVideointelligenceV1p3beta1Track) UnmarshalJSON(data []byte) // GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -6502,13 +6667,13 @@ type GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. diff --git a/videointelligence/v1beta2/videointelligence-api.json b/videointelligence/v1beta2/videointelligence-api.json index 6b308f87322..f84017db063 100644 --- a/videointelligence/v1beta2/videointelligence-api.json +++ b/videointelligence/v1beta2/videointelligence-api.json @@ -128,7 +128,7 @@ } } }, - "revision": "20231214", + "revision": "20250521", "rootUrl": "https://videointelligence.googleapis.com/", "schemas": { "GoogleCloudVideointelligenceV1_AnnotateVideoProgress": { @@ -268,6 +268,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -740,6 +767,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -1166,6 +1197,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1beta2_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -1823,6 +1881,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -2225,6 +2287,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -2697,6 +2786,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -3053,6 +3146,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -3525,6 +3645,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -3936,6 +4060,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -4480,6 +4631,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ diff --git a/videointelligence/v1beta2/videointelligence-gen.go b/videointelligence/v1beta2/videointelligence-gen.go index 9f0b95c7da2..c0452447e86 100644 --- a/videointelligence/v1beta2/videointelligence-gen.go +++ b/videointelligence/v1beta2/videointelligence-gen.go @@ -388,6 +388,36 @@ func (s GoogleCloudVideointelligenceV1ExplicitContentFrame) MarshalJSON() ([]byt return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1ExportToOutputUriStatus: Status of exporting +// annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -1115,6 +1145,9 @@ func (s *GoogleCloudVideointelligenceV1Track) UnmarshalJSON(data []byte) error { // GoogleCloudVideointelligenceV1VideoAnnotationProgress: Annotation progress // for a single video. type GoogleCloudVideointelligenceV1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -1144,13 +1177,13 @@ type GoogleCloudVideointelligenceV1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -1638,6 +1671,36 @@ func (s GoogleCloudVideointelligenceV1beta2ExplicitContentFrame) MarshalJSON() ( return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1beta2FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1beta2FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -2669,6 +2732,9 @@ func (s *GoogleCloudVideointelligenceV1beta2Track) UnmarshalJSON(data []byte) er // GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -2698,13 +2764,13 @@ type GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -3147,6 +3213,36 @@ func (s GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1p1beta1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1p1beta1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -3874,6 +3970,9 @@ func (s *GoogleCloudVideointelligenceV1p1beta1Track) UnmarshalJSON(data []byte) // GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -3903,13 +4002,13 @@ type GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -4310,6 +4409,36 @@ func (s GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1p2beta1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1p2beta1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -5037,6 +5166,9 @@ func (s *GoogleCloudVideointelligenceV1p2beta1Track) UnmarshalJSON(data []byte) // GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -5066,13 +5198,13 @@ type GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -5555,6 +5687,36 @@ func (s GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1p3beta1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1p3beta1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -6388,6 +6550,9 @@ func (s *GoogleCloudVideointelligenceV1p3beta1Track) UnmarshalJSON(data []byte) // GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -6418,13 +6583,13 @@ type GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. diff --git a/videointelligence/v1p1beta1/videointelligence-api.json b/videointelligence/v1p1beta1/videointelligence-api.json index 230f81485b1..0ed9676829f 100644 --- a/videointelligence/v1p1beta1/videointelligence-api.json +++ b/videointelligence/v1p1beta1/videointelligence-api.json @@ -128,7 +128,7 @@ } } }, - "revision": "20231214", + "revision": "20250521", "rootUrl": "https://videointelligence.googleapis.com/", "schemas": { "GoogleCloudVideointelligenceV1_AnnotateVideoProgress": { @@ -268,6 +268,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -740,6 +767,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -1096,6 +1127,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1beta2_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -1568,6 +1626,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -1994,6 +2056,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -2651,6 +2740,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -3053,6 +3146,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -3525,6 +3645,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -3936,6 +4060,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -4480,6 +4631,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ diff --git a/videointelligence/v1p1beta1/videointelligence-gen.go b/videointelligence/v1p1beta1/videointelligence-gen.go index 86505b608bb..1a34acdc505 100644 --- a/videointelligence/v1p1beta1/videointelligence-gen.go +++ b/videointelligence/v1p1beta1/videointelligence-gen.go @@ -388,6 +388,36 @@ func (s GoogleCloudVideointelligenceV1ExplicitContentFrame) MarshalJSON() ([]byt return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1ExportToOutputUriStatus: Status of exporting +// annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -1115,6 +1145,9 @@ func (s *GoogleCloudVideointelligenceV1Track) UnmarshalJSON(data []byte) error { // GoogleCloudVideointelligenceV1VideoAnnotationProgress: Annotation progress // for a single video. type GoogleCloudVideointelligenceV1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -1144,13 +1177,13 @@ type GoogleCloudVideointelligenceV1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -1551,6 +1584,36 @@ func (s GoogleCloudVideointelligenceV1beta2ExplicitContentFrame) MarshalJSON() ( return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1beta2FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1beta2FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -2278,6 +2341,9 @@ func (s *GoogleCloudVideointelligenceV1beta2Track) UnmarshalJSON(data []byte) er // GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -2307,13 +2373,13 @@ type GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -2801,6 +2867,36 @@ func (s GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1p1beta1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1p1beta1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -3832,6 +3928,9 @@ func (s *GoogleCloudVideointelligenceV1p1beta1Track) UnmarshalJSON(data []byte) // GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -3861,13 +3960,13 @@ type GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -4310,6 +4409,36 @@ func (s GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1p2beta1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1p2beta1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -5037,6 +5166,9 @@ func (s *GoogleCloudVideointelligenceV1p2beta1Track) UnmarshalJSON(data []byte) // GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -5066,13 +5198,13 @@ type GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -5555,6 +5687,36 @@ func (s GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1p3beta1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1p3beta1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -6388,6 +6550,9 @@ func (s *GoogleCloudVideointelligenceV1p3beta1Track) UnmarshalJSON(data []byte) // GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -6418,13 +6583,13 @@ type GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. diff --git a/videointelligence/v1p3beta1/videointelligence-api.json b/videointelligence/v1p3beta1/videointelligence-api.json index 700e9c4f54b..c0741ce8b4a 100644 --- a/videointelligence/v1p3beta1/videointelligence-api.json +++ b/videointelligence/v1p3beta1/videointelligence-api.json @@ -128,7 +128,7 @@ } } }, - "revision": "20231214", + "revision": "20250521", "rootUrl": "https://videointelligence.googleapis.com/", "schemas": { "GoogleCloudVideointelligenceV1_AnnotateVideoProgress": { @@ -268,6 +268,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -740,6 +767,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -1096,6 +1127,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1beta2_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -1568,6 +1626,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -1924,6 +1986,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -2396,6 +2485,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -2752,6 +2845,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -3224,6 +3344,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ @@ -3707,6 +3831,33 @@ }, "type": "object" }, + "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus": { + "description": "Status of exporting annotation response to user specified `output_uri`.", + "id": "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus", + "properties": { + "state": { + "description": "Output only. State of the `output_uri` export.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Default value.", + "Export succeeded.", + "Export failed." + ], + "readOnly": true, + "type": "string" + }, + "status": { + "$ref": "GoogleRpc_Status", + "description": "Output only. Only set if state is FAILED.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation": { "deprecated": true, "description": "Deprecated. No effect.", @@ -4436,6 +4587,10 @@ "description": "Annotation progress for a single video.", "id": "GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress", "properties": { + "exportStatus": { + "$ref": "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus", + "description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." + }, "feature": { "description": "Specifies which feature is being tracked if the request contains more than one feature.", "enum": [ diff --git a/videointelligence/v1p3beta1/videointelligence-gen.go b/videointelligence/v1p3beta1/videointelligence-gen.go index f861d70a13a..ac0a5703fed 100644 --- a/videointelligence/v1p3beta1/videointelligence-gen.go +++ b/videointelligence/v1p3beta1/videointelligence-gen.go @@ -388,6 +388,36 @@ func (s GoogleCloudVideointelligenceV1ExplicitContentFrame) MarshalJSON() ([]byt return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1ExportToOutputUriStatus: Status of exporting +// annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -1115,6 +1145,9 @@ func (s *GoogleCloudVideointelligenceV1Track) UnmarshalJSON(data []byte) error { // GoogleCloudVideointelligenceV1VideoAnnotationProgress: Annotation progress // for a single video. type GoogleCloudVideointelligenceV1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -1144,13 +1177,13 @@ type GoogleCloudVideointelligenceV1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -1551,6 +1584,36 @@ func (s GoogleCloudVideointelligenceV1beta2ExplicitContentFrame) MarshalJSON() ( return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1beta2FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1beta2FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -2278,6 +2341,9 @@ func (s *GoogleCloudVideointelligenceV1beta2Track) UnmarshalJSON(data []byte) er // GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -2307,13 +2373,13 @@ type GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -2714,6 +2780,36 @@ func (s GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1p1beta1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1p1beta1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -3441,6 +3537,9 @@ func (s *GoogleCloudVideointelligenceV1p1beta1Track) UnmarshalJSON(data []byte) // GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -3470,13 +3569,13 @@ type GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -3877,6 +3976,36 @@ func (s GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1p2beta1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1p2beta1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -4604,6 +4733,9 @@ func (s *GoogleCloudVideointelligenceV1p2beta1Track) UnmarshalJSON(data []byte) // GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -4633,13 +4765,13 @@ type GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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. @@ -5210,6 +5342,36 @@ func (s GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus: Status of +// exporting annotation response to user specified `output_uri`. +type GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus struct { + // State: Output only. State of the `output_uri` export. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. + // "SUCCEEDED" - Export succeeded. + // "FAILED" - Export failed. + State string `json:"state,omitempty"` + // Status: Output only. Only set if state is FAILED. + Status *GoogleRpcStatus `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudVideointelligenceV1p3beta1FaceAnnotation: Deprecated. No effect. type GoogleCloudVideointelligenceV1p3beta1FaceAnnotation struct { // Frames: All video frames where a face was detected. @@ -6347,6 +6509,9 @@ func (s *GoogleCloudVideointelligenceV1p3beta1Track) UnmarshalJSON(data []byte) // GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress: Annotation // progress for a single video. type GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress struct { + // ExportStatus: Status of exporting annotation response to user specified + // `output_uri`. Only set if `output_uri` is set in the request. + ExportStatus *GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus `json:"exportStatus,omitempty"` // Feature: Specifies which feature is being tracked if the request contains // more than one feature. // @@ -6377,13 +6542,13 @@ type GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress struct { StartTime string `json:"startTime,omitempty"` // UpdateTime: Time of the most recent update. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Feature") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "ExportStatus") 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. "Feature") to include in API + // NullFields is a list of field names (e.g. "ExportStatus") 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.