class Google::Apis::ManagedidentitiesV1::TrustProp
Represents a relationship between two domains. This allows a controller in one domain to authenticate a user in another domain. If the trust 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
Output only. The time the instance was created. Corresponds to the JSON property `createTime` @return [String]
Output only. The last heartbeat time when the trust was known to be connected. Corresponds to the JSON property `lastTrustHeartbeatTime` @return [String]
Optional. The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources. Corresponds to the JSON property `selectiveAuthentication` @return [Boolean]
Optional. The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources. Corresponds to the JSON property `selectiveAuthentication` @return [Boolean]
Output only. The current state of the trust. Corresponds to the JSON property `state` @return [String]
Output only. Additional information about the current state of the trust, if available. Corresponds to the JSON property `stateDescription` @return [String]
Required. The target DNS server IP addresses which can resolve the remote domain involved in the trust. Corresponds to the JSON property `targetDnsIpAddresses` @return [Array<String>]
Required. The fully qualified target domain name which will be in trust with the current domain. Corresponds to the JSON property `targetDomainName` @return [String]
Required. The trust direction, which decides if the current domain is trusted, trusting, or both. Corresponds to the JSON property `trustDirection` @return [String]
Required. The trust secret used for the handshake with the target domain. This will not be stored. Corresponds to the JSON property `trustHandshakeSecret` @return [String]
Required. The type of trust represented by the trust resource. Corresponds to the JSON property `trustType` @return [String]
Output only. The last update time. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/managedidentities_v1/classes.rb, line 2024 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/managedidentities_v1/classes.rb, line 2029 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @last_trust_heartbeat_time = args[:last_trust_heartbeat_time] if args.key?(:last_trust_heartbeat_time) @selective_authentication = args[:selective_authentication] if args.key?(:selective_authentication) @state = args[:state] if args.key?(:state) @state_description = args[:state_description] if args.key?(:state_description) @target_dns_ip_addresses = args[:target_dns_ip_addresses] if args.key?(:target_dns_ip_addresses) @target_domain_name = args[:target_domain_name] if args.key?(:target_domain_name) @trust_direction = args[:trust_direction] if args.key?(:trust_direction) @trust_handshake_secret = args[:trust_handshake_secret] if args.key?(:trust_handshake_secret) @trust_type = args[:trust_type] if args.key?(:trust_type) @update_time = args[:update_time] if args.key?(:update_time) end