Class: Google::Apis::CloudfunctionsV1beta2::HttpsTrigger

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

Overview

Describes HTTPSTrigger, could be used to connect web hooks to function.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ HttpsTrigger

Returns a new instance of HttpsTrigger.



428
429
430
# File 'generated/google/apis/cloudfunctions_v1beta2/classes.rb', line 428

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

Instance Attribute Details

#urlString

Output only. The deployed url for the function. Corresponds to the JSON property url

Returns:

  • (String)


426
427
428
# File 'generated/google/apis/cloudfunctions_v1beta2/classes.rb', line 426

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



433
434
435
# File 'generated/google/apis/cloudfunctions_v1beta2/classes.rb', line 433

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