Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Platform
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2Platform
- 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
A Platform
is a set of requirements, such as hardware, operating system, or
compiler toolchain, for an Action's execution environment. A Platform
is
represented as a series of key-value pairs representing the properties that
are required of the platform.
Instance Attribute Summary collapse
-
#properties ⇒ Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PlatformProperty>
The properties that make up this platform.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2Platform
constructor
A new instance of BuildBazelRemoteExecutionV2Platform.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2Platform
Returns a new instance of BuildBazelRemoteExecutionV2Platform.
1748 1749 1750 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1748 def initialize(**args) update!(**args) end |
Instance Attribute Details
#properties ⇒ Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PlatformProperty>
The properties that make up this platform. In order to ensure that equivalent
Platform
s always hash to the same value, the properties MUST be
lexicographically sorted by name, and then by value. Sorting of strings is
done by code point, equivalently, by the UTF-8 bytes.
Corresponds to the JSON property properties
1746 1747 1748 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1746 def properties @properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1753 1754 1755 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1753 def update!(**args) @properties = args[:properties] if args.key?(:properties) end |