Class: Google::Apis::PubsubV1beta1a::PushConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::PubsubV1beta1a::PushConfig
 
 
- 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
- 
  
    
      #push_endpoint  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A URL locating the endpoint to which messages should be pushed.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PushConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of PushConfig.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PushConfig
Returns a new instance of PushConfig
      522 523 524  | 
    
      # File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 522 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#push_endpoint ⇒ String
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
      520 521 522  | 
    
      # File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 520 def push_endpoint @push_endpoint end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      527 528 529  | 
    
      # File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 527 def update!(**args) @push_endpoint = args[:push_endpoint] if args.key?(:push_endpoint) end  |