Class: Google::Apis::ManagedidentitiesV1::Domain
- Inherits:
-
Object
- Object
- Google::Apis::ManagedidentitiesV1::Domain
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/managedidentities_v1/classes.rb,
generated/google/apis/managedidentities_v1/representations.rb,
generated/google/apis/managedidentities_v1/representations.rb
Overview
Represents a managed Microsoft Active Directory domain.
Instance Attribute Summary collapse
-
#admin ⇒ String
Optional.
-
#authorized_networks ⇒ Array<String>
Optional.
-
#create_time ⇒ String
Output only.
-
#fqdn ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Optional.
-
#locations ⇒ Array<String>
Required.
-
#name ⇒ String
Required.
-
#reserved_ip_range ⇒ String
Required.
-
#state ⇒ String
Output only.
-
#status_message ⇒ String
Output only.
-
#trusts ⇒ Array<Google::Apis::ManagedidentitiesV1::TrustProp>
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Domain
constructor
A new instance of Domain.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Domain
Returns a new instance of Domain.
243 244 245 |
# File 'generated/google/apis/managedidentities_v1/classes.rb', line 243 def initialize(**args) update!(**args) end |
Instance Attribute Details
#admin ⇒ String
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
171 172 173 |
# File 'generated/google/apis/managedidentities_v1/classes.rb', line 171 def admin @admin end |
#authorized_networks ⇒ Array<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
180 181 182 |
# File 'generated/google/apis/managedidentities_v1/classes.rb', line 180 def @authorized_networks end |
#create_time ⇒ String
Output only. The time the instance was created.
Corresponds to the JSON property createTime
185 186 187 |
# File 'generated/google/apis/managedidentities_v1/classes.rb', line 185 def create_time @create_time end |
#fqdn ⇒ String
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
192 193 194 |
# File 'generated/google/apis/managedidentities_v1/classes.rb', line 192 def fqdn @fqdn end |
#labels ⇒ Hash<String,String>
Optional. Resource labels that can contain user-provided metadata.
Corresponds to the JSON property labels
197 198 199 |
# File 'generated/google/apis/managedidentities_v1/classes.rb', line 197 def labels @labels end |
#locations ⇒ Array<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
206 207 208 |
# File 'generated/google/apis/managedidentities_v1/classes.rb', line 206 def locations @locations end |
#name ⇒ String
Required. The unique name of the domain using the form:
projects/
project_id/locations/global/domains/
domain_name`.
Corresponds to the JSON property
name`
212 213 214 |
# File 'generated/google/apis/managedidentities_v1/classes.rb', line 212 def name @name end |
#reserved_ip_range ⇒ String
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
220 221 222 |
# File 'generated/google/apis/managedidentities_v1/classes.rb', line 220 def reserved_ip_range @reserved_ip_range end |
#state ⇒ String
Output only. The current state of this domain.
Corresponds to the JSON property state
225 226 227 |
# File 'generated/google/apis/managedidentities_v1/classes.rb', line 225 def state @state end |
#status_message ⇒ String
Output only. Additional information about the current status of this
domain, if available.
Corresponds to the JSON property statusMessage
231 232 233 |
# File 'generated/google/apis/managedidentities_v1/classes.rb', line 231 def @status_message end |
#trusts ⇒ Array<Google::Apis::ManagedidentitiesV1::TrustProp>
Output only. The current trusts associated with the domain.
Corresponds to the JSON property trusts
236 237 238 |
# File 'generated/google/apis/managedidentities_v1/classes.rb', line 236 def trusts @trusts end |
#update_time ⇒ String
Output only. The last update time.
Corresponds to the JSON property updateTime
241 242 243 |
# File 'generated/google/apis/managedidentities_v1/classes.rb', line 241 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
248 249 250 251 252 253 254 255 256 257 258 259 260 261 |
# File 'generated/google/apis/managedidentities_v1/classes.rb', line 248 def update!(**args) @admin = args[:admin] if args.key?(:admin) @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 |