Class: Google::Apis::CloudbuildV1::HttpDelivery
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::HttpDelivery
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudbuild_v1/classes.rb,
generated/google/apis/cloudbuild_v1/representations.rb,
generated/google/apis/cloudbuild_v1/representations.rb
Overview
HTTPDelivery is the delivery configuration for an HTTP notification.
Instance Attribute Summary collapse
-
#uri ⇒ String
The URI to which JSON-containing HTTP POST requests should be sent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HttpDelivery
constructor
A new instance of HttpDelivery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HttpDelivery
Returns a new instance of HttpDelivery.
862 863 864 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 862 def initialize(**args) update!(**args) end |
Instance Attribute Details
#uri ⇒ String
The URI to which JSON-containing HTTP POST requests should be sent.
Corresponds to the JSON property uri
860 861 862 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 860 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
867 868 869 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 867 def update!(**args) @uri = args[:uri] if args.key?(:uri) end |