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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ open_api_spec_details |
OpenApiSpecDetails
Output only. Additional details apart from |
↳ 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 |
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 |
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 |