Class: Google::Apis::PubsubV1beta1a::PushConfig

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

Overview

Configuration for a push delivery endpoint.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PushConfig

Returns a new instance of PushConfig.



510
511
512
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 510

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

Instance Attribute Details

#push_endpointString

A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push". Corresponds to the JSON property pushEndpoint

Returns:

  • (String)


508
509
510
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 508

def push_endpoint
  @push_endpoint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



515
516
517
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 515

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