google-cloud-audit_manager-v1 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -239,11 +239,11 @@ module Google
239
239
  # Service calls
240
240
 
241
241
  ##
242
- # Enrolls the customer resource(folder/project/organization) to the audit
243
- # manager service by creating the audit managers Service Agent in customers
244
- # workload and granting required permissions to the Service Agent. Please
245
- # note that if enrollment request is made on the already enrolled workload
246
- # then enrollment is executed overriding the existing set of destinations.
242
+ # Adds your project, folder, or organization to Audit
243
+ # Manager. This method creates the Audit Manager service agent in your
244
+ # workload and grants required permissions to the service agent.
245
+ # If you make this request on a workload that's already enrolled,
246
+ # then this method overrides the existing set of destinations.
247
247
  #
248
248
  # @overload enroll_resource(request, options = nil)
249
249
  # Pass arguments to `enroll_resource` via a request object, either of type
@@ -261,19 +261,21 @@ module Google
261
261
  # the default parameter values, pass an empty Hash as a request object (see above).
262
262
  #
263
263
  # @param scope [::String]
264
- # Required. The resource to be enrolled to the audit manager. Scope format
265
- # should be resource_type/resource_identifier Eg:
266
- # projects/\\{project}/locations/\\{location},
267
- # folders/\\{folder}/locations/\\{location}
268
- # organizations/\\{organization}/locations/\\{location}
264
+ # Required. Organization, folder, or project to enroll in Audit Manager, in
265
+ # one of the following formats:
266
+ #
267
+ # * `projects/{project}/locations/{location}`
268
+ # * `folders/{folder}/locations/{location}`
269
+ # * `organizations/{organization}/locations/{location}`
269
270
  # @param destinations [::Array<::Google::Cloud::AuditManager::V1::EnrollResourceRequest::EligibleDestination, ::Hash>]
270
- # Required. List of destination among which customer can choose to upload
271
- # their reports during the audit process. While enrolling at a
272
- # organization/folder level, customer can choose Cloud storage bucket in any
273
- # project. If the audit is triggered at project level using the service agent
274
- # at organization/folder level, all the destination options associated with
275
- # respective organization/folder level service agent will be available to
276
- # auditing projects.
271
+ # Required. Cloud Storage buckets that you can upload your audit reports to
272
+ # during the audit process.
273
+ #
274
+ # When you enroll an organization or folder, you can choose a Cloud Storage
275
+ # bucket from any project in the organization or folder. If you run an audit
276
+ # at the project level using the service agent at the organization or folder
277
+ # level, all the buckets that are associated with the service agent are
278
+ # available.
277
279
  # @yield [result, operation] Access the result along with the TransportOperation object
278
280
  # @yieldparam result [::Google::Cloud::AuditManager::V1::Enrollment]
279
281
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -333,9 +335,14 @@ module Google
333
335
  end
334
336
 
335
337
  ##
336
- # Generates a demo report highlighting different responsibilities
337
- # (Google/Customer/ shared) required to be fulfilled for the customer's
338
- # workload to be compliant with the given standard.
338
+ # Generates an audit scope report for the given standard.
339
+ #
340
+ # The report includes the following:
341
+ #
342
+ # * The technical attributes and constraints that Audit Manager uses to
343
+ # verify your compliance with a framework.
344
+ # * A list of Google Cloud services and resources that are within the
345
+ # scope of the framework.
339
346
  #
340
347
  # @overload generate_audit_scope_report(request, options = nil)
341
348
  # Pass arguments to `generate_audit_scope_report` via a request object, either of type
@@ -353,18 +360,22 @@ module Google
353
360
  # the default parameter values, pass an empty Hash as a request object (see above).
354
361
  #
355
362
  # @param scope [::String]
356
- # Required. Scope for which the AuditScopeReport is required. Must be of
357
- # format resource_type/resource_identifier Eg:
358
- # projects/\\{project}/locations/\\{location},
359
- # folders/\\{folder}/locations/\\{location}
363
+ # Required. Project or folder that the audit scope report is generated for,
364
+ # in one of the following formats:
365
+ #
366
+ # * `projects/{project}/locations/{location}`
367
+ # * `folders/{folder}/locations/{location}`
368
+ # * `organizations/{organization}/locations/{location}`
360
369
  # @param compliance_standard [::String]
361
- # Required. Compliance Standard against which the Scope Report must be
362
- # generated. Eg: FEDRAMP_MODERATE
370
+ # Optional. Deprecated. The standard (industry or regulatory requirements)
371
+ # that the audit scope report is run against.
372
+ #
373
+ # Use the `compliance_framework` field instead.
363
374
  # @param report_format [::Google::Cloud::AuditManager::V1::GenerateAuditScopeReportRequest::AuditScopeReportFormat]
364
- # Required. The format in which the Scope report bytes should be returned.
375
+ # Required. Format for the audit scope report.
365
376
  # @param compliance_framework [::String]
366
- # Required. Compliance framework against which the Scope Report must be
367
- # generated.
377
+ # Required. Framework (set of controls) that the audit scope report is
378
+ # generated against. For example, `NIST_800_53`.
368
379
  # @yield [result, operation] Access the result along with the TransportOperation object
369
380
  # @yieldparam result [::Google::Cloud::AuditManager::V1::AuditScopeReport]
370
381
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -424,8 +435,9 @@ module Google
424
435
  end
425
436
 
426
437
  ##
427
- # Register the Audit Report generation requests and returns the OperationId
428
- # using which the customer can track the report generation progress.
438
+ # Registers audit report generation requests. This method returns the
439
+ # operation identifier that you can use to track the report generation
440
+ # progress.
429
441
  #
430
442
  # @overload generate_audit_report(request, options = nil)
431
443
  # Pass arguments to `generate_audit_report` via a request object, either of type
@@ -437,27 +449,34 @@ module Google
437
449
  # @param options [::Gapic::CallOptions, ::Hash]
438
450
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
439
451
  #
440
- # @overload generate_audit_report(gcs_uri: nil, scope: nil, compliance_standard: nil, report_format: nil, compliance_framework: nil)
452
+ # @overload generate_audit_report(gcs_uri: nil, scope: nil, compliance_standard: nil, report_format: nil, compliance_framework: nil, validate_only: nil)
441
453
  # Pass arguments to `generate_audit_report` via keyword arguments. Note that at
442
454
  # least one keyword argument is required. To specify no parameters, or to keep all
443
455
  # the default parameter values, pass an empty Hash as a request object (see above).
444
456
  #
445
457
  # @param gcs_uri [::String]
446
- # Destination Cloud storage bucket where report and evidence must be
447
- # uploaded. The Cloud storage bucket provided here must be selected among
448
- # the buckets entered during the enrollment process.
458
+ # URL for the Cloud Storage bucket where the report and evidence is
459
+ # uploaded. You must select a bucket that was provided during the
460
+ # enrollment process.
449
461
  # @param scope [::String]
