Class: Google::Apis::FileV1beta1::ManagedActiveDirectoryConfig

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

Overview

ManagedActiveDirectoryConfig contains all the parameters for connecting to Managed Active Directory.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedActiveDirectoryConfig

Returns a new instance of ManagedActiveDirectoryConfig.



1240
1241
1242
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1240

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#computerString

The computer name is used as a prefix to the mount remote target. Example: if the computer_name is my-computer, the mount command will look like: $mount - o vers=4,sec=krb5 my-computer.filestore.:. Corresponds to the JSON property computer

Returns:

  • (String)


1233
1234
1235
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1233

def computer
  @computer
end

#domainString

Fully qualified domain name. Corresponds to the JSON property domain

Returns:

  • (String)


1238
1239
1240
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1238

def domain
  @domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1245
1246
1247
1248
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1245

def update!(**args)
  @computer = args[:computer] if args.key?(:computer)
  @domain = args[:domain] if args.key?(:domain)
end