Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties
- 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
Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is responsible for specifying the properties that it accepts.
Instance Attribute Summary collapse
-
#mtime ⇒ String
The file's last modification timestamp.
-
#properties ⇒ Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty>
A list of string-based NodeProperties.
-
#unix_mode ⇒ Fixnum
The UNIX file mode, e.g., 0755.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2NodeProperties
constructor
A new instance of BuildBazelRemoteExecutionV2NodeProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2NodeProperties
Returns a new instance of BuildBazelRemoteExecutionV2NodeProperties.
1527 1528 1529 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1527 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mtime ⇒ String
The file's last modification timestamp.
Corresponds to the JSON property mtime
1515 1516 1517 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1515 def mtime @mtime end |
#properties ⇒ Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty>
A list of string-based NodeProperties.
Corresponds to the JSON property properties
1520 1521 1522 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1520 def properties @properties end |
#unix_mode ⇒ Fixnum
The UNIX file mode, e.g., 0755.
Corresponds to the JSON property unixMode
1525 1526 1527 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1525 def unix_mode @unix_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1532 1533 1534 1535 1536 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1532 def update!(**args) @mtime = args[:mtime] if args.key?(:mtime) @properties = args[:properties] if args.key?(:properties) @unix_mode = args[:unix_mode] if args.key?(:unix_mode) end |