Batch V1 API - Class Google::Cloud::Batch::V1::JobNotification (v0.13.1)

Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::JobNotification.

Notification configurations.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#message

def message() -> ::Google::Cloud::Batch::V1::JobNotification::Message
Returns

#message=

def message=(value) -> ::Google::Cloud::Batch::V1::JobNotification::Message
Parameter
Returns

#pubsub_topic

def pubsub_topic() -> ::String
Returns
  • (::String) — The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.

#pubsub_topic=

def pubsub_topic=(value) -> ::String
Parameter
  • value (::String) — The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.
Returns
  • (::String) — The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.