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
- (::Google::Cloud::Batch::V1::JobNotification::Message) — The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
#message=
def message=(value) -> ::Google::Cloud::Batch::V1::JobNotification::Message
Parameter
- value (::Google::Cloud::Batch::V1::JobNotification::Message) — The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
Returns
- (::Google::Cloud::Batch::V1::JobNotification::Message) — The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
#pubsub_topic
def pubsub_topic() -> ::String
Returns
-
(::String) — The Pub/Sub topic where notifications like the job state changes
will be published. This topic 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. This topic 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. This topic 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}
.