public sealed class ApiConfig.Types.File : IMessage<ApiConfig.Types.File>, IEquatable<ApiConfig.Types.File>, IDeepCloneable<ApiConfig.Types.File>, IBufferMessage, IMessage
Reference documentation and code samples for the API Gateway v1 API class ApiConfig.Types.File.
A lightweight description of a file.
Implements
IMessageApiConfigTypesFile, IEquatableApiConfigTypesFile, IDeepCloneableApiConfigTypesFile, IBufferMessage, IMessageNamespace
Google.Cloud.ApiGateway.V1Assembly
Google.Cloud.ApiGateway.V1.dll
Constructors
File()
public File()
File(File)
public File(ApiConfig.Types.File other)
Parameter | |
---|---|
Name | Description |
other | ApiConfigTypesFile |
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 |