Google Cloud Security Compliance V1 Client - Class GetCloudControlRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class GetCloudControlRequest.

Request message for getting a CloudControl.

Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.GetCloudControlRequest

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the cloudcontrol to retrieve in the format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control}

getName

Required. The name of the cloudcontrol to retrieve in the format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control}

Returns
Type Description
string

setName

Required. The name of the cloudcontrol to retrieve in the format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the cloudcontrol to retrieve in the format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control} Please see ConfigClient::cloudControlName() for help formatting this field.

Returns
Type Description
GetCloudControlRequest