contentmoderatorapi

package
v52.5.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageModerationClientAPI

type ImageModerationClientAPI interface {
	EvaluateFileInput(ctx context.Context, imageStream io.ReadCloser, cacheImage *bool) (result contentmoderator.Evaluate, err error)
	EvaluateMethod(ctx context.Context, cacheImage *bool) (result contentmoderator.Evaluate, err error)
	EvaluateURLInput(ctx context.Context, contentType string, imageURL contentmoderator.ImageURL, cacheImage *bool) (result contentmoderator.Evaluate, err error)
	FindFaces(ctx context.Context, cacheImage *bool) (result contentmoderator.FoundFaces, err error)
	FindFacesFileInput(ctx context.Context, imageStream io.ReadCloser, cacheImage *bool) (result contentmoderator.FoundFaces, err error)
	FindFacesURLInput(ctx context.Context, contentType string, imageURL contentmoderator.ImageURL, cacheImage *bool) (result contentmoderator.FoundFaces, err error)
	MatchFileInput(ctx context.Context, imageStream io.ReadCloser, listID string, cacheImage *bool) (result contentmoderator.MatchResponse, err error)
	MatchMethod(ctx context.Context, listID string, cacheImage *bool) (result contentmoderator.MatchResponse, err error)
	MatchURLInput(ctx context.Context, contentType string, imageURL contentmoderator.ImageURL, listID string, cacheImage *bool) (result contentmoderator.MatchResponse, err error)
	OCRFileInput(ctx context.Context, language string, imageStream io.ReadCloser, cacheImage *bool, enhanced *bool) (result contentmoderator.OCR, err error)
	OCRMethod(ctx context.Context, language string, cacheImage *bool, enhanced *bool) (result contentmoderator.OCR, err error)
	OCRURLInput(ctx context.Context, language string, contentType string, imageURL contentmoderator.ImageURL, cacheImage *bool, enhanced *bool) (result contentmoderator.OCR, err error)
}

ImageModerationClientAPI contains the set of methods on the ImageModerationClient type.

type ListManagementImageClientAPI

type ListManagementImageClientAPI interface {
	AddImage(ctx context.Context, listID string, tag *int32, label string) (result contentmoderator.Image, err error)
	AddImageFileInput(ctx context.Context, listID string, imageStream io.ReadCloser, tag *int32, label string) (result contentmoderator.Image, err error)
	AddImageURLInput(ctx context.Context, listID string, contentType string, imageURL contentmoderator.ImageURL, tag *int32, label string) (result contentmoderator.Image, err error)
	DeleteAllImages(ctx context.Context, listID string) (result contentmoderator.String, err error)
	DeleteImage(ctx context.Context, listID string, imageID string) (result contentmoderator.String, err error)
	GetAllImageIds(ctx context.Context, listID string) (result contentmoderator.ImageIds, err error)
}

ListManagementImageClientAPI contains the set of methods on the ListManagementImageClient type.

type ListManagementImageListsClientAPI

type ListManagementImageListsClientAPI interface {
	Create(ctx context.Context, contentType string, body contentmoderator.Body) (result contentmoderator.ImageList, err error)
	Delete(ctx context.Context, listID string) (result contentmoderator.String, err error)
	GetAllImageLists(ctx context.Context) (result contentmoderator.ListImageList, err error)
	GetDetails(ctx context.Context, listID string) (result contentmoderator.ImageList, err error)
	RefreshIndexMethod(ctx context.Context, listID string) (result contentmoderator.RefreshIndex, err error)
	Update(ctx context.Context, listID string, contentType string, body contentmoderator.Body) (result contentmoderator.ImageList, err error)
}

ListManagementImageListsClientAPI contains the set of methods on the ListManagementImageListsClient type.

type ListManagementTermClientAPI

