func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetDatasetDatasetTypeEnumStringValues() []string
GetDatasetDatasetTypeEnumStringValues Enumerates the set of values in String for DatasetDatasetTypeEnum
func GetDimensionsUnitEnumStringValues() []string
GetDimensionsUnitEnumStringValues Enumerates the set of values in String for DimensionsUnitEnum
func GetDocumentDetailsSourceEnumStringValues() []string
GetDocumentDetailsSourceEnumStringValues Enumerates the set of values in String for DocumentDetailsSourceEnum
func GetDocumentFeatureFeatureTypeEnumStringValues() []string
GetDocumentFeatureFeatureTypeEnumStringValues Enumerates the set of values in String for DocumentFeatureFeatureTypeEnum
func GetDocumentFieldFieldTypeEnumStringValues() []string
GetDocumentFieldFieldTypeEnumStringValues Enumerates the set of values in String for DocumentFieldFieldTypeEnum
func GetDocumentJobLifecycleDetailsEnumStringValues() []string
GetDocumentJobLifecycleDetailsEnumStringValues Enumerates the set of values in String for DocumentJobLifecycleDetailsEnum
func GetDocumentJobLifecycleStateEnumStringValues() []string
GetDocumentJobLifecycleStateEnumStringValues Enumerates the set of values in String for DocumentJobLifecycleStateEnum
func GetDocumentLanguageEnumStringValues() []string
GetDocumentLanguageEnumStringValues Enumerates the set of values in String for DocumentLanguageEnum
func GetDocumentTypeEnumStringValues() []string
GetDocumentTypeEnumStringValues Enumerates the set of values in String for DocumentTypeEnum
func GetFieldValueValueTypeEnumStringValues() []string
GetFieldValueValueTypeEnumStringValues Enumerates the set of values in String for FieldValueValueTypeEnum
func GetImageDetailsSourceEnumStringValues() []string
GetImageDetailsSourceEnumStringValues Enumerates the set of values in String for ImageDetailsSourceEnum
func GetImageFeatureFeatureTypeEnumStringValues() []string
GetImageFeatureFeatureTypeEnumStringValues Enumerates the set of values in String for ImageFeatureFeatureTypeEnum
func GetImageJobLifecycleDetailsEnumStringValues() []string
GetImageJobLifecycleDetailsEnumStringValues Enumerates the set of values in String for ImageJobLifecycleDetailsEnum
func GetImageJobLifecycleStateEnumStringValues() []string
GetImageJobLifecycleStateEnumStringValues Enumerates the set of values in String for ImageJobLifecycleStateEnum
func GetInputLocationSourceTypeEnumStringValues() []string
GetInputLocationSourceTypeEnumStringValues Enumerates the set of values in String for InputLocationSourceTypeEnum
func GetLandmarkTypeEnumStringValues() []string
GetLandmarkTypeEnumStringValues Enumerates the set of values in String for LandmarkTypeEnum
func GetListModelsSortByEnumStringValues() []string
GetListModelsSortByEnumStringValues Enumerates the set of values in String for ListModelsSortByEnum
func GetListModelsSortOrderEnumStringValues() []string
GetListModelsSortOrderEnumStringValues Enumerates the set of values in String for ListModelsSortOrderEnum
func GetListProjectsSortByEnumStringValues() []string
GetListProjectsSortByEnumStringValues Enumerates the set of values in String for ListProjectsSortByEnum
func GetListProjectsSortOrderEnumStringValues() []string
GetListProjectsSortOrderEnumStringValues Enumerates the set of values in String for ListProjectsSortOrderEnum
func GetListStreamGroupsSortByEnumStringValues() []string
GetListStreamGroupsSortByEnumStringValues Enumerates the set of values in String for ListStreamGroupsSortByEnum
func GetListStreamGroupsSortOrderEnumStringValues() []string
GetListStreamGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListStreamGroupsSortOrderEnum
func GetListStreamJobsSortByEnumStringValues() []string
GetListStreamJobsSortByEnumStringValues Enumerates the set of values in String for ListStreamJobsSortByEnum
func GetListStreamJobsSortOrderEnumStringValues() []string
GetListStreamJobsSortOrderEnumStringValues Enumerates the set of values in String for ListStreamJobsSortOrderEnum
func GetListStreamSourcesSortByEnumStringValues() []string
GetListStreamSourcesSortByEnumStringValues Enumerates the set of values in String for ListStreamSourcesSortByEnum
func GetListStreamSourcesSortOrderEnumStringValues() []string
GetListStreamSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListStreamSourcesSortOrderEnum
func GetListVisionPrivateEndpointsSortByEnumStringValues() []string
GetListVisionPrivateEndpointsSortByEnumStringValues Enumerates the set of values in String for ListVisionPrivateEndpointsSortByEnum
func GetListVisionPrivateEndpointsSortOrderEnumStringValues() []string
GetListVisionPrivateEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListVisionPrivateEndpointsSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetModelLifecycleStateEnumStringValues() []string
GetModelLifecycleStateEnumStringValues Enumerates the set of values in String for ModelLifecycleStateEnum
func GetModelModelTypeEnumStringValues() []string
GetModelModelTypeEnumStringValues Enumerates the set of values in String for ModelModelTypeEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetProjectLifecycleStateEnumStringValues() []string
GetProjectLifecycleStateEnumStringValues Enumerates the set of values in String for ProjectLifecycleStateEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetStreamGroupLifecycleStateEnumStringValues() []string
GetStreamGroupLifecycleStateEnumStringValues Enumerates the set of values in String for StreamGroupLifecycleStateEnum
func GetStreamJobLifecycleStateEnumStringValues() []string
GetStreamJobLifecycleStateEnumStringValues Enumerates the set of values in String for StreamJobLifecycleStateEnum
func GetStreamNetworkAccessDetailsStreamAccessTypeEnumStringValues() []string
GetStreamNetworkAccessDetailsStreamAccessTypeEnumStringValues Enumerates the set of values in String for StreamNetworkAccessDetailsStreamAccessTypeEnum
func GetStreamOutputLocationOutputLocationTypeEnumStringValues() []string
GetStreamOutputLocationOutputLocationTypeEnumStringValues Enumerates the set of values in String for StreamOutputLocationOutputLocationTypeEnum
func GetStreamSourceDetailsSourceTypeEnumStringValues() []string
GetStreamSourceDetailsSourceTypeEnumStringValues Enumerates the set of values in String for StreamSourceDetailsSourceTypeEnum
func GetStreamSourceLifecycleStateEnumStringValues() []string
GetStreamSourceLifecycleStateEnumStringValues Enumerates the set of values in String for StreamSourceLifecycleStateEnum
func GetVideoFeatureFeatureTypeEnumStringValues() []string
GetVideoFeatureFeatureTypeEnumStringValues Enumerates the set of values in String for VideoFeatureFeatureTypeEnum
func GetVideoJobLifecycleDetailsEnumStringValues() []string
GetVideoJobLifecycleDetailsEnumStringValues Enumerates the set of values in String for VideoJobLifecycleDetailsEnum
func GetVideoJobLifecycleStateEnumStringValues() []string
GetVideoJobLifecycleStateEnumStringValues Enumerates the set of values in String for VideoJobLifecycleStateEnum
func GetVideoStreamFeatureFeatureTypeEnumStringValues() []string
GetVideoStreamFeatureFeatureTypeEnumStringValues Enumerates the set of values in String for VideoStreamFeatureFeatureTypeEnum
func GetVisionPrivateEndpointLifecycleStateEnumStringValues() []string
GetVisionPrivateEndpointLifecycleStateEnumStringValues Enumerates the set of values in String for VisionPrivateEndpointLifecycleStateEnum
AIServiceVisionClient a client for AIServiceVision
type AIServiceVisionClient struct { common.BaseClient // contains filtered or unexported fields }
func NewAIServiceVisionClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AIServiceVisionClient, err error)
NewAIServiceVisionClientWithConfigurationProvider Creates a new default AIServiceVision client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewAIServiceVisionClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AIServiceVisionClient, err error)
NewAIServiceVisionClientWithOboToken Creates a new default AIServiceVision client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client AIServiceVisionClient) AnalyzeDocument(ctx context.Context, request AnalyzeDocumentRequest) (response AnalyzeDocumentResponse, err error)
AnalyzeDocument Perform different types of image analysis.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/AnalyzeDocument.go.html to see an example of how to use AnalyzeDocument API. A default retry strategy applies to this operation AnalyzeDocument()
func (client AIServiceVisionClient) AnalyzeImage(ctx context.Context, request AnalyzeImageRequest) (response AnalyzeImageResponse, err error)
AnalyzeImage Perform different types of image analysis.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/AnalyzeImage.go.html to see an example of how to use AnalyzeImage API. A default retry strategy applies to this operation AnalyzeImage()
func (client AIServiceVisionClient) CancelDocumentJob(ctx context.Context, request CancelDocumentJobRequest) (response CancelDocumentJobResponse, err error)
CancelDocumentJob Cancel a document batch job.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CancelDocumentJob.go.html to see an example of how to use CancelDocumentJob API.
func (client AIServiceVisionClient) CancelImageJob(ctx context.Context, request CancelImageJobRequest) (response CancelImageJobResponse, err error)
CancelImageJob Cancel an image batch job.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CancelImageJob.go.html to see an example of how to use CancelImageJob API.
func (client AIServiceVisionClient) CancelVideoJob(ctx context.Context, request CancelVideoJobRequest) (response CancelVideoJobResponse, err error)
CancelVideoJob Cancel a video analysis job.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CancelVideoJob.go.html to see an example of how to use CancelVideoJob API.
func (client AIServiceVisionClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancel the work request with the given ID.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API.
func (client AIServiceVisionClient) ChangeModelCompartment(ctx context.Context, request ChangeModelCompartmentRequest) (response ChangeModelCompartmentResponse, err error)
ChangeModelCompartment Moves a model from one compartment to another. When provided, If-Match is checked against the ETag values of the resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ChangeModelCompartment.go.html to see an example of how to use ChangeModelCompartment API.
func (client AIServiceVisionClient) ChangeProjectCompartment(ctx context.Context, request ChangeProjectCompartmentRequest) (response ChangeProjectCompartmentResponse, err error)
ChangeProjectCompartment Move a project from one compartment to another. When provided, If-Match is checked against the ETag values of the resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartment API.
func (client AIServiceVisionClient) ChangeStreamGroupCompartment(ctx context.Context, request ChangeStreamGroupCompartmentRequest) (response ChangeStreamGroupCompartmentResponse, err error)
ChangeStreamGroupCompartment Move a streamGroup from one compartment to another. When provided, If-Match is checked against the ETag values of the resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ChangeStreamGroupCompartment.go.html to see an example of how to use ChangeStreamGroupCompartment API. A default retry strategy applies to this operation ChangeStreamGroupCompartment()
func (client AIServiceVisionClient) ChangeStreamJobCompartment(ctx context.Context, request ChangeStreamJobCompartmentRequest) (response ChangeStreamJobCompartmentResponse, err error)
ChangeStreamJobCompartment Move a streamJob from one compartment to another. When provided, If-Match is checked against the ETag values of the resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ChangeStreamJobCompartment.go.html to see an example of how to use ChangeStreamJobCompartment API. A default retry strategy applies to this operation ChangeStreamJobCompartment()
func (client AIServiceVisionClient) ChangeStreamSourceCompartment(ctx context.Context, request ChangeStreamSourceCompartmentRequest) (response ChangeStreamSourceCompartmentResponse, err error)
ChangeStreamSourceCompartment Move a streamSource from one compartment to another. When provided, If-Match is checked against the ETag values of the resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ChangeStreamSourceCompartment.go.html to see an example of how to use ChangeStreamSourceCompartment API. A default retry strategy applies to this operation ChangeStreamSourceCompartment()
func (client AIServiceVisionClient) ChangeVisionPrivateEndpointCompartment(ctx context.Context, request ChangeVisionPrivateEndpointCompartmentRequest) (response ChangeVisionPrivateEndpointCompartmentResponse, err error)
ChangeVisionPrivateEndpointCompartment Move a visionPrivateEndpoint from one compartment to another. When provided, If-Match is checked against the ETag values of the resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ChangeVisionPrivateEndpointCompartment.go.html to see an example of how to use ChangeVisionPrivateEndpointCompartment API. A default retry strategy applies to this operation ChangeVisionPrivateEndpointCompartment()
func (client *AIServiceVisionClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client AIServiceVisionClient) CreateDocumentJob(ctx context.Context, request CreateDocumentJobRequest) (response CreateDocumentJobResponse, err error)
CreateDocumentJob Create a document analysis batch job.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateDocumentJob.go.html to see an example of how to use CreateDocumentJob API.
func (client AIServiceVisionClient) CreateImageJob(ctx context.Context, request CreateImageJobRequest) (response CreateImageJobResponse, err error)
CreateImageJob Create an image analysis batch job.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateImageJob.go.html to see an example of how to use CreateImageJob API.
func (client AIServiceVisionClient) CreateModel(ctx context.Context, request CreateModelRequest) (response CreateModelResponse, err error)
CreateModel Create a new model.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateModel.go.html to see an example of how to use CreateModel API.
func (client AIServiceVisionClient) CreateProject(ctx context.Context, request CreateProjectRequest) (response CreateProjectResponse, err error)
CreateProject Create a new project.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateProject.go.html to see an example of how to use CreateProject API.
func (client AIServiceVisionClient) CreateStreamGroup(ctx context.Context, request CreateStreamGroupRequest) (response CreateStreamGroupResponse, err error)
CreateStreamGroup Registration of new streamGroup
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateStreamGroup.go.html to see an example of how to use CreateStreamGroup API. A default retry strategy applies to this operation CreateStreamGroup()
func (client AIServiceVisionClient) CreateStreamJob(ctx context.Context, request CreateStreamJobRequest) (response CreateStreamJobResponse, err error)
CreateStreamJob Create a stream analysis job with given inputs and features.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateStreamJob.go.html to see an example of how to use CreateStreamJob API. A default retry strategy applies to this operation CreateStreamJob()
func (client AIServiceVisionClient) CreateStreamSource(ctx context.Context, request CreateStreamSourceRequest) (response CreateStreamSourceResponse, err error)
CreateStreamSource Registration of new streamSource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateStreamSource.go.html to see an example of how to use CreateStreamSource API. A default retry strategy applies to this operation CreateStreamSource()
func (client AIServiceVisionClient) CreateVideoJob(ctx context.Context, request CreateVideoJobRequest) (response CreateVideoJobResponse, err error)
CreateVideoJob Create a video analysis job with given inputs and features.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateVideoJob.go.html to see an example of how to use CreateVideoJob API.
func (client AIServiceVisionClient) CreateVisionPrivateEndpoint(ctx context.Context, request CreateVisionPrivateEndpointRequest) (response CreateVisionPrivateEndpointResponse, err error)
CreateVisionPrivateEndpoint Create a new visionPrivateEndpoint.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateVisionPrivateEndpoint.go.html to see an example of how to use CreateVisionPrivateEndpoint API. A default retry strategy applies to this operation CreateVisionPrivateEndpoint()
func (client AIServiceVisionClient) DeleteModel(ctx context.Context, request DeleteModelRequest) (response DeleteModelResponse, err error)
DeleteModel Delete a model by identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/DeleteModel.go.html to see an example of how to use DeleteModel API.
func (client AIServiceVisionClient) DeleteProject(ctx context.Context, request DeleteProjectRequest) (response DeleteProjectResponse, err error)
DeleteProject Delete a project by identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/DeleteProject.go.html to see an example of how to use DeleteProject API.
func (client AIServiceVisionClient) DeleteStreamGroup(ctx context.Context, request DeleteStreamGroupRequest) (response DeleteStreamGroupResponse, err error)
DeleteStreamGroup Delete a streamGroup
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/DeleteStreamGroup.go.html to see an example of how to use DeleteStreamGroup API.
func (client AIServiceVisionClient) DeleteStreamJob(ctx context.Context, request DeleteStreamJobRequest) (response DeleteStreamJobResponse, err error)
DeleteStreamJob Get details of a stream analysis job.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/DeleteStreamJob.go.html to see an example of how to use DeleteStreamJob API.
func (client AIServiceVisionClient) DeleteStreamSource(ctx context.Context, request DeleteStreamSourceRequest) (response DeleteStreamSourceResponse, err error)
DeleteStreamSource Delete a streamSource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/DeleteStreamSource.go.html to see an example of how to use DeleteStreamSource API.
func (client AIServiceVisionClient) DeleteVisionPrivateEndpoint(ctx context.Context, request DeleteVisionPrivateEndpointRequest) (response DeleteVisionPrivateEndpointResponse, err error)
DeleteVisionPrivateEndpoint Delete a visionPrivateEndpoint by identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/DeleteVisionPrivateEndpoint.go.html to see an example of how to use DeleteVisionPrivateEndpoint API.
func (client AIServiceVisionClient) GetDocumentJob(ctx context.Context, request GetDocumentJobRequest) (response GetDocumentJobResponse, err error)
GetDocumentJob Get details of a document batch job.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetDocumentJob.go.html to see an example of how to use GetDocumentJob API.
func (client AIServiceVisionClient) GetImageJob(ctx context.Context, request GetImageJobRequest) (response GetImageJobResponse, err error)
GetImageJob Get details of an image batch job.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetImageJob.go.html to see an example of how to use GetImageJob API.
func (client AIServiceVisionClient) GetModel(ctx context.Context, request GetModelRequest) (response GetModelResponse, err error)
GetModel Get a model by identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetModel.go.html to see an example of how to use GetModel API.
func (client AIServiceVisionClient) GetProject(ctx context.Context, request GetProjectRequest) (response GetProjectResponse, err error)
GetProject Get a project by identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetProject.go.html to see an example of how to use GetProject API.
func (client AIServiceVisionClient) GetStreamGroup(ctx context.Context, request GetStreamGroupRequest) (response GetStreamGroupResponse, err error)
GetStreamGroup Get a streamGroup
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetStreamGroup.go.html to see an example of how to use GetStreamGroup API. A default retry strategy applies to this operation GetStreamGroup()
func (client AIServiceVisionClient) GetStreamJob(ctx context.Context, request GetStreamJobRequest) (response GetStreamJobResponse, err error)
GetStreamJob Get details of a stream analysis job.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetStreamJob.go.html to see an example of how to use GetStreamJob API. A default retry strategy applies to this operation GetStreamJob()
func (client AIServiceVisionClient) GetStreamSource(ctx context.Context, request GetStreamSourceRequest) (response GetStreamSourceResponse, err error)
GetStreamSource Get a streamSource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetStreamSource.go.html to see an example of how to use GetStreamSource API. A default retry strategy applies to this operation GetStreamSource()
func (client AIServiceVisionClient) GetVideoJob(ctx context.Context, request GetVideoJobRequest) (response GetVideoJobResponse, err error)
GetVideoJob Get details of a video analysis job.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetVideoJob.go.html to see an example of how to use GetVideoJob API.
func (client AIServiceVisionClient) GetVisionPrivateEndpoint(ctx context.Context, request GetVisionPrivateEndpointRequest) (response GetVisionPrivateEndpointResponse, err error)
GetVisionPrivateEndpoint Get a visionPrivateEndpoint by identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetVisionPrivateEndpoint.go.html to see an example of how to use GetVisionPrivateEndpoint API. A default retry strategy applies to this operation GetVisionPrivateEndpoint()
func (client AIServiceVisionClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the status of the work request with the given ID.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client AIServiceVisionClient) ListModels(ctx context.Context, request ListModelsRequest) (response ListModelsResponse, err error)
ListModels Returns a list of models in a compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListModels.go.html to see an example of how to use ListModels API.
func (client AIServiceVisionClient) ListProjects(ctx context.Context, request ListProjectsRequest) (response ListProjectsResponse, err error)
ListProjects Returns a list of projects.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListProjects.go.html to see an example of how to use ListProjects API.
func (client AIServiceVisionClient) ListStreamGroups(ctx context.Context, request ListStreamGroupsRequest) (response ListStreamGroupsResponse, err error)
ListStreamGroups Gets a list of the streamGroups in the specified compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListStreamGroups.go.html to see an example of how to use ListStreamGroups API. A default retry strategy applies to this operation ListStreamGroups()
func (client AIServiceVisionClient) ListStreamJobs(ctx context.Context, request ListStreamJobsRequest) (response ListStreamJobsResponse, err error)
ListStreamJobs Get list of stream jobs
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListStreamJobs.go.html to see an example of how to use ListStreamJobs API. A default retry strategy applies to this operation ListStreamJobs()
func (client AIServiceVisionClient) ListStreamSources(ctx context.Context, request ListStreamSourcesRequest) (response ListStreamSourcesResponse, err error)
ListStreamSources Gets a list of the streamSources in the specified compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListStreamSources.go.html to see an example of how to use ListStreamSources API. A default retry strategy applies to this operation ListStreamSources()
func (client AIServiceVisionClient) ListVisionPrivateEndpoints(ctx context.Context, request ListVisionPrivateEndpointsRequest) (response ListVisionPrivateEndpointsResponse, err error)
ListVisionPrivateEndpoints Returns a list of visionPrivateEndpoints.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListVisionPrivateEndpoints.go.html to see an example of how to use ListVisionPrivateEndpoints API. A default retry strategy applies to this operation ListVisionPrivateEndpoints()
func (client AIServiceVisionClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Returns a (paginated) list of errors for a given work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client AIServiceVisionClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Return a (paginated) list of logs for a given work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client AIServiceVisionClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client *AIServiceVisionClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client AIServiceVisionClient) StartStreamJob(ctx context.Context, request StartStreamJobRequest) (response StartStreamJobResponse, err error)
StartStreamJob End a stream analysis Run.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/StartStreamJob.go.html to see an example of how to use StartStreamJob API. A default retry strategy applies to this operation StartStreamJob()
func (client AIServiceVisionClient) StopStreamJob(ctx context.Context, request StopStreamJobRequest) (response StopStreamJobResponse, err error)
StopStreamJob End a stream analysis Run.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/StopStreamJob.go.html to see an example of how to use StopStreamJob API. A default retry strategy applies to this operation StopStreamJob()
func (client AIServiceVisionClient) UpdateModel(ctx context.Context, request UpdateModelRequest) (response UpdateModelResponse, err error)
UpdateModel Updates the model metadata.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/UpdateModel.go.html to see an example of how to use UpdateModel API.
func (client AIServiceVisionClient) UpdateProject(ctx context.Context, request UpdateProjectRequest) (response UpdateProjectResponse, err error)
UpdateProject Update the project metadata.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/UpdateProject.go.html to see an example of how to use UpdateProject API.
func (client AIServiceVisionClient) UpdateStreamGroup(ctx context.Context, request UpdateStreamGroupRequest) (response UpdateStreamGroupResponse, err error)
UpdateStreamGroup Update a streamGroup
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/UpdateStreamGroup.go.html to see an example of how to use UpdateStreamGroup API.
func (client AIServiceVisionClient) UpdateStreamJob(ctx context.Context, request UpdateStreamJobRequest) (response UpdateStreamJobResponse, err error)
UpdateStreamJob Create a stream analysis job with given inputs and features.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/UpdateStreamJob.go.html to see an example of how to use UpdateStreamJob API.
func (client AIServiceVisionClient) UpdateStreamSource(ctx context.Context, request UpdateStreamSourceRequest) (response UpdateStreamSourceResponse, err error)
UpdateStreamSource Update a streamSource
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/UpdateStreamSource.go.html to see an example of how to use UpdateStreamSource API.
func (client AIServiceVisionClient) UpdateVisionPrivateEndpoint(ctx context.Context, request UpdateVisionPrivateEndpointRequest) (response UpdateVisionPrivateEndpointResponse, err error)
UpdateVisionPrivateEndpoint Update the visionPrivateEndpoint metadata.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/UpdateVisionPrivateEndpoint.go.html to see an example of how to use UpdateVisionPrivateEndpoint API.
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AnalyzeDocumentDetails The details of how to analyze a document.
type AnalyzeDocumentDetails struct { // The types of document analysis requested. Features []DocumentFeature `mandatory:"true" json:"features"` Document DocumentDetails `mandatory:"true" json:"document"` // The OCID of the compartment that calls the API. CompartmentId *string `mandatory:"false" json:"compartmentId"` OutputLocation *OutputLocation `mandatory:"false" json:"outputLocation"` // The document language, abbreviated according to ISO 639-2. Language DocumentLanguageEnum `mandatory:"false" json:"language,omitempty"` // The document type. DocumentType DocumentTypeEnum `mandatory:"false" json:"documentType,omitempty"` }
func (m AnalyzeDocumentDetails) String() string
func (m *AnalyzeDocumentDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AnalyzeDocumentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AnalyzeDocumentRequest wrapper for the AnalyzeDocument operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/AnalyzeDocument.go.html to see an example of how to use AnalyzeDocumentRequest.
type AnalyzeDocumentRequest struct { // The details of how to analyze a document. AnalyzeDocumentDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request AnalyzeDocumentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AnalyzeDocumentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AnalyzeDocumentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AnalyzeDocumentRequest) String() string
func (request AnalyzeDocumentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AnalyzeDocumentResponse wrapper for the AnalyzeDocument operation
type AnalyzeDocumentResponse struct { // The underlying http response RawResponse *http.Response // The AnalyzeDocumentResult instance AnalyzeDocumentResult `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response AnalyzeDocumentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AnalyzeDocumentResponse) String() string
AnalyzeDocumentResult The document analysis results.
type AnalyzeDocumentResult struct { DocumentMetadata *DocumentMetadata `mandatory:"true" json:"documentMetadata"` // The array of a Page. Pages []Page `mandatory:"true" json:"pages"` // An array of detected document types. DetectedDocumentTypes []DetectedDocumentType `mandatory:"false" json:"detectedDocumentTypes"` // An array of detected languages. DetectedLanguages []DetectedLanguage `mandatory:"false" json:"detectedLanguages"` // The document classification model version. DocumentClassificationModelVersion *string `mandatory:"false" json:"documentClassificationModelVersion"` // The document language classification model version. LanguageClassificationModelVersion *string `mandatory:"false" json:"languageClassificationModelVersion"` // The document text detection model version. TextDetectionModelVersion *string `mandatory:"false" json:"textDetectionModelVersion"` // The document keyValue detection model version. KeyValueDetectionModelVersion *string `mandatory:"false" json:"keyValueDetectionModelVersion"` // The document table detection model version. TableDetectionModelVersion *string `mandatory:"false" json:"tableDetectionModelVersion"` // The errors encountered during document analysis. Errors []ProcessingError `mandatory:"false" json:"errors"` // The searchable PDF file that was generated. SearchablePdf []byte `mandatory:"false" json:"searchablePdf"` }
func (m AnalyzeDocumentResult) String() string
func (m AnalyzeDocumentResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AnalyzeImageDetails The details of how to analyze an image.
type AnalyzeImageDetails struct { // The types of image analysis. Features []ImageFeature `mandatory:"true" json:"features"` Image ImageDetails `mandatory:"true" json:"image"` // The OCID of the compartment that calls the API. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
func (m AnalyzeImageDetails) String() string
func (m *AnalyzeImageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AnalyzeImageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AnalyzeImageRequest wrapper for the AnalyzeImage operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/AnalyzeImage.go.html to see an example of how to use AnalyzeImageRequest.
type AnalyzeImageRequest struct { // Details about how to analyze an image. AnalyzeImageDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request AnalyzeImageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AnalyzeImageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AnalyzeImageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AnalyzeImageRequest) String() string
func (request AnalyzeImageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AnalyzeImageResponse wrapper for the AnalyzeImage operation
type AnalyzeImageResponse struct { // The underlying http response RawResponse *http.Response // The AnalyzeImageResult instance AnalyzeImageResult `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response AnalyzeImageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AnalyzeImageResponse) String() string
AnalyzeImageResult The image analysis results.
type AnalyzeImageResult struct { // The detected objects. ImageObjects []ImageObject `mandatory:"false" json:"imageObjects"` // The image classification labels. Labels []Label `mandatory:"false" json:"labels"` // The ontologyClasses of image labels. OntologyClasses []OntologyClass `mandatory:"false" json:"ontologyClasses"` ImageText *ImageText `mandatory:"false" json:"imageText"` // The detected faces. DetectedFaces []Face `mandatory:"false" json:"detectedFaces"` // The image classification model version. ImageClassificationModelVersion *string `mandatory:"false" json:"imageClassificationModelVersion"` // The object detection model version. ObjectDetectionModelVersion *string `mandatory:"false" json:"objectDetectionModelVersion"` // The text detection model version. TextDetectionModelVersion *string `mandatory:"false" json:"textDetectionModelVersion"` // The face detection model version. FaceDetectionModelVersion *string `mandatory:"false" json:"faceDetectionModelVersion"` // The errors encountered during image analysis. Errors []ProcessingError `mandatory:"false" json:"errors"` }
func (m AnalyzeImageResult) String() string
func (m AnalyzeImageResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AnalyzeVideoResult Video analysis results.
type AnalyzeVideoResult struct { VideoMetadata *VideoMetadata `mandatory:"true" json:"videoMetadata"` // Detected labels in a video. VideoLabels []VideoLabel `mandatory:"false" json:"videoLabels"` // Detected objects in a video. VideoObjects []VideoObject `mandatory:"false" json:"videoObjects"` // Tracked objects in a video. VideoTrackedObjects []VideoTrackedObject `mandatory:"false" json:"videoTrackedObjects"` // Detected text in a video. VideoText []VideoText `mandatory:"false" json:"videoText"` // Detected faces in a video. VideoFaces []VideoFace `mandatory:"false" json:"videoFaces"` // The ontologyClasses of video labels. OntologyClasses []OntologyClass `mandatory:"false" json:"ontologyClasses"` // Label Detection model version. LabelDetectionModelVersion *string `mandatory:"false" json:"labelDetectionModelVersion"` // Object Detection model version. ObjectDetectionModelVersion *string `mandatory:"false" json:"objectDetectionModelVersion"` // Object Tracking model version. ObjectTrackingModelVersion *string `mandatory:"false" json:"objectTrackingModelVersion"` // Text Detection model version. TextDetectionModelVersion *string `mandatory:"false" json:"textDetectionModelVersion"` // Face Detection model version. FaceDetectionModelVersion *string `mandatory:"false" json:"faceDetectionModelVersion"` // Array of possible errors. Errors []ProcessingError `mandatory:"false" json:"errors"` }
func (m AnalyzeVideoResult) String() string
func (m AnalyzeVideoResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AnalyzeVideoStreamResult Video stream analysis results.
type AnalyzeVideoStreamResult struct { VideoStreamMetadata *VideoStreamMetadata `mandatory:"true" json:"videoStreamMetadata"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of streamJob. StreamJobId *string `mandatory:"true" json:"streamJobId"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of StreamSource. StreamSourceId *string `mandatory:"true" json:"streamSourceId"` // time stamp of frame in utc. Timestamp *string `mandatory:"true" json:"timestamp"` OntologyClasses *OntologyClass `mandatory:"false" json:"ontologyClasses"` // Base 64 encoded frame ImageData *string `mandatory:"false" json:"imageData"` // Tracked objects in a video stream. VideoStreamObjects []VideoStreamObject `mandatory:"false" json:"videoStreamObjects"` // List of Object Tracking model versions. ObjectTrackingModelVersions []ModelVersionDetails `mandatory:"false" json:"objectTrackingModelVersions"` // List of Object Detection model versions. ObjectDetectionModelVersions []ModelVersionDetails `mandatory:"false" json:"objectDetectionModelVersions"` // Array of possible errors. Errors []ProcessingError `mandatory:"false" json:"errors"` }
func (m AnalyzeVideoStreamResult) String() string
func (m AnalyzeVideoStreamResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BoundingPolygon The object-bounding polygon box.
type BoundingPolygon struct { // An array of normalized points defining the polygon's perimeter, with an implicit segment between subsequent points and between the first and last point. // Rectangles are defined with four points. For example, `[{"x": 0, "y": 0}, {"x": 1, "y": 0}, {"x": 1, "y": 0.5}, {"x": 0, "y": 0.5}]` represents the top half of an image. NormalizedVertices []NormalizedVertex `mandatory:"true" json:"normalizedVertices"` }
func (m BoundingPolygon) String() string
func (m BoundingPolygon) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelDocumentJobRequest wrapper for the CancelDocumentJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CancelDocumentJob.go.html to see an example of how to use CancelDocumentJobRequest.
type CancelDocumentJobRequest struct { // The document job ID. DocumentJobId *string `mandatory:"true" contributesTo:"path" name:"documentJobId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CancelDocumentJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelDocumentJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelDocumentJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelDocumentJobRequest) String() string
func (request CancelDocumentJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelDocumentJobResponse wrapper for the CancelDocumentJob operation
type CancelDocumentJobResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CancelDocumentJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelDocumentJobResponse) String() string
CancelImageJobRequest wrapper for the CancelImageJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CancelImageJob.go.html to see an example of how to use CancelImageJobRequest.
type CancelImageJobRequest struct { // The image job ID. ImageJobId *string `mandatory:"true" contributesTo:"path" name:"imageJobId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CancelImageJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelImageJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelImageJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelImageJobRequest) String() string
func (request CancelImageJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelImageJobResponse wrapper for the CancelImageJob operation
type CancelImageJobResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CancelImageJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelImageJobResponse) String() string
CancelVideoJobRequest wrapper for the CancelVideoJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CancelVideoJob.go.html to see an example of how to use CancelVideoJobRequest.
type CancelVideoJobRequest struct { // Video job id. VideoJobId *string `mandatory:"true" contributesTo:"path" name:"videoJobId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CancelVideoJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelVideoJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelVideoJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelVideoJobRequest) String() string
func (request CancelVideoJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelVideoJobResponse wrapper for the CancelVideoJob operation
type CancelVideoJobResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CancelVideoJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelVideoJobResponse) String() string
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
type CancelWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelWorkRequestRequest) String() string
func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
type CancelWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelWorkRequestResponse) String() string
Cell A single cell in a table.
type Cell struct { // The text recognized in the cell. Text *string `mandatory:"true" json:"text"` // The index of the cell inside the row. RowIndex *int `mandatory:"true" json:"rowIndex"` // The index of the cell inside the column. ColumnIndex *int `mandatory:"true" json:"columnIndex"` // The confidence score between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` // The words detected in the cell. WordIndexes []int `mandatory:"true" json:"wordIndexes"` }
func (m Cell) String() string
func (m Cell) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeModelCompartmentDetails The compartment the model should be moved to.
type ChangeModelCompartmentDetails struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // into which the model should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeModelCompartmentDetails) String() string
func (m ChangeModelCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeModelCompartmentRequest wrapper for the ChangeModelCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ChangeModelCompartment.go.html to see an example of how to use ChangeModelCompartmentRequest.
type ChangeModelCompartmentRequest struct { // A unique model identifier. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // The details of the move. ChangeModelCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeModelCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeModelCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeModelCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeModelCompartmentRequest) String() string
func (request ChangeModelCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeModelCompartmentResponse wrapper for the ChangeModelCompartment operation
type ChangeModelCompartmentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeModelCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeModelCompartmentResponse) String() string
ChangeProjectCompartmentDetails Which compartment the project should be moved to.
type ChangeProjectCompartmentDetails struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // into which the project should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeProjectCompartmentDetails) String() string
func (m ChangeProjectCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeProjectCompartmentRequest wrapper for the ChangeProjectCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartmentRequest.
type ChangeProjectCompartmentRequest struct { // A unique project identifier. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // The deatils of the move. ChangeProjectCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeProjectCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeProjectCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeProjectCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeProjectCompartmentRequest) String() string
func (request ChangeProjectCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeProjectCompartmentResponse wrapper for the ChangeProjectCompartment operation
type ChangeProjectCompartmentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeProjectCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeProjectCompartmentResponse) String() string
ChangeStreamGroupCompartmentDetails Which compartment the streamGroup should be moved to.
type ChangeStreamGroupCompartmentDetails struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // into which the streamGroup should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeStreamGroupCompartmentDetails) String() string
func (m ChangeStreamGroupCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeStreamGroupCompartmentRequest wrapper for the ChangeStreamGroupCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ChangeStreamGroupCompartment.go.html to see an example of how to use ChangeStreamGroupCompartmentRequest.
type ChangeStreamGroupCompartmentRequest struct { // StreamGroup Id. StreamGroupId *string `mandatory:"true" contributesTo:"path" name:"streamGroupId"` // The details of the move. ChangeStreamGroupCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeStreamGroupCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeStreamGroupCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeStreamGroupCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeStreamGroupCompartmentRequest) String() string
func (request ChangeStreamGroupCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeStreamGroupCompartmentResponse wrapper for the ChangeStreamGroupCompartment operation
type ChangeStreamGroupCompartmentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeStreamGroupCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeStreamGroupCompartmentResponse) String() string
ChangeStreamJobCompartmentDetails Which compartment the streamJob should be moved to.
type ChangeStreamJobCompartmentDetails struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // into which the streamJob should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeStreamJobCompartmentDetails) String() string
func (m ChangeStreamJobCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeStreamJobCompartmentRequest wrapper for the ChangeStreamJobCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ChangeStreamJobCompartment.go.html to see an example of how to use ChangeStreamJobCompartmentRequest.
type ChangeStreamJobCompartmentRequest struct { // Stream job id. StreamJobId *string `mandatory:"true" contributesTo:"path" name:"streamJobId"` // The details of the move. ChangeStreamJobCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeStreamJobCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeStreamJobCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeStreamJobCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeStreamJobCompartmentRequest) String() string
func (request ChangeStreamJobCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeStreamJobCompartmentResponse wrapper for the ChangeStreamJobCompartment operation
type ChangeStreamJobCompartmentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeStreamJobCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeStreamJobCompartmentResponse) String() string
ChangeStreamSourceCompartmentDetails Which compartment the streamSource should be moved to.
type ChangeStreamSourceCompartmentDetails struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // into which the streamSource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeStreamSourceCompartmentDetails) String() string
func (m ChangeStreamSourceCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeStreamSourceCompartmentRequest wrapper for the ChangeStreamSourceCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ChangeStreamSourceCompartment.go.html to see an example of how to use ChangeStreamSourceCompartmentRequest.
type ChangeStreamSourceCompartmentRequest struct { // StreamSource Id. StreamSourceId *string `mandatory:"true" contributesTo:"path" name:"streamSourceId"` // The details of the move. ChangeStreamSourceCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeStreamSourceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeStreamSourceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeStreamSourceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeStreamSourceCompartmentRequest) String() string
func (request ChangeStreamSourceCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeStreamSourceCompartmentResponse wrapper for the ChangeStreamSourceCompartment operation
type ChangeStreamSourceCompartmentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response ChangeStreamSourceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeStreamSourceCompartmentResponse) String() string
ChangeVisionPrivateEndpointCompartmentDetails Which compartment the visionPrivateEndpoint should be moved to.
type ChangeVisionPrivateEndpointCompartmentDetails struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // into which the visionPrivateEndpoint should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeVisionPrivateEndpointCompartmentDetails) String() string
func (m ChangeVisionPrivateEndpointCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeVisionPrivateEndpointCompartmentRequest wrapper for the ChangeVisionPrivateEndpointCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ChangeVisionPrivateEndpointCompartment.go.html to see an example of how to use ChangeVisionPrivateEndpointCompartmentRequest.
type ChangeVisionPrivateEndpointCompartmentRequest struct { // Vision private endpoint Id. VisionPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"visionPrivateEndpointId"` // The deatils of the move. ChangeVisionPrivateEndpointCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeVisionPrivateEndpointCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeVisionPrivateEndpointCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeVisionPrivateEndpointCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeVisionPrivateEndpointCompartmentRequest) String() string
func (request ChangeVisionPrivateEndpointCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeVisionPrivateEndpointCompartmentResponse wrapper for the ChangeVisionPrivateEndpointCompartment operation
type ChangeVisionPrivateEndpointCompartmentResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeVisionPrivateEndpointCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeVisionPrivateEndpointCompartmentResponse) String() string
CreateDocumentJobDetails The batch document analysis details.
type CreateDocumentJobDetails struct { InputLocation InputLocation `mandatory:"true" json:"inputLocation"` // The list of requested document analysis types. Features []DocumentFeature `mandatory:"true" json:"features"` OutputLocation *OutputLocation `mandatory:"true" json:"outputLocation"` // The compartment identifier from the requester. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The document job display name. DisplayName *string `mandatory:"false" json:"displayName"` // The language of the document, abbreviated according to ISO 639-2. Language DocumentLanguageEnum `mandatory:"false" json:"language,omitempty"` // The type of documents. DocumentType DocumentTypeEnum `mandatory:"false" json:"documentType,omitempty"` // Whether or not to generate a ZIP file containing the results. IsZipOutputEnabled *bool `mandatory:"false" json:"isZipOutputEnabled"` }
func (m CreateDocumentJobDetails) String() string
func (m *CreateDocumentJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateDocumentJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDocumentJobRequest wrapper for the CreateDocumentJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateDocumentJob.go.html to see an example of how to use CreateDocumentJobRequest.
type CreateDocumentJobRequest struct { // The details of the batch document analysis. CreateDocumentJobDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateDocumentJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDocumentJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDocumentJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDocumentJobRequest) String() string
func (request CreateDocumentJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDocumentJobResponse wrapper for the CreateDocumentJob operation
type CreateDocumentJobResponse struct { // The underlying http response RawResponse *http.Response // The DocumentJob instance DocumentJob `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateDocumentJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDocumentJobResponse) String() string
CreateImageJobDetails The details of the batch image analysis.
type CreateImageJobDetails struct { InputLocation InputLocation `mandatory:"true" json:"inputLocation"` // The list of requested image analysis types. Features []ImageFeature `mandatory:"true" json:"features"` OutputLocation *OutputLocation `mandatory:"true" json:"outputLocation"` // The compartment identifier from the requester. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The image job display name. DisplayName *string `mandatory:"false" json:"displayName"` // Whether or not to generate a ZIP file containing the results. IsZipOutputEnabled *bool `mandatory:"false" json:"isZipOutputEnabled"` }
func (m CreateImageJobDetails) String() string
func (m *CreateImageJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateImageJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateImageJobRequest wrapper for the CreateImageJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateImageJob.go.html to see an example of how to use CreateImageJobRequest.
type CreateImageJobRequest struct { // The details of the batch image analysis. CreateImageJobDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateImageJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateImageJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateImageJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateImageJobRequest) String() string
func (request CreateImageJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateImageJobResponse wrapper for the CreateImageJob operation
type CreateImageJobResponse struct { // The underlying http response RawResponse *http.Response // The ImageJob instance ImageJob `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateImageJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateImageJobResponse) String() string
CreateModelDetails The information needed to create a new model.
type CreateModelDetails struct { // Which type of Vision model this is. ModelType ModelModelTypeEnum `mandatory:"true" json:"modelType"` // The compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` TrainingDataset Dataset `mandatory:"true" json:"trainingDataset"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project that contains the model. ProjectId *string `mandatory:"true" json:"projectId"` // A human-friendly name for the model, which can be changed. DisplayName *string `mandatory:"false" json:"displayName"` // An optional description of the model. Description *string `mandatory:"false" json:"description"` // The model version ModelVersion *string `mandatory:"false" json:"modelVersion"` // Set to true when experimenting with a new model type or dataset, so the model training is quick, with a predefined low number of passes through the training data. IsQuickMode *bool `mandatory:"false" json:"isQuickMode"` // The maximum model training duration in hours, expressed as a decimal fraction. MaxTrainingDurationInHours *float64 `mandatory:"false" json:"maxTrainingDurationInHours"` TestingDataset Dataset `mandatory:"false" json:"testingDataset"` ValidationDataset Dataset `mandatory:"false" json:"validationDataset"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateModelDetails) String() string
func (m *CreateModelDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateModelDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateModelRequest wrapper for the CreateModel operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateModel.go.html to see an example of how to use CreateModelRequest.
type CreateModelRequest struct { // The metadata about the new model. CreateModelDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateModelRequest) String() string
func (request CreateModelRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateModelResponse wrapper for the CreateModel operation
type CreateModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CreateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateModelResponse) String() string
CreateProjectDetails The information needed to create a new project.
type CreateProjectDetails struct { // The compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A human-friendly name for the project, that can be changed. DisplayName *string `mandatory:"false" json:"displayName"` // An optional description of the project. Description *string `mandatory:"false" json:"description"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateProjectDetails) String() string
func (m CreateProjectDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateProjectRequest wrapper for the CreateProject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateProject.go.html to see an example of how to use CreateProjectRequest.
type CreateProjectRequest struct { // The new Project's details. CreateProjectDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateProjectRequest) String() string
func (request CreateProjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateProjectResponse wrapper for the CreateProject operation
type CreateProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateProjectResponse) String() string
CreateStreamGroupDetails The information needed to create a stream group
type CreateStreamGroupDetails struct { // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // A human-friendly name for the streamGroup. DisplayName *string `mandatory:"false" json:"displayName"` // Stream IsEnabled *bool `mandatory:"false" json:"isEnabled"` // List of streamSource OCIDs associated with the stream group StreamSourceIds []string `mandatory:"false" json:"streamSourceIds"` // List of streamSource OCIDs where the streamSource overlaps in field of view. StreamOverlaps []StreamGroupOverlap `mandatory:"false" json:"streamOverlaps"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateStreamGroupDetails) String() string
func (m CreateStreamGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateStreamGroupRequest wrapper for the CreateStreamGroup operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateStreamGroup.go.html to see an example of how to use CreateStreamGroupRequest.
type CreateStreamGroupRequest struct { // Details about the streamGroup CreateStreamGroupDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateStreamGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateStreamGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateStreamGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateStreamGroupRequest) String() string
func (request CreateStreamGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateStreamGroupResponse wrapper for the CreateStreamGroup operation
type CreateStreamGroupResponse struct { // The underlying http response RawResponse *http.Response // The StreamGroup instance StreamGroup `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateStreamGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateStreamGroupResponse) String() string
CreateStreamJobDetails The information needed to create new Streamjob
type CreateStreamJobDetails struct { // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of streamSource. StreamSourceId *string `mandatory:"true" json:"streamSourceId"` // a list of stream analysis features. Features []VideoStreamFeature `mandatory:"true" json:"features"` StreamOutputLocation StreamOutputLocation `mandatory:"true" json:"streamOutputLocation"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Stream job display name. DisplayName *string `mandatory:"false" json:"displayName"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateStreamJobDetails) String() string
func (m *CreateStreamJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateStreamJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateStreamJobRequest wrapper for the CreateStreamJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateStreamJob.go.html to see an example of how to use CreateStreamJobRequest.
type CreateStreamJobRequest struct { // Details about the stream analysis. CreateStreamJobDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateStreamJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateStreamJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateStreamJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateStreamJobRequest) String() string
func (request CreateStreamJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateStreamJobResponse wrapper for the CreateStreamJob operation
type CreateStreamJobResponse struct { // The underlying http response RawResponse *http.Response // The StreamJob instance StreamJob `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateStreamJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateStreamJobResponse) String() string
CreateStreamSourceDetails The information needed to create stream source
type CreateStreamSourceDetails struct { StreamSourceDetails StreamSourceDetails `mandatory:"true" json:"streamSourceDetails"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // A human-friendly name for the streamSource. DisplayName *string `mandatory:"false" json:"displayName"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateStreamSourceDetails) String() string
func (m *CreateStreamSourceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateStreamSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateStreamSourceRequest wrapper for the CreateStreamSource operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateStreamSource.go.html to see an example of how to use CreateStreamSourceRequest.
type CreateStreamSourceRequest struct { // Details about the StreamSource CreateStreamSourceDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateStreamSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateStreamSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateStreamSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateStreamSourceRequest) String() string
func (request CreateStreamSourceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateStreamSourceResponse wrapper for the CreateStreamSource operation
type CreateStreamSourceResponse struct { // The underlying http response RawResponse *http.Response // The StreamSource instance StreamSource `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateStreamSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateStreamSourceResponse) String() string
CreateVideoJobDetails Details about the video analysis.
type CreateVideoJobDetails struct { InputLocation InputLocation `mandatory:"true" json:"inputLocation"` // a list of video analysis features. Features []VideoFeature `mandatory:"true" json:"features"` OutputLocation *OutputLocation `mandatory:"true" json:"outputLocation"` // Compartment identifier from the requester. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Video job display name. DisplayName *string `mandatory:"false" json:"displayName"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateVideoJobDetails) String() string
func (m *CreateVideoJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateVideoJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateVideoJobRequest wrapper for the CreateVideoJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateVideoJob.go.html to see an example of how to use CreateVideoJobRequest.
type CreateVideoJobRequest struct { // Details about the video analysis. CreateVideoJobDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateVideoJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateVideoJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateVideoJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateVideoJobRequest) String() string
func (request CreateVideoJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateVideoJobResponse wrapper for the CreateVideoJob operation
type CreateVideoJobResponse struct { // The underlying http response RawResponse *http.Response // The VideoJob instance VideoJob `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateVideoJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateVideoJobResponse) String() string
CreateVisionPrivateEndpointDetails The information needed to create a new visionPrivateEndpoint.
type CreateVisionPrivateEndpointDetails struct { // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of subnet SubnetId *string `mandatory:"true" json:"subnetId"` // The compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A human-friendly name for the visionPrivateEndpoint, that can be changed. DisplayName *string `mandatory:"false" json:"displayName"` // An optional description of the visionPrivateEndpoint. Description *string `mandatory:"false" json:"description"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateVisionPrivateEndpointDetails) String() string
func (m CreateVisionPrivateEndpointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateVisionPrivateEndpointRequest wrapper for the CreateVisionPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CreateVisionPrivateEndpoint.go.html to see an example of how to use CreateVisionPrivateEndpointRequest.
type CreateVisionPrivateEndpointRequest struct { // The new VisionPrivateEndpoint's details. CreateVisionPrivateEndpointDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateVisionPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateVisionPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateVisionPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateVisionPrivateEndpointRequest) String() string
func (request CreateVisionPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateVisionPrivateEndpointResponse wrapper for the CreateVisionPrivateEndpoint operation
type CreateVisionPrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The VisionPrivateEndpoint instance VisionPrivateEndpoint `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateVisionPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateVisionPrivateEndpointResponse) String() string
DataScienceLabelingDataset The dataset created by the Data Labeling Service.
type DataScienceLabelingDataset struct { // OCID of the Data Labeling dataset. DatasetId *string `mandatory:"true" json:"datasetId"` }
func (m DataScienceLabelingDataset) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataScienceLabelingDataset) String() string
func (m DataScienceLabelingDataset) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Dataset The base entity which is the input for creating and training a model.
type Dataset interface { }
DatasetDatasetTypeEnum Enum with underlying type: string
type DatasetDatasetTypeEnum string
Set of constants representing the allowable values for DatasetDatasetTypeEnum
const ( DatasetDatasetTypeDataScienceLabeling DatasetDatasetTypeEnum = "DATA_SCIENCE_LABELING" DatasetDatasetTypeObjectStorage DatasetDatasetTypeEnum = "OBJECT_STORAGE" )
func GetDatasetDatasetTypeEnumValues() []DatasetDatasetTypeEnum
GetDatasetDatasetTypeEnumValues Enumerates the set of values for DatasetDatasetTypeEnum
func GetMappingDatasetDatasetTypeEnum(val string) (DatasetDatasetTypeEnum, bool)
GetMappingDatasetDatasetTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DeleteModelRequest wrapper for the DeleteModel operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/DeleteModel.go.html to see an example of how to use DeleteModelRequest.
type DeleteModelRequest struct { // A unique model identifier. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteModelRequest) String() string
func (request DeleteModelRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteModelResponse wrapper for the DeleteModel operation
type DeleteModelResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteModelResponse) String() string
DeleteProjectRequest wrapper for the DeleteProject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/DeleteProject.go.html to see an example of how to use DeleteProjectRequest.
type DeleteProjectRequest struct { // A unique project identifier. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteProjectRequest) String() string
func (request DeleteProjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteProjectResponse wrapper for the DeleteProject operation
type DeleteProjectResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteProjectResponse) String() string
DeleteStreamGroupRequest wrapper for the DeleteStreamGroup operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/DeleteStreamGroup.go.html to see an example of how to use DeleteStreamGroupRequest.
type DeleteStreamGroupRequest struct { // StreamGroup Id. StreamGroupId *string `mandatory:"true" contributesTo:"path" name:"streamGroupId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteStreamGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteStreamGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteStreamGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteStreamGroupRequest) String() string
func (request DeleteStreamGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteStreamGroupResponse wrapper for the DeleteStreamGroup operation
type DeleteStreamGroupResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteStreamGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteStreamGroupResponse) String() string
DeleteStreamJobRequest wrapper for the DeleteStreamJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/DeleteStreamJob.go.html to see an example of how to use DeleteStreamJobRequest.
type DeleteStreamJobRequest struct { // Stream job id. StreamJobId *string `mandatory:"true" contributesTo:"path" name:"streamJobId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteStreamJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteStreamJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteStreamJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteStreamJobRequest) String() string
func (request DeleteStreamJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteStreamJobResponse wrapper for the DeleteStreamJob operation
type DeleteStreamJobResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteStreamJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteStreamJobResponse) String() string
DeleteStreamSourceRequest wrapper for the DeleteStreamSource operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/DeleteStreamSource.go.html to see an example of how to use DeleteStreamSourceRequest.
type DeleteStreamSourceRequest struct { // StreamSource Id. StreamSourceId *string `mandatory:"true" contributesTo:"path" name:"streamSourceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteStreamSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteStreamSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteStreamSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteStreamSourceRequest) String() string
func (request DeleteStreamSourceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteStreamSourceResponse wrapper for the DeleteStreamSource operation
type DeleteStreamSourceResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteStreamSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteStreamSourceResponse) String() string
DeleteVisionPrivateEndpointRequest wrapper for the DeleteVisionPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/DeleteVisionPrivateEndpoint.go.html to see an example of how to use DeleteVisionPrivateEndpointRequest.
type DeleteVisionPrivateEndpointRequest struct { // Vision private endpoint Id. VisionPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"visionPrivateEndpointId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteVisionPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteVisionPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteVisionPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteVisionPrivateEndpointRequest) String() string
func (request DeleteVisionPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteVisionPrivateEndpointResponse wrapper for the DeleteVisionPrivateEndpoint operation
type DeleteVisionPrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteVisionPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteVisionPrivateEndpointResponse) String() string
DetectedDocumentType The detected document type.
type DetectedDocumentType struct { // The document type. DocumentType *string `mandatory:"true" json:"documentType"` // The confidence score between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` }
func (m DetectedDocumentType) String() string
func (m DetectedDocumentType) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetectedLanguage The language detected in a document.
type DetectedLanguage struct { // The language of the document, abbreviated according to ISO 639-2. LanguageCode DocumentLanguageEnum `mandatory:"true" json:"languageCode"` // The confidence score between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` }
func (m DetectedLanguage) String() string
func (m DetectedLanguage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Dimensions The width and height of a page.
type Dimensions struct { // the width of a page. Width *float64 `mandatory:"true" json:"width"` // The height of a page. Height *float64 `mandatory:"true" json:"height"` // The unit of length. Unit DimensionsUnitEnum `mandatory:"true" json:"unit"` }
func (m Dimensions) String() string
func (m Dimensions) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DimensionsUnitEnum Enum with underlying type: string
type DimensionsUnitEnum string
Set of constants representing the allowable values for DimensionsUnitEnum
const ( DimensionsUnitPixel DimensionsUnitEnum = "PIXEL" DimensionsUnitInch DimensionsUnitEnum = "INCH" )
func GetDimensionsUnitEnumValues() []DimensionsUnitEnum
GetDimensionsUnitEnumValues Enumerates the set of values for DimensionsUnitEnum
func GetMappingDimensionsUnitEnum(val string) (DimensionsUnitEnum, bool)
GetMappingDimensionsUnitEnum performs case Insensitive comparison on enum value and return the desired enum
DocumentClassificationFeature Identifying the document type.
type DocumentClassificationFeature struct { // The maximum number of results to return. MaxResults *int `mandatory:"false" json:"maxResults"` // The custom model ID. ModelId *string `mandatory:"false" json:"modelId"` }
func (m DocumentClassificationFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DocumentClassificationFeature) String() string
func (m DocumentClassificationFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DocumentDetails The details of a document to analyze.
type DocumentDetails interface { }
DocumentDetailsSourceEnum Enum with underlying type: string
type DocumentDetailsSourceEnum string
Set of constants representing the allowable values for DocumentDetailsSourceEnum
const ( DocumentDetailsSourceInline DocumentDetailsSourceEnum = "INLINE" DocumentDetailsSourceObjectStorage DocumentDetailsSourceEnum = "OBJECT_STORAGE" )
func GetDocumentDetailsSourceEnumValues() []DocumentDetailsSourceEnum
GetDocumentDetailsSourceEnumValues Enumerates the set of values for DocumentDetailsSourceEnum
func GetMappingDocumentDetailsSourceEnum(val string) (DocumentDetailsSourceEnum, bool)
GetMappingDocumentDetailsSourceEnum performs case Insensitive comparison on enum value and return the desired enum
DocumentFeature The type of document analysis.
type DocumentFeature interface { }
DocumentFeatureFeatureTypeEnum Enum with underlying type: string
type DocumentFeatureFeatureTypeEnum string
Set of constants representing the allowable values for DocumentFeatureFeatureTypeEnum
const ( DocumentFeatureFeatureTypeLanguageClassification DocumentFeatureFeatureTypeEnum = "LANGUAGE_CLASSIFICATION" DocumentFeatureFeatureTypeTextDetection DocumentFeatureFeatureTypeEnum = "TEXT_DETECTION" DocumentFeatureFeatureTypeTableDetection DocumentFeatureFeatureTypeEnum = "TABLE_DETECTION" DocumentFeatureFeatureTypeKeyValueDetection DocumentFeatureFeatureTypeEnum = "KEY_VALUE_DETECTION" DocumentFeatureFeatureTypeDocumentClassification DocumentFeatureFeatureTypeEnum = "DOCUMENT_CLASSIFICATION" )
func GetDocumentFeatureFeatureTypeEnumValues() []DocumentFeatureFeatureTypeEnum
GetDocumentFeatureFeatureTypeEnumValues Enumerates the set of values for DocumentFeatureFeatureTypeEnum
func GetMappingDocumentFeatureFeatureTypeEnum(val string) (DocumentFeatureFeatureTypeEnum, bool)
GetMappingDocumentFeatureFeatureTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DocumentField Form field.
type DocumentField struct { // The field type. FieldType DocumentFieldFieldTypeEnum `mandatory:"true" json:"fieldType"` FieldValue FieldValue `mandatory:"true" json:"fieldValue"` FieldLabel *FieldLabel `mandatory:"false" json:"fieldLabel"` FieldName *FieldName `mandatory:"false" json:"fieldName"` }
func (m DocumentField) String() string
func (m *DocumentField) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DocumentField) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DocumentFieldFieldTypeEnum Enum with underlying type: string
type DocumentFieldFieldTypeEnum string
Set of constants representing the allowable values for DocumentFieldFieldTypeEnum
const ( DocumentFieldFieldTypeLineItemGroup DocumentFieldFieldTypeEnum = "LINE_ITEM_GROUP" DocumentFieldFieldTypeLineItem DocumentFieldFieldTypeEnum = "LINE_ITEM" DocumentFieldFieldTypeLineItemField DocumentFieldFieldTypeEnum = "LINE_ITEM_FIELD" DocumentFieldFieldTypeKeyValue DocumentFieldFieldTypeEnum = "KEY_VALUE" )
func GetDocumentFieldFieldTypeEnumValues() []DocumentFieldFieldTypeEnum
GetDocumentFieldFieldTypeEnumValues Enumerates the set of values for DocumentFieldFieldTypeEnum
func GetMappingDocumentFieldFieldTypeEnum(val string) (DocumentFieldFieldTypeEnum, bool)
GetMappingDocumentFieldFieldTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DocumentJob The job details for a batch document analysis.
type DocumentJob struct { // The job id. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that starts the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of requested document analysis types. Features []DocumentFeature `mandatory:"true" json:"features"` // The job acceptance time. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` OutputLocation *OutputLocation `mandatory:"true" json:"outputLocation"` // The current state of the batch document job. LifecycleState DocumentJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The document job display name. DisplayName *string `mandatory:"false" json:"displayName"` // The document language, abbreviated according to ISO 639-2. Language DocumentLanguageEnum `mandatory:"false" json:"language,omitempty"` // The type of document. DocumentType DocumentTypeEnum `mandatory:"false" json:"documentType,omitempty"` InputLocation InputLocation `mandatory:"false" json:"inputLocation"` // The job start time. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The job finish time. TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // How much progress the operation has made, compared to the total amount of work to be performed. PercentComplete *float32 `mandatory:"false" json:"percentComplete"` // Whether or not to generate a ZIP file containing the results. IsZipOutputEnabled *bool `mandatory:"false" json:"isZipOutputEnabled"` // The detailed status of FAILED state. LifecycleDetails DocumentJobLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` }
func (m DocumentJob) String() string
func (m *DocumentJob) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DocumentJob) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DocumentJobLifecycleDetailsEnum Enum with underlying type: string
type DocumentJobLifecycleDetailsEnum string
Set of constants representing the allowable values for DocumentJobLifecycleDetailsEnum
const ( DocumentJobLifecycleDetailsPartiallySucceeded DocumentJobLifecycleDetailsEnum = "PARTIALLY_SUCCEEDED" DocumentJobLifecycleDetailsCompletelyFailed DocumentJobLifecycleDetailsEnum = "COMPLETELY_FAILED" )
func GetDocumentJobLifecycleDetailsEnumValues() []DocumentJobLifecycleDetailsEnum
GetDocumentJobLifecycleDetailsEnumValues Enumerates the set of values for DocumentJobLifecycleDetailsEnum
func GetMappingDocumentJobLifecycleDetailsEnum(val string) (DocumentJobLifecycleDetailsEnum, bool)
GetMappingDocumentJobLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum
DocumentJobLifecycleStateEnum Enum with underlying type: string
type DocumentJobLifecycleStateEnum string
Set of constants representing the allowable values for DocumentJobLifecycleStateEnum
const ( DocumentJobLifecycleStateSucceeded DocumentJobLifecycleStateEnum = "SUCCEEDED" DocumentJobLifecycleStateFailed DocumentJobLifecycleStateEnum = "FAILED" DocumentJobLifecycleStateAccepted DocumentJobLifecycleStateEnum = "ACCEPTED" DocumentJobLifecycleStateCanceled DocumentJobLifecycleStateEnum = "CANCELED" DocumentJobLifecycleStateInProgress DocumentJobLifecycleStateEnum = "IN_PROGRESS" DocumentJobLifecycleStateCanceling DocumentJobLifecycleStateEnum = "CANCELING" )
func GetDocumentJobLifecycleStateEnumValues() []DocumentJobLifecycleStateEnum
GetDocumentJobLifecycleStateEnumValues Enumerates the set of values for DocumentJobLifecycleStateEnum
func GetMappingDocumentJobLifecycleStateEnum(val string) (DocumentJobLifecycleStateEnum, bool)
GetMappingDocumentJobLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DocumentKeyValueDetectionFeature Extracting form fields.
type DocumentKeyValueDetectionFeature struct { }
func (m DocumentKeyValueDetectionFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DocumentKeyValueDetectionFeature) String() string
func (m DocumentKeyValueDetectionFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DocumentLanguageClassificationFeature Detecting the language of the document.
type DocumentLanguageClassificationFeature struct { // The maximum number of results to return. MaxResults *int `mandatory:"false" json:"maxResults"` }
func (m DocumentLanguageClassificationFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DocumentLanguageClassificationFeature) String() string
func (m DocumentLanguageClassificationFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DocumentLanguageEnum Enum with underlying type: string
type DocumentLanguageEnum string
Set of constants representing the allowable values for DocumentLanguageEnum
const ( DocumentLanguageEng DocumentLanguageEnum = "ENG" DocumentLanguageCes DocumentLanguageEnum = "CES" DocumentLanguageDan DocumentLanguageEnum = "DAN" DocumentLanguageNld DocumentLanguageEnum = "NLD" DocumentLanguageFin DocumentLanguageEnum = "FIN" DocumentLanguageFra DocumentLanguageEnum = "FRA" DocumentLanguageDeu DocumentLanguageEnum = "DEU" DocumentLanguageEll DocumentLanguageEnum = "ELL" DocumentLanguageHun DocumentLanguageEnum = "HUN" DocumentLanguageIta DocumentLanguageEnum = "ITA" DocumentLanguageNor DocumentLanguageEnum = "NOR" DocumentLanguagePol DocumentLanguageEnum = "POL" DocumentLanguagePor DocumentLanguageEnum = "POR" DocumentLanguageRon DocumentLanguageEnum = "RON" DocumentLanguageRus DocumentLanguageEnum = "RUS" DocumentLanguageSlk DocumentLanguageEnum = "SLK" DocumentLanguageSpa DocumentLanguageEnum = "SPA" DocumentLanguageSwe DocumentLanguageEnum = "SWE" DocumentLanguageTur DocumentLanguageEnum = "TUR" DocumentLanguageAra DocumentLanguageEnum = "ARA" DocumentLanguageChiSim DocumentLanguageEnum = "CHI_SIM" DocumentLanguageHin DocumentLanguageEnum = "HIN" DocumentLanguageJpn DocumentLanguageEnum = "JPN" DocumentLanguageKor DocumentLanguageEnum = "KOR" DocumentLanguageOthers DocumentLanguageEnum = "OTHERS" )
func GetDocumentLanguageEnumValues() []DocumentLanguageEnum
GetDocumentLanguageEnumValues Enumerates the set of values for DocumentLanguageEnum
func GetMappingDocumentLanguageEnum(val string) (DocumentLanguageEnum, bool)
GetMappingDocumentLanguageEnum performs case Insensitive comparison on enum value and return the desired enum
DocumentMetadata The document information.
type DocumentMetadata struct { // Teh number of pages in the document. PageCount *int `mandatory:"true" json:"pageCount"` // The result data format. MimeType *string `mandatory:"true" json:"mimeType"` }
func (m DocumentMetadata) String() string
func (m DocumentMetadata) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DocumentTableDetectionFeature Detecting and extracting data in tables.
type DocumentTableDetectionFeature struct { }
func (m DocumentTableDetectionFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DocumentTableDetectionFeature) String() string
func (m DocumentTableDetectionFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DocumentTextDetectionFeature Text recognition
type DocumentTextDetectionFeature struct { // Whether or not to generate a searchable PDF file. GenerateSearchablePdf *bool `mandatory:"false" json:"generateSearchablePdf"` }
func (m DocumentTextDetectionFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DocumentTextDetectionFeature) String() string
func (m DocumentTextDetectionFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DocumentTypeEnum Enum with underlying type: string
type DocumentTypeEnum string
Set of constants representing the allowable values for DocumentTypeEnum
const ( DocumentTypeInvoice DocumentTypeEnum = "INVOICE" DocumentTypeReceipt DocumentTypeEnum = "RECEIPT" DocumentTypeResume DocumentTypeEnum = "RESUME" DocumentTypeTaxForm DocumentTypeEnum = "TAX_FORM" DocumentTypeDriverLicense DocumentTypeEnum = "DRIVER_LICENSE" DocumentTypePassport DocumentTypeEnum = "PASSPORT" DocumentTypeBankStatement DocumentTypeEnum = "BANK_STATEMENT" DocumentTypeCheck DocumentTypeEnum = "CHECK" DocumentTypePayslip DocumentTypeEnum = "PAYSLIP" DocumentTypeOthers DocumentTypeEnum = "OTHERS" )
func GetDocumentTypeEnumValues() []DocumentTypeEnum
GetDocumentTypeEnumValues Enumerates the set of values for DocumentTypeEnum
func GetMappingDocumentTypeEnum(val string) (DocumentTypeEnum, bool)
GetMappingDocumentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
Face The detected face.
type Face struct { // The confidence score, between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` // The quality score of the face detected, between 0 and 1. QualityScore *float32 `mandatory:"true" json:"qualityScore"` // A point of interest within a face. Landmarks []Landmark `mandatory:"false" json:"landmarks"` // The facial feature vectors of detected faces Embeddings []float32 `mandatory:"false" json:"embeddings"` }
func (m Face) String() string
func (m Face) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FaceDetectionFeature The face detection parameters.
type FaceDetectionFeature struct { // The maximum number of results to return. MaxResults *int `mandatory:"false" json:"maxResults"` // Whether or not return face landmarks. ShouldReturnLandmarks *bool `mandatory:"false" json:"shouldReturnLandmarks"` }
func (m FaceDetectionFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m FaceDetectionFeature) String() string
func (m FaceDetectionFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FaceEmbeddingFeature The face embedding parameters
type FaceEmbeddingFeature struct { // The maximum number of results to return. MaxResults *int `mandatory:"false" json:"maxResults"` // Whether or not return face landmarks. ShouldReturnLandmarks *bool `mandatory:"false" json:"shouldReturnLandmarks"` }
func (m FaceEmbeddingFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m FaceEmbeddingFeature) String() string
func (m FaceEmbeddingFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FieldLabel The label in a field.
type FieldLabel struct { // The name of the field label. Name *string `mandatory:"true" json:"name"` // The confidence score between 0 and 1. Confidence *float32 `mandatory:"false" json:"confidence"` }
func (m FieldLabel) String() string
func (m FieldLabel) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FieldName The name of a form field.
type FieldName struct { // The name of the field. Name *string `mandatory:"true" json:"name"` // The confidence score between 0 and 1. Confidence *float32 `mandatory:"false" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"false" json:"boundingPolygon"` // The indexes of the words in the field name. WordIndexes []int `mandatory:"false" json:"wordIndexes"` }
func (m FieldName) String() string
func (m FieldName) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FieldValue The value of a form field.
type FieldValue interface { // The confidence score between 0 and 1. GetConfidence() *float32 GetBoundingPolygon() *BoundingPolygon // The indexes of the words in the field value. GetWordIndexes() []int // The detected text of a field. GetText() *string }
FieldValueValueTypeEnum Enum with underlying type: string
type FieldValueValueTypeEnum string
Set of constants representing the allowable values for FieldValueValueTypeEnum
const ( FieldValueValueTypeString FieldValueValueTypeEnum = "STRING" FieldValueValueTypeDate FieldValueValueTypeEnum = "DATE" FieldValueValueTypeTime FieldValueValueTypeEnum = "TIME" FieldValueValueTypePhoneNumber FieldValueValueTypeEnum = "PHONE_NUMBER" FieldValueValueTypeNumber FieldValueValueTypeEnum = "NUMBER" FieldValueValueTypeInteger FieldValueValueTypeEnum = "INTEGER" FieldValueValueTypeArray FieldValueValueTypeEnum = "ARRAY" )
func GetFieldValueValueTypeEnumValues() []FieldValueValueTypeEnum
GetFieldValueValueTypeEnumValues Enumerates the set of values for FieldValueValueTypeEnum
func GetMappingFieldValueValueTypeEnum(val string) (FieldValueValueTypeEnum, bool)
GetMappingFieldValueValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
GetDocumentJobRequest wrapper for the GetDocumentJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetDocumentJob.go.html to see an example of how to use GetDocumentJobRequest.
type GetDocumentJobRequest struct { // The document job ID. DocumentJobId *string `mandatory:"true" contributesTo:"path" name:"documentJobId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetDocumentJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDocumentJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDocumentJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDocumentJobRequest) String() string
func (request GetDocumentJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDocumentJobResponse wrapper for the GetDocumentJob operation
type GetDocumentJobResponse struct { // The underlying http response RawResponse *http.Response // The DocumentJob instance DocumentJob `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDocumentJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDocumentJobResponse) String() string
GetImageJobRequest wrapper for the GetImageJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetImageJob.go.html to see an example of how to use GetImageJobRequest.
type GetImageJobRequest struct { // The image job ID. ImageJobId *string `mandatory:"true" contributesTo:"path" name:"imageJobId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetImageJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetImageJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetImageJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetImageJobRequest) String() string
func (request GetImageJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetImageJobResponse wrapper for the GetImageJob operation
type GetImageJobResponse struct { // The underlying http response RawResponse *http.Response // The ImageJob instance ImageJob `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetImageJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetImageJobResponse) String() string
GetModelRequest wrapper for the GetModel operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetModel.go.html to see an example of how to use GetModelRequest.
type GetModelRequest struct { // A unique model identifier. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetModelRequest) String() string
func (request GetModelRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetModelResponse wrapper for the GetModel operation
type GetModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetModelResponse) String() string
GetProjectRequest wrapper for the GetProject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetProject.go.html to see an example of how to use GetProjectRequest.
type GetProjectRequest struct { // A unique project identifier. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetProjectRequest) String() string
func (request GetProjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetProjectResponse wrapper for the GetProject operation
type GetProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetProjectResponse) String() string
GetStreamGroupRequest wrapper for the GetStreamGroup operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetStreamGroup.go.html to see an example of how to use GetStreamGroupRequest.
type GetStreamGroupRequest struct { // StreamGroup Id. StreamGroupId *string `mandatory:"true" contributesTo:"path" name:"streamGroupId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetStreamGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetStreamGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetStreamGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetStreamGroupRequest) String() string
func (request GetStreamGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetStreamGroupResponse wrapper for the GetStreamGroup operation
type GetStreamGroupResponse struct { // The underlying http response RawResponse *http.Response // The StreamGroup instance StreamGroup `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetStreamGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetStreamGroupResponse) String() string
GetStreamJobRequest wrapper for the GetStreamJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetStreamJob.go.html to see an example of how to use GetStreamJobRequest.
type GetStreamJobRequest struct { // Stream job id. StreamJobId *string `mandatory:"true" contributesTo:"path" name:"streamJobId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetStreamJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetStreamJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetStreamJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetStreamJobRequest) String() string
func (request GetStreamJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetStreamJobResponse wrapper for the GetStreamJob operation
type GetStreamJobResponse struct { // The underlying http response RawResponse *http.Response // The StreamJob instance StreamJob `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetStreamJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetStreamJobResponse) String() string
GetStreamSourceRequest wrapper for the GetStreamSource operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetStreamSource.go.html to see an example of how to use GetStreamSourceRequest.
type GetStreamSourceRequest struct { // StreamSource Id. StreamSourceId *string `mandatory:"true" contributesTo:"path" name:"streamSourceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetStreamSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetStreamSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetStreamSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetStreamSourceRequest) String() string
func (request GetStreamSourceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetStreamSourceResponse wrapper for the GetStreamSource operation
type GetStreamSourceResponse struct { // The underlying http response RawResponse *http.Response // The StreamSource instance StreamSource `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetStreamSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetStreamSourceResponse) String() string
GetVideoJobRequest wrapper for the GetVideoJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetVideoJob.go.html to see an example of how to use GetVideoJobRequest.
type GetVideoJobRequest struct { // Video job id. VideoJobId *string `mandatory:"true" contributesTo:"path" name:"videoJobId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetVideoJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetVideoJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetVideoJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetVideoJobRequest) String() string
func (request GetVideoJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetVideoJobResponse wrapper for the GetVideoJob operation
type GetVideoJobResponse struct { // The underlying http response RawResponse *http.Response // The VideoJob instance VideoJob `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetVideoJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetVideoJobResponse) String() string
GetVisionPrivateEndpointRequest wrapper for the GetVisionPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetVisionPrivateEndpoint.go.html to see an example of how to use GetVisionPrivateEndpointRequest.
type GetVisionPrivateEndpointRequest struct { // Vision private endpoint Id. VisionPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"visionPrivateEndpointId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetVisionPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetVisionPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetVisionPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetVisionPrivateEndpointRequest) String() string
func (request GetVisionPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetVisionPrivateEndpointResponse wrapper for the GetVisionPrivateEndpoint operation
type GetVisionPrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The VisionPrivateEndpoint instance VisionPrivateEndpoint `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetVisionPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetVisionPrivateEndpointResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
ImageClassificationFeature The image classification parameters.
type ImageClassificationFeature struct { // The maximum number of results to return. MaxResults *int `mandatory:"false" json:"maxResults"` // The custom model ID. ModelId *string `mandatory:"false" json:"modelId"` }
func (m ImageClassificationFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ImageClassificationFeature) String() string
func (m ImageClassificationFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ImageDetails The details of an image to analyze.
type ImageDetails interface { }
ImageDetailsSourceEnum Enum with underlying type: string
type ImageDetailsSourceEnum string
Set of constants representing the allowable values for ImageDetailsSourceEnum
const ( ImageDetailsSourceInline ImageDetailsSourceEnum = "INLINE" ImageDetailsSourceObjectStorage ImageDetailsSourceEnum = "OBJECT_STORAGE" )
func GetImageDetailsSourceEnumValues() []ImageDetailsSourceEnum
GetImageDetailsSourceEnumValues Enumerates the set of values for ImageDetailsSourceEnum
func GetMappingImageDetailsSourceEnum(val string) (ImageDetailsSourceEnum, bool)
GetMappingImageDetailsSourceEnum performs case Insensitive comparison on enum value and return the desired enum
ImageFeature The type of image analysis.
type ImageFeature interface { }
ImageFeatureFeatureTypeEnum Enum with underlying type: string
type ImageFeatureFeatureTypeEnum string
Set of constants representing the allowable values for ImageFeatureFeatureTypeEnum
const ( ImageFeatureFeatureTypeImageClassification ImageFeatureFeatureTypeEnum = "IMAGE_CLASSIFICATION" ImageFeatureFeatureTypeObjectDetection ImageFeatureFeatureTypeEnum = "OBJECT_DETECTION" ImageFeatureFeatureTypeTextDetection ImageFeatureFeatureTypeEnum = "TEXT_DETECTION" ImageFeatureFeatureTypeFaceDetection ImageFeatureFeatureTypeEnum = "FACE_DETECTION" ImageFeatureFeatureTypeFaceEmbedding ImageFeatureFeatureTypeEnum = "FACE_EMBEDDING" )
func GetImageFeatureFeatureTypeEnumValues() []ImageFeatureFeatureTypeEnum
GetImageFeatureFeatureTypeEnumValues Enumerates the set of values for ImageFeatureFeatureTypeEnum
func GetMappingImageFeatureFeatureTypeEnum(val string) (ImageFeatureFeatureTypeEnum, bool)
GetMappingImageFeatureFeatureTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ImageJob The job details for a batch image analysis.
type ImageJob struct { // The job id Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that starts the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of requested document analysis types. Features []ImageFeature `mandatory:"true" json:"features"` // The job acceptance time. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` OutputLocation *OutputLocation `mandatory:"true" json:"outputLocation"` // The current state of the batch image job. LifecycleState ImageJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The image job display name. DisplayName *string `mandatory:"false" json:"displayName"` InputLocation InputLocation `mandatory:"false" json:"inputLocation"` // The job start time. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The job finish time. TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // How much progress the operation has made, compared to the total amount of work to be performed. PercentComplete *float32 `mandatory:"false" json:"percentComplete"` // The detailed status of FAILED state. LifecycleDetails ImageJobLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` // Whether or not to generate a ZIP file containing the results. IsZipOutputEnabled *bool `mandatory:"false" json:"isZipOutputEnabled"` }
func (m ImageJob) String() string
func (m *ImageJob) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ImageJob) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ImageJobLifecycleDetailsEnum Enum with underlying type: string
type ImageJobLifecycleDetailsEnum string
Set of constants representing the allowable values for ImageJobLifecycleDetailsEnum
const ( ImageJobLifecycleDetailsPartiallySucceeded ImageJobLifecycleDetailsEnum = "PARTIALLY_SUCCEEDED" ImageJobLifecycleDetailsCompletelyFailed ImageJobLifecycleDetailsEnum = "COMPLETELY_FAILED" )
func GetImageJobLifecycleDetailsEnumValues() []ImageJobLifecycleDetailsEnum
GetImageJobLifecycleDetailsEnumValues Enumerates the set of values for ImageJobLifecycleDetailsEnum
func GetMappingImageJobLifecycleDetailsEnum(val string) (ImageJobLifecycleDetailsEnum, bool)
GetMappingImageJobLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum
ImageJobLifecycleStateEnum Enum with underlying type: string
type ImageJobLifecycleStateEnum string
Set of constants representing the allowable values for ImageJobLifecycleStateEnum
const ( ImageJobLifecycleStateSucceeded ImageJobLifecycleStateEnum = "SUCCEEDED" ImageJobLifecycleStateFailed ImageJobLifecycleStateEnum = "FAILED" ImageJobLifecycleStateAccepted ImageJobLifecycleStateEnum = "ACCEPTED" ImageJobLifecycleStateCanceled ImageJobLifecycleStateEnum = "CANCELED" ImageJobLifecycleStateInProgress ImageJobLifecycleStateEnum = "IN_PROGRESS" ImageJobLifecycleStateCanceling ImageJobLifecycleStateEnum = "CANCELING" )
func GetImageJobLifecycleStateEnumValues() []ImageJobLifecycleStateEnum
GetImageJobLifecycleStateEnumValues Enumerates the set of values for ImageJobLifecycleStateEnum
func GetMappingImageJobLifecycleStateEnum(val string) (ImageJobLifecycleStateEnum, bool)
GetMappingImageJobLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ImageObject The object detected in an image.
type ImageObject struct { // The object category name. Every value returned by the pre-deployed model is in English. Name *string `mandatory:"true" json:"name"` // The confidence score, between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` }
func (m ImageObject) String() string
func (m ImageObject) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ImageObjectDetectionFeature The object detection parameters.
type ImageObjectDetectionFeature struct { // The maximum number of results to return. MaxResults *int `mandatory:"false" json:"maxResults"` // The custom model ID. ModelId *string `mandatory:"false" json:"modelId"` }
func (m ImageObjectDetectionFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ImageObjectDetectionFeature) String() string
func (m ImageObjectDetectionFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ImageText The detected text.
type ImageText struct { // The words recognized in an image. Words []Word `mandatory:"true" json:"words"` // The lines of text recognized in an image. Lines []Line `mandatory:"true" json:"lines"` }
func (m ImageText) String() string
func (m ImageText) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ImageTextDetectionFeature The text detection parameters.
type ImageTextDetectionFeature struct { // The language of the document image, abbreviated according to ISO 639-2. Language DocumentLanguageEnum `mandatory:"false" json:"language,omitempty"` }
func (m ImageTextDetectionFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ImageTextDetectionFeature) String() string
func (m ImageTextDetectionFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InlineDocumentDetails The document incorporated in the request payload.
type InlineDocumentDetails struct { // Raw document data. Data []byte `mandatory:"true" json:"data"` }
func (m InlineDocumentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InlineDocumentDetails) String() string
func (m InlineDocumentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InlineImageDetails The image incorporated in the request payload.
type InlineImageDetails struct { // Raw image data. Data []byte `mandatory:"true" json:"data"` }
func (m InlineImageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InlineImageDetails) String() string
func (m InlineImageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InputLocation The location of the inputs.
type InputLocation interface { }
InputLocationSourceTypeEnum Enum with underlying type: string
type InputLocationSourceTypeEnum string
Set of constants representing the allowable values for InputLocationSourceTypeEnum
const ( InputLocationSourceTypeObjectListInlineInputLocation InputLocationSourceTypeEnum = "OBJECT_LIST_INLINE_INPUT_LOCATION" )
func GetInputLocationSourceTypeEnumValues() []InputLocationSourceTypeEnum
GetInputLocationSourceTypeEnumValues Enumerates the set of values for InputLocationSourceTypeEnum
func GetMappingInputLocationSourceTypeEnum(val string) (InputLocationSourceTypeEnum, bool)
GetMappingInputLocationSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
Label A label describing an image. Every label returned by the pre-deployed model is in English.
type Label struct { // The classification catagory label name. Name *string `mandatory:"true" json:"name"` // The confidence score between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` }
func (m Label) String() string
func (m Label) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Landmark The landmark on the face.
type Landmark struct { // The face landmark type Type LandmarkTypeEnum `mandatory:"true" json:"type"` // The X-axis normalized coordinate. X *float32 `mandatory:"true" json:"x"` // The Y-axis normalized coordinate. Y *float32 `mandatory:"true" json:"y"` }
func (m Landmark) String() string
func (m Landmark) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LandmarkTypeEnum Enum with underlying type: string
type LandmarkTypeEnum string
Set of constants representing the allowable values for LandmarkTypeEnum
const ( LandmarkTypeLeftEye LandmarkTypeEnum = "LEFT_EYE" LandmarkTypeRightEye LandmarkTypeEnum = "RIGHT_EYE" LandmarkTypeNoseTip LandmarkTypeEnum = "NOSE_TIP" LandmarkTypeLeftEdgeOfMouth LandmarkTypeEnum = "LEFT_EDGE_OF_MOUTH" LandmarkTypeRightEdgeOfMouth LandmarkTypeEnum = "RIGHT_EDGE_OF_MOUTH" )
func GetLandmarkTypeEnumValues() []LandmarkTypeEnum
GetLandmarkTypeEnumValues Enumerates the set of values for LandmarkTypeEnum
func GetMappingLandmarkTypeEnum(val string) (LandmarkTypeEnum, bool)
GetMappingLandmarkTypeEnum performs case Insensitive comparison on enum value and return the desired enum
Line The line of text.
type Line struct { // The text recognized. Text *string `mandatory:"true" json:"text"` // The confidence score between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` // The array of words. WordIndexes []int `mandatory:"true" json:"wordIndexes"` }
func (m Line) String() string
func (m Line) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListModelsRequest wrapper for the ListModels operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListModels.go.html to see an example of how to use ListModelsRequest.
type ListModelsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The ID of the project for which to list the objects. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // The filter to match models with the given lifecycleState. LifecycleState ModelLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The filter to find the model with the given identifier. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListModelsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. The default order for timeCreated is descending. The default order for displayName is ascending. SortBy ListModelsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListModelsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListModelsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListModelsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListModelsRequest) String() string
func (request ListModelsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListModelsResponse wrapper for the ListModels operation
type ListModelsResponse struct { // The underlying http response RawResponse *http.Response // A list of ModelCollection instances ModelCollection `presentIn:"body"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListModelsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListModelsResponse) String() string
ListModelsSortByEnum Enum with underlying type: string
type ListModelsSortByEnum string
Set of constants representing the allowable values for ListModelsSortByEnum
const ( ListModelsSortByTimecreated ListModelsSortByEnum = "timeCreated" ListModelsSortByDisplayname ListModelsSortByEnum = "displayName" )
func GetListModelsSortByEnumValues() []ListModelsSortByEnum
GetListModelsSortByEnumValues Enumerates the set of values for ListModelsSortByEnum
func GetMappingListModelsSortByEnum(val string) (ListModelsSortByEnum, bool)
GetMappingListModelsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListModelsSortOrderEnum Enum with underlying type: string
type ListModelsSortOrderEnum string
Set of constants representing the allowable values for ListModelsSortOrderEnum
const ( ListModelsSortOrderAsc ListModelsSortOrderEnum = "ASC" ListModelsSortOrderDesc ListModelsSortOrderEnum = "DESC" )
func GetListModelsSortOrderEnumValues() []ListModelsSortOrderEnum
GetListModelsSortOrderEnumValues Enumerates the set of values for ListModelsSortOrderEnum
func GetMappingListModelsSortOrderEnum(val string) (ListModelsSortOrderEnum, bool)
GetMappingListModelsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListProjectsRequest wrapper for the ListProjects operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListProjects.go.html to see an example of how to use ListProjectsRequest.
type ListProjectsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The filter to match projects with the given lifecycleState. LifecycleState ProjectLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The filter to find the project with the given identifier. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListProjectsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. The default order for timeCreated is descending. The default order for displayName is ascending. SortBy ListProjectsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListProjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListProjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProjectsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProjectsRequest) String() string
func (request ListProjectsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListProjectsResponse wrapper for the ListProjects operation
type ListProjectsResponse struct { // The underlying http response RawResponse *http.Response // A list of ProjectCollection instances ProjectCollection `presentIn:"body"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListProjectsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProjectsResponse) String() string
ListProjectsSortByEnum Enum with underlying type: string
type ListProjectsSortByEnum string
Set of constants representing the allowable values for ListProjectsSortByEnum
const ( ListProjectsSortByTimecreated ListProjectsSortByEnum = "timeCreated" ListProjectsSortByDisplayname ListProjectsSortByEnum = "displayName" )
func GetListProjectsSortByEnumValues() []ListProjectsSortByEnum
GetListProjectsSortByEnumValues Enumerates the set of values for ListProjectsSortByEnum
func GetMappingListProjectsSortByEnum(val string) (ListProjectsSortByEnum, bool)
GetMappingListProjectsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListProjectsSortOrderEnum Enum with underlying type: string
type ListProjectsSortOrderEnum string
Set of constants representing the allowable values for ListProjectsSortOrderEnum
const ( ListProjectsSortOrderAsc ListProjectsSortOrderEnum = "ASC" ListProjectsSortOrderDesc ListProjectsSortOrderEnum = "DESC" )
func GetListProjectsSortOrderEnumValues() []ListProjectsSortOrderEnum
GetListProjectsSortOrderEnumValues Enumerates the set of values for ListProjectsSortOrderEnum
func GetMappingListProjectsSortOrderEnum(val string) (ListProjectsSortOrderEnum, bool)
GetMappingListProjectsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListStreamGroupsRequest wrapper for the ListStreamGroups operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListStreamGroups.go.html to see an example of how to use ListStreamGroupsRequest.
type ListStreamGroupsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The filter to find the device with the given identifier. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListStreamGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. The default order for timeCreated is descending. The default order for displayName is ascending. SortBy ListStreamGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListStreamGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListStreamGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListStreamGroupsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListStreamGroupsRequest) String() string
func (request ListStreamGroupsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListStreamGroupsResponse wrapper for the ListStreamGroups operation
type ListStreamGroupsResponse struct { // The underlying http response RawResponse *http.Response // A list of StreamGroupCollection instances StreamGroupCollection `presentIn:"body"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListStreamGroupsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListStreamGroupsResponse) String() string
ListStreamGroupsSortByEnum Enum with underlying type: string
type ListStreamGroupsSortByEnum string
Set of constants representing the allowable values for ListStreamGroupsSortByEnum
const ( ListStreamGroupsSortByTimecreated ListStreamGroupsSortByEnum = "timeCreated" ListStreamGroupsSortByDisplayname ListStreamGroupsSortByEnum = "displayName" )
func GetListStreamGroupsSortByEnumValues() []ListStreamGroupsSortByEnum
GetListStreamGroupsSortByEnumValues Enumerates the set of values for ListStreamGroupsSortByEnum
func GetMappingListStreamGroupsSortByEnum(val string) (ListStreamGroupsSortByEnum, bool)
GetMappingListStreamGroupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListStreamGroupsSortOrderEnum Enum with underlying type: string
type ListStreamGroupsSortOrderEnum string
Set of constants representing the allowable values for ListStreamGroupsSortOrderEnum
const ( ListStreamGroupsSortOrderAsc ListStreamGroupsSortOrderEnum = "ASC" ListStreamGroupsSortOrderDesc ListStreamGroupsSortOrderEnum = "DESC" )
func GetListStreamGroupsSortOrderEnumValues() []ListStreamGroupsSortOrderEnum
GetListStreamGroupsSortOrderEnumValues Enumerates the set of values for ListStreamGroupsSortOrderEnum
func GetMappingListStreamGroupsSortOrderEnum(val string) (ListStreamGroupsSortOrderEnum, bool)
GetMappingListStreamGroupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListStreamJobsRequest wrapper for the ListStreamJobs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListStreamJobs.go.html to see an example of how to use ListStreamJobsRequest.
type ListStreamJobsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The filter to match projects with the given lifecycleState. LifecycleState StreamJobLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The filter to find the streamjob with the given identifier. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListStreamJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. The default order for timeCreated is descending. The default order for displayName is ascending. SortBy ListStreamJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListStreamJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListStreamJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListStreamJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListStreamJobsRequest) String() string
func (request ListStreamJobsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListStreamJobsResponse wrapper for the ListStreamJobs operation
type ListStreamJobsResponse struct { // The underlying http response RawResponse *http.Response // A list of StreamJobCollection instances StreamJobCollection `presentIn:"body"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListStreamJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListStreamJobsResponse) String() string
ListStreamJobsSortByEnum Enum with underlying type: string
type ListStreamJobsSortByEnum string
Set of constants representing the allowable values for ListStreamJobsSortByEnum
const ( ListStreamJobsSortByTimecreated ListStreamJobsSortByEnum = "timeCreated" ListStreamJobsSortByDisplayname ListStreamJobsSortByEnum = "displayName" )
func GetListStreamJobsSortByEnumValues() []ListStreamJobsSortByEnum
GetListStreamJobsSortByEnumValues Enumerates the set of values for ListStreamJobsSortByEnum
func GetMappingListStreamJobsSortByEnum(val string) (ListStreamJobsSortByEnum, bool)
GetMappingListStreamJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListStreamJobsSortOrderEnum Enum with underlying type: string
type ListStreamJobsSortOrderEnum string
Set of constants representing the allowable values for ListStreamJobsSortOrderEnum
const ( ListStreamJobsSortOrderAsc ListStreamJobsSortOrderEnum = "ASC" ListStreamJobsSortOrderDesc ListStreamJobsSortOrderEnum = "DESC" )
func GetListStreamJobsSortOrderEnumValues() []ListStreamJobsSortOrderEnum
GetListStreamJobsSortOrderEnumValues Enumerates the set of values for ListStreamJobsSortOrderEnum
func GetMappingListStreamJobsSortOrderEnum(val string) (ListStreamJobsSortOrderEnum, bool)
GetMappingListStreamJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListStreamSourcesRequest wrapper for the ListStreamSources operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListStreamSources.go.html to see an example of how to use ListStreamSourcesRequest.
type ListStreamSourcesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The filter to match projects with the given lifecycleState. LifecycleState StreamSourceLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The filter to find the device with the given identifier. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListStreamSourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. The default order for timeCreated is descending. The default order for displayName is ascending. SortBy ListStreamSourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListStreamSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListStreamSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListStreamSourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListStreamSourcesRequest) String() string
func (request ListStreamSourcesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListStreamSourcesResponse wrapper for the ListStreamSources operation
type ListStreamSourcesResponse struct { // The underlying http response RawResponse *http.Response // A list of StreamSourceCollection instances StreamSourceCollection `presentIn:"body"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListStreamSourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListStreamSourcesResponse) String() string
ListStreamSourcesSortByEnum Enum with underlying type: string
type ListStreamSourcesSortByEnum string
Set of constants representing the allowable values for ListStreamSourcesSortByEnum
const ( ListStreamSourcesSortByTimecreated ListStreamSourcesSortByEnum = "timeCreated" ListStreamSourcesSortByDisplayname ListStreamSourcesSortByEnum = "displayName" )
func GetListStreamSourcesSortByEnumValues() []ListStreamSourcesSortByEnum
GetListStreamSourcesSortByEnumValues Enumerates the set of values for ListStreamSourcesSortByEnum
func GetMappingListStreamSourcesSortByEnum(val string) (ListStreamSourcesSortByEnum, bool)
GetMappingListStreamSourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListStreamSourcesSortOrderEnum Enum with underlying type: string
type ListStreamSourcesSortOrderEnum string
Set of constants representing the allowable values for ListStreamSourcesSortOrderEnum
const ( ListStreamSourcesSortOrderAsc ListStreamSourcesSortOrderEnum = "ASC" ListStreamSourcesSortOrderDesc ListStreamSourcesSortOrderEnum = "DESC" )
func GetListStreamSourcesSortOrderEnumValues() []ListStreamSourcesSortOrderEnum
GetListStreamSourcesSortOrderEnumValues Enumerates the set of values for ListStreamSourcesSortOrderEnum
func GetMappingListStreamSourcesSortOrderEnum(val string) (ListStreamSourcesSortOrderEnum, bool)
GetMappingListStreamSourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListVisionPrivateEndpointsRequest wrapper for the ListVisionPrivateEndpoints operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListVisionPrivateEndpoints.go.html to see an example of how to use ListVisionPrivateEndpointsRequest.
type ListVisionPrivateEndpointsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The filter to match projects with the given lifecycleState. LifecycleState VisionPrivateEndpointLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The filter to find the device with the given identifier. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListVisionPrivateEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. The default order for timeCreated is descending. The default order for displayName is ascending. SortBy ListVisionPrivateEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListVisionPrivateEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListVisionPrivateEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListVisionPrivateEndpointsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListVisionPrivateEndpointsRequest) String() string
func (request ListVisionPrivateEndpointsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListVisionPrivateEndpointsResponse wrapper for the ListVisionPrivateEndpoints operation
type ListVisionPrivateEndpointsResponse struct { // The underlying http response RawResponse *http.Response // A list of VisionPrivateEndpointCollection instances VisionPrivateEndpointCollection `presentIn:"body"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListVisionPrivateEndpointsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListVisionPrivateEndpointsResponse) String() string
ListVisionPrivateEndpointsSortByEnum Enum with underlying type: string
type ListVisionPrivateEndpointsSortByEnum string
Set of constants representing the allowable values for ListVisionPrivateEndpointsSortByEnum
const ( ListVisionPrivateEndpointsSortByTimecreated ListVisionPrivateEndpointsSortByEnum = "timeCreated" ListVisionPrivateEndpointsSortByDisplayname ListVisionPrivateEndpointsSortByEnum = "displayName" )
func GetListVisionPrivateEndpointsSortByEnumValues() []ListVisionPrivateEndpointsSortByEnum
GetListVisionPrivateEndpointsSortByEnumValues Enumerates the set of values for ListVisionPrivateEndpointsSortByEnum
func GetMappingListVisionPrivateEndpointsSortByEnum(val string) (ListVisionPrivateEndpointsSortByEnum, bool)
GetMappingListVisionPrivateEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListVisionPrivateEndpointsSortOrderEnum Enum with underlying type: string
type ListVisionPrivateEndpointsSortOrderEnum string
Set of constants representing the allowable values for ListVisionPrivateEndpointsSortOrderEnum
const ( ListVisionPrivateEndpointsSortOrderAsc ListVisionPrivateEndpointsSortOrderEnum = "ASC" ListVisionPrivateEndpointsSortOrderDesc ListVisionPrivateEndpointsSortOrderEnum = "DESC" )
func GetListVisionPrivateEndpointsSortOrderEnumValues() []ListVisionPrivateEndpointsSortOrderEnum
GetListVisionPrivateEndpointsSortOrderEnumValues Enumerates the set of values for ListVisionPrivateEndpointsSortOrderEnum
func GetMappingListVisionPrivateEndpointsSortOrderEnum(val string) (ListVisionPrivateEndpointsSortOrderEnum, bool)
GetMappingListVisionPrivateEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order may be provided. The default order for timeAccepted is descending. SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order may be provided. The default order for timeAccepted is descending. SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The ID of the asynchronous work request. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // A filter to return only resources whose lifecycleState matches the given OperationStatus. Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The ID of the resource affected by the work request. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. The default order for timeAccepted is descending. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `presentIn:"body"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsStatusEnum Enum with underlying type: string
type ListWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
Model Machine-learned Model.
type Model struct { // A unique identifier that is immutable after creation. Id *string `mandatory:"true" json:"id"` // The compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // What type of Vision model this is. ModelType ModelModelTypeEnum `mandatory:"true" json:"modelType"` TrainingDataset Dataset `mandatory:"true" json:"trainingDataset"` // The version of the model. ModelVersion *string `mandatory:"true" json:"modelVersion"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project that contains the model. ProjectId *string `mandatory:"true" json:"projectId"` // When the model was created, as an RFC3339 datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the model. LifecycleState ModelLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A human-friendly name for the model, which can be changed. DisplayName *string `mandatory:"false" json:"displayName"` // An optional description of the model. Description *string `mandatory:"false" json:"description"` // Set to true when experimenting with a new model type or dataset, so model training is quick, with a predefined low number of passes through the training data. IsQuickMode *bool `mandatory:"false" json:"isQuickMode"` // The maximum model training duration in hours, expressed as a decimal fraction. MaxTrainingDurationInHours *float64 `mandatory:"false" json:"maxTrainingDurationInHours"` // The total hours actually used for model training. TrainedDurationInHours *float64 `mandatory:"false" json:"trainedDurationInHours"` TestingDataset Dataset `mandatory:"false" json:"testingDataset"` ValidationDataset Dataset `mandatory:"false" json:"validationDataset"` // When the model was updated, as an RFC3339 datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail, that can provide actionable information if training failed. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The precision of the trained model. Precision *float32 `mandatory:"false" json:"precision"` // Recall of the trained model. Recall *float32 `mandatory:"false" json:"recall"` // The mean average precision of the trained model. AveragePrecision *float32 `mandatory:"false" json:"averagePrecision"` // The intersection over the union threshold used for calculating precision and recall. ConfidenceThreshold *float32 `mandatory:"false" json:"confidenceThreshold"` // The number of images in the dataset used to train, validate, and test the model. TotalImageCount *int `mandatory:"false" json:"totalImageCount"` // The number of images set aside for evaluating model performance metrics after training. TestImageCount *int `mandatory:"false" json:"testImageCount"` // The complete set of per-label metrics for successfully trained models. Metrics *string `mandatory:"false" json:"metrics"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Model) String() string
func (m *Model) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m Model) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModelCollection The results of a model search.
type ModelCollection struct { // A list of models. Items []ModelSummary `mandatory:"true" json:"items"` }
func (m ModelCollection) String() string
func (m ModelCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModelLifecycleStateEnum Enum with underlying type: string
type ModelLifecycleStateEnum string
Set of constants representing the allowable values for ModelLifecycleStateEnum
const ( ModelLifecycleStateCreating ModelLifecycleStateEnum = "CREATING" ModelLifecycleStateUpdating ModelLifecycleStateEnum = "UPDATING" ModelLifecycleStateActive ModelLifecycleStateEnum = "ACTIVE" ModelLifecycleStateDeleting ModelLifecycleStateEnum = "DELETING" ModelLifecycleStateDeleted ModelLifecycleStateEnum = "DELETED" ModelLifecycleStateFailed ModelLifecycleStateEnum = "FAILED" )
func GetMappingModelLifecycleStateEnum(val string) (ModelLifecycleStateEnum, bool)
GetMappingModelLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelLifecycleStateEnumValues() []ModelLifecycleStateEnum
GetModelLifecycleStateEnumValues Enumerates the set of values for ModelLifecycleStateEnum
ModelModelTypeEnum Enum with underlying type: string
type ModelModelTypeEnum string
Set of constants representing the allowable values for ModelModelTypeEnum
const ( ModelModelTypeImageClassification ModelModelTypeEnum = "IMAGE_CLASSIFICATION" ModelModelTypeObjectDetection ModelModelTypeEnum = "OBJECT_DETECTION" )
func GetMappingModelModelTypeEnum(val string) (ModelModelTypeEnum, bool)
GetMappingModelModelTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelModelTypeEnumValues() []ModelModelTypeEnum
GetModelModelTypeEnumValues Enumerates the set of values for ModelModelTypeEnum
ModelSummary The metadata about the model.
type ModelSummary struct { // A unique identifier that is immutable after creation. Id *string `mandatory:"true" json:"id"` // The compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // What type of Vision model this is. ModelType ModelModelTypeEnum `mandatory:"true" json:"modelType"` // The version of the model. ModelVersion *string `mandatory:"true" json:"modelVersion"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project that contains the model. ProjectId *string `mandatory:"true" json:"projectId"` // When the model was created, as an RFC3339 datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the model. LifecycleState ModelLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A human-friendly name for the model, which can be changed. DisplayName *string `mandatory:"false" json:"displayName"` // An optional description of the model. Description *string `mandatory:"false" json:"description"` // When the model was modified, as an RFC3339 datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail, that can provide actionable information if training failed. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The precision of the trained model. Precision *float32 `mandatory:"false" json:"precision"` TrainingDataset Dataset `mandatory:"false" json:"trainingDataset"` TestingDataset Dataset `mandatory:"false" json:"testingDataset"` ValidationDataset Dataset `mandatory:"false" json:"validationDataset"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ModelSummary) String() string
func (m *ModelSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ModelSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModelVersionDetails Model version for object detection/tracking.
type ModelVersionDetails struct { // List of the object category labels. Objects []string `mandatory:"true" json:"objects"` // Model version or ocid ModelVersion *string `mandatory:"true" json:"modelVersion"` }
func (m ModelVersionDetails) String() string
func (m ModelVersionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
NormalizedVertex An (x, y) coordinate in the image with dimensions normalized from zero to one. The origin is at top left, with the positive x-axis pointing right and the positive y-axis pointing down. The bottom right corner is at (1, 1).
type NormalizedVertex struct { // The X-axis normalized coordinate. X *float64 `mandatory:"true" json:"x"` // The Y-axis normalized coordinate. Y *float64 `mandatory:"true" json:"y"` }
func (m NormalizedVertex) String() string
func (m NormalizedVertex) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectListInlineInputLocation A list of object locations in Object Storage.
type ObjectListInlineInputLocation struct { // The list of ObjectLocations. ObjectLocations []ObjectLocation `mandatory:"true" json:"objectLocations"` }
func (m ObjectListInlineInputLocation) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ObjectListInlineInputLocation) String() string
func (m ObjectListInlineInputLocation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectLocation A location in Object Storage that is uniquely identified by namespace name, bucket name and object name.
type ObjectLocation struct { // The Object Storage namespace name. NamespaceName *string `mandatory:"true" json:"namespaceName"` // The Object Storage bucket name. BucketName *string `mandatory:"true" json:"bucketName"` // The Object Storage object name. ObjectName *string `mandatory:"true" json:"objectName"` }
func (m ObjectLocation) String() string
func (m ObjectLocation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectProperties Properties associated with the object.
type ObjectProperties struct { // The quality score of the face detected, between 0 and 1. QualityScore *float32 `mandatory:"false" json:"qualityScore"` // Face landmarks. Landmarks []Landmark `mandatory:"false" json:"landmarks"` // The facial feature vectors of detected faces. Embeddings []float32 `mandatory:"false" json:"embeddings"` }
func (m ObjectProperties) String() string
func (m ObjectProperties) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectProperty A property of a tracked object in a frame.
type ObjectProperty struct { // Property name Name *string `mandatory:"true" json:"name"` // The confidence score, between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` }
func (m ObjectProperty) String() string
func (m ObjectProperty) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectStorageDataset The dataset that resides in Object Storage.
type ObjectStorageDataset struct { // The namespace name of the Object Storage bucket that contains the input data file. NamespaceName *string `mandatory:"true" json:"namespaceName"` // The name of the Object Storage bucket that contains the input data file. BucketName *string `mandatory:"true" json:"bucketName"` // The object name of the input data file. ObjectName *string `mandatory:"true" json:"objectName"` }
func (m ObjectStorageDataset) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ObjectStorageDataset) String() string
func (m ObjectStorageDataset) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectStorageDocumentDetails A document in OCI Object Storage.
type ObjectStorageDocumentDetails struct { // The Object Storage namespace. NamespaceName *string `mandatory:"true" json:"namespaceName"` // The Object Storage bucket name. BucketName *string `mandatory:"true" json:"bucketName"` // The Object Storage object name. ObjectName *string `mandatory:"true" json:"objectName"` }
func (m ObjectStorageDocumentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ObjectStorageDocumentDetails) String() string
func (m ObjectStorageDocumentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectStorageImageDetails The image residing in OCI Object Storage.
type ObjectStorageImageDetails struct { // The Object Storage namespace. NamespaceName *string `mandatory:"true" json:"namespaceName"` // The Object Storage bucket name. BucketName *string `mandatory:"true" json:"bucketName"` // The Object Storage object name. ObjectName *string `mandatory:"true" json:"objectName"` }
func (m ObjectStorageImageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ObjectStorageImageDetails) String() string
func (m ObjectStorageImageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectStorageOutputLocation The Object Storage Location.
type ObjectStorageOutputLocation struct { // The Object Storage namespace. NamespaceName *string `mandatory:"true" json:"namespaceName"` // The Object Storage bucket name. BucketName *string `mandatory:"true" json:"bucketName"` // The Object Storage folder name. Prefix *string `mandatory:"true" json:"prefix"` }
func (m ObjectStorageOutputLocation) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ObjectStorageOutputLocation) String() string
func (m ObjectStorageOutputLocation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OntologyClass Images and ImageObjects can be labeled with an OntologyClass.
type OntologyClass struct { // The label name. Name *string `mandatory:"true" json:"name"` // The label parents. ParentNames []string `mandatory:"false" json:"parentNames"` // The label synonyms. SynonymNames []string `mandatory:"false" json:"synonymNames"` }
func (m OntologyClass) String() string
func (m OntologyClass) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const ( OperationTypeCreateProject OperationTypeEnum = "CREATE_PROJECT" OperationTypeUpdateProject OperationTypeEnum = "UPDATE_PROJECT" OperationTypeDeleteProject OperationTypeEnum = "DELETE_PROJECT" OperationTypeMoveProject OperationTypeEnum = "MOVE_PROJECT" OperationTypeCreateModel OperationTypeEnum = "CREATE_MODEL" OperationTypeUpdateModel OperationTypeEnum = "UPDATE_MODEL" OperationTypeDeleteModel OperationTypeEnum = "DELETE_MODEL" OperationTypeMoveModel OperationTypeEnum = "MOVE_MODEL" OperationTypeAddStreamSource OperationTypeEnum = "ADD_STREAM_SOURCE" OperationTypeUpdateStreamSource OperationTypeEnum = "UPDATE_STREAM_SOURCE" OperationTypeDeleteStreamSource OperationTypeEnum = "DELETE_STREAM_SOURCE" OperationTypeMoveStreamSource OperationTypeEnum = "MOVE_STREAM_SOURCE" OperationTypeCreateStreamJob OperationTypeEnum = "CREATE_STREAM_JOB" OperationTypeDeleteStreamJob OperationTypeEnum = "DELETE_STREAM_JOB" OperationTypeUpdateStreamJob OperationTypeEnum = "UPDATE_STREAM_JOB" OperationTypeStartStreamJob OperationTypeEnum = "START_STREAM_JOB" OperationTypeStopStreamJob OperationTypeEnum = "STOP_STREAM_JOB" OperationTypeMoveStreamJob OperationTypeEnum = "MOVE_STREAM_JOB" OperationTypeAddStreamGroup OperationTypeEnum = "ADD_STREAM_GROUP" OperationTypeUpdateStreamGroup OperationTypeEnum = "UPDATE_STREAM_GROUP" OperationTypeDeleteStreamGroup OperationTypeEnum = "DELETE_STREAM_GROUP" OperationTypeCreateVisionPrivateEndpoint OperationTypeEnum = "CREATE_VISION_PRIVATE_ENDPOINT" OperationTypeUpdateVisionPrivateEndpoint OperationTypeEnum = "UPDATE_VISION_PRIVATE_ENDPOINT" OperationTypeDeleteVisionPrivateEndpoint OperationTypeEnum = "DELETE_VISION_PRIVATE_ENDPOINT" OperationTypeMoveVisionPrivateEndpoint OperationTypeEnum = "MOVE_VISION_PRIVATE_ENDPOINT" )
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
OutputLocation The Object Storage Location.
type OutputLocation struct { // The Object Storage namespace. NamespaceName *string `mandatory:"true" json:"namespaceName"` // The Object Storage bucket name. BucketName *string `mandatory:"true" json:"bucketName"` // The Object Storage folder name. Prefix *string `mandatory:"true" json:"prefix"` }
func (m OutputLocation) String() string
func (m OutputLocation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Page One page document analysis result.
type Page struct { // The document page number. PageNumber *int `mandatory:"true" json:"pageNumber"` Dimensions *Dimensions `mandatory:"false" json:"dimensions"` // An array of detected document types. DetectedDocumentTypes []DetectedDocumentType `mandatory:"false" json:"detectedDocumentTypes"` // An array of detected languages. DetectedLanguages []DetectedLanguage `mandatory:"false" json:"detectedLanguages"` // The words detected on the page. Words []Word `mandatory:"false" json:"words"` // The lines of text detected on the page. Lines []Line `mandatory:"false" json:"lines"` // The tables detected on the page. Tables []Table `mandatory:"false" json:"tables"` // The form fields detected on the page. DocumentFields []DocumentField `mandatory:"false" json:"documentFields"` }
func (m Page) String() string
func (m Page) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PrivateStreamNetworkAccessDetails Details of private endpoint to connect to stream
type PrivateStreamNetworkAccessDetails struct { // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private Endpoint PrivateEndpointId *string `mandatory:"true" json:"privateEndpointId"` }
func (m PrivateStreamNetworkAccessDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PrivateStreamNetworkAccessDetails) String() string
func (m PrivateStreamNetworkAccessDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ProcessingError The error in document processing.
type ProcessingError struct { // The error code. Code *string `mandatory:"true" json:"code"` // The error message. Message *string `mandatory:"true" json:"message"` }
func (m ProcessingError) String() string
func (m ProcessingError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Project A Vision Project containing models.
type Project struct { // A unique identifier that is immutable after creation. Id *string `mandatory:"true" json:"id"` // A compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // When the project was created, as an RFC3339 datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the project. LifecycleState ProjectLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A human-friendly name for the project, which can be changed. DisplayName *string `mandatory:"false" json:"displayName"` // An optional description of the project. Description *string `mandatory:"false" json:"description"` // When the project was updated, as an RFC3339 datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail, that can provide actionable information if creation failed. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Project) String() string
func (m Project) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ProjectCollection The results of a project search.
type ProjectCollection struct { // List of projects. Items []ProjectSummary `mandatory:"true" json:"items"` }
func (m ProjectCollection) String() string
func (m ProjectCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ProjectLifecycleStateEnum Enum with underlying type: string
type ProjectLifecycleStateEnum string
Set of constants representing the allowable values for ProjectLifecycleStateEnum
const ( ProjectLifecycleStateCreating ProjectLifecycleStateEnum = "CREATING" ProjectLifecycleStateUpdating ProjectLifecycleStateEnum = "UPDATING" ProjectLifecycleStateActive ProjectLifecycleStateEnum = "ACTIVE" ProjectLifecycleStateDeleting ProjectLifecycleStateEnum = "DELETING" ProjectLifecycleStateDeleted ProjectLifecycleStateEnum = "DELETED" ProjectLifecycleStateFailed ProjectLifecycleStateEnum = "FAILED" )
func GetMappingProjectLifecycleStateEnum(val string) (ProjectLifecycleStateEnum, bool)
GetMappingProjectLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProjectLifecycleStateEnumValues() []ProjectLifecycleStateEnum
GetProjectLifecycleStateEnumValues Enumerates the set of values for ProjectLifecycleStateEnum
ProjectSummary the metadata about the project.
type ProjectSummary struct { // A unique identifier that is immutable after creation. Id *string `mandatory:"true" json:"id"` // The compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // When the project was created, as an RFC3339 datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the project. LifecycleState ProjectLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A human-friendly name for the project, that can be changed. DisplayName *string `mandatory:"false" json:"displayName"` // When the project was created, as an RFC3339 datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail, that can provide actionable information if creation failed. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ProjectSummary) String() string
func (m ProjectSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RtspSourceDetails Details of RtspDevice
type RtspSourceDetails struct { StreamNetworkAccessDetails StreamNetworkAccessDetails `mandatory:"true" json:"streamNetworkAccessDetails"` // url of camera CameraUrl *string `mandatory:"true" json:"cameraUrl"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of secret where credentials are stored in username:password format. SecretId *string `mandatory:"false" json:"secretId"` }
func (m RtspSourceDetails) GetStreamNetworkAccessDetails() StreamNetworkAccessDetails
GetStreamNetworkAccessDetails returns StreamNetworkAccessDetails
func (m RtspSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m RtspSourceDetails) String() string
func (m *RtspSourceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m RtspSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
StartStreamJobRequest wrapper for the StartStreamJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/StartStreamJob.go.html to see an example of how to use StartStreamJobRequest.
type StartStreamJobRequest struct { // Stream job id. StreamJobId *string `mandatory:"true" contributesTo:"path" name:"streamJobId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request StartStreamJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StartStreamJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StartStreamJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StartStreamJobRequest) String() string
func (request StartStreamJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StartStreamJobResponse wrapper for the StartStreamJob operation
type StartStreamJobResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response StartStreamJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StartStreamJobResponse) String() string
StopStreamJobRequest wrapper for the StopStreamJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/StopStreamJob.go.html to see an example of how to use StopStreamJobRequest.
type StopStreamJobRequest struct { // Stream job id. StreamJobId *string `mandatory:"true" contributesTo:"path" name:"streamJobId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without the risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request StopStreamJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StopStreamJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StopStreamJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StopStreamJobRequest) String() string
func (request StopStreamJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StopStreamJobResponse wrapper for the StopStreamJob operation
type StopStreamJobResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response StopStreamJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StopStreamJobResponse) String() string
StreamGroup Details for a Stream Group
type StreamGroup struct { // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the streamGroup. Id *string `mandatory:"true" json:"id"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // A human-friendly name for the streamGroup. DisplayName *string `mandatory:"false" json:"displayName"` // When the streamGroup was created, as an RFC3339 datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // When the streamGroup was updated, as an RFC3339 datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the streamGroup. LifecycleState StreamGroupLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Stream IsEnabled *bool `mandatory:"false" json:"isEnabled"` // List of streamSource OCIDs associated with the stream group StreamSourceIds []string `mandatory:"false" json:"streamSourceIds"` // List of streamSource OCIDs where the streamSource overlaps in field of view. StreamOverlaps []StreamGroupOverlap `mandatory:"false" json:"streamOverlaps"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m StreamGroup) String() string
func (m StreamGroup) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StreamGroupCollection The results of a streamGroup search.
type StreamGroupCollection struct { // List of StreamGroups. Items []StreamGroupSummary `mandatory:"true" json:"items"` }
func (m StreamGroupCollection) String() string
func (m StreamGroupCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StreamGroupLifecycleStateEnum Enum with underlying type: string
type StreamGroupLifecycleStateEnum string
Set of constants representing the allowable values for StreamGroupLifecycleStateEnum
const ( StreamGroupLifecycleStateCreating StreamGroupLifecycleStateEnum = "CREATING" StreamGroupLifecycleStateUpdating StreamGroupLifecycleStateEnum = "UPDATING" StreamGroupLifecycleStateActive StreamGroupLifecycleStateEnum = "ACTIVE" StreamGroupLifecycleStateDeleting StreamGroupLifecycleStateEnum = "DELETING" StreamGroupLifecycleStateDeleted StreamGroupLifecycleStateEnum = "DELETED" StreamGroupLifecycleStateFailed StreamGroupLifecycleStateEnum = "FAILED" )
func GetMappingStreamGroupLifecycleStateEnum(val string) (StreamGroupLifecycleStateEnum, bool)
GetMappingStreamGroupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetStreamGroupLifecycleStateEnumValues() []StreamGroupLifecycleStateEnum
GetStreamGroupLifecycleStateEnumValues Enumerates the set of values for StreamGroupLifecycleStateEnum
StreamGroupOverlap List of streamSource OCIDs that have overlapping fields of view
type StreamGroupOverlap struct { // List of streamSource OCIDs. OverlappingStreams []string `mandatory:"false" json:"overlappingStreams"` }
func (m StreamGroupOverlap) String() string
func (m StreamGroupOverlap) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StreamGroupSummary Summary for a Stream Group
type StreamGroupSummary struct { // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the streamGroup. Id *string `mandatory:"true" json:"id"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // A human-friendly name for the streamGroup. DisplayName *string `mandatory:"false" json:"displayName"` // When the streamGroup was created, as an RFC3339 datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // When the streamGroup was updated, as an RFC3339 datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Stream IsEnabled *bool `mandatory:"false" json:"isEnabled"` // The current state of the streamGroup. LifecycleState StreamGroupLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // List of streamSource OCIDs associated with the stream group StreamSourceIds []string `mandatory:"false" json:"streamSourceIds"` // List of streamSource OCIDs where the streamSource overlaps in field of view. StreamOverlaps []StreamGroupOverlap `mandatory:"false" json:"streamOverlaps"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m StreamGroupSummary) String() string
func (m StreamGroupSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StreamJob Job details for a stream analysis.
type StreamJob struct { // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the streamJob. Id *string `mandatory:"true" json:"id"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the streamSource StreamSourceId *string `mandatory:"true" json:"streamSourceId"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // a list of document analysis features. Features []VideoStreamFeature `mandatory:"true" json:"features"` // The current state of the Stream job. LifecycleState StreamJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // When the streamJob was created, as an RFC3339 datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Stream job display name. DisplayName *string `mandatory:"false" json:"displayName"` StreamOutputLocation StreamOutputLocation `mandatory:"false" json:"streamOutputLocation"` // participant id of agent where results need to be sent AgentParticipantId *string `mandatory:"false" json:"agentParticipantId"` // Additional details about current state of streamJob LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // When the stream job was updated, as an RFC3339 datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m StreamJob) String() string
func (m *StreamJob) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m StreamJob) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StreamJobCollection The results of a stream job search.
type StreamJobCollection struct { // List of stream jobs. Items []StreamJobSummary `mandatory:"true" json:"items"` }
func (m StreamJobCollection) String() string
func (m StreamJobCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StreamJobLifecycleStateEnum Enum with underlying type: string
type StreamJobLifecycleStateEnum string
Set of constants representing the allowable values for StreamJobLifecycleStateEnum
const ( StreamJobLifecycleStateCreating StreamJobLifecycleStateEnum = "CREATING" StreamJobLifecycleStateUpdating StreamJobLifecycleStateEnum = "UPDATING" StreamJobLifecycleStateActive StreamJobLifecycleStateEnum = "ACTIVE" StreamJobLifecycleStateDeleting StreamJobLifecycleStateEnum = "DELETING" StreamJobLifecycleStateDeleted StreamJobLifecycleStateEnum = "DELETED" StreamJobLifecycleStateFailed StreamJobLifecycleStateEnum = "FAILED" StreamJobLifecycleStateInactive StreamJobLifecycleStateEnum = "INACTIVE" StreamJobLifecycleStateNeedsAttention StreamJobLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetMappingStreamJobLifecycleStateEnum(val string) (StreamJobLifecycleStateEnum, bool)
GetMappingStreamJobLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetStreamJobLifecycleStateEnumValues() []StreamJobLifecycleStateEnum
GetStreamJobLifecycleStateEnumValues Enumerates the set of values for StreamJobLifecycleStateEnum
StreamJobSummary Job details for a stream analysis.
type StreamJobSummary struct { // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the streamJob. Id *string `mandatory:"true" json:"id"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the streamSource StreamSourceId *string `mandatory:"true" json:"streamSourceId"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // List of document analysis features. Features []VideoStreamFeature `mandatory:"true" json:"features"` // The current state of the Stream job. LifecycleState StreamJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Additional Details of the state of streamJob LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"` // When the streamJob was created, as an RFC3339 datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Stream job display name. DisplayName *string `mandatory:"false" json:"displayName"` StreamOutputLocation StreamOutputLocation `mandatory:"false" json:"streamOutputLocation"` // When the streamJob was updated, as an RFC3339 datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m StreamJobSummary) String() string
func (m *StreamJobSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m StreamJobSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StreamNetworkAccessDetails Details about a stream Connection type
type StreamNetworkAccessDetails interface { }
StreamNetworkAccessDetailsStreamAccessTypeEnum Enum with underlying type: string
type StreamNetworkAccessDetailsStreamAccessTypeEnum string
Set of constants representing the allowable values for StreamNetworkAccessDetailsStreamAccessTypeEnum
const ( StreamNetworkAccessDetailsStreamAccessTypePrivate StreamNetworkAccessDetailsStreamAccessTypeEnum = "PRIVATE" )
func GetMappingStreamNetworkAccessDetailsStreamAccessTypeEnum(val string) (StreamNetworkAccessDetailsStreamAccessTypeEnum, bool)
GetMappingStreamNetworkAccessDetailsStreamAccessTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetStreamNetworkAccessDetailsStreamAccessTypeEnumValues() []StreamNetworkAccessDetailsStreamAccessTypeEnum
GetStreamNetworkAccessDetailsStreamAccessTypeEnumValues Enumerates the set of values for StreamNetworkAccessDetailsStreamAccessTypeEnum
StreamOutputLocation Details about a where results will be Sent
type StreamOutputLocation interface { }
StreamOutputLocationOutputLocationTypeEnum Enum with underlying type: string
type StreamOutputLocationOutputLocationTypeEnum string
Set of constants representing the allowable values for StreamOutputLocationOutputLocationTypeEnum
const ( StreamOutputLocationOutputLocationTypeObjectStorage StreamOutputLocationOutputLocationTypeEnum = "OBJECT_STORAGE" )
func GetMappingStreamOutputLocationOutputLocationTypeEnum(val string) (StreamOutputLocationOutputLocationTypeEnum, bool)
GetMappingStreamOutputLocationOutputLocationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetStreamOutputLocationOutputLocationTypeEnumValues() []StreamOutputLocationOutputLocationTypeEnum
GetStreamOutputLocationOutputLocationTypeEnumValues Enumerates the set of values for StreamOutputLocationOutputLocationTypeEnum
StreamSource Stream source information
type StreamSource struct { StreamSourceDetails StreamSourceDetails `mandatory:"true" json:"streamSourceDetails"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the streamSource. Id *string `mandatory:"true" json:"id"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartm. CompartmentId *string `mandatory:"true" json:"compartmentId"` // When the streamSource was created, as an RFC3339 datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the streamSource. LifecycleState StreamSourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // When the streamSource was updated, as an RFC3339 datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // display name. DisplayName *string `mandatory:"false" json:"displayName"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m StreamSource) String() string
func (m *StreamSource) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m StreamSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StreamSourceCollection The results of a streamSource search.
type StreamSourceCollection struct { // List of StreamSources. Items []StreamSourceSummary `mandatory:"true" json:"items"` }
func (m StreamSourceCollection) String() string
func (m StreamSourceCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StreamSourceDetails Details about a stream source
type StreamSourceDetails interface { GetStreamNetworkAccessDetails() StreamNetworkAccessDetails }
StreamSourceDetailsSourceTypeEnum Enum with underlying type: string
type StreamSourceDetailsSourceTypeEnum string
Set of constants representing the allowable values for StreamSourceDetailsSourceTypeEnum
const ( StreamSourceDetailsSourceTypeRtsp StreamSourceDetailsSourceTypeEnum = "RTSP" )
func GetMappingStreamSourceDetailsSourceTypeEnum(val string) (StreamSourceDetailsSourceTypeEnum, bool)
GetMappingStreamSourceDetailsSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetStreamSourceDetailsSourceTypeEnumValues() []StreamSourceDetailsSourceTypeEnum
GetStreamSourceDetailsSourceTypeEnumValues Enumerates the set of values for StreamSourceDetailsSourceTypeEnum
StreamSourceLifecycleStateEnum Enum with underlying type: string
type StreamSourceLifecycleStateEnum string
Set of constants representing the allowable values for StreamSourceLifecycleStateEnum
const ( StreamSourceLifecycleStateCreating StreamSourceLifecycleStateEnum = "CREATING" StreamSourceLifecycleStateUpdating StreamSourceLifecycleStateEnum = "UPDATING" StreamSourceLifecycleStateActive StreamSourceLifecycleStateEnum = "ACTIVE" StreamSourceLifecycleStateDeleting StreamSourceLifecycleStateEnum = "DELETING" StreamSourceLifecycleStateDeleted StreamSourceLifecycleStateEnum = "DELETED" StreamSourceLifecycleStateFailed StreamSourceLifecycleStateEnum = "FAILED" )
func GetMappingStreamSourceLifecycleStateEnum(val string) (StreamSourceLifecycleStateEnum, bool)
GetMappingStreamSourceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetStreamSourceLifecycleStateEnumValues() []StreamSourceLifecycleStateEnum
GetStreamSourceLifecycleStateEnumValues Enumerates the set of values for StreamSourceLifecycleStateEnum
StreamSourceSummary Video stream analysis results.
type StreamSourceSummary struct { StreamSourceDetails StreamSourceDetails `mandatory:"true" json:"streamSourceDetails"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the streamSource. Id *string `mandatory:"true" json:"id"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // When the streamSource was created, as an RFC3339 datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the streamSource. LifecycleState StreamSourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // StreamSource display name. DisplayName *string `mandatory:"false" json:"displayName"` // When the streamSource was created, as an RFC3339 datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m StreamSourceSummary) String() string
func (m *StreamSourceSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m StreamSourceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Table The table extracted from a document.
type Table struct { // The number of rows. RowCount *int `mandatory:"true" json:"rowCount"` // The number of columns. ColumnCount *int `mandatory:"true" json:"columnCount"` // The header rows. HeaderRows []TableRow `mandatory:"true" json:"headerRows"` // The body rows. BodyRows []TableRow `mandatory:"true" json:"bodyRows"` // the footer rows. FooterRows []TableRow `mandatory:"true" json:"footerRows"` // The confidence score between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` }
func (m Table) String() string
func (m Table) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TableRow A single row in a table.
type TableRow struct { // The cells in the row. Cells []Cell `mandatory:"true" json:"cells"` }
func (m TableRow) String() string
func (m TableRow) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TrackingType Details of what to track.
type TrackingType struct { // List of the objects to be tracked. Objects []string `mandatory:"true" json:"objects"` // The detection model OCID. DetectionModelId *string `mandatory:"false" json:"detectionModelId"` // The tracking model OCID. TrackingModelId *string `mandatory:"false" json:"trackingModelId"` // The maximum number of results to return. MaxResults *int `mandatory:"false" json:"maxResults"` // Whether or not return face landmarks. ShouldReturnLandmarks *bool `mandatory:"false" json:"shouldReturnLandmarks"` }
func (m TrackingType) String() string
func (m TrackingType) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateModelDetails The metadata which can be edited after model creation.
type UpdateModelDetails struct { // A human-friendly name of the model, which can be changed. DisplayName *string `mandatory:"false" json:"displayName"` // An optional description of the model. Description *string `mandatory:"false" json:"description"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateModelDetails) String() string
func (m UpdateModelDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateModelRequest wrapper for the UpdateModel operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/UpdateModel.go.html to see an example of how to use UpdateModelRequest.
type UpdateModelRequest struct { // A unique model identifier. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // The model metadata to be updated. UpdateModelDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateModelRequest) String() string
func (request UpdateModelRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateModelResponse wrapper for the UpdateModel operation
type UpdateModelResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateModelResponse) String() string
UpdateProjectDetails The metadata that can be edited after project creation.
type UpdateProjectDetails struct { // A human-friendly name for the project, that can be changed. DisplayName *string `mandatory:"false" json:"displayName"` // An optional description of the project. Description *string `mandatory:"false" json:"description"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateProjectDetails) String() string
func (m UpdateProjectDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateProjectRequest wrapper for the UpdateProject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/UpdateProject.go.html to see an example of how to use UpdateProjectRequest.
type UpdateProjectRequest struct { // A unique project identifier. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // The project metadata to be updated. UpdateProjectDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateProjectRequest) String() string
func (request UpdateProjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateProjectResponse wrapper for the UpdateProject operation
type UpdateProjectResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateProjectResponse) String() string
UpdateStreamGroupDetails The information needed to create a stream group
type UpdateStreamGroupDetails struct { // A human-friendly name for the streamGroup. DisplayName *string `mandatory:"false" json:"displayName"` // Stream IsEnabled *bool `mandatory:"false" json:"isEnabled"` // List of streamSource OCIDs associated with the stream group StreamSourceIds []string `mandatory:"false" json:"streamSourceIds"` // List of streamSource OCIDs where the streamSource overlaps in field of view. StreamOverlaps []StreamGroupOverlap `mandatory:"false" json:"streamOverlaps"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateStreamGroupDetails) String() string
func (m UpdateStreamGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateStreamGroupRequest wrapper for the UpdateStreamGroup operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/UpdateStreamGroup.go.html to see an example of how to use UpdateStreamGroupRequest.
type UpdateStreamGroupRequest struct { // StreamGroup Id. StreamGroupId *string `mandatory:"true" contributesTo:"path" name:"streamGroupId"` // Details about the streamGroup UpdateStreamGroupDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateStreamGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateStreamGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateStreamGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateStreamGroupRequest) String() string
func (request UpdateStreamGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateStreamGroupResponse wrapper for the UpdateStreamGroup operation
type UpdateStreamGroupResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateStreamGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateStreamGroupResponse) String() string
UpdateStreamJobDetails The information needed to update streamjob
type UpdateStreamJobDetails struct { // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of streamSource StreamSourceId *string `mandatory:"false" json:"streamSourceId"` // List of stream analysis features. Features []VideoStreamFeature `mandatory:"false" json:"features"` StreamOutputLocation StreamOutputLocation `mandatory:"false" json:"streamOutputLocation"` // Stream job display name. DisplayName *string `mandatory:"false" json:"displayName"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateStreamJobDetails) String() string
func (m *UpdateStreamJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateStreamJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateStreamJobRequest wrapper for the UpdateStreamJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/UpdateStreamJob.go.html to see an example of how to use UpdateStreamJobRequest.
type UpdateStreamJobRequest struct { // Details about the stream analysis. UpdateStreamJobDetails `contributesTo:"body"` // Stream job id. StreamJobId *string `mandatory:"true" contributesTo:"path" name:"streamJobId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateStreamJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateStreamJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateStreamJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateStreamJobRequest) String() string
func (request UpdateStreamJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateStreamJobResponse wrapper for the UpdateStreamJob operation
type UpdateStreamJobResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateStreamJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateStreamJobResponse) String() string
UpdateStreamSourceDetails The information needed to update stream source
type UpdateStreamSourceDetails struct { StreamSourceDetails StreamSourceDetails `mandatory:"false" json:"streamSourceDetails"` // A human-friendly name for the streamSource, that can be changed. DisplayName *string `mandatory:"false" json:"displayName"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateStreamSourceDetails) String() string
func (m *UpdateStreamSourceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateStreamSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateStreamSourceRequest wrapper for the UpdateStreamSource operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/UpdateStreamSource.go.html to see an example of how to use UpdateStreamSourceRequest.
type UpdateStreamSourceRequest struct { // StreamSource Id. StreamSourceId *string `mandatory:"true" contributesTo:"path" name:"streamSourceId"` // Details about the StreamSource UpdateStreamSourceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateStreamSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateStreamSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateStreamSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateStreamSourceRequest) String() string
func (request UpdateStreamSourceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateStreamSourceResponse wrapper for the UpdateStreamSource operation
type UpdateStreamSourceResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateStreamSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateStreamSourceResponse) String() string
UpdateVisionPrivateEndpointDetails The metadata that can be edited after visionPrivateEndpoint creation.
type UpdateVisionPrivateEndpointDetails struct { // A human-friendly name for the visionPrivateEndpoint, that can be changed. DisplayName *string `mandatory:"false" json:"displayName"` // An optional description of the visionPrivateEndpoint. Description *string `mandatory:"false" json:"description"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateVisionPrivateEndpointDetails) String() string
func (m UpdateVisionPrivateEndpointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateVisionPrivateEndpointRequest wrapper for the UpdateVisionPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/UpdateVisionPrivateEndpoint.go.html to see an example of how to use UpdateVisionPrivateEndpointRequest.
type UpdateVisionPrivateEndpointRequest struct { // Vision private endpoint Id. VisionPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"visionPrivateEndpointId"` // The visionPrivateEndpoint metadata to be updated. UpdateVisionPrivateEndpointDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateVisionPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateVisionPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateVisionPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateVisionPrivateEndpointRequest) String() string
func (request UpdateVisionPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateVisionPrivateEndpointResponse wrapper for the UpdateVisionPrivateEndpoint operation
type UpdateVisionPrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // A unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // A unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateVisionPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateVisionPrivateEndpointResponse) String() string
ValueArray The array of field values.
type ValueArray struct { // The confidence score between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` // The indexes of the words in the field value. WordIndexes []int `mandatory:"true" json:"wordIndexes"` Items []DocumentField `mandatory:"true" json:"items"` // The detected text of a field. Text *string `mandatory:"false" json:"text"` }
func (m ValueArray) GetBoundingPolygon() *BoundingPolygon
GetBoundingPolygon returns BoundingPolygon
func (m ValueArray) GetConfidence() *float32
GetConfidence returns Confidence
func (m ValueArray) GetText() *string
GetText returns Text
func (m ValueArray) GetWordIndexes() []int
GetWordIndexes returns WordIndexes
func (m ValueArray) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValueArray) String() string
func (m ValueArray) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValueDate The date field value.
type ValueDate struct { // The confidence score between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` // The indexes of the words in the field value. WordIndexes []int `mandatory:"true" json:"wordIndexes"` // The date field value as yyyy-mm-dd. Value *common.SDKTime `mandatory:"true" json:"value"` // The detected text of a field. Text *string `mandatory:"false" json:"text"` }
func (m ValueDate) GetBoundingPolygon() *BoundingPolygon
GetBoundingPolygon returns BoundingPolygon
func (m ValueDate) GetConfidence() *float32
GetConfidence returns Confidence
func (m ValueDate) GetText() *string
GetText returns Text
func (m ValueDate) GetWordIndexes() []int
GetWordIndexes returns WordIndexes
func (m ValueDate) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValueDate) String() string
func (m ValueDate) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValueInteger The integer field value.
type ValueInteger struct { // The confidence score between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` // The indexes of the words in the field value. WordIndexes []int `mandatory:"true" json:"wordIndexes"` // The integer value. Value *int `mandatory:"true" json:"value"` // The detected text of a field. Text *string `mandatory:"false" json:"text"` }
func (m ValueInteger) GetBoundingPolygon() *BoundingPolygon
GetBoundingPolygon returns BoundingPolygon
func (m ValueInteger) GetConfidence() *float32
GetConfidence returns Confidence
func (m ValueInteger) GetText() *string
GetText returns Text
func (m ValueInteger) GetWordIndexes() []int
GetWordIndexes returns WordIndexes
func (m ValueInteger) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValueInteger) String() string
func (m ValueInteger) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValueNumber The floating point number field value.
type ValueNumber struct { // The confidence score between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` // The indexes of the words in the field value. WordIndexes []int `mandatory:"true" json:"wordIndexes"` // The number value. Value *float32 `mandatory:"true" json:"value"` // The detected text of a field. Text *string `mandatory:"false" json:"text"` }
func (m ValueNumber) GetBoundingPolygon() *BoundingPolygon
GetBoundingPolygon returns BoundingPolygon
func (m ValueNumber) GetConfidence() *float32
GetConfidence returns Confidence
func (m ValueNumber) GetText() *string
GetText returns Text
func (m ValueNumber) GetWordIndexes() []int
GetWordIndexes returns WordIndexes
func (m ValueNumber) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValueNumber) String() string
func (m ValueNumber) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValuePhoneNumber The phone number field value.
type ValuePhoneNumber struct { // The confidence score between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` // The indexes of the words in the field value. WordIndexes []int `mandatory:"true" json:"wordIndexes"` // The phone number field value. Value *string `mandatory:"true" json:"value"` // The detected text of a field. Text *string `mandatory:"false" json:"text"` }
func (m ValuePhoneNumber) GetBoundingPolygon() *BoundingPolygon
GetBoundingPolygon returns BoundingPolygon
func (m ValuePhoneNumber) GetConfidence() *float32
GetConfidence returns Confidence
func (m ValuePhoneNumber) GetText() *string
GetText returns Text
func (m ValuePhoneNumber) GetWordIndexes() []int
GetWordIndexes returns WordIndexes
func (m ValuePhoneNumber) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValuePhoneNumber) String() string
func (m ValuePhoneNumber) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValueString The string field value.
type ValueString struct { // The confidence score between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` // The indexes of the words in the field value. WordIndexes []int `mandatory:"true" json:"wordIndexes"` // The string text. Value *string `mandatory:"true" json:"value"` // The detected text of a field. Text *string `mandatory:"false" json:"text"` }
func (m ValueString) GetBoundingPolygon() *BoundingPolygon
GetBoundingPolygon returns BoundingPolygon
func (m ValueString) GetConfidence() *float32
GetConfidence returns Confidence
func (m ValueString) GetText() *string
GetText returns Text
func (m ValueString) GetWordIndexes() []int
GetWordIndexes returns WordIndexes
func (m ValueString) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValueString) String() string
func (m ValueString) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValueTime The time field value.
type ValueTime struct { // The confidence score between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` // The indexes of the words in the field value. WordIndexes []int `mandatory:"true" json:"wordIndexes"` // The time field value as yyyy-mm-dd hh-mm-ss. Value *common.SDKTime `mandatory:"true" json:"value"` // The detected text of a field. Text *string `mandatory:"false" json:"text"` }
func (m ValueTime) GetBoundingPolygon() *BoundingPolygon
GetBoundingPolygon returns BoundingPolygon
func (m ValueTime) GetConfidence() *float32
GetConfidence returns Confidence
func (m ValueTime) GetText() *string
GetText returns Text
func (m ValueTime) GetWordIndexes() []int
GetWordIndexes returns WordIndexes
func (m ValueTime) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ValueTime) String() string
func (m ValueTime) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoFace Detected face in a video.
type VideoFace struct { // Face segments in a video. Segments []VideoFaceSegment `mandatory:"true" json:"segments"` }
func (m VideoFace) String() string
func (m VideoFace) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoFaceDetectionFeature Video face detection feature
type VideoFaceDetectionFeature struct { // The maximum number of results per frame to return. MaxResults *int `mandatory:"false" json:"maxResults"` // Whether or not return face landmarks. IsLandmarkRequired *bool `mandatory:"false" json:"isLandmarkRequired"` // The minimum confidence score, between 0 and 1, // when the value is set, results with lower confidence will not be returned. MinConfidence *float32 `mandatory:"false" json:"minConfidence"` }
func (m VideoFaceDetectionFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VideoFaceDetectionFeature) String() string
func (m VideoFaceDetectionFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoFaceFrame A face frame.
type VideoFaceFrame struct { // Time offset(Milliseconds) in the video. TimeOffsetMs *int `mandatory:"true" json:"timeOffsetMs"` // The confidence score, between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` // The quality score of the face detected, between 0 and 1. QualityScore *float32 `mandatory:"true" json:"qualityScore"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` // Face landmarks. Landmarks []Landmark `mandatory:"false" json:"landmarks"` }
func (m VideoFaceFrame) String() string
func (m VideoFaceFrame) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoFaceSegment A face segment in a video.
type VideoFaceSegment struct { VideoSegment *VideoSegment `mandatory:"true" json:"videoSegment"` // The confidence score, between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` // Face frames in a segment. Frames []VideoFaceFrame `mandatory:"true" json:"frames"` }
func (m VideoFaceSegment) String() string
func (m VideoFaceSegment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoFeature Details about a video feature request.
type VideoFeature interface { }
VideoFeatureFeatureTypeEnum Enum with underlying type: string
type VideoFeatureFeatureTypeEnum string
Set of constants representing the allowable values for VideoFeatureFeatureTypeEnum
const ( VideoFeatureFeatureTypeLabelDetection VideoFeatureFeatureTypeEnum = "LABEL_DETECTION" VideoFeatureFeatureTypeObjectDetection VideoFeatureFeatureTypeEnum = "OBJECT_DETECTION" VideoFeatureFeatureTypeTextDetection VideoFeatureFeatureTypeEnum = "TEXT_DETECTION" VideoFeatureFeatureTypeFaceDetection VideoFeatureFeatureTypeEnum = "FACE_DETECTION" VideoFeatureFeatureTypeObjectTracking VideoFeatureFeatureTypeEnum = "OBJECT_TRACKING" )
func GetMappingVideoFeatureFeatureTypeEnum(val string) (VideoFeatureFeatureTypeEnum, bool)
GetMappingVideoFeatureFeatureTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVideoFeatureFeatureTypeEnumValues() []VideoFeatureFeatureTypeEnum
GetVideoFeatureFeatureTypeEnumValues Enumerates the set of values for VideoFeatureFeatureTypeEnum
VideoJob Job details for a video analysis.
type VideoJob struct { // Id of the job. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that starts the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // a list of document analysis features. Features []VideoFeature `mandatory:"true" json:"features"` // Job accepted time. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` OutputLocation *OutputLocation `mandatory:"true" json:"outputLocation"` // The current state of the video job. LifecycleState VideoJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Video job display name. DisplayName *string `mandatory:"false" json:"displayName"` InputLocation InputLocation `mandatory:"false" json:"inputLocation"` // Job started time. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Job finished time. TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // How much progress the operation has made, vs the total amount of work that must be performed. PercentComplete *float32 `mandatory:"false" json:"percentComplete"` // Detailed status of FAILED state. LifecycleDetails VideoJobLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m VideoJob) String() string
func (m *VideoJob) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m VideoJob) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoJobLifecycleDetailsEnum Enum with underlying type: string
type VideoJobLifecycleDetailsEnum string
Set of constants representing the allowable values for VideoJobLifecycleDetailsEnum
const ( VideoJobLifecycleDetailsPartiallySucceeded VideoJobLifecycleDetailsEnum = "PARTIALLY_SUCCEEDED" VideoJobLifecycleDetailsCompletelyFailed VideoJobLifecycleDetailsEnum = "COMPLETELY_FAILED" )
func GetMappingVideoJobLifecycleDetailsEnum(val string) (VideoJobLifecycleDetailsEnum, bool)
GetMappingVideoJobLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVideoJobLifecycleDetailsEnumValues() []VideoJobLifecycleDetailsEnum
GetVideoJobLifecycleDetailsEnumValues Enumerates the set of values for VideoJobLifecycleDetailsEnum
VideoJobLifecycleStateEnum Enum with underlying type: string
type VideoJobLifecycleStateEnum string
Set of constants representing the allowable values for VideoJobLifecycleStateEnum
const ( VideoJobLifecycleStateSucceeded VideoJobLifecycleStateEnum = "SUCCEEDED" VideoJobLifecycleStateFailed VideoJobLifecycleStateEnum = "FAILED" VideoJobLifecycleStateAccepted VideoJobLifecycleStateEnum = "ACCEPTED" VideoJobLifecycleStateCanceled VideoJobLifecycleStateEnum = "CANCELED" VideoJobLifecycleStateInProgress VideoJobLifecycleStateEnum = "IN_PROGRESS" VideoJobLifecycleStateCanceling VideoJobLifecycleStateEnum = "CANCELING" )
func GetMappingVideoJobLifecycleStateEnum(val string) (VideoJobLifecycleStateEnum, bool)
GetMappingVideoJobLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVideoJobLifecycleStateEnumValues() []VideoJobLifecycleStateEnum
GetVideoJobLifecycleStateEnumValues Enumerates the set of values for VideoJobLifecycleStateEnum
VideoLabel Detected label in a video.
type VideoLabel struct { // Detected label name. Name *string `mandatory:"true" json:"name"` // Label segments in a video. Segments []VideoLabelSegment `mandatory:"true" json:"segments"` }
func (m VideoLabel) String() string
func (m VideoLabel) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoLabelDetectionFeature Video label detection feature
type VideoLabelDetectionFeature struct { // The minimum confidence score, between 0 and 1, // when the value is set, results with lower confidence will not be returned. MinConfidence *float32 `mandatory:"false" json:"minConfidence"` // The maximum number of results per video frame to return. MaxResults *int `mandatory:"false" json:"maxResults"` // The custom model ID. ModelId *string `mandatory:"false" json:"modelId"` }
func (m VideoLabelDetectionFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VideoLabelDetectionFeature) String() string
func (m VideoLabelDetectionFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoLabelSegment A label segment in a video.
type VideoLabelSegment struct { VideoSegment *VideoSegment `mandatory:"true" json:"videoSegment"` // The confidence score, between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` }
func (m VideoLabelSegment) String() string
func (m VideoLabelSegment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoMetadata Video information.
type VideoMetadata struct { // Total number of frames. FrameCount *int `mandatory:"true" json:"frameCount"` // Video framerate. FrameRate *float32 `mandatory:"true" json:"frameRate"` // Width of each frame. FrameWidth *int `mandatory:"true" json:"frameWidth"` // Height of each frame. FrameHeight *int `mandatory:"true" json:"frameHeight"` }
func (m VideoMetadata) String() string
func (m VideoMetadata) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoObject Detected object in a video.
type VideoObject struct { // Detected object name. Name *string `mandatory:"true" json:"name"` // Object segments in a video. Segments []VideoObjectSegment `mandatory:"true" json:"segments"` }
func (m VideoObject) String() string
func (m VideoObject) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoObjectDetectionFeature Video object detection feature
type VideoObjectDetectionFeature struct { // The minimum confidence score, between 0 and 1, // when the value is set, results with lower confidence will not be returned. MinConfidence *float32 `mandatory:"false" json:"minConfidence"` // The maximum number of results per frame to return. MaxResults *int `mandatory:"false" json:"maxResults"` // The custom model ID. ModelId *string `mandatory:"false" json:"modelId"` }
func (m VideoObjectDetectionFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VideoObjectDetectionFeature) String() string
func (m VideoObjectDetectionFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoObjectFrame An object frame.
type VideoObjectFrame struct { // Time offset(Milliseconds) in the video. TimeOffsetMs *int `mandatory:"true" json:"timeOffsetMs"` // The confidence score, between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` }
func (m VideoObjectFrame) String() string
func (m VideoObjectFrame) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoObjectSegment An object segment in a video.
type VideoObjectSegment struct { VideoSegment *VideoSegment `mandatory:"true" json:"videoSegment"` // The confidence score, between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` // Object frame in a segment. Frames []VideoObjectFrame `mandatory:"true" json:"frames"` }
func (m VideoObjectSegment) String() string
func (m VideoObjectSegment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoObjectTrackingFeature Video object tracking feature
type VideoObjectTrackingFeature struct { // The minimum confidence score, between 0 and 1, // when the value is set, results with lower confidence will not be returned. MinConfidence *float32 `mandatory:"false" json:"minConfidence"` // The maximum number of results per frame to return. MaxResults *int `mandatory:"false" json:"maxResults"` // The custom model ID. ModelId *string `mandatory:"false" json:"modelId"` }
func (m VideoObjectTrackingFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VideoObjectTrackingFeature) String() string
func (m VideoObjectTrackingFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoSegment A sequence of frames that was (or appears to be) continuously captured for a label/object/text?.
type VideoSegment struct { // Video start time offset(Milliseconds). StartTimeOffsetMs *int `mandatory:"true" json:"startTimeOffsetMs"` // Video end time offset(Milliseconds). EndTimeOffsetMs *int `mandatory:"true" json:"endTimeOffsetMs"` }
func (m VideoSegment) String() string
func (m VideoSegment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoStreamFaceDetectionFeature Video stream face detection feature
type VideoStreamFaceDetectionFeature struct { // The maximum number of results to return. MaxResults *int `mandatory:"false" json:"maxResults"` // Whether or not return face landmarks. ShouldReturnLandmarks *bool `mandatory:"false" json:"shouldReturnLandmarks"` // The minimum confidence score, between 0 and 1, // when the value is set, results with lower confidence will not be returned. MinConfidence *float32 `mandatory:"false" json:"minConfidence"` }
func (m VideoStreamFaceDetectionFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VideoStreamFaceDetectionFeature) String() string
func (m VideoStreamFaceDetectionFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoStreamFeature Details about a stream video feature request.
type VideoStreamFeature interface { }
VideoStreamFeatureFeatureTypeEnum Enum with underlying type: string
type VideoStreamFeatureFeatureTypeEnum string
Set of constants representing the allowable values for VideoStreamFeatureFeatureTypeEnum
const ( VideoStreamFeatureFeatureTypeObjectTracking VideoStreamFeatureFeatureTypeEnum = "OBJECT_TRACKING" VideoStreamFeatureFeatureTypeFaceDetection VideoStreamFeatureFeatureTypeEnum = "FACE_DETECTION" VideoStreamFeatureFeatureTypeObjectDetection VideoStreamFeatureFeatureTypeEnum = "OBJECT_DETECTION" )
func GetMappingVideoStreamFeatureFeatureTypeEnum(val string) (VideoStreamFeatureFeatureTypeEnum, bool)
GetMappingVideoStreamFeatureFeatureTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVideoStreamFeatureFeatureTypeEnumValues() []VideoStreamFeatureFeatureTypeEnum
GetVideoStreamFeatureFeatureTypeEnumValues Enumerates the set of values for VideoStreamFeatureFeatureTypeEnum
VideoStreamMetadata Video information.
type VideoStreamMetadata struct { // Video framerate. FrameRate *float32 `mandatory:"true" json:"frameRate"` // Width of each frame. FrameWidth *int `mandatory:"true" json:"frameWidth"` // Height of each frame. FrameHeight *int `mandatory:"true" json:"frameHeight"` }
func (m VideoStreamMetadata) String() string
func (m VideoStreamMetadata) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoStreamObject Tracked object in a video stream.
type VideoStreamObject struct { // Name of the object category label. Name *string `mandatory:"true" json:"name"` // The confidence score, between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` // Unique identifier for the object. ObjectId *int `mandatory:"false" json:"objectId"` Properties *ObjectProperties `mandatory:"false" json:"properties"` }
func (m VideoStreamObject) String() string
func (m VideoStreamObject) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoStreamObjectDetectionFeature Video stream object detection feature
type VideoStreamObjectDetectionFeature struct { // The minimum confidence score, between 0 and 1, // when the value is set, results with lower confidence will not be returned. MinConfidence *float32 `mandatory:"false" json:"minConfidence"` // The maximum number of results per frame to return. MaxResults *int `mandatory:"false" json:"maxResults"` }
func (m VideoStreamObjectDetectionFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VideoStreamObjectDetectionFeature) String() string
func (m VideoStreamObjectDetectionFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoStreamObjectTrackingFeature Video stream object tracking feature
type VideoStreamObjectTrackingFeature struct { // List of details of what to track. TrackingTypes []TrackingType `mandatory:"true" json:"trackingTypes"` }
func (m VideoStreamObjectTrackingFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VideoStreamObjectTrackingFeature) String() string
func (m VideoStreamObjectTrackingFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoText Detected text in a video.
type VideoText struct { // Detected text. Text *string `mandatory:"true" json:"text"` // Text segments in a video. Segments []VideoTextSegment `mandatory:"true" json:"segments"` }
func (m VideoText) String() string
func (m VideoText) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoTextDetectionFeature Video text detection feature
type VideoTextDetectionFeature struct { // The minimum confidence score, between 0 and 1, // when the value is set, results with lower confidence will not be returned. MinConfidence *float32 `mandatory:"false" json:"minConfidence"` }
func (m VideoTextDetectionFeature) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VideoTextDetectionFeature) String() string
func (m VideoTextDetectionFeature) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoTextFrame A text frame.
type VideoTextFrame struct { // Time offset(Milliseconds) in the video. TimeOffsetMs *int `mandatory:"true" json:"timeOffsetMs"` // The confidence score, between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` }
func (m VideoTextFrame) String() string
func (m VideoTextFrame) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoTextSegment A text segment in a video.
type VideoTextSegment struct { VideoSegment *VideoSegment `mandatory:"true" json:"videoSegment"` // The confidence score, between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` // Text frame in a segment. Frames []VideoTextFrame `mandatory:"true" json:"frames"` }
func (m VideoTextSegment) String() string
func (m VideoTextSegment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoTrackedObject Tracked object in a video.
type VideoTrackedObject struct { // Name of the object category label. Name *string `mandatory:"true" json:"name"` // Unique identifier for the object. ObjectId *int `mandatory:"true" json:"objectId"` // Segments for the tracked object. Segments []VideoTrackedObjectSegment `mandatory:"true" json:"segments"` Properties *VideoTrackedObjectProperties `mandatory:"false" json:"properties"` }
func (m VideoTrackedObject) String() string
func (m VideoTrackedObject) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoTrackedObjectProperties Properties of a tracked object in a video.
type VideoTrackedObjectProperties struct { // The axle count value of a tracked vehicle. AxleCount *int `mandatory:"false" json:"axleCount"` // Object IDs of the trailers associated with the tracked vehicle. TrailerIds []int `mandatory:"false" json:"trailerIds"` }
func (m VideoTrackedObjectProperties) String() string
func (m VideoTrackedObjectProperties) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoTrackedObjectSegment A segment of a tracked object in a video.
type VideoTrackedObjectSegment struct { VideoSegment *VideoSegment `mandatory:"true" json:"videoSegment"` // The confidence score, between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` // Frames within the segment. Frames []VideoTrackingFrame `mandatory:"true" json:"frames"` }
func (m VideoTrackedObjectSegment) String() string
func (m VideoTrackedObjectSegment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VideoTrackingFrame A frame capturing a tracked object.
type VideoTrackingFrame struct { // Time offset(Milliseconds) of the frame. TimeOffsetMs *int `mandatory:"true" json:"timeOffsetMs"` // The confidence score, between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` // Properties associated with the tracked object in the frame. Properties []ObjectProperty `mandatory:"false" json:"properties"` }
func (m VideoTrackingFrame) String() string
func (m VideoTrackingFrame) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VisionPrivateEndpoint Vision private endpoint.
type VisionPrivateEndpoint struct { // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of private endpoint Id *string `mandatory:"true" json:"id"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of subnet SubnetId *string `mandatory:"true" json:"subnetId"` // A compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // When the visionPrivateEndpoint was created, as an RFC3339 datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the visionPrivateEndpoint. LifecycleState VisionPrivateEndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A human-friendly name for the visionPrivateEndpoint, which can be changed. DisplayName *string `mandatory:"false" json:"displayName"` // An optional description of the visionPrivateEndpoint. Description *string `mandatory:"false" json:"description"` // When the visionPrivateEndpoint was updated, as an RFC3339 datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail, that can provide actionable information if creation failed. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m VisionPrivateEndpoint) String() string
func (m VisionPrivateEndpoint) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VisionPrivateEndpointCollection The results of a visionPrivateEndpoint search.
type VisionPrivateEndpointCollection struct { // List of visionPrivateEndpoints. Items []VisionPrivateEndpointSummary `mandatory:"true" json:"items"` }
func (m VisionPrivateEndpointCollection) String() string
func (m VisionPrivateEndpointCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VisionPrivateEndpointLifecycleStateEnum Enum with underlying type: string
type VisionPrivateEndpointLifecycleStateEnum string
Set of constants representing the allowable values for VisionPrivateEndpointLifecycleStateEnum
const ( VisionPrivateEndpointLifecycleStateCreating VisionPrivateEndpointLifecycleStateEnum = "CREATING" VisionPrivateEndpointLifecycleStateUpdating VisionPrivateEndpointLifecycleStateEnum = "UPDATING" VisionPrivateEndpointLifecycleStateActive VisionPrivateEndpointLifecycleStateEnum = "ACTIVE" VisionPrivateEndpointLifecycleStateDeleting VisionPrivateEndpointLifecycleStateEnum = "DELETING" VisionPrivateEndpointLifecycleStateDeleted VisionPrivateEndpointLifecycleStateEnum = "DELETED" VisionPrivateEndpointLifecycleStateFailed VisionPrivateEndpointLifecycleStateEnum = "FAILED" )
func GetMappingVisionPrivateEndpointLifecycleStateEnum(val string) (VisionPrivateEndpointLifecycleStateEnum, bool)
GetMappingVisionPrivateEndpointLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVisionPrivateEndpointLifecycleStateEnumValues() []VisionPrivateEndpointLifecycleStateEnum
GetVisionPrivateEndpointLifecycleStateEnumValues Enumerates the set of values for VisionPrivateEndpointLifecycleStateEnum
VisionPrivateEndpointSummary the metadata about the visionPrivateEndpoint.
type VisionPrivateEndpointSummary struct { // A unique identifier that is immutable after creation. Id *string `mandatory:"true" json:"id"` // The compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of subnet SubnetId *string `mandatory:"true" json:"subnetId"` // When the visionPrivateEndpoint was created, as an RFC3339 datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the visionPrivateEndpoint. LifecycleState VisionPrivateEndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A human-friendly name for the visionPrivateEndpoint, that can be changed. DisplayName *string `mandatory:"false" json:"displayName"` // When the visionPrivateEndpoint was created, as an RFC3339 datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail, that can provide actionable information if creation failed. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. // For example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // For example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m VisionPrivateEndpointSummary) String() string
func (m VisionPrivateEndpointSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Word A single word.
type Word struct { // The string of text characters in the word. Text *string `mandatory:"true" json:"text"` // the confidence score between 0 and 1. Confidence *float32 `mandatory:"true" json:"confidence"` BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"` }
func (m Word) String() string
func (m Word) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequest The workrequest status details.
type WorkRequest struct { // The type of work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // The status of the current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The ID of the work request. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequest) String() string
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestError An error encountered while executing a work request.
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed on // (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human-readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // When the error occured, as an RFC3339 formatted datetime. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestErrorCollection The results of a workRequestError search.
type WorkRequestErrorCollection struct { // the list of workRequestError objects. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntry A log message from the execution of a work request.
type WorkRequestLogEntry struct { // A human-readable log message. Message *string `mandatory:"true" json:"message"` // When the log message was written, as an RFC3339 formatted datetime. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntryCollection The results of a workRequestLog search.
type WorkRequestLogEntryCollection struct { // The list of workRequestLogEntries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestResource A resource created, or operated on, by a work request.
type WorkRequestResource struct { // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in the work request. // A resource being created, updated, or deleted remains in the IN_PROGRESS state until // the work is complete for. At that point, it transitions to CREATED, UPDATED, // or DELETED, as appropriate. ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` // The identifier of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can do a GET on to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
func (m WorkRequestResource) String() string
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestSummary A summary of the status of a work request.
type WorkRequestSummary struct { // The type of the work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // The status of the current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The ID of the work request. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment is used. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequestSummary) String() string
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestSummaryCollection The results of a workRequest search.
type WorkRequestSummaryCollection struct { // The list of workRequestSummary objects. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
func (m WorkRequestSummaryCollection) String() string
func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly