Documentation
¶
Index ¶
Constants ¶
View Source
const Domain = "pubsub.googleapis.com"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(options ...pubsub_config.Option) *Client
func (*Client) Publish ¶
func (c *Client) Publish( ctx context.Context, project string, topic string, request *publish_request.Request, options ...fetch_config.Option, ) (*publish_response.Response, error)
Publish publishes the messages in the request to the given topic and returns the server-assigned message ids. The runtime identity must have the pubsub.publisher role on the topic.
Click to show internal directories.
Click to hide internal directories.