Class: Google::Apis::CloudbuildV1alpha2::HttpDelivery

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudbuild_v1alpha2/classes.rb,
lib/google/apis/cloudbuild_v1alpha2/representations.rb,
lib/google/apis/cloudbuild_v1alpha2/representations.rb

Overview

HTTPDelivery is the delivery configuration for an HTTP notification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HttpDelivery

Returns a new instance of HttpDelivery.



1216
1217
1218
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 1216

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

Instance Attribute Details

#uriString

The URI to which JSON-containing HTTP POST requests should be sent. Corresponds to the JSON property uri

Returns:

  • (String)


1214
1215
1216
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 1214

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1221
1222
1223
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 1221

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