type ListManagementTermClientAPI interface {
	AddTerm(ctx context.Context, listID string, term string, language string) (result autorest.Response, err error)
	DeleteAllTerms(ctx context.Context, listID string, language string) (result contentmoderator.String, err error)
	DeleteTerm(ctx context.Context, listID string, term string, language string) (result contentmoderator.String, err error)
	GetAllTerms(ctx context.Context, listID string, language string, offset *int32, limit *int32) (result contentmoderator.Terms, err error)
}

ListManagementTermClientAPI contains the set of methods on the ListManagementTermClient type.

type ListManagementTermListsClientAPI

type ListManagementTermListsClientAPI interface {
	Create(ctx context.Context, contentType string, body contentmoderator.Body) (result contentmoderator.TermList, err error)
	Delete(ctx context.Context, listID string) (result contentmoderator.String, err error)
	GetAllTermLists(ctx context.Context) (result contentmoderator.ListTermList, err error)
	GetDetails(ctx context.Context, listID string) (result contentmoderator.TermList, err error)
	RefreshIndexMethod(ctx context.Context, listID string, language string) (result contentmoderator.RefreshIndex, err error)
	Update(ctx context.Context, listID string, contentType string, body contentmoderator.Body) (result contentmoderator.TermList, err error)
}

ListManagementTermListsClientAPI contains the set of methods on the ListManagementTermListsClient type.

type ReviewsClientAPI

type ReviewsClientAPI interface {
	AddVideoFrame(ctx context.Context, teamName string, reviewID string, timescale *int32) (result autorest.Response, err error)
	AddVideoFrameStream(ctx context.Context, contentType string, teamName string, reviewID string, frameImageZip io.ReadCloser, frameMetadata string, timescale *int32) (result autorest.Response, err error)
	AddVideoFrameURL(ctx context.Context, contentType string, teamName string, reviewID string, videoFrameBody []contentmoderator.VideoFrameBodyItem, timescale *int32) (result autorest.Response, err error)
	AddVideoTranscript(ctx context.Context, teamName string, reviewID string, vttfile io.ReadCloser) (result autorest.Response, err error)
	AddVideoTranscriptModerationResult(ctx context.Context, contentType string, teamName string, reviewID string, transcriptModerationBody []contentmoderator.TranscriptModerationBodyItem) (result autorest.Response, err error)
	CreateJob(ctx context.Context, teamName string, contentType string, contentID string, workflowName string, jobContentType string, content contentmoderator.Content, callBackEndpoint string) (result contentmoderator.JobID, err error)
	CreateReviews(ctx context.Context, URLContentType string, teamName string, createReviewBody []contentmoderator.CreateReviewBodyItem, subTeam string) (result contentmoderator.ListString, err error)
	CreateVideoReviews(ctx context.Context, contentType string, teamName string, createVideoReviewsBody []contentmoderator.CreateVideoReviewsBodyItem, subTeam string) (result contentmoderator.ListString, err error)
	GetJobDetails(ctx context.Context, teamName string, jobID string) (result contentmoderator.Job, err error)
	GetReview(ctx context.Context, teamName string, reviewID string) (result contentmoderator.Review, err error)
	GetVideoFrames(ctx context.Context, teamName string, reviewID string, startSeed *int32, noOfRecords *int32, filter string) (result contentmoderator.Frames, err error)
	PublishVideoReview(ctx context.Context, teamName string, reviewID string) (result autorest.Response, err error)
}

ReviewsClientAPI contains the set of methods on the ReviewsClient type.

type TextModerationClientAPI

type TextModerationClientAPI interface {
	DetectLanguage(ctx context.Context, textContentType string, textContent io.ReadCloser) (result contentmoderator.DetectedLanguage, err error)
	ScreenText(ctx context.Context, textContentType string, textContent io.ReadCloser, language string, autocorrect *bool, pii *bool, listID string, classify *bool) (result contentmoderator.Screen, err error)
}

TextModerationClientAPI contains the set of methods on the TextModerationClient type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL