Class: Google::Apis::SasportalV1alpha1::SasPortalNode
- Inherits:
-
Object
- Object
- Google::Apis::SasportalV1alpha1::SasPortalNode
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sasportal_v1alpha1/classes.rb,
generated/google/apis/sasportal_v1alpha1/representations.rb,
generated/google/apis/sasportal_v1alpha1/representations.rb
Overview
The Node.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The node's display name.
-
#name ⇒ String
Output only.
-
#sas_user_ids ⇒ Array<String>
User ids used by the devices belonging to this node.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalNode
constructor
A new instance of SasPortalNode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalNode
Returns a new instance of SasPortalNode.
846 847 848 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 846 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The node's display name.
Corresponds to the JSON property displayName
834 835 836 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 834 def display_name @display_name end |
#name ⇒ String
Output only. Resource name.
Corresponds to the JSON property name
839 840 841 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 839 def name @name end |
#sas_user_ids ⇒ Array<String>
User ids used by the devices belonging to this node.
Corresponds to the JSON property sasUserIds
844 845 846 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 844 def sas_user_ids @sas_user_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
851 852 853 854 855 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 851 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @sas_user_ids = args[:sas_user_ids] if args.key?(:sas_user_ids) end |