Reference documentation and code samples for the Google Cloud Binary Authorization V1 Client class GetSystemPolicyRequest.
Request to read the current system policy.
Generated from protobuf message google.cloud.binaryauthorization.v1.GetSystemPolicyRequest
Namespace
Google \ Cloud \ BinaryAuthorization \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The resource name, in the format locations/*/policy. Note that the system policy is not associated with a project.
getName
Required. The resource name, in the format locations/*/policy.
Note that the system policy is not associated with a project.
Returns
Type
Description
string
setName
Required. The resource name, in the format locations/*/policy.
Note that the system policy is not associated with a project.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The resource name, in the format locations/*/policy.
Note that the system policy is not associated with a project. Please see
SystemPolicyV1Client::policyName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Binary Authorization V1 Client - Class GetSystemPolicyRequest (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-binary-authorization/latest/V1.GetSystemPolicyRequest)\n- [1.0.4](/php/docs/reference/cloud-binary-authorization/1.0.4/V1.GetSystemPolicyRequest)\n- [0.8.7](/php/docs/reference/cloud-binary-authorization/0.8.7/V1.GetSystemPolicyRequest)\n- [0.7.0](/php/docs/reference/cloud-binary-authorization/0.7.0/V1.GetSystemPolicyRequest)\n- [0.6.1](/php/docs/reference/cloud-binary-authorization/0.6.1/V1.GetSystemPolicyRequest)\n- [0.5.13](/php/docs/reference/cloud-binary-authorization/0.5.13/V1.GetSystemPolicyRequest) \nReference documentation and code samples for the Google Cloud Binary Authorization V1 Client class GetSystemPolicyRequest.\n\nRequest to read the current system policy.\n\nGenerated from protobuf message `google.cloud.binaryauthorization.v1.GetSystemPolicyRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BinaryAuthorization \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The resource name, in the format `locations/*/policy`.\n\nNote that the system policy is not associated with a project.\n\n### setName\n\nRequired. The resource name, in the format `locations/*/policy`.\n\nNote that the system policy is not associated with a project.\n\n### static::build"]]