Class: Google::Apis::CloudfunctionsV1::HttpsTrigger

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HttpsTrigger

Returns a new instance of HttpsTrigger.



1259
1260
1261
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1259

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

Instance Attribute Details

#security_levelString

The security level for the function. Corresponds to the JSON property securityLevel

Returns:

  • (String)


1252
1253
1254
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1252

def security_level
  @security_level
end

#urlString

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

Returns:

  • (String)


1257
1258
1259
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1257

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1264
1265
1266
1267
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1264

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