450
- # Required. Scope for which the AuditScopeReport is required. Must be of
451
- # format resource_type/resource_identifier Eg:
452
- # projects/\\{project}/locations/\\{location},
453
- # folders/\\{folder}/locations/\\{location}
462
+ # Required. Organization, folder, or project that the audit applies to, in
463
+ # one of the following formats:
464
+ #
465
+ # * `projects/{project}/locations/{location}`
466
+ # * `folders/{folder}/locations/{location}`
467
+ # * `organizations/{organization}/locations/{location}`
454
468
  # @param compliance_standard [::String]
455
- # Required. Compliance Standard against which the Scope Report must be
456
- # generated. Eg: FEDRAMP_MODERATE
469
+ # Optional. Deprecated. Compliance standard for the audit report.
470
+ #
471
+ # Use the `compliance_framework` field instead.
457
472
  # @param report_format [::Google::Cloud::AuditManager::V1::GenerateAuditReportRequest::AuditReportFormat]
458
- # Required. The format in which the audit report should be created.
473
+ # Required. Format for the audit report.
459
474
  # @param compliance_framework [::String]
460
- # Required. Compliance framework against which the Report must be generated.
475
+ # Required. The framework that's used for the audit report. For example,
476
+ # `NIST_800_53`.
477
+ # @param validate_only [::Boolean]
478
+ # Optional. If `true`, only validate the request and don't generate the audit
479
+ # report.
461
480
  # @yield [result, operation] Access the result along with the TransportOperation object
462
481
  # @yieldparam result [::Gapic::Operation]
463
482
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -526,7 +545,8 @@ module Google
526
545
  end
527
546
 
528
547
  ##
529
- # Lists audit reports in the selected parent scope
548
+ # Lists the audit reports for the organization, folder, or project that you
549
+ # specify as the parent scope.
530
550
  #
531
551
  # @overload list_audit_reports(request, options = nil)
532
552
  # Pass arguments to `list_audit_reports` via a request object, either of type
@@ -544,12 +564,20 @@ module Google
544
564
  # the default parameter values, pass an empty Hash as a request object (see above).
545
565
  #
546
566
  # @param parent [::String]
547
- # Required. The parent scope for which to list the reports.
567
+ # Required. Parent organization, folder, or project to list reports for,
568
+ # in one of the following formats:
569
+ #
570
+ # * `projects/{project}/locations/{location}`
571
+ # * `folders/{folder}/locations/{location}`
572
+ # * `organizations/{organization}/locations/{location}`
548
573
  # @param page_size [::Integer]
549
- # Optional. The maximum number of resources to return.
574
+ # Optional. Maximum number of items to return in a single page. The service
575
+ # might return fewer items than this value. If unspecified, the service picks
576
+ # an appropriate default. The maximum value is 100; values above 100 are
577
+ # reduced to 100.
550
578
  # @param page_token [::String]
551
- # Optional. The next_page_token value returned from a previous List request,
552
- # if any.
579
+ # Optional. A page token, received from a previous call, to retrieve the next
580
+ # page of results.
553
581
  # @yield [result, operation] Access the result along with the TransportOperation object
554
582
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AuditManager::V1::AuditReport>]
555
583
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -615,7 +643,7 @@ module Google
615
643
  end
616
644
 
617
645
  ##
618
- # Get the overall audit report
646
+ # Gets the full metadata and findings for an audit report.
619
647
  #
620
648
  # @overload get_audit_report(request, options = nil)
621
649
  # Pass arguments to `get_audit_report` via a request object, either of type
@@ -633,9 +661,11 @@ module Google
633
661
  # the default parameter values, pass an empty Hash as a request object (see above).
634
662
  #
635
663
  # @param name [::String]
636
- # Required. Format
637
- # projects/\\{project}/locations/\\{location}/auditReports/\\{audit_report},
638
- # folders/\\{folder}/locations/\\{location}/auditReports/\\{audit_report}
664
+ # Required. Name of the audit report, in one of the following formats:
665
+ #
666
+ # * `projects/{project}/locations/{location}/auditReports/{audit_report}`
667
+ # * `folders/{folder}/locations/{location}/auditReports/{audit_report}`
668
+ # * `organizations/{organization}/locations/{location}/auditReports/{audit_report}`
639
669
  # @yield [result, operation] Access the result along with the TransportOperation object
640
670
  # @yieldparam result [::Google::Cloud::AuditManager::V1::AuditReport]
641
671
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -695,7 +725,7 @@ module Google
695
725
  end
696
726
 
697
727
  ##
698
- # Get a resource along with its enrollment status.
728
+ # Gets a resource and its enrollment status.
699
729
  #
700
730
  # @overload get_resource_enrollment_status(request, options = nil)
701
731
  # Pass arguments to `get_resource_enrollment_status` via a request object, either of type
@@ -713,10 +743,12 @@ module Google
713
743
  # the default parameter values, pass an empty Hash as a request object (see above).
714
744
  #
715
745
  # @param name [::String]
716
- # Required. Format
717
- # folders/\\{folder}/locations/\\{location}/resourceEnrollmentStatuses/\\{resource_enrollment_status},
718
- # projects/\\{project}/locations/\\{location}/resourceEnrollmentStatuses/\\{resource_enrollment_status},
719
- # organizations/\\{organization}/locations/\\{location}/resourceEnrollmentStatuses/\\{resource_enrollment_status}
746
+ # Required. Name of the resource enrollment status, in one of the following
747
+ # formats:
748
+ #
749
+ # * `folders/{folder}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}`
750
+ # * `projects/{project}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}`
751
+ # * `organizations/{organization}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}`
720
752
  # @yield [result, operation] Access the result along with the TransportOperation object
721
753
  # @yieldparam result [::Google::Cloud::AuditManager::V1::ResourceEnrollmentStatus]
722
754
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -776,7 +808,8 @@ module Google
776
808
  end
777
809
 
778
810
  ##
779
- # Fetches all resources under the parent along with their enrollment.
811
+ # Lists all the folders and projects in an organization or folder, along with
812
+ # their enrollments.
780
813
  #
781
814
  # @overload list_resource_enrollment_statuses(request, options = nil)
782
815
  # Pass arguments to `list_resource_enrollment_statuses` via a request object, either of type
@@ -794,13 +827,19 @@ module Google
794
827
  # the default parameter values, pass an empty Hash as a request object (see above).
795
828
  #
796
829
  # @param parent [::String]
797
- # Required. The parent scope for which the list of resources with enrollments
798
- # are required.
830
+ # Required. Parent organization or folder to list enrollment statuses for,
831
+ # in one of the following formats:
832
+ #
833
+ # * `folders/{folder}/locations/{location}`
834
+ # * `organizations/{organization}/locations/{location}`
799
835
  # @param page_size [::Integer]
800
- # Optional. The maximum number of resources to return.
836
+ # Optional. Maximum number of items to return in a single page. The service
837
+ # might return fewer items than this value. If unspecified, the service picks
838
+ # an appropriate default. The maximum value is 100; values above 100 are
839
+ # reduced to 100.
801
840
  # @param page_token [::String]
802
- # Optional. The next_page_token value returned from a previous List request,
803
- # if any.
841
+ # Optional. A page token, received from a previous call, to retrieve the next
842
+ # page of results.
804
843
  # @yield [result, operation] Access the result along with the TransportOperation object
805
844
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AuditManager::V1::ResourceEnrollmentStatus>]
806
845
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -866,7 +905,8 @@ module Google
866
905
  end
867
906
 
868
907
  ##
869
- # Gets controls needed to be implemented to be compliant to a standard.
908
+ # Lists the controls that you must implement to become compliant to a
909
+ # regulatory standard.
870
910
  #
871
911
  # @overload list_controls(request, options = nil)
872
912
  # Pass arguments to `list_controls` via a request object, either of type
@@ -884,14 +924,19 @@ module Google
884
924
  # the default parameter values, pass an empty Hash as a request object (see above).
885
925
  #
886
926
  # @param parent [::String]
887
- # Required. Format
888
- # projects/\\{project}/locations/\\{location}/standards/\\{standard},
889
- # folders/\\{folder}/locations/\\{location}/standards/\\{standard}
927
+ # Required. Standard to list controls for, in one of the following formats:
928
+ #
929
+ # * `projects/{project}/locations/{location}/standards/{standard}`
930
+ # * `folders/{folder}/locations/{location}/standards/{standard}`
931
+ # * `organizations/{organization}/locations/{location}/standards/{standard}`
890
932
  # @param page_size [::Integer]
891
- # Optional. The maximum number of resources to return.
933
+ # Optional. Maximum number of items to return in a single page. The service
934
+ # might return fewer items than this value. If unspecified, the service picks
935
+ # an appropriate default. The maximum value is 100; values above 100 are
936
+ # reduced to 100.
892
937
  # @param page_token [::String]
893
- # Optional. The next_page_token value returned from a previous List request,
894
- # if any.
938
+ # Optional. A page token, received from a previous call, to retrieve the next
939
+ # page of results.
895
940
  # @yield [result, operation] Access the result along with the TransportOperation object
896
941
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AuditManager::V1::Control>]
897
942
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -458,6 +458,14 @@ module Google
458
458
  ["scope", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
459
459
  ]
460
460
  )
461
+ .with_bindings(
462
+ uri_method: :post,
463
+ uri_template: "/v1/{scope}/auditScopeReports:generate",
464
+ body: "*",
465
+ matches: [
466
+ ["scope", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
467
+ ]
468
+ )
461
469
  transcoder.transcode request_pb
462
470
  end
463
471
 
@@ -488,6 +496,14 @@ module Google
488
496
  ["scope", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
489
497
  ]
490
498
  )
499
+ .with_bindings(
500
+ uri_method: :post,
501
+ uri_template: "/v1/{scope}/auditReports:generate",
502
+ body: "*",
503
+ matches: [
504
+ ["scope", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
505
+ ]
506
+ )
491
507
  transcoder.transcode request_pb
492
508
  end
493
509
 
@@ -551,6 +567,13 @@ module Google
551
567
  ["name", %r{^projects/[^/]+/locations/[^/]+/auditReports/[^/]+/?$}, false]
552
568
  ]
553
569
  )
570
+ .with_bindings(
571
+ uri_method: :get,
572
+ uri_template: "/v1/{name}",
573
+ matches: [
574
+ ["name", %r{^organizations/[^/]+/locations/[^/]+/auditReports/[^/]+/?$}, false]
575
+ ]
576
+ )
554
577
  transcoder.transcode request_pb
555
578
  end
556
579
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AuditManager
23
23
  module V1
24
- VERSION = "1.0.1"
24
+ VERSION = "1.1.0"
25
25
  end
26
26
  end
27
27
  end
@@ -12,7 +12,7 @@ require 'google/longrunning/operations_pb'
12
12
  require 'google/protobuf/timestamp_pb'
13
13
 
14
14
 
15
- descriptor_data = "\n/google/cloud/auditmanager/v1/auditmanager.proto\x12\x1cgoogle.cloud.auditmanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xde\x01\n\x15\x45nrollResourceRequest\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x62\n\x0c\x64\x65stinations\x18\x02 \x03(\x0b\x32G.google.cloud.auditmanager.v1.EnrollResourceRequest.EligibleDestinationB\x03\xe0\x41\x02\x1aM\n\x13\x45ligibleDestination\x12\x1d\n\x13\x65ligible_gcs_bucket\x18\x03 \x01(\tH\x00\x42\x17\n\x15\x65ligible_destinations\"\xd4\x02\n\x1fGenerateAuditScopeReportRequest\x12\x12\n\x05scope\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x63ompliance_standard\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12p\n\rreport_format\x18\x04 \x01(\x0e\x32T.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.AuditScopeReportFormatB\x03\xe0\x41\x02\x12!\n\x14\x63ompliance_framework\x18\x05 \x01(\tB\x03\xe0\x41\x02\"f\n\x16\x41uditScopeReportFormat\x12)\n%AUDIT_SCOPE_REPORT_FORMAT_UNSPECIFIED\x10\x00\x12!\n\x1d\x41UDIT_SCOPE_REPORT_FORMAT_ODF\x10\x01\"\xd6\x02\n\x1aGenerateAuditReportRequest\x12\x11\n\x07gcs_uri\x18\x02 \x01(\tH\x00\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x63ompliance_standard\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x66\n\rreport_format\x18\x04 \x01(\x0e\x32J.google.cloud.auditmanager.v1.GenerateAuditReportRequest.AuditReportFormatB\x03\xe0\x41\x02\x12!\n\x14\x63ompliance_framework\x18\x05 \x01(\tB\x03\xe0\x41\x02\"U\n\x11\x41uditReportFormat\x12#\n\x1f\x41UDIT_REPORT_FORMAT_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x41UDIT_REPORT_FORMAT_ODF\x10\x01\x42\r\n\x0b\x64\x65stination\"p\n\"GetResourceEnrollmentStatusRequest\x12J\n\x04name\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\n4auditmanager.googleapis.com/ResourceEnrollmentStatus\"\xa3\x01\n%ListResourceEnrollmentStatusesRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1auditmanager.googleapis.com/EnrollmentStatusScope\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa4\x01\n&ListResourceEnrollmentStatusesResponse\x12\\\n\x1cresource_enrollment_statuses\x18\x01 \x03(\x0b\x32\x36.google.cloud.auditmanager.v1.ResourceEnrollmentStatus\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\x8b\x01\n\x17ListAuditReportsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'auditmanager.googleapis.com/AuditReport\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x18ListAuditReportsResponse\x12\x45\n\raudit_reports\x18\x01 \x03(\x0b\x32).google.cloud.auditmanager.v1.AuditReportB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"V\n\x15GetAuditReportRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'auditmanager.googleapis.com/AuditReport\"\x84\x01\n\x13ListControlsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$auditmanager.googleapis.com/Standard\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"r\n\x14ListControlsResponse\x12<\n\x08\x63ontrols\x18\x01 \x03(\x0b\x32%.google.cloud.auditmanager.v1.ControlB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xe1\x02\n\x18ReportGenerationProgress\x12@\n\x05state\x18\x01 \x01(\x0e\x32,.google.cloud.auditmanager.v1.OperationStateB\x03\xe0\x41\x03\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12#\n\x1b\x65valuation_percent_complete\x18\x14 \x01(\x01\x12*\n\"report_generation_percent_complete\x18\x1e \x01(\x01\x12)\n!report_uploading_percent_complete\x18( \x01(\x01\x12#\n\x16\x64\x65stination_gcs_bucket\x18\x32 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x0c\x61udit_report\x18\x33 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'auditmanager.googleapis.com/AuditReport\"\x89\x03\n\nEnrollment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12R\n\x13\x64\x65stination_details\x18\x03 \x03(\x0b\x32\x30.google.cloud.auditmanager.v1.DestinationDetailsB\x03\xe0\x41\x03:\x93\x02\xea\x41\x8f\x02\n&auditmanager.googleapis.com/Enrollment\x12@projects/{project}/locations/{location}/enrollments/{enrollment}\x12>folders/{folder}/locations/{location}/enrollments/{enrollment}\x12Jorganizations/{organization}/locations/{location}/enrollments/{enrollment}*\x0b\x65nrollments2\nenrollment\"\xce\x02\n\x10\x41uditScopeReport\x12\x1f\n\x15scope_report_contents\x18\x01 \x01(\x0cH\x00\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x08:\xf5\x01\xea\x41\xf1\x01\n,auditmanager.googleapis.com/AuditScopeReport\x12Nprojects/{project}/locations/{location}/auditScopeReports/{audit_scope_report}\x12Lfolders/{folder}/locations/{location}/auditScopeReports/{audit_scope_report}*\x11\x61uditScopeReports2\x10\x61uditScopeReportB\x0e\n\x0c\x61udit_report\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xa6\x06\n\x18ResourceEnrollmentStatus\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x41\n\nenrollment\x18\x02 \x01(\x0b\x32(.google.cloud.auditmanager.v1.EnrollmentB\x03\xe0\x41\x03\x12\x17\n\x08\x65nrolled\x18\x03 \x01(\x08\x42\x05\x18\x01\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12m\n\x10\x65nrollment_state\x18\x05 \x01(\x0e\x32N.google.cloud.auditmanager.v1.ResourceEnrollmentStatus.ResourceEnrollmentStateB\x03\xe0\x41\x03\"s\n\x17ResourceEnrollmentState\x12)\n%RESOURCE_ENROLLMENT_STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cNOT_ENROLLED\x10\x01\x12\r\n\tINHERITED\x10\x02\x12\x0c\n\x08\x45NROLLED\x10\x03:\x9b\x03\xea\x41\x97\x03\n4auditmanager.googleapis.com/ResourceEnrollmentStatus\x12]folders/{folder}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}\x12_projects/{project}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}\x12iorganizations/{organization}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}*\x1aresourceEnrollmentStatuses2\x18resourceEnrollmentStatus\"\x89\x07\n\x0b\x41uditReport\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12H\n\x0ereport_summary\x18\x02 \x01(\x0b\x32+.google.cloud.auditmanager.v1.ReportSummaryB\x03\xe0\x41\x03\x12\x19\n\x0coperation_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12R\n\x13\x64\x65stination_details\x18\x04 \x01(\x0b\x32\x30.google.cloud.auditmanager.v1.DestinationDetailsB\x03\xe0\x41\x03\x12 \n\x13\x63ompliance_standard\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05scope\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12J\n\x0f\x63ontrol_details\x18\x08 \x03(\x0b\x32,.google.cloud.auditmanager.v1.ControlDetailsB\x03\xe0\x41\x03\x12\x65\n\x17report_generation_state\x18\t \x01(\x0e\x32?.google.cloud.auditmanager.v1.AuditReport.ReportGenerationStateB\x03\xe0\x41\x03\x12!\n\x14\x63ompliance_framework\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08scope_id\x18\x0b \x01(\tB\x03\xe0\x41\x03\"\x81\x01\n\x15ReportGenerationState\x12\'\n#REPORT_GENERATION_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x13\n\x0fSUMMARY_UNKNOWN\x10\x04:\xd0\x01\xea\x41\xcc\x01\n\'auditmanager.googleapis.com/AuditReport\x12\x43projects/{project}/locations/{location}/auditReports/{audit_report}\x12\x41\x66olders/{folder}/locations/{location}/auditReports/{audit_report}*\x0c\x61uditReports2\x0b\x61uditReport\"8\n\rControlFamily\x12\x11\n\tfamily_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\"\xfb\x04\n\x07\x43ontrol\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x06\x66\x61mily\x18\x03 \x01(\x0e\x32,.google.cloud.auditmanager.v1.Control.FamilyB\x03\xe0\x41\x03\x12H\n\x0e\x63ontrol_family\x18\n \x01(\x0b\x32+.google.cloud.auditmanager.v1.ControlFamilyB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12 \n\x13responsibility_type\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12.\n!google_responsibility_description\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x31\n$google_responsibility_implementation\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x30\n#customer_responsibility_description\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x33\n&customer_responsibility_implementation\x18\t \x01(\tB\x03\xe0\x41\x03\"\xb0\x01\n\x06\x46\x61mily\x12\x16\n\x12\x46\x41MILY_UNSPECIFIED\x10\x00\x12\x06\n\x02\x41\x43\x10\x01\x12\x06\n\x02\x41T\x10\x02\x12\x06\n\x02\x41U\x10\x03\x12\x06\n\x02\x43\x41\x10\x04\x12\x06\n\x02\x43M\x10\x05\x12\x06\n\x02\x43P\x10\x06\x12\x06\n\x02IA\x10\x07\x12\x06\n\x02IR\x10\x08\x12\x06\n\x02MA\x10\t\x12\x06\n\x02MP\x10\n\x12\x06\n\x02PE\x10\x0b\x12\x06\n\x02PL\x10\x0c\x12\x06\n\x02PS\x10\r\x12\x06\n\x02RA\x10\x0e\x12\x06\n\x02SA\x10\x0f\x12\x06\n\x02SC\x10\x10\x12\x06\n\x02SI\x10\x11\x12\x06\n\x02SR\x10\x12\"=\n\x12\x44\x65stinationDetails\x12\x18\n\x0egcs_bucket_uri\x18\x01 \x01(\tH\x00\x42\r\n\x0b\x64\x65stination\"\x8f\x01\n\rReportSummary\x12\x13\n\x0btotal_count\x18\x01 \x01(\x05\x12\x17\n\x0f\x63ompliant_count\x18\x02 \x01(\x05\x12\x17\n\x0fviolation_count\x18\x03 \x01(\x05\x12\"\n\x1amanual_review_needed_count\x18\x04 \x01(\x05\x12\x13\n\x0b\x65rror_count\x18\x05 \x01(\x05\"\xe3\x01\n\x0e\x43ontrolDetails\x12\x36\n\x07\x63ontrol\x18\x01 \x01(\x0b\x32%.google.cloud.auditmanager.v1.Control\x12L\n\x10\x63ompliance_state\x18\x02 \x01(\x0e\x32-.google.cloud.auditmanager.v1.ComplianceStateB\x03\xe0\x41\x03\x12K\n\x16\x63ontrol_report_summary\x18\x03 \x01(\x0b\x32+.google.cloud.auditmanager.v1.ReportSummary*\xfb\x02\n\x0eOperationState\x12\x1f\n\x1bOPERATION_STATE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bOPERATION_STATE_NOT_STARTED\x10\n\x12*\n&OPERATION_STATE_EVALUATION_IN_PROGRESS\x10\x14\x12#\n\x1fOPERATION_STATE_EVALUATION_DONE\x10\x15\x12:\n6OPERATION_STATE_EVIDENCE_REPORT_GENERATION_IN_PROGRESS\x10\x1e\x12\x33\n/OPERATION_STATE_EVIDENCE_REPORT_GENERATION_DONE\x10\x1f\x12/\n+OPERATION_STATE_EVIDENCE_UPLOAD_IN_PROGRESS\x10(\x12\x18\n\x14OPERATION_STATE_DONE\x10\x32\x12\x1a\n\x16OPERATION_STATE_FAILED\x10<*\x8f\x01\n\x0f\x43omplianceState\x12 \n\x1c\x43OMPLIANCE_STATE_UNSPECIFIED\x10\x00\x12\r\n\tCOMPLIANT\x10\x01\x12\r\n\tVIOLATION\x10\x02\x12\x18\n\x14MANUAL_REVIEW_NEEDED\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x17\n\x13\x41UDIT_NOT_SUPPORTED\x10\x05\x32\xc0\x14\n\x0c\x41uditManager\x12\xb8\x02\n\x0e\x45nrollResource\x12\x33.google.cloud.auditmanager.v1.EnrollResourceRequest\x1a(.google.cloud.auditmanager.v1.Enrollment\"\xc6\x01\xda\x41\x12scope,destinations\x82\xd3\xe4\x93\x02\xaa\x01\"0/v1/{scope=folders/*/locations/*}:enrollResource:\x01*Z6\"1/v1/{scope=projects/*/locations/*}:enrollResource:\x01*Z;\"6/v1/{scope=organizations/*/locations/*}:enrollResource:\x01*\x12\xc2\x02\n\x18GenerateAuditScopeReport\x12=.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest\x1a..google.cloud.auditmanager.v1.AuditScopeReport\"\xb6\x01\xda\x41\'scope,compliance_standard,report_format\x82\xd3\xe4\x93\x02\x85\x01\"</v1/{scope=folders/*/locations/*}/auditScopeReports:generate:\x01*ZB\"=/v1/{scope=projects/*/locations/*}/auditScopeReports:generate:\x01*\x12\xc7\x02\n\x13GenerateAuditReport\x12\x38.google.cloud.auditmanager.v1.GenerateAuditReportRequest\x1a\x1d.google.longrunning.Operation\"\xd6\x01\xca\x41 \n\x0b\x41uditReport\x12\x11OperationMetadata\xda\x41/scope,gcs_uri,compliance_standard,report_format\x82\xd3\xe4\x93\x02{\"7/v1/{scope=folders/*/locations/*}/auditReports:generate:\x01*Z=\"8/v1/{scope=projects/*/locations/*}/auditReports:generate:\x01*\x12\xb2\x02\n\x10ListAuditReports\x12\x35.google.cloud.auditmanager.v1.ListAuditReportsRequest\x1a\x36.google.cloud.auditmanager.v1.ListAuditReportsResponse\"\xae\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x9e\x01\x12\x35/v1/{parent=organizations/*/locations/*}/auditReportsZ1\x12//v1/{parent=folders/*/locations/*}/auditReportsZ2\x12\x30/v1/{parent=projects/*/locations/*}/auditReports\x12\xe4\x01\n\x0eGetAuditReport\x12\x33.google.cloud.auditmanager.v1.GetAuditReportRequest\x1a).google.cloud.auditmanager.v1.AuditReport\"r\xda\x41\x04name\x82\xd3\xe4\x93\x02\x65\x12//v1/{name=folders/*/locations/*/auditReports/*}Z2\x12\x30/v1/{name=projects/*/locations/*/auditReports/*}\x12\xf0\x02\n\x1bGetResourceEnrollmentStatus\x12@.google.cloud.auditmanager.v1.GetResourceEnrollmentStatusRequest\x1a\x36.google.cloud.auditmanager.v1.ResourceEnrollmentStatus\"\xd6\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xc8\x01\x12>/v1/{name=projects/*/locations/*/resourceEnrollmentStatuses/*}Z?\x12=/v1/{name=folders/*/locations/*/resourceEnrollmentStatuses/*}ZE\x12\x43/v1/{name=organizations/*/locations/*/resourceEnrollmentStatuses/*}\x12\xc4\x02\n\x1eListResourceEnrollmentStatuses\x12\x43.google.cloud.auditmanager.v1.ListResourceEnrollmentStatusesRequest\x1a\x44.google.cloud.auditmanager.v1.ListResourceEnrollmentStatusesResponse\"\x96\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x86\x01\x12\x43/v1/{parent=organizations/*/locations/*}/resourceEnrollmentStatusesZ?\x12=/v1/{parent=folders/*/locations/*}/resourceEnrollmentStatuses\x12\xbe\x02\n\x0cListControls\x12\x31.google.cloud.auditmanager.v1.ListControlsRequest\x1a\x32.google.cloud.auditmanager.v1.ListControlsResponse\"\xc6\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xb6\x01\x12=/v1/{parent=organizations/*/locations/*/standards/*}/controlsZ9\x12\x37/v1/{parent=folders/*/locations/*/standards/*}/controlsZ:\x12\x38/v1/{parent=projects/*/locations/*/standards/*}/controls\x1aO\xca\x41\x1b\x61uditmanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x92\x06\n com.google.cloud.auditmanager.v1B\x0bV1mainProtoP\x01ZDcloud.google.com/go/auditmanager/apiv1/auditmanagerpb;auditmanagerpb\xaa\x02\x1cGoogle.Cloud.AuditManager.V1\xca\x02\x1cGoogle\\Cloud\\AuditManager\\V1\xea\x02\x1fGoogle::Cloud::AuditManager::V1\xea\x41S\n*auditmanager.googleapis.com/FolderLocation\x12%folders/{folder}/locations/{location}\xea\x41\x65\n0auditmanager.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}\xea\x41\xe8\x01\n$auditmanager.googleapis.com/Standard\x12<projects/{project}/locations/{location}/standards/{standard}\x12:folders/{folder}/locations/{location}/standards/{standard}\x12\x46organizations/{organization}/locations/{location}/standards/{standard}\xea\x41\x8d\x01\n1auditmanager.googleapis.com/EnrollmentStatusScope\x12%folders/{folder}/locations/{location}\x12\x31organizations/{organization}/locations/{location}b\x06proto3"
15
+ descriptor_data = "\n/google/cloud/auditmanager/v1/auditmanager.proto\x12\x1cgoogle.cloud.auditmanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xde\x01\n\x15\x45nrollResourceRequest\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x62\n\x0c\x64\x65stinations\x18\x02 \x03(\x0b\x32G.google.cloud.auditmanager.v1.EnrollResourceRequest.EligibleDestinationB\x03\xe0\x41\x02\x1aM\n\x13\x45ligibleDestination\x12\x1d\n\x13\x65ligible_gcs_bucket\x18\x03 \x01(\tH\x00\x42\x17\n\x15\x65ligible_destinations\"\xd6\x02\n\x1fGenerateAuditScopeReportRequest\x12\x12\n\x05scope\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\"\n\x13\x63ompliance_standard\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12p\n\rreport_format\x18\x04 \x01(\x0e\x32T.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.AuditScopeReportFormatB\x03\xe0\x41\x02\x12!\n\x14\x63ompliance_framework\x18\x05 \x01(\tB\x03\xe0\x41\x02\"f\n\x16\x41uditScopeReportFormat\x12)\n%AUDIT_SCOPE_REPORT_FORMAT_UNSPECIFIED\x10\x00\x12!\n\x1d\x41UDIT_SCOPE_REPORT_FORMAT_ODF\x10\x01\"\xf4\x02\n\x1aGenerateAuditReportRequest\x12\x11\n\x07gcs_uri\x18\x02 \x01(\tH\x00\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\"\n\x13\x63ompliance_standard\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12\x66\n\rreport_format\x18\x04 \x01(\x0e\x32J.google.cloud.auditmanager.v1.GenerateAuditReportRequest.AuditReportFormatB\x03\xe0\x41\x02\x12!\n\x14\x63ompliance_framework\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\"U\n\x11\x41uditReportFormat\x12#\n\x1f\x41UDIT_REPORT_FORMAT_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x41UDIT_REPORT_FORMAT_ODF\x10\x01\x42\r\n\x0b\x64\x65stination\"p\n\"GetResourceEnrollmentStatusRequest\x12J\n\x04name\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\n4auditmanager.googleapis.com/ResourceEnrollmentStatus\"\xa3\x01\n%ListResourceEnrollmentStatusesRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1auditmanager.googleapis.com/EnrollmentStatusScope\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa4\x01\n&ListResourceEnrollmentStatusesResponse\x12\\\n\x1cresource_enrollment_statuses\x18\x01 \x03(\x0b\x32\x36.google.cloud.auditmanager.v1.ResourceEnrollmentStatus\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\x8b\x01\n\x17ListAuditReportsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'auditmanager.googleapis.com/AuditReport\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x18ListAuditReportsResponse\x12\x45\n\raudit_reports\x18\x01 \x03(\x0b\x32).google.cloud.auditmanager.v1.AuditReportB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"V\n\x15GetAuditReportRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'auditmanager.googleapis.com/AuditReport\"\x84\x01\n\x13ListControlsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$auditmanager.googleapis.com/Standard\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"r\n\x14ListControlsResponse\x12<\n\x08\x63ontrols\x18\x01 \x03(\x0b\x32%.google.cloud.auditmanager.v1.ControlB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xe1\x02\n\x18ReportGenerationProgress\x12@\n\x05state\x18\x01 \x01(\x0e\x32,.google.cloud.auditmanager.v1.OperationStateB\x03\xe0\x41\x03\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12#\n\x1b\x65valuation_percent_complete\x18\x14 \x01(\x01\x12*\n\"report_generation_percent_complete\x18\x1e \x01(\x01\x12)\n!report_uploading_percent_complete\x18( \x01(\x01\x12#\n\x16\x64\x65stination_gcs_bucket\x18\x32 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x0c\x61udit_report\x18\x33 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'auditmanager.googleapis.com/AuditReport\"\x89\x03\n\nEnrollment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12R\n\x13\x64\x65stination_details\x18\x03 \x03(\x0b\x32\x30.google.cloud.auditmanager.v1.DestinationDetailsB\x03\xe0\x41\x03:\x93\x02\xea\x41\x8f\x02\n&auditmanager.googleapis.com/Enrollment\x12@projects/{project}/locations/{location}/enrollments/{enrollment}\x12>folders/{folder}/locations/{location}/enrollments/{enrollment}\x12Jorganizations/{organization}/locations/{location}/enrollments/{enrollment}*\x0b\x65nrollments2\nenrollment\"\xa8\x03\n\x10\x41uditScopeReport\x12\x1f\n\x15scope_report_contents\x18\x01 \x01(\x0cH\x00\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x08:\xcf\x02\xea\x41\xcb\x02\n,auditmanager.googleapis.com/AuditScopeReport\x12Nprojects/{project}/locations/{location}/auditScopeReports/{audit_scope_report}\x12Lfolders/{folder}/locations/{location}/auditScopeReports/{audit_scope_report}\x12Xorganizations/{organization}/locations/{location}/auditScopeReports/{audit_scope_report}*\x11\x61uditScopeReports2\x10\x61uditScopeReportB\x0e\n\x0c\x61udit_report\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xa6\x06\n\x18ResourceEnrollmentStatus\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x41\n\nenrollment\x18\x02 \x01(\x0b\x32(.google.cloud.auditmanager.v1.EnrollmentB\x03\xe0\x41\x03\x12\x17\n\x08\x65nrolled\x18\x03 \x01(\x08\x42\x05\x18\x01\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12m\n\x10\x65nrollment_state\x18\x05 \x01(\x0e\x32N.google.cloud.auditmanager.v1.ResourceEnrollmentStatus.ResourceEnrollmentStateB\x03\xe0\x41\x03\"s\n\x17ResourceEnrollmentState\x12)\n%RESOURCE_ENROLLMENT_STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cNOT_ENROLLED\x10\x01\x12\r\n\tINHERITED\x10\x02\x12\x0c\n\x08\x45NROLLED\x10\x03:\x9b\x03\xea\x41\x97\x03\n4auditmanager.googleapis.com/ResourceEnrollmentStatus\x12]folders/{folder}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}\x12_projects/{project}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}\x12iorganizations/{organization}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}*\x1aresourceEnrollmentStatuses2\x18resourceEnrollmentStatus\"\xda\x07\n\x0b\x41uditReport\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12H\n\x0ereport_summary\x18\x02 \x01(\x0b\x32+.google.cloud.auditmanager.v1.ReportSummaryB\x03\xe0\x41\x03\x12\x19\n\x0coperation_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12R\n\x13\x64\x65stination_details\x18\x04 \x01(\x0b\x32\x30.google.cloud.auditmanager.v1.DestinationDetailsB\x03\xe0\x41\x03\x12\"\n\x13\x63ompliance_standard\x18\x05 \x01(\tB\x05\x18\x01\xe0\x41\x03\x12\x12\n\x05scope\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12J\n\x0f\x63ontrol_details\x18\x08 \x03(\x0b\x32,.google.cloud.auditmanager.v1.ControlDetailsB\x03\xe0\x41\x03\x12\x65\n\x17report_generation_state\x18\t \x01(\x0e\x32?.google.cloud.auditmanager.v1.AuditReport.ReportGenerationStateB\x03\xe0\x41\x03\x12!\n\x14\x63ompliance_framework\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08scope_id\x18\x0b \x01(\tB\x03\xe0\x41\x03\"\x81\x01\n\x15ReportGenerationState\x12\'\n#REPORT_GENERATION_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x13\n\x0fSUMMARY_UNKNOWN\x10\x04:\x9f\x02\xea\x41\x9b\x02\n\'auditmanager.googleapis.com/AuditReport\x12\x43projects/{project}/locations/{location}/auditReports/{audit_report}\x12\x41\x66olders/{folder}/locations/{location}/auditReports/{audit_report}\x12Morganizations/{organization}/locations/{location}/auditReports/{audit_report}*\x0c\x61uditReports2\x0b\x61uditReport\"8\n\rControlFamily\x12\x11\n\tfamily_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\"\xfb\x04\n\x07\x43ontrol\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x06\x66\x61mily\x18\x03 \x01(\x0e\x32,.google.cloud.auditmanager.v1.Control.FamilyB\x03\xe0\x41\x03\x12H\n\x0e\x63ontrol_family\x18\n \x01(\x0b\x32+.google.cloud.auditmanager.v1.ControlFamilyB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12 \n\x13responsibility_type\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12.\n!google_responsibility_description\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x31\n$google_responsibility_implementation\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x30\n#customer_responsibility_description\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x33\n&customer_responsibility_implementation\x18\t \x01(\tB\x03\xe0\x41\x03\"\xb0\x01\n\x06\x46\x61mily\x12\x16\n\x12\x46\x41MILY_UNSPECIFIED\x10\x00\x12\x06\n\x02\x41\x43\x10\x01\x12\x06\n\x02\x41T\x10\x02\x12\x06\n\x02\x41U\x10\x03\x12\x06\n\x02\x43\x41\x10\x04\x12\x06\n\x02\x43M\x10\x05\x12\x06\n\x02\x43P\x10\x06\x12\x06\n\x02IA\x10\x07\x12\x06\n\x02IR\x10\x08\x12\x06\n\x02MA\x10\t\x12\x06\n\x02MP\x10\n\x12\x06\n\x02PE\x10\x0b\x12\x06\n\x02PL\x10\x0c\x12\x06\n\x02PS\x10\r\x12\x06\n\x02RA\x10\x0e\x12\x06\n\x02SA\x10\x0f\x12\x06\n\x02SC\x10\x10\x12\x06\n\x02SI\x10\x11\x12\x06\n\x02SR\x10\x12\"=\n\x12\x44\x65stinationDetails\x12\x18\n\x0egcs_bucket_uri\x18\x01 \x01(\tH\x00\x42\r\n\x0b\x64\x65stination\"\x8f\x01\n\rReportSummary\x12\x13\n\x0btotal_count\x18\x01 \x01(\x05\x12\x17\n\x0f\x63ompliant_count\x18\x02 \x01(\x05\x12\x17\n\x0fviolation_count\x18\x03 \x01(\x05\x12\"\n\x1amanual_review_needed_count\x18\x04 \x01(\x05\x12\x13\n\x0b\x65rror_count\x18\x05 \x01(\x05\"\xe3\x01\n\x0e\x43ontrolDetails\x12\x36\n\x07\x63ontrol\x18\x01 \x01(\x0b\x32%.google.cloud.auditmanager.v1.Control\x12L\n\x10\x63ompliance_state\x18\x02 \x01(\x0e\x32-.google.cloud.auditmanager.v1.ComplianceStateB\x03\xe0\x41\x03\x12K\n\x16\x63ontrol_report_summary\x18\x03 \x01(\x0b\x32+.google.cloud.auditmanager.v1.ReportSummary*\xfb\x02\n\x0eOperationState\x12\x1f\n\x1bOPERATION_STATE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bOPERATION_STATE_NOT_STARTED\x10\n\x12*\n&OPERATION_STATE_EVALUATION_IN_PROGRESS\x10\x14\x12#\n\x1fOPERATION_STATE_EVALUATION_DONE\x10\x15\x12:\n6OPERATION_STATE_EVIDENCE_REPORT_GENERATION_IN_PROGRESS\x10\x1e\x12\x33\n/OPERATION_STATE_EVIDENCE_REPORT_GENERATION_DONE\x10\x1f\x12/\n+OPERATION_STATE_EVIDENCE_UPLOAD_IN_PROGRESS\x10(\x12\x18\n\x14OPERATION_STATE_DONE\x10\x32\x12\x1a\n\x16OPERATION_STATE_FAILED\x10<*\x8f\x01\n\x0f\x43omplianceState\x12 \n\x1c\x43OMPLIANCE_STATE_UNSPECIFIED\x10\x00\x12\r\n\tCOMPLIANT\x10\x01\x12\r\n\tVIOLATION\x10\x02\x12\x18\n\x14MANUAL_REVIEW_NEEDED\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x17\n\x13\x41UDIT_NOT_SUPPORTED\x10\x05\x32\xbd\x16\n\x0c\x41uditManager\x12\xb8\x02\n\x0e\x45nrollResource\x12\x33.google.cloud.auditmanager.v1.EnrollResourceRequest\x1a(.google.cloud.auditmanager.v1.Enrollment\"\xc6\x01\xda\x41\x12scope,destinations\x82\xd3\xe4\x93\x02\xaa\x01\"0/v1/{scope=folders/*/locations/*}:enrollResource:\x01*Z6\"1/v1/{scope=projects/*/locations/*}:enrollResource:\x01*Z;\"6/v1/{scope=organizations/*/locations/*}:enrollResource:\x01*\x12\x8b\x03\n\x18GenerateAuditScopeReport\x12=.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest\x1a..google.cloud.auditmanager.v1.AuditScopeReport\"\xff\x01\xda\x41\'scope,compliance_standard,report_format\x82\xd3\xe4\x93\x02\xce\x01\"</v1/{scope=folders/*/locations/*}/auditScopeReports:generate:\x01*ZB\"=/v1/{scope=projects/*/locations/*}/auditScopeReports:generate:\x01*ZG\"B/v1/{scope=organizations/*/locations/*}/auditScopeReports:generate:\x01*\x12\x8c\x03\n\x13GenerateAuditReport\x12\x38.google.cloud.auditmanager.v1.GenerateAuditReportRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x02\xca\x41 \n\x0b\x41uditReport\x12\x11OperationMetadata\xda\x41/scope,gcs_uri,compliance_standard,report_format\x82\xd3\xe4\x93\x02\xbf\x01\"7/v1/{scope=folders/*/locations/*}/auditReports:generate:\x01*Z=\"8/v1/{scope=projects/*/locations/*}/auditReports:generate:\x01*ZB\"=/v1/{scope=organizations/*/locations/*}/auditReports:generate:\x01*\x12\xb2\x02\n\x10ListAuditReports\x12\x35.google.cloud.auditmanager.v1.ListAuditReportsRequest\x1a\x36.google.cloud.auditmanager.v1.ListAuditReportsResponse\"\xae\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x9e\x01\x12\x35/v1/{parent=organizations/*/locations/*}/auditReportsZ1\x12//v1/{parent=folders/*/locations/*}/auditReportsZ2\x12\x30/v1/{parent=projects/*/locations/*}/auditReports\x12\x9f\x02\n\x0eGetAuditReport\x12\x33.google.cloud.auditmanager.v1.GetAuditReportRequest\x1a).google.cloud.auditmanager.v1.AuditReport\"\xac\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x9e\x01\x12//v1/{name=folders/*/locations/*/auditReports/*}Z2\x12\x30/v1/{name=projects/*/locations/*/auditReports/*}Z7\x12\x35/v1/{name=organizations/*/locations/*/auditReports/*}\x12\xf0\x02\n\x1bGetResourceEnrollmentStatus\x12@.google.cloud.auditmanager.v1.GetResourceEnrollmentStatusRequest\x1a\x36.google.cloud.auditmanager.v1.ResourceEnrollmentStatus\"\xd6\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xc8\x01\x12>/v1/{name=projects/*/locations/*/resourceEnrollmentStatuses/*}Z?\x12=/v1/{name=folders/*/locations/*/resourceEnrollmentStatuses/*}ZE\x12\x43/v1/{name=organizations/*/locations/*/resourceEnrollmentStatuses/*}\x12\xc4\x02\n\x1eListResourceEnrollmentStatuses\x12\x43.google.cloud.auditmanager.v1.ListResourceEnrollmentStatusesRequest\x1a\x44.google.cloud.auditmanager.v1.ListResourceEnrollmentStatusesResponse\"\x96\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x86\x01\x12\x43/v1/{parent=organizations/*/locations/*}/resourceEnrollmentStatusesZ?\x12=/v1/{parent=folders/*/locations/*}/resourceEnrollmentStatuses\x12\xbe\x02\n\x0cListControls\x12\x31.google.cloud.auditmanager.v1.ListControlsRequest\x1a\x32.google.cloud.auditmanager.v1.ListControlsResponse\"\xc6\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xb6\x01\x12=/v1/{parent=organizations/*/locations/*/standards/*}/controlsZ9\x12\x37/v1/{parent=folders/*/locations/*/standards/*}/controlsZ:\x12\x38/v1/{parent=projects/*/locations/*/standards/*}/controls\x1a\x82\x01\xca\x41\x1b\x61uditmanager.googleapis.com\xd2\x41\x61https://www.googleapis.com/auth/cloud-auditmanager,https://www.googleapis.com/auth/cloud-platformB\x92\x06\n com.google.cloud.auditmanager.v1B\x0bV1mainProtoP\x01ZDcloud.google.com/go/auditmanager/apiv1/auditmanagerpb;auditmanagerpb\xaa\x02\x1cGoogle.Cloud.AuditManager.V1\xca\x02\x1cGoogle\\Cloud\\AuditManager\\V1\xea\x02\x1fGoogle::Cloud::AuditManager::V1\xea\x41S\n*auditmanager.googleapis.com/FolderLocation\x12%folders/{folder}/locations/{location}\xea\x41\x65\n0auditmanager.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}\xea\x41\xe8\x01\n$auditmanager.googleapis.com/Standard\x12<projects/{project}/locations/{location}/standards/{standard}\x12:folders/{folder}/locations/{location}/standards/{standard}\x12\x46organizations/{organization}/locations/{location}/standards/{standard}\xea\x41\x8d\x01\n1auditmanager.googleapis.com/EnrollmentStatusScope\x12%folders/{folder}/locations/{location}\x12\x31organizations/{organization}/locations/{location}b\x06proto3"
16
16
 
17
17
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
18
18
  pool.add_serialized_file(descriptor_data)
@@ -33,28 +33,37 @@ module Google
33
33
  self.unmarshal_class_method = :decode
34
34
  self.service_name = 'google.cloud.auditmanager.v1.AuditManager'
35
35
 
36
- # Enrolls the customer resource(folder/project/organization) to the audit
37
- # manager service by creating the audit managers Service Agent in customers
38
- # workload and granting required permissions to the Service Agent. Please
39
- # note that if enrollment request is made on the already enrolled workload
40
- # then enrollment is executed overriding the existing set of destinations.
36
+ # Adds your project, folder, or organization to Audit
37
+ # Manager. This method creates the Audit Manager service agent in your
38
+ # workload and grants required permissions to the service agent.
39
+ # If you make this request on a workload that's already enrolled,
40
+ # then this method overrides the existing set of destinations.
41
41
  rpc :EnrollResource, ::Google::Cloud::AuditManager::V1::EnrollResourceRequest, ::Google::Cloud::AuditManager::V1::Enrollment
42
- # Generates a demo report highlighting different responsibilities
43
- # (Google/Customer/ shared) required to be fulfilled for the customer's
44
- # workload to be compliant with the given standard.
42
+ # Generates an audit scope report for the given standard.
43
+ #
44
+ # The report includes the following:
45
+ #
46
+ # * The technical attributes and constraints that Audit Manager uses to
47
+ # verify your compliance with a framework.
48
+ # * A list of Google Cloud services and resources that are within the
49
+ # scope of the framework.
45
50
  rpc :GenerateAuditScopeReport, ::Google::Cloud::AuditManager::V1::GenerateAuditScopeReportRequest, ::Google::Cloud::AuditManager::V1::AuditScopeReport
