Class: Google::Apis::NetworkmanagementV1beta1::CloudFunctionEndpoint

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

Overview

Wrapper for cloud function attributes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudFunctionEndpoint

Returns a new instance of CloudFunctionEndpoint.



214
215
216
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 214

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

Instance Attribute Details

#uriString

A Cloud function name. Corresponds to the JSON property uri

Returns:

  • (String)


212
213
214
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 212

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



219
220
221
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 219

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