Google Cloud Audit Manager V1 Client - Class GetAuditReportRequest (0.4.1)

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

Request message for GetAuditReport.

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

Namespace

Google \ Cloud \ AuditManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the audit report, in one of the following formats: * * projects/{project}/locations/{location}/auditReports/{audit_report} * * folders/{folder}/locations/{location}/auditReports/{audit_report} * * organizations/{organization}/locations/{location}/auditReports/{audit_report}

getName

Required. Name of the audit report, in one of the following formats:

  • projects/{project}/locations/{location}/auditReports/{audit_report}
  • folders/{folder}/locations/{location}/auditReports/{audit_report}
  • organizations/{organization}/locations/{location}/auditReports/{audit_report}
Returns
Type Description
string

setName

Required. Name of the audit report, in one of the following formats:

  • projects/{project}/locations/{location}/auditReports/{audit_report}
  • folders/{folder}/locations/{location}/auditReports/{audit_report}
  • organizations/{organization}/locations/{location}/auditReports/{audit_report}
Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the audit report, in one of the following formats:

    • projects/{project}/locations/{location}/auditReports/{audit_report}
    • folders/{folder}/locations/{location}/auditReports/{audit_report}
    • organizations/{organization}/locations/{location}/auditReports/{audit_report} Please see AuditManagerClient::auditReportName() for help formatting this field.
Returns
Type Description
GetAuditReportRequest