Service Client: Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::CrossNetworkAutomationServiceClient

Client stub representing the remote CrossNetworkAutomationService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to networkconnectivity.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation - Compiled Protocol Buffers messages for google/cloud/networkconnectivity/v1/cross_network_automation.proto

SYNOPSIS

use Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation;

my $msg = Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap->new({
    name => $name,
    create_time => $create_time,
    update_time => $update_time,
    labels => $labels,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/networkconnectivity/v1/cross_network_automation.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap

The ServiceConnectionMap resource.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionMapsRequest

Request for ListServiceConnectionMaps.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource's name. ex. projects/123/locations/us-east1

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of results per page that should be returned.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    A filter expression that filters the results listed in the response.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort the results by a certain order.

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionMapsResponse

Response for ListServiceConnectionMaps.

Inherits from Protobuf::Message.

Accessors

  • $msg->service_connection_maps() / $msg->service_connection_maps($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap)

    ServiceConnectionMaps to be returned.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceConnectionMapRequest

Request for GetServiceConnectionMap.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the ServiceConnectionMap to get.

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::CreateServiceConnectionMapRequest

Request for CreateServiceConnectionMap.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-east1

  • $msg->service_connection_map_id() / $msg->service_connection_map_id($value)

    Type: String

    Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.

  • $msg->service_connection_map() / $msg->service_connection_map($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap)

    Required. Initial values for a new ServiceConnectionMaps

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::UpdateServiceConnectionMapRequest

Request for UpdateServiceConnectionMap.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionMap resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

  • $msg->service_connection_map() / $msg->service_connection_map($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap)

    Required. New values to be patched into the resource.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceConnectionMapRequest

Request for DeleteServiceConnectionMap.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the ServiceConnectionMap to delete.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->etag() / $msg->etag($value)

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

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy

The ServiceConnectionPolicy resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the ServiceConnectionPolicy was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the ServiceConnectionPolicy was updated.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::LabelsEntry)

    User-defined labels.

  • $msg->description() / $msg->description($value)

    Type: String

    A description of this resource.

  • $msg->network() / $msg->network($value)

    Type: String

    The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.

  • $msg->service_class() / $msg->service_class($value)

    Type: String

    The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp or google-cloud. For example, gcp-memorystore-redis or google-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.

  • $msg->infrastructure() / $msg->infrastructure($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::Infrastructure)

    Output only. The type of underlying resources used to create the connection.

  • $msg->psc_config() / $msg->psc_config($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::PscConfig)

    Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.

  • $msg->psc_connections() / $msg->psc_connections($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::PscConnection)

    Output only. [Output only] Information about each Private Service Connect connection.

  • $msg->etag() / $msg->etag($value)

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

Enum: ServiceConnectionPolicy::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • FAILED => 2

  • CREATING => 3

  • DELETING => 4

  • CREATE_REPAIRING => 5

  • DELETE_REPAIRING => 6

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionPoliciesRequest

Request for ListServiceConnectionPolicies.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource's name. ex. projects/123/locations/us-east1

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of results per page that should be returned.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    A filter expression that filters the results listed in the response.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort the results by a certain order.

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionPoliciesResponse

Response for ListServiceConnectionPolicies.

Inherits from Protobuf::Message.

Accessors

  • $msg->service_connection_policies() / $msg->service_connection_policies($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy)

    ServiceConnectionPolicies to be returned.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceConnectionPolicyRequest

Request for GetServiceConnectionPolicy.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the ServiceConnectionPolicy to get.

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::CreateServiceConnectionPolicyRequest

Request for CreateServiceConnectionPolicy.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource's name of the ServiceConnectionPolicy. ex. projects/123/locations/us-east1

  • $msg->service_connection_policy_id() / $msg->service_connection_policy_id($value)

    Type: String

    Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location.

  • $msg->service_connection_policy() / $msg->service_connection_policy($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy)

    Required. Initial values for a new ServiceConnectionPolicies

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::UpdateServiceConnectionPolicyRequest

Request for UpdateServiceConnectionPolicy.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

  • $msg->service_connection_policy() / $msg->service_connection_policy($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy)

    Required. New values to be patched into the resource.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceConnectionPolicyRequest

Request for DeleteServiceConnectionPolicy.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the ServiceConnectionPolicy to delete.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->etag() / $msg->etag($value)

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

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceClass

The ServiceClass resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. The name of a ServiceClass resource. Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names

  • $msg->service_class() / $msg->service_class($value)

    Type: String

    Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the ServiceClass was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the ServiceClass was updated.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceClass::LabelsEntry)

    User-defined labels.

  • $msg->description() / $msg->description($value)

    Type: String

    A description of this resource.

  • $msg->etag() / $msg->etag($value)

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

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceClassesRequest

Request for ListServiceClasses.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource's name. ex. projects/123/locations/us-east1

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of results per page that should be returned.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    A filter expression that filters the results listed in the response.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort the results by a certain order.

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceClassesResponse

Response for ListServiceClasses.

Inherits from Protobuf::Message.

Accessors

  • $msg->service_classes() / $msg->service_classes($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceClass)

    ServiceClasses to be returned.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceClassRequest

Request for GetServiceClass.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the ServiceClass to get.

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::UpdateServiceClassRequest

Request for UpdateServiceClass.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask is used to specify the fields to be overwritten in the ServiceClass resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

  • $msg->service_class() / $msg->service_class($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceClass)

    Required. New values to be patched into the resource.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceClassRequest

Request for DeleteServiceClass.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the ServiceClass to delete.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->etag() / $msg->etag($value)

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

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionToken

The ServiceConnectionToken resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: 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

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the ServiceConnectionToken was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the ServiceConnectionToken was updated.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionToken::LabelsEntry)

    User-defined labels.

  • $msg->description() / $msg->description($value)

    Type: String

    A description of this resource.

  • $msg->network() / $msg->network($value)

    Type: String

    The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.

  • $msg->token() / $msg->token($value)

    Type: String

    Output only. The token generated by Automation.

  • $msg->expire_time() / $msg->expire_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time to which this token is valid.

  • $msg->etag() / $msg->etag($value)

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

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionTokensRequest

Request for ListServiceConnectionTokens.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource's name. ex. projects/123/locations/us-east1

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of results per page that should be returned.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    A filter expression that filters the results listed in the response.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort the results by a certain order.

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionTokensResponse

Response for ListServiceConnectionTokens.

Inherits from Protobuf::Message.

Accessors

  • $msg->service_connection_tokens() / $msg->service_connection_tokens($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionToken)

    ServiceConnectionTokens to be returned.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceConnectionTokenRequest

Request for GetServiceConnectionToken.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the ServiceConnectionToken to get.

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::CreateServiceConnectionTokenRequest

Request for CreateServiceConnectionToken.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource's name of the ServiceConnectionToken. ex. projects/123/locations/us-east1

  • $msg->service_connection_token_id() / $msg->service_connection_token_id($value)

    Type: String

    Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/ServiceConnectionTokens/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.

  • $msg->service_connection_token() / $msg->service_connection_token($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionToken)

    Required. Initial values for a new ServiceConnectionTokens

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceConnectionTokenRequest

Request for DeleteServiceConnectionToken.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the ServiceConnectionToken to delete.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->etag() / $msg->etag($value)

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

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.