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

Constructor Details

#initialize(**args) ⇒ BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities

Returns a new instance of BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities.



155
156
157
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 155

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

Instance Attribute Details

#update_enabledBoolean Also known as: update_enabled?

Corresponds to the JSON property updateEnabled

Returns:

  • (Boolean)


152
153
154
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 152

def update_enabled
  @update_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



160
161
162
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 160

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