Google Cloud Managed Identities V1beta1 Client - Class Trust (1.3.5)

Reference documentation and code samples for the Google Cloud Managed Identities V1beta1 Client class Trust.

Represents a relationship between two domains. This allows a controller in one domain to authenticate a user in another domain.

Generated from protobuf message google.cloud.managedidentities.v1beta1.Trust

Namespace

Google \ Cloud \ ManagedIdentities \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ target_domain_name string

The fully qualified target domain name which will be in trust with the current domain.

↳ trust_type int

The type of trust represented by the trust resource.

↳ trust_direction int

The trust direction, which decides if the current domain is trusted, trusting, or both.

↳ selective_authentication bool

The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources.

↳ target_dns_ip_addresses array

The target DNS server IP addresses which can resolve the remote domain involved in the trust.

↳ trust_handshake_secret string

Input only. The trust secret used for the handshake with the target domain. It will not be stored.

↳ create_time Google\Protobuf\Timestamp

Output only. The time the instance was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The last update time.

↳ state int

Output only. The current state of the trust.

↳ state_description string

Output only. Additional information about the current state of the trust, if available.

↳ last_trust_heartbeat_time Google\Protobuf\Timestamp

Output only. The last heartbeat time when the trust was known to be connected.

getTargetDomainName

The fully qualified target domain name which will be in trust with the current domain.

Returns
Type Description
string

setTargetDomainName

The fully qualified target domain name which will be in trust with the current domain.

Parameter
Name Description
var string
Returns
Type Description
$this

getTrustType

The type of trust represented by the trust resource.

Returns
Type Description
int

setTrustType

The type of trust represented by the trust resource.

Parameter
Name Description
var int
Returns
Type Description
$this

getTrustDirection

The trust direction, which decides if the current domain is trusted, trusting, or both.

Returns
Type Description
int

setTrustDirection

The trust direction, which decides if the current domain is trusted, trusting, or both.

Parameter
Name Description
var int
Returns
Type Description
$this

getSelectiveAuthentication

The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources.

Returns
Type Description
bool

setSelectiveAuthentication

The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources.

Parameter
Name Description
var bool
Returns
Type Description
$this

getTargetDnsIpAddresses

The target DNS server IP addresses which can resolve the remote domain involved in the trust.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTargetDnsIpAddresses

The target DNS server IP addresses which can resolve the remote domain involved in the trust.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getTrustHandshakeSecret

Input only. The trust secret used for the handshake with the target domain. It will not be stored.

Returns
Type Description
string

setTrustHandshakeSecret

Input only. The trust secret used for the handshake with the target domain. It will not be stored.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The time the instance was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time the instance was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. The last update time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The last update time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getState

Output only. The current state of the trust.

Returns
Type Description
int

setState

Output only. The current state of the trust.

Parameter
Name Description
var int
Returns
Type Description
$this

getStateDescription

Output only. Additional information about the current state of the trust, if available.

Returns
Type Description
string

setStateDescription

Output only. Additional information about the current state of the trust, if available.

Parameter
Name Description
var string
Returns
Type Description
$this

getLastTrustHeartbeatTime

Output only. The last heartbeat time when the trust was known to be connected.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastTrustHeartbeatTime

clearLastTrustHeartbeatTime

setLastTrustHeartbeatTime

Output only. The last heartbeat time when the trust was known to be connected.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this