Reference documentation and code samples for the Google Cloud Api Hub V1 Client class GetSpecContentsRequest.
The GetSpecContents method's request.
Generated from protobuf message google.cloud.apihub.v1.GetSpecContentsRequest
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the spec whose contents need to be retrieved. Format: |
getName
Required. The name of the spec whose contents need to be retrieved.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
Returns | |
---|---|
Type | Description |
string |
setName
Required. The name of the spec whose contents need to be retrieved.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. The name of the spec whose contents need to be retrieved.
Format:
|
Returns | |
---|---|
Type | Description |
Google\Cloud\ApiHub\V1\GetSpecContentsRequest |