Class: Google::Apis::FileV1beta1::SmbExport
- Inherits:
-
Object
- Object
- Google::Apis::FileV1beta1::SmbExport
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/file_v1beta1/classes.rb,
generated/google/apis/file_v1beta1/representations.rb,
generated/google/apis/file_v1beta1/representations.rb
Overview
SmbExport defines attributes of a given SMB sharing rule.
Instance Attribute Summary collapse
-
#browsable ⇒ Boolean
(also: #browsable?)
If true, allow clients to see this share when browsing the instance for shares.
-
#file_share ⇒ String
The published name of the share (if different from name).
Instance Method Summary collapse
-
#initialize(**args) ⇒ SmbExport
constructor
A new instance of SmbExport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SmbExport
Returns a new instance of SmbExport
726 727 728 |
# File 'generated/google/apis/file_v1beta1/classes.rb', line 726 def initialize(**args) update!(**args) end |
Instance Attribute Details
#browsable ⇒ Boolean Also known as: browsable?
If true, allow clients to see this share when browsing the instance for
shares.
Corresponds to the JSON property browsable
718 719 720 |
# File 'generated/google/apis/file_v1beta1/classes.rb', line 718 def browsable @browsable end |
#file_share ⇒ String
The published name of the share (if different from name).
Corresponds to the JSON property fileShare
724 725 726 |
# File 'generated/google/apis/file_v1beta1/classes.rb', line 724 def file_share @file_share end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
731 732 733 734 |
# File 'generated/google/apis/file_v1beta1/classes.rb', line 731 def update!(**args) @browsable = args[:browsable] if args.key?(:browsable) @file_share = args[:file_share] if args.key?(:file_share) end |