Network Connectivity V1 API - Class Google::Cloud::NetworkConnectivity::V1::ServiceConnectionToken (v1.4.0)

Reference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::ServiceConnectionToken.

The ServiceConnectionToken resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — A description of this resource.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — A description of this resource.
Returns
  • (::String) — A description of this resource.

#etag

def etag() -> ::String
Returns
  • (::String) — 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.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#expire_time

def expire_time() -> ::Google::Protobuf::Timestamp
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — User-defined labels.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — User-defined labels.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — User-defined labels.

#name

def name() -> ::String
Returns
  • (::String) — 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

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — 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
Returns
  • (::String) — 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

#network

def network() -> ::String
Returns
  • (::String) — The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
Returns
  • (::String) — The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.

#token

def token() -> ::String
Returns
  • (::String) — Output only. The token generated by Automation.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns