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.
319 320 321 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 319 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Name of a Cloud Function.
Corresponds to the JSON property displayName
302 303 304 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 302 def display_name @display_name end |
#location ⇒ String
Location in which the Cloud Function is deployed.
Corresponds to the JSON property location
307 308 309 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 307 def location @location end |
#uri ⇒ String
URI of a Cloud Function.
Corresponds to the JSON property uri
312 313 314 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 312 def uri @uri end |
#version_id ⇒ Fixnum
Latest successfully deployed version id of the Cloud Function.
Corresponds to the JSON property versionId
317 318 319 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 317 def version_id @version_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
324 325 326 327 328 329 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 324 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 |