Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.datalabeling/v1beta1.FeedbackMessage
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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:
- Annotated
Dataset stringId - Dataset
Id string - Feedback
Thread stringId - Body string
- String content of the feedback. Maximum of 10000 characters.
- Create
Time 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}'
- Operator
Feedback Pulumi.Metadata Google Native. Data Labeling. V1Beta1. Inputs. Google Cloud Datalabeling V1beta1Operator Feedback Metadata - Project string
- Requester
Feedback Pulumi.Metadata Google Native. Data Labeling. V1Beta1. Inputs. Google Cloud Datalabeling V1beta1Requester Feedback Metadata
- Annotated
Dataset stringId - Dataset
Id string - Feedback
Thread stringId - Body string
- String content of the feedback. Maximum of 10000 characters.
- Create
Time 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}'
- Operator
Feedback GoogleMetadata Cloud Datalabeling V1beta1Operator Feedback Metadata Args - Project string
- Requester
Feedback GoogleMetadata Cloud Datalabeling V1beta1Requester Feedback Metadata Args
- annotated
Dataset StringId - dataset
Id String - feedback
Thread StringId - body String
- String content of the feedback. Maximum of 10000 characters.
- create
Time 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}'
- operator
Feedback GoogleMetadata Cloud Datalabeling V1beta1Operator Feedback Metadata - project String
- requester
Feedback GoogleMetadata Cloud Datalabeling V1beta1Requester Feedback Metadata
- annotated
Dataset stringId - dataset
Id string - feedback
Thread stringId - body string
- String content of the feedback. Maximum of 10000 characters.
- create
Time 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}'
- operator
Feedback GoogleMetadata Cloud Datalabeling V1beta1Operator Feedback Metadata - project string
- requester
Feedback GoogleMetadata Cloud Datalabeling V1beta1Requester Feedback Metadata
- annotated_
dataset_ strid - dataset_
id str - feedback_
thread_ strid - 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_ Googlemetadata Cloud Datalabeling V1beta1Operator Feedback Metadata Args - project str
- requester_
feedback_ Googlemetadata Cloud Datalabeling V1beta1Requester Feedback Metadata Args
- annotated
Dataset StringId - dataset
Id String - feedback
Thread StringId - body String
- String content of the feedback. Maximum of 10000 characters.
- create
Time 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}'
- operator
Feedback Property MapMetadata - project String
- requester
Feedback Property MapMetadata
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 Cloud Native is in preview. Google Cloud Classic is fully supported.