Class: Google::Apis::ManagedidentitiesV1::TrustProp

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 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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TrustProp

Returns a new instance of TrustProp.



2024
2025
2026
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 2024

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


1964
1965
1966
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1964

def create_time
  @create_time
end

#last_trust_heartbeat_timeString

Output only. The last heartbeat time when the trust was known to be connected. Corresponds to the JSON property lastTrustHeartbeatTime

Returns:

  • (String)


1969
1970
1971
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1969

def last_trust_heartbeat_time
  @last_trust_heartbeat_time
end

#selective_authenticationBoolean Also known as: selective_authentication?

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

Returns:

  • (Boolean)


1976
1977
1978
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1976

def selective_authentication
  @selective_authentication
end

#stateString

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

Returns:

  • (String)


1982
1983
1984
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1982

def state
  @state
end

#state_descriptionString

Output only. Additional information about the current state of the trust, if available. Corresponds to the JSON property stateDescription

Returns:

  • (String)


1988
1989
1990
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1988

def state_description
  @state_description
end

#target_dns_ip_addressesArray<String>

Required. The target DNS server IP addresses which can resolve the remote domain involved in the trust. Corresponds to the JSON property targetDnsIpAddresses

Returns:

  • (Array<String>)


1994
1995
1996
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 1994

def target_dns_ip_addresses
  @target_dns_ip_addresses
end

#target_domain_nameString

Required. The fully qualified target domain name which will be in trust with the current domain. Corresponds to the JSON property targetDomainName

Returns:

  • (String)


2000
2001
2002
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 2000

def target_domain_name
  @target_domain_name
end

#trust_directionString

Required. The trust direction, which decides if the current domain is trusted, trusting, or both. Corresponds to the JSON property trustDirection

Returns:

  • (String)


2006
2007
2008
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 2006

def trust_direction
  @trust_direction
end

#trust_handshake_secretString

Required. The trust secret used for the handshake with the target domain. This will not be stored. Corresponds to the JSON property trustHandshakeSecret

Returns:

  • (String)


2012
2013
2014
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 2012

def trust_handshake_secret
  @trust_handshake_secret
end

#trust_typeString

Required. The type of trust represented by the trust resource. Corresponds to the JSON property trustType

Returns:

  • (String)


2017
2018
2019
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 2017

def trust_type
  @trust_type
end

#update_timeString

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

Returns:

  • (String)


2022
2023
2024
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 2022

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
# 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