Class: Google::Apis::TranscoderV1beta1::PubsubDestination

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/transcoder_v1beta1/classes.rb,
generated/google/apis/transcoder_v1beta1/representations.rb,
generated/google/apis/transcoder_v1beta1/representations.rb

Overview

A Pub/Sub destination.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PubsubDestination

Returns a new instance of PubsubDestination.



1285
1286
1287
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1285

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#topicString

The name of the Pub/Sub topic to publish job completion notification to. For example: projects/project/topics/topic`. Corresponds to the JSON propertytopic`

Returns:

  • (String)


1283
1284
1285
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1283

def topic
  @topic
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1290
1291
1292
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1290

def update!(**args)
  @topic = args[:topic] if args.key?(:topic)
end