Class: Google::Apis::NetworkmanagementV1beta1::CloudFunctionInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1beta1::CloudFunctionInfo
- 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
For display only. Metadata associated with a Cloud function.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Name of a Cloud function.
-
#location ⇒ String
Location in which the Cloud function is deployed.
-
#uri ⇒ String
URI of a Cloud function.
-
#version_id ⇒ Fixnum
Latest successfully deployed version id of the Cloud function.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudFunctionInfo
constructor
A new instance of CloudFunctionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudFunctionInfo
Returns a new instance of CloudFunctionInfo.
259 260 261 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 259 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Name of a Cloud function.
Corresponds to the JSON property displayName
242 243 244 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 242 def display_name @display_name end |
#location ⇒ String
Location in which the Cloud function is deployed.
Corresponds to the JSON property location
247 248 249 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 247 def location @location end |
#uri ⇒ String
URI of a Cloud function.
Corresponds to the JSON property uri
252 253 254 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 252 def uri @uri end |
#version_id ⇒ Fixnum
Latest successfully deployed version id of the Cloud function.
Corresponds to the JSON property versionId
257 258 259 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 257 def version_id @version_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
264 265 266 267 268 269 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 264 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @location = args[:location] if args.key?(:location) @uri = args[:uri] if args.key?(:uri) @version_id = args[:version_id] if args.key?(:version_id) end |