API Gateway v1 API - Class ApiConfig.Types.File (2.2.0)

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.

Inheritance

object > ApiConfig.Types.File

Namespace

Google.Cloud.ApiGateway.V1

Assembly

Google.Cloud.ApiGateway.V1.dll

Constructors

File()

public File()

File(File)

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

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