public sealed class File : IMessage<ApiConfig.Types.File>, IEquatable<ApiConfig.Types.File>, IDeepCloneable<ApiConfig.Types.File>, IBufferMessage, IMessage
A lightweight description of a file.
Implements
IMessage<ApiConfig.Types.File>, IEquatable<ApiConfig.Types.File>, IDeepCloneable<ApiConfig.Types.File>, IBufferMessage, IMessageNamespace
Google.Cloud.ApiGateway.V1Assembly
Google.Cloud.ApiGateway.V1.dll
Constructors
File()
public File()
File(ApiConfig.Types.File)
public File(ApiConfig.Types.File other)
Parameter | |
---|---|
Name | Description |
other | ApiConfig.Types.File |
Properties
Contents
public ByteString Contents { get; set; }
The bytes that constitute the file.
Property Value | |
---|---|
Type | Description |
ByteString |
Path
public string Path { get; set; }
The file path (full or relative path). This is typically the path of the file when it is uploaded.
Property Value | |
---|---|
Type | Description |
String |