public sealed class Attachment : IMessage<Attachment>, IEquatable<Attachment>, IDeepCloneable<Attachment>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Support v2 API class Attachment.
Represents a file attached to a support case.
Implements
IMessageAttachment, IEquatableAttachment, IDeepCloneableAttachment, IBufferMessage, IMessageNamespace
Google.Cloud.Support.V2Assembly
Google.Cloud.Support.V2.dll
Constructors
Attachment()
public Attachment()
Attachment(Attachment)
public Attachment(Attachment other)
Parameter | |
---|---|
Name | Description |
other |
Attachment |
Properties
AttachmentName
public AttachmentName AttachmentName { get; set; }
AttachmentName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
AttachmentName |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time at which the attachment was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Creator
public Actor Creator { get; set; }
Output only. The user who uploaded the attachment. Note, the name and email will be obfuscated if the attachment was uploaded by Google support.
Property Value | |
---|---|
Type | Description |
Actor |
Filename
public string Filename { get; set; }
The filename of the attachment (e.g. "graph.jpg"
).
Property Value | |
---|---|
Type | Description |
string |
MimeType
public string MimeType { get; set; }
Output only. The MIME type of the attachment (e.g. text/plain).
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Output only. The resource name of the attachment.
Property Value | |
---|---|
Type | Description |
string |
SizeBytes
public long SizeBytes { get; set; }
Output only. The size of the attachment in bytes.
Property Value | |
---|---|
Type | Description |
long |