Class: Google::Apis::FileV1beta1::SmbExport

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#browsableBoolean Also known as: browsable?

If true, allow clients to see this share when browsing the instance for shares. Corresponds to the JSON property browsable

Returns:

  • (Boolean)


718
719
720
# File 'generated/google/apis/file_v1beta1/classes.rb', line 718

def browsable
  @browsable
end

#file_shareString

The published name of the share (if different from name). Corresponds to the JSON property fileShare

Returns:

  • (String)


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