Google Cloud Audit Manager V1 Client - Class GenerateAuditScopeReportRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Audit Manager V1 Client class GenerateAuditScopeReportRequest.

Message for requesting audit scope report.

Generated from protobuf message google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest

Namespace

Google \ Cloud \ AuditManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ scope string

Required. Scope for which the AuditScopeReport is required. Must be of format resource_type/resource_identifier Eg: projects/{project}/locations/{location}, folders/{folder}/locations/{location}

↳ compliance_standard string

Required. Compliance Standard against which the Scope Report must be generated. Eg: FEDRAMP_MODERATE

↳ report_format int

Required. The format in which the Scope report bytes should be returned.

↳ compliance_framework string

Required. Compliance framework against which the Scope Report must be generated.

getScope

Required. Scope for which the AuditScopeReport is required. Must be of format resource_type/resource_identifier Eg: projects/{project}/locations/{location}, folders/{folder}/locations/{location}

Returns
Type Description
string

setScope

Required. Scope for which the AuditScopeReport is required. Must be of format resource_type/resource_identifier Eg: projects/{project}/locations/{location}, folders/{folder}/locations/{location}

Parameter
Name Description
var string
Returns
Type Description
$this

getComplianceStandard

Required. Compliance Standard against which the Scope Report must be generated. Eg: FEDRAMP_MODERATE

Returns
Type Description
string

setComplianceStandard

Required. Compliance Standard against which the Scope Report must be generated. Eg: FEDRAMP_MODERATE

Parameter
Name Description
var string
Returns
Type Description
$this

getReportFormat

Required. The format in which the Scope report bytes should be returned.

Returns
Type Description
int Enum of type AuditScopeReportFormat.

setReportFormat

Required. The format in which the Scope report bytes should be returned.

Parameter
Name Description
var int

Enum of type AuditScopeReportFormat.

Returns
Type Description
$this

getComplianceFramework

Required. Compliance framework against which the Scope Report must be generated.

Returns
Type Description
string

setComplianceFramework

Required. Compliance framework against which the Scope Report must be generated.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
scope string

Required. Scope for which the AuditScopeReport is required. Must be of format resource_type/resource_identifier Eg: projects/{project}/locations/{location}, folders/{folder}/locations/{location}

complianceStandard string

Required. Compliance Standard against which the Scope Report must be generated. Eg: FEDRAMP_MODERATE

reportFormat int

Required. The format in which the Scope report bytes should be returned. For allowed values, use constants defined on GenerateAuditScopeReportRequest\AuditScopeReportFormat

Returns
Type Description
GenerateAuditScopeReportRequest