Class: Google::Apis::NetworkmanagementV1::CloudFunctionEndpoint

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkmanagement_v1/classes.rb,
lib/google/apis/networkmanagement_v1/representations.rb,
lib/google/apis/networkmanagement_v1/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.



315
316
317
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 315

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

Instance Attribute Details

#uriString

A Cloud Function name. Corresponds to the JSON property uri

Returns:

  • (String)


313
314
315
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 313

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



320
321
322
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 320

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