Reference documentation and code samples for the Google Cloud Cloud Controls Partner V1beta Client class GetViolationRequest.
Message for getting a Violation
Generated from protobuf message google.cloud.cloudcontrolspartner.v1beta.GetViolationRequest
Namespace
Google \ Cloud \ CloudControlsPartner \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation} |
getName
Required. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
Returns | |
---|---|
Type | Description |
string |
setName
Required. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation} Please see Google\Cloud\CloudControlsPartner\V1beta\CloudControlsPartnerMonitoringClient::violationName() for help formatting this field. |
Returns | |
---|---|
Type | Description |
Google\Cloud\CloudControlsPartner\V1beta\GetViolationRequest |