Class ApiConfig.Types.File (1.1.0)

public sealed class File : IMessage<ApiConfig.Types.File>, IEquatable<ApiConfig.Types.File>, IDeepCloneable<ApiConfig.Types.File>, IBufferMessage, IMessage

A lightweight description of a file.

Inheritance

Object > ApiConfig.Types.File

Namespace

Google.Cloud.ApiGateway.V1

Assembly

Google.Cloud.ApiGateway.V1.dll

Constructors

File()

public File()

File(ApiConfig.Types.File)

public File(ApiConfig.Types.File other)
Parameter
NameDescription
otherApiConfig.Types.File

Properties

Contents

public ByteString Contents { get; set; }

The bytes that constitute the file.

Property Value
TypeDescription
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
TypeDescription
String