Class: Google::Apis::FileV1beta1::ManagedActiveDirectoryConfig
- Inherits:
-
Object
- Object
- Google::Apis::FileV1beta1::ManagedActiveDirectoryConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/file_v1beta1/classes.rb,
lib/google/apis/file_v1beta1/representations.rb,
lib/google/apis/file_v1beta1/representations.rb more...
Overview
ManagedActiveDirectoryConfig contains all the parameters for connecting to Managed Service for Microsoft Active Directory (Managed Microsoft AD).
Instance Attribute Summary collapse
-
#computer ⇒ String
Required.
-
#domain ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedActiveDirectoryConfig
constructor
A new instance of ManagedActiveDirectoryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ManagedActiveDirectoryConfig
Returns a new instance of ManagedActiveDirectoryConfig.
1377 1378 1379 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1377 def initialize(**args) update!(**args) end |
Instance Attribute Details
#computer ⇒ String
Required. The computer name is used as a prefix in the command to mount the
remote target. For example: if the computer is my-computer
, the mount
command will look like: $mount -o vers=4.1,sec=krb5 my-computer.filestore.:
.
Corresponds to the JSON property computer
1369 1370 1371 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1369 def computer @computer end |
#domain ⇒ String
Required. The domain resource name, in the format projects/
project_id/
locations/global/domains/
domain`.
Corresponds to the JSON property
domain`
1375 1376 1377 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1375 def domain @domain end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1382 1383 1384 1385 |
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1382 def update!(**args) @computer = args[:computer] if args.key?(:computer) @domain = args[:domain] if args.key?(:domain) end |