Google Cloud Security Compliance V1 Client - Class CreateFrameworkAuditRequest (0.2.0)

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

The request message for CreateFrameworkAudit.

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

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 where this framework audit is created. Supported formats are the following: * * organizations/{organization_id}/locations/{location} * * folders/{folder_id}/locations/{location} * * projects/{project_id}/locations/{location}

↳ framework_audit_id string

Optional. The ID to use for the framework audit. The ID becomes the final component of the framework audit's full resource name. The ID must be between 4-63 characters, and valid characters are \[a-z][0-9]-\.

↳ framework_audit FrameworkAudit

Required. The framework audit to create.

getParent

Required. The parent resource where this framework audit is created.

Supported formats are the following:

  • organizations/{organization_id}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • projects/{project_id}/locations/{location}
Returns
Type Description
string

setParent

Required. The parent resource where this framework audit is created.

Supported formats are the following:

  • organizations/{organization_id}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • projects/{project_id}/locations/{location}
Parameter
Name Description
var string
Returns
Type Description
$this

getFrameworkAuditId

Optional. The ID to use for the framework audit. The ID becomes the final component of the framework audit's full resource name.

The ID must be between 4-63 characters, and valid characters are \[a-z][0-9]-\.

Returns
Type Description
string

setFrameworkAuditId

Optional. The ID to use for the framework audit. The ID becomes the final component of the framework audit's full resource name.

The ID must be between 4-63 characters, and valid characters are \[a-z][0-9]-\.

Parameter
Name Description
var string
Returns
Type Description
$this

getFrameworkAudit

Required. The framework audit to create.

Returns
Type Description
FrameworkAudit|null

hasFrameworkAudit

clearFrameworkAudit

setFrameworkAudit

Required. The framework audit to create.

Parameter
Name Description
var FrameworkAudit
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource where this framework audit is created.

Supported formats are the following:

    • organizations/{organization_id}/locations/{location}
    • folders/{folder_id}/locations/{location}
    • projects/{project_id}/locations/{location} Please see AuditClient::organizationLocationName() for help formatting this field.
frameworkAudit FrameworkAudit

Required. The framework audit to create.

frameworkAuditId string

Optional. The ID to use for the framework audit. The ID becomes the final component of the framework audit's full resource name.

The ID must be between 4-63 characters, and valid characters are \[a-z][0-9]-\.

Returns
Type Description
CreateFrameworkAuditRequest