Class: Google::Apis::ManagedidentitiesV1::Domain

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/managedidentities_v1/classes.rb,
lib/google/apis/managedidentities_v1/representations.rb,
lib/google/apis/managedidentities_v1/representations.rb

Overview

Represents a managed Microsoft Active Directory domain. If the domain is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Domain

Returns a new instance of Domain.



459
460
461
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 459

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

Instance Attribute Details

#adminString

Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used. Corresponds to the JSON property admin

Returns:

  • (String)


383
384
385
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 383

def admin
  @admin
end

#audit_logs_enabledBoolean Also known as: audit_logs_enabled?

Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled. Corresponds to the JSON property auditLogsEnabled

Returns:

  • (Boolean)


389
390
391
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 389

def audit_logs_enabled
  @audit_logs_enabled
end

#authorized_networksArray<String>

Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail. Corresponds to the JSON property authorizedNetworks

Returns:

  • (Array<String>)


399
400
401
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 399

def authorized_networks
  @authorized_networks
end

#create_timeString

Output only. The time the instance was created. Corresponds to the JSON property createTime

Returns:

  • (String)


404
405
406
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 404

def create_time
  @create_time
end

#fqdnString

Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network. Corresponds to the JSON property fqdn

Returns:

  • (String)


411
412
413
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 411

def fqdn
  @fqdn
end

#labelsHash<String,String>

Optional. Resource labels that can contain user-provided metadata. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


416
417
418
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 416

def labels
  @labels
end

#locationsArray<String>

Required. Locations where domain needs to be provisioned. regions e.g. us- west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block. Corresponds to the JSON property locations

Returns:

  • (Array<String>)


423
424
425
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 423

def locations
  @locations
end

#nameString

Required. The unique name of the domain using the form: projects/project_id/ locations/global/domains/domain_name`. Corresponds to the JSON propertyname`

Returns:

  • (String)


429
430
431
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 429

def name
  @name
end

#reserved_ip_rangeString

Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non- overlapping with existing subnets in [Domain].[authorized_networks]. Corresponds to the JSON property reservedIpRange

Returns:

  • (String)


436
437
438
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 436

def reserved_ip_range
  @reserved_ip_range
end

#stateString

Output only. The current state of this domain. Corresponds to the JSON property state

Returns:

  • (String)


441
442
443
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 441

def state
  @state
end

#status_messageString

Output only. Additional information about the current status of this domain, if available. Corresponds to the JSON property statusMessage

Returns:

  • (String)


447
448
449
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 447

def status_message
  @status_message
end

#trustsArray<Google::Apis::ManagedidentitiesV1::TrustProp>

Output only. The current trusts associated with the domain. Corresponds to the JSON property trusts



452
453
454
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 452

def trusts
  @trusts
end

#update_timeString

Output only. The last update time. Corresponds to the JSON property updateTime

Returns:

  • (String)


457
458
459
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 457

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 464

def update!(**args)
  @admin = args[:admin] if args.key?(:admin)
  @audit_logs_enabled = args[:audit_logs_enabled] if args.key?(:audit_logs_enabled)
  @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
  @create_time = args[:create_time] if args.key?(:create_time)
  @fqdn = args[:fqdn] if args.key?(:fqdn)
  @labels = args[:labels] if args.key?(:labels)
  @locations = args[:locations] if args.key?(:locations)
  @name = args[:name] if args.key?(:name)
  @reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
  @state = args[:state] if args.key?(:state)
  @status_message = args[:status_message] if args.key?(:status_message)
  @trusts = args[:trusts] if args.key?(:trusts)
  @update_time = args[:update_time] if args.key?(:update_time)
end