class Google::Apis::ManagedidentitiesV1::Domain

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.

Attributes

admin[RW]

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` @return [String]

audit_logs_enabled[RW]

Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled. Corresponds to the JSON property `auditLogsEnabled` @return [Boolean]

audit_logs_enabled?[RW]

Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled. Corresponds to the JSON property `auditLogsEnabled` @return [Boolean]

authorized_networks[RW]

Optional. The full names of the Google Compute Engine [networks](/compute/docs/ networks-and-firewalls#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` @return [Array<String>]

create_time[RW]

Output only. The time the instance was created. Corresponds to the JSON property `createTime` @return [String]

fqdn[RW]

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` @return [String]

labels[RW]

Optional. Resource labels that can contain user-provided metadata. Corresponds to the JSON property `labels` @return [Hash<String,String>]

locations[RW]

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` @return [Array<String>]

name[RW]

Required. The unique name of the domain using the form: `projects/`project_id`/ locations/global/domains/`domain_name“. Corresponds to the JSON property `name` @return [String]

reserved_ip_range[RW]

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].. Corresponds to the JSON property `reservedIpRange` @return [String]

state[RW]

Output only. The current state of this domain. Corresponds to the JSON property `state` @return [String]

status_message[RW]

Output only. Additional information about the current status of this domain, if available. Corresponds to the JSON property `statusMessage` @return [String]

trusts[RW]

Output only. The current trusts associated with the domain. Corresponds to the JSON property `trusts` @return [Array<Google::Apis::ManagedidentitiesV1::TrustProp>]

update_time[RW]

Output only. The last update time. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/managedidentities_v1/classes.rb, line 399
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/managedidentities_v1/classes.rb, line 404
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