google-cloud-audit_manager-v1 1.1.1 → 1.2.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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/audit_manager/v1/audit_manager/client.rb +470 -5
- data/lib/google/cloud/audit_manager/v1/audit_manager/paths.rb +58 -0
- data/lib/google/cloud/audit_manager/v1/audit_manager/rest/client.rb +442 -5
- data/lib/google/cloud/audit_manager/v1/audit_manager/rest/service_stub.rb +306 -0
- data/lib/google/cloud/audit_manager/v1/version.rb +1 -1
- data/lib/google/cloud/auditmanager/v1/auditmanager_pb.rb +12 -1
- data/lib/google/cloud/auditmanager/v1/auditmanager_services_pb.rb +8 -0
- data/proto_docs/google/cloud/auditmanager/v1/auditmanager.rb +283 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- metadata +2 -1
|
@@ -73,6 +73,166 @@ module Google
|
|
|
73
73
|
stub ? @client_stub.stub_logger : @client_stub.logger
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
+
##
|
|
77
|
+
# Baseline implementation for the create_audit_schedule REST call
|
|
78
|
+
#
|
|
79
|
+
# @param request_pb [::Google::Cloud::AuditManager::V1::CreateAuditScheduleRequest]
|
|
80
|
+
# A request object representing the call parameters. Required.
|
|
81
|
+
# @param options [::Gapic::CallOptions]
|
|
82
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
83
|
+
#
|
|
84
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
85
|
+
# @yieldparam result [::Google::Cloud::AuditManager::V1::AuditSchedule]
|
|
86
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
87
|
+
#
|
|
88
|
+
# @return [::Google::Cloud::AuditManager::V1::AuditSchedule]
|
|
89
|
+
# A result object deserialized from the server's reply
|
|
90
|
+
def create_audit_schedule request_pb, options = nil
|
|
91
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
92
|
+
|
|
93
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_audit_schedule_request request_pb
|
|
94
|
+
query_string_params = if query_string_params.any?
|
|
95
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
96
|
+
else
|
|
97
|
+
{}
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
response = @client_stub.make_http_request(
|
|
101
|
+
verb,
|
|
102
|
+
uri: uri,
|
|
103
|
+
body: body || "",
|
|
104
|
+
params: query_string_params,
|
|
105
|
+
method_name: "create_audit_schedule",
|
|
106
|
+
options: options
|
|
107
|
+
)
|
|
108
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
109
|
+
result = ::Google::Cloud::AuditManager::V1::AuditSchedule.decode_json response.body, ignore_unknown_fields: true
|
|
110
|
+
catch :response do
|
|
111
|
+
yield result, operation if block_given?
|
|
112
|
+
result
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
##
|
|
117
|
+
# Baseline implementation for the update_audit_schedule REST call
|
|
118
|
+
#
|
|
119
|
+
# @param request_pb [::Google::Cloud::AuditManager::V1::UpdateAuditScheduleRequest]
|
|
120
|
+
# A request object representing the call parameters. Required.
|
|
121
|
+
# @param options [::Gapic::CallOptions]
|
|
122
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
123
|
+
#
|
|
124
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
125
|
+
# @yieldparam result [::Google::Cloud::AuditManager::V1::AuditSchedule]
|
|
126
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
127
|
+
#
|
|
128
|
+
# @return [::Google::Cloud::AuditManager::V1::AuditSchedule]
|
|
129
|
+
# A result object deserialized from the server's reply
|
|
130
|
+
def update_audit_schedule request_pb, options = nil
|
|
131
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
132
|
+
|
|
133
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_audit_schedule_request request_pb
|
|
134
|
+
query_string_params = if query_string_params.any?
|
|
135
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
136
|
+
else
|
|
137
|
+
{}
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
response = @client_stub.make_http_request(
|
|
141
|
+
verb,
|
|
142
|
+
uri: uri,
|
|
143
|
+
body: body || "",
|
|
144
|
+
params: query_string_params,
|
|
145
|
+
method_name: "update_audit_schedule",
|
|
146
|
+
options: options
|
|
147
|
+
)
|
|
148
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
149
|
+
result = ::Google::Cloud::AuditManager::V1::AuditSchedule.decode_json response.body, ignore_unknown_fields: true
|
|
150
|
+
catch :response do
|
|
151
|
+
yield result, operation if block_given?
|
|
152
|
+
result
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
##
|
|
157
|
+
# Baseline implementation for the get_audit_schedule REST call
|
|
158
|
+
#
|
|
159
|
+
# @param request_pb [::Google::Cloud::AuditManager::V1::GetAuditScheduleRequest]
|
|
160
|
+
# A request object representing the call parameters. Required.
|
|
161
|
+
# @param options [::Gapic::CallOptions]
|
|
162
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
163
|
+
#
|
|
164
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
165
|
+
# @yieldparam result [::Google::Cloud::AuditManager::V1::AuditSchedule]
|
|
166
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
167
|
+
#
|
|
168
|
+
# @return [::Google::Cloud::AuditManager::V1::AuditSchedule]
|
|
169
|
+
# A result object deserialized from the server's reply
|
|
170
|
+
def get_audit_schedule request_pb, options = nil
|
|
171
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
172
|
+
|
|
173
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_audit_schedule_request request_pb
|
|
174
|
+
query_string_params = if query_string_params.any?
|
|
175
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
176
|
+
else
|
|
177
|
+
{}
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
response = @client_stub.make_http_request(
|
|
181
|
+
verb,
|
|
182
|
+
uri: uri,
|
|
183
|
+
body: body || "",
|
|
184
|
+
params: query_string_params,
|
|
185
|
+
method_name: "get_audit_schedule",
|
|
186
|
+
options: options
|
|
187
|
+
)
|
|
188
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
189
|
+
result = ::Google::Cloud::AuditManager::V1::AuditSchedule.decode_json response.body, ignore_unknown_fields: true
|
|
190
|
+
catch :response do
|
|
191
|
+
yield result, operation if block_given?
|
|
192
|
+
result
|
|
193
|
+
end
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
##
|
|
197
|
+
# Baseline implementation for the list_audit_schedules REST call
|
|
198
|
+
#
|
|
199
|
+
# @param request_pb [::Google::Cloud::AuditManager::V1::ListAuditSchedulesRequest]
|
|
200
|
+
# A request object representing the call parameters. Required.
|
|
201
|
+
# @param options [::Gapic::CallOptions]
|
|
202
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
203
|
+
#
|
|
204
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
205
|
+
# @yieldparam result [::Google::Cloud::AuditManager::V1::ListAuditSchedulesResponse]
|
|
206
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
207
|
+
#
|
|
208
|
+
# @return [::Google::Cloud::AuditManager::V1::ListAuditSchedulesResponse]
|
|
209
|
+
# A result object deserialized from the server's reply
|
|
210
|
+
def list_audit_schedules request_pb, options = nil
|
|
211
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
212
|
+
|
|
213
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_audit_schedules_request request_pb
|
|
214
|
+
query_string_params = if query_string_params.any?
|
|
215
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
216
|
+
else
|
|
217
|
+
{}
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
response = @client_stub.make_http_request(
|
|
221
|
+
verb,
|
|
222
|
+
uri: uri,
|
|
223
|
+
body: body || "",
|
|
224
|
+
params: query_string_params,
|
|
225
|
+
method_name: "list_audit_schedules",
|
|
226
|
+
options: options
|
|
227
|
+
)
|
|
228
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
229
|
+
result = ::Google::Cloud::AuditManager::V1::ListAuditSchedulesResponse.decode_json response.body, ignore_unknown_fields: true
|
|
230
|
+
catch :response do
|
|
231
|
+
yield result, operation if block_given?
|
|
232
|
+
result
|
|
233
|
+
end
|
|
234
|
+
end
|
|
235
|
+
|
|
76
236
|
##
|
|
77
237
|
# Baseline implementation for the enroll_resource REST call
|
|
78
238
|
#
|
|
@@ -393,6 +553,152 @@ module Google
|
|
|
393
553
|
end
|
|
394
554
|
end
|
|
395
555
|
|
|
556
|
+
##
|
|
557
|
+
# @private
|
|
558
|
+
#
|
|
559
|
+
# GRPC transcoding helper method for the create_audit_schedule REST call
|
|
560
|
+
#
|
|
561
|
+
# @param request_pb [::Google::Cloud::AuditManager::V1::CreateAuditScheduleRequest]
|
|
562
|
+
# A request object representing the call parameters. Required.
|
|
563
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
564
|
+
# Uri, Body, Query string parameters
|
|
565
|
+
def self.transcode_create_audit_schedule_request request_pb
|
|
566
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
567
|
+
.with_bindings(
|
|
568
|
+
uri_method: :post,
|
|
569
|
+
uri_template: "/v1/{parent}/auditSchedules",
|
|
570
|
+
body: "audit_schedule",
|
|
571
|
+
matches: [
|
|
572
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
573
|
+
]
|
|
574
|
+
)
|
|
575
|
+
.with_bindings(
|
|
576
|
+
uri_method: :post,
|
|
577
|
+
uri_template: "/v1/{parent}/auditSchedules",
|
|
578
|
+
body: "audit_schedule",
|
|
579
|
+
matches: [
|
|
580
|
+
["parent", %r{^folders/[^/]+/locations/[^/]+/?$}, false]
|
|
581
|
+
]
|
|
582
|
+
)
|
|
583
|
+
.with_bindings(
|
|
584
|
+
uri_method: :post,
|
|
585
|
+
uri_template: "/v1/{parent}/auditSchedules",
|
|
586
|
+
body: "audit_schedule",
|
|
587
|
+
matches: [
|
|
588
|
+
["parent", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
|
|
589
|
+
]
|
|
590
|
+
)
|
|
591
|
+
transcoder.transcode request_pb
|
|
592
|
+
end
|
|
593
|
+
|
|
594
|
+
##
|
|
595
|
+
# @private
|
|
596
|
+
#
|
|
597
|
+
# GRPC transcoding helper method for the update_audit_schedule REST call
|
|
598
|
+
#
|
|
599
|
+
# @param request_pb [::Google::Cloud::AuditManager::V1::UpdateAuditScheduleRequest]
|
|
600
|
+
# A request object representing the call parameters. Required.
|
|
601
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
602
|
+
# Uri, Body, Query string parameters
|
|
603
|
+
def self.transcode_update_audit_schedule_request request_pb
|
|
604
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
605
|
+
.with_bindings(
|
|
606
|
+
uri_method: :patch,
|
|
607
|
+
uri_template: "/v1/{audit_schedule.name}",
|
|
608
|
+
body: "audit_schedule",
|
|
609
|
+
matches: [
|
|
610
|
+
["audit_schedule.name", %r{^projects/[^/]+/locations/[^/]+/auditSchedules/[^/]+/?$}, false]
|
|
611
|
+
]
|
|
612
|
+
)
|
|
613
|
+
.with_bindings(
|
|
614
|
+
uri_method: :patch,
|
|
615
|
+
uri_template: "/v1/{audit_schedule.name}",
|
|
616
|
+
body: "audit_schedule",
|
|
617
|
+
matches: [
|
|
618
|
+
["audit_schedule.name", %r{^folders/[^/]+/locations/[^/]+/auditSchedules/[^/]+/?$}, false]
|
|
619
|
+
]
|
|
620
|
+
)
|
|
621
|
+
.with_bindings(
|
|
622
|
+
uri_method: :patch,
|
|
623
|
+
uri_template: "/v1/{audit_schedule.name}",
|
|
624
|
+
body: "audit_schedule",
|
|
625
|
+
matches: [
|
|
626
|
+
["audit_schedule.name", %r{^organizations/[^/]+/locations/[^/]+/auditSchedules/[^/]+/?$}, false]
|
|
627
|
+
]
|
|
628
|
+
)
|
|
629
|
+
transcoder.transcode request_pb
|
|
630
|
+
end
|
|
631
|
+
|
|
632
|
+
##
|
|
633
|
+
# @private
|
|
634
|
+
#
|
|
635
|
+
# GRPC transcoding helper method for the get_audit_schedule REST call
|
|
636
|
+
#
|
|
637
|
+
# @param request_pb [::Google::Cloud::AuditManager::V1::GetAuditScheduleRequest]
|
|
638
|
+
# A request object representing the call parameters. Required.
|
|
639
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
640
|
+
# Uri, Body, Query string parameters
|
|
641
|
+
def self.transcode_get_audit_schedule_request request_pb
|
|
642
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
643
|
+
.with_bindings(
|
|
644
|
+
uri_method: :get,
|
|
645
|
+
uri_template: "/v1/{name}",
|
|
646
|
+
matches: [
|
|
647
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/auditSchedules/[^/]+/?$}, false]
|
|
648
|
+
]
|
|
649
|
+
)
|
|
650
|
+
.with_bindings(
|
|
651
|
+
uri_method: :get,
|
|
652
|
+
uri_template: "/v1/{name}",
|
|
653
|
+
matches: [
|
|
654
|
+
["name", %r{^folders/[^/]+/locations/[^/]+/auditSchedules/[^/]+/?$}, false]
|
|
655
|
+
]
|
|
656
|
+
)
|
|
657
|
+
.with_bindings(
|
|
658
|
+
uri_method: :get,
|
|
659
|
+
uri_template: "/v1/{name}",
|
|
660
|
+
matches: [
|
|
661
|
+
["name", %r{^organizations/[^/]+/locations/[^/]+/auditSchedules/[^/]+/?$}, false]
|
|
662
|
+
]
|
|
663
|
+
)
|
|
664
|
+
transcoder.transcode request_pb
|
|
665
|
+
end
|
|
666
|
+
|
|
667
|
+
##
|
|
668
|
+
# @private
|
|
669
|
+
#
|
|
670
|
+
# GRPC transcoding helper method for the list_audit_schedules REST call
|
|
671
|
+
#
|
|
672
|
+
# @param request_pb [::Google::Cloud::AuditManager::V1::ListAuditSchedulesRequest]
|
|
673
|
+
# A request object representing the call parameters. Required.
|
|
674
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
675
|
+
# Uri, Body, Query string parameters
|
|
676
|
+
def self.transcode_list_audit_schedules_request request_pb
|
|
677
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
678
|
+
.with_bindings(
|
|
679
|
+
uri_method: :get,
|
|
680
|
+
uri_template: "/v1/{parent}/auditSchedules",
|
|
681
|
+
matches: [
|
|
682
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
683
|
+
]
|
|
684
|
+
)
|
|
685
|
+
.with_bindings(
|
|
686
|
+
uri_method: :get,
|
|
687
|
+
uri_template: "/v1/{parent}/auditSchedules",
|
|
688
|
+
matches: [
|
|
689
|
+
["parent", %r{^folders/[^/]+/locations/[^/]+/?$}, false]
|
|
690
|
+
]
|
|
691
|
+
)
|
|
692
|
+
.with_bindings(
|
|
693
|
+
uri_method: :get,
|
|
694
|
+
uri_template: "/v1/{parent}/auditSchedules",
|
|
695
|
+
matches: [
|
|
696
|
+
["parent", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
|
|
697
|
+
]
|
|
698
|
+
)
|
|
699
|
+
transcoder.transcode request_pb
|
|
700
|
+
end
|
|
701
|
+
|
|
396
702
|
##
|
|
397
703
|
# @private
|
|
398
704
|
#
|
|
@@ -9,10 +9,11 @@ require 'google/api/client_pb'
|
|
|
9
9
|
require 'google/api/field_behavior_pb'
|
|
10
10
|
require 'google/api/resource_pb'
|
|
11
11
|
require 'google/longrunning/operations_pb'
|
|
12
|
+
require 'google/protobuf/field_mask_pb'
|
|
12
13
|
require 'google/protobuf/timestamp_pb'
|
|
13
14
|
|
|
14
15
|
|
|
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
|
+
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 google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfa\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\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x1aM\n\x13\x45ligibleDestination\x12\x1d\n\x13\x65ligible_gcs_bucket\x18\x03 \x01(\tH\x00\x42\x17\n\x15\x65ligible_destinations\"\xf2\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\x12\x1a\n\rvalidate_only\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"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\"\xe5\x01\n\x1a\x43reateAuditScheduleRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)auditmanager.googleapis.com/AuditSchedule\x12H\n\x0e\x61udit_schedule\x18\x02 \x01(\x0b\x32+.google.cloud.auditmanager.v1.AuditScheduleB\x03\xe0\x41\x02\x12\x1e\n\x11\x61udit_schedule_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xb8\x01\n\x1aUpdateAuditScheduleRequest\x12H\n\x0e\x61udit_schedule\x18\x01 \x01(\x0b\x32+.google.cloud.auditmanager.v1.AuditScheduleB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"Z\n\x17GetAuditScheduleRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)auditmanager.googleapis.com/AuditSchedule\"\x8f\x01\n\x19ListAuditSchedulesRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)auditmanager.googleapis.com/AuditSchedule\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\"\x90\x01\n\x1aListAuditSchedulesResponse\x12\x44\n\x0f\x61udit_schedules\x18\x01 \x03(\x0b\x32+.google.cloud.auditmanager.v1.AuditSchedule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xe5\x07\n\rAuditSchedule\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07gcs_uri\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12!\n\x14\x63ompliance_framework\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12Y\n\rreport_format\x18\x05 \x01(\x0e\x32=.google.cloud.auditmanager.v1.AuditSchedule.AuditReportFormatB\x03\xe0\x41\x02\x12J\n\x0fschedule_config\x18\x06 \x01(\x0b\x32,.google.cloud.auditmanager.v1.ScheduleConfigB\x03\xe0\x41\x02\x12?\n\x05state\x18\x07 \x01(\x0e\x32+.google.cloud.auditmanager.v1.ScheduleStateB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\rnext_run_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x11last_trigger_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1a\n\rerror_message\x18\r \x01(\tB\x03\xe0\x41\x03\"U\n\x11\x41uditReportFormat\x12#\n\x1f\x41UDIT_REPORT_FORMAT_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x41UDIT_REPORT_FORMAT_ODF\x10\x01:\xb1\x02\xea\x41\xad\x02\n)auditmanager.googleapis.com/AuditSchedule\x12Gprojects/{project}/locations/{location}/auditSchedules/{audit_schedule}\x12\x45\x66olders/{folder}/locations/{location}/auditSchedules/{audit_schedule}\x12Qorganizations/{organization}/locations/{location}/auditSchedules/{audit_schedule}*\x0e\x61uditSchedules2\rauditSchedule\"\xc9\x02\n\x0eScheduleConfig\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12N\n\tfrequency\x18\x03 \x01(\x0e\x32\x36.google.cloud.auditmanager.v1.ScheduleConfig.FrequencyB\x03\xe0\x41\x02\x12\x16\n\ttime_zone\x18\x04 \x01(\tB\x03\xe0\x41\x01\"g\n\tFrequency\x12\x19\n\x15\x46REQUENCY_UNSPECIFIED\x10\x00\x12\t\n\x05\x44\x41ILY\x10\x01\x12\n\n\x06WEEKLY\x10\x02\x12\x0b\n\x07MONTHLY\x10\x03\x12\r\n\tQUARTERLY\x10\x04\x12\x0c\n\x08\x41NNUALLY\x10\x05*\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*\xda\x01\n\rScheduleState\x12\x1e\n\x1aSCHEDULE_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15SCHEDULE_STATE_ACTIVE\x10\x01\x12\x19\n\x15SCHEDULE_STATE_PAUSED\x10\x02\x12\x1c\n\x18SCHEDULE_STATE_COMPLETED\x10\x03\x12\x1f\n\x1bSCHEDULE_STATE_FAILED_SETUP\x10\x04\x12\x18\n\x14SCHEDULE_STATE_ERROR\x10\x05\x12\x1a\n\x16SCHEDULE_STATE_DELETED\x10\x06\x32\xda!\n\x0c\x41uditManager\x12\x84\x03\n\x13\x43reateAuditSchedule\x12\x38.google.cloud.auditmanager.v1.CreateAuditScheduleRequest\x1a+.google.cloud.auditmanager.v1.AuditSchedule\"\x85\x02\xda\x41\'parent,audit_schedule,audit_schedule_id\x82\xd3\xe4\x93\x02\xd4\x01\"2/v1/{parent=projects/*/locations/*}/auditSchedules:\x0e\x61udit_scheduleZC\"1/v1/{parent=folders/*/locations/*}/auditSchedules:\x0e\x61udit_scheduleZI\"7/v1/{parent=organizations/*/locations/*}/auditSchedules:\x0e\x61udit_schedule\x12\xa4\x03\n\x13UpdateAuditSchedule\x12\x38.google.cloud.auditmanager.v1.UpdateAuditScheduleRequest\x1a+.google.cloud.auditmanager.v1.AuditSchedule\"\xa5\x02\xda\x41\x1a\x61udit_schedule,update_mask\x82\xd3\xe4\x93\x02\x81\x02\x32\x41/v1/{audit_schedule.name=projects/*/locations/*/auditSchedules/*}:\x0e\x61udit_scheduleZR2@/v1/{audit_schedule.name=folders/*/locations/*/auditSchedules/*}:\x0e\x61udit_scheduleZX2F/v1/{audit_schedule.name=organizations/*/locations/*/auditSchedules/*}:\x0e\x61udit_schedule\x12\xab\x02\n\x10GetAuditSchedule\x12\x35.google.cloud.auditmanager.v1.GetAuditScheduleRequest\x1a+.google.cloud.auditmanager.v1.AuditSchedule\"\xb2\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xa4\x01\x12\x32/v1/{name=projects/*/locations/*/auditSchedules/*}Z3\x12\x31/v1/{name=folders/*/locations/*/auditSchedules/*}Z9\x12\x37/v1/{name=organizations/*/locations/*/auditSchedules/*}\x12\xbe\x02\n\x12ListAuditSchedules\x12\x37.google.cloud.auditmanager.v1.ListAuditSchedulesRequest\x1a\x38.google.cloud.auditmanager.v1.ListAuditSchedulesResponse\"\xb4\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xa4\x01\x12\x32/v1/{parent=projects/*/locations/*}/auditSchedulesZ3\x12\x31/v1/{parent=folders/*/locations/*}/auditSchedulesZ9\x12\x37/v1/{parent=organizations/*/locations/*}/auditSchedules\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
17
|
|
|
17
18
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
18
19
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -49,8 +50,18 @@ module Google
|
|
|
49
50
|
DestinationDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.DestinationDetails").msgclass
|
|
50
51
|
ReportSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.ReportSummary").msgclass
|
|
51
52
|
ControlDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.ControlDetails").msgclass
|
|
53
|
+
CreateAuditScheduleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.CreateAuditScheduleRequest").msgclass
|
|
54
|
+
UpdateAuditScheduleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.UpdateAuditScheduleRequest").msgclass
|
|
55
|
+
GetAuditScheduleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.GetAuditScheduleRequest").msgclass
|
|
56
|
+
ListAuditSchedulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.ListAuditSchedulesRequest").msgclass
|
|
57
|
+
ListAuditSchedulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.ListAuditSchedulesResponse").msgclass
|
|
58
|
+
AuditSchedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.AuditSchedule").msgclass
|
|
59
|
+
AuditSchedule::AuditReportFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.AuditSchedule.AuditReportFormat").enummodule
|
|
60
|
+
ScheduleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.ScheduleConfig").msgclass
|
|
61
|
+
ScheduleConfig::Frequency = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.ScheduleConfig.Frequency").enummodule
|
|
52
62
|
OperationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.OperationState").enummodule
|
|
53
63
|
ComplianceState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.ComplianceState").enummodule
|
|
64
|
+
ScheduleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.auditmanager.v1.ScheduleState").enummodule
|
|
54
65
|
end
|
|
55
66
|
end
|
|
56
67
|
end
|
|
@@ -33,6 +33,14 @@ module Google
|
|
|
33
33
|
self.unmarshal_class_method = :decode
|
|
34
34
|
self.service_name = 'google.cloud.auditmanager.v1.AuditManager'
|
|
35
35
|
|
|
36
|
+
# Creates a new audit schedule in a given project and location.
|
|
37
|
+
rpc :CreateAuditSchedule, ::Google::Cloud::AuditManager::V1::CreateAuditScheduleRequest, ::Google::Cloud::AuditManager::V1::AuditSchedule
|
|
38
|
+
# Updates an existing audit schedule.
|
|
39
|
+
rpc :UpdateAuditSchedule, ::Google::Cloud::AuditManager::V1::UpdateAuditScheduleRequest, ::Google::Cloud::AuditManager::V1::AuditSchedule
|
|
40
|
+
# Gets details of a single audit schedule.
|
|
41
|
+
rpc :GetAuditSchedule, ::Google::Cloud::AuditManager::V1::GetAuditScheduleRequest, ::Google::Cloud::AuditManager::V1::AuditSchedule
|
|
42
|
+
# Lists audit schedules in a given project and location.
|
|
43
|
+
rpc :ListAuditSchedules, ::Google::Cloud::AuditManager::V1::ListAuditSchedulesRequest, ::Google::Cloud::AuditManager::V1::ListAuditSchedulesResponse
|
|
36
44
|
# Adds your project, folder, or organization to Audit
|
|
37
45
|
# Manager. This method creates the Audit Manager service agent in your
|
|
38
46
|
# workload and grants required permissions to the service agent.
|