Class: Google::Apis::ManagedidentitiesV1alpha1::Domain
- Inherits:
-
Object
- Object
- Google::Apis::ManagedidentitiesV1alpha1::Domain
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/managedidentities_v1alpha1/classes.rb,
lib/google/apis/managedidentities_v1alpha1/representations.rb,
lib/google/apis/managedidentities_v1alpha1/representations.rb
Overview
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
-
#audit_logs_enabled ⇒ Boolean
(also: #audit_logs_enabled?)
Optional.
-
#authorized_networks ⇒ Array<String>
Optional.
-
#create_time ⇒ String
Output only.
-
#fqdn ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Optional.
-
#locations ⇒ Array<String>
Required.
-
#managed_identities_admin_name ⇒ String
Optional.
-
#name ⇒ String
Output only.
-
#reserved_ip_range ⇒ String
Required.
-
#state ⇒ String
Output only.
-
#status_message ⇒ String
Output only.
-
#trusts ⇒ Array<Google::Apis::ManagedidentitiesV1alpha1::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.
Constructor Details
#initialize(**args) ⇒ Domain
Returns a new instance of Domain.
468 469 470 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 468 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audit_logs_enabled ⇒ Boolean 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
389 390 391 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 389 def audit_logs_enabled @audit_logs_enabled end |
#authorized_networks ⇒ Array<String>
Optional. The full names of the Google Compute Engine networks to which the instance is connected. Network
can be added using UpdateDomain later. Domain is only available on network
part of authorized_networks. Caller needs to make sure that CIDR subnets do
not overlap between networks, else domain creation will fail.
Corresponds to the JSON property authorizedNetworks
399 400 401 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 399 def @authorized_networks end |
#create_time ⇒ String
Output only. The time the instance was created. Synthetic field is populated
automatically by CCFE. go/ccfe-synthetic-field-user-guide
Corresponds to the JSON property createTime
405 406 407 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 405 def create_time @create_time end |
#fqdn ⇒ String
Output only. 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 that is set up on an internal network.
Corresponds to the JSON property fqdn
412 413 414 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 412 def fqdn @fqdn end |
#labels ⇒ Hash<String,String>
Optional. Resource labels to represent user provided metadata
Corresponds to the JSON property labels
417 418 419 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 417 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
424 425 426 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 424 def locations @locations end |
#managed_identities_admin_name ⇒ String
Optional. Name of customer-visible admin used to perform Active Directory
operations. If not specified setupadmin would be used.
Corresponds to the JSON property managedIdentitiesAdminName
430 431 432 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 430 def managed_identities_admin_name @managed_identities_admin_name end |
#name ⇒ String
Output only. Unique name of the domain in this scope including projects and
location using the form: projects/project_id/locations/global/domains/
domain_name`.
Corresponds to the JSON propertyname`
437 438 439 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 437 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
444 445 446 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 444 def reserved_ip_range @reserved_ip_range end |
#state ⇒ String
Output only. The current state of this domain.
Corresponds to the JSON property state
449 450 451 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 449 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
455 456 457 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 455 def @status_message end |
#trusts ⇒ Array<Google::Apis::ManagedidentitiesV1alpha1::TrustProp>
Output only. The current trusts associated with the domain.
Corresponds to the JSON property trusts
460 461 462 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 460 def trusts @trusts end |
#update_time ⇒ String
Output only. Last update time. Synthetic field is populated automatically by
CCFE.
Corresponds to the JSON property updateTime
466 467 468 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 466 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 473 def update!(**args) @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) @managed_identities_admin_name = args[:managed_identities_admin_name] if args.key?(:managed_identities_admin_name) @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 |