public sealed class Comment : IMessage<Comment>, IEquatable<Comment>, IDeepCloneable<Comment>, IBufferMessage, IMessage
Reference documentation and code samples for the GDC Hardware Management v1alpha API class Comment.
A comment on an order.
Namespace
Google.Cloud.GdcHardwareManagement.V1AlphaAssembly
Google.Cloud.GdcHardwareManagement.V1Alpha.dll
Constructors
Comment()
public Comment()
Comment(Comment)
public Comment(Comment other)
Parameter | |
---|---|
Name | Description |
other |
Comment |
Properties
Author
public string Author { get; set; }
Output only. Username of the author of this comment. This is auto-populated from the credentials used during creation of the comment.
Property Value | |
---|---|
Type | Description |
string |
AuthorEntity
public Entity AuthorEntity { get; set; }
Output only. The entity the author belongs to.
Property Value | |
---|---|
Type | Description |
Entity |
CommentName
public CommentName CommentName { get; set; }
CommentName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
CommentName |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Time when this comment was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
CustomerViewedTime
public Timestamp CustomerViewedTime { get; set; }
Output only. Timestamp of the first time this comment was viewed by the customer. If the comment wasn't viewed then this timestamp will be unset.
Property Value | |
---|---|
Type | Description |
Timestamp |
Labels
public MapField<string, string> Labels { get; }
Optional. Labels associated with this comment as key value pairs. For more information about labels, see Create and manage labels.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Name
public string Name { get; set; }
Identifier. Name of this comment.
Format:
projects/{project}/locations/{location}/orders/{order}/comments/{comment}
Property Value | |
---|---|
Type | Description |
string |
Text
public string Text { get; set; }
Required. Text of this comment. The length of text must be <= 1000 characters.
Property Value | |
---|---|
Type | Description |
string |