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

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

Request message for creating a CloudControl

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

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource name, in the format organizations/{organization}/locations/{location}.

↳ cloud_control_id string

Required. ID of the CloudControl. This is the last segment of the CloudControl resource name. Format: ^[a-zA-Z][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]$.

↳ cloud_control CloudControl

Required. The resource being created

getParent

Required. The parent resource name, in the format organizations/{organization}/locations/{location}.

Returns
Type Description
string

setParent

Required. The parent resource name, in the format organizations/{organization}/locations/{location}.

Parameter
Name Description
var string
Returns
Type Description
$this

getCloudControlId

Required. ID of the CloudControl.

This is the last segment of the CloudControl resource name. Format: ^[a-zA-Z][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]$.

Returns
Type Description
string

setCloudControlId

Required. ID of the CloudControl.

This is the last segment of the CloudControl resource name. Format: ^[a-zA-Z][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]$.

Parameter
Name Description
var string
Returns
Type Description
$this

getCloudControl

Required. The resource being created

Returns
Type Description
CloudControl|null

hasCloudControl

clearCloudControl

setCloudControl

Required. The resource being created

Parameter
Name Description
var CloudControl
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource name, in the format organizations/{organization}/locations/{location}. Please see ConfigClient::organizationLocationName() for help formatting this field.

cloudControl CloudControl

Required. The resource being created

cloudControlId string

Required. ID of the CloudControl. This is the last segment of the CloudControl resource name. Format: ^[a-zA-Z][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]$.

Returns
Type Description
CreateCloudControlRequest