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

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

Request message for GetAuditSchedule.

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

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 schedule to retrieve, in one of the following formats: * * projects/{project}/locations/{location}/auditSchedules/{audit_schedule} * * folders/{folder}/locations/{location}/auditSchedules/{audit_schedule} * * organizations/{organization}/locations/{location}/auditSchedules/{audit_schedule}

getName

Required. Name of the audit schedule to retrieve, in one of the following formats:

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

setName

Required. Name of the audit schedule to retrieve, in one of the following formats:

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

static::build

Parameter
Name Description
name string

Required. Name of the audit schedule to retrieve, in one of the following formats:

    • projects/{project}/locations/{location}/auditSchedules/{audit_schedule}
    • folders/{folder}/locations/{location}/auditSchedules/{audit_schedule}
    • organizations/{organization}/locations/{location}/auditSchedules/{audit_schedule} Please see AuditManagerClient::auditScheduleName() for help formatting this field.
Returns
Type Description
GetAuditScheduleRequest