Google Cloud Api Gateway V1 Client - Class OpenApiDocument (1.1.1)

Reference documentation and code samples for the Google Cloud Api Gateway V1 Client class OpenApiDocument.

An OpenAPI Specification Document describing an API.

Generated from protobuf message google.cloud.apigateway.v1.ApiConfig.OpenApiDocument

Namespace

Google \ Cloud \ ApiGateway \ V1 \ ApiConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ document Google\Cloud\ApiGateway\V1\ApiConfig\File

The OpenAPI Specification document file.

getDocument

The OpenAPI Specification document file.

Returns
TypeDescription
Google\Cloud\ApiGateway\V1\ApiConfig\File|null

hasDocument

clearDocument

setDocument

The OpenAPI Specification document file.

Parameter
NameDescription
var Google\Cloud\ApiGateway\V1\ApiConfig\File
Returns
TypeDescription
$this