Class: Google::Apis::CloudfunctionsV1::OnDeployUpdatePolicy
- Inherits:
-
Object
- Object
- Google::Apis::CloudfunctionsV1::OnDeployUpdatePolicy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudfunctions_v1/classes.rb,
lib/google/apis/cloudfunctions_v1/representations.rb,
lib/google/apis/cloudfunctions_v1/representations.rb
Overview
Security patches are only applied when a function is redeployed.
Instance Attribute Summary collapse
-
#runtime_version ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OnDeployUpdatePolicy
constructor
A new instance of OnDeployUpdatePolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OnDeployUpdatePolicy
Returns a new instance of OnDeployUpdatePolicy.
1498 1499 1500 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1498 def initialize(**args) update!(**args) end |
Instance Attribute Details
#runtime_version ⇒ String
Output only. Contains the runtime version which was used during latest
function deployment.
Corresponds to the JSON property runtimeVersion
1496 1497 1498 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1496 def runtime_version @runtime_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1503 1504 1505 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1503 def update!(**args) @runtime_version = args[:runtime_version] if args.key?(:runtime_version) end |