Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class DestinationEndpoint.
The metadata for a DestinationEndpoint
resource.
Generated from protobuf message google.cloud.networkconnectivity.v1.Destination.DestinationEndpoint
Namespace
Google \ Cloud \ NetworkConnectivity \ V1 \ DestinationMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ asn |
int|string
Required. The ASN of the remote IP prefix. |
↳ csp |
string
Required. The CSP of the remote IP prefix. |
↳ state |
int
Output only. The state of the |
↳ update_time |
Google\Protobuf\Timestamp
Output only. Time when the |
getAsn
Required. The ASN of the remote IP prefix.
Returns | |
---|---|
Type | Description |
int|string |
setAsn
Required. The ASN of the remote IP prefix.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getCsp
Required. The CSP of the remote IP prefix.
Returns | |
---|---|
Type | Description |
string |
setCsp
Required. The CSP of the remote IP prefix.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getState
Output only. The state of the DestinationEndpoint
resource.
Returns | |
---|---|
Type | Description |
int |
Enum of type State. |
setState
Output only. The state of the DestinationEndpoint
resource.
Parameter | |
---|---|
Name | Description |
var |
int
Enum of type State. |
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Output only. Time when the DestinationEndpoint
resource was updated.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Time when the DestinationEndpoint
resource was updated.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |