Audit Manager V1 API - Class Google::Cloud::AuditManager::V1::EnrollResourceRequest (v0.1.0)

Reference documentation and code samples for the Audit Manager V1 API class Google::Cloud::AuditManager::V1::EnrollResourceRequest.

Request message to subscribe the Audit Manager service for given resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#destinations

def destinations() -> ::Array<::Google::Cloud::AuditManager::V1::EnrollResourceRequest::EligibleDestination>
Returns
  • (::Array<::Google::Cloud::AuditManager::V1::EnrollResourceRequest::EligibleDestination>) — Required. List of destination among which customer can choose to upload their reports during the audit process. While enrolling at a organization/folder level, customer can choose Cloud storage bucket in any project. If the audit is triggered at project level using the service agent at organization/folder level, all the destination options associated with respective organization/folder level service agent will be available to auditing projects.

#destinations=

def destinations=(value) -> ::Array<::Google::Cloud::AuditManager::V1::EnrollResourceRequest::EligibleDestination>
Parameter
  • value (::Array<::Google::Cloud::AuditManager::V1::EnrollResourceRequest::EligibleDestination>) — Required. List of destination among which customer can choose to upload their reports during the audit process. While enrolling at a organization/folder level, customer can choose Cloud storage bucket in any project. If the audit is triggered at project level using the service agent at organization/folder level, all the destination options associated with respective organization/folder level service agent will be available to auditing projects.
Returns
  • (::Array<::Google::Cloud::AuditManager::V1::EnrollResourceRequest::EligibleDestination>) — Required. List of destination among which customer can choose to upload their reports during the audit process. While enrolling at a organization/folder level, customer can choose Cloud storage bucket in any project. If the audit is triggered at project level using the service agent at organization/folder level, all the destination options associated with respective organization/folder level service agent will be available to auditing projects.

#scope

def scope() -> ::String
Returns
  • (::String) — Required. The resource to be enrolled to the audit manager. Scope format should be resource_type/resource_identifier Eg: projects/{project}/locations/{location}, folders/{folder}/locations/{location} organizations/{organization}/locations/{location}

#scope=

def scope=(value) -> ::String
Parameter
  • value (::String) — Required. The resource to be enrolled to the audit manager. Scope format should be resource_type/resource_identifier Eg: projects/{project}/locations/{location}, folders/{folder}/locations/{location} organizations/{organization}/locations/{location}
Returns
  • (::String) — Required. The resource to be enrolled to the audit manager. Scope format should be resource_type/resource_identifier Eg: projects/{project}/locations/{location}, folders/{folder}/locations/{location} organizations/{organization}/locations/{location}