Method: legacySdk.legacyGetPublisherById

Full name: projects.locations.instances.legacySdk.legacyGetPublisherById

Legacy RPC for getting publisher by ID.

HTTP request


Path parameters

Parameters
instance

string

Required. The GetPublisherById request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:getPublisherById

Query parameters

Parameters
publisherId

string

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

string (int64 format)

The publisher ID.

name

string

The name of the publisher.

serverApiRoot

string

The server API root.

agentCommunicationTimeInSeconds

string (int64 format)

The agent communication time in seconds.

apiToken

string

The API token.

certificate

string

The certificate.

slavePublisherId

string (int64 format)

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.