public sealed class ServiceConnectionToken : IMessage<ServiceConnectionToken>, IEquatable<ServiceConnectionToken>, IDeepCloneable<ServiceConnectionToken>, IBufferMessage, IMessageReference documentation and code samples for the Network Connectivity v1 API class ServiceConnectionToken.
The ServiceConnectionToken resource.
Implements
IMessageServiceConnectionToken, IEquatableServiceConnectionToken, IDeepCloneableServiceConnectionToken, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkConnectivity.V1Assembly
Google.Cloud.NetworkConnectivity.V1.dll
Constructors
ServiceConnectionToken()
public ServiceConnectionToken()ServiceConnectionToken(ServiceConnectionToken)
public ServiceConnectionToken(ServiceConnectionToken other)| Parameter | |
|---|---|
| Name | Description |
other |
ServiceConnectionToken |
Properties
CreateTime
public Timestamp CreateTime { get; set; }Output only. Time when the ServiceConnectionToken was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Description
public string Description { get; set; }A description of this resource.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Etag
public string Etag { get; set; }Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ExpireTime
public Timestamp ExpireTime { get; set; }Output only. The time to which this token is valid.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
HasEtag
public bool HasEtag { get; }Gets whether the "etag" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Labels
public MapField<string, string> Labels { get; }User-defined labels.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
Name
public string Name { get; set; }Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
| Property Value | |
|---|---|
| Type | Description |
string |
|
Network
public string Network { get; set; }The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
NetworkAsNetworkName
public NetworkName NetworkAsNetworkName { get; set; }NetworkName-typed view over the Network resource name property.
| Property Value | |
|---|---|
| Type | Description |
NetworkName |
|
ServiceConnectionTokenName
public ServiceConnectionTokenName ServiceConnectionTokenName { get; set; }ServiceConnectionTokenName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
ServiceConnectionTokenName |
|
Token
public string Token { get; set; }Output only. The token generated by Automation.
| Property Value | |
|---|---|
| Type | Description |
string |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. Time when the ServiceConnectionToken was updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|