- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Full name: projects.locations.instances.legacySdk.legacyGetPublisherById
Legacy RPC for getting publisher by ID.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The GetPublisherById request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:getPublisherById |
Query parameters
Parameters | |
---|---|
publisherId |
Required. The publisher ID. |
Request body
The request body must be empty.
Response body
The ApiPublisher message.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "id": string, "name": string, "serverApiRoot": string, "agentCommunicationTimeInSeconds": string, "apiToken": string, "publisherLogsLink": string, "certificate": string, "slavePublisherId": string } |
Fields | |
---|---|
id |
The publisher ID. |
name |
The name of the publisher. |
serverApiRoot |
The server API root. |
agentCommunicationTimeInSeconds |
The agent communication time in seconds. |
apiToken |
The API token. |
publisherLogsLink |
The publisher logs link. |
certificate |
The certificate. |
slavePublisherId |
The slave publisher ID. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.