Documentation ¶
Overview ¶
Package datalabeling provides access to the Data Labeling API.
For product documentation, see: https://cloud.google.com/data-labeling/docs/
Creating a client ¶
Usage example:
import "google.golang.org/api/datalabeling/v1beta1" ... ctx := context.Background() datalabelingService, err := datalabeling.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication.
For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
datalabelingService, err := datalabeling.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) datalabelingService, err := datalabeling.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See https://godoc.org/google.golang.org/api/option/ for details on options.
Index ¶
- Constants
- type GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata
- type GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata
- type GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse
- type GoogleCloudDatalabelingV1alpha1GcsDestination
- type GoogleCloudDatalabelingV1alpha1GcsFolderDestination
- type GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
- type GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata
- type GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse
- type GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata
- type GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata
- type GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata
- type GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata
- type GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata
- type GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata
- type GoogleCloudDatalabelingV1alpha1LabelOperationMetadata
- type GoogleCloudDatalabelingV1alpha1LabelStats
- type GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata
- type GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata
- type GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata
- type GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata
- type GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata
- type GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata
- type GoogleCloudDatalabelingV1alpha1OutputConfig
- type GoogleCloudDatalabelingV1beta1AnnotatedDataset
- type GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata
- type GoogleCloudDatalabelingV1beta1Annotation
- type GoogleCloudDatalabelingV1beta1AnnotationMetadata
- type GoogleCloudDatalabelingV1beta1AnnotationSpec
- type GoogleCloudDatalabelingV1beta1AnnotationSpecSet
- type GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig
- type GoogleCloudDatalabelingV1beta1AnnotationValue
- type GoogleCloudDatalabelingV1beta1Attempt
- type GoogleCloudDatalabelingV1beta1BigQuerySource
- type GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions
- type GoogleCloudDatalabelingV1beta1BoundingPoly
- type GoogleCloudDatalabelingV1beta1BoundingPolyConfig
- type GoogleCloudDatalabelingV1beta1ClassificationMetadata
- type GoogleCloudDatalabelingV1beta1ClassificationMetrics
- type GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry
- type GoogleCloudDatalabelingV1beta1ConfusionMatrix
- type GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry
- type GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest
- type GoogleCloudDatalabelingV1beta1CreateDatasetRequest
- type GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest
- type GoogleCloudDatalabelingV1beta1CreateInstructionMetadata
- type GoogleCloudDatalabelingV1beta1CreateInstructionRequest
- type GoogleCloudDatalabelingV1beta1CsvInstruction
- type GoogleCloudDatalabelingV1beta1DataItem
- type GoogleCloudDatalabelingV1beta1Dataset
- type GoogleCloudDatalabelingV1beta1Evaluation
- type GoogleCloudDatalabelingV1beta1EvaluationConfig
- type GoogleCloudDatalabelingV1beta1EvaluationJob
- type GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig
- type GoogleCloudDatalabelingV1beta1EvaluationJobConfig
- type GoogleCloudDatalabelingV1beta1EvaluationMetrics
- type GoogleCloudDatalabelingV1beta1EventConfig
- type GoogleCloudDatalabelingV1beta1Example
- type GoogleCloudDatalabelingV1beta1ExampleComparison
- type GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata
- type GoogleCloudDatalabelingV1beta1ExportDataOperationResponse
- type GoogleCloudDatalabelingV1beta1ExportDataRequest
- type GoogleCloudDatalabelingV1beta1FeedbackMessage
- type GoogleCloudDatalabelingV1beta1FeedbackThread
- type GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata
- type GoogleCloudDatalabelingV1beta1GcsDestination
- type GoogleCloudDatalabelingV1beta1GcsFolderDestination
- type GoogleCloudDatalabelingV1beta1GcsSource
- type GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
- type GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation
- type GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation
- type GoogleCloudDatalabelingV1beta1ImageClassificationConfig
- type GoogleCloudDatalabelingV1beta1ImagePayload
- type GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation
- type GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation
- type GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata
- type GoogleCloudDatalabelingV1beta1ImportDataOperationResponse
- type GoogleCloudDatalabelingV1beta1ImportDataRequest
- type GoogleCloudDatalabelingV1beta1InputConfig
- type GoogleCloudDatalabelingV1beta1Instruction
- type GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata
- type GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata
- type GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata
- type GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata
- type GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata
- type GoogleCloudDatalabelingV1beta1LabelImageRequest
- type GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata
- type GoogleCloudDatalabelingV1beta1LabelOperationMetadata
- type GoogleCloudDatalabelingV1beta1LabelStats
- type GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata
- type GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata
- type GoogleCloudDatalabelingV1beta1LabelTextRequest
- type GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata
- type GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata
- type GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata
- type GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata
- type GoogleCloudDatalabelingV1beta1LabelVideoRequest
- type GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse
- type GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse
- type GoogleCloudDatalabelingV1beta1ListDataItemsResponse
- type GoogleCloudDatalabelingV1beta1ListDatasetsResponse
- type GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse
- type GoogleCloudDatalabelingV1beta1ListExamplesResponse
- type GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse
- type GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse
- type GoogleCloudDatalabelingV1beta1ListInstructionsResponse
- type GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly
- type GoogleCloudDatalabelingV1beta1NormalizedPolyline
- type GoogleCloudDatalabelingV1beta1NormalizedVertex
- type GoogleCloudDatalabelingV1beta1ObjectDetectionConfig
- type GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics
- type GoogleCloudDatalabelingV1beta1ObjectTrackingConfig
- type GoogleCloudDatalabelingV1beta1ObjectTrackingFrame
- type GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata
- type GoogleCloudDatalabelingV1beta1OperatorMetadata
- type GoogleCloudDatalabelingV1beta1OutputConfig
- type GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest
- type GoogleCloudDatalabelingV1beta1PdfInstruction
- type GoogleCloudDatalabelingV1beta1Polyline
- type GoogleCloudDatalabelingV1beta1PolylineConfig
- type GoogleCloudDatalabelingV1beta1PrCurve
- type GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata
- type GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest
- type GoogleCloudDatalabelingV1beta1Row
- type GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse
- type GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest
- type GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse
- type GoogleCloudDatalabelingV1beta1SegmentationConfig
- type GoogleCloudDatalabelingV1beta1SentimentConfig
- type GoogleCloudDatalabelingV1beta1SequentialSegment
- type GoogleCloudDatalabelingV1beta1TextClassificationAnnotation
- type GoogleCloudDatalabelingV1beta1TextClassificationConfig
- type GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation
- type GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig
- type GoogleCloudDatalabelingV1beta1TextMetadata
- type GoogleCloudDatalabelingV1beta1TextPayload
- type GoogleCloudDatalabelingV1beta1TimeSegment
- type GoogleCloudDatalabelingV1beta1Vertex
- type GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation
- type GoogleCloudDatalabelingV1beta1VideoClassificationConfig
- type GoogleCloudDatalabelingV1beta1VideoEventAnnotation
- type GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation
- type GoogleCloudDatalabelingV1beta1VideoPayload
- type GoogleCloudDatalabelingV1beta1VideoThumbnail
- type GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata
- type GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse
- type GoogleCloudDatalabelingV1p1alpha1GcsDestination
- type GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination
- type GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig
- type GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse
- type GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1LabelStats
- type GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata
- type GoogleCloudDatalabelingV1p1alpha1OutputConfig
- type GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata
- type GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse
- type GoogleCloudDatalabelingV1p2alpha1GcsDestination
- type GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination
- type GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig
- type GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse
- type GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1LabelStats
- type GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata
- type GoogleCloudDatalabelingV1p2alpha1OutputConfig
- type GoogleLongrunningListOperationsResponse
- type GoogleLongrunningOperation
- type GoogleProtobufEmpty
- type GoogleRpcStatus
- type ProjectsAnnotationSpecSetsCreateCall
- func (c *ProjectsAnnotationSpecSetsCreateCall) Context(ctx context.Context) *ProjectsAnnotationSpecSetsCreateCall
- func (c *ProjectsAnnotationSpecSetsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1AnnotationSpecSet, error)
- func (c *ProjectsAnnotationSpecSetsCreateCall) Fields(s ...googleapi.Field) *ProjectsAnnotationSpecSetsCreateCall
- func (c *ProjectsAnnotationSpecSetsCreateCall) Header() http.Header
- type ProjectsAnnotationSpecSetsDeleteCall
- func (c *ProjectsAnnotationSpecSetsDeleteCall) Context(ctx context.Context) *ProjectsAnnotationSpecSetsDeleteCall
- func (c *ProjectsAnnotationSpecSetsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsAnnotationSpecSetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsAnnotationSpecSetsDeleteCall
- func (c *ProjectsAnnotationSpecSetsDeleteCall) Header() http.Header
- type ProjectsAnnotationSpecSetsGetCall
- func (c *ProjectsAnnotationSpecSetsGetCall) Context(ctx context.Context) *ProjectsAnnotationSpecSetsGetCall
- func (c *ProjectsAnnotationSpecSetsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1AnnotationSpecSet, error)
- func (c *ProjectsAnnotationSpecSetsGetCall) Fields(s ...googleapi.Field) *ProjectsAnnotationSpecSetsGetCall
- func (c *ProjectsAnnotationSpecSetsGetCall) Header() http.Header
- func (c *ProjectsAnnotationSpecSetsGetCall) IfNoneMatch(entityTag string) *ProjectsAnnotationSpecSetsGetCall
- type ProjectsAnnotationSpecSetsListCall
- func (c *ProjectsAnnotationSpecSetsListCall) Context(ctx context.Context) *ProjectsAnnotationSpecSetsListCall
- func (c *ProjectsAnnotationSpecSetsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse, error)
- func (c *ProjectsAnnotationSpecSetsListCall) Fields(s ...googleapi.Field) *ProjectsAnnotationSpecSetsListCall
- func (c *ProjectsAnnotationSpecSetsListCall) Filter(filter string) *ProjectsAnnotationSpecSetsListCall
- func (c *ProjectsAnnotationSpecSetsListCall) Header() http.Header
- func (c *ProjectsAnnotationSpecSetsListCall) IfNoneMatch(entityTag string) *ProjectsAnnotationSpecSetsListCall
- func (c *ProjectsAnnotationSpecSetsListCall) PageSize(pageSize int64) *ProjectsAnnotationSpecSetsListCall
- func (c *ProjectsAnnotationSpecSetsListCall) PageToken(pageToken string) *ProjectsAnnotationSpecSetsListCall
- func (c *ProjectsAnnotationSpecSetsListCall) Pages(ctx context.Context, ...) error
- type ProjectsAnnotationSpecSetsService
- func (r *ProjectsAnnotationSpecSetsService) Create(parent string, ...) *ProjectsAnnotationSpecSetsCreateCall
- func (r *ProjectsAnnotationSpecSetsService) Delete(name string) *ProjectsAnnotationSpecSetsDeleteCall
- func (r *ProjectsAnnotationSpecSetsService) Get(name string) *ProjectsAnnotationSpecSetsGetCall
- func (r *ProjectsAnnotationSpecSetsService) List(parent string) *ProjectsAnnotationSpecSetsListCall
- type ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1DataItem, error)
- func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) Header() http.Header
- func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall
- type ProjectsDatasetsAnnotatedDatasetsDataItemsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListDataItemsResponse, error)
- func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Filter(filter string) *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Header() http.Header
- func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) PageSize(pageSize int64) *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) PageToken(pageToken string) *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Pages(ctx context.Context, ...) error
- type ProjectsDatasetsAnnotatedDatasetsDataItemsService
- type ProjectsDatasetsAnnotatedDatasetsDeleteCall
- func (c *ProjectsDatasetsAnnotatedDatasetsDeleteCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsDeleteCall
- func (c *ProjectsDatasetsAnnotatedDatasetsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsDatasetsAnnotatedDatasetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsDeleteCall
- func (c *ProjectsDatasetsAnnotatedDatasetsDeleteCall) Header() http.Header
- type ProjectsDatasetsAnnotatedDatasetsExamplesGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1Example, error)
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Filter(filter string) *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Header() http.Header
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall
- type ProjectsDatasetsAnnotatedDatasetsExamplesListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsExamplesListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListExamplesResponse, error)
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsExamplesListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Filter(filter string) *ProjectsDatasetsAnnotatedDatasetsExamplesListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Header() http.Header
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsExamplesListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) PageSize(pageSize int64) *ProjectsDatasetsAnnotatedDatasetsExamplesListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) PageToken(pageToken string) *ProjectsDatasetsAnnotatedDatasetsExamplesListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Pages(ctx context.Context, ...) error
- type ProjectsDatasetsAnnotatedDatasetsExamplesService
- type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) Header() http.Header
- type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall) Header() http.Header
- type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall) Header() http.Header
- type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1FeedbackMessage, error)
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) Header() http.Header
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall
- type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse, error)
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Header() http.Header
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) PageSize(pageSize int64) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) PageToken(pageToken string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Pages(ctx context.Context, ...) error
- type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService
- func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) Create(parent string, ...) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall
- func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) Delete(name string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall
- func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) Get(name string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall
- func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) List(parent string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall
- type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1FeedbackThread, error)
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) Header() http.Header
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall
- type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse, error)
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Header() http.Header
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) PageSize(pageSize int64) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) PageToken(pageToken string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Pages(ctx context.Context, ...) error
- type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService
- func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService) Delete(name string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall
- func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService) Get(name string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall
- func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService) List(parent string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall
- type ProjectsDatasetsAnnotatedDatasetsGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsGetCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1AnnotatedDataset, error)
- func (c *ProjectsDatasetsAnnotatedDatasetsGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsGetCall
- func (c *ProjectsDatasetsAnnotatedDatasetsGetCall) Header() http.Header
- func (c *ProjectsDatasetsAnnotatedDatasetsGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsGetCall
- type ProjectsDatasetsAnnotatedDatasetsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsListCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse, error)
- func (c *ProjectsDatasetsAnnotatedDatasetsListCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsListCall) Filter(filter string) *ProjectsDatasetsAnnotatedDatasetsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsListCall) Header() http.Header
- func (c *ProjectsDatasetsAnnotatedDatasetsListCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsListCall) PageSize(pageSize int64) *ProjectsDatasetsAnnotatedDatasetsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsListCall) PageToken(pageToken string) *ProjectsDatasetsAnnotatedDatasetsListCall
- func (c *ProjectsDatasetsAnnotatedDatasetsListCall) Pages(ctx context.Context, ...) error
- type ProjectsDatasetsAnnotatedDatasetsService
- func (r *ProjectsDatasetsAnnotatedDatasetsService) Delete(name string) *ProjectsDatasetsAnnotatedDatasetsDeleteCall
- func (r *ProjectsDatasetsAnnotatedDatasetsService) Get(name string) *ProjectsDatasetsAnnotatedDatasetsGetCall
- func (r *ProjectsDatasetsAnnotatedDatasetsService) List(parent string) *ProjectsDatasetsAnnotatedDatasetsListCall
- type ProjectsDatasetsCreateCall
- func (c *ProjectsDatasetsCreateCall) Context(ctx context.Context) *ProjectsDatasetsCreateCall
- func (c *ProjectsDatasetsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1Dataset, error)
- func (c *ProjectsDatasetsCreateCall) Fields(s ...googleapi.Field) *ProjectsDatasetsCreateCall
- func (c *ProjectsDatasetsCreateCall) Header() http.Header
- type ProjectsDatasetsDataItemsGetCall
- func (c *ProjectsDatasetsDataItemsGetCall) Context(ctx context.Context) *ProjectsDatasetsDataItemsGetCall
- func (c *ProjectsDatasetsDataItemsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1DataItem, error)
- func (c *ProjectsDatasetsDataItemsGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsDataItemsGetCall
- func (c *ProjectsDatasetsDataItemsGetCall) Header() http.Header
- func (c *ProjectsDatasetsDataItemsGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsDataItemsGetCall
- type ProjectsDatasetsDataItemsListCall
- func (c *ProjectsDatasetsDataItemsListCall) Context(ctx context.Context) *ProjectsDatasetsDataItemsListCall
- func (c *ProjectsDatasetsDataItemsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListDataItemsResponse, error)
- func (c *ProjectsDatasetsDataItemsListCall) Fields(s ...googleapi.Field) *ProjectsDatasetsDataItemsListCall
- func (c *ProjectsDatasetsDataItemsListCall) Filter(filter string) *ProjectsDatasetsDataItemsListCall
- func (c *ProjectsDatasetsDataItemsListCall) Header() http.Header
- func (c *ProjectsDatasetsDataItemsListCall) IfNoneMatch(entityTag string) *ProjectsDatasetsDataItemsListCall
- func (c *ProjectsDatasetsDataItemsListCall) PageSize(pageSize int64) *ProjectsDatasetsDataItemsListCall
- func (c *ProjectsDatasetsDataItemsListCall) PageToken(pageToken string) *ProjectsDatasetsDataItemsListCall
- func (c *ProjectsDatasetsDataItemsListCall) Pages(ctx context.Context, ...) error
- type ProjectsDatasetsDataItemsService
- type ProjectsDatasetsDeleteCall
- func (c *ProjectsDatasetsDeleteCall) Context(ctx context.Context) *ProjectsDatasetsDeleteCall
- func (c *ProjectsDatasetsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsDatasetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsDatasetsDeleteCall
- func (c *ProjectsDatasetsDeleteCall) Header() http.Header
- type ProjectsDatasetsEvaluationsExampleComparisonsSearchCall
- func (c *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Context(ctx context.Context) *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall
- func (c *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse, error)
- func (c *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Fields(s ...googleapi.Field) *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall
- func (c *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Header() http.Header
- func (c *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Pages(ctx context.Context, ...) error
- type ProjectsDatasetsEvaluationsExampleComparisonsService
- type ProjectsDatasetsEvaluationsGetCall
- func (c *ProjectsDatasetsEvaluationsGetCall) Context(ctx context.Context) *ProjectsDatasetsEvaluationsGetCall
- func (c *ProjectsDatasetsEvaluationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1Evaluation, error)
- func (c *ProjectsDatasetsEvaluationsGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsEvaluationsGetCall
- func (c *ProjectsDatasetsEvaluationsGetCall) Header() http.Header
- func (c *ProjectsDatasetsEvaluationsGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsEvaluationsGetCall
- type ProjectsDatasetsEvaluationsService
- type ProjectsDatasetsExportDataCall
- func (c *ProjectsDatasetsExportDataCall) Context(ctx context.Context) *ProjectsDatasetsExportDataCall
- func (c *ProjectsDatasetsExportDataCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsDatasetsExportDataCall) Fields(s ...googleapi.Field) *ProjectsDatasetsExportDataCall
- func (c *ProjectsDatasetsExportDataCall) Header() http.Header
- type ProjectsDatasetsGetCall
- func (c *ProjectsDatasetsGetCall) Context(ctx context.Context) *ProjectsDatasetsGetCall
- func (c *ProjectsDatasetsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1Dataset, error)
- func (c *ProjectsDatasetsGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsGetCall
- func (c *ProjectsDatasetsGetCall) Header() http.Header
- func (c *ProjectsDatasetsGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsGetCall
- type ProjectsDatasetsImageLabelCall
- func (c *ProjectsDatasetsImageLabelCall) Context(ctx context.Context) *ProjectsDatasetsImageLabelCall
- func (c *ProjectsDatasetsImageLabelCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsDatasetsImageLabelCall) Fields(s ...googleapi.Field) *ProjectsDatasetsImageLabelCall
- func (c *ProjectsDatasetsImageLabelCall) Header() http.Header
- type ProjectsDatasetsImageService
- type ProjectsDatasetsImportDataCall
- func (c *ProjectsDatasetsImportDataCall) Context(ctx context.Context) *ProjectsDatasetsImportDataCall
- func (c *ProjectsDatasetsImportDataCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsDatasetsImportDataCall) Fields(s ...googleapi.Field) *ProjectsDatasetsImportDataCall
- func (c *ProjectsDatasetsImportDataCall) Header() http.Header
- type ProjectsDatasetsListCall
- func (c *ProjectsDatasetsListCall) Context(ctx context.Context) *ProjectsDatasetsListCall
- func (c *ProjectsDatasetsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListDatasetsResponse, error)
- func (c *ProjectsDatasetsListCall) Fields(s ...googleapi.Field) *ProjectsDatasetsListCall
- func (c *ProjectsDatasetsListCall) Filter(filter string) *ProjectsDatasetsListCall
- func (c *ProjectsDatasetsListCall) Header() http.Header
- func (c *ProjectsDatasetsListCall) IfNoneMatch(entityTag string) *ProjectsDatasetsListCall
- func (c *ProjectsDatasetsListCall) PageSize(pageSize int64) *ProjectsDatasetsListCall
- func (c *ProjectsDatasetsListCall) PageToken(pageToken string) *ProjectsDatasetsListCall
- func (c *ProjectsDatasetsListCall) Pages(ctx context.Context, ...) error
- type ProjectsDatasetsService
- func (r *ProjectsDatasetsService) Create(parent string, ...) *ProjectsDatasetsCreateCall
- func (r *ProjectsDatasetsService) Delete(name string) *ProjectsDatasetsDeleteCall
- func (r *ProjectsDatasetsService) ExportData(name string, ...) *ProjectsDatasetsExportDataCall
- func (r *ProjectsDatasetsService) Get(name string) *ProjectsDatasetsGetCall
- func (r *ProjectsDatasetsService) ImportData(name string, ...) *ProjectsDatasetsImportDataCall
- func (r *ProjectsDatasetsService) List(parent string) *ProjectsDatasetsListCall
- type ProjectsDatasetsTextLabelCall
- func (c *ProjectsDatasetsTextLabelCall) Context(ctx context.Context) *ProjectsDatasetsTextLabelCall
- func (c *ProjectsDatasetsTextLabelCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsDatasetsTextLabelCall) Fields(s ...googleapi.Field) *ProjectsDatasetsTextLabelCall
- func (c *ProjectsDatasetsTextLabelCall) Header() http.Header
- type ProjectsDatasetsTextService
- type ProjectsDatasetsVideoLabelCall
- func (c *ProjectsDatasetsVideoLabelCall) Context(ctx context.Context) *ProjectsDatasetsVideoLabelCall
- func (c *ProjectsDatasetsVideoLabelCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsDatasetsVideoLabelCall) Fields(s ...googleapi.Field) *ProjectsDatasetsVideoLabelCall
- func (c *ProjectsDatasetsVideoLabelCall) Header() http.Header
- type ProjectsDatasetsVideoService
- type ProjectsEvaluationJobsCreateCall
- func (c *ProjectsEvaluationJobsCreateCall) Context(ctx context.Context) *ProjectsEvaluationJobsCreateCall
- func (c *ProjectsEvaluationJobsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1EvaluationJob, error)
- func (c *ProjectsEvaluationJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsEvaluationJobsCreateCall
- func (c *ProjectsEvaluationJobsCreateCall) Header() http.Header
- type ProjectsEvaluationJobsDeleteCall
- func (c *ProjectsEvaluationJobsDeleteCall) Context(ctx context.Context) *ProjectsEvaluationJobsDeleteCall
- func (c *ProjectsEvaluationJobsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsEvaluationJobsDeleteCall) Fields(s ...googleapi.Field) *ProjectsEvaluationJobsDeleteCall
- func (c *ProjectsEvaluationJobsDeleteCall) Header() http.Header
- type ProjectsEvaluationJobsGetCall
- func (c *ProjectsEvaluationJobsGetCall) Context(ctx context.Context) *ProjectsEvaluationJobsGetCall
- func (c *ProjectsEvaluationJobsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1EvaluationJob, error)
- func (c *ProjectsEvaluationJobsGetCall) Fields(s ...googleapi.Field) *ProjectsEvaluationJobsGetCall
- func (c *ProjectsEvaluationJobsGetCall) Header() http.Header
- func (c *ProjectsEvaluationJobsGetCall) IfNoneMatch(entityTag string) *ProjectsEvaluationJobsGetCall
- type ProjectsEvaluationJobsListCall
- func (c *ProjectsEvaluationJobsListCall) Context(ctx context.Context) *ProjectsEvaluationJobsListCall
- func (c *ProjectsEvaluationJobsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse, error)
- func (c *ProjectsEvaluationJobsListCall) Fields(s ...googleapi.Field) *ProjectsEvaluationJobsListCall
- func (c *ProjectsEvaluationJobsListCall) Filter(filter string) *ProjectsEvaluationJobsListCall
- func (c *ProjectsEvaluationJobsListCall) Header() http.Header
- func (c *ProjectsEvaluationJobsListCall) IfNoneMatch(entityTag string) *ProjectsEvaluationJobsListCall
- func (c *ProjectsEvaluationJobsListCall) PageSize(pageSize int64) *ProjectsEvaluationJobsListCall
- func (c *ProjectsEvaluationJobsListCall) PageToken(pageToken string) *ProjectsEvaluationJobsListCall
- func (c *ProjectsEvaluationJobsListCall) Pages(ctx context.Context, ...) error
- type ProjectsEvaluationJobsPatchCall
- func (c *ProjectsEvaluationJobsPatchCall) Context(ctx context.Context) *ProjectsEvaluationJobsPatchCall
- func (c *ProjectsEvaluationJobsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1EvaluationJob, error)
- func (c *ProjectsEvaluationJobsPatchCall) Fields(s ...googleapi.Field) *ProjectsEvaluationJobsPatchCall
- func (c *ProjectsEvaluationJobsPatchCall) Header() http.Header
- func (c *ProjectsEvaluationJobsPatchCall) UpdateMask(updateMask string) *ProjectsEvaluationJobsPatchCall
- type ProjectsEvaluationJobsPauseCall
- func (c *ProjectsEvaluationJobsPauseCall) Context(ctx context.Context) *ProjectsEvaluationJobsPauseCall
- func (c *ProjectsEvaluationJobsPauseCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsEvaluationJobsPauseCall) Fields(s ...googleapi.Field) *ProjectsEvaluationJobsPauseCall
- func (c *ProjectsEvaluationJobsPauseCall) Header() http.Header
- type ProjectsEvaluationJobsResumeCall
- func (c *ProjectsEvaluationJobsResumeCall) Context(ctx context.Context) *ProjectsEvaluationJobsResumeCall
- func (c *ProjectsEvaluationJobsResumeCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsEvaluationJobsResumeCall) Fields(s ...googleapi.Field) *ProjectsEvaluationJobsResumeCall
- func (c *ProjectsEvaluationJobsResumeCall) Header() http.Header
- type ProjectsEvaluationJobsService
- func (r *ProjectsEvaluationJobsService) Create(parent string, ...) *ProjectsEvaluationJobsCreateCall
- func (r *ProjectsEvaluationJobsService) Delete(name string) *ProjectsEvaluationJobsDeleteCall
- func (r *ProjectsEvaluationJobsService) Get(name string) *ProjectsEvaluationJobsGetCall
- func (r *ProjectsEvaluationJobsService) List(parent string) *ProjectsEvaluationJobsListCall
- func (r *ProjectsEvaluationJobsService) Patch(name string, ...) *ProjectsEvaluationJobsPatchCall
- func (r *ProjectsEvaluationJobsService) Pause(name string, ...) *ProjectsEvaluationJobsPauseCall
- func (r *ProjectsEvaluationJobsService) Resume(name string, ...) *ProjectsEvaluationJobsResumeCall
- type ProjectsEvaluationsSearchCall
- func (c *ProjectsEvaluationsSearchCall) Context(ctx context.Context) *ProjectsEvaluationsSearchCall
- func (c *ProjectsEvaluationsSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse, error)
- func (c *ProjectsEvaluationsSearchCall) Fields(s ...googleapi.Field) *ProjectsEvaluationsSearchCall
- func (c *ProjectsEvaluationsSearchCall) Filter(filter string) *ProjectsEvaluationsSearchCall
- func (c *ProjectsEvaluationsSearchCall) Header() http.Header
- func (c *ProjectsEvaluationsSearchCall) IfNoneMatch(entityTag string) *ProjectsEvaluationsSearchCall
- func (c *ProjectsEvaluationsSearchCall) PageSize(pageSize int64) *ProjectsEvaluationsSearchCall
- func (c *ProjectsEvaluationsSearchCall) PageToken(pageToken string) *ProjectsEvaluationsSearchCall
- func (c *ProjectsEvaluationsSearchCall) Pages(ctx context.Context, ...) error
- type ProjectsEvaluationsService
- type ProjectsInstructionsCreateCall
- func (c *ProjectsInstructionsCreateCall) Context(ctx context.Context) *ProjectsInstructionsCreateCall
- func (c *ProjectsInstructionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsInstructionsCreateCall) Fields(s ...googleapi.Field) *ProjectsInstructionsCreateCall
- func (c *ProjectsInstructionsCreateCall) Header() http.Header
- type ProjectsInstructionsDeleteCall
- func (c *ProjectsInstructionsDeleteCall) Context(ctx context.Context) *ProjectsInstructionsDeleteCall
- func (c *ProjectsInstructionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsInstructionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsInstructionsDeleteCall
- func (c *ProjectsInstructionsDeleteCall) Header() http.Header
- type ProjectsInstructionsGetCall
- func (c *ProjectsInstructionsGetCall) Context(ctx context.Context) *ProjectsInstructionsGetCall
- func (c *ProjectsInstructionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1Instruction, error)
- func (c *ProjectsInstructionsGetCall) Fields(s ...googleapi.Field) *ProjectsInstructionsGetCall
- func (c *ProjectsInstructionsGetCall) Header() http.Header
- func (c *ProjectsInstructionsGetCall) IfNoneMatch(entityTag string) *ProjectsInstructionsGetCall
- type ProjectsInstructionsListCall
- func (c *ProjectsInstructionsListCall) Context(ctx context.Context) *ProjectsInstructionsListCall
- func (c *ProjectsInstructionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListInstructionsResponse, error)
- func (c *ProjectsInstructionsListCall) Fields(s ...googleapi.Field) *ProjectsInstructionsListCall
- func (c *ProjectsInstructionsListCall) Filter(filter string) *ProjectsInstructionsListCall
- func (c *ProjectsInstructionsListCall) Header() http.Header
- func (c *ProjectsInstructionsListCall) IfNoneMatch(entityTag string) *ProjectsInstructionsListCall
- func (c *ProjectsInstructionsListCall) PageSize(pageSize int64) *ProjectsInstructionsListCall
- func (c *ProjectsInstructionsListCall) PageToken(pageToken string) *ProjectsInstructionsListCall
- func (c *ProjectsInstructionsListCall) Pages(ctx context.Context, ...) error
- type ProjectsInstructionsService
- func (r *ProjectsInstructionsService) Create(parent string, ...) *ProjectsInstructionsCreateCall
- func (r *ProjectsInstructionsService) Delete(name string) *ProjectsInstructionsDeleteCall
- func (r *ProjectsInstructionsService) Get(name string) *ProjectsInstructionsGetCall
- func (r *ProjectsInstructionsService) List(parent string) *ProjectsInstructionsListCall
- type ProjectsOperationsCancelCall
- func (c *ProjectsOperationsCancelCall) Context(ctx context.Context) *ProjectsOperationsCancelCall
- func (c *ProjectsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsOperationsCancelCall
- func (c *ProjectsOperationsCancelCall) Header() http.Header
- func (c *ProjectsOperationsCancelCall) IfNoneMatch(entityTag string) *ProjectsOperationsCancelCall
- type ProjectsOperationsDeleteCall
- func (c *ProjectsOperationsDeleteCall) Context(ctx context.Context) *ProjectsOperationsDeleteCall
- func (c *ProjectsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsOperationsDeleteCall
- func (c *ProjectsOperationsDeleteCall) Header() http.Header
- type ProjectsOperationsGetCall
- func (c *ProjectsOperationsGetCall) Context(ctx context.Context) *ProjectsOperationsGetCall
- func (c *ProjectsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsOperationsGetCall
- func (c *ProjectsOperationsGetCall) Header() http.Header
- func (c *ProjectsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsOperationsGetCall
- type ProjectsOperationsListCall
- func (c *ProjectsOperationsListCall) Context(ctx context.Context) *ProjectsOperationsListCall
- func (c *ProjectsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsOperationsListCall
- func (c *ProjectsOperationsListCall) Filter(filter string) *ProjectsOperationsListCall
- func (c *ProjectsOperationsListCall) Header() http.Header
- func (c *ProjectsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsOperationsListCall
- func (c *ProjectsOperationsListCall) PageSize(pageSize int64) *ProjectsOperationsListCall
- func (c *ProjectsOperationsListCall) PageToken(pageToken string) *ProjectsOperationsListCall
- func (c *ProjectsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsOperationsService
- func (r *ProjectsOperationsService) Cancel(name string) *ProjectsOperationsCancelCall
- func (r *ProjectsOperationsService) Delete(name string) *ProjectsOperationsDeleteCall
- func (r *ProjectsOperationsService) Get(name string) *ProjectsOperationsGetCall
- func (r *ProjectsOperationsService) List(name string) *ProjectsOperationsListCall
- type ProjectsService
- type Service
Constants ¶
const (
// See, edit, configure, and delete your Google Cloud Platform data
CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"
)
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata ¶
type GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata struct { // CreateTime: Timestamp when create instruction request was created. CreateTime string `json:"createTime,omitempty"` // Instruction: The name of the created Instruction. // projects/{project_id}/instructions/{instruction_id} Instruction string `json:"instruction,omitempty"` // PartialFailures: Partial failures encountered. E.g. single files that // couldn't be read. Status details field will contain standard GCP // error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata: Metadata of a CreateInstruction operation.
func (*GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata struct { // AnnotatedDataset: Output only. The name of annotated dataset in // format "projects/*/datasets/*/annotatedDatasets/*". AnnotatedDataset string `json:"annotatedDataset,omitempty"` // CreateTime: Output only. Timestamp when export dataset request was // created. CreateTime string `json:"createTime,omitempty"` // Dataset: Output only. The name of dataset to be exported. // "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // PartialFailures: Output only. Partial failures encountered. E.g. // single files that couldn't be read. Status details field will contain // standard GCP error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata: Metadata of an ExportData operation.
func (*GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse ¶
type GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse struct { // AnnotatedDataset: Output only. The name of annotated dataset in // format "projects/*/datasets/*/annotatedDatasets/*". AnnotatedDataset string `json:"annotatedDataset,omitempty"` // Dataset: Ouptut only. The name of dataset. "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // ExportCount: Output only. Number of examples exported successfully. ExportCount int64 `json:"exportCount,omitempty"` // LabelStats: Output only. Statistic infos of labels in the exported // dataset. LabelStats *GoogleCloudDatalabelingV1alpha1LabelStats `json:"labelStats,omitempty"` // OutputConfig: Output only. output_config in the ExportData request. OutputConfig *GoogleCloudDatalabelingV1alpha1OutputConfig `json:"outputConfig,omitempty"` // TotalCount: Output only. Total number of examples requested to export TotalCount int64 `json:"totalCount,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse: Response used for ExportDataset longrunning operation.
func (*GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1GcsDestination ¶
type GoogleCloudDatalabelingV1alpha1GcsDestination struct { // MimeType: Required. The format of the gcs destination. Only // "text/csv" and "application/json" are supported. MimeType string `json:"mimeType,omitempty"` // OutputUri: Required. The output uri of destination file. OutputUri string `json:"outputUri,omitempty"` // ForceSendFields is a list of field names (e.g. "MimeType") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MimeType") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1GcsDestination: Export destination of the data.Only gcs path is allowed in output_uri.
func (*GoogleCloudDatalabelingV1alpha1GcsDestination) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1GcsDestination) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1GcsFolderDestination ¶
type GoogleCloudDatalabelingV1alpha1GcsFolderDestination struct { // OutputFolderUri: Required. Cloud Storage directory to export data to. OutputFolderUri string `json:"outputFolderUri,omitempty"` // ForceSendFields is a list of field names (e.g. "OutputFolderUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OutputFolderUri") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1GcsFolderDestination: Export folder destination of the data.
func (*GoogleCloudDatalabelingV1alpha1GcsFolderDestination) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1GcsFolderDestination) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig ¶
type GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig struct { // AnnotatedDatasetDescription: Optional. A human-readable description // for AnnotatedDataset. The description can be up to 10000 characters // long. AnnotatedDatasetDescription string `json:"annotatedDatasetDescription,omitempty"` // AnnotatedDatasetDisplayName: Required. A human-readable name for // AnnotatedDataset defined by users. Maximum of 64 characters . AnnotatedDatasetDisplayName string `json:"annotatedDatasetDisplayName,omitempty"` // ContributorEmails: Optional. If you want your own labeling // contributors to manage and work on this labeling request, you can set // these contributors here. We will give them access to the question // types in crowdcompute. Note that these emails must be registered in // crowdcompute worker UI: https://crowd-compute.appspot.com/ ContributorEmails []string `json:"contributorEmails,omitempty"` // Instruction: Required. Instruction resource name. Instruction string `json:"instruction,omitempty"` // LabelGroup: Optional. A human-readable label used to logically group // labeling tasks. This string must match the regular expression // `[a-zA-Z\\d_-]{0,128}`. LabelGroup string `json:"labelGroup,omitempty"` // LanguageCode: Optional. The Language of this question, as a BCP-47 // (https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is // en-US. Only need to set this when task is language related. For // example, French text classification. LanguageCode string `json:"languageCode,omitempty"` // QuestionDuration: Optional. Maximum duration for contributors to // answer a question. Maximum is 3600 seconds. Default is 3600 seconds. QuestionDuration string `json:"questionDuration,omitempty"` // ReplicaCount: Optional. Replication of questions. Each question will // be sent to up to this number of contributors to label. Aggregated // answers will be returned. Default is set to 1. For image related // labeling, valid values are 1, 3, 5. ReplicaCount int64 `json:"replicaCount,omitempty"` // UserEmailAddress: Email of the user who started the labeling task and // should be notified by email. If empty no notification will be sent. UserEmailAddress string `json:"userEmailAddress,omitempty"` // ForceSendFields is a list of field names (e.g. // "AnnotatedDatasetDescription") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AnnotatedDatasetDescription") to include in API requests with the // JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig: Configuration for how human labeling task should be done.
func (*GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata struct { // CreateTime: Output only. Timestamp when import dataset request was // created. CreateTime string `json:"createTime,omitempty"` // Dataset: Output only. The name of imported dataset. // "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // PartialFailures: Output only. Partial failures encountered. E.g. // single files that couldn't be read. Status details field will contain // standard GCP error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata: Metadata of an ImportData operation.
func (*GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse ¶
type GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse struct { // Dataset: Ouptut only. The name of imported dataset. Dataset string `json:"dataset,omitempty"` // ImportCount: Output only. Number of examples imported successfully. ImportCount int64 `json:"importCount,omitempty"` // TotalCount: Output only. Total number of examples requested to import TotalCount int64 `json:"totalCount,omitempty"` // ForceSendFields is a list of field names (e.g. "Dataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dataset") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse: Response used for ImportData longrunning operation.
func (*GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata:
Details of a LabelImageBoundingBox operation metadata.
func (*GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata : Details of LabelImageBoundingPoly operation metadata.
func (*GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetada ta: Metadata of a LabelImageClassification operation.
func (*GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata struct { // BasicConfig: Basic human annotation config. BasicConfig *GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationM etadata: Details of a LabelImageOrientedBoundingBox operation metadata.
func (*GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata: Details of LabelImagePolyline operation metadata.
func (*GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata struct { // BasicConfig: Basic human annotation config. BasicConfig *GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata : Details of a LabelImageSegmentation operation metadata.
func (*GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1LabelOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1LabelOperationMetadata struct { // AnnotatedDataset: Output only. The name of annotated dataset in // format "projects/*/datasets/*/annotatedDatasets/*". AnnotatedDataset string `json:"annotatedDataset,omitempty"` // CreateTime: Output only. Timestamp when labeling request was created. CreateTime string `json:"createTime,omitempty"` // Dataset: Output only. The name of dataset to be labeled. // "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // ImageBoundingBoxDetails: Details of label image bounding box // operation. ImageBoundingBoxDetails *GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata `json:"imageBoundingBoxDetails,omitempty"` // ImageBoundingPolyDetails: Details of label image bounding poly // operation. ImageBoundingPolyDetails *GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata `json:"imageBoundingPolyDetails,omitempty"` // ImageClassificationDetails: Details of label image classification // operation. ImageClassificationDetails *GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata `json:"imageClassificationDetails,omitempty"` // ImageOrientedBoundingBoxDetails: Details of label image oriented // bounding box operation. ImageOrientedBoundingBoxDetails *GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata `json:"imageOrientedBoundingBoxDetails,omitempty"` // ImagePolylineDetails: Details of label image polyline operation. ImagePolylineDetails *GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata `json:"imagePolylineDetails,omitempty"` // ImageSegmentationDetails: Details of label image segmentation // operation. ImageSegmentationDetails *GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata `json:"imageSegmentationDetails,omitempty"` // PartialFailures: Output only. Partial failures encountered. E.g. // single files that couldn't be read. Status details field will contain // standard GCP error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ProgressPercent: Output only. Progress of label operation. Range: [0, // 100]. ProgressPercent int64 `json:"progressPercent,omitempty"` // TextClassificationDetails: Details of label text classification // operation. TextClassificationDetails *GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata `json:"textClassificationDetails,omitempty"` // TextEntityExtractionDetails: Details of label text entity extraction // operation. TextEntityExtractionDetails *GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata `json:"textEntityExtractionDetails,omitempty"` // VideoClassificationDetails: Details of label video classification // operation. VideoClassificationDetails *GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata `json:"videoClassificationDetails,omitempty"` // VideoEventDetails: Details of label video event operation. VideoEventDetails *GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata `json:"videoEventDetails,omitempty"` // VideoObjectDetectionDetails: Details of label video object detection // operation. VideoObjectDetectionDetails *GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata `json:"videoObjectDetectionDetails,omitempty"` // VideoObjectTrackingDetails: Details of label video object tracking // operation. VideoObjectTrackingDetails *GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata `json:"videoObjectTrackingDetails,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1LabelOperationMetadata: Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 23
func (*GoogleCloudDatalabelingV1alpha1LabelOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1LabelOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1LabelStats ¶
type GoogleCloudDatalabelingV1alpha1LabelStats struct { // ExampleCount: Map of each annotation spec's example count. Key is the // annotation spec name and value is the number of examples for that // annotation spec. If the annotated dataset does not have annotation // spec, the map will return a pair where the key is empty string and // value is the total number of annotations. ExampleCount map[string]string `json:"exampleCount,omitempty"` // ForceSendFields is a list of field names (e.g. "ExampleCount") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExampleCount") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1LabelStats: Statistics about annotation specs.
func (*GoogleCloudDatalabelingV1alpha1LabelStats) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1LabelStats) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadat a: Details of a LabelTextClassification operation metadata.
func (*GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetad ata: Details of a LabelTextEntityExtraction operation metadata.
func (*GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetada ta: Details of a LabelVideoClassification operation metadata.
func (*GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata: Details of a LabelVideoEvent operation metadata.
func (*GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetad ata: Details of a LabelVideoObjectDetection operation metadata.
func (*GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata ¶
type GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetada ta: Details of a LabelVideoObjectTracking operation metadata.
func (*GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1alpha1OutputConfig ¶
type GoogleCloudDatalabelingV1alpha1OutputConfig struct { // GcsDestination: Output to a file in Cloud Storage. Should be used for // labeling output other than image segmentation. GcsDestination *GoogleCloudDatalabelingV1alpha1GcsDestination `json:"gcsDestination,omitempty"` // GcsFolderDestination: Output to a folder in Cloud Storage. Should be // used for image segmentation or document de-identification labeling // outputs. GcsFolderDestination *GoogleCloudDatalabelingV1alpha1GcsFolderDestination `json:"gcsFolderDestination,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsDestination") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsDestination") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1alpha1OutputConfig: The configuration of output data.
func (*GoogleCloudDatalabelingV1alpha1OutputConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1alpha1OutputConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1AnnotatedDataset ¶
type GoogleCloudDatalabelingV1beta1AnnotatedDataset struct { // AnnotationSource: Output only. Source of the annotation. // // Possible values: // "ANNOTATION_SOURCE_UNSPECIFIED" // "OPERATOR" - Answer is provided by a human contributor. AnnotationSource string `json:"annotationSource,omitempty"` // AnnotationType: Output only. Type of the annotation. It is specified // when starting labeling task. // // Possible values: // "ANNOTATION_TYPE_UNSPECIFIED" // "IMAGE_CLASSIFICATION_ANNOTATION" - Classification annotations in // an image. Allowed for continuous evaluation. // "IMAGE_BOUNDING_BOX_ANNOTATION" - Bounding box annotations in an // image. A form of image object detection. Allowed for continuous // evaluation. // "IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION" - Oriented bounding box. // The box does not have to be parallel to horizontal line. // "IMAGE_BOUNDING_POLY_ANNOTATION" - Bounding poly annotations in an // image. // "IMAGE_POLYLINE_ANNOTATION" - Polyline annotations in an image. // "IMAGE_SEGMENTATION_ANNOTATION" - Segmentation annotations in an // image. // "VIDEO_SHOTS_CLASSIFICATION_ANNOTATION" - Classification // annotations in video shots. // "VIDEO_OBJECT_TRACKING_ANNOTATION" - Video object tracking // annotation. // "VIDEO_OBJECT_DETECTION_ANNOTATION" - Video object detection // annotation. // "VIDEO_EVENT_ANNOTATION" - Video event annotation. // "TEXT_CLASSIFICATION_ANNOTATION" - Classification for text. Allowed // for continuous evaluation. // "TEXT_ENTITY_EXTRACTION_ANNOTATION" - Entity extraction for text. // "GENERAL_CLASSIFICATION_ANNOTATION" - General classification. // Allowed for continuous evaluation. AnnotationType string `json:"annotationType,omitempty"` // BlockingResources: Output only. The names of any related resources // that are blocking changes to the annotated dataset. BlockingResources []string `json:"blockingResources,omitempty"` // CompletedExampleCount: Output only. Number of examples that have // annotation in the annotated dataset. CompletedExampleCount int64 `json:"completedExampleCount,omitempty,string"` // CreateTime: Output only. Time the AnnotatedDataset was created. CreateTime string `json:"createTime,omitempty"` // Description: Output only. The description of the AnnotatedDataset. It // is specified in HumanAnnotationConfig when user starts a labeling // task. Maximum of 10000 characters. Description string `json:"description,omitempty"` // DisplayName: Output only. The display name of the AnnotatedDataset. // It is specified in HumanAnnotationConfig when user starts a labeling // task. Maximum of 64 characters. DisplayName string `json:"displayName,omitempty"` // ExampleCount: Output only. Number of examples in the annotated // dataset. ExampleCount int64 `json:"exampleCount,omitempty,string"` // LabelStats: Output only. Per label statistics. LabelStats *GoogleCloudDatalabelingV1beta1LabelStats `json:"labelStats,omitempty"` // Metadata: Output only. Additional information about AnnotatedDataset. Metadata *GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata `json:"metadata,omitempty"` // Name: Output only. AnnotatedDataset resource name in format of: // projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ // {annotated_dataset_id} Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AnnotationSource") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSource") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1AnnotatedDataset: AnnotatedDataset is a set holding annotations for data in a Dataset. Each labeling task will generate an AnnotatedDataset under the Dataset that the task is requested for.
func (*GoogleCloudDatalabelingV1beta1AnnotatedDataset) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1AnnotatedDataset) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata ¶
type GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata struct { // BoundingPolyConfig: Configuration for image bounding box and bounding // poly task. BoundingPolyConfig *GoogleCloudDatalabelingV1beta1BoundingPolyConfig `json:"boundingPolyConfig,omitempty"` // EventConfig: Configuration for video event labeling task. EventConfig *GoogleCloudDatalabelingV1beta1EventConfig `json:"eventConfig,omitempty"` // HumanAnnotationConfig: HumanAnnotationConfig used when requesting the // human labeling task for this AnnotatedDataset. HumanAnnotationConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"humanAnnotationConfig,omitempty"` // ImageClassificationConfig: Configuration for image classification // task. ImageClassificationConfig *GoogleCloudDatalabelingV1beta1ImageClassificationConfig `json:"imageClassificationConfig,omitempty"` // ObjectDetectionConfig: Configuration for video object detection task. ObjectDetectionConfig *GoogleCloudDatalabelingV1beta1ObjectDetectionConfig `json:"objectDetectionConfig,omitempty"` // ObjectTrackingConfig: Configuration for video object tracking task. ObjectTrackingConfig *GoogleCloudDatalabelingV1beta1ObjectTrackingConfig `json:"objectTrackingConfig,omitempty"` // PolylineConfig: Configuration for image polyline task. PolylineConfig *GoogleCloudDatalabelingV1beta1PolylineConfig `json:"polylineConfig,omitempty"` // SegmentationConfig: Configuration for image segmentation task. SegmentationConfig *GoogleCloudDatalabelingV1beta1SegmentationConfig `json:"segmentationConfig,omitempty"` // TextClassificationConfig: Configuration for text classification task. TextClassificationConfig *GoogleCloudDatalabelingV1beta1TextClassificationConfig `json:"textClassificationConfig,omitempty"` // TextEntityExtractionConfig: Configuration for text entity extraction // task. TextEntityExtractionConfig *GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig `json:"textEntityExtractionConfig,omitempty"` // VideoClassificationConfig: Configuration for video classification // task. VideoClassificationConfig *GoogleCloudDatalabelingV1beta1VideoClassificationConfig `json:"videoClassificationConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BoundingPolyConfig") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoundingPolyConfig") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata: Metadata on AnnotatedDataset.
func (*GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1Annotation ¶
type GoogleCloudDatalabelingV1beta1Annotation struct { // AnnotationMetadata: Output only. Annotation metadata, including // information like votes for labels. AnnotationMetadata *GoogleCloudDatalabelingV1beta1AnnotationMetadata `json:"annotationMetadata,omitempty"` // AnnotationSentiment: Output only. Sentiment for this annotation. // // Possible values: // "ANNOTATION_SENTIMENT_UNSPECIFIED" // "NEGATIVE" - This annotation describes negatively about the data. // "POSITIVE" - This label describes positively about the data. AnnotationSentiment string `json:"annotationSentiment,omitempty"` // AnnotationSource: Output only. The source of the annotation. // // Possible values: // "ANNOTATION_SOURCE_UNSPECIFIED" // "OPERATOR" - Answer is provided by a human contributor. AnnotationSource string `json:"annotationSource,omitempty"` // AnnotationValue: Output only. This is the actual annotation value, // e.g classification, bounding box values are stored here. AnnotationValue *GoogleCloudDatalabelingV1beta1AnnotationValue `json:"annotationValue,omitempty"` // Name: Output only. Unique name of this annotation, format is: // projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotat // ed_dataset}/examples/{example_id}/annotations/{annotation_id} Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationMetadata") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1Annotation: Annotation for Example. Each example may have one or more annotations. For example in image classification problem, each image might have one or more labels. We call labels binded with this image an Annotation.
func (*GoogleCloudDatalabelingV1beta1Annotation) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1Annotation) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1AnnotationMetadata ¶
type GoogleCloudDatalabelingV1beta1AnnotationMetadata struct { // OperatorMetadata: Metadata related to human labeling. OperatorMetadata *GoogleCloudDatalabelingV1beta1OperatorMetadata `json:"operatorMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "OperatorMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OperatorMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1AnnotationMetadata: Additional information associated with the annotation.
func (*GoogleCloudDatalabelingV1beta1AnnotationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1AnnotationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1AnnotationSpec ¶
type GoogleCloudDatalabelingV1beta1AnnotationSpec struct { // Description: Optional. User-provided description of the annotation // specification. The description can be up to 10,000 characters long. Description string `json:"description,omitempty"` // DisplayName: Required. The display name of the AnnotationSpec. // Maximum of 64 characters. DisplayName string `json:"displayName,omitempty"` // Index: Output only. This is the integer index of the AnnotationSpec. // The index for the whole AnnotationSpecSet is sequential starting from // 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, // might contain one AnnotationSpec with `{ display_name: "dog", index: // 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. // This is especially useful for model training as it encodes the string // labels into numeric values. Index int64 `json:"index,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1AnnotationSpec: Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`.
func (*GoogleCloudDatalabelingV1beta1AnnotationSpec) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1AnnotationSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1AnnotationSpecSet ¶
type GoogleCloudDatalabelingV1beta1AnnotationSpecSet struct { // AnnotationSpecs: Required. The array of AnnotationSpecs that you // define when you create the AnnotationSpecSet. These are the possible // labels for the labeling task. AnnotationSpecs []*GoogleCloudDatalabelingV1beta1AnnotationSpec `json:"annotationSpecs,omitempty"` // BlockingResources: Output only. The names of any related resources // that are blocking changes to the annotation spec set. BlockingResources []string `json:"blockingResources,omitempty"` // Description: Optional. User-provided description of the annotation // specification set. The description can be up to 10,000 characters // long. Description string `json:"description,omitempty"` // DisplayName: Required. The display name for AnnotationSpecSet that // you define when you create it. Maximum of 64 characters. DisplayName string `json:"displayName,omitempty"` // Name: Output only. The AnnotationSpecSet resource name in the // following format: // "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}" Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecs") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecs") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1AnnotationSpecSet: An AnnotationSpecSet is a collection of label definitions. For example, in image classification tasks, you define a set of possible labels for images as an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation.
func (*GoogleCloudDatalabelingV1beta1AnnotationSpecSet) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1AnnotationSpecSet) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig ¶
type GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig struct { // AllowMultiLabel: Optional. If allow_multi_label is true, contributors // are able to choose multiple labels from one annotation spec set. AllowMultiLabel bool `json:"allowMultiLabel,omitempty"` // AnnotationSpecSet: Required. Annotation spec set resource name. AnnotationSpecSet string `json:"annotationSpecSet,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowMultiLabel") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowMultiLabel") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig: Annotation spec set with the setting of allowing multi labels or not.
func (*GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1AnnotationValue ¶
type GoogleCloudDatalabelingV1beta1AnnotationValue struct { // ImageBoundingPolyAnnotation: Annotation value for image bounding box, // oriented bounding box and polygon cases. ImageBoundingPolyAnnotation *GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation `json:"imageBoundingPolyAnnotation,omitempty"` // ImageClassificationAnnotation: Annotation value for image // classification case. ImageClassificationAnnotation *GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation `json:"imageClassificationAnnotation,omitempty"` // ImagePolylineAnnotation: Annotation value for image polyline cases. // Polyline here is different from BoundingPoly. It is formed by line // segments connected to each other but not closed form(Bounding Poly). // The line segments can cross each other. ImagePolylineAnnotation *GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation `json:"imagePolylineAnnotation,omitempty"` // ImageSegmentationAnnotation: Annotation value for image segmentation. ImageSegmentationAnnotation *GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation `json:"imageSegmentationAnnotation,omitempty"` // TextClassificationAnnotation: Annotation value for text // classification case. TextClassificationAnnotation *GoogleCloudDatalabelingV1beta1TextClassificationAnnotation `json:"textClassificationAnnotation,omitempty"` // TextEntityExtractionAnnotation: Annotation value for text entity // extraction case. TextEntityExtractionAnnotation *GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation `json:"textEntityExtractionAnnotation,omitempty"` // VideoClassificationAnnotation: Annotation value for video // classification case. VideoClassificationAnnotation *GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation `json:"videoClassificationAnnotation,omitempty"` // VideoEventAnnotation: Annotation value for video event case. VideoEventAnnotation *GoogleCloudDatalabelingV1beta1VideoEventAnnotation `json:"videoEventAnnotation,omitempty"` // VideoObjectTrackingAnnotation: Annotation value for video object // detection and tracking case. VideoObjectTrackingAnnotation *GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation `json:"videoObjectTrackingAnnotation,omitempty"` // ForceSendFields is a list of field names (e.g. // "ImageBoundingPolyAnnotation") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "ImageBoundingPolyAnnotation") to include in API requests with the // JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1AnnotationValue: Annotation value for an example.
func (*GoogleCloudDatalabelingV1beta1AnnotationValue) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1AnnotationValue) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1Attempt ¶
type GoogleCloudDatalabelingV1beta1Attempt struct { AttemptTime string `json:"attemptTime,omitempty"` // PartialFailures: Details of errors that occurred. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "AttemptTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AttemptTime") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1Attempt: Records a failed evaluation job run.
func (*GoogleCloudDatalabelingV1beta1Attempt) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1Attempt) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1BigQuerySource ¶
type GoogleCloudDatalabelingV1beta1BigQuerySource struct { // InputUri: Required. BigQuery URI to a table, up to 2,000 characters // long. If you specify the URI of a table that does not exist, Data // Labeling Service creates a table at the URI with the correct schema // when you create your EvaluationJob. If you specify the URI of a table // that already exists, it must have the correct schema // (/ml-engine/docs/continuous-evaluation/create-job#table-schema). // Provide the table URI in the following format: // "bq://{your_project_id}/ {your_dataset_name}/{your_table_name}" Learn // more (/ml-engine/docs/continuous-evaluation/create-job#table-schema). InputUri string `json:"inputUri,omitempty"` // ForceSendFields is a list of field names (e.g. "InputUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "InputUri") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1BigQuerySource: The BigQuery location for input data. If used in an EvaluationJob, this is where the service saves the prediction input and output sampled from the model version.
func (*GoogleCloudDatalabelingV1beta1BigQuerySource) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1BigQuerySource) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions ¶
type GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions struct { // IouThreshold: Minimum intersection-over-union (IOU) // (/vision/automl/object-detection/docs/evaluate#intersection-over-union // ) required for 2 bounding boxes to be considered a match. This must // be a number between 0 and 1. IouThreshold float64 `json:"iouThreshold,omitempty"` // ForceSendFields is a list of field names (e.g. "IouThreshold") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IouThreshold") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions: Options regarding evaluation between bounding boxes.
func (*GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions) MarshalJSON() ([]byte, error)
func (*GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions) UnmarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions) UnmarshalJSON(data []byte) error
type GoogleCloudDatalabelingV1beta1BoundingPoly ¶
type GoogleCloudDatalabelingV1beta1BoundingPoly struct { // Vertices: The bounding polygon vertices. Vertices []*GoogleCloudDatalabelingV1beta1Vertex `json:"vertices,omitempty"` // ForceSendFields is a list of field names (e.g. "Vertices") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Vertices") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1BoundingPoly: A bounding polygon in the image.
func (*GoogleCloudDatalabelingV1beta1BoundingPoly) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1BoundingPoly) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1BoundingPolyConfig ¶
type GoogleCloudDatalabelingV1beta1BoundingPolyConfig struct { // AnnotationSpecSet: Required. Annotation spec set resource name. AnnotationSpecSet string `json:"annotationSpecSet,omitempty"` // InstructionMessage: Optional. Instruction message showed on // contributors UI. InstructionMessage string `json:"instructionMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecSet") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecSet") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1BoundingPolyConfig: Config for image bounding poly (and bounding box) human labeling task.
func (*GoogleCloudDatalabelingV1beta1BoundingPolyConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1BoundingPolyConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ClassificationMetadata ¶
type GoogleCloudDatalabelingV1beta1ClassificationMetadata struct { // IsMultiLabel: Whether the classification task is multi-label or not. IsMultiLabel bool `json:"isMultiLabel,omitempty"` // ForceSendFields is a list of field names (e.g. "IsMultiLabel") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IsMultiLabel") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ClassificationMetadata: Metadata for classification annotations.
func (*GoogleCloudDatalabelingV1beta1ClassificationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ClassificationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ClassificationMetrics ¶
type GoogleCloudDatalabelingV1beta1ClassificationMetrics struct { // ConfusionMatrix: Confusion matrix of predicted labels vs. ground // truth labels. ConfusionMatrix *GoogleCloudDatalabelingV1beta1ConfusionMatrix `json:"confusionMatrix,omitempty"` // PrCurve: Precision-recall curve based on ground truth labels, // predicted labels, and scores for the predicted labels. PrCurve *GoogleCloudDatalabelingV1beta1PrCurve `json:"prCurve,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfusionMatrix") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfusionMatrix") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ClassificationMetrics: Metrics calculated for a classification model.
func (*GoogleCloudDatalabelingV1beta1ClassificationMetrics) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ClassificationMetrics) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry ¶
type GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry struct { // ConfidenceThreshold: Threshold used for this entry. For // classification tasks, this is a classification threshold: a predicted // label is categorized as positive or negative (in the context of this // point on the PR curve) based on whether the label's score meets this // threshold. For image object detection (bounding box) tasks, this is // the intersection-over-union (IOU) // (/vision/automl/object-detection/docs/evaluate#intersection-over-union // ) threshold for the context of this point on the PR curve. ConfidenceThreshold float64 `json:"confidenceThreshold,omitempty"` // F1Score: Harmonic mean of recall and precision. F1Score float64 `json:"f1Score,omitempty"` // F1ScoreAt1: The harmonic mean of recall_at1 and precision_at1. F1ScoreAt1 float64 `json:"f1ScoreAt1,omitempty"` // F1ScoreAt5: The harmonic mean of recall_at5 and precision_at5. F1ScoreAt5 float64 `json:"f1ScoreAt5,omitempty"` // Precision: Precision value. Precision float64 `json:"precision,omitempty"` // PrecisionAt1: Precision value for entries with label that has highest // score. PrecisionAt1 float64 `json:"precisionAt1,omitempty"` // PrecisionAt5: Precision value for entries with label that has highest // 5 scores. PrecisionAt5 float64 `json:"precisionAt5,omitempty"` // Recall: Recall value. Recall float64 `json:"recall,omitempty"` // RecallAt1: Recall value for entries with label that has highest // score. RecallAt1 float64 `json:"recallAt1,omitempty"` // RecallAt5: Recall value for entries with label that has highest 5 // scores. RecallAt5 float64 `json:"recallAt5,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceThreshold") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceThreshold") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
func (*GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry) MarshalJSON() ([]byte, error)
func (*GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry) UnmarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry) UnmarshalJSON(data []byte) error
type GoogleCloudDatalabelingV1beta1ConfusionMatrix ¶
type GoogleCloudDatalabelingV1beta1ConfusionMatrix struct { Row []*GoogleCloudDatalabelingV1beta1Row `json:"row,omitempty"` // ForceSendFields is a list of field names (e.g. "Row") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Row") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ConfusionMatrix: Confusion matrix of the model running the classification. Only applicable when the metrics entry aggregates multiple labels. Not applicable when the entry is for a single label.
func (*GoogleCloudDatalabelingV1beta1ConfusionMatrix) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ConfusionMatrix) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry ¶
type GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry struct { // AnnotationSpec: The annotation spec of a predicted label. AnnotationSpec *GoogleCloudDatalabelingV1beta1AnnotationSpec `json:"annotationSpec,omitempty"` // ItemCount: Number of items predicted to have this label. (The ground // truth label for these items is the `Row.annotationSpec` of this // entry's parent.) ItemCount int64 `json:"itemCount,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpec") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpec") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
func (*GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest ¶
type GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest struct { // AnnotationSpecSet: Required. Annotation spec set to create. // Annotation specs must be included. Only one annotation spec will be // accepted for annotation specs with same display_name. AnnotationSpecSet *GoogleCloudDatalabelingV1beta1AnnotationSpecSet `json:"annotationSpecSet,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecSet") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecSet") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest: Request message for CreateAnnotationSpecSet.
func (*GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1CreateDatasetRequest ¶
type GoogleCloudDatalabelingV1beta1CreateDatasetRequest struct { // Dataset: Required. The dataset to be created. Dataset *GoogleCloudDatalabelingV1beta1Dataset `json:"dataset,omitempty"` // ForceSendFields is a list of field names (e.g. "Dataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dataset") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1CreateDatasetRequest: Request message for CreateDataset.
func (*GoogleCloudDatalabelingV1beta1CreateDatasetRequest) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1CreateDatasetRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest ¶
type GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest struct { // Job: Required. The evaluation job to create. Job *GoogleCloudDatalabelingV1beta1EvaluationJob `json:"job,omitempty"` // ForceSendFields is a list of field names (e.g. "Job") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Job") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest: Request message for CreateEvaluationJob.
func (*GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1CreateInstructionMetadata ¶
type GoogleCloudDatalabelingV1beta1CreateInstructionMetadata struct { // CreateTime: Timestamp when create instruction request was created. CreateTime string `json:"createTime,omitempty"` // Instruction: The name of the created Instruction. // projects/{project_id}/instructions/{instruction_id} Instruction string `json:"instruction,omitempty"` // PartialFailures: Partial failures encountered. E.g. single files that // couldn't be read. Status details field will contain standard GCP // error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1CreateInstructionMetadata: Metadata of a CreateInstruction operation.
func (*GoogleCloudDatalabelingV1beta1CreateInstructionMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1CreateInstructionMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1CreateInstructionRequest ¶
type GoogleCloudDatalabelingV1beta1CreateInstructionRequest struct { // Instruction: Required. Instruction of how to perform the labeling // task. Instruction *GoogleCloudDatalabelingV1beta1Instruction `json:"instruction,omitempty"` // ForceSendFields is a list of field names (e.g. "Instruction") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Instruction") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1CreateInstructionRequest: Request message for CreateInstruction.
func (*GoogleCloudDatalabelingV1beta1CreateInstructionRequest) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1CreateInstructionRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1CsvInstruction ¶
type GoogleCloudDatalabelingV1beta1CsvInstruction struct { // GcsFileUri: CSV file for the instruction. Only gcs path is allowed. GcsFileUri string `json:"gcsFileUri,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsFileUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsFileUri") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1CsvInstruction: Deprecated: this instruction format is not supported any more. Instruction from a CSV file.
func (*GoogleCloudDatalabelingV1beta1CsvInstruction) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1CsvInstruction) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1DataItem ¶
type GoogleCloudDatalabelingV1beta1DataItem struct { // ImagePayload: The image payload, a container of the image bytes/uri. ImagePayload *GoogleCloudDatalabelingV1beta1ImagePayload `json:"imagePayload,omitempty"` // Name: Output only. Name of the data item, in format of: // projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id} Name string `json:"name,omitempty"` // TextPayload: The text payload, a container of text content. TextPayload *GoogleCloudDatalabelingV1beta1TextPayload `json:"textPayload,omitempty"` // VideoPayload: The video payload, a container of the video uri. VideoPayload *GoogleCloudDatalabelingV1beta1VideoPayload `json:"videoPayload,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ImagePayload") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ImagePayload") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1DataItem: DataItem is a piece of data, without annotation. For example, an image.
func (*GoogleCloudDatalabelingV1beta1DataItem) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1DataItem) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1Dataset ¶
type GoogleCloudDatalabelingV1beta1Dataset struct { // BlockingResources: Output only. The names of any related resources // that are blocking changes to the dataset. BlockingResources []string `json:"blockingResources,omitempty"` // CreateTime: Output only. Time the dataset is created. CreateTime string `json:"createTime,omitempty"` // DataItemCount: Output only. The number of data items in the dataset. DataItemCount int64 `json:"dataItemCount,omitempty,string"` // Description: Optional. User-provided description of the annotation // specification set. The description can be up to 10000 characters // long. Description string `json:"description,omitempty"` // DisplayName: Required. The display name of the dataset. Maximum of 64 // characters. DisplayName string `json:"displayName,omitempty"` // InputConfigs: Output only. This is populated with the original input // configs where ImportData is called. It is available only after the // clients import data to this dataset. InputConfigs []*GoogleCloudDatalabelingV1beta1InputConfig `json:"inputConfigs,omitempty"` // LastMigrateTime: Last time that the Dataset is migrated to AI // Platform V2. If any of the AnnotatedDataset is migrated, the // last_migration_time in Dataset is also updated. LastMigrateTime string `json:"lastMigrateTime,omitempty"` // Name: Output only. Dataset resource name, format is: // projects/{project_id}/datasets/{dataset_id} Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BlockingResources") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BlockingResources") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1Dataset: Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset.
func (*GoogleCloudDatalabelingV1beta1Dataset) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1Dataset) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1Evaluation ¶
type GoogleCloudDatalabelingV1beta1Evaluation struct { // AnnotationType: Output only. Type of task that the model version // being evaluated performs, as defined in the // evaluationJobConfig.inputConfig.annotationType field of the // evaluation job that created this evaluation. // // Possible values: // "ANNOTATION_TYPE_UNSPECIFIED" // "IMAGE_CLASSIFICATION_ANNOTATION" - Classification annotations in // an image. Allowed for continuous evaluation. // "IMAGE_BOUNDING_BOX_ANNOTATION" - Bounding box annotations in an // image. A form of image object detection. Allowed for continuous // evaluation. // "IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION" - Oriented bounding box. // The box does not have to be parallel to horizontal line. // "IMAGE_BOUNDING_POLY_ANNOTATION" - Bounding poly annotations in an // image. // "IMAGE_POLYLINE_ANNOTATION" - Polyline annotations in an image. // "IMAGE_SEGMENTATION_ANNOTATION" - Segmentation annotations in an // image. // "VIDEO_SHOTS_CLASSIFICATION_ANNOTATION" - Classification // annotations in video shots. // "VIDEO_OBJECT_TRACKING_ANNOTATION" - Video object tracking // annotation. // "VIDEO_OBJECT_DETECTION_ANNOTATION" - Video object detection // annotation. // "VIDEO_EVENT_ANNOTATION" - Video event annotation. // "TEXT_CLASSIFICATION_ANNOTATION" - Classification for text. Allowed // for continuous evaluation. // "TEXT_ENTITY_EXTRACTION_ANNOTATION" - Entity extraction for text. // "GENERAL_CLASSIFICATION_ANNOTATION" - General classification. // Allowed for continuous evaluation. AnnotationType string `json:"annotationType,omitempty"` // Config: Output only. Options used in the evaluation job that created // this evaluation. Config *GoogleCloudDatalabelingV1beta1EvaluationConfig `json:"config,omitempty"` // CreateTime: Output only. Timestamp for when this evaluation was // created. CreateTime string `json:"createTime,omitempty"` // EvaluatedItemCount: Output only. The number of items in the ground // truth dataset that were used for this evaluation. Only populated when // the evaulation is for certain AnnotationTypes. EvaluatedItemCount int64 `json:"evaluatedItemCount,omitempty,string"` // EvaluationJobRunTime: Output only. Timestamp for when the evaluation // job that created this evaluation ran. EvaluationJobRunTime string `json:"evaluationJobRunTime,omitempty"` // EvaluationMetrics: Output only. Metrics comparing predictions to // ground truth labels. EvaluationMetrics *GoogleCloudDatalabelingV1beta1EvaluationMetrics `json:"evaluationMetrics,omitempty"` // Name: Output only. Resource name of an evaluation. The name has the // following format: // "projects/{project_id}/datasets/{dataset_id}/evaluations/ // {evaluation_id}' Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AnnotationType") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationType") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1Evaluation: Describes an evaluation between a machine learning model's predictions and ground truth labels. Created when an EvaluationJob runs successfully.
func (*GoogleCloudDatalabelingV1beta1Evaluation) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1Evaluation) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1EvaluationConfig ¶
type GoogleCloudDatalabelingV1beta1EvaluationConfig struct { // BoundingBoxEvaluationOptions: Only specify this field if the related // model performs image object detection // (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate bounding // boxes. BoundingBoxEvaluationOptions *GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions `json:"boundingBoxEvaluationOptions,omitempty"` // ForceSendFields is a list of field names (e.g. // "BoundingBoxEvaluationOptions") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "BoundingBoxEvaluationOptions") to include in API requests with the // JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1EvaluationConfig: Configuration details used for calculating evaluation metrics and creating an Evaluation.
func (*GoogleCloudDatalabelingV1beta1EvaluationConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1EvaluationConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1EvaluationJob ¶
type GoogleCloudDatalabelingV1beta1EvaluationJob struct { // AnnotationSpecSet: Required. Name of the AnnotationSpecSet describing // all the labels that your machine learning model outputs. You must // create this resource before you create an evaluation job and provide // its name in the following format: // "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}" AnnotationSpecSet string `json:"annotationSpecSet,omitempty"` // Attempts: Output only. Every time the evaluation job runs and an // error occurs, the failed attempt is appended to this array. Attempts []*GoogleCloudDatalabelingV1beta1Attempt `json:"attempts,omitempty"` // CreateTime: Output only. Timestamp of when this evaluation job was // created. CreateTime string `json:"createTime,omitempty"` // Description: Required. Description of the job. The description can be // up to 25,000 characters long. Description string `json:"description,omitempty"` // EvaluationJobConfig: Required. Configuration details for the // evaluation job. EvaluationJobConfig *GoogleCloudDatalabelingV1beta1EvaluationJobConfig `json:"evaluationJobConfig,omitempty"` // LabelMissingGroundTruth: Required. Whether you want Data Labeling // Service to provide ground truth labels for prediction input. If you // want the service to assign human labelers to annotate your data, set // this to `true`. If you want to provide your own ground truth labels // in the evaluation job's BigQuery table, set this to `false`. LabelMissingGroundTruth bool `json:"labelMissingGroundTruth,omitempty"` // ModelVersion: Required. The AI Platform Prediction model version // (/ml-engine/docs/prediction-overview) to be evaluated. Prediction // input and output is sampled from this model version. When creating an // evaluation job, specify the model version in the following format: // "projects/{project_id}/models/{model_name}/versions/{version_name}" // There can only be one evaluation job per model version. ModelVersion string `json:"modelVersion,omitempty"` // Name: Output only. After you create a job, Data Labeling Service // assigns a name to the job with the following format: // "projects/{project_id}/evaluationJobs/ {evaluation_job_id}" Name string `json:"name,omitempty"` // Schedule: Required. Describes the interval at which the job runs. // This interval must be at least 1 day, and it is rounded to the // nearest day. For example, if you specify a 50-hour interval, the job // runs every 2 days. You can provide the schedule in crontab format // (/scheduler/docs/configuring/cron-job-schedules) or in an // English-like format // (/appengine/docs/standard/python/config/cronref#schedule_format). // Regardless of what you specify, the job will run at 10:00 AM UTC. // Only the interval from this schedule is used, not the specific time // of day. Schedule string `json:"schedule,omitempty"` // State: Output only. Describes the current state of the job. // // Possible values: // "STATE_UNSPECIFIED" // "SCHEDULED" - The job is scheduled to run at the configured // interval. You can pause or delete the job. When the job is in this // state, it samples prediction input and output from your model version // into your BigQuery table as predictions occur. // "RUNNING" - The job is currently running. When the job runs, Data // Labeling Service does several things: 1. If you have configured your // job to use Data Labeling Service for ground truth labeling, the // service creates a Dataset and a labeling task for all data sampled // since the last time the job ran. Human labelers provide ground truth // labels for your data. Human labeling may take hours, or even days, // depending on how much data has been sampled. The job remains in the // `RUNNING` state during this time, and it can even be running multiple // times in parallel if it gets triggered again (for example 24 hours // later) before the earlier run has completed. When human labelers have // finished labeling the data, the next step occurs. If you have // configured your job to provide your own ground truth labels, Data // Labeling Service still creates a Dataset for newly sampled data, but // it expects that you have already added ground truth labels to the // BigQuery table by this time. The next step occurs immediately. 2. // Data Labeling Service creates an Evaluation by comparing your model // version's predictions with the ground truth labels. If the job // remains in this state for a long time, it continues to sample // prediction data into your BigQuery table and will run again at the // next interval, even if it causes the job to run multiple times in // parallel. // "PAUSED" - The job is not sampling prediction input and output into // your BigQuery table and it will not run according to its schedule. // You can resume the job. // "STOPPED" - The job has this state right before it is deleted. State string `json:"state,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecSet") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecSet") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1EvaluationJob: Defines an evaluation job that runs periodically to generate Evaluations. Creating an evaluation job (/ml-engine/docs/continuous-evaluation/create-job) is the starting point for using continuous evaluation.
func (*GoogleCloudDatalabelingV1beta1EvaluationJob) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1EvaluationJob) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig ¶
type GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig struct { // Email: Required. An email address to send alerts to. Email string `json:"email,omitempty"` // MinAcceptableMeanAveragePrecision: Required. A number between 0 and 1 // that describes a minimum mean average precision threshold. When the // evaluation job runs, if it calculates that your model version's // predictions from the recent interval have meanAveragePrecision below // this threshold, then it sends an alert to your specified email. MinAcceptableMeanAveragePrecision float64 `json:"minAcceptableMeanAveragePrecision,omitempty"` // ForceSendFields is a list of field names (e.g. "Email") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Email") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig: Provides details for how an evaluation job sends email alerts based on the results of a run.
func (*GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig) MarshalJSON() ([]byte, error)
func (*GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig) UnmarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig) UnmarshalJSON(data []byte) error
type GoogleCloudDatalabelingV1beta1EvaluationJobConfig ¶
type GoogleCloudDatalabelingV1beta1EvaluationJobConfig struct { // BigqueryImportKeys: Required. Prediction keys that tell Data Labeling // Service where to find the data for evaluation in your BigQuery table. // When the service samples prediction input and output from your model // version and saves it to BigQuery, the data gets stored as JSON // strings in the BigQuery table. These keys tell Data Labeling Service // how to parse the JSON. You can provide the following entries in this // field: * `data_json_key`: the data key for prediction input. You must // provide either this key or `reference_json_key`. * // `reference_json_key`: the data reference key for prediction input. // You must provide either this key or `data_json_key`. * // `label_json_key`: the label key for prediction output. Required. * // `label_score_json_key`: the score key for prediction output. // Required. * `bounding_box_json_key`: the bounding box key for // prediction output. Required if your model version perform image // object detection. Learn how to configure prediction keys // (/ml-engine/docs/continuous-evaluation/create-job#prediction-keys). BigqueryImportKeys map[string]string `json:"bigqueryImportKeys,omitempty"` // BoundingPolyConfig: Specify this field if your model version performs // image object detection (bounding box detection). `annotationSpecSet` // in this configuration must match EvaluationJob.annotationSpecSet. BoundingPolyConfig *GoogleCloudDatalabelingV1beta1BoundingPolyConfig `json:"boundingPolyConfig,omitempty"` // EvaluationConfig: Required. Details for calculating evaluation // metrics and creating Evaulations. If your model version performs // image object detection, you must specify the // `boundingBoxEvaluationOptions` field within this configuration. // Otherwise, provide an empty object for this configuration. EvaluationConfig *GoogleCloudDatalabelingV1beta1EvaluationConfig `json:"evaluationConfig,omitempty"` // EvaluationJobAlertConfig: Optional. Configuration details for // evaluation job alerts. Specify this field if you want to receive // email alerts if the evaluation job finds that your predictions have // low mean average precision during a run. EvaluationJobAlertConfig *GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig `json:"evaluationJobAlertConfig,omitempty"` // ExampleCount: Required. The maximum number of predictions to sample // and save to BigQuery during each evaluation interval. This limit // overrides `example_sample_percentage`: even if the service has not // sampled enough predictions to fulfill `example_sample_perecentage` // during an interval, it stops sampling predictions when it meets this // limit. ExampleCount int64 `json:"exampleCount,omitempty"` // ExampleSamplePercentage: Required. Fraction of predictions to sample // and save to BigQuery during each evaluation interval. For example, // 0.1 means 10% of predictions served by your model version get saved // to BigQuery. ExampleSamplePercentage float64 `json:"exampleSamplePercentage,omitempty"` // HumanAnnotationConfig: Optional. Details for human annotation of your // data. If you set labelMissingGroundTruth to `true` for this // evaluation job, then you must specify this field. If you plan to // provide your own ground truth labels, then omit this field. Note that // you must create an Instruction resource before you can specify this // field. Provide the name of the instruction resource in the // `instruction` field within this configuration. HumanAnnotationConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"humanAnnotationConfig,omitempty"` // ImageClassificationConfig: Specify this field if your model version // performs image classification or general classification. // `annotationSpecSet` in this configuration must match // EvaluationJob.annotationSpecSet. `allowMultiLabel` in this // configuration must match `classificationMetadata.isMultiLabel` in // input_config. ImageClassificationConfig *GoogleCloudDatalabelingV1beta1ImageClassificationConfig `json:"imageClassificationConfig,omitempty"` // InputConfig: Rquired. Details for the sampled prediction input. // Within this configuration, there are requirements for several fields: // * `dataType` must be one of `IMAGE`, `TEXT`, or `GENERAL_DATA`. * // `annotationType` must be one of `IMAGE_CLASSIFICATION_ANNOTATION`, // `TEXT_CLASSIFICATION_ANNOTATION`, // `GENERAL_CLASSIFICATION_ANNOTATION`, or // `IMAGE_BOUNDING_BOX_ANNOTATION` (image object detection). * If your // machine learning model performs classification, you must specify // `classificationMetadata.isMultiLabel`. * You must specify // `bigquerySource` (not `gcsSource`). InputConfig *GoogleCloudDatalabelingV1beta1InputConfig `json:"inputConfig,omitempty"` // TextClassificationConfig: Specify this field if your model version // performs text classification. `annotationSpecSet` in this // configuration must match EvaluationJob.annotationSpecSet. // `allowMultiLabel` in this configuration must match // `classificationMetadata.isMultiLabel` in input_config. TextClassificationConfig *GoogleCloudDatalabelingV1beta1TextClassificationConfig `json:"textClassificationConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BigqueryImportKeys") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryImportKeys") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1EvaluationJobConfig: Configures specific details of how a continuous evaluation job works. Provide this configuration when you create an EvaluationJob.
func (*GoogleCloudDatalabelingV1beta1EvaluationJobConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1EvaluationJobConfig) MarshalJSON() ([]byte, error)
func (*GoogleCloudDatalabelingV1beta1EvaluationJobConfig) UnmarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1EvaluationJobConfig) UnmarshalJSON(data []byte) error
type GoogleCloudDatalabelingV1beta1EvaluationMetrics ¶
type GoogleCloudDatalabelingV1beta1EvaluationMetrics struct { ClassificationMetrics *GoogleCloudDatalabelingV1beta1ClassificationMetrics `json:"classificationMetrics,omitempty"` ObjectDetectionMetrics *GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics `json:"objectDetectionMetrics,omitempty"` // ForceSendFields is a list of field names (e.g. // "ClassificationMetrics") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClassificationMetrics") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
func (*GoogleCloudDatalabelingV1beta1EvaluationMetrics) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1EvaluationMetrics) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1EventConfig ¶
type GoogleCloudDatalabelingV1beta1EventConfig struct { // AnnotationSpecSets: Required. The list of annotation spec set // resource name. Similar to video classification, we support selecting // event from multiple AnnotationSpecSet at the same time. AnnotationSpecSets []string `json:"annotationSpecSets,omitempty"` // ClipLength: Videos will be cut to smaller clips to make it easier for // labelers to work on. Users can configure is field in seconds, if not // set, default value is 60s. ClipLength int64 `json:"clipLength,omitempty"` // OverlapLength: The overlap length between different video clips. // Users can configure is field in seconds, if not set, default value is // 1s. OverlapLength int64 `json:"overlapLength,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecSets") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecSets") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1EventConfig: Config for video event human labeling task.
func (*GoogleCloudDatalabelingV1beta1EventConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1EventConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1Example ¶
type GoogleCloudDatalabelingV1beta1Example struct { // Annotations: Output only. Annotations for the piece of data in // Example. One piece of data can have multiple annotations. Annotations []*GoogleCloudDatalabelingV1beta1Annotation `json:"annotations,omitempty"` // ImagePayload: The image payload, a container of the image bytes/uri. ImagePayload *GoogleCloudDatalabelingV1beta1ImagePayload `json:"imagePayload,omitempty"` // Name: Output only. Name of the example, in format of: // projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ // {annotated_dataset_id}/examples/{example_id} Name string `json:"name,omitempty"` // TextPayload: The text payload, a container of the text content. TextPayload *GoogleCloudDatalabelingV1beta1TextPayload `json:"textPayload,omitempty"` // VideoPayload: The video payload, a container of the video uri. VideoPayload *GoogleCloudDatalabelingV1beta1VideoPayload `json:"videoPayload,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Annotations") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Annotations") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1Example: An Example is a piece of data and its annotation. For example, an image with label "house".
func (*GoogleCloudDatalabelingV1beta1Example) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1Example) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ExampleComparison ¶
type GoogleCloudDatalabelingV1beta1ExampleComparison struct { // GroundTruthExample: The ground truth output for the input. GroundTruthExample *GoogleCloudDatalabelingV1beta1Example `json:"groundTruthExample,omitempty"` // ModelCreatedExamples: Predictions by the model for the input. ModelCreatedExamples []*GoogleCloudDatalabelingV1beta1Example `json:"modelCreatedExamples,omitempty"` // ForceSendFields is a list of field names (e.g. "GroundTruthExample") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GroundTruthExample") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ExampleComparison: Example comparisons comparing ground truth output and predictions for a specific input.
func (*GoogleCloudDatalabelingV1beta1ExampleComparison) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ExampleComparison) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata struct { // AnnotatedDataset: Output only. The name of annotated dataset in // format "projects/*/datasets/*/annotatedDatasets/*". AnnotatedDataset string `json:"annotatedDataset,omitempty"` // CreateTime: Output only. Timestamp when export dataset request was // created. CreateTime string `json:"createTime,omitempty"` // Dataset: Output only. The name of dataset to be exported. // "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // PartialFailures: Output only. Partial failures encountered. E.g. // single files that couldn't be read. Status details field will contain // standard GCP error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata: Metadata of an ExportData operation.
func (*GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ExportDataOperationResponse ¶
type GoogleCloudDatalabelingV1beta1ExportDataOperationResponse struct { // AnnotatedDataset: Output only. The name of annotated dataset in // format "projects/*/datasets/*/annotatedDatasets/*". AnnotatedDataset string `json:"annotatedDataset,omitempty"` // Dataset: Ouptut only. The name of dataset. "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // ExportCount: Output only. Number of examples exported successfully. ExportCount int64 `json:"exportCount,omitempty"` // LabelStats: Output only. Statistic infos of labels in the exported // dataset. LabelStats *GoogleCloudDatalabelingV1beta1LabelStats `json:"labelStats,omitempty"` // OutputConfig: Output only. output_config in the ExportData request. OutputConfig *GoogleCloudDatalabelingV1beta1OutputConfig `json:"outputConfig,omitempty"` // TotalCount: Output only. Total number of examples requested to export TotalCount int64 `json:"totalCount,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ExportDataOperationResponse: Response used for ExportDataset longrunning operation.
func (*GoogleCloudDatalabelingV1beta1ExportDataOperationResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ExportDataOperationResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ExportDataRequest ¶
type GoogleCloudDatalabelingV1beta1ExportDataRequest struct { // AnnotatedDataset: Required. Annotated dataset resource name. DataItem // in Dataset and their annotations in specified annotated dataset will // be exported. It's in format of // projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ // {annotated_dataset_id} AnnotatedDataset string `json:"annotatedDataset,omitempty"` // Filter: Optional. Filter is not supported at this moment. Filter string `json:"filter,omitempty"` // OutputConfig: Required. Specify the output destination. OutputConfig *GoogleCloudDatalabelingV1beta1OutputConfig `json:"outputConfig,omitempty"` // UserEmailAddress: Email of the user who started the export task and // should be notified by email. If empty no notification will be sent. UserEmailAddress string `json:"userEmailAddress,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ExportDataRequest: Request message for ExportData API.
func (*GoogleCloudDatalabelingV1beta1ExportDataRequest) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ExportDataRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1FeedbackMessage ¶
type GoogleCloudDatalabelingV1beta1FeedbackMessage struct { // Body: String content of the feedback. Maximum of 10000 characters. Body string `json:"body,omitempty"` // CreateTime: Create time. CreateTime string `json:"createTime,omitempty"` // Image: The image storing this feedback if the feedback is an image // representing operator's comments. Image string `json:"image,omitempty"` // Name: Name of the feedback message in a feedback thread. Format: // 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotat // ed_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessage/{f // eedback_message_id}' Name string `json:"name,omitempty"` OperatorFeedbackMetadata *GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata `json:"operatorFeedbackMetadata,omitempty"` RequesterFeedbackMetadata *GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata `json:"requesterFeedbackMetadata,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Body") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Body") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1FeedbackMessage: A feedback message inside a feedback thread.
func (*GoogleCloudDatalabelingV1beta1FeedbackMessage) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1FeedbackMessage) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1FeedbackThread ¶
type GoogleCloudDatalabelingV1beta1FeedbackThread struct { // FeedbackThreadMetadata: Metadata regarding the feedback thread. FeedbackThreadMetadata *GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata `json:"feedbackThreadMetadata,omitempty"` // Name: Name of the feedback thread. Format: // 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotat // ed_dataset_id}/feedbackThreads/{feedback_thread_id}' Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "FeedbackThreadMetadata") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeedbackThreadMetadata") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1FeedbackThread: A feedback thread of a certain labeling task on a certain annotated dataset.
func (*GoogleCloudDatalabelingV1beta1FeedbackThread) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1FeedbackThread) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata ¶
type GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata struct { // CreateTime: When the thread is created CreateTime string `json:"createTime,omitempty"` // LastUpdateTime: When the thread is last updated. LastUpdateTime string `json:"lastUpdateTime,omitempty"` // Possible values: // "FEEDBACK_THREAD_STATUS_UNSPECIFIED" // "NEW" - Feedback thread is created with no reply; // "REPLIED" - Feedback thread is replied at least once; Status string `json:"status,omitempty"` // Thumbnail: An image thumbnail of this thread. Thumbnail string `json:"thumbnail,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
func (*GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1GcsDestination ¶
type GoogleCloudDatalabelingV1beta1GcsDestination struct { // MimeType: Required. The format of the gcs destination. Only // "text/csv" and "application/json" are supported. MimeType string `json:"mimeType,omitempty"` // OutputUri: Required. The output uri of destination file. OutputUri string `json:"outputUri,omitempty"` // ForceSendFields is a list of field names (e.g. "MimeType") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MimeType") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1GcsDestination: Export destination of the data.Only gcs path is allowed in output_uri.
func (*GoogleCloudDatalabelingV1beta1GcsDestination) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1GcsDestination) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1GcsFolderDestination ¶
type GoogleCloudDatalabelingV1beta1GcsFolderDestination struct { // OutputFolderUri: Required. Cloud Storage directory to export data to. OutputFolderUri string `json:"outputFolderUri,omitempty"` // ForceSendFields is a list of field names (e.g. "OutputFolderUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OutputFolderUri") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1GcsFolderDestination: Export folder destination of the data.
func (*GoogleCloudDatalabelingV1beta1GcsFolderDestination) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1GcsFolderDestination) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1GcsSource ¶
type GoogleCloudDatalabelingV1beta1GcsSource struct { // InputUri: Required. The input URI of source file. This must be a // Cloud Storage path (`gs://...`). InputUri string `json:"inputUri,omitempty"` // MimeType: Required. The format of the source file. Only "text/csv" is // supported. MimeType string `json:"mimeType,omitempty"` // ForceSendFields is a list of field names (e.g. "InputUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "InputUri") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1GcsSource: Source of the Cloud Storage file to be imported.
func (*GoogleCloudDatalabelingV1beta1GcsSource) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1GcsSource) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1HumanAnnotationConfig ¶
type GoogleCloudDatalabelingV1beta1HumanAnnotationConfig struct { // AnnotatedDatasetDescription: Optional. A human-readable description // for AnnotatedDataset. The description can be up to 10000 characters // long. AnnotatedDatasetDescription string `json:"annotatedDatasetDescription,omitempty"` // AnnotatedDatasetDisplayName: Required. A human-readable name for // AnnotatedDataset defined by users. Maximum of 64 characters . AnnotatedDatasetDisplayName string `json:"annotatedDatasetDisplayName,omitempty"` // ContributorEmails: Optional. If you want your own labeling // contributors to manage and work on this labeling request, you can set // these contributors here. We will give them access to the question // types in crowdcompute. Note that these emails must be registered in // crowdcompute worker UI: https://crowd-compute.appspot.com/ ContributorEmails []string `json:"contributorEmails,omitempty"` // Instruction: Required. Instruction resource name. Instruction string `json:"instruction,omitempty"` // LabelGroup: Optional. A human-readable label used to logically group // labeling tasks. This string must match the regular expression // `[a-zA-Z\\d_-]{0,128}`. LabelGroup string `json:"labelGroup,omitempty"` // LanguageCode: Optional. The Language of this question, as a BCP-47 // (https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is // en-US. Only need to set this when task is language related. For // example, French text classification. LanguageCode string `json:"languageCode,omitempty"` // QuestionDuration: Optional. Maximum duration for contributors to // answer a question. Maximum is 3600 seconds. Default is 3600 seconds. QuestionDuration string `json:"questionDuration,omitempty"` // ReplicaCount: Optional. Replication of questions. Each question will // be sent to up to this number of contributors to label. Aggregated // answers will be returned. Default is set to 1. For image related // labeling, valid values are 1, 3, 5. ReplicaCount int64 `json:"replicaCount,omitempty"` // UserEmailAddress: Email of the user who started the labeling task and // should be notified by email. If empty no notification will be sent. UserEmailAddress string `json:"userEmailAddress,omitempty"` // ForceSendFields is a list of field names (e.g. // "AnnotatedDatasetDescription") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AnnotatedDatasetDescription") to include in API requests with the // JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1HumanAnnotationConfig: Configuration for how human labeling task should be done.
func (*GoogleCloudDatalabelingV1beta1HumanAnnotationConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation ¶
type GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation struct { // AnnotationSpec: Label of object in this bounding polygon. AnnotationSpec *GoogleCloudDatalabelingV1beta1AnnotationSpec `json:"annotationSpec,omitempty"` BoundingPoly *GoogleCloudDatalabelingV1beta1BoundingPoly `json:"boundingPoly,omitempty"` NormalizedBoundingPoly *GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly `json:"normalizedBoundingPoly,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpec") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpec") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation: Image bounding poly annotation. It represents a polygon including bounding box in the image.
func (*GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation ¶
type GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation struct { // AnnotationSpec: Label of image. AnnotationSpec *GoogleCloudDatalabelingV1beta1AnnotationSpec `json:"annotationSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpec") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpec") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation: Image classification annotation definition.
func (*GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ImageClassificationConfig ¶
type GoogleCloudDatalabelingV1beta1ImageClassificationConfig struct { // AllowMultiLabel: Optional. If allow_multi_label is true, contributors // are able to choose multiple labels for one image. AllowMultiLabel bool `json:"allowMultiLabel,omitempty"` // AnnotationSpecSet: Required. Annotation spec set resource name. AnnotationSpecSet string `json:"annotationSpecSet,omitempty"` // AnswerAggregationType: Optional. The type of how to aggregate // answers. // // Possible values: // "STRING_AGGREGATION_TYPE_UNSPECIFIED" // "MAJORITY_VOTE" - Majority vote to aggregate answers. // "UNANIMOUS_VOTE" - Unanimous answers will be adopted. // "NO_AGGREGATION" - Preserve all answers by crowd compute. AnswerAggregationType string `json:"answerAggregationType,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowMultiLabel") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowMultiLabel") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ImageClassificationConfig: Config for image classification human labeling task.
func (*GoogleCloudDatalabelingV1beta1ImageClassificationConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ImageClassificationConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ImagePayload ¶
type GoogleCloudDatalabelingV1beta1ImagePayload struct { // ImageThumbnail: A byte string of a thumbnail image. ImageThumbnail string `json:"imageThumbnail,omitempty"` // ImageUri: Image uri from the user bucket. ImageUri string `json:"imageUri,omitempty"` // MimeType: Image format. MimeType string `json:"mimeType,omitempty"` // SignedUri: Signed uri of the image file in the service bucket. SignedUri string `json:"signedUri,omitempty"` // ForceSendFields is a list of field names (e.g. "ImageThumbnail") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ImageThumbnail") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ImagePayload: Container of information about an image.
func (*GoogleCloudDatalabelingV1beta1ImagePayload) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ImagePayload) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation ¶
type GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation struct { // AnnotationSpec: Label of this polyline. AnnotationSpec *GoogleCloudDatalabelingV1beta1AnnotationSpec `json:"annotationSpec,omitempty"` NormalizedPolyline *GoogleCloudDatalabelingV1beta1NormalizedPolyline `json:"normalizedPolyline,omitempty"` Polyline *GoogleCloudDatalabelingV1beta1Polyline `json:"polyline,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpec") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpec") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation: A polyline for the image annotation.
func (*GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation ¶
type GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation struct { // AnnotationColors: The mapping between rgb color and annotation spec. // The key is the rgb color represented in format of rgb(0, 0, 0). The // value is the AnnotationSpec. AnnotationColors map[string]GoogleCloudDatalabelingV1beta1AnnotationSpec `json:"annotationColors,omitempty"` // ImageBytes: A byte string of a full image's color map. ImageBytes string `json:"imageBytes,omitempty"` // MimeType: Image format. MimeType string `json:"mimeType,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationColors") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationColors") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation: Image segmentation annotation.
func (*GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata struct { // CreateTime: Output only. Timestamp when import dataset request was // created. CreateTime string `json:"createTime,omitempty"` // Dataset: Output only. The name of imported dataset. // "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // PartialFailures: Output only. Partial failures encountered. E.g. // single files that couldn't be read. Status details field will contain // standard GCP error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata: Metadata of an ImportData operation.
func (*GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ImportDataOperationResponse ¶
type GoogleCloudDatalabelingV1beta1ImportDataOperationResponse struct { // Dataset: Ouptut only. The name of imported dataset. Dataset string `json:"dataset,omitempty"` // ImportCount: Output only. Number of examples imported successfully. ImportCount int64 `json:"importCount,omitempty"` // TotalCount: Output only. Total number of examples requested to import TotalCount int64 `json:"totalCount,omitempty"` // ForceSendFields is a list of field names (e.g. "Dataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dataset") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ImportDataOperationResponse: Response used for ImportData longrunning operation.
func (*GoogleCloudDatalabelingV1beta1ImportDataOperationResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ImportDataOperationResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ImportDataRequest ¶
type GoogleCloudDatalabelingV1beta1ImportDataRequest struct { // InputConfig: Required. Specify the input source of the data. InputConfig *GoogleCloudDatalabelingV1beta1InputConfig `json:"inputConfig,omitempty"` // UserEmailAddress: Email of the user who started the import task and // should be notified by email. If empty no notification will be sent. UserEmailAddress string `json:"userEmailAddress,omitempty"` // ForceSendFields is a list of field names (e.g. "InputConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "InputConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ImportDataRequest: Request message for ImportData API.
func (*GoogleCloudDatalabelingV1beta1ImportDataRequest) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ImportDataRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1InputConfig ¶
type GoogleCloudDatalabelingV1beta1InputConfig struct { // AnnotationType: Optional. The type of annotation to be performed on // this data. You must specify this field if you are using this // InputConfig in an EvaluationJob. // // Possible values: // "ANNOTATION_TYPE_UNSPECIFIED" // "IMAGE_CLASSIFICATION_ANNOTATION" - Classification annotations in // an image. Allowed for continuous evaluation. // "IMAGE_BOUNDING_BOX_ANNOTATION" - Bounding box annotations in an // image. A form of image object detection. Allowed for continuous // evaluation. // "IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION" - Oriented bounding box. // The box does not have to be parallel to horizontal line. // "IMAGE_BOUNDING_POLY_ANNOTATION" - Bounding poly annotations in an // image. // "IMAGE_POLYLINE_ANNOTATION" - Polyline annotations in an image. // "IMAGE_SEGMENTATION_ANNOTATION" - Segmentation annotations in an // image. // "VIDEO_SHOTS_CLASSIFICATION_ANNOTATION" - Classification // annotations in video shots. // "VIDEO_OBJECT_TRACKING_ANNOTATION" - Video object tracking // annotation. // "VIDEO_OBJECT_DETECTION_ANNOTATION" - Video object detection // annotation. // "VIDEO_EVENT_ANNOTATION" - Video event annotation. // "TEXT_CLASSIFICATION_ANNOTATION" - Classification for text. Allowed // for continuous evaluation. // "TEXT_ENTITY_EXTRACTION_ANNOTATION" - Entity extraction for text. // "GENERAL_CLASSIFICATION_ANNOTATION" - General classification. // Allowed for continuous evaluation. AnnotationType string `json:"annotationType,omitempty"` // BigquerySource: Source located in BigQuery. You must specify this // field if you are using this InputConfig in an EvaluationJob. BigquerySource *GoogleCloudDatalabelingV1beta1BigQuerySource `json:"bigquerySource,omitempty"` // ClassificationMetadata: Optional. Metadata about annotations for the // input. You must specify this field if you are using this InputConfig // in an EvaluationJob for a model version that performs classification. ClassificationMetadata *GoogleCloudDatalabelingV1beta1ClassificationMetadata `json:"classificationMetadata,omitempty"` // DataType: Required. Data type must be specifed when user tries to // import data. // // Possible values: // "DATA_TYPE_UNSPECIFIED" - Data type is unspecified. // "IMAGE" - Allowed for continuous evaluation. // "VIDEO" - Video data type. // "TEXT" - Allowed for continuous evaluation. // "GENERAL_DATA" - Allowed for continuous evaluation. DataType string `json:"dataType,omitempty"` // GcsSource: Source located in Cloud Storage. GcsSource *GoogleCloudDatalabelingV1beta1GcsSource `json:"gcsSource,omitempty"` // TextMetadata: Required for text import, as language code must be // specified. TextMetadata *GoogleCloudDatalabelingV1beta1TextMetadata `json:"textMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationType") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationType") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1InputConfig: The configuration of input data, including data type, location, etc.
func (*GoogleCloudDatalabelingV1beta1InputConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1InputConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1Instruction ¶
type GoogleCloudDatalabelingV1beta1Instruction struct { // BlockingResources: Output only. The names of any related resources // that are blocking changes to the instruction. BlockingResources []string `json:"blockingResources,omitempty"` // CreateTime: Output only. Creation time of instruction. CreateTime string `json:"createTime,omitempty"` // CsvInstruction: Deprecated: this instruction format is not supported // any more. Instruction from a CSV file, such as for classification // task. The CSV file should have exact two columns, in the following // format: * The first column is labeled data, such as an image // reference, text. * The second column is comma separated labels // associated with data. CsvInstruction *GoogleCloudDatalabelingV1beta1CsvInstruction `json:"csvInstruction,omitempty"` // DataType: Required. The data type of this instruction. // // Possible values: // "DATA_TYPE_UNSPECIFIED" - Data type is unspecified. // "IMAGE" - Allowed for continuous evaluation. // "VIDEO" - Video data type. // "TEXT" - Allowed for continuous evaluation. // "GENERAL_DATA" - Allowed for continuous evaluation. DataType string `json:"dataType,omitempty"` // Description: Optional. User-provided description of the instruction. // The description can be up to 10000 characters long. Description string `json:"description,omitempty"` // DisplayName: Required. The display name of the instruction. Maximum // of 64 characters. DisplayName string `json:"displayName,omitempty"` // Name: Output only. Instruction resource name, format: // projects/{project_id}/instructions/{instruction_id} Name string `json:"name,omitempty"` // PdfInstruction: Instruction from a PDF document. The PDF should be in // a Cloud Storage bucket. PdfInstruction *GoogleCloudDatalabelingV1beta1PdfInstruction `json:"pdfInstruction,omitempty"` // UpdateTime: Output only. Last update time of instruction. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BlockingResources") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BlockingResources") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1Instruction: Instruction of how to perform the labeling task for human operators. Currently only PDF instruction is supported.
func (*GoogleCloudDatalabelingV1beta1Instruction) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1Instruction) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata: Details of a LabelImageBoundingBox operation metadata.
func (*GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata:
Details of LabelImageBoundingPoly operation metadata.
func (*GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadat a: Metadata of a LabelImageClassification operation.
func (*GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata struct { // BasicConfig: Basic human annotation config. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMe tadata: Details of a LabelImageOrientedBoundingBox operation metadata.
func (*GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata: Details of LabelImagePolyline operation metadata.
func (*GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelImageRequest ¶
type GoogleCloudDatalabelingV1beta1LabelImageRequest struct { // BasicConfig: Required. Basic human annotation config. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // BoundingPolyConfig: Configuration for bounding box and bounding poly // task. One of image_classification_config, bounding_poly_config, // polyline_config and segmentation_config are required. BoundingPolyConfig *GoogleCloudDatalabelingV1beta1BoundingPolyConfig `json:"boundingPolyConfig,omitempty"` // Feature: Required. The type of image labeling task. // // Possible values: // "FEATURE_UNSPECIFIED" // "CLASSIFICATION" - Label whole image with one or more of labels. // "BOUNDING_BOX" - Label image with bounding boxes for labels. // "ORIENTED_BOUNDING_BOX" - Label oriented bounding box. The box does // not have to be parallel to horizontal line. // "BOUNDING_POLY" - Label images with bounding poly. A bounding poly // is a plane figure that is bounded by a finite chain of straight line // segments closing in a loop. // "POLYLINE" - Label images with polyline. Polyline is formed by // connected line segments which are not in closed form. // "SEGMENTATION" - Label images with segmentation. Segmentation is // different from bounding poly since it is more fine-grained, pixel // level annotation. Feature string `json:"feature,omitempty"` // ImageClassificationConfig: Configuration for image classification // task. One of image_classification_config, bounding_poly_config, // polyline_config and segmentation_config are required. ImageClassificationConfig *GoogleCloudDatalabelingV1beta1ImageClassificationConfig `json:"imageClassificationConfig,omitempty"` // PolylineConfig: Configuration for polyline task. One of // image_classification_config, bounding_poly_config, polyline_config // and segmentation_config are required. PolylineConfig *GoogleCloudDatalabelingV1beta1PolylineConfig `json:"polylineConfig,omitempty"` // SegmentationConfig: Configuration for segmentation task. One of // image_classification_config, bounding_poly_config, polyline_config // and segmentation_config are required. SegmentationConfig *GoogleCloudDatalabelingV1beta1SegmentationConfig `json:"segmentationConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelImageRequest: Request message for starting an image labeling task.
func (*GoogleCloudDatalabelingV1beta1LabelImageRequest) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelImageRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata struct { // BasicConfig: Basic human annotation config. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata:
Details of a LabelImageSegmentation operation metadata.
func (*GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1LabelOperationMetadata struct { // AnnotatedDataset: Output only. The name of annotated dataset in // format "projects/*/datasets/*/annotatedDatasets/*". AnnotatedDataset string `json:"annotatedDataset,omitempty"` // CreateTime: Output only. Timestamp when labeling request was created. CreateTime string `json:"createTime,omitempty"` // Dataset: Output only. The name of dataset to be labeled. // "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // ImageBoundingBoxDetails: Details of label image bounding box // operation. ImageBoundingBoxDetails *GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata `json:"imageBoundingBoxDetails,omitempty"` // ImageBoundingPolyDetails: Details of label image bounding poly // operation. ImageBoundingPolyDetails *GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata `json:"imageBoundingPolyDetails,omitempty"` // ImageClassificationDetails: Details of label image classification // operation. ImageClassificationDetails *GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata `json:"imageClassificationDetails,omitempty"` // ImageOrientedBoundingBoxDetails: Details of label image oriented // bounding box operation. ImageOrientedBoundingBoxDetails *GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata `json:"imageOrientedBoundingBoxDetails,omitempty"` // ImagePolylineDetails: Details of label image polyline operation. ImagePolylineDetails *GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata `json:"imagePolylineDetails,omitempty"` // ImageSegmentationDetails: Details of label image segmentation // operation. ImageSegmentationDetails *GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata `json:"imageSegmentationDetails,omitempty"` // PartialFailures: Output only. Partial failures encountered. E.g. // single files that couldn't be read. Status details field will contain // standard GCP error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ProgressPercent: Output only. Progress of label operation. Range: [0, // 100]. ProgressPercent int64 `json:"progressPercent,omitempty"` // TextClassificationDetails: Details of label text classification // operation. TextClassificationDetails *GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata `json:"textClassificationDetails,omitempty"` // TextEntityExtractionDetails: Details of label text entity extraction // operation. TextEntityExtractionDetails *GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata `json:"textEntityExtractionDetails,omitempty"` // VideoClassificationDetails: Details of label video classification // operation. VideoClassificationDetails *GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata `json:"videoClassificationDetails,omitempty"` // VideoEventDetails: Details of label video event operation. VideoEventDetails *GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata `json:"videoEventDetails,omitempty"` // VideoObjectDetectionDetails: Details of label video object detection // operation. VideoObjectDetectionDetails *GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata `json:"videoObjectDetectionDetails,omitempty"` // VideoObjectTrackingDetails: Details of label video object tracking // operation. VideoObjectTrackingDetails *GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata `json:"videoObjectTrackingDetails,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelOperationMetadata: Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 23
func (*GoogleCloudDatalabelingV1beta1LabelOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelStats ¶
type GoogleCloudDatalabelingV1beta1LabelStats struct { // ExampleCount: Map of each annotation spec's example count. Key is the // annotation spec name and value is the number of examples for that // annotation spec. If the annotated dataset does not have annotation // spec, the map will return a pair where the key is empty string and // value is the total number of annotations. ExampleCount map[string]string `json:"exampleCount,omitempty"` // ForceSendFields is a list of field names (e.g. "ExampleCount") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExampleCount") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelStats: Statistics about annotation specs.
func (*GoogleCloudDatalabelingV1beta1LabelStats) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelStats) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata : Details of a LabelTextClassification operation metadata.
func (*GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetada ta: Details of a LabelTextEntityExtraction operation metadata.
func (*GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelTextRequest ¶
type GoogleCloudDatalabelingV1beta1LabelTextRequest struct { // BasicConfig: Required. Basic human annotation config. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // Feature: Required. The type of text labeling task. // // Possible values: // "FEATURE_UNSPECIFIED" // "TEXT_CLASSIFICATION" - Label text content to one of more labels. // "TEXT_ENTITY_EXTRACTION" - Label entities and their span in text. Feature string `json:"feature,omitempty"` // TextClassificationConfig: Configuration for text classification task. // One of text_classification_config and text_entity_extraction_config // is required. TextClassificationConfig *GoogleCloudDatalabelingV1beta1TextClassificationConfig `json:"textClassificationConfig,omitempty"` // TextEntityExtractionConfig: Configuration for entity extraction task. // One of text_classification_config and text_entity_extraction_config // is required. TextEntityExtractionConfig *GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig `json:"textEntityExtractionConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelTextRequest: Request message for LabelText.
func (*GoogleCloudDatalabelingV1beta1LabelTextRequest) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelTextRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadat a: Details of a LabelVideoClassification operation metadata.
func (*GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata: Details of a LabelVideoEvent operation metadata.
func (*GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetada ta: Details of a LabelVideoObjectDetection operation metadata.
func (*GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata ¶
type GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadat a: Details of a LabelVideoObjectTracking operation metadata.
func (*GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1LabelVideoRequest ¶
type GoogleCloudDatalabelingV1beta1LabelVideoRequest struct { // BasicConfig: Required. Basic human annotation config. BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"` // EventConfig: Configuration for video event task. One of // video_classification_config, object_detection_config, // object_tracking_config and event_config is required. EventConfig *GoogleCloudDatalabelingV1beta1EventConfig `json:"eventConfig,omitempty"` // Feature: Required. The type of video labeling task. // // Possible values: // "FEATURE_UNSPECIFIED" // "CLASSIFICATION" - Label whole video or video segment with one or // more labels. // "OBJECT_DETECTION" - Label objects with bounding box on image // frames extracted from the video. // "OBJECT_TRACKING" - Label and track objects in video. // "EVENT" - Label the range of video for the specified events. Feature string `json:"feature,omitempty"` // ObjectDetectionConfig: Configuration for video object detection task. // One of video_classification_config, object_detection_config, // object_tracking_config and event_config is required. ObjectDetectionConfig *GoogleCloudDatalabelingV1beta1ObjectDetectionConfig `json:"objectDetectionConfig,omitempty"` // ObjectTrackingConfig: Configuration for video object tracking task. // One of video_classification_config, object_detection_config, // object_tracking_config and event_config is required. ObjectTrackingConfig *GoogleCloudDatalabelingV1beta1ObjectTrackingConfig `json:"objectTrackingConfig,omitempty"` // VideoClassificationConfig: Configuration for video classification // task. One of video_classification_config, object_detection_config, // object_tracking_config and event_config is required. VideoClassificationConfig *GoogleCloudDatalabelingV1beta1VideoClassificationConfig `json:"videoClassificationConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1LabelVideoRequest: Request message for LabelVideo.
func (*GoogleCloudDatalabelingV1beta1LabelVideoRequest) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1LabelVideoRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse ¶
type GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse struct { // AnnotatedDatasets: The list of annotated datasets to return. AnnotatedDatasets []*GoogleCloudDatalabelingV1beta1AnnotatedDataset `json:"annotatedDatasets,omitempty"` // NextPageToken: A token to retrieve next page of results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AnnotatedDatasets") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDatasets") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse: Results of listing annotated datasets for a dataset.
func (*GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse ¶
type GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse struct { // AnnotationSpecSets: The list of annotation spec sets. AnnotationSpecSets []*GoogleCloudDatalabelingV1beta1AnnotationSpecSet `json:"annotationSpecSets,omitempty"` // NextPageToken: A token to retrieve next page of results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecSets") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecSets") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse: Results of listing annotation spec set under a project.
func (*GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ListDataItemsResponse ¶
type GoogleCloudDatalabelingV1beta1ListDataItemsResponse struct { // DataItems: The list of data items to return. DataItems []*GoogleCloudDatalabelingV1beta1DataItem `json:"dataItems,omitempty"` // NextPageToken: A token to retrieve next page of results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DataItems") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataItems") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ListDataItemsResponse: Results of listing data items in a dataset.
func (*GoogleCloudDatalabelingV1beta1ListDataItemsResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ListDataItemsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ListDatasetsResponse ¶
type GoogleCloudDatalabelingV1beta1ListDatasetsResponse struct { // Datasets: The list of datasets to return. Datasets []*GoogleCloudDatalabelingV1beta1Dataset `json:"datasets,omitempty"` // NextPageToken: A token to retrieve next page of results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Datasets") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Datasets") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ListDatasetsResponse: Results of listing datasets within a project.
func (*GoogleCloudDatalabelingV1beta1ListDatasetsResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ListDatasetsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse ¶
type GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse struct { // EvaluationJobs: The list of evaluation jobs to return. EvaluationJobs []*GoogleCloudDatalabelingV1beta1EvaluationJob `json:"evaluationJobs,omitempty"` // NextPageToken: A token to retrieve next page of results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "EvaluationJobs") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EvaluationJobs") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse: Results for listing evaluation jobs.
func (*GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ListExamplesResponse ¶
type GoogleCloudDatalabelingV1beta1ListExamplesResponse struct { // Examples: The list of examples to return. Examples []*GoogleCloudDatalabelingV1beta1Example `json:"examples,omitempty"` // NextPageToken: A token to retrieve next page of results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Examples") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Examples") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ListExamplesResponse: Results of listing Examples in and annotated dataset.
func (*GoogleCloudDatalabelingV1beta1ListExamplesResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ListExamplesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse ¶
type GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse struct { // FeedbackMessages: The list of feedback messages to return. FeedbackMessages []*GoogleCloudDatalabelingV1beta1FeedbackMessage `json:"feedbackMessages,omitempty"` // NextPageToken: A token to retrieve next page of results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FeedbackMessages") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeedbackMessages") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse: Results for listing FeedbackMessages.
func (*GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse ¶
type GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse struct { // FeedbackThreads: The list of feedback threads to return. FeedbackThreads []*GoogleCloudDatalabelingV1beta1FeedbackThread `json:"feedbackThreads,omitempty"` // NextPageToken: A token to retrieve next page of results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FeedbackThreads") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeedbackThreads") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse: Results for listing FeedbackThreads.
func (*GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ListInstructionsResponse ¶
type GoogleCloudDatalabelingV1beta1ListInstructionsResponse struct { // Instructions: The list of Instructions to return. Instructions []*GoogleCloudDatalabelingV1beta1Instruction `json:"instructions,omitempty"` // NextPageToken: A token to retrieve next page of results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Instructions") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Instructions") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ListInstructionsResponse: Results of listing instructions under a project.
func (*GoogleCloudDatalabelingV1beta1ListInstructionsResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ListInstructionsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly ¶
type GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly struct { // NormalizedVertices: The bounding polygon normalized vertices. NormalizedVertices []*GoogleCloudDatalabelingV1beta1NormalizedVertex `json:"normalizedVertices,omitempty"` // ForceSendFields is a list of field names (e.g. "NormalizedVertices") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NormalizedVertices") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly: Normalized bounding polygon.
func (*GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1NormalizedPolyline ¶
type GoogleCloudDatalabelingV1beta1NormalizedPolyline struct { // NormalizedVertices: The normalized polyline vertices. NormalizedVertices []*GoogleCloudDatalabelingV1beta1NormalizedVertex `json:"normalizedVertices,omitempty"` // ForceSendFields is a list of field names (e.g. "NormalizedVertices") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NormalizedVertices") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1NormalizedPolyline: Normalized polyline.
func (*GoogleCloudDatalabelingV1beta1NormalizedPolyline) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1NormalizedPolyline) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1NormalizedVertex ¶
type GoogleCloudDatalabelingV1beta1NormalizedVertex struct { // X: X coordinate. X float64 `json:"x,omitempty"` // Y: Y coordinate. Y float64 `json:"y,omitempty"` // ForceSendFields is a list of field names (e.g. "X") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "X") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1NormalizedVertex: A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.
func (*GoogleCloudDatalabelingV1beta1NormalizedVertex) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1NormalizedVertex) MarshalJSON() ([]byte, error)
func (*GoogleCloudDatalabelingV1beta1NormalizedVertex) UnmarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1NormalizedVertex) UnmarshalJSON(data []byte) error
type GoogleCloudDatalabelingV1beta1ObjectDetectionConfig ¶
type GoogleCloudDatalabelingV1beta1ObjectDetectionConfig struct { // AnnotationSpecSet: Required. Annotation spec set resource name. AnnotationSpecSet string `json:"annotationSpecSet,omitempty"` // ExtractionFrameRate: Required. Number of frames per second to be // extracted from the video. ExtractionFrameRate float64 `json:"extractionFrameRate,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecSet") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecSet") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ObjectDetectionConfig: Config for video object detection human labeling task. Object detection will be conducted on the images extracted from the video, and those objects will be labeled with bounding boxes. User need to specify the number of images to be extracted per second as the extraction frame rate.
func (*GoogleCloudDatalabelingV1beta1ObjectDetectionConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ObjectDetectionConfig) MarshalJSON() ([]byte, error)
func (*GoogleCloudDatalabelingV1beta1ObjectDetectionConfig) UnmarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ObjectDetectionConfig) UnmarshalJSON(data []byte) error
type GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics ¶
type GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics struct { // PrCurve: Precision-recall curve. PrCurve *GoogleCloudDatalabelingV1beta1PrCurve `json:"prCurve,omitempty"` // ForceSendFields is a list of field names (e.g. "PrCurve") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PrCurve") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics: Metrics calculated for an image object detection (bounding box) model.
func (*GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ObjectTrackingConfig ¶
type GoogleCloudDatalabelingV1beta1ObjectTrackingConfig struct { // AnnotationSpecSet: Required. Annotation spec set resource name. AnnotationSpecSet string `json:"annotationSpecSet,omitempty"` // ClipLength: Videos will be cut to smaller clips to make it easier for // labelers to work on. Users can configure is field in seconds, if not // set, default value is 20s. ClipLength int64 `json:"clipLength,omitempty"` // OverlapLength: The overlap length between different video clips. // Users can configure is field in seconds, if not set, default value is // 0.3s. OverlapLength int64 `json:"overlapLength,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecSet") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecSet") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ObjectTrackingConfig: Config for video object tracking human labeling task.
func (*GoogleCloudDatalabelingV1beta1ObjectTrackingConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ObjectTrackingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1ObjectTrackingFrame ¶
type GoogleCloudDatalabelingV1beta1ObjectTrackingFrame struct { BoundingPoly *GoogleCloudDatalabelingV1beta1BoundingPoly `json:"boundingPoly,omitempty"` NormalizedBoundingPoly *GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly `json:"normalizedBoundingPoly,omitempty"` // TimeOffset: The time offset of this frame relative to the beginning // of the video. TimeOffset string `json:"timeOffset,omitempty"` // ForceSendFields is a list of field names (e.g. "BoundingPoly") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoundingPoly") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1ObjectTrackingFrame: Video frame level annotation for object detection and tracking.
func (*GoogleCloudDatalabelingV1beta1ObjectTrackingFrame) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1ObjectTrackingFrame) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata ¶
type GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata struct { }
GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata: Metadata describing the feedback from the operator.
type GoogleCloudDatalabelingV1beta1OperatorMetadata ¶
type GoogleCloudDatalabelingV1beta1OperatorMetadata struct { // Comments: Comments from contributors. Comments []string `json:"comments,omitempty"` // LabelVotes: The total number of contributors that choose this label. LabelVotes int64 `json:"labelVotes,omitempty"` // Score: Confidence score corresponding to a label. For examle, if 3 // contributors have answered the question and 2 of them agree on the // final label, the confidence score will be 0.67 (2/3). Score float64 `json:"score,omitempty"` // TotalVotes: The total number of contributors that answer this // question. TotalVotes int64 `json:"totalVotes,omitempty"` // ForceSendFields is a list of field names (e.g. "Comments") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Comments") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1OperatorMetadata: General information useful for labels coming from contributors.
func (*GoogleCloudDatalabelingV1beta1OperatorMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1OperatorMetadata) MarshalJSON() ([]byte, error)
func (*GoogleCloudDatalabelingV1beta1OperatorMetadata) UnmarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1OperatorMetadata) UnmarshalJSON(data []byte) error
type GoogleCloudDatalabelingV1beta1OutputConfig ¶
type GoogleCloudDatalabelingV1beta1OutputConfig struct { // GcsDestination: Output to a file in Cloud Storage. Should be used for // labeling output other than image segmentation. GcsDestination *GoogleCloudDatalabelingV1beta1GcsDestination `json:"gcsDestination,omitempty"` // GcsFolderDestination: Output to a folder in Cloud Storage. Should be // used for image segmentation or document de-identification labeling // outputs. GcsFolderDestination *GoogleCloudDatalabelingV1beta1GcsFolderDestination `json:"gcsFolderDestination,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsDestination") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsDestination") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1OutputConfig: The configuration of output data.
func (*GoogleCloudDatalabelingV1beta1OutputConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1OutputConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest ¶
type GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest struct { }
GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest: Request message for PauseEvaluationJob.
type GoogleCloudDatalabelingV1beta1PdfInstruction ¶
type GoogleCloudDatalabelingV1beta1PdfInstruction struct { // GcsFileUri: PDF file for the instruction. Only gcs path is allowed. GcsFileUri string `json:"gcsFileUri,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsFileUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsFileUri") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1PdfInstruction: Instruction from a PDF file.
func (*GoogleCloudDatalabelingV1beta1PdfInstruction) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1PdfInstruction) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1Polyline ¶
type GoogleCloudDatalabelingV1beta1Polyline struct { // Vertices: The polyline vertices. Vertices []*GoogleCloudDatalabelingV1beta1Vertex `json:"vertices,omitempty"` // ForceSendFields is a list of field names (e.g. "Vertices") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Vertices") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1Polyline: A line with multiple line segments.
func (*GoogleCloudDatalabelingV1beta1Polyline) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1Polyline) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1PolylineConfig ¶
type GoogleCloudDatalabelingV1beta1PolylineConfig struct { // AnnotationSpecSet: Required. Annotation spec set resource name. AnnotationSpecSet string `json:"annotationSpecSet,omitempty"` // InstructionMessage: Optional. Instruction message showed on // contributors UI. InstructionMessage string `json:"instructionMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecSet") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecSet") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1PolylineConfig: Config for image polyline human labeling task.
func (*GoogleCloudDatalabelingV1beta1PolylineConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1PolylineConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1PrCurve ¶
type GoogleCloudDatalabelingV1beta1PrCurve struct { // AnnotationSpec: The annotation spec of the label for which the // precision-recall curve calculated. If this field is empty, that means // the precision-recall curve is an aggregate curve for all labels. AnnotationSpec *GoogleCloudDatalabelingV1beta1AnnotationSpec `json:"annotationSpec,omitempty"` // AreaUnderCurve: Area under the precision-recall curve. Not to be // confused with area under a receiver operating characteristic (ROC) // curve. AreaUnderCurve float64 `json:"areaUnderCurve,omitempty"` // ConfidenceMetricsEntries: Entries that make up the precision-recall // graph. Each entry is a "point" on the graph drawn for a different // `confidence_threshold`. ConfidenceMetricsEntries []*GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry `json:"confidenceMetricsEntries,omitempty"` // MeanAveragePrecision: Mean average prcision of this curve. MeanAveragePrecision float64 `json:"meanAveragePrecision,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpec") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpec") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
func (*GoogleCloudDatalabelingV1beta1PrCurve) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1PrCurve) MarshalJSON() ([]byte, error)
func (*GoogleCloudDatalabelingV1beta1PrCurve) UnmarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1PrCurve) UnmarshalJSON(data []byte) error
type GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata ¶
type GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata struct { }
GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata: Metadata describing the feedback from the labeling task requester.
type GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest ¶
type GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest struct { }
GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest: Request message ResumeEvaluationJob.
type GoogleCloudDatalabelingV1beta1Row ¶
type GoogleCloudDatalabelingV1beta1Row struct { // AnnotationSpec: The annotation spec of the ground truth label for // this row. AnnotationSpec *GoogleCloudDatalabelingV1beta1AnnotationSpec `json:"annotationSpec,omitempty"` // Entries: A list of the confusion matrix entries. One entry for each // possible predicted label. Entries []*GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry `json:"entries,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpec") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpec") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1Row: A row in the confusion matrix. Each entry in this row has the same ground truth label.
func (*GoogleCloudDatalabelingV1beta1Row) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1Row) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse ¶
type GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse struct { // Evaluations: The list of evaluations matching the search. Evaluations []*GoogleCloudDatalabelingV1beta1Evaluation `json:"evaluations,omitempty"` // NextPageToken: A token to retrieve next page of results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Evaluations") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Evaluations") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse: Results of searching evaluations.
func (*GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest ¶
type GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest struct { // PageSize: Optional. Requested page size. Server may return fewer // results than requested. Default value is 100. PageSize int64 `json:"pageSize,omitempty"` // PageToken: Optional. A token identifying a page of results for the // server to return. Typically obtained by the nextPageToken of the // response to a previous search rquest. If you don't specify this // field, the API call requests the first page of the search. PageToken string `json:"pageToken,omitempty"` // ForceSendFields is a list of field names (e.g. "PageSize") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PageSize") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest: Request message of SearchExampleComparisons.
func (*GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse ¶
type GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse struct { // ExampleComparisons: A list of example comparisons matching the search // criteria. ExampleComparisons []*GoogleCloudDatalabelingV1beta1ExampleComparison `json:"exampleComparisons,omitempty"` // NextPageToken: A token to retrieve next page of results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ExampleComparisons") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExampleComparisons") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse: Results of searching example comparisons.
func (*GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1SegmentationConfig ¶
type GoogleCloudDatalabelingV1beta1SegmentationConfig struct { // AnnotationSpecSet: Required. Annotation spec set resource name. // format: // projects/{project_id}/annotationSpecSets/{annotation_spec_set_id} AnnotationSpecSet string `json:"annotationSpecSet,omitempty"` // InstructionMessage: Instruction message showed on labelers UI. InstructionMessage string `json:"instructionMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecSet") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecSet") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1SegmentationConfig: Config for image segmentation
func (*GoogleCloudDatalabelingV1beta1SegmentationConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1SegmentationConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1SentimentConfig ¶
type GoogleCloudDatalabelingV1beta1SentimentConfig struct { // EnableLabelSentimentSelection: If set to true, contributors will have // the option to select sentiment of the label they selected, to mark it // as negative or positive label. Default is false. EnableLabelSentimentSelection bool `json:"enableLabelSentimentSelection,omitempty"` // ForceSendFields is a list of field names (e.g. // "EnableLabelSentimentSelection") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "EnableLabelSentimentSelection") to include in API requests with the // JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1SentimentConfig: Config for setting up sentiments.
func (*GoogleCloudDatalabelingV1beta1SentimentConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1SentimentConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1SequentialSegment ¶
type GoogleCloudDatalabelingV1beta1SequentialSegment struct { // End: End position (exclusive). End int64 `json:"end,omitempty"` // Start: Start position (inclusive). Start int64 `json:"start,omitempty"` // ForceSendFields is a list of field names (e.g. "End") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "End") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1SequentialSegment: Start and end position in a sequence (e.g. text segment).
func (*GoogleCloudDatalabelingV1beta1SequentialSegment) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1SequentialSegment) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1TextClassificationAnnotation ¶
type GoogleCloudDatalabelingV1beta1TextClassificationAnnotation struct { // AnnotationSpec: Label of the text. AnnotationSpec *GoogleCloudDatalabelingV1beta1AnnotationSpec `json:"annotationSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpec") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpec") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1TextClassificationAnnotation: Text classification annotation.
func (*GoogleCloudDatalabelingV1beta1TextClassificationAnnotation) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1TextClassificationAnnotation) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1TextClassificationConfig ¶
type GoogleCloudDatalabelingV1beta1TextClassificationConfig struct { // AllowMultiLabel: Optional. If allow_multi_label is true, contributors // are able to choose multiple labels for one text segment. AllowMultiLabel bool `json:"allowMultiLabel,omitempty"` // AnnotationSpecSet: Required. Annotation spec set resource name. AnnotationSpecSet string `json:"annotationSpecSet,omitempty"` // SentimentConfig: Optional. Configs for sentiment selection. We // deprecate sentiment analysis in data labeling side as it is // incompatible with uCAIP. SentimentConfig *GoogleCloudDatalabelingV1beta1SentimentConfig `json:"sentimentConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowMultiLabel") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowMultiLabel") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1TextClassificationConfig: Config for text classification human labeling task.
func (*GoogleCloudDatalabelingV1beta1TextClassificationConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1TextClassificationConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation ¶
type GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation struct { // AnnotationSpec: Label of the text entities. AnnotationSpec *GoogleCloudDatalabelingV1beta1AnnotationSpec `json:"annotationSpec,omitempty"` // SequentialSegment: Position of the entity. SequentialSegment *GoogleCloudDatalabelingV1beta1SequentialSegment `json:"sequentialSegment,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpec") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpec") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation: Text entity extraction annotation.
func (*GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig ¶
type GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig struct { // AnnotationSpecSet: Required. Annotation spec set resource name. AnnotationSpecSet string `json:"annotationSpecSet,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpecSet") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecSet") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig: Config for text entity extraction human labeling task.
func (*GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1TextMetadata ¶
type GoogleCloudDatalabelingV1beta1TextMetadata struct { // LanguageCode: The language of this text, as a BCP-47 // (https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is // en-US. LanguageCode string `json:"languageCode,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LanguageCode") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1TextMetadata: Metadata for the text.
func (*GoogleCloudDatalabelingV1beta1TextMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1TextMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1TextPayload ¶
type GoogleCloudDatalabelingV1beta1TextPayload struct { // TextContent: Text content. TextContent string `json:"textContent,omitempty"` // ForceSendFields is a list of field names (e.g. "TextContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TextContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1TextPayload: Container of information about a piece of text.
func (*GoogleCloudDatalabelingV1beta1TextPayload) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1TextPayload) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1TimeSegment ¶
type GoogleCloudDatalabelingV1beta1TimeSegment struct { // EndTimeOffset: End of the time segment (exclusive), represented as // the duration since the example start. EndTimeOffset string `json:"endTimeOffset,omitempty"` // StartTimeOffset: Start of the time segment (inclusive), represented // as the duration since the example start. StartTimeOffset string `json:"startTimeOffset,omitempty"` // ForceSendFields is a list of field names (e.g. "EndTimeOffset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndTimeOffset") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1TimeSegment: A time period inside of an example that has a time dimension (e.g. video).
func (*GoogleCloudDatalabelingV1beta1TimeSegment) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1TimeSegment) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1Vertex ¶
type GoogleCloudDatalabelingV1beta1Vertex struct { // X: X coordinate. X int64 `json:"x,omitempty"` // Y: Y coordinate. Y int64 `json:"y,omitempty"` // ForceSendFields is a list of field names (e.g. "X") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "X") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1Vertex: A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.
func (*GoogleCloudDatalabelingV1beta1Vertex) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1Vertex) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation ¶
type GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation struct { // AnnotationSpec: Label of the segment specified by time_segment. AnnotationSpec *GoogleCloudDatalabelingV1beta1AnnotationSpec `json:"annotationSpec,omitempty"` // TimeSegment: The time segment of the video to which the annotation // applies. TimeSegment *GoogleCloudDatalabelingV1beta1TimeSegment `json:"timeSegment,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpec") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpec") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation: Video classification annotation.
func (*GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1VideoClassificationConfig ¶
type GoogleCloudDatalabelingV1beta1VideoClassificationConfig struct { // AnnotationSpecSetConfigs: Required. The list of annotation spec set // configs. Since watching a video clip takes much longer time than an // image, we support label with multiple AnnotationSpecSet at the same // time. Labels in each AnnotationSpecSet will be shown in a group to // contributors. Contributors can select one or more (depending on // whether to allow multi label) from each group. AnnotationSpecSetConfigs []*GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig `json:"annotationSpecSetConfigs,omitempty"` // ApplyShotDetection: Optional. Option to apply shot detection on the // video. ApplyShotDetection bool `json:"applyShotDetection,omitempty"` // ForceSendFields is a list of field names (e.g. // "AnnotationSpecSetConfigs") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpecSetConfigs") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1VideoClassificationConfig: Config for video classification human labeling task. Currently two types of video classification are supported: 1. Assign labels on the entire video. 2. Split the video into multiple video clips based on camera shot, and assign labels on each video clip.
func (*GoogleCloudDatalabelingV1beta1VideoClassificationConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1VideoClassificationConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1VideoEventAnnotation ¶
type GoogleCloudDatalabelingV1beta1VideoEventAnnotation struct { // AnnotationSpec: Label of the event in this annotation. AnnotationSpec *GoogleCloudDatalabelingV1beta1AnnotationSpec `json:"annotationSpec,omitempty"` // TimeSegment: The time segment of the video to which the annotation // applies. TimeSegment *GoogleCloudDatalabelingV1beta1TimeSegment `json:"timeSegment,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpec") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpec") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1VideoEventAnnotation: Video event annotation.
func (*GoogleCloudDatalabelingV1beta1VideoEventAnnotation) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1VideoEventAnnotation) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation ¶
type GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation struct { // AnnotationSpec: Label of the object tracked in this annotation. AnnotationSpec *GoogleCloudDatalabelingV1beta1AnnotationSpec `json:"annotationSpec,omitempty"` // ObjectTrackingFrames: The list of frames where this object track // appears. ObjectTrackingFrames []*GoogleCloudDatalabelingV1beta1ObjectTrackingFrame `json:"objectTrackingFrames,omitempty"` // TimeSegment: The time segment of the video to which object tracking // applies. TimeSegment *GoogleCloudDatalabelingV1beta1TimeSegment `json:"timeSegment,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotationSpec") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotationSpec") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation: Video object tracking annotation.
func (*GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1beta1VideoPayload ¶
type GoogleCloudDatalabelingV1beta1VideoPayload struct { // FrameRate: FPS of the video. FrameRate float64 `json:"frameRate,omitempty"` // MimeType: Video format. MimeType string `json:"mimeType,omitempty"` // SignedUri: Signed uri of the video file in the service bucket. SignedUri string `json:"signedUri,omitempty"` // VideoThumbnails: The list of video thumbnails. VideoThumbnails []*GoogleCloudDatalabelingV1beta1VideoThumbnail `json:"videoThumbnails,omitempty"` // VideoUri: Video uri from the user bucket. VideoUri string `json:"videoUri,omitempty"` // ForceSendFields is a list of field names (e.g. "FrameRate") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FrameRate") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1VideoPayload: Container of information of a video.
func (*GoogleCloudDatalabelingV1beta1VideoPayload) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1VideoPayload) MarshalJSON() ([]byte, error)
func (*GoogleCloudDatalabelingV1beta1VideoPayload) UnmarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1VideoPayload) UnmarshalJSON(data []byte) error
type GoogleCloudDatalabelingV1beta1VideoThumbnail ¶
type GoogleCloudDatalabelingV1beta1VideoThumbnail struct { // Thumbnail: A byte string of the video frame. Thumbnail string `json:"thumbnail,omitempty"` // TimeOffset: Time offset relative to the beginning of the video, // corresponding to the video frame where the thumbnail has been // extracted from. TimeOffset string `json:"timeOffset,omitempty"` // ForceSendFields is a list of field names (e.g. "Thumbnail") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Thumbnail") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1beta1VideoThumbnail: Container of information of a video thumbnail.
func (*GoogleCloudDatalabelingV1beta1VideoThumbnail) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1beta1VideoThumbnail) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata struct { // CreateTime: Timestamp when create instruction request was created. CreateTime string `json:"createTime,omitempty"` // Instruction: The name of the created Instruction. // projects/{project_id}/instructions/{instruction_id} Instruction string `json:"instruction,omitempty"` // PartialFailures: Partial failures encountered. E.g. single files that // couldn't be read. Status details field will contain standard GCP // error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata: Metadata of a CreateInstruction operation.
func (*GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata struct { // AnnotatedDataset: Output only. The name of annotated dataset in // format "projects/*/datasets/*/annotatedDatasets/*". AnnotatedDataset string `json:"annotatedDataset,omitempty"` // CreateTime: Output only. Timestamp when export dataset request was // created. CreateTime string `json:"createTime,omitempty"` // Dataset: Output only. The name of dataset to be exported. // "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // PartialFailures: Output only. Partial failures encountered. E.g. // single files that couldn't be read. Status details field will contain // standard GCP error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata: Metadata of an ExportData operation.
func (*GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse ¶
type GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse struct { // AnnotatedDataset: Output only. The name of annotated dataset in // format "projects/*/datasets/*/annotatedDatasets/*". AnnotatedDataset string `json:"annotatedDataset,omitempty"` // Dataset: Ouptut only. The name of dataset. "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // ExportCount: Output only. Number of examples exported successfully. ExportCount int64 `json:"exportCount,omitempty"` // LabelStats: Output only. Statistic infos of labels in the exported // dataset. LabelStats *GoogleCloudDatalabelingV1p1alpha1LabelStats `json:"labelStats,omitempty"` // OutputConfig: Output only. output_config in the ExportData request. OutputConfig *GoogleCloudDatalabelingV1p1alpha1OutputConfig `json:"outputConfig,omitempty"` // TotalCount: Output only. Total number of examples requested to export TotalCount int64 `json:"totalCount,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse: Response used for ExportDataset longrunning operation.
func (*GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1GcsDestination ¶
type GoogleCloudDatalabelingV1p1alpha1GcsDestination struct { // MimeType: Required. The format of the gcs destination. Only // "text/csv" and "application/json" are supported. MimeType string `json:"mimeType,omitempty"` // OutputUri: Required. The output uri of destination file. OutputUri string `json:"outputUri,omitempty"` // ForceSendFields is a list of field names (e.g. "MimeType") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MimeType") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1GcsDestination: Export destination of the data.Only gcs path is allowed in output_uri.
func (*GoogleCloudDatalabelingV1p1alpha1GcsDestination) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1GcsDestination) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination ¶
type GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination struct { // OutputFolderUri: Required. Cloud Storage directory to export data to. OutputFolderUri string `json:"outputFolderUri,omitempty"` // ForceSendFields is a list of field names (e.g. "OutputFolderUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OutputFolderUri") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination: Export folder destination of the data.
func (*GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata struct { // CreateTime: Timestamp when generate report request was created. CreateTime string `json:"createTime,omitempty"` // Dataset: The name of the dataset for which the analysis report is // generated. Format: "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetada ta: Metadata of an GenerateAnalysisReport operation.
func (*GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig ¶
type GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig struct { // AnnotatedDatasetDescription: Optional. A human-readable description // for AnnotatedDataset. The description can be up to 10000 characters // long. AnnotatedDatasetDescription string `json:"annotatedDatasetDescription,omitempty"` // AnnotatedDatasetDisplayName: Required. A human-readable name for // AnnotatedDataset defined by users. Maximum of 64 characters . AnnotatedDatasetDisplayName string `json:"annotatedDatasetDisplayName,omitempty"` // ContributorEmails: Optional. If you want your own labeling // contributors to manage and work on this labeling request, you can set // these contributors here. We will give them access to the question // types in crowdcompute. Note that these emails must be registered in // crowdcompute worker UI: https://crowd-compute.appspot.com/ ContributorEmails []string `json:"contributorEmails,omitempty"` // Instruction: Required. Instruction resource name. Instruction string `json:"instruction,omitempty"` // LabelGroup: Optional. A human-readable label used to logically group // labeling tasks. This string must match the regular expression // `[a-zA-Z\\d_-]{0,128}`. LabelGroup string `json:"labelGroup,omitempty"` // LanguageCode: Optional. The Language of this question, as a BCP-47 // (https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is // en-US. Only need to set this when task is language related. For // example, French text classification. LanguageCode string `json:"languageCode,omitempty"` // QuestionDuration: Optional. Maximum duration for contributors to // answer a question. Maximum is 3600 seconds. Default is 3600 seconds. QuestionDuration string `json:"questionDuration,omitempty"` // ReplicaCount: Optional. Replication of questions. Each question will // be sent to up to this number of contributors to label. Aggregated // answers will be returned. Default is set to 1. For image related // labeling, valid values are 1, 3, 5. ReplicaCount int64 `json:"replicaCount,omitempty"` // UserEmailAddress: Email of the user who started the labeling task and // should be notified by email. If empty no notification will be sent. UserEmailAddress string `json:"userEmailAddress,omitempty"` // ForceSendFields is a list of field names (e.g. // "AnnotatedDatasetDescription") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AnnotatedDatasetDescription") to include in API requests with the // JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig: Configuration for how human labeling task should be done.
func (*GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata struct { // CreateTime: Output only. Timestamp when import dataset request was // created. CreateTime string `json:"createTime,omitempty"` // Dataset: Output only. The name of imported dataset. // "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // PartialFailures: Output only. Partial failures encountered. E.g. // single files that couldn't be read. Status details field will contain // standard GCP error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata: Metadata of an ImportData operation.
func (*GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse ¶
type GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse struct { // Dataset: Ouptut only. The name of imported dataset. Dataset string `json:"dataset,omitempty"` // ImportCount: Output only. Number of examples imported successfully. ImportCount int64 `json:"importCount,omitempty"` // TotalCount: Output only. Total number of examples requested to import TotalCount int64 `json:"totalCount,omitempty"` // ForceSendFields is a list of field names (e.g. "Dataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dataset") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse: Response used for ImportData longrunning operation.
func (*GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadat a: Details of a LabelImageBoundingBox operation metadata.
func (*GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetada ta: Details of LabelImageBoundingPoly operation metadata.
func (*GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMeta data: Metadata of a LabelImageClassification operation.
func (*GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata struct { // BasicConfig: Basic human annotation config. BasicConfig *GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperatio nMetadata: Details of a LabelImageOrientedBoundingBox operation metadata.
func (*GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata: Details of LabelImagePolyline operation metadata.
func (*GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata struct { // BasicConfig: Basic human annotation config. BasicConfig *GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetada ta: Details of a LabelImageSegmentation operation metadata.
func (*GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata struct { // AnnotatedDataset: Output only. The name of annotated dataset in // format "projects/*/datasets/*/annotatedDatasets/*". AnnotatedDataset string `json:"annotatedDataset,omitempty"` // CreateTime: Output only. Timestamp when labeling request was created. CreateTime string `json:"createTime,omitempty"` // Dataset: Output only. The name of dataset to be labeled. // "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // ImageBoundingBoxDetails: Details of label image bounding box // operation. ImageBoundingBoxDetails *GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata `json:"imageBoundingBoxDetails,omitempty"` // ImageBoundingPolyDetails: Details of label image bounding poly // operation. ImageBoundingPolyDetails *GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata `json:"imageBoundingPolyDetails,omitempty"` // ImageClassificationDetails: Details of label image classification // operation. ImageClassificationDetails *GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata `json:"imageClassificationDetails,omitempty"` // ImageOrientedBoundingBoxDetails: Details of label image oriented // bounding box operation. ImageOrientedBoundingBoxDetails *GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata `json:"imageOrientedBoundingBoxDetails,omitempty"` // ImagePolylineDetails: Details of label image polyline operation. ImagePolylineDetails *GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata `json:"imagePolylineDetails,omitempty"` // ImageSegmentationDetails: Details of label image segmentation // operation. ImageSegmentationDetails *GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata `json:"imageSegmentationDetails,omitempty"` // PartialFailures: Output only. Partial failures encountered. E.g. // single files that couldn't be read. Status details field will contain // standard GCP error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ProgressPercent: Output only. Progress of label operation. Range: [0, // 100]. ProgressPercent int64 `json:"progressPercent,omitempty"` // TextClassificationDetails: Details of label text classification // operation. TextClassificationDetails *GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata `json:"textClassificationDetails,omitempty"` // TextEntityExtractionDetails: Details of label text entity extraction // operation. TextEntityExtractionDetails *GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata `json:"textEntityExtractionDetails,omitempty"` // VideoClassificationDetails: Details of label video classification // operation. VideoClassificationDetails *GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata `json:"videoClassificationDetails,omitempty"` // VideoEventDetails: Details of label video event operation. VideoEventDetails *GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata `json:"videoEventDetails,omitempty"` // VideoObjectDetectionDetails: Details of label video object detection // operation. VideoObjectDetectionDetails *GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata `json:"videoObjectDetectionDetails,omitempty"` // VideoObjectTrackingDetails: Details of label video object tracking // operation. VideoObjectTrackingDetails *GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata `json:"videoObjectTrackingDetails,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata: Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 23
func (*GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1LabelStats ¶
type GoogleCloudDatalabelingV1p1alpha1LabelStats struct { // ExampleCount: Map of each annotation spec's example count. Key is the // annotation spec name and value is the number of examples for that // annotation spec. If the annotated dataset does not have annotation // spec, the map will return a pair where the key is empty string and // value is the total number of annotations. ExampleCount map[string]string `json:"exampleCount,omitempty"` // ForceSendFields is a list of field names (e.g. "ExampleCount") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExampleCount") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1LabelStats: Statistics about annotation specs.
func (*GoogleCloudDatalabelingV1p1alpha1LabelStats) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1LabelStats) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetad ata: Details of a LabelTextClassification operation metadata.
func (*GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMet adata: Details of a LabelTextEntityExtraction operation metadata.
func (*GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMeta data: Details of a LabelVideoClassification operation metadata.
func (*GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata: Details of a LabelVideoEvent operation metadata.
func (*GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMet adata: Details of a LabelVideoObjectDetection operation metadata.
func (*GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata ¶
type GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMeta data: Details of a LabelVideoObjectTracking operation metadata.
func (*GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p1alpha1OutputConfig ¶
type GoogleCloudDatalabelingV1p1alpha1OutputConfig struct { // GcsDestination: Output to a file in Cloud Storage. Should be used for // labeling output other than image segmentation. GcsDestination *GoogleCloudDatalabelingV1p1alpha1GcsDestination `json:"gcsDestination,omitempty"` // GcsFolderDestination: Output to a folder in Cloud Storage. Should be // used for image segmentation or document de-identification labeling // outputs. GcsFolderDestination *GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination `json:"gcsFolderDestination,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsDestination") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsDestination") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p1alpha1OutputConfig: The configuration of output data.
func (*GoogleCloudDatalabelingV1p1alpha1OutputConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p1alpha1OutputConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata struct { // CreateTime: Timestamp when create instruction request was created. CreateTime string `json:"createTime,omitempty"` // Instruction: The name of the created Instruction. // projects/{project_id}/instructions/{instruction_id} Instruction string `json:"instruction,omitempty"` // PartialFailures: Partial failures encountered. E.g. single files that // couldn't be read. Status details field will contain standard GCP // error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata: Metadata of a CreateInstruction operation.
func (*GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata struct { // AnnotatedDataset: Output only. The name of annotated dataset in // format "projects/*/datasets/*/annotatedDatasets/*". AnnotatedDataset string `json:"annotatedDataset,omitempty"` // CreateTime: Output only. Timestamp when export dataset request was // created. CreateTime string `json:"createTime,omitempty"` // Dataset: Output only. The name of dataset to be exported. // "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // PartialFailures: Output only. Partial failures encountered. E.g. // single files that couldn't be read. Status details field will contain // standard GCP error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata: Metadata of an ExportData operation.
func (*GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse ¶
type GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse struct { // AnnotatedDataset: Output only. The name of annotated dataset in // format "projects/*/datasets/*/annotatedDatasets/*". AnnotatedDataset string `json:"annotatedDataset,omitempty"` // Dataset: Ouptut only. The name of dataset. "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // ExportCount: Output only. Number of examples exported successfully. ExportCount int64 `json:"exportCount,omitempty"` // LabelStats: Output only. Statistic infos of labels in the exported // dataset. LabelStats *GoogleCloudDatalabelingV1p2alpha1LabelStats `json:"labelStats,omitempty"` // OutputConfig: Output only. output_config in the ExportData request. OutputConfig *GoogleCloudDatalabelingV1p2alpha1OutputConfig `json:"outputConfig,omitempty"` // TotalCount: Output only. Total number of examples requested to export TotalCount int64 `json:"totalCount,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse: Response used for ExportDataset longrunning operation.
func (*GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1GcsDestination ¶
type GoogleCloudDatalabelingV1p2alpha1GcsDestination struct { // MimeType: Required. The format of the gcs destination. Only // "text/csv" and "application/json" are supported. MimeType string `json:"mimeType,omitempty"` // OutputUri: Required. The output uri of destination file. OutputUri string `json:"outputUri,omitempty"` // ForceSendFields is a list of field names (e.g. "MimeType") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MimeType") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1GcsDestination: Export destination of the data.Only gcs path is allowed in output_uri.
func (*GoogleCloudDatalabelingV1p2alpha1GcsDestination) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1GcsDestination) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination ¶
type GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination struct { // OutputFolderUri: Required. Cloud Storage directory to export data to. OutputFolderUri string `json:"outputFolderUri,omitempty"` // ForceSendFields is a list of field names (e.g. "OutputFolderUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OutputFolderUri") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination: Export folder destination of the data.
func (*GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig ¶
type GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig struct { // AnnotatedDatasetDescription: Optional. A human-readable description // for AnnotatedDataset. The description can be up to 10000 characters // long. AnnotatedDatasetDescription string `json:"annotatedDatasetDescription,omitempty"` // AnnotatedDatasetDisplayName: Required. A human-readable name for // AnnotatedDataset defined by users. Maximum of 64 characters . AnnotatedDatasetDisplayName string `json:"annotatedDatasetDisplayName,omitempty"` // ContributorEmails: Optional. If you want your own labeling // contributors to manage and work on this labeling request, you can set // these contributors here. We will give them access to the question // types in crowdcompute. Note that these emails must be registered in // crowdcompute worker UI: https://crowd-compute.appspot.com/ ContributorEmails []string `json:"contributorEmails,omitempty"` // Instruction: Required. Instruction resource name. Instruction string `json:"instruction,omitempty"` // LabelGroup: Optional. A human-readable label used to logically group // labeling tasks. This string must match the regular expression // `[a-zA-Z\\d_-]{0,128}`. LabelGroup string `json:"labelGroup,omitempty"` // LanguageCode: Optional. The Language of this question, as a BCP-47 // (https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is // en-US. Only need to set this when task is language related. For // example, French text classification. LanguageCode string `json:"languageCode,omitempty"` // QuestionDuration: Optional. Maximum duration for contributors to // answer a question. Maximum is 3600 seconds. Default is 3600 seconds. QuestionDuration string `json:"questionDuration,omitempty"` // ReplicaCount: Optional. Replication of questions. Each question will // be sent to up to this number of contributors to label. Aggregated // answers will be returned. Default is set to 1. For image related // labeling, valid values are 1, 3, 5. ReplicaCount int64 `json:"replicaCount,omitempty"` // UserEmailAddress: Email of the user who started the labeling task and // should be notified by email. If empty no notification will be sent. UserEmailAddress string `json:"userEmailAddress,omitempty"` // ForceSendFields is a list of field names (e.g. // "AnnotatedDatasetDescription") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AnnotatedDatasetDescription") to include in API requests with the // JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig: Configuration for how human labeling task should be done.
func (*GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata struct { // CreateTime: Output only. Timestamp when import dataset request was // created. CreateTime string `json:"createTime,omitempty"` // Dataset: Output only. The name of imported dataset. // "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // PartialFailures: Output only. Partial failures encountered. E.g. // single files that couldn't be read. Status details field will contain // standard GCP error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata: Metadata of an ImportData operation.
func (*GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse ¶
type GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse struct { // Dataset: Ouptut only. The name of imported dataset. Dataset string `json:"dataset,omitempty"` // ImportCount: Output only. Number of examples imported successfully. ImportCount int64 `json:"importCount,omitempty"` // TotalCount: Output only. Total number of examples requested to import TotalCount int64 `json:"totalCount,omitempty"` // ForceSendFields is a list of field names (e.g. "Dataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dataset") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse: Response used for ImportData longrunning operation.
func (*GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadat a: Details of a LabelImageBoundingBox operation metadata.
func (*GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetada ta: Details of LabelImageBoundingPoly operation metadata.
func (*GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMeta data: Metadata of a LabelImageClassification operation.
func (*GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata struct { // BasicConfig: Basic human annotation config. BasicConfig *GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperatio nMetadata: Details of a LabelImageOrientedBoundingBox operation metadata.
func (*GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata: Details of LabelImagePolyline operation metadata.
func (*GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata struct { // BasicConfig: Basic human annotation config. BasicConfig *GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetada ta: Details of a LabelImageSegmentation operation metadata.
func (*GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata struct { // AnnotatedDataset: Output only. The name of annotated dataset in // format "projects/*/datasets/*/annotatedDatasets/*". AnnotatedDataset string `json:"annotatedDataset,omitempty"` // CreateTime: Output only. Timestamp when labeling request was created. CreateTime string `json:"createTime,omitempty"` // Dataset: Output only. The name of dataset to be labeled. // "projects/*/datasets/*" Dataset string `json:"dataset,omitempty"` // ImageBoundingBoxDetails: Details of label image bounding box // operation. ImageBoundingBoxDetails *GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata `json:"imageBoundingBoxDetails,omitempty"` // ImageBoundingPolyDetails: Details of label image bounding poly // operation. ImageBoundingPolyDetails *GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata `json:"imageBoundingPolyDetails,omitempty"` // ImageClassificationDetails: Details of label image classification // operation. ImageClassificationDetails *GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata `json:"imageClassificationDetails,omitempty"` // ImageOrientedBoundingBoxDetails: Details of label image oriented // bounding box operation. ImageOrientedBoundingBoxDetails *GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata `json:"imageOrientedBoundingBoxDetails,omitempty"` // ImagePolylineDetails: Details of label image polyline operation. ImagePolylineDetails *GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata `json:"imagePolylineDetails,omitempty"` // ImageSegmentationDetails: Details of label image segmentation // operation. ImageSegmentationDetails *GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata `json:"imageSegmentationDetails,omitempty"` // PartialFailures: Output only. Partial failures encountered. E.g. // single files that couldn't be read. Status details field will contain // standard GCP error details. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ProgressPercent: Output only. Progress of label operation. Range: [0, // 100]. ProgressPercent int64 `json:"progressPercent,omitempty"` // TextClassificationDetails: Details of label text classification // operation. TextClassificationDetails *GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata `json:"textClassificationDetails,omitempty"` // TextEntityExtractionDetails: Details of label text entity extraction // operation. TextEntityExtractionDetails *GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata `json:"textEntityExtractionDetails,omitempty"` // VideoClassificationDetails: Details of label video classification // operation. VideoClassificationDetails *GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata `json:"videoClassificationDetails,omitempty"` // VideoEventDetails: Details of label video event operation. VideoEventDetails *GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata `json:"videoEventDetails,omitempty"` // VideoObjectDetectionDetails: Details of label video object detection // operation. VideoObjectDetectionDetails *GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata `json:"videoObjectDetectionDetails,omitempty"` // VideoObjectTrackingDetails: Details of label video object tracking // operation. VideoObjectTrackingDetails *GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata `json:"videoObjectTrackingDetails,omitempty"` // ForceSendFields is a list of field names (e.g. "AnnotatedDataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnnotatedDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata: Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 23
func (*GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1LabelStats ¶
type GoogleCloudDatalabelingV1p2alpha1LabelStats struct { // ExampleCount: Map of each annotation spec's example count. Key is the // annotation spec name and value is the number of examples for that // annotation spec. If the annotated dataset does not have annotation // spec, the map will return a pair where the key is empty string and // value is the total number of annotations. ExampleCount map[string]string `json:"exampleCount,omitempty"` // ForceSendFields is a list of field names (e.g. "ExampleCount") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExampleCount") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1LabelStats: Statistics about annotation specs.
func (*GoogleCloudDatalabelingV1p2alpha1LabelStats) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1LabelStats) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetad ata: Details of a LabelTextClassification operation metadata.
func (*GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMet adata: Details of a LabelTextEntityExtraction operation metadata.
func (*GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMeta data: Details of a LabelVideoClassification operation metadata.
func (*GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata: Details of a LabelVideoEvent operation metadata.
func (*GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMet adata: Details of a LabelVideoObjectDetection operation metadata.
func (*GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata ¶
type GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata struct { // BasicConfig: Basic human annotation config used in labeling request. BasicConfig *GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicConfig") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMeta data: Details of a LabelVideoObjectTracking operation metadata.
func (*GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDatalabelingV1p2alpha1OutputConfig ¶
type GoogleCloudDatalabelingV1p2alpha1OutputConfig struct { // GcsDestination: Output to a file in Cloud Storage. Should be used for // labeling output other than image segmentation. GcsDestination *GoogleCloudDatalabelingV1p2alpha1GcsDestination `json:"gcsDestination,omitempty"` // GcsFolderDestination: Output to a folder in Cloud Storage. Should be // used for image segmentation or document de-identification labeling // outputs. GcsFolderDestination *GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination `json:"gcsFolderDestination,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsDestination") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsDestination") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatalabelingV1p2alpha1OutputConfig: The configuration of output data.
func (*GoogleCloudDatalabelingV1p2alpha1OutputConfig) MarshalJSON ¶
func (s *GoogleCloudDatalabelingV1p2alpha1OutputConfig) MarshalJSON() ([]byte, error)
type GoogleLongrunningListOperationsResponse ¶
type GoogleLongrunningListOperationsResponse struct { // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // Operations: A list of operations that matches the specified filter in // the request. Operations []*GoogleLongrunningOperation `json:"operations,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleLongrunningListOperationsResponse: The response message for Operations.ListOperations.
func (*GoogleLongrunningListOperationsResponse) MarshalJSON ¶
func (s *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error)
type GoogleLongrunningOperation ¶
type GoogleLongrunningOperation struct { // Done: If the value is `false`, it means the operation is still in // progress. If `true`, the operation is completed, and either `error` // or `response` is available. Done bool `json:"done,omitempty"` // Error: The error result of the operation in case of failure or // cancellation. Error *GoogleRpcStatus `json:"error,omitempty"` // Metadata: Service-specific metadata associated with the operation. It // typically contains progress information and common metadata such as // create time. Some services might not provide such metadata. Any // method that returns a long-running operation should document the // metadata type, if any. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: The server-assigned name, which is only unique within the same // service that originally returns it. If you use the default HTTP // mapping, the `name` should be a resource name ending with // `operations/{unique_id}`. Name string `json:"name,omitempty"` // Response: The normal response of the operation in case of success. If // the original method returns no data on success, such as `Delete`, the // response is `google.protobuf.Empty`. If the original method is // standard `Get`/`Create`/`Update`, the response should be the // resource. For other methods, the response should have the type // `XxxResponse`, where `Xxx` is the original method name. For example, // if the original method name is `TakeSnapshot()`, the inferred // response type is `TakeSnapshotResponse`. Response googleapi.RawMessage `json:"response,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Done") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Done") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleLongrunningOperation: This resource represents a long-running operation that is the result of a network API call.
func (*GoogleLongrunningOperation) MarshalJSON ¶
func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error)
type GoogleProtobufEmpty ¶
type GoogleProtobufEmpty struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
GoogleProtobufEmpty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
type GoogleRpcStatus ¶
type GoogleRpcStatus struct { // Code: The status code, which should be an enum value of // google.rpc.Code. Code int64 `json:"code,omitempty"` // Details: A list of messages that carry the error details. There is a // common set of message types for APIs to use. Details []googleapi.RawMessage `json:"details,omitempty"` // Message: A developer-facing error message, which should be in // English. Any user-facing error message should be localized and sent // in the google.rpc.Status.details field, or localized by the client. Message string `json:"message,omitempty"` // ForceSendFields is a list of field names (e.g. "Code") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Code") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleRpcStatus: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).
func (*GoogleRpcStatus) MarshalJSON ¶
func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error)
type ProjectsAnnotationSpecSetsCreateCall ¶
type ProjectsAnnotationSpecSetsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAnnotationSpecSetsCreateCall) Context ¶
func (c *ProjectsAnnotationSpecSetsCreateCall) Context(ctx context.Context) *ProjectsAnnotationSpecSetsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsAnnotationSpecSetsCreateCall) Do ¶
func (c *ProjectsAnnotationSpecSetsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1AnnotationSpecSet, error)
Do executes the "datalabeling.projects.annotationSpecSets.create" call. Exactly one of *GoogleCloudDatalabelingV1beta1AnnotationSpecSet or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1AnnotationSpecSet.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsAnnotationSpecSetsCreateCall) Fields ¶
func (c *ProjectsAnnotationSpecSetsCreateCall) Fields(s ...googleapi.Field) *ProjectsAnnotationSpecSetsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAnnotationSpecSetsCreateCall) Header ¶
func (c *ProjectsAnnotationSpecSetsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAnnotationSpecSetsDeleteCall ¶
type ProjectsAnnotationSpecSetsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAnnotationSpecSetsDeleteCall) Context ¶
func (c *ProjectsAnnotationSpecSetsDeleteCall) Context(ctx context.Context) *ProjectsAnnotationSpecSetsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsAnnotationSpecSetsDeleteCall) Do ¶
func (c *ProjectsAnnotationSpecSetsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "datalabeling.projects.annotationSpecSets.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsAnnotationSpecSetsDeleteCall) Fields ¶
func (c *ProjectsAnnotationSpecSetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsAnnotationSpecSetsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAnnotationSpecSetsDeleteCall) Header ¶
func (c *ProjectsAnnotationSpecSetsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAnnotationSpecSetsGetCall ¶
type ProjectsAnnotationSpecSetsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAnnotationSpecSetsGetCall) Context ¶
func (c *ProjectsAnnotationSpecSetsGetCall) Context(ctx context.Context) *ProjectsAnnotationSpecSetsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsAnnotationSpecSetsGetCall) Do ¶
func (c *ProjectsAnnotationSpecSetsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1AnnotationSpecSet, error)
Do executes the "datalabeling.projects.annotationSpecSets.get" call. Exactly one of *GoogleCloudDatalabelingV1beta1AnnotationSpecSet or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1AnnotationSpecSet.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsAnnotationSpecSetsGetCall) Fields ¶
func (c *ProjectsAnnotationSpecSetsGetCall) Fields(s ...googleapi.Field) *ProjectsAnnotationSpecSetsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAnnotationSpecSetsGetCall) Header ¶
func (c *ProjectsAnnotationSpecSetsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAnnotationSpecSetsGetCall) IfNoneMatch ¶
func (c *ProjectsAnnotationSpecSetsGetCall) IfNoneMatch(entityTag string) *ProjectsAnnotationSpecSetsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsAnnotationSpecSetsListCall ¶
type ProjectsAnnotationSpecSetsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAnnotationSpecSetsListCall) Context ¶
func (c *ProjectsAnnotationSpecSetsListCall) Context(ctx context.Context) *ProjectsAnnotationSpecSetsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsAnnotationSpecSetsListCall) Do ¶
func (c *ProjectsAnnotationSpecSetsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse, error)
Do executes the "datalabeling.projects.annotationSpecSets.list" call. Exactly one of *GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse.ServerRe sponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsAnnotationSpecSetsListCall) Fields ¶
func (c *ProjectsAnnotationSpecSetsListCall) Fields(s ...googleapi.Field) *ProjectsAnnotationSpecSetsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAnnotationSpecSetsListCall) Filter ¶
func (c *ProjectsAnnotationSpecSetsListCall) Filter(filter string) *ProjectsAnnotationSpecSetsListCall
Filter sets the optional parameter "filter": Filter is not supported at this moment.
func (*ProjectsAnnotationSpecSetsListCall) Header ¶
func (c *ProjectsAnnotationSpecSetsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAnnotationSpecSetsListCall) IfNoneMatch ¶
func (c *ProjectsAnnotationSpecSetsListCall) IfNoneMatch(entityTag string) *ProjectsAnnotationSpecSetsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsAnnotationSpecSetsListCall) PageSize ¶
func (c *ProjectsAnnotationSpecSetsListCall) PageSize(pageSize int64) *ProjectsAnnotationSpecSetsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer results than requested. Default value is 100.
func (*ProjectsAnnotationSpecSetsListCall) PageToken ¶
func (c *ProjectsAnnotationSpecSetsListCall) PageToken(pageToken string) *ProjectsAnnotationSpecSetsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results for the server to return. Typically obtained by ListAnnotationSpecSetsResponse.next_page_token of the previous [DataLabelingService.ListAnnotationSpecSets] call. Return first page if empty.
func (*ProjectsAnnotationSpecSetsListCall) Pages ¶
func (c *ProjectsAnnotationSpecSetsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsAnnotationSpecSetsService ¶
type ProjectsAnnotationSpecSetsService struct {
// contains filtered or unexported fields
}
func NewProjectsAnnotationSpecSetsService ¶
func NewProjectsAnnotationSpecSetsService(s *Service) *ProjectsAnnotationSpecSetsService
func (*ProjectsAnnotationSpecSetsService) Create ¶
func (r *ProjectsAnnotationSpecSetsService) Create(parent string, googleclouddatalabelingv1beta1createannotationspecsetrequest *GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest) *ProjectsAnnotationSpecSetsCreateCall
Create: Creates an annotation spec set by providing a set of labels.
- parent: AnnotationSpecSet resource parent, format: projects/{project_id}.
func (*ProjectsAnnotationSpecSetsService) Delete ¶
func (r *ProjectsAnnotationSpecSetsService) Delete(name string) *ProjectsAnnotationSpecSetsDeleteCall
Delete: Deletes an annotation spec set by resource name.
- name: AnnotationSpec resource name, format: `projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}`.
func (*ProjectsAnnotationSpecSetsService) Get ¶
func (r *ProjectsAnnotationSpecSetsService) Get(name string) *ProjectsAnnotationSpecSetsGetCall
Get: Gets an annotation spec set by resource name.
- name: AnnotationSpecSet resource name, format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}.
func (*ProjectsAnnotationSpecSetsService) List ¶
func (r *ProjectsAnnotationSpecSetsService) List(parent string) *ProjectsAnnotationSpecSetsListCall
List: Lists annotation spec sets for a project. Pagination is supported.
- parent: Parent of AnnotationSpecSet resource, format: projects/{project_id}.
type ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall ¶
type ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) Context ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) Do ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1DataItem, error)
Do executes the "datalabeling.projects.datasets.annotatedDatasets.dataItems.get" call. Exactly one of *GoogleCloudDatalabelingV1beta1DataItem or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1DataItem.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) Fields ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) Header ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) IfNoneMatch ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsDatasetsAnnotatedDatasetsDataItemsListCall ¶
type ProjectsDatasetsAnnotatedDatasetsDataItemsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Context ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Do ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListDataItemsResponse, error)
Do executes the "datalabeling.projects.datasets.annotatedDatasets.dataItems.list" call. Exactly one of *GoogleCloudDatalabelingV1beta1ListDataItemsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1ListDataItemsResponse.ServerResponse.He ader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Fields ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Filter ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Filter(filter string) *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall
Filter sets the optional parameter "filter": Filter is not supported at this moment.
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Header ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) IfNoneMatch ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) PageSize ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) PageSize(pageSize int64) *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer results than requested. Default value is 100.
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) PageToken ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) PageToken(pageToken string) *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results for the server to return. Typically obtained by ListDataItemsResponse.next_page_token of the previous [DataLabelingService.ListDataItems] call. Return first page if empty.
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Pages ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatalabelingV1beta1ListDataItemsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsDatasetsAnnotatedDatasetsDataItemsService ¶
type ProjectsDatasetsAnnotatedDatasetsDataItemsService struct {
// contains filtered or unexported fields
}
func NewProjectsDatasetsAnnotatedDatasetsDataItemsService ¶
func NewProjectsDatasetsAnnotatedDatasetsDataItemsService(s *Service) *ProjectsDatasetsAnnotatedDatasetsDataItemsService
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsService) Get ¶
func (r *ProjectsDatasetsAnnotatedDatasetsDataItemsService) Get(name string) *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall
Get: Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.
- name: The name of the data item to get, format: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}.
func (*ProjectsDatasetsAnnotatedDatasetsDataItemsService) List ¶
func (r *ProjectsDatasetsAnnotatedDatasetsDataItemsService) List(parent string) *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall
List: Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.
- parent: Name of the dataset to list data items, format: projects/{project_id}/datasets/{dataset_id}.
type ProjectsDatasetsAnnotatedDatasetsDeleteCall ¶
type ProjectsDatasetsAnnotatedDatasetsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsAnnotatedDatasetsDeleteCall) Context ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDeleteCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsAnnotatedDatasetsDeleteCall) Do ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "datalabeling.projects.datasets.annotatedDatasets.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsAnnotatedDatasetsDeleteCall) Fields ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsAnnotatedDatasetsDeleteCall) Header ¶
func (c *ProjectsDatasetsAnnotatedDatasetsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsDatasetsAnnotatedDatasetsExamplesGetCall ¶
type ProjectsDatasetsAnnotatedDatasetsExamplesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Context ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Do ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1Example, error)
Do executes the "datalabeling.projects.datasets.annotatedDatasets.examples.get" call. Exactly one of *GoogleCloudDatalabelingV1beta1Example or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1Example.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Fields ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Filter ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Filter(filter string) *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall
Filter sets the optional parameter "filter": An expression for filtering Examples. Filter by annotation_spec.display_name is supported. Format "annotation_spec.display_name = {display_name}"
func (*ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Header ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) IfNoneMatch ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsDatasetsAnnotatedDatasetsExamplesListCall ¶
type ProjectsDatasetsAnnotatedDatasetsExamplesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Context ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsExamplesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Do ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListExamplesResponse, error)
Do executes the "datalabeling.projects.datasets.annotatedDatasets.examples.list" call. Exactly one of *GoogleCloudDatalabelingV1beta1ListExamplesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1ListExamplesResponse.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Fields ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsExamplesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Filter ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Filter(filter string) *ProjectsDatasetsAnnotatedDatasetsExamplesListCall
Filter sets the optional parameter "filter": An expression for filtering Examples. For annotated datasets that have annotation spec set, filter by annotation_spec.display_name is supported. Format "annotation_spec.display_name = {display_name}"
func (*ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Header ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsAnnotatedDatasetsExamplesListCall) IfNoneMatch ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsExamplesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsDatasetsAnnotatedDatasetsExamplesListCall) PageSize ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) PageSize(pageSize int64) *ProjectsDatasetsAnnotatedDatasetsExamplesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer results than requested. Default value is 100.
func (*ProjectsDatasetsAnnotatedDatasetsExamplesListCall) PageToken ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) PageToken(pageToken string) *ProjectsDatasetsAnnotatedDatasetsExamplesListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results for the server to return. Typically obtained by ListExamplesResponse.next_page_token of the previous [DataLabelingService.ListExamples] call. Return first page if empty.
func (*ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Pages ¶
func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Pages(ctx context.Context, f func(*GoogleCloudDatalabelingV1beta1ListExamplesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsDatasetsAnnotatedDatasetsExamplesService ¶
type ProjectsDatasetsAnnotatedDatasetsExamplesService struct {
// contains filtered or unexported fields
}
func NewProjectsDatasetsAnnotatedDatasetsExamplesService ¶
func NewProjectsDatasetsAnnotatedDatasetsExamplesService(s *Service) *ProjectsDatasetsAnnotatedDatasetsExamplesService
func (*ProjectsDatasetsAnnotatedDatasetsExamplesService) Get ¶
func (r *ProjectsDatasetsAnnotatedDatasetsExamplesService) Get(name string) *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall
Get: Gets an example by resource name, including both data and annotation.
- name: Name of example, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id}.
func (*ProjectsDatasetsAnnotatedDatasetsExamplesService) List ¶
func (r *ProjectsDatasetsAnnotatedDatasetsExamplesService) List(parent string) *ProjectsDatasetsAnnotatedDatasetsExamplesListCall
List: Lists examples in an annotated dataset. Pagination is supported.
- parent: Example resource parent.
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall ¶
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) Context ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) Do ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) Fields ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) Header ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall ¶
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall) Context ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall) Do ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.create" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall) Fields ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall) Header ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall ¶
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall) Context ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall) Do ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall) Fields ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall) Header ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall ¶
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) Context ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) Do ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1FeedbackMessage, error)
Do executes the "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.get" call. Exactly one of *GoogleCloudDatalabelingV1beta1FeedbackMessage or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1FeedbackMessage.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) Fields ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) Header ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) IfNoneMatch ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall ¶
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Context ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Do ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse, error)
Do executes the "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.list" call. Exactly one of *GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse.ServerResp onse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Fields ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Header ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) IfNoneMatch ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) PageSize ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) PageSize(pageSize int64) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer results than requested. Default value is 100.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) PageToken ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) PageToken(pageToken string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results for the server to return. Typically obtained by ListFeedbackMessages.next_page_token of the previous [DataLabelingService.ListFeedbackMessages] call. Return first page if empty.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Pages ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) Pages(ctx context.Context, f func(*GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService ¶
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService struct {
// contains filtered or unexported fields
}
func NewProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService ¶
func NewProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService(s *Service) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) Create ¶
func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) Create(parent string, googleclouddatalabelingv1beta1feedbackmessage *GoogleCloudDatalabelingV1beta1FeedbackMessage) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall
Create: Create a FeedbackMessage object.
- parent: FeedbackMessage resource parent, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annot ated_dataset_id}/feedbackThreads/{feedback_thread_id}.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) Delete ¶
func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) Delete(name string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall
Delete: Delete a FeedbackMessage.
- name: Name of the FeedbackMessage that is going to be deleted. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno tated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessa ges/{feedback_message_id}'.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) Get ¶
func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) Get(name string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall
Get: Get a FeedbackMessage object.
- name: Name of the feedback. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno tated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessa ges/{feedback_message_id}'.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) List ¶
func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) List(parent string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall
List: List FeedbackMessages with pagination.
- parent: FeedbackMessage resource parent. Format: "projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno tated_dataset_id}/feedbackThreads/{feedback_thread_id}".
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall ¶
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) Context ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) Do ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1FeedbackThread, error)
Do executes the "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.get" call. Exactly one of *GoogleCloudDatalabelingV1beta1FeedbackThread or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1FeedbackThread.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) Fields ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) Header ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) IfNoneMatch ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall ¶
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Context ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Do ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse, error)
Do executes the "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.list" call. Exactly one of *GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse.ServerRespo nse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Fields ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Header ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) IfNoneMatch ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) PageSize ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) PageSize(pageSize int64) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer results than requested. Default value is 100.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) PageToken ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) PageToken(pageToken string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results for the server to return. Typically obtained by ListFeedbackThreads.next_page_token of the previous [DataLabelingService.ListFeedbackThreads] call. Return first page if empty.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Pages ¶
func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService ¶
type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService struct { FeedbackMessages *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService // contains filtered or unexported fields }
func NewProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService ¶
func NewProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService(s *Service) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService) Delete ¶
func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService) Delete(name string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall
Delete: Delete a FeedbackThread.
- name: Name of the FeedbackThread that is going to be deleted. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno tated_dataset_id}/feedbackThreads/{feedback_thread_id}'.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService) Get ¶
func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService) Get(name string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall
Get: Get a FeedbackThread object.
- name: Name of the feedback. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno tated_dataset_id}/feedbackThreads/{feedback_thread_id}'.
func (*ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService) List ¶
func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService) List(parent string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall
List: List FeedbackThreads with pagination.
- parent: FeedbackThread resource parent. Format: "projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno tated_dataset_id}".
type ProjectsDatasetsAnnotatedDatasetsGetCall ¶
type ProjectsDatasetsAnnotatedDatasetsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsAnnotatedDatasetsGetCall) Context ¶
func (c *ProjectsDatasetsAnnotatedDatasetsGetCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsAnnotatedDatasetsGetCall) Do ¶
func (c *ProjectsDatasetsAnnotatedDatasetsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1AnnotatedDataset, error)
Do executes the "datalabeling.projects.datasets.annotatedDatasets.get" call. Exactly one of *GoogleCloudDatalabelingV1beta1AnnotatedDataset or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1AnnotatedDataset.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsAnnotatedDatasetsGetCall) Fields ¶
func (c *ProjectsDatasetsAnnotatedDatasetsGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsAnnotatedDatasetsGetCall) Header ¶
func (c *ProjectsDatasetsAnnotatedDatasetsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsAnnotatedDatasetsGetCall) IfNoneMatch ¶
func (c *ProjectsDatasetsAnnotatedDatasetsGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsDatasetsAnnotatedDatasetsListCall ¶
type ProjectsDatasetsAnnotatedDatasetsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsAnnotatedDatasetsListCall) Context ¶
func (c *ProjectsDatasetsAnnotatedDatasetsListCall) Context(ctx context.Context) *ProjectsDatasetsAnnotatedDatasetsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsAnnotatedDatasetsListCall) Do ¶
func (c *ProjectsDatasetsAnnotatedDatasetsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse, error)
Do executes the "datalabeling.projects.datasets.annotatedDatasets.list" call. Exactly one of *GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse.ServerRes ponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsAnnotatedDatasetsListCall) Fields ¶
func (c *ProjectsDatasetsAnnotatedDatasetsListCall) Fields(s ...googleapi.Field) *ProjectsDatasetsAnnotatedDatasetsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsAnnotatedDatasetsListCall) Filter ¶
func (c *ProjectsDatasetsAnnotatedDatasetsListCall) Filter(filter string) *ProjectsDatasetsAnnotatedDatasetsListCall
Filter sets the optional parameter "filter": Filter is not supported at this moment.
func (*ProjectsDatasetsAnnotatedDatasetsListCall) Header ¶
func (c *ProjectsDatasetsAnnotatedDatasetsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsAnnotatedDatasetsListCall) IfNoneMatch ¶
func (c *ProjectsDatasetsAnnotatedDatasetsListCall) IfNoneMatch(entityTag string) *ProjectsDatasetsAnnotatedDatasetsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsDatasetsAnnotatedDatasetsListCall) PageSize ¶
func (c *ProjectsDatasetsAnnotatedDatasetsListCall) PageSize(pageSize int64) *ProjectsDatasetsAnnotatedDatasetsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer results than requested. Default value is 100.
func (*ProjectsDatasetsAnnotatedDatasetsListCall) PageToken ¶
func (c *ProjectsDatasetsAnnotatedDatasetsListCall) PageToken(pageToken string) *ProjectsDatasetsAnnotatedDatasetsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results for the server to return. Typically obtained by ListAnnotatedDatasetsResponse.next_page_token of the previous [DataLabelingService.ListAnnotatedDatasets] call. Return first page if empty.
func (*ProjectsDatasetsAnnotatedDatasetsListCall) Pages ¶
func (c *ProjectsDatasetsAnnotatedDatasetsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsDatasetsAnnotatedDatasetsService ¶
type ProjectsDatasetsAnnotatedDatasetsService struct { DataItems *ProjectsDatasetsAnnotatedDatasetsDataItemsService Examples *ProjectsDatasetsAnnotatedDatasetsExamplesService FeedbackThreads *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService // contains filtered or unexported fields }
func NewProjectsDatasetsAnnotatedDatasetsService ¶
func NewProjectsDatasetsAnnotatedDatasetsService(s *Service) *ProjectsDatasetsAnnotatedDatasetsService
func (*ProjectsDatasetsAnnotatedDatasetsService) Delete ¶
func (r *ProjectsDatasetsAnnotatedDatasetsService) Delete(name string) *ProjectsDatasetsAnnotatedDatasetsDeleteCall
Delete: Deletes an annotated dataset by resource name.
- name: Name of the annotated dataset to delete, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}.
func (*ProjectsDatasetsAnnotatedDatasetsService) Get ¶
func (r *ProjectsDatasetsAnnotatedDatasetsService) Get(name string) *ProjectsDatasetsAnnotatedDatasetsGetCall
Get: Gets an annotated dataset by resource name.
- name: Name of the annotated dataset to get, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}.
func (*ProjectsDatasetsAnnotatedDatasetsService) List ¶
func (r *ProjectsDatasetsAnnotatedDatasetsService) List(parent string) *ProjectsDatasetsAnnotatedDatasetsListCall
List: Lists annotated datasets for a dataset. Pagination is supported.
- parent: Name of the dataset to list annotated datasets, format: projects/{project_id}/datasets/{dataset_id}.
type ProjectsDatasetsCreateCall ¶
type ProjectsDatasetsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsCreateCall) Context ¶
func (c *ProjectsDatasetsCreateCall) Context(ctx context.Context) *ProjectsDatasetsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsCreateCall) Do ¶
func (c *ProjectsDatasetsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1Dataset, error)
Do executes the "datalabeling.projects.datasets.create" call. Exactly one of *GoogleCloudDatalabelingV1beta1Dataset or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1Dataset.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsCreateCall) Fields ¶
func (c *ProjectsDatasetsCreateCall) Fields(s ...googleapi.Field) *ProjectsDatasetsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsCreateCall) Header ¶
func (c *ProjectsDatasetsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsDatasetsDataItemsGetCall ¶
type ProjectsDatasetsDataItemsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsDataItemsGetCall) Context ¶
func (c *ProjectsDatasetsDataItemsGetCall) Context(ctx context.Context) *ProjectsDatasetsDataItemsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsDataItemsGetCall) Do ¶
func (c *ProjectsDatasetsDataItemsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1DataItem, error)
Do executes the "datalabeling.projects.datasets.dataItems.get" call. Exactly one of *GoogleCloudDatalabelingV1beta1DataItem or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1DataItem.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsDataItemsGetCall) Fields ¶
func (c *ProjectsDatasetsDataItemsGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsDataItemsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsDataItemsGetCall) Header ¶
func (c *ProjectsDatasetsDataItemsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsDataItemsGetCall) IfNoneMatch ¶
func (c *ProjectsDatasetsDataItemsGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsDataItemsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsDatasetsDataItemsListCall ¶
type ProjectsDatasetsDataItemsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsDataItemsListCall) Context ¶
func (c *ProjectsDatasetsDataItemsListCall) Context(ctx context.Context) *ProjectsDatasetsDataItemsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsDataItemsListCall) Do ¶
func (c *ProjectsDatasetsDataItemsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListDataItemsResponse, error)
Do executes the "datalabeling.projects.datasets.dataItems.list" call. Exactly one of *GoogleCloudDatalabelingV1beta1ListDataItemsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1ListDataItemsResponse.ServerResponse.He ader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsDataItemsListCall) Fields ¶
func (c *ProjectsDatasetsDataItemsListCall) Fields(s ...googleapi.Field) *ProjectsDatasetsDataItemsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsDataItemsListCall) Filter ¶
func (c *ProjectsDatasetsDataItemsListCall) Filter(filter string) *ProjectsDatasetsDataItemsListCall
Filter sets the optional parameter "filter": Filter is not supported at this moment.
func (*ProjectsDatasetsDataItemsListCall) Header ¶
func (c *ProjectsDatasetsDataItemsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsDataItemsListCall) IfNoneMatch ¶
func (c *ProjectsDatasetsDataItemsListCall) IfNoneMatch(entityTag string) *ProjectsDatasetsDataItemsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsDatasetsDataItemsListCall) PageSize ¶
func (c *ProjectsDatasetsDataItemsListCall) PageSize(pageSize int64) *ProjectsDatasetsDataItemsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer results than requested. Default value is 100.
func (*ProjectsDatasetsDataItemsListCall) PageToken ¶
func (c *ProjectsDatasetsDataItemsListCall) PageToken(pageToken string) *ProjectsDatasetsDataItemsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results for the server to return. Typically obtained by ListDataItemsResponse.next_page_token of the previous [DataLabelingService.ListDataItems] call. Return first page if empty.
func (*ProjectsDatasetsDataItemsListCall) Pages ¶
func (c *ProjectsDatasetsDataItemsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatalabelingV1beta1ListDataItemsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsDatasetsDataItemsService ¶
type ProjectsDatasetsDataItemsService struct {
// contains filtered or unexported fields
}
func NewProjectsDatasetsDataItemsService ¶
func NewProjectsDatasetsDataItemsService(s *Service) *ProjectsDatasetsDataItemsService
func (*ProjectsDatasetsDataItemsService) Get ¶
func (r *ProjectsDatasetsDataItemsService) Get(name string) *ProjectsDatasetsDataItemsGetCall
Get: Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.
- name: The name of the data item to get, format: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}.
func (*ProjectsDatasetsDataItemsService) List ¶
func (r *ProjectsDatasetsDataItemsService) List(parent string) *ProjectsDatasetsDataItemsListCall
List: Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.
- parent: Name of the dataset to list data items, format: projects/{project_id}/datasets/{dataset_id}.
type ProjectsDatasetsDeleteCall ¶
type ProjectsDatasetsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsDeleteCall) Context ¶
func (c *ProjectsDatasetsDeleteCall) Context(ctx context.Context) *ProjectsDatasetsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsDeleteCall) Do ¶
func (c *ProjectsDatasetsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "datalabeling.projects.datasets.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsDeleteCall) Fields ¶
func (c *ProjectsDatasetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsDatasetsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsDeleteCall) Header ¶
func (c *ProjectsDatasetsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsDatasetsEvaluationsExampleComparisonsSearchCall ¶
type ProjectsDatasetsEvaluationsExampleComparisonsSearchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Context ¶
func (c *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Context(ctx context.Context) *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Do ¶
func (c *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse, error)
Do executes the "datalabeling.projects.datasets.evaluations.exampleComparisons.search" call. Exactly one of *GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse.Server Response.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Fields ¶
func (c *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Fields(s ...googleapi.Field) *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Header ¶
func (c *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Pages ¶
func (c *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Pages(ctx context.Context, f func(*GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsDatasetsEvaluationsExampleComparisonsService ¶
type ProjectsDatasetsEvaluationsExampleComparisonsService struct {
// contains filtered or unexported fields
}
func NewProjectsDatasetsEvaluationsExampleComparisonsService ¶
func NewProjectsDatasetsEvaluationsExampleComparisonsService(s *Service) *ProjectsDatasetsEvaluationsExampleComparisonsService
func (*ProjectsDatasetsEvaluationsExampleComparisonsService) Search ¶
func (r *ProjectsDatasetsEvaluationsExampleComparisonsService) Search(parent string, googleclouddatalabelingv1beta1searchexamplecomparisonsrequest *GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest) *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall
Search: Searches example comparisons from an evaluation. The return format is a list of example comparisons that show ground truth and prediction(s) for a single input. Search by providing an evaluation ID.
- parent: Name of the Evaluation resource to search for example comparisons from. Format: "projects/{project_id}/datasets/{dataset_id}/evaluations/ {evaluation_id}".
type ProjectsDatasetsEvaluationsGetCall ¶
type ProjectsDatasetsEvaluationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsEvaluationsGetCall) Context ¶
func (c *ProjectsDatasetsEvaluationsGetCall) Context(ctx context.Context) *ProjectsDatasetsEvaluationsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsEvaluationsGetCall) Do ¶
func (c *ProjectsDatasetsEvaluationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1Evaluation, error)
Do executes the "datalabeling.projects.datasets.evaluations.get" call. Exactly one of *GoogleCloudDatalabelingV1beta1Evaluation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1Evaluation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsEvaluationsGetCall) Fields ¶
func (c *ProjectsDatasetsEvaluationsGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsEvaluationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsEvaluationsGetCall) Header ¶
func (c *ProjectsDatasetsEvaluationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsEvaluationsGetCall) IfNoneMatch ¶
func (c *ProjectsDatasetsEvaluationsGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsEvaluationsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsDatasetsEvaluationsService ¶
type ProjectsDatasetsEvaluationsService struct { ExampleComparisons *ProjectsDatasetsEvaluationsExampleComparisonsService // contains filtered or unexported fields }
func NewProjectsDatasetsEvaluationsService ¶
func NewProjectsDatasetsEvaluationsService(s *Service) *ProjectsDatasetsEvaluationsService
func (*ProjectsDatasetsEvaluationsService) Get ¶
func (r *ProjectsDatasetsEvaluationsService) Get(name string) *ProjectsDatasetsEvaluationsGetCall
Get: Gets an evaluation by resource name (to search, use projects.evaluations.search).
- name: Name of the evaluation. Format: "projects/{project_id}/datasets/ {dataset_id}/evaluations/{evaluation_id}'.
type ProjectsDatasetsExportDataCall ¶
type ProjectsDatasetsExportDataCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsExportDataCall) Context ¶
func (c *ProjectsDatasetsExportDataCall) Context(ctx context.Context) *ProjectsDatasetsExportDataCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsExportDataCall) Do ¶
func (c *ProjectsDatasetsExportDataCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "datalabeling.projects.datasets.exportData" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsExportDataCall) Fields ¶
func (c *ProjectsDatasetsExportDataCall) Fields(s ...googleapi.Field) *ProjectsDatasetsExportDataCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsExportDataCall) Header ¶
func (c *ProjectsDatasetsExportDataCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsDatasetsGetCall ¶
type ProjectsDatasetsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsGetCall) Context ¶
func (c *ProjectsDatasetsGetCall) Context(ctx context.Context) *ProjectsDatasetsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsGetCall) Do ¶
func (c *ProjectsDatasetsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1Dataset, error)
Do executes the "datalabeling.projects.datasets.get" call. Exactly one of *GoogleCloudDatalabelingV1beta1Dataset or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1Dataset.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsGetCall) Fields ¶
func (c *ProjectsDatasetsGetCall) Fields(s ...googleapi.Field) *ProjectsDatasetsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsGetCall) Header ¶
func (c *ProjectsDatasetsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsGetCall) IfNoneMatch ¶
func (c *ProjectsDatasetsGetCall) IfNoneMatch(entityTag string) *ProjectsDatasetsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsDatasetsImageLabelCall ¶
type ProjectsDatasetsImageLabelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsImageLabelCall) Context ¶
func (c *ProjectsDatasetsImageLabelCall) Context(ctx context.Context) *ProjectsDatasetsImageLabelCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsImageLabelCall) Do ¶
func (c *ProjectsDatasetsImageLabelCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "datalabeling.projects.datasets.image.label" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsImageLabelCall) Fields ¶
func (c *ProjectsDatasetsImageLabelCall) Fields(s ...googleapi.Field) *ProjectsDatasetsImageLabelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsImageLabelCall) Header ¶
func (c *ProjectsDatasetsImageLabelCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsDatasetsImageService ¶
type ProjectsDatasetsImageService struct {
// contains filtered or unexported fields
}
func NewProjectsDatasetsImageService ¶
func NewProjectsDatasetsImageService(s *Service) *ProjectsDatasetsImageService
func (*ProjectsDatasetsImageService) Label ¶
func (r *ProjectsDatasetsImageService) Label(parent string, googleclouddatalabelingv1beta1labelimagerequest *GoogleCloudDatalabelingV1beta1LabelImageRequest) *ProjectsDatasetsImageLabelCall
Label: Starts a labeling task for image. The type of image labeling task is configured by feature in the request.
- parent: Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}.
type ProjectsDatasetsImportDataCall ¶
type ProjectsDatasetsImportDataCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsImportDataCall) Context ¶
func (c *ProjectsDatasetsImportDataCall) Context(ctx context.Context) *ProjectsDatasetsImportDataCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsImportDataCall) Do ¶
func (c *ProjectsDatasetsImportDataCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "datalabeling.projects.datasets.importData" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsImportDataCall) Fields ¶
func (c *ProjectsDatasetsImportDataCall) Fields(s ...googleapi.Field) *ProjectsDatasetsImportDataCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsImportDataCall) Header ¶
func (c *ProjectsDatasetsImportDataCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsDatasetsListCall ¶
type ProjectsDatasetsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsListCall) Context ¶
func (c *ProjectsDatasetsListCall) Context(ctx context.Context) *ProjectsDatasetsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsListCall) Do ¶
func (c *ProjectsDatasetsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListDatasetsResponse, error)
Do executes the "datalabeling.projects.datasets.list" call. Exactly one of *GoogleCloudDatalabelingV1beta1ListDatasetsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1ListDatasetsResponse.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsListCall) Fields ¶
func (c *ProjectsDatasetsListCall) Fields(s ...googleapi.Field) *ProjectsDatasetsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsListCall) Filter ¶
func (c *ProjectsDatasetsListCall) Filter(filter string) *ProjectsDatasetsListCall
Filter sets the optional parameter "filter": Filter on dataset is not supported at this moment.
func (*ProjectsDatasetsListCall) Header ¶
func (c *ProjectsDatasetsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDatasetsListCall) IfNoneMatch ¶
func (c *ProjectsDatasetsListCall) IfNoneMatch(entityTag string) *ProjectsDatasetsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsDatasetsListCall) PageSize ¶
func (c *ProjectsDatasetsListCall) PageSize(pageSize int64) *ProjectsDatasetsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer results than requested. Default value is 100.
func (*ProjectsDatasetsListCall) PageToken ¶
func (c *ProjectsDatasetsListCall) PageToken(pageToken string) *ProjectsDatasetsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results for the server to return. Typically obtained by ListDatasetsResponse.next_page_token of the previous [DataLabelingService.ListDatasets] call. Returns the first page if empty.
func (*ProjectsDatasetsListCall) Pages ¶
func (c *ProjectsDatasetsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatalabelingV1beta1ListDatasetsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsDatasetsService ¶
type ProjectsDatasetsService struct { AnnotatedDatasets *ProjectsDatasetsAnnotatedDatasetsService DataItems *ProjectsDatasetsDataItemsService Evaluations *ProjectsDatasetsEvaluationsService Image *ProjectsDatasetsImageService Text *ProjectsDatasetsTextService Video *ProjectsDatasetsVideoService // contains filtered or unexported fields }
func NewProjectsDatasetsService ¶
func NewProjectsDatasetsService(s *Service) *ProjectsDatasetsService
func (*ProjectsDatasetsService) Create ¶
func (r *ProjectsDatasetsService) Create(parent string, googleclouddatalabelingv1beta1createdatasetrequest *GoogleCloudDatalabelingV1beta1CreateDatasetRequest) *ProjectsDatasetsCreateCall
Create: Creates dataset. If success return a Dataset resource.
- parent: Dataset resource parent, format: projects/{project_id}.
func (*ProjectsDatasetsService) Delete ¶
func (r *ProjectsDatasetsService) Delete(name string) *ProjectsDatasetsDeleteCall
Delete: Deletes a dataset by resource name.
- name: Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}.
func (*ProjectsDatasetsService) ExportData ¶
func (r *ProjectsDatasetsService) ExportData(name string, googleclouddatalabelingv1beta1exportdatarequest *GoogleCloudDatalabelingV1beta1ExportDataRequest) *ProjectsDatasetsExportDataCall
ExportData: Exports data and annotations from dataset.
- name: Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}.
func (*ProjectsDatasetsService) Get ¶
func (r *ProjectsDatasetsService) Get(name string) *ProjectsDatasetsGetCall
Get: Gets dataset by resource name.
- name: Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}.
func (*ProjectsDatasetsService) ImportData ¶
func (r *ProjectsDatasetsService) ImportData(name string, googleclouddatalabelingv1beta1importdatarequest *GoogleCloudDatalabelingV1beta1ImportDataRequest) *ProjectsDatasetsImportDataCall
ImportData: Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa.
- name: Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}.
func (*ProjectsDatasetsService) List ¶
func (r *ProjectsDatasetsService) List(parent string) *ProjectsDatasetsListCall
List: Lists datasets under a project. Pagination is supported.
- parent: Dataset resource parent, format: projects/{project_id}.
type ProjectsDatasetsTextLabelCall ¶
type ProjectsDatasetsTextLabelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsTextLabelCall) Context ¶
func (c *ProjectsDatasetsTextLabelCall) Context(ctx context.Context) *ProjectsDatasetsTextLabelCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsTextLabelCall) Do ¶
func (c *ProjectsDatasetsTextLabelCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "datalabeling.projects.datasets.text.label" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsTextLabelCall) Fields ¶
func (c *ProjectsDatasetsTextLabelCall) Fields(s ...googleapi.Field) *ProjectsDatasetsTextLabelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsTextLabelCall) Header ¶
func (c *ProjectsDatasetsTextLabelCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsDatasetsTextService ¶
type ProjectsDatasetsTextService struct {
// contains filtered or unexported fields
}
func NewProjectsDatasetsTextService ¶
func NewProjectsDatasetsTextService(s *Service) *ProjectsDatasetsTextService
func (*ProjectsDatasetsTextService) Label ¶
func (r *ProjectsDatasetsTextService) Label(parent string, googleclouddatalabelingv1beta1labeltextrequest *GoogleCloudDatalabelingV1beta1LabelTextRequest) *ProjectsDatasetsTextLabelCall
Label: Starts a labeling task for text. The type of text labeling task is configured by feature in the request.
- parent: Name of the data set to request labeling task, format: projects/{project_id}/datasets/{dataset_id}.
type ProjectsDatasetsVideoLabelCall ¶
type ProjectsDatasetsVideoLabelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDatasetsVideoLabelCall) Context ¶
func (c *ProjectsDatasetsVideoLabelCall) Context(ctx context.Context) *ProjectsDatasetsVideoLabelCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDatasetsVideoLabelCall) Do ¶
func (c *ProjectsDatasetsVideoLabelCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "datalabeling.projects.datasets.video.label" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDatasetsVideoLabelCall) Fields ¶
func (c *ProjectsDatasetsVideoLabelCall) Fields(s ...googleapi.Field) *ProjectsDatasetsVideoLabelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDatasetsVideoLabelCall) Header ¶
func (c *ProjectsDatasetsVideoLabelCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsDatasetsVideoService ¶
type ProjectsDatasetsVideoService struct {
// contains filtered or unexported fields
}
func NewProjectsDatasetsVideoService ¶
func NewProjectsDatasetsVideoService(s *Service) *ProjectsDatasetsVideoService
func (*ProjectsDatasetsVideoService) Label ¶
func (r *ProjectsDatasetsVideoService) Label(parent string, googleclouddatalabelingv1beta1labelvideorequest *GoogleCloudDatalabelingV1beta1LabelVideoRequest) *ProjectsDatasetsVideoLabelCall
Label: Starts a labeling task for video. The type of video labeling task is configured by feature in the request.
- parent: Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}.
type ProjectsEvaluationJobsCreateCall ¶
type ProjectsEvaluationJobsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsEvaluationJobsCreateCall) Context ¶
func (c *ProjectsEvaluationJobsCreateCall) Context(ctx context.Context) *ProjectsEvaluationJobsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsEvaluationJobsCreateCall) Do ¶
func (c *ProjectsEvaluationJobsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1EvaluationJob, error)
Do executes the "datalabeling.projects.evaluationJobs.create" call. Exactly one of *GoogleCloudDatalabelingV1beta1EvaluationJob or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1EvaluationJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsEvaluationJobsCreateCall) Fields ¶
func (c *ProjectsEvaluationJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsEvaluationJobsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsEvaluationJobsCreateCall) Header ¶
func (c *ProjectsEvaluationJobsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsEvaluationJobsDeleteCall ¶
type ProjectsEvaluationJobsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsEvaluationJobsDeleteCall) Context ¶
func (c *ProjectsEvaluationJobsDeleteCall) Context(ctx context.Context) *ProjectsEvaluationJobsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsEvaluationJobsDeleteCall) Do ¶
func (c *ProjectsEvaluationJobsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "datalabeling.projects.evaluationJobs.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsEvaluationJobsDeleteCall) Fields ¶
func (c *ProjectsEvaluationJobsDeleteCall) Fields(s ...googleapi.Field) *ProjectsEvaluationJobsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsEvaluationJobsDeleteCall) Header ¶
func (c *ProjectsEvaluationJobsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsEvaluationJobsGetCall ¶
type ProjectsEvaluationJobsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsEvaluationJobsGetCall) Context ¶
func (c *ProjectsEvaluationJobsGetCall) Context(ctx context.Context) *ProjectsEvaluationJobsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsEvaluationJobsGetCall) Do ¶
func (c *ProjectsEvaluationJobsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1EvaluationJob, error)
Do executes the "datalabeling.projects.evaluationJobs.get" call. Exactly one of *GoogleCloudDatalabelingV1beta1EvaluationJob or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1EvaluationJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsEvaluationJobsGetCall) Fields ¶
func (c *ProjectsEvaluationJobsGetCall) Fields(s ...googleapi.Field) *ProjectsEvaluationJobsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsEvaluationJobsGetCall) Header ¶
func (c *ProjectsEvaluationJobsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsEvaluationJobsGetCall) IfNoneMatch ¶
func (c *ProjectsEvaluationJobsGetCall) IfNoneMatch(entityTag string) *ProjectsEvaluationJobsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsEvaluationJobsListCall ¶
type ProjectsEvaluationJobsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsEvaluationJobsListCall) Context ¶
func (c *ProjectsEvaluationJobsListCall) Context(ctx context.Context) *ProjectsEvaluationJobsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsEvaluationJobsListCall) Do ¶
func (c *ProjectsEvaluationJobsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse, error)
Do executes the "datalabeling.projects.evaluationJobs.list" call. Exactly one of *GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse.ServerRespon se.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsEvaluationJobsListCall) Fields ¶
func (c *ProjectsEvaluationJobsListCall) Fields(s ...googleapi.Field) *ProjectsEvaluationJobsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsEvaluationJobsListCall) Filter ¶
func (c *ProjectsEvaluationJobsListCall) Filter(filter string) *ProjectsEvaluationJobsListCall
Filter sets the optional parameter "filter": You can filter the jobs to list by model_id (also known as model_name, as described in EvaluationJob.modelVersion) or by evaluation job state (as described in EvaluationJob.state). To filter by both criteria, use the `AND` operator or the `OR` operator. For example, you can use the following string for your filter: "evaluation_job.model_id = {model_name} AND evaluation_job.state = {evaluation_job_state}"
func (*ProjectsEvaluationJobsListCall) Header ¶
func (c *ProjectsEvaluationJobsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsEvaluationJobsListCall) IfNoneMatch ¶
func (c *ProjectsEvaluationJobsListCall) IfNoneMatch(entityTag string) *ProjectsEvaluationJobsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsEvaluationJobsListCall) PageSize ¶
func (c *ProjectsEvaluationJobsListCall) PageSize(pageSize int64) *ProjectsEvaluationJobsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer results than requested. Default value is 100.
func (*ProjectsEvaluationJobsListCall) PageToken ¶
func (c *ProjectsEvaluationJobsListCall) PageToken(pageToken string) *ProjectsEvaluationJobsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results for the server to return. Typically obtained by the nextPageToken in the response to the previous request. The request returns the first page if this is empty.
func (*ProjectsEvaluationJobsListCall) Pages ¶
func (c *ProjectsEvaluationJobsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsEvaluationJobsPatchCall ¶
type ProjectsEvaluationJobsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsEvaluationJobsPatchCall) Context ¶
func (c *ProjectsEvaluationJobsPatchCall) Context(ctx context.Context) *ProjectsEvaluationJobsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsEvaluationJobsPatchCall) Do ¶
func (c *ProjectsEvaluationJobsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1EvaluationJob, error)
Do executes the "datalabeling.projects.evaluationJobs.patch" call. Exactly one of *GoogleCloudDatalabelingV1beta1EvaluationJob or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1EvaluationJob.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsEvaluationJobsPatchCall) Fields ¶
func (c *ProjectsEvaluationJobsPatchCall) Fields(s ...googleapi.Field) *ProjectsEvaluationJobsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsEvaluationJobsPatchCall) Header ¶
func (c *ProjectsEvaluationJobsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsEvaluationJobsPatchCall) UpdateMask ¶
func (c *ProjectsEvaluationJobsPatchCall) UpdateMask(updateMask string) *ProjectsEvaluationJobsPatchCall
UpdateMask sets the optional parameter "updateMask": Mask for which fields to update. You can only provide the following fields: * `evaluationJobConfig.humanAnnotationConfig.instruction` * `evaluationJobConfig.exampleCount` * `evaluationJobConfig.exampleSamplePercentage` You can provide more than one of these fields by separating them with commas.
type ProjectsEvaluationJobsPauseCall ¶
type ProjectsEvaluationJobsPauseCall struct {
// contains filtered or unexported fields
}
func (*ProjectsEvaluationJobsPauseCall) Context ¶
func (c *ProjectsEvaluationJobsPauseCall) Context(ctx context.Context) *ProjectsEvaluationJobsPauseCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsEvaluationJobsPauseCall) Do ¶
func (c *ProjectsEvaluationJobsPauseCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "datalabeling.projects.evaluationJobs.pause" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsEvaluationJobsPauseCall) Fields ¶
func (c *ProjectsEvaluationJobsPauseCall) Fields(s ...googleapi.Field) *ProjectsEvaluationJobsPauseCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsEvaluationJobsPauseCall) Header ¶
func (c *ProjectsEvaluationJobsPauseCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsEvaluationJobsResumeCall ¶
type ProjectsEvaluationJobsResumeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsEvaluationJobsResumeCall) Context ¶
func (c *ProjectsEvaluationJobsResumeCall) Context(ctx context.Context) *ProjectsEvaluationJobsResumeCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsEvaluationJobsResumeCall) Do ¶
func (c *ProjectsEvaluationJobsResumeCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "datalabeling.projects.evaluationJobs.resume" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsEvaluationJobsResumeCall) Fields ¶
func (c *ProjectsEvaluationJobsResumeCall) Fields(s ...googleapi.Field) *ProjectsEvaluationJobsResumeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsEvaluationJobsResumeCall) Header ¶
func (c *ProjectsEvaluationJobsResumeCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsEvaluationJobsService ¶
type ProjectsEvaluationJobsService struct {
// contains filtered or unexported fields
}
func NewProjectsEvaluationJobsService ¶
func NewProjectsEvaluationJobsService(s *Service) *ProjectsEvaluationJobsService
func (*ProjectsEvaluationJobsService) Create ¶
func (r *ProjectsEvaluationJobsService) Create(parent string, googleclouddatalabelingv1beta1createevaluationjobrequest *GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest) *ProjectsEvaluationJobsCreateCall
Create: Creates an evaluation job.
- parent: Evaluation job resource parent. Format: "projects/{project_id}".
func (*ProjectsEvaluationJobsService) Delete ¶
func (r *ProjectsEvaluationJobsService) Delete(name string) *ProjectsEvaluationJobsDeleteCall
Delete: Stops and deletes an evaluation job.
- name: Name of the evaluation job that is going to be deleted. Format: "projects/{project_id}/evaluationJobs/{evaluation_job_id}".
func (*ProjectsEvaluationJobsService) Get ¶
func (r *ProjectsEvaluationJobsService) Get(name string) *ProjectsEvaluationJobsGetCall
Get: Gets an evaluation job by resource name.
- name: Name of the evaluation job. Format: "projects/{project_id} /evaluationJobs/{evaluation_job_id}".
func (*ProjectsEvaluationJobsService) List ¶
func (r *ProjectsEvaluationJobsService) List(parent string) *ProjectsEvaluationJobsListCall
List: Lists all evaluation jobs within a project with possible filters. Pagination is supported.
- parent: Evaluation job resource parent. Format: "projects/{project_id}".
func (*ProjectsEvaluationJobsService) Patch ¶
func (r *ProjectsEvaluationJobsService) Patch(name string, googleclouddatalabelingv1beta1evaluationjob *GoogleCloudDatalabelingV1beta1EvaluationJob) *ProjectsEvaluationJobsPatchCall
Patch: Updates an evaluation job. You can only update certain fields of the job's EvaluationJobConfig: `humanAnnotationConfig.instruction`, `exampleCount`, and `exampleSamplePercentage`. If you want to change any other aspect of the evaluation job, you must delete the job and create a new one.
- name: Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format: "projects/{project_id}/evaluationJobs/ {evaluation_job_id}".
func (*ProjectsEvaluationJobsService) Pause ¶
func (r *ProjectsEvaluationJobsService) Pause(name string, googleclouddatalabelingv1beta1pauseevaluationjobrequest *GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest) *ProjectsEvaluationJobsPauseCall
Pause: Pauses an evaluation job. Pausing an evaluation job that is already in a `PAUSED` state is a no-op.
- name: Name of the evaluation job that is going to be paused. Format: "projects/{project_id}/evaluationJobs/{evaluation_job_id}".
func (*ProjectsEvaluationJobsService) Resume ¶
func (r *ProjectsEvaluationJobsService) Resume(name string, googleclouddatalabelingv1beta1resumeevaluationjobrequest *GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest) *ProjectsEvaluationJobsResumeCall
Resume: Resumes a paused evaluation job. A deleted evaluation job can't be resumed. Resuming a running or scheduled evaluation job is a no-op.
- name: Name of the evaluation job that is going to be resumed. Format: "projects/{project_id}/evaluationJobs/{evaluation_job_id}".
type ProjectsEvaluationsSearchCall ¶
type ProjectsEvaluationsSearchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsEvaluationsSearchCall) Context ¶
func (c *ProjectsEvaluationsSearchCall) Context(ctx context.Context) *ProjectsEvaluationsSearchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsEvaluationsSearchCall) Do ¶
func (c *ProjectsEvaluationsSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse, error)
Do executes the "datalabeling.projects.evaluations.search" call. Exactly one of *GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsEvaluationsSearchCall) Fields ¶
func (c *ProjectsEvaluationsSearchCall) Fields(s ...googleapi.Field) *ProjectsEvaluationsSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsEvaluationsSearchCall) Filter ¶
func (c *ProjectsEvaluationsSearchCall) Filter(filter string) *ProjectsEvaluationsSearchCall
Filter sets the optional parameter "filter": To search evaluations, you can filter by the following: * evaluation_job.evaluation_job_id (the last part of EvaluationJob.name) * evaluation_job.model_id (the {model_name} portion of EvaluationJob.modelVersion) * evaluation_job.evaluation_job_run_time_start (Minimum threshold for the evaluationJobRunTime that created the evaluation) * evaluation_job.evaluation_job_run_time_end (Maximum threshold for the evaluationJobRunTime that created the evaluation) * evaluation_job.job_state (EvaluationJob.state) * annotation_spec.display_name (the Evaluation contains a metric for the annotation spec with this displayName) To filter by multiple critiera, use the `AND` operator or the `OR` operator. The following examples shows a string that filters by several critiera: "evaluation_job.evaluation_job_id = {evaluation_job_id} AND evaluation_job.model_id = {model_name} AND evaluation_job.evaluation_job_run_time_start = {timestamp_1} AND evaluation_job.evaluation_job_run_time_end = {timestamp_2} AND annotation_spec.display_name = {display_name}"
func (*ProjectsEvaluationsSearchCall) Header ¶
func (c *ProjectsEvaluationsSearchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsEvaluationsSearchCall) IfNoneMatch ¶
func (c *ProjectsEvaluationsSearchCall) IfNoneMatch(entityTag string) *ProjectsEvaluationsSearchCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsEvaluationsSearchCall) PageSize ¶
func (c *ProjectsEvaluationsSearchCall) PageSize(pageSize int64) *ProjectsEvaluationsSearchCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer results than requested. Default value is 100.
func (*ProjectsEvaluationsSearchCall) PageToken ¶
func (c *ProjectsEvaluationsSearchCall) PageToken(pageToken string) *ProjectsEvaluationsSearchCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results for the server to return. Typically obtained by the nextPageToken of the response to a previous search request. If you don't specify this field, the API call requests the first page of the search.
func (*ProjectsEvaluationsSearchCall) Pages ¶
func (c *ProjectsEvaluationsSearchCall) Pages(ctx context.Context, f func(*GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsEvaluationsService ¶
type ProjectsEvaluationsService struct {
// contains filtered or unexported fields
}
func NewProjectsEvaluationsService ¶
func NewProjectsEvaluationsService(s *Service) *ProjectsEvaluationsService
func (*ProjectsEvaluationsService) Search ¶
func (r *ProjectsEvaluationsService) Search(parent string) *ProjectsEvaluationsSearchCall
Search: Searches evaluations within a project.
- parent: Evaluation search parent (project ID). Format: "projects/ {project_id}".
type ProjectsInstructionsCreateCall ¶
type ProjectsInstructionsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsInstructionsCreateCall) Context ¶
func (c *ProjectsInstructionsCreateCall) Context(ctx context.Context) *ProjectsInstructionsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsInstructionsCreateCall) Do ¶
func (c *ProjectsInstructionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "datalabeling.projects.instructions.create" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsInstructionsCreateCall) Fields ¶
func (c *ProjectsInstructionsCreateCall) Fields(s ...googleapi.Field) *ProjectsInstructionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsInstructionsCreateCall) Header ¶
func (c *ProjectsInstructionsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsInstructionsDeleteCall ¶
type ProjectsInstructionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsInstructionsDeleteCall) Context ¶
func (c *ProjectsInstructionsDeleteCall) Context(ctx context.Context) *ProjectsInstructionsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsInstructionsDeleteCall) Do ¶
func (c *ProjectsInstructionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "datalabeling.projects.instructions.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsInstructionsDeleteCall) Fields ¶
func (c *ProjectsInstructionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsInstructionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsInstructionsDeleteCall) Header ¶
func (c *ProjectsInstructionsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsInstructionsGetCall ¶
type ProjectsInstructionsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsInstructionsGetCall) Context ¶
func (c *ProjectsInstructionsGetCall) Context(ctx context.Context) *ProjectsInstructionsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsInstructionsGetCall) Do ¶
func (c *ProjectsInstructionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1Instruction, error)
Do executes the "datalabeling.projects.instructions.get" call. Exactly one of *GoogleCloudDatalabelingV1beta1Instruction or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1Instruction.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsInstructionsGetCall) Fields ¶
func (c *ProjectsInstructionsGetCall) Fields(s ...googleapi.Field) *ProjectsInstructionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsInstructionsGetCall) Header ¶
func (c *ProjectsInstructionsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsInstructionsGetCall) IfNoneMatch ¶
func (c *ProjectsInstructionsGetCall) IfNoneMatch(entityTag string) *ProjectsInstructionsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsInstructionsListCall ¶
type ProjectsInstructionsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsInstructionsListCall) Context ¶
func (c *ProjectsInstructionsListCall) Context(ctx context.Context) *ProjectsInstructionsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsInstructionsListCall) Do ¶
func (c *ProjectsInstructionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatalabelingV1beta1ListInstructionsResponse, error)
Do executes the "datalabeling.projects.instructions.list" call. Exactly one of *GoogleCloudDatalabelingV1beta1ListInstructionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatalabelingV1beta1ListInstructionsResponse.ServerResponse .Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsInstructionsListCall) Fields ¶
func (c *ProjectsInstructionsListCall) Fields(s ...googleapi.Field) *ProjectsInstructionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsInstructionsListCall) Filter ¶
func (c *ProjectsInstructionsListCall) Filter(filter string) *ProjectsInstructionsListCall
Filter sets the optional parameter "filter": Filter is not supported at this moment.
func (*ProjectsInstructionsListCall) Header ¶
func (c *ProjectsInstructionsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsInstructionsListCall) IfNoneMatch ¶
func (c *ProjectsInstructionsListCall) IfNoneMatch(entityTag string) *ProjectsInstructionsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsInstructionsListCall) PageSize ¶
func (c *ProjectsInstructionsListCall) PageSize(pageSize int64) *ProjectsInstructionsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer results than requested. Default value is 100.
func (*ProjectsInstructionsListCall) PageToken ¶
func (c *ProjectsInstructionsListCall) PageToken(pageToken string) *ProjectsInstructionsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results for the server to return. Typically obtained by ListInstructionsResponse.next_page_token of the previous [DataLabelingService.ListInstructions] call. Return first page if empty.
func (*ProjectsInstructionsListCall) Pages ¶
func (c *ProjectsInstructionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatalabelingV1beta1ListInstructionsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsInstructionsService ¶
type ProjectsInstructionsService struct {
// contains filtered or unexported fields
}
func NewProjectsInstructionsService ¶
func NewProjectsInstructionsService(s *Service) *ProjectsInstructionsService
func (*ProjectsInstructionsService) Create ¶
func (r *ProjectsInstructionsService) Create(parent string, googleclouddatalabelingv1beta1createinstructionrequest *GoogleCloudDatalabelingV1beta1CreateInstructionRequest) *ProjectsInstructionsCreateCall
Create: Creates an instruction for how data should be labeled.
- parent: Instruction resource parent, format: projects/{project_id}.
func (*ProjectsInstructionsService) Delete ¶
func (r *ProjectsInstructionsService) Delete(name string) *ProjectsInstructionsDeleteCall
Delete: Deletes an instruction object by resource name.
- name: Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}.
func (*ProjectsInstructionsService) Get ¶
func (r *ProjectsInstructionsService) Get(name string) *ProjectsInstructionsGetCall
Get: Gets an instruction by resource name.
- name: Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}.
func (*ProjectsInstructionsService) List ¶
func (r *ProjectsInstructionsService) List(parent string) *ProjectsInstructionsListCall
List: Lists instructions for a project. Pagination is supported.
- parent: Instruction resource parent, format: projects/{project_id}.
type ProjectsOperationsCancelCall ¶
type ProjectsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsOperationsCancelCall) Context ¶
func (c *ProjectsOperationsCancelCall) Context(ctx context.Context) *ProjectsOperationsCancelCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsOperationsCancelCall) Do ¶
func (c *ProjectsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "datalabeling.projects.operations.cancel" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsOperationsCancelCall) Fields ¶
func (c *ProjectsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsOperationsCancelCall) Header ¶
func (c *ProjectsOperationsCancelCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsOperationsCancelCall) IfNoneMatch ¶
func (c *ProjectsOperationsCancelCall) IfNoneMatch(entityTag string) *ProjectsOperationsCancelCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsOperationsDeleteCall ¶
type ProjectsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsOperationsDeleteCall) Context ¶
func (c *ProjectsOperationsDeleteCall) Context(ctx context.Context) *ProjectsOperationsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsOperationsDeleteCall) Do ¶
func (c *ProjectsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "datalabeling.projects.operations.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsOperationsDeleteCall) Fields ¶
func (c *ProjectsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsOperationsDeleteCall) Header ¶
func (c *ProjectsOperationsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsOperationsGetCall ¶
type ProjectsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsOperationsGetCall) Context ¶
func (c *ProjectsOperationsGetCall) Context(ctx context.Context) *ProjectsOperationsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsOperationsGetCall) Do ¶
func (c *ProjectsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "datalabeling.projects.operations.get" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsOperationsGetCall) Fields ¶
func (c *ProjectsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsOperationsGetCall) Header ¶
func (c *ProjectsOperationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsOperationsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsOperationsListCall ¶
type ProjectsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsOperationsListCall) Context ¶
func (c *ProjectsOperationsListCall) Context(ctx context.Context) *ProjectsOperationsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsOperationsListCall) Do ¶
func (c *ProjectsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "datalabeling.projects.operations.list" call. Exactly one of *GoogleLongrunningListOperationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsOperationsListCall) Fields ¶
func (c *ProjectsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsOperationsListCall) Filter ¶
func (c *ProjectsOperationsListCall) Filter(filter string) *ProjectsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsOperationsListCall) Header ¶
func (c *ProjectsOperationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsOperationsListCall) IfNoneMatch ¶
func (c *ProjectsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsOperationsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsOperationsListCall) PageSize ¶
func (c *ProjectsOperationsListCall) PageSize(pageSize int64) *ProjectsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsOperationsListCall) PageToken ¶
func (c *ProjectsOperationsListCall) PageToken(pageToken string) *ProjectsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsOperationsListCall) Pages ¶
func (c *ProjectsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsOperationsService ¶
type ProjectsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsOperationsService ¶
func NewProjectsOperationsService(s *Service) *ProjectsOperationsService
func (*ProjectsOperationsService) Cancel ¶
func (r *ProjectsOperationsService) Cancel(name string) *ProjectsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (*ProjectsOperationsService) Delete ¶
func (r *ProjectsOperationsService) Delete(name string) *ProjectsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (*ProjectsOperationsService) Get ¶
func (r *ProjectsOperationsService) Get(name string) *ProjectsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsOperationsService) List ¶
func (r *ProjectsOperationsService) List(name string) *ProjectsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
- name: The name of the operation's parent resource.
type ProjectsService ¶
type ProjectsService struct { AnnotationSpecSets *ProjectsAnnotationSpecSetsService Datasets *ProjectsDatasetsService EvaluationJobs *ProjectsEvaluationJobsService Evaluations *ProjectsEvaluationsService Instructions *ProjectsInstructionsService Operations *ProjectsOperationsService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Projects *ProjectsService // contains filtered or unexported fields }
func New
deprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService ¶
NewService creates a new Service.