Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/remotebuildexecution_v2/classes.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb
Overview
Describes the server/instance capabilities for updating the action cache.
Instance Attribute Summary collapse
-
#update_enabled ⇒ Boolean
(also: #update_enabled?)
Corresponds to the JSON property
updateEnabled
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities
constructor
A new instance of BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities
Returns a new instance of BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities.
164 165 166 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 164 def initialize(**args) update!(**args) end |
Instance Attribute Details
#update_enabled ⇒ Boolean Also known as: update_enabled?
Corresponds to the JSON property updateEnabled
161 162 163 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 161 def update_enabled @update_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
169 170 171 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 169 def update!(**args) @update_enabled = args[:update_enabled] if args.key?(:update_enabled) end |