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
more...

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.

[View source]

1279
1280
1281
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1279

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

Instance Attribute Details

#computerString

Required. The computer name is used as a prefix to the mount remote target. 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

Returns:

  • (String)

1271
1272
1273
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1271

def computer
  @computer
end

#domainString

Required. The domain resource name, in the format projects/project_id/ locations/global/domains/domain`. Corresponds to the JSON propertydomain`

Returns:

  • (String)

1277
1278
1279
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1277

def domain
  @domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

1284
1285
1286
1287
# File 'lib/google/apis/file_v1beta1/classes.rb', line 1284

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