1. Packages
  2. Google Cloud Native
  3. API Docs
  4. datalabeling
  5. datalabeling/v1beta1
  6. FeedbackMessage

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.datalabeling/v1beta1.FeedbackMessage

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Create a FeedbackMessage object.

    Create FeedbackMessage Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FeedbackMessage(name: string, args: FeedbackMessageArgs, opts?: CustomResourceOptions);
    @overload
    def FeedbackMessage(resource_name: str,
                        args: FeedbackMessageArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def FeedbackMessage(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        annotated_dataset_id: Optional[str] = None,
                        dataset_id: Optional[str] = None,
                        feedback_thread_id: Optional[str] = None,
                        body: Optional[str] = None,
                        create_time: Optional[str] = None,
                        image: Optional[str] = None,
                        name: Optional[str] = None,
                        operator_feedback_metadata: Optional[GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataArgs] = None,
                        project: Optional[str] = None,
                        requester_feedback_metadata: Optional[GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataArgs] = None)
    func NewFeedbackMessage(ctx *Context, name string, args FeedbackMessageArgs, opts ...ResourceOption) (*FeedbackMessage, error)
    public FeedbackMessage(string name, FeedbackMessageArgs args, CustomResourceOptions? opts = null)
    public FeedbackMessage(String name, FeedbackMessageArgs args)
    public FeedbackMessage(String name, FeedbackMessageArgs args, CustomResourceOptions options)
    
    type: google-native:datalabeling/v1beta1:FeedbackMessage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FeedbackMessageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FeedbackMessageArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FeedbackMessageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FeedbackMessageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FeedbackMessageArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var feedbackMessageResource = new GoogleNative.DataLabeling.V1Beta1.FeedbackMessage("feedbackMessageResource", new()
    {
        AnnotatedDatasetId = "string",
        DatasetId = "string",
        FeedbackThreadId = "string",
        Body = "string",
        CreateTime = "string",
        Image = "string",
        Name = "string",
        OperatorFeedbackMetadata = null,
        Project = "string",
        RequesterFeedbackMetadata = null,
    });
    
    example, err := datalabeling.NewFeedbackMessage(ctx, "feedbackMessageResource", &datalabeling.FeedbackMessageArgs{
    	AnnotatedDatasetId:        pulumi.String("string"),
    	DatasetId:                 pulumi.String("string"),
    	FeedbackThreadId:          pulumi.String("string"),
    	Body:                      pulumi.String("string"),
    	CreateTime:                pulumi.String("string"),
    	Image:                     pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    	OperatorFeedbackMetadata:  &datalabeling.GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataArgs{},
    	Project:                   pulumi.String("string"),
    	RequesterFeedbackMetadata: &datalabeling.GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataArgs{},
    })
    
    var feedbackMessageResource = new FeedbackMessage("feedbackMessageResource", FeedbackMessageArgs.builder()
        .annotatedDatasetId("string")
        .datasetId("string")
        .feedbackThreadId("string")
        .body("string")
        .createTime("string")
        .image("string")
        .name("string")
        .operatorFeedbackMetadata()
        .project("string")
        .requesterFeedbackMetadata()
        .build());
    
    feedback_message_resource = google_native.datalabeling.v1beta1.FeedbackMessage("feedbackMessageResource",
        annotated_dataset_id="string",
        dataset_id="string",
        feedback_thread_id="string",
        body="string",
        create_time="string",
        image="string",
        name="string",
        operator_feedback_metadata={},
        project="string",
        requester_feedback_metadata={})
    
    const feedbackMessageResource = new google_native.datalabeling.v1beta1.FeedbackMessage("feedbackMessageResource", {
        annotatedDatasetId: "string",
        datasetId: "string",
        feedbackThreadId: "string",
        body: "string",
        createTime: "string",
        image: "string",
        name: "string",
        operatorFeedbackMetadata: {},
        project: "string",
        requesterFeedbackMetadata: {},
    });
    
    type: google-native:datalabeling/v1beta1:FeedbackMessage
    properties:
        annotatedDatasetId: string
        body: string
        createTime: string
        datasetId: string
        feedbackThreadId: string
        image: string
        name: string
        operatorFeedbackMetadata: {}
        project: string
        requesterFeedbackMetadata: {}
    

    FeedbackMessage Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The FeedbackMessage resource accepts the following input properties:

    AnnotatedDatasetId string
    DatasetId string
    FeedbackThreadId string
    Body string
    String content of the feedback. Maximum of 10000 characters.
    CreateTime string
    Create time.
    Image string
    The image storing this feedback if the feedback is an image representing operator's comments.
    Name string
    Name of the feedback message in a feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessage/{feedback_message_id}'
    OperatorFeedbackMetadata Pulumi.GoogleNative.DataLabeling.V1Beta1.Inputs.GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata
    Project string
    RequesterFeedbackMetadata Pulumi.GoogleNative.DataLabeling.V1Beta1.Inputs.GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata
    AnnotatedDatasetId string
    DatasetId string
    FeedbackThreadId string
    Body string
    String content of the feedback. Maximum of 10000 characters.
    CreateTime string
    Create time.
    Image string
    The image storing this feedback if the feedback is an image representing operator's comments.
    Name string
    Name of the feedback message in a feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessage/{feedback_message_id}'
    OperatorFeedbackMetadata GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataArgs
    Project string
    RequesterFeedbackMetadata GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataArgs
    annotatedDatasetId String
    datasetId String
    feedbackThreadId String
    body String
    String content of the feedback. Maximum of 10000 characters.
    createTime String
    Create time.
    image String
    The image storing this feedback if the feedback is an image representing operator's comments.
    name String
    Name of the feedback message in a feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessage/{feedback_message_id}'
    operatorFeedbackMetadata GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata
    project String
    requesterFeedbackMetadata GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata
    annotatedDatasetId string
    datasetId string
    feedbackThreadId string
    body string
    String content of the feedback. Maximum of 10000 characters.
    createTime string
    Create time.
    image string
    The image storing this feedback if the feedback is an image representing operator's comments.
    name string
    Name of the feedback message in a feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessage/{feedback_message_id}'
    operatorFeedbackMetadata GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata
    project string
    requesterFeedbackMetadata GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata
    annotated_dataset_id str
    dataset_id str
    feedback_thread_id str
    body str
    String content of the feedback. Maximum of 10000 characters.
    create_time str
    Create time.
    image str
    The image storing this feedback if the feedback is an image representing operator's comments.
    name str
    Name of the feedback message in a feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessage/{feedback_message_id}'
    operator_feedback_metadata GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataArgs
    project str
    requester_feedback_metadata GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataArgs
    annotatedDatasetId String
    datasetId String
    feedbackThreadId String
    body String
    String content of the feedback. Maximum of 10000 characters.
    createTime String
    Create time.
    image String
    The image storing this feedback if the feedback is an image representing operator's comments.
    name String
    Name of the feedback message in a feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessage/{feedback_message_id}'
    operatorFeedbackMetadata Property Map
    project String
    requesterFeedbackMetadata Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FeedbackMessage resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi