Class: Google::Apis::NetworkmanagementV1beta1::CloudFunctionEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1beta1::CloudFunctionEndpoint
- 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
-
#uri ⇒ String
A Cloud Function name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudFunctionEndpoint
constructor
A new instance of CloudFunctionEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudFunctionEndpoint
Returns a new instance of CloudFunctionEndpoint.
285 286 287 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 285 def initialize(**args) update!(**args) end |
Instance Attribute Details
#uri ⇒ String
A Cloud Function name.
Corresponds to the JSON property uri
283 284 285 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 283 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
290 291 292 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 290 def update!(**args) @uri = args[:uri] if args.key?(:uri) end |