Reference documentation and code samples for the Google Cloud Api Gateway V1 Client class File.
A lightweight description of a file.
Generated from protobuf message google.cloud.apigateway.v1.ApiConfig.File
Namespace
Google \ Cloud \ ApiGateway \ V1 \ ApiConfigMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ path
string
The file path (full or relative path). This is typically the path of the file when it is uploaded.
↳ contents
string
The bytes that constitute the file.
getPath
The file path (full or relative path). This is typically the path of the file when it is uploaded.
string
setPath
The file path (full or relative path). This is typically the path of the file when it is uploaded.
var
string
$this
getContents
The bytes that constitute the file.
string
setContents
The bytes that constitute the file.
var
string
$this