Google Cloud Native v0.30.0, Apr 14 23
Google Cloud Native v0.30.0, Apr 14 23
google-native.datalabeling/v1beta1.getAnnotationSpecSet
Explore with Pulumi AI
Gets an annotation spec set by resource name.
Using getAnnotationSpecSet
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAnnotationSpecSet(args: GetAnnotationSpecSetArgs, opts?: InvokeOptions): Promise<GetAnnotationSpecSetResult>
function getAnnotationSpecSetOutput(args: GetAnnotationSpecSetOutputArgs, opts?: InvokeOptions): Output<GetAnnotationSpecSetResult>
def get_annotation_spec_set(annotation_spec_set_id: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAnnotationSpecSetResult
def get_annotation_spec_set_output(annotation_spec_set_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAnnotationSpecSetResult]
func LookupAnnotationSpecSet(ctx *Context, args *LookupAnnotationSpecSetArgs, opts ...InvokeOption) (*LookupAnnotationSpecSetResult, error)
func LookupAnnotationSpecSetOutput(ctx *Context, args *LookupAnnotationSpecSetOutputArgs, opts ...InvokeOption) LookupAnnotationSpecSetResultOutput
> Note: This function is named LookupAnnotationSpecSet
in the Go SDK.
public static class GetAnnotationSpecSet
{
public static Task<GetAnnotationSpecSetResult> InvokeAsync(GetAnnotationSpecSetArgs args, InvokeOptions? opts = null)
public static Output<GetAnnotationSpecSetResult> Invoke(GetAnnotationSpecSetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAnnotationSpecSetResult> getAnnotationSpecSet(GetAnnotationSpecSetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:datalabeling/v1beta1:getAnnotationSpecSet
arguments:
# arguments dictionary
The following arguments are supported:
- Annotation
Spec stringSet Id - Project string
- Annotation
Spec stringSet Id - Project string
- annotation
Spec StringSet Id - project String
- annotation
Spec stringSet Id - project string
- annotation_
spec_ strset_ id - project str
- annotation
Spec StringSet Id - project String
getAnnotationSpecSet Result
The following output properties are available:
- Annotation
Specs List<Pulumi.Google Native. Data Labeling. V1Beta1. Outputs. Google Cloud Datalabeling V1beta1Annotation Spec Response> The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
- Blocking
Resources List<string> The names of any related resources that are blocking changes to the annotation spec set.
- Description string
Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
- Display
Name string The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
- Name string
The AnnotationSpecSet resource name in the following format: "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}"
- Annotation
Specs []GoogleCloud Datalabeling V1beta1Annotation Spec Response The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
- Blocking
Resources []string The names of any related resources that are blocking changes to the annotation spec set.
- Description string
Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
- Display
Name string The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
- Name string
The AnnotationSpecSet resource name in the following format: "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}"
- annotation
Specs List<GoogleCloud Datalabeling V1beta1Annotation Spec Response> The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
- blocking
Resources List<String> The names of any related resources that are blocking changes to the annotation spec set.
- description String
Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
- display
Name String The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
- name String
The AnnotationSpecSet resource name in the following format: "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}"
- annotation
Specs GoogleCloud Datalabeling V1beta1Annotation Spec Response[] The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
- blocking
Resources string[] The names of any related resources that are blocking changes to the annotation spec set.
- description string
Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
- display
Name string The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
- name string
The AnnotationSpecSet resource name in the following format: "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}"
- annotation_
specs Sequence[GoogleCloud Datalabeling V1beta1Annotation Spec Response] The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
- blocking_
resources Sequence[str] The names of any related resources that are blocking changes to the annotation spec set.
- description str
Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
- display_
name str The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
- name str
The AnnotationSpecSet resource name in the following format: "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}"
- annotation
Specs List<Property Map> The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
- blocking
Resources List<String> The names of any related resources that are blocking changes to the annotation spec set.
- description String
Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
- display
Name String The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
- name String
The AnnotationSpecSet resource name in the following format: "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}"
Supporting Types
GoogleCloudDatalabelingV1beta1AnnotationSpecResponse
- Description string
Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long.
- Display
Name string The display name of the AnnotationSpec. Maximum of 64 characters.
- Index int
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
andcat
, 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.
- Description string
Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long.
- Display
Name string The display name of the AnnotationSpec. Maximum of 64 characters.
- Index int
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
andcat
, 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.
- description String
Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long.
- display
Name String The display name of the AnnotationSpec. Maximum of 64 characters.
- index Integer
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
andcat
, 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.
- description string
Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long.
- display
Name string The display name of the AnnotationSpec. Maximum of 64 characters.
- index number
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
andcat
, 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.
- description str
Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long.
- display_
name str The display name of the AnnotationSpec. Maximum of 64 characters.
- index int
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
andcat
, 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.
- description String
Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long.
- display
Name String The display name of the AnnotationSpec. Maximum of 64 characters.
- index Number
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
andcat
, 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.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0