46
- # Register the Audit Report generation requests and returns the OperationId
47
- # using which the customer can track the report generation progress.
51
+ # Registers audit report generation requests. This method returns the
52
+ # operation identifier that you can use to track the report generation
53
+ # progress.
48
54
  rpc :GenerateAuditReport, ::Google::Cloud::AuditManager::V1::GenerateAuditReportRequest, ::Google::Longrunning::Operation
49
- # Lists audit reports in the selected parent scope
55
+ # Lists the audit reports for the organization, folder, or project that you
56
+ # specify as the parent scope.
50
57
  rpc :ListAuditReports, ::Google::Cloud::AuditManager::V1::ListAuditReportsRequest, ::Google::Cloud::AuditManager::V1::ListAuditReportsResponse
51
- # Get the overall audit report
58
+ # Gets the full metadata and findings for an audit report.
52
59
  rpc :GetAuditReport, ::Google::Cloud::AuditManager::V1::GetAuditReportRequest, ::Google::Cloud::AuditManager::V1::AuditReport
53
- # Get a resource along with its enrollment status.
60
+ # Gets a resource and its enrollment status.
54
61
  rpc :GetResourceEnrollmentStatus, ::Google::Cloud::AuditManager::V1::GetResourceEnrollmentStatusRequest, ::Google::Cloud::AuditManager::V1::ResourceEnrollmentStatus
55
- # Fetches all resources under the parent along with their enrollment.
62
+ # Lists all the folders and projects in an organization or folder, along with
63
+ # their enrollments.
56
64
  rpc :ListResourceEnrollmentStatuses, ::Google::Cloud::AuditManager::V1::ListResourceEnrollmentStatusesRequest, ::Google::Cloud::AuditManager::V1::ListResourceEnrollmentStatusesResponse
57
- # Gets controls needed to be implemented to be compliant to a standard.
65
+ # Lists the controls that you must implement to become compliant to a
66
+ # regulatory standard.
58
67
  rpc :ListControls, ::Google::Cloud::AuditManager::V1::ListControlsRequest, ::Google::Cloud::AuditManager::V1::ListControlsResponse
59
68
  end
60
69