NAME
Google::Cloud::Networkservices::V1::ServiceBinding - Compiled Protocol Buffers messages for google/cloud/networkservices/v1/service_binding.proto
SYNOPSIS
use Google::Cloud::Networkservices::V1::ServiceBinding;
my $msg = Google::Cloud::Networkservices::V1::ServiceBinding::ServiceBinding->new({
name => $name,
description => $description,
create_time => $create_time,
update_time => $update_time,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Networkservices::V1::ServiceBinding::ServiceBinding->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/networkservices/v1/service_binding.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::Networkservices::V1::ServiceBinding::ServiceBinding
ServiceBinding can be used to: - Bind a Service Directory Service to be used in a BackendService resource. This feature will be deprecated soon. - Bind a Private Service Connect producer service to be used in consumer Cloud Service Mesh or Application Load Balancers. - Bind a Cloud Run service to be used in consumer Cloud Service Mesh or Application Load Balancers.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Name of the ServiceBinding resource. It matches pattern `projects/*/locations/*/serviceBindings/<service_binding_name>`.
$msg->description()/$msg->description($value)Type:
StringOptional. A free-text description of the resource. Max length 1024 characters.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp when the resource was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp when the resource was updated.
$msg->service()/$msg->service($value)Type:
StringOptional. The full Service Directory Service name of the format `projects/*/locations/*/namespaces/*/services/*`. This field is for Service Directory integration which will be deprecated soon.
$msg->service_id()/$msg->service_id($value)Type:
StringOutput only. The unique identifier of the Service Directory Service against which the ServiceBinding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format. This field is for Service Directory integration which will be deprecated soon.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Networkservices::V1::ServiceBinding::ServiceBinding::LabelsEntry)Optional. Set of label tags associated with the ServiceBinding resource.
Google::Cloud::Networkservices::V1::ServiceBinding::ListServiceBindingsRequest
Request used with the ListServiceBindings method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project and location from which the ServiceBindings should be listed, specified in the format `projects/*/locations/*`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Maximum number of ServiceBindings to return per call.
$msg->page_token()/$msg->page_token($value)Type:
StringThe value returned by the last `ListServiceBindingsResponse` Indicates that this is a continuation of a prior `ListRouters` call, and that the system should return the next page of data.
Google::Cloud::Networkservices::V1::ServiceBinding::ListServiceBindingsResponse
Response returned by the ListServiceBindings method.
Inherits from Protobuf::Message.
Accessors
$msg->service_bindings()/$msg->service_bindings($value)Type:
Message(Google::Cloud::Networkservices::V1::ServiceBinding::ServiceBinding)List of ServiceBinding resources.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringIf there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
Google::Cloud::Networkservices::V1::ServiceBinding::GetServiceBindingRequest
Request used by the GetServiceBinding method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. A name of the ServiceBinding to get. Must be in the format `projects/*/locations/*/serviceBindings/*`.
Google::Cloud::Networkservices::V1::ServiceBinding::CreateServiceBindingRequest
Request used by the ServiceBinding method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource of the ServiceBinding. Must be in the format `projects/*/locations/*`.
$msg->service_binding_id()/$msg->service_binding_id($value)Type:
StringRequired. Short name of the ServiceBinding resource to be created.
$msg->service_binding()/$msg->service_binding($value)Type:
Message(Google::Cloud::Networkservices::V1::ServiceBinding::ServiceBinding)Required. ServiceBinding resource to be created.
Google::Cloud::Networkservices::V1::ServiceBinding::UpdateServiceBindingRequest
Request used by the UpdateServiceBinding method.
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 ServiceBinding 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_binding()/$msg->service_binding($value)Type:
Message(Google::Cloud::Networkservices::V1::ServiceBinding::ServiceBinding)Required. Updated ServiceBinding resource.
Google::Cloud::Networkservices::V1::ServiceBinding::DeleteServiceBindingRequest
Request used by the DeleteServiceBinding method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. A name of the ServiceBinding to delete. Must be in the format `projects/*/locations/*/serviceBindings/*`.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Networkservices::V1::ServiceBinding::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.