Reference documentation and code samples for the Google Cloud Assured Workloads V1 Client class GetViolationRequest.
Request for fetching a Workload Violation.
Generated from protobuf message google.cloud.assuredworkloads.v1.GetViolationRequest
Namespace
Google \ Cloud \ AssuredWorkloads \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The resource name of the Violation to fetch (ie. Violation.name). Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
getName
Required. The resource name of the Violation to fetch (ie. Violation.name).
Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
string
setName
Required. The resource name of the Violation to fetch (ie. Violation.name).
Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
var
string
$this
static::build
name
string
Required. The resource name of the Violation to fetch (ie. Violation.name). Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} Please see Google\Cloud\AssuredWorkloads\V1\AssuredWorkloadsServiceClient::violationName() for help formatting this field.