Google Cloud Api Hub V1 Client - Class SpecDetails (0.1.0)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class SpecDetails.

SpecDetails contains the details parsed from supported spec types.

Generated from protobuf message google.cloud.apihub.v1.SpecDetails

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ open_api_spec_details Google\Cloud\ApiHub\V1\OpenApiSpecDetails

Output only. Additional details apart from OperationDetails parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.

↳ description string

Output only. The description of the spec.

getOpenApiSpecDetails

Output only. Additional details apart from OperationDetails parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.

Returns
Type Description
Google\Cloud\ApiHub\V1\OpenApiSpecDetails|null

hasOpenApiSpecDetails

setOpenApiSpecDetails

Output only. Additional details apart from OperationDetails parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.

Parameter
Name Description
var Google\Cloud\ApiHub\V1\OpenApiSpecDetails
Returns
Type Description
$this

getDescription

Output only. The description of the spec.

Returns
Type Description
string

setDescription

Output only. The description of the spec.

Parameter
Name Description
var string
Returns
Type Description
$this

getDetails

Returns
Type Description
string