Class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/remotebuildexecution_v1alpha/classes.rb,
lib/google/apis/remotebuildexecution_v1alpha/representations.rb,
lib/google/apis/remotebuildexecution_v1alpha/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::RemotebuildexecutionV1alpha::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.
1011 1012 1013 |
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1011 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mtime ⇒ String
The file's last modification timestamp.
Corresponds to the JSON property mtime
999 1000 1001 |
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 999 def mtime @mtime end |
#properties ⇒ Array<Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperty>
A list of string-based NodeProperties.
Corresponds to the JSON property properties
1004 1005 1006 |
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1004 def properties @properties end |
#unix_mode ⇒ Fixnum
The UNIX file mode, e.g., 0755.
Corresponds to the JSON property unixMode
1009 1010 1011 |
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1009 def unix_mode @unix_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1016 1017 1018 1019 1020 |
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1016 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 |