Service Client: Google::Cloud::Binaryauthorization::V1::Service::BinauthzManagementServiceV1Client
Client stub representing the remote BinauthzManagementServiceV1 gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to binaryauthorization.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
Service Client: Google::Cloud::Binaryauthorization::V1::Service::SystemPolicyV1Client
Client stub representing the remote SystemPolicyV1 gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to binaryauthorization.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
Service Client: Google::Cloud::Binaryauthorization::V1::Service::ValidationHelperV1Client
Client stub representing the remote ValidationHelperV1 gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to binaryauthorization.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Binaryauthorization::V1::Service - Compiled Protocol Buffers messages for google/cloud/binaryauthorization/v1/service.proto
SYNOPSIS
use Google::Cloud::Binaryauthorization::V1::Service;
my $msg = Google::Cloud::Binaryauthorization::V1::Service::GetPolicyRequest->new({
name => $name,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Binaryauthorization::V1::Service::GetPolicyRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/binaryauthorization/v1/service.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::Binaryauthorization::V1::Service::GetPolicyRequest
Request message for [BinauthzManagementServiceV1.GetPolicy][google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.GetPolicy].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve, in the format `projects/*/policy`.
Google::Cloud::Binaryauthorization::V1::Service::UpdatePolicyRequest
Request message for [BinauthzManagementServiceV1.UpdatePolicy][google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.UpdatePolicy].
Inherits from Protobuf::Message.
Accessors
$msg->policy()/$msg->policy($value)Type:
Message(Google::Cloud::Binaryauthorization::V1::Resources::Policy)Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in the request URL, in the format `projects/*/policy`.
Google::Cloud::Binaryauthorization::V1::Service::CreateAttestorRequest
Request message for [BinauthzManagementServiceV1.CreateAttestor][google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.CreateAttestor].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
$msg->attestor_id()/$msg->attestor_id($value)Type:
StringRequired. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
$msg->attestor()/$msg->attestor($value)Type:
Message(Google::Cloud::Binaryauthorization::V1::Resources::Attestor)Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name, in the format `projects/*/attestors/*`.
Google::Cloud::Binaryauthorization::V1::Service::GetAttestorRequest
Request message for [BinauthzManagementServiceV1.GetAttestor][google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.GetAttestor].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format `projects/*/attestors/*`.
Google::Cloud::Binaryauthorization::V1::Service::UpdateAttestorRequest
Request message for [BinauthzManagementServiceV1.UpdateAttestor][google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.UpdateAttestor].
Inherits from Protobuf::Message.
Accessors
$msg->attestor()/$msg->attestor($value)Type:
Message(Google::Cloud::Binaryauthorization::V1::Resources::Attestor)Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name in the request URL, in the format `projects/*/attestors/*`.
Google::Cloud::Binaryauthorization::V1::Service::ListAttestorsRequest
Request message for [BinauthzManagementServiceV1.ListAttestors][google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.ListAttestors].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the project associated with the [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringA token identifying a page of results the server should return. Typically, this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned from the previous call to the `ListAttestors` method.
Google::Cloud::Binaryauthorization::V1::Service::ListAttestorsResponse
Response message for [BinauthzManagementServiceV1.ListAttestors][google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.ListAttestors].
Inherits from Protobuf::Message.
Accessors
$msg->attestors()/$msg->attestors($value)Type:
Message(Google::Cloud::Binaryauthorization::V1::Resources::Attestor)The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to retrieve the next page of results. Pass this value in the [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the `ListAttestors` method to retrieve the next page of results.
Google::Cloud::Binaryauthorization::V1::Service::DeleteAttestorRequest
Request message for [BinauthzManagementServiceV1.DeleteAttestor][google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.DeleteAttestor].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format `projects/*/attestors/*`.
Google::Cloud::Binaryauthorization::V1::Service::GetSystemPolicyRequest
Request to read the current system policy.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name, in the format `locations/*/policy`. Note that the system policy is not associated with a project.
Google::Cloud::Binaryauthorization::V1::Service::ValidateAttestationOccurrenceRequest
Request message for [ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence].
Inherits from Protobuf::Message.
Accessors
$msg->attestor()/$msg->attestor($value)Type:
StringRequired. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the [occurrence][grafeas.v1.Occurrence], in the format `projects/*/attestors/*`.
$msg->attestation()/$msg->attestation($value)Type:
Message(Grafeas::V1::Attestation::AttestationOccurrence)Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to be checked that it can be verified by the `Attestor`. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid `AttestationOccurrence`.
$msg->occurrence_note()/$msg->occurrence_note($value)Type:
StringRequired. The resource name of the [Note][grafeas.v1.Note] to which the containing [Occurrence][grafeas.v1.Occurrence] is associated.
$msg->occurrence_resource_uri()/$msg->occurrence_resource_uri($value)Type:
StringRequired. The URI of the artifact (e.g. container image) that is the subject of the containing [Occurrence][grafeas.v1.Occurrence].
Google::Cloud::Binaryauthorization::V1::Service::ValidateAttestationOccurrenceResponse
Response message for [ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence].
Inherits from Protobuf::Message.
Accessors
$msg->result()/$msg->result($value)Type:
Enum(Google::Cloud::Binaryauthorization::V1::ValidateAttestationOccurrenceResponse::Result)The result of the Attestation validation.
$msg->denial_reason()/$msg->denial_reason($value)Type:
StringThe reason for denial if the Attestation couldn't be validated.
Enum: ValidateAttestationOccurrenceResponse::Result
RESULT_UNSPECIFIED=>0VERIFIED=>1ATTESTATION_NOT_VERIFIABLE=>2
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Binaryauthorization::V1::Service::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.