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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/remotebuildexecution_v2/classes.rb,
generated/google/apis/remotebuildexecution_v2/representations.rb,
generated/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities

Returns a new instance of BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities.



168
169
170
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 168

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#update_enabledBoolean Also known as: update_enabled?

Corresponds to the JSON property updateEnabled

Returns:

  • (Boolean)


165
166
167
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 165

def update_enabled
  @update_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



173
174
175
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 173

def update!(**args)
  @update_enabled = args[:update_enabled] if args.key?(:update_enabled)
end