Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_enabledBoolean Also known as: update_enabled?

Corresponds to the JSON property updateEnabled

Returns:

  • (Boolean)


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