google-cloud-asset-v1 0.24.0 → 0.26.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 +1 -1
- data/lib/google/cloud/asset/v1/asset_service/client.rb +26 -9
- data/lib/google/cloud/asset/v1/asset_service/operations.rb +5 -3
- data/lib/google/cloud/asset/v1/asset_service/rest/client.rb +26 -9
- data/lib/google/cloud/asset/v1/asset_service/rest/operations.rb +9 -7
- data/lib/google/cloud/asset/v1/asset_service/rest/service_stub.rb +23 -23
- data/lib/google/cloud/asset/v1/asset_service_pb.rb +32 -485
- data/lib/google/cloud/asset/v1/assets_pb.rb +32 -166
- data/lib/google/cloud/asset/v1/version.rb +1 -1
- data/lib/google/cloud/orgpolicy/v1/orgpolicy_pb.rb +25 -29
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/asset/v1/asset_service.rb +15 -15
- data/proto_docs/google/cloud/asset/v1/assets.rb +1 -1
- data/proto_docs/google/iam/v1/policy.rb +8 -4
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/asset/v1/asset_service.proto
|
3
4
|
|
@@ -18,493 +19,39 @@ require 'google/protobuf/timestamp_pb'
|
|
18
19
|
require 'google/rpc/status_pb'
|
19
20
|
require 'google/type/expr_pb'
|
20
21
|
|
21
|
-
|
22
|
-
add_file("google/cloud/asset/v1/asset_service.proto", :syntax => :proto3) do
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
repeated :assets, :message, 2, "google.cloud.asset.v1.Asset"
|
51
|
-
optional :next_page_token, :string, 3
|
52
|
-
end
|
53
|
-
add_message "google.cloud.asset.v1.BatchGetAssetsHistoryRequest" do
|
54
|
-
optional :parent, :string, 1
|
55
|
-
repeated :asset_names, :string, 2
|
56
|
-
optional :content_type, :enum, 3, "google.cloud.asset.v1.ContentType"
|
57
|
-
optional :read_time_window, :message, 4, "google.cloud.asset.v1.TimeWindow"
|
58
|
-
repeated :relationship_types, :string, 5
|
59
|
-
end
|
60
|
-
add_message "google.cloud.asset.v1.BatchGetAssetsHistoryResponse" do
|
61
|
-
repeated :assets, :message, 1, "google.cloud.asset.v1.TemporalAsset"
|
62
|
-
end
|
63
|
-
add_message "google.cloud.asset.v1.CreateFeedRequest" do
|
64
|
-
optional :parent, :string, 1
|
65
|
-
optional :feed_id, :string, 2
|
66
|
-
optional :feed, :message, 3, "google.cloud.asset.v1.Feed"
|
67
|
-
end
|
68
|
-
add_message "google.cloud.asset.v1.GetFeedRequest" do
|
69
|
-
optional :name, :string, 1
|
70
|
-
end
|
71
|
-
add_message "google.cloud.asset.v1.ListFeedsRequest" do
|
72
|
-
optional :parent, :string, 1
|
73
|
-
end
|
74
|
-
add_message "google.cloud.asset.v1.ListFeedsResponse" do
|
75
|
-
repeated :feeds, :message, 1, "google.cloud.asset.v1.Feed"
|
76
|
-
end
|
77
|
-
add_message "google.cloud.asset.v1.UpdateFeedRequest" do
|
78
|
-
optional :feed, :message, 1, "google.cloud.asset.v1.Feed"
|
79
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
80
|
-
end
|
81
|
-
add_message "google.cloud.asset.v1.DeleteFeedRequest" do
|
82
|
-
optional :name, :string, 1
|
83
|
-
end
|
84
|
-
add_message "google.cloud.asset.v1.OutputConfig" do
|
85
|
-
oneof :destination do
|
86
|
-
optional :gcs_destination, :message, 1, "google.cloud.asset.v1.GcsDestination"
|
87
|
-
optional :bigquery_destination, :message, 2, "google.cloud.asset.v1.BigQueryDestination"
|
88
|
-
end
|
89
|
-
end
|
90
|
-
add_message "google.cloud.asset.v1.OutputResult" do
|
91
|
-
oneof :result do
|
92
|
-
optional :gcs_result, :message, 1, "google.cloud.asset.v1.GcsOutputResult"
|
93
|
-
end
|
94
|
-
end
|
95
|
-
add_message "google.cloud.asset.v1.GcsOutputResult" do
|
96
|
-
repeated :uris, :string, 1
|
97
|
-
end
|
98
|
-
add_message "google.cloud.asset.v1.GcsDestination" do
|
99
|
-
oneof :object_uri do
|
100
|
-
optional :uri, :string, 1
|
101
|
-
optional :uri_prefix, :string, 2
|
102
|
-
end
|
103
|
-
end
|
104
|
-
add_message "google.cloud.asset.v1.BigQueryDestination" do
|
105
|
-
optional :dataset, :string, 1
|
106
|
-
optional :table, :string, 2
|
107
|
-
optional :force, :bool, 3
|
108
|
-
optional :partition_spec, :message, 4, "google.cloud.asset.v1.PartitionSpec"
|
109
|
-
optional :separate_tables_per_asset_type, :bool, 5
|
110
|
-
end
|
111
|
-
add_message "google.cloud.asset.v1.PartitionSpec" do
|
112
|
-
optional :partition_key, :enum, 1, "google.cloud.asset.v1.PartitionSpec.PartitionKey"
|
113
|
-
end
|
114
|
-
add_enum "google.cloud.asset.v1.PartitionSpec.PartitionKey" do
|
115
|
-
value :PARTITION_KEY_UNSPECIFIED, 0
|
116
|
-
value :READ_TIME, 1
|
117
|
-
value :REQUEST_TIME, 2
|
118
|
-
end
|
119
|
-
add_message "google.cloud.asset.v1.PubsubDestination" do
|
120
|
-
optional :topic, :string, 1
|
121
|
-
end
|
122
|
-
add_message "google.cloud.asset.v1.FeedOutputConfig" do
|
123
|
-
oneof :destination do
|
124
|
-
optional :pubsub_destination, :message, 1, "google.cloud.asset.v1.PubsubDestination"
|
125
|
-
end
|
126
|
-
end
|
127
|
-
add_message "google.cloud.asset.v1.Feed" do
|
128
|
-
optional :name, :string, 1
|
129
|
-
repeated :asset_names, :string, 2
|
130
|
-
repeated :asset_types, :string, 3
|
131
|
-
optional :content_type, :enum, 4, "google.cloud.asset.v1.ContentType"
|
132
|
-
optional :feed_output_config, :message, 5, "google.cloud.asset.v1.FeedOutputConfig"
|
133
|
-
optional :condition, :message, 6, "google.type.Expr"
|
134
|
-
repeated :relationship_types, :string, 7
|
135
|
-
end
|
136
|
-
add_message "google.cloud.asset.v1.SearchAllResourcesRequest" do
|
137
|
-
optional :scope, :string, 1
|
138
|
-
optional :query, :string, 2
|
139
|
-
repeated :asset_types, :string, 3
|
140
|
-
optional :page_size, :int32, 4
|
141
|
-
optional :page_token, :string, 5
|
142
|
-
optional :order_by, :string, 6
|
143
|
-
optional :read_mask, :message, 8, "google.protobuf.FieldMask"
|
144
|
-
end
|
145
|
-
add_message "google.cloud.asset.v1.SearchAllResourcesResponse" do
|
146
|
-
repeated :results, :message, 1, "google.cloud.asset.v1.ResourceSearchResult"
|
147
|
-
optional :next_page_token, :string, 2
|
148
|
-
end
|
149
|
-
add_message "google.cloud.asset.v1.SearchAllIamPoliciesRequest" do
|
150
|
-
optional :scope, :string, 1
|
151
|
-
optional :query, :string, 2
|
152
|
-
optional :page_size, :int32, 3
|
153
|
-
optional :page_token, :string, 4
|
154
|
-
repeated :asset_types, :string, 5
|
155
|
-
optional :order_by, :string, 7
|
156
|
-
end
|
157
|
-
add_message "google.cloud.asset.v1.SearchAllIamPoliciesResponse" do
|
158
|
-
repeated :results, :message, 1, "google.cloud.asset.v1.IamPolicySearchResult"
|
159
|
-
optional :next_page_token, :string, 2
|
160
|
-
end
|
161
|
-
add_message "google.cloud.asset.v1.IamPolicyAnalysisQuery" do
|
162
|
-
optional :scope, :string, 1
|
163
|
-
optional :resource_selector, :message, 2, "google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector"
|
164
|
-
optional :identity_selector, :message, 3, "google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector"
|
165
|
-
optional :access_selector, :message, 4, "google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector"
|
166
|
-
optional :options, :message, 5, "google.cloud.asset.v1.IamPolicyAnalysisQuery.Options"
|
167
|
-
optional :condition_context, :message, 6, "google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext"
|
168
|
-
end
|
169
|
-
add_message "google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector" do
|
170
|
-
optional :full_resource_name, :string, 1
|
171
|
-
end
|
172
|
-
add_message "google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector" do
|
173
|
-
optional :identity, :string, 1
|
174
|
-
end
|
175
|
-
add_message "google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector" do
|
176
|
-
repeated :roles, :string, 1
|
177
|
-
repeated :permissions, :string, 2
|
178
|
-
end
|
179
|
-
add_message "google.cloud.asset.v1.IamPolicyAnalysisQuery.Options" do
|
180
|
-
optional :expand_groups, :bool, 1
|
181
|
-
optional :expand_roles, :bool, 2
|
182
|
-
optional :expand_resources, :bool, 3
|
183
|
-
optional :output_resource_edges, :bool, 4
|
184
|
-
optional :output_group_edges, :bool, 5
|
185
|
-
optional :analyze_service_account_impersonation, :bool, 6
|
186
|
-
end
|
187
|
-
add_message "google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext" do
|
188
|
-
oneof :TimeContext do
|
189
|
-
optional :access_time, :message, 1, "google.protobuf.Timestamp"
|
190
|
-
end
|
191
|
-
end
|
192
|
-
add_message "google.cloud.asset.v1.AnalyzeIamPolicyRequest" do
|
193
|
-
optional :analysis_query, :message, 1, "google.cloud.asset.v1.IamPolicyAnalysisQuery"
|
194
|
-
optional :saved_analysis_query, :string, 3
|
195
|
-
optional :execution_timeout, :message, 2, "google.protobuf.Duration"
|
196
|
-
end
|
197
|
-
add_message "google.cloud.asset.v1.AnalyzeIamPolicyResponse" do
|
198
|
-
optional :main_analysis, :message, 1, "google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis"
|
199
|
-
repeated :service_account_impersonation_analysis, :message, 2, "google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis"
|
200
|
-
optional :fully_explored, :bool, 3
|
201
|
-
end
|
202
|
-
add_message "google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis" do
|
203
|
-
optional :analysis_query, :message, 1, "google.cloud.asset.v1.IamPolicyAnalysisQuery"
|
204
|
-
repeated :analysis_results, :message, 2, "google.cloud.asset.v1.IamPolicyAnalysisResult"
|
205
|
-
optional :fully_explored, :bool, 3
|
206
|
-
repeated :non_critical_errors, :message, 5, "google.cloud.asset.v1.IamPolicyAnalysisState"
|
207
|
-
end
|
208
|
-
add_message "google.cloud.asset.v1.IamPolicyAnalysisOutputConfig" do
|
209
|
-
oneof :destination do
|
210
|
-
optional :gcs_destination, :message, 1, "google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination"
|
211
|
-
optional :bigquery_destination, :message, 2, "google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination"
|
212
|
-
end
|
213
|
-
end
|
214
|
-
add_message "google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination" do
|
215
|
-
optional :uri, :string, 1
|
216
|
-
end
|
217
|
-
add_message "google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination" do
|
218
|
-
optional :dataset, :string, 1
|
219
|
-
optional :table_prefix, :string, 2
|
220
|
-
optional :partition_key, :enum, 3, "google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey"
|
221
|
-
optional :write_disposition, :string, 4
|
222
|
-
end
|
223
|
-
add_enum "google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey" do
|
224
|
-
value :PARTITION_KEY_UNSPECIFIED, 0
|
225
|
-
value :REQUEST_TIME, 1
|
226
|
-
end
|
227
|
-
add_message "google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest" do
|
228
|
-
optional :analysis_query, :message, 1, "google.cloud.asset.v1.IamPolicyAnalysisQuery"
|
229
|
-
optional :saved_analysis_query, :string, 3
|
230
|
-
optional :output_config, :message, 2, "google.cloud.asset.v1.IamPolicyAnalysisOutputConfig"
|
231
|
-
end
|
232
|
-
add_message "google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse" do
|
233
|
-
end
|
234
|
-
add_message "google.cloud.asset.v1.SavedQuery" do
|
235
|
-
optional :name, :string, 1
|
236
|
-
optional :description, :string, 2
|
237
|
-
optional :create_time, :message, 3, "google.protobuf.Timestamp"
|
238
|
-
optional :creator, :string, 4
|
239
|
-
optional :last_update_time, :message, 5, "google.protobuf.Timestamp"
|
240
|
-
optional :last_updater, :string, 6
|
241
|
-
map :labels, :string, :string, 7
|
242
|
-
optional :content, :message, 8, "google.cloud.asset.v1.SavedQuery.QueryContent"
|
243
|
-
end
|
244
|
-
add_message "google.cloud.asset.v1.SavedQuery.QueryContent" do
|
245
|
-
oneof :query_content do
|
246
|
-
optional :iam_policy_analysis_query, :message, 1, "google.cloud.asset.v1.IamPolicyAnalysisQuery"
|
247
|
-
end
|
248
|
-
end
|
249
|
-
add_message "google.cloud.asset.v1.CreateSavedQueryRequest" do
|
250
|
-
optional :parent, :string, 1
|
251
|
-
optional :saved_query, :message, 2, "google.cloud.asset.v1.SavedQuery"
|
252
|
-
optional :saved_query_id, :string, 3
|
253
|
-
end
|
254
|
-
add_message "google.cloud.asset.v1.GetSavedQueryRequest" do
|
255
|
-
optional :name, :string, 1
|
256
|
-
end
|
257
|
-
add_message "google.cloud.asset.v1.ListSavedQueriesRequest" do
|
258
|
-
optional :parent, :string, 1
|
259
|
-
optional :filter, :string, 4
|
260
|
-
optional :page_size, :int32, 2
|
261
|
-
optional :page_token, :string, 3
|
262
|
-
end
|
263
|
-
add_message "google.cloud.asset.v1.ListSavedQueriesResponse" do
|
264
|
-
repeated :saved_queries, :message, 1, "google.cloud.asset.v1.SavedQuery"
|
265
|
-
optional :next_page_token, :string, 2
|
266
|
-
end
|
267
|
-
add_message "google.cloud.asset.v1.UpdateSavedQueryRequest" do
|
268
|
-
optional :saved_query, :message, 1, "google.cloud.asset.v1.SavedQuery"
|
269
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
270
|
-
end
|
271
|
-
add_message "google.cloud.asset.v1.DeleteSavedQueryRequest" do
|
272
|
-
optional :name, :string, 1
|
273
|
-
end
|
274
|
-
add_message "google.cloud.asset.v1.AnalyzeMoveRequest" do
|
275
|
-
optional :resource, :string, 1
|
276
|
-
optional :destination_parent, :string, 2
|
277
|
-
optional :view, :enum, 3, "google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView"
|
278
|
-
end
|
279
|
-
add_enum "google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView" do
|
280
|
-
value :ANALYSIS_VIEW_UNSPECIFIED, 0
|
281
|
-
value :FULL, 1
|
282
|
-
value :BASIC, 2
|
283
|
-
end
|
284
|
-
add_message "google.cloud.asset.v1.AnalyzeMoveResponse" do
|
285
|
-
repeated :move_analysis, :message, 1, "google.cloud.asset.v1.MoveAnalysis"
|
286
|
-
end
|
287
|
-
add_message "google.cloud.asset.v1.MoveAnalysis" do
|
288
|
-
optional :display_name, :string, 1
|
289
|
-
oneof :result do
|
290
|
-
optional :analysis, :message, 2, "google.cloud.asset.v1.MoveAnalysisResult"
|
291
|
-
optional :error, :message, 3, "google.rpc.Status"
|
292
|
-
end
|
293
|
-
end
|
294
|
-
add_message "google.cloud.asset.v1.MoveAnalysisResult" do
|
295
|
-
repeated :blockers, :message, 1, "google.cloud.asset.v1.MoveImpact"
|
296
|
-
repeated :warnings, :message, 2, "google.cloud.asset.v1.MoveImpact"
|
297
|
-
end
|
298
|
-
add_message "google.cloud.asset.v1.MoveImpact" do
|
299
|
-
optional :detail, :string, 1
|
300
|
-
end
|
301
|
-
add_message "google.cloud.asset.v1.QueryAssetsOutputConfig" do
|
302
|
-
optional :bigquery_destination, :message, 1, "google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination"
|
303
|
-
end
|
304
|
-
add_message "google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination" do
|
305
|
-
optional :dataset, :string, 1
|
306
|
-
optional :table, :string, 2
|
307
|
-
optional :write_disposition, :string, 3
|
308
|
-
end
|
309
|
-
add_message "google.cloud.asset.v1.QueryAssetsRequest" do
|
310
|
-
optional :parent, :string, 1
|
311
|
-
optional :page_size, :int32, 4
|
312
|
-
optional :page_token, :string, 5
|
313
|
-
optional :timeout, :message, 6, "google.protobuf.Duration"
|
314
|
-
optional :output_config, :message, 9, "google.cloud.asset.v1.QueryAssetsOutputConfig"
|
315
|
-
oneof :query do
|
316
|
-
optional :statement, :string, 2
|
317
|
-
optional :job_reference, :string, 3
|
318
|
-
end
|
319
|
-
oneof :time do
|
320
|
-
optional :read_time_window, :message, 7, "google.cloud.asset.v1.TimeWindow"
|
321
|
-
optional :read_time, :message, 8, "google.protobuf.Timestamp"
|
322
|
-
end
|
323
|
-
end
|
324
|
-
add_message "google.cloud.asset.v1.QueryAssetsResponse" do
|
325
|
-
optional :job_reference, :string, 1
|
326
|
-
optional :done, :bool, 2
|
327
|
-
oneof :response do
|
328
|
-
optional :error, :message, 3, "google.rpc.Status"
|
329
|
-
optional :query_result, :message, 4, "google.cloud.asset.v1.QueryResult"
|
330
|
-
optional :output_config, :message, 5, "google.cloud.asset.v1.QueryAssetsOutputConfig"
|
331
|
-
end
|
332
|
-
end
|
333
|
-
add_message "google.cloud.asset.v1.QueryResult" do
|
334
|
-
repeated :rows, :message, 1, "google.protobuf.Struct"
|
335
|
-
optional :schema, :message, 2, "google.cloud.asset.v1.TableSchema"
|
336
|
-
optional :next_page_token, :string, 3
|
337
|
-
optional :total_rows, :int64, 4
|
338
|
-
end
|
339
|
-
add_message "google.cloud.asset.v1.TableSchema" do
|
340
|
-
repeated :fields, :message, 1, "google.cloud.asset.v1.TableFieldSchema"
|
341
|
-
end
|
342
|
-
add_message "google.cloud.asset.v1.TableFieldSchema" do
|
343
|
-
optional :field, :string, 1
|
344
|
-
optional :type, :string, 2
|
345
|
-
optional :mode, :string, 3
|
346
|
-
repeated :fields, :message, 4, "google.cloud.asset.v1.TableFieldSchema"
|
347
|
-
end
|
348
|
-
add_message "google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest" do
|
349
|
-
optional :scope, :string, 1
|
350
|
-
repeated :names, :string, 3
|
351
|
-
end
|
352
|
-
add_message "google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse" do
|
353
|
-
repeated :policy_results, :message, 2, "google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy"
|
354
|
-
end
|
355
|
-
add_message "google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy" do
|
356
|
-
optional :full_resource_name, :string, 1
|
357
|
-
repeated :policies, :message, 2, "google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo"
|
358
|
-
end
|
359
|
-
add_message "google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo" do
|
360
|
-
optional :attached_resource, :string, 1
|
361
|
-
optional :policy, :message, 2, "google.iam.v1.Policy"
|
362
|
-
end
|
363
|
-
add_message "google.cloud.asset.v1.AnalyzerOrgPolicy" do
|
364
|
-
optional :attached_resource, :string, 1
|
365
|
-
optional :applied_resource, :string, 5
|
366
|
-
repeated :rules, :message, 2, "google.cloud.asset.v1.AnalyzerOrgPolicy.Rule"
|
367
|
-
optional :inherit_from_parent, :bool, 3
|
368
|
-
optional :reset, :bool, 4
|
369
|
-
end
|
370
|
-
add_message "google.cloud.asset.v1.AnalyzerOrgPolicy.Rule" do
|
371
|
-
optional :condition, :message, 7, "google.type.Expr"
|
372
|
-
oneof :kind do
|
373
|
-
optional :values, :message, 3, "google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues"
|
374
|
-
optional :allow_all, :bool, 4
|
375
|
-
optional :deny_all, :bool, 5
|
376
|
-
optional :enforce, :bool, 6
|
377
|
-
end
|
378
|
-
end
|
379
|
-
add_message "google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues" do
|
380
|
-
repeated :allowed_values, :string, 1
|
381
|
-
repeated :denied_values, :string, 2
|
382
|
-
end
|
383
|
-
add_message "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint" do
|
384
|
-
oneof :constraint_definition do
|
385
|
-
optional :google_defined_constraint, :message, 1, "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint"
|
386
|
-
optional :custom_constraint, :message, 2, "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint"
|
387
|
-
end
|
388
|
-
end
|
389
|
-
add_message "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint" do
|
390
|
-
optional :name, :string, 1
|
391
|
-
optional :display_name, :string, 2
|
392
|
-
optional :description, :string, 3
|
393
|
-
optional :constraint_default, :enum, 4, "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault"
|
394
|
-
oneof :constraint_type do
|
395
|
-
optional :list_constraint, :message, 5, "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint"
|
396
|
-
optional :boolean_constraint, :message, 6, "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint"
|
397
|
-
end
|
398
|
-
end
|
399
|
-
add_message "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint" do
|
400
|
-
optional :supports_in, :bool, 1
|
401
|
-
optional :supports_under, :bool, 2
|
402
|
-
end
|
403
|
-
add_message "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint" do
|
404
|
-
end
|
405
|
-
add_enum "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault" do
|
406
|
-
value :CONSTRAINT_DEFAULT_UNSPECIFIED, 0
|
407
|
-
value :ALLOW, 1
|
408
|
-
value :DENY, 2
|
409
|
-
end
|
410
|
-
add_message "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint" do
|
411
|
-
optional :name, :string, 1
|
412
|
-
repeated :resource_types, :string, 2
|
413
|
-
repeated :method_types, :enum, 3, "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType"
|
414
|
-
optional :condition, :string, 4
|
415
|
-
optional :action_type, :enum, 5, "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType"
|
416
|
-
optional :display_name, :string, 6
|
417
|
-
optional :description, :string, 7
|
418
|
-
end
|
419
|
-
add_enum "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType" do
|
420
|
-
value :METHOD_TYPE_UNSPECIFIED, 0
|
421
|
-
value :CREATE, 1
|
422
|
-
value :UPDATE, 2
|
423
|
-
value :DELETE, 3
|
424
|
-
end
|
425
|
-
add_enum "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType" do
|
426
|
-
value :ACTION_TYPE_UNSPECIFIED, 0
|
427
|
-
value :ALLOW, 1
|
428
|
-
value :DENY, 2
|
429
|
-
end
|
430
|
-
add_message "google.cloud.asset.v1.AnalyzeOrgPoliciesRequest" do
|
431
|
-
optional :scope, :string, 1
|
432
|
-
optional :constraint, :string, 2
|
433
|
-
optional :filter, :string, 3
|
434
|
-
proto3_optional :page_size, :int32, 4
|
435
|
-
optional :page_token, :string, 5
|
436
|
-
end
|
437
|
-
add_message "google.cloud.asset.v1.AnalyzeOrgPoliciesResponse" do
|
438
|
-
repeated :org_policy_results, :message, 1, "google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult"
|
439
|
-
optional :constraint, :message, 2, "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint"
|
440
|
-
optional :next_page_token, :string, 3
|
441
|
-
end
|
442
|
-
add_message "google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult" do
|
443
|
-
optional :consolidated_policy, :message, 1, "google.cloud.asset.v1.AnalyzerOrgPolicy"
|
444
|
-
repeated :policy_bundle, :message, 2, "google.cloud.asset.v1.AnalyzerOrgPolicy"
|
445
|
-
end
|
446
|
-
add_message "google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest" do
|
447
|
-
optional :scope, :string, 1
|
448
|
-
optional :constraint, :string, 2
|
449
|
-
optional :filter, :string, 3
|
450
|
-
proto3_optional :page_size, :int32, 4
|
451
|
-
optional :page_token, :string, 5
|
452
|
-
end
|
453
|
-
add_message "google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse" do
|
454
|
-
repeated :governed_containers, :message, 1, "google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer"
|
455
|
-
optional :constraint, :message, 2, "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint"
|
456
|
-
optional :next_page_token, :string, 3
|
457
|
-
end
|
458
|
-
add_message "google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer" do
|
459
|
-
optional :full_resource_name, :string, 1
|
460
|
-
optional :parent, :string, 2
|
461
|
-
optional :consolidated_policy, :message, 3, "google.cloud.asset.v1.AnalyzerOrgPolicy"
|
462
|
-
repeated :policy_bundle, :message, 4, "google.cloud.asset.v1.AnalyzerOrgPolicy"
|
463
|
-
end
|
464
|
-
add_message "google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest" do
|
465
|
-
optional :scope, :string, 1
|
466
|
-
optional :constraint, :string, 2
|
467
|
-
optional :filter, :string, 3
|
468
|
-
proto3_optional :page_size, :int32, 4
|
469
|
-
optional :page_token, :string, 5
|
470
|
-
end
|
471
|
-
add_message "google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse" do
|
472
|
-
repeated :governed_assets, :message, 1, "google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset"
|
473
|
-
optional :constraint, :message, 2, "google.cloud.asset.v1.AnalyzerOrgPolicyConstraint"
|
474
|
-
optional :next_page_token, :string, 3
|
475
|
-
end
|
476
|
-
add_message "google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource" do
|
477
|
-
optional :full_resource_name, :string, 1
|
478
|
-
optional :parent, :string, 2
|
479
|
-
optional :project, :string, 5
|
480
|
-
repeated :folders, :string, 6
|
481
|
-
optional :organization, :string, 7
|
482
|
-
end
|
483
|
-
add_message "google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy" do
|
484
|
-
optional :attached_resource, :string, 1
|
485
|
-
optional :policy, :message, 2, "google.iam.v1.Policy"
|
486
|
-
optional :project, :string, 5
|
487
|
-
repeated :folders, :string, 6
|
488
|
-
optional :organization, :string, 7
|
489
|
-
end
|
490
|
-
add_message "google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset" do
|
491
|
-
optional :consolidated_policy, :message, 3, "google.cloud.asset.v1.AnalyzerOrgPolicy"
|
492
|
-
repeated :policy_bundle, :message, 4, "google.cloud.asset.v1.AnalyzerOrgPolicy"
|
493
|
-
oneof :governed_asset do
|
494
|
-
optional :governed_resource, :message, 1, "google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource"
|
495
|
-
optional :governed_iam_policy, :message, 2, "google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy"
|
496
|
-
end
|
497
|
-
end
|
498
|
-
add_enum "google.cloud.asset.v1.ContentType" do
|
499
|
-
value :CONTENT_TYPE_UNSPECIFIED, 0
|
500
|
-
value :RESOURCE, 1
|
501
|
-
value :IAM_POLICY, 2
|
502
|
-
value :ORG_POLICY, 4
|
503
|
-
value :ACCESS_POLICY, 5
|
504
|
-
value :OS_INVENTORY, 6
|
505
|
-
value :RELATIONSHIP, 7
|
22
|
+
|
23
|
+
descriptor_data = "\n)google/cloud/asset/v1/asset_service.proto\x12\x15google.cloud.asset.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/cloud/asset/v1/assets.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/expr.proto\"[\n#AnalyzeIamPolicyLongrunningMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xa9\x02\n\x13\x45xportAssetsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63loudasset.googleapis.com/Asset\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x61sset_types\x18\x03 \x03(\t\x12\x38\n\x0c\x63ontent_type\x18\x04 \x01(\x0e\x32\".google.cloud.asset.v1.ContentType\x12?\n\routput_config\x18\x05 \x01(\x0b\x32#.google.cloud.asset.v1.OutputConfigB\x03\xe0\x41\x02\x12\x1a\n\x12relationship_types\x18\x06 \x03(\t\"\xbd\x01\n\x14\x45xportAssetsResponse\x12-\n\tread_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\routput_config\x18\x02 \x01(\x0b\x32#.google.cloud.asset.v1.OutputConfig\x12:\n\routput_result\x18\x03 \x01(\x0b\x32#.google.cloud.asset.v1.OutputResult\"\x8d\x02\n\x11ListAssetsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63loudasset.googleapis.com/Asset\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x61sset_types\x18\x03 \x03(\t\x12\x38\n\x0c\x63ontent_type\x18\x04 \x01(\x0e\x32\".google.cloud.asset.v1.ContentType\x12\x11\n\tpage_size\x18\x05 \x01(\x05\x12\x12\n\npage_token\x18\x06 \x01(\t\x12\x1a\n\x12relationship_types\x18\x07 \x03(\t\"\x8a\x01\n\x12ListAssetsResponse\x12-\n\tread_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x06\x61ssets\x18\x02 \x03(\x0b\x32\x1c.google.cloud.asset.v1.Asset\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\"\x8e\x02\n\x1c\x42\x61tchGetAssetsHistoryRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63loudasset.googleapis.com/Asset\x12\x13\n\x0b\x61sset_names\x18\x02 \x03(\t\x12=\n\x0c\x63ontent_type\x18\x03 \x01(\x0e\x32\".google.cloud.asset.v1.ContentTypeB\x03\xe0\x41\x01\x12@\n\x10read_time_window\x18\x04 \x01(\x0b\x32!.google.cloud.asset.v1.TimeWindowB\x03\xe0\x41\x01\x12\x1f\n\x12relationship_types\x18\x05 \x03(\tB\x03\xe0\x41\x01\"U\n\x1d\x42\x61tchGetAssetsHistoryResponse\x12\x34\n\x06\x61ssets\x18\x01 \x03(\x0b\x32$.google.cloud.asset.v1.TemporalAsset\"n\n\x11\x43reateFeedRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07\x66\x65\x65\x64_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12.\n\x04\x66\x65\x65\x64\x18\x03 \x01(\x0b\x32\x1b.google.cloud.asset.v1.FeedB\x03\xe0\x41\x02\"F\n\x0eGetFeedRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudasset.googleapis.com/Feed\"\'\n\x10ListFeedsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\"?\n\x11ListFeedsResponse\x12*\n\x05\x66\x65\x65\x64s\x18\x01 \x03(\x0b\x32\x1b.google.cloud.asset.v1.Feed\"y\n\x11UpdateFeedRequest\x12.\n\x04\x66\x65\x65\x64\x18\x01 \x01(\x0b\x32\x1b.google.cloud.asset.v1.FeedB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"I\n\x11\x44\x65leteFeedRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudasset.googleapis.com/Feed\"\xab\x01\n\x0cOutputConfig\x12@\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32%.google.cloud.asset.v1.GcsDestinationH\x00\x12J\n\x14\x62igquery_destination\x18\x02 \x01(\x0b\x32*.google.cloud.asset.v1.BigQueryDestinationH\x00\x42\r\n\x0b\x64\x65stination\"V\n\x0cOutputResult\x12<\n\ngcs_result\x18\x01 \x01(\x0b\x32&.google.cloud.asset.v1.GcsOutputResultH\x00\x42\x08\n\x06result\"\x1f\n\x0fGcsOutputResult\x12\x0c\n\x04uris\x18\x01 \x03(\t\"C\n\x0eGcsDestination\x12\r\n\x03uri\x18\x01 \x01(\tH\x00\x12\x14\n\nuri_prefix\x18\x02 \x01(\tH\x00\x42\x0c\n\nobject_uri\"\xb4\x01\n\x13\x42igQueryDestination\x12\x14\n\x07\x64\x61taset\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05table\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\x12<\n\x0epartition_spec\x18\x04 \x01(\x0b\x32$.google.cloud.asset.v1.PartitionSpec\x12&\n\x1eseparate_tables_per_asset_type\x18\x05 \x01(\x08\"\xa9\x01\n\rPartitionSpec\x12H\n\rpartition_key\x18\x01 \x01(\x0e\x32\x31.google.cloud.asset.v1.PartitionSpec.PartitionKey\"N\n\x0cPartitionKey\x12\x1d\n\x19PARTITION_KEY_UNSPECIFIED\x10\x00\x12\r\n\tREAD_TIME\x10\x01\x12\x10\n\x0cREQUEST_TIME\x10\x02\"\"\n\x11PubsubDestination\x12\r\n\x05topic\x18\x01 \x01(\t\"i\n\x10\x46\x65\x65\x64OutputConfig\x12\x46\n\x12pubsub_destination\x18\x01 \x01(\x0b\x32(.google.cloud.asset.v1.PubsubDestinationH\x00\x42\r\n\x0b\x64\x65stination\"\x9d\x03\n\x04\x46\x65\x65\x64\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x61sset_names\x18\x02 \x03(\t\x12\x13\n\x0b\x61sset_types\x18\x03 \x03(\t\x12\x38\n\x0c\x63ontent_type\x18\x04 \x01(\x0e\x32\".google.cloud.asset.v1.ContentType\x12H\n\x12\x66\x65\x65\x64_output_config\x18\x05 \x01(\x0b\x32\'.google.cloud.asset.v1.FeedOutputConfigB\x03\xe0\x41\x02\x12$\n\tcondition\x18\x06 \x01(\x0b\x32\x11.google.type.Expr\x12\x1a\n\x12relationship_types\x18\x07 \x03(\t:\x91\x01\xea\x41\x8d\x01\n\x1e\x63loudasset.googleapis.com/Feed\x12\x1fprojects/{project}/feeds/{feed}\x12\x1d\x66olders/{folder}/feeds/{feed}\x12)organizations/{organization}/feeds/{feed} \x01\"\xd9\x01\n\x19SearchAllResourcesRequest\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x61sset_types\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\tread_mask\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"s\n\x1aSearchAllResourcesResponse\x12<\n\x07results\x18\x01 \x03(\x0b\x32+.google.cloud.asset.v1.ResourceSearchResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa7\x01\n\x1bSearchAllIamPoliciesRequest\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x61sset_types\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x07 \x01(\tB\x03\xe0\x41\x01\"v\n\x1cSearchAllIamPoliciesResponse\x12=\n\x07results\x18\x01 \x03(\x0b\x32,.google.cloud.asset.v1.IamPolicySearchResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc6\x07\n\x16IamPolicyAnalysisQuery\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12^\n\x11resource_selector\x18\x02 \x01(\x0b\x32>.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorB\x03\xe0\x41\x01\x12^\n\x11identity_selector\x18\x03 \x01(\x0b\x32>.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorB\x03\xe0\x41\x01\x12Z\n\x0f\x61\x63\x63\x65ss_selector\x18\x04 \x01(\x0b\x32<.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorB\x03\xe0\x41\x01\x12K\n\x07options\x18\x05 \x01(\x0b\x32\x35.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsB\x03\xe0\x41\x01\x12^\n\x11\x63ondition_context\x18\x06 \x01(\x0b\x32>.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextB\x03\xe0\x41\x01\x1a\x33\n\x10ResourceSelector\x12\x1f\n\x12\x66ull_resource_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a)\n\x10IdentitySelector\x12\x15\n\x08identity\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a>\n\x0e\x41\x63\x63\x65ssSelector\x12\x12\n\x05roles\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x18\n\x0bpermissions\x18\x02 \x03(\tB\x03\xe0\x41\x01\x1a\xd8\x01\n\x07Options\x12\x1a\n\rexpand_groups\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x19\n\x0c\x65xpand_roles\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1d\n\x10\x65xpand_resources\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\"\n\x15output_resource_edges\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1f\n\x12output_group_edges\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x32\n%analyze_service_account_impersonation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x1aT\n\x10\x43onditionContext\x12\x31\n\x0b\x61\x63\x63\x65ss_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x42\r\n\x0bTimeContext\"\xc3\x01\n\x17\x41nalyzeIamPolicyRequest\x12J\n\x0e\x61nalysis_query\x18\x01 \x01(\x0b\x32-.google.cloud.asset.v1.IamPolicyAnalysisQueryB\x03\xe0\x41\x02\x12!\n\x14saved_analysis_query\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x39\n\x11\x65xecution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\"\x8a\x04\n\x18\x41nalyzeIamPolicyResponse\x12X\n\rmain_analysis\x18\x01 \x01(\x0b\x32\x41.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis\x12q\n&service_account_impersonation_analysis\x18\x02 \x03(\x0b\x32\x41.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis\x12\x16\n\x0e\x66ully_explored\x18\x03 \x01(\x08\x1a\x88\x02\n\x11IamPolicyAnalysis\x12\x45\n\x0e\x61nalysis_query\x18\x01 \x01(\x0b\x32-.google.cloud.asset.v1.IamPolicyAnalysisQuery\x12H\n\x10\x61nalysis_results\x18\x02 \x03(\x0b\x32..google.cloud.asset.v1.IamPolicyAnalysisResult\x12\x16\n\x0e\x66ully_explored\x18\x03 \x01(\x08\x12J\n\x13non_critical_errors\x18\x05 \x03(\x0b\x32-.google.cloud.asset.v1.IamPolicyAnalysisState\"\xb4\x04\n\x1dIamPolicyAnalysisOutputConfig\x12^\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32\x43.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationH\x00\x12h\n\x14\x62igquery_destination\x18\x02 \x01(\x0b\x32H.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationH\x00\x1a\"\n\x0eGcsDestination\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\x95\x02\n\x13\x42igQueryDestination\x12\x14\n\x07\x64\x61taset\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0ctable_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12l\n\rpartition_key\x18\x03 \x01(\x0e\x32U.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey\x12\x1e\n\x11write_disposition\x18\x04 \x01(\tB\x03\xe0\x41\x01\"?\n\x0cPartitionKey\x12\x1d\n\x19PARTITION_KEY_UNSPECIFIED\x10\x00\x12\x10\n\x0cREQUEST_TIME\x10\x01\x42\r\n\x0b\x64\x65stination\"\xe5\x01\n\"AnalyzeIamPolicyLongrunningRequest\x12J\n\x0e\x61nalysis_query\x18\x01 \x01(\x0b\x32-.google.cloud.asset.v1.IamPolicyAnalysisQueryB\x03\xe0\x41\x02\x12!\n\x14saved_analysis_query\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12P\n\routput_config\x18\x02 \x01(\x0b\x32\x34.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigB\x03\xe0\x41\x02\"%\n#AnalyzeIamPolicyLongrunningResponse\"\xb7\x05\n\nSavedQuery\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x07\x63reator\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x10last_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x19\n\x0clast_updater\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12=\n\x06labels\x18\x07 \x03(\x0b\x32-.google.cloud.asset.v1.SavedQuery.LabelsEntry\x12?\n\x07\x63ontent\x18\x08 \x01(\x0b\x32..google.cloud.asset.v1.SavedQuery.QueryContent\x1as\n\x0cQueryContent\x12R\n\x19iam_policy_analysis_query\x18\x01 \x01(\x0b\x32-.google.cloud.asset.v1.IamPolicyAnalysisQueryH\x00\x42\x0f\n\rquery_content\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xbf\x01\xea\x41\xbb\x01\n$cloudasset.googleapis.com/SavedQuery\x12-projects/{project}/savedQueries/{saved_query}\x12+folders/{folder}/savedQueries/{saved_query}\x12\x37organizations/{organization}/savedQueries/{saved_query}\"\xb1\x01\n\x17\x43reateSavedQueryRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$cloudasset.googleapis.com/SavedQuery\x12;\n\x0bsaved_query\x18\x02 \x01(\x0b\x32!.google.cloud.asset.v1.SavedQueryB\x03\xe0\x41\x02\x12\x1b\n\x0esaved_query_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"R\n\x14GetSavedQueryRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudasset.googleapis.com/SavedQuery\"\x9d\x01\n\x17ListSavedQueriesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$cloudasset.googleapis.com/SavedQuery\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\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\"m\n\x18ListSavedQueriesResponse\x12\x38\n\rsaved_queries\x18\x01 \x03(\x0b\x32!.google.cloud.asset.v1.SavedQuery\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8c\x01\n\x17UpdateSavedQueryRequest\x12;\n\x0bsaved_query\x18\x01 \x01(\x0b\x32!.google.cloud.asset.v1.SavedQueryB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"U\n\x17\x44\x65leteSavedQueryRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudasset.googleapis.com/SavedQuery\"\xd6\x01\n\x12\x41nalyzeMoveRequest\x12\x15\n\x08resource\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12\x64\x65stination_parent\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x04view\x18\x03 \x01(\x0e\x32\x36.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView\"B\n\x0c\x41nalysisView\x12\x1d\n\x19\x41NALYSIS_VIEW_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\t\n\x05\x42\x41SIC\x10\x02\"Q\n\x13\x41nalyzeMoveResponse\x12:\n\rmove_analysis\x18\x01 \x03(\x0b\x32#.google.cloud.asset.v1.MoveAnalysis\"\x92\x01\n\x0cMoveAnalysis\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12=\n\x08\x61nalysis\x18\x02 \x01(\x0b\x32).google.cloud.asset.v1.MoveAnalysisResultH\x00\x12#\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\x08\n\x06result\"~\n\x12MoveAnalysisResult\x12\x33\n\x08\x62lockers\x18\x01 \x03(\x0b\x32!.google.cloud.asset.v1.MoveImpact\x12\x33\n\x08warnings\x18\x02 \x03(\x0b\x32!.google.cloud.asset.v1.MoveImpact\"\x1c\n\nMoveImpact\x12\x0e\n\x06\x64\x65tail\x18\x01 \x01(\t\"\xd7\x01\n\x17QueryAssetsOutputConfig\x12`\n\x14\x62igquery_destination\x18\x01 \x01(\x0b\x32\x42.google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination\x1aZ\n\x13\x42igQueryDestination\x12\x14\n\x07\x64\x61taset\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05table\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x11write_disposition\x18\x03 \x01(\t\"\xbe\x03\n\x12QueryAssetsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63loudasset.googleapis.com/Asset\x12\x18\n\tstatement\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x1c\n\rjob_reference\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12/\n\x07timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x42\n\x10read_time_window\x18\x07 \x01(\x0b\x32!.google.cloud.asset.v1.TimeWindowB\x03\xe0\x41\x01H\x01\x12\x34\n\tread_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01H\x01\x12J\n\routput_config\x18\t \x01(\x0b\x32..google.cloud.asset.v1.QueryAssetsOutputConfigB\x03\xe0\x41\x01\x42\x07\n\x05queryB\x06\n\x04time\"\xf0\x01\n\x13QueryAssetsResponse\x12\x15\n\rjob_reference\x18\x01 \x01(\t\x12\x0c\n\x04\x64one\x18\x02 \x01(\x08\x12#\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x12:\n\x0cquery_result\x18\x04 \x01(\x0b\x32\".google.cloud.asset.v1.QueryResultH\x00\x12G\n\routput_config\x18\x05 \x01(\x0b\x32..google.cloud.asset.v1.QueryAssetsOutputConfigH\x00\x42\n\n\x08response\"\x95\x01\n\x0bQueryResult\x12%\n\x04rows\x18\x01 \x03(\x0b\x32\x17.google.protobuf.Struct\x12\x32\n\x06schema\x18\x02 \x01(\x0b\x32\".google.cloud.asset.v1.TableSchema\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_rows\x18\x04 \x01(\x03\"F\n\x0bTableSchema\x12\x37\n\x06\x66ields\x18\x01 \x03(\x0b\x32\'.google.cloud.asset.v1.TableFieldSchema\"v\n\x10TableFieldSchema\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04mode\x18\x03 \x01(\t\x12\x37\n\x06\x66ields\x18\x04 \x03(\x0b\x32\'.google.cloud.asset.v1.TableFieldSchema\"Y\n#BatchGetEffectiveIamPoliciesRequest\x12\x18\n\x05scope\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\x12\x01*\x12\x18\n\x05names\x18\x03 \x03(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\"\xfe\x02\n$BatchGetEffectiveIamPoliciesResponse\x12\x66\n\x0epolicy_results\x18\x02 \x03(\x0b\x32N.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy\x1a\xed\x01\n\x12\x45\x66\x66\x65\x63tiveIamPolicy\x12\x1a\n\x12\x66ull_resource_name\x18\x01 \x01(\t\x12k\n\x08policies\x18\x02 \x03(\x0b\x32Y.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo\x1aN\n\nPolicyInfo\x12\x19\n\x11\x61ttached_resource\x18\x01 \x01(\t\x12%\n\x06policy\x18\x02 \x01(\x0b\x32\x15.google.iam.v1.Policy\"\xb2\x03\n\x11\x41nalyzerOrgPolicy\x12\x19\n\x11\x61ttached_resource\x18\x01 \x01(\t\x12\x18\n\x10\x61pplied_resource\x18\x05 \x01(\t\x12<\n\x05rules\x18\x02 \x03(\x0b\x32-.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule\x12\x1b\n\x13inherit_from_parent\x18\x03 \x01(\x08\x12\r\n\x05reset\x18\x04 \x01(\x08\x1a\xfd\x01\n\x04Rule\x12L\n\x06values\x18\x03 \x01(\x0b\x32:.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValuesH\x00\x12\x13\n\tallow_all\x18\x04 \x01(\x08H\x00\x12\x12\n\x08\x64\x65ny_all\x18\x05 \x01(\x08H\x00\x12\x11\n\x07\x65nforce\x18\x06 \x01(\x08H\x00\x12$\n\tcondition\x18\x07 \x01(\x0b\x32\x11.google.type.Expr\x1a=\n\x0cStringValues\x12\x16\n\x0e\x61llowed_values\x18\x01 \x03(\t\x12\x15\n\rdenied_values\x18\x02 \x03(\tB\x06\n\x04kind\"\x91\n\n\x1b\x41nalyzerOrgPolicyConstraint\x12\x62\n\x19google_defined_constraint\x18\x01 \x01(\x0b\x32=.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ConstraintH\x00\x12`\n\x11\x63ustom_constraint\x18\x02 \x01(\x0b\x32\x43.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraintH\x00\x1a\xbf\x04\n\nConstraint\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12k\n\x12\x63onstraint_default\x18\x04 \x01(\x0e\x32O.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault\x12g\n\x0flist_constraint\x18\x05 \x01(\x0b\x32L.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintH\x00\x12m\n\x12\x62oolean_constraint\x18\x06 \x01(\x0b\x32O.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintH\x00\x1a=\n\x0eListConstraint\x12\x13\n\x0bsupports_in\x18\x01 \x01(\x08\x12\x16\n\x0esupports_under\x18\x02 \x01(\x08\x1a\x13\n\x11\x42ooleanConstraint\"L\n\x11\x43onstraintDefault\x12\"\n\x1e\x43ONSTRAINT_DEFAULT_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LLOW\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02\x42\x11\n\x0f\x63onstraint_type\x1a\xd0\x03\n\x10\x43ustomConstraint\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x16\n\x0eresource_types\x18\x02 \x03(\t\x12\x64\n\x0cmethod_types\x18\x03 \x03(\x0e\x32N.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType\x12\x11\n\tcondition\x18\x04 \x01(\t\x12\x63\n\x0b\x61\x63tion_type\x18\x05 \x01(\x0e\x32N.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\"M\n\nMethodType\x12\x1b\n\x17METHOD_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\n\n\x06UPDATE\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\">\n\nActionType\x12\x1b\n\x17\x41\x43TION_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LLOW\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02\x42\x17\n\x15\x63onstraint_definition\"\x92\x01\n\x19\x41nalyzeOrgPoliciesRequest\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nconstraint\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\x12\x16\n\tpage_size\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x12\n\npage_token\x18\x05 \x01(\tB\x0c\n\n_page_size\"\xf8\x02\n\x1a\x41nalyzeOrgPoliciesResponse\x12]\n\x12org_policy_results\x18\x01 \x03(\x0b\x32\x41.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult\x12\x46\n\nconstraint\x18\x02 \x01(\x0b\x32\x32.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x1a\x99\x01\n\x0fOrgPolicyResult\x12\x45\n\x13\x63onsolidated_policy\x18\x01 \x01(\x0b\x32(.google.cloud.asset.v1.AnalyzerOrgPolicy\x12?\n\rpolicy_bundle\x18\x02 \x03(\x0b\x32(.google.cloud.asset.v1.AnalyzerOrgPolicy\"\xa2\x01\n)AnalyzeOrgPolicyGovernedContainersRequest\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nconstraint\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\x12\x16\n\tpage_size\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x12\n\npage_token\x18\x05 \x01(\tB\x0c\n\n_page_size\"\xc9\x03\n*AnalyzeOrgPolicyGovernedContainersResponse\x12p\n\x13governed_containers\x18\x01 \x03(\x0b\x32S.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer\x12\x46\n\nconstraint\x18\x02 \x01(\x0b\x32\x32.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x1a\xc7\x01\n\x11GovernedContainer\x12\x1a\n\x12\x66ull_resource_name\x18\x01 \x01(\t\x12\x0e\n\x06parent\x18\x02 \x01(\t\x12\x45\n\x13\x63onsolidated_policy\x18\x03 \x01(\x0b\x32(.google.cloud.asset.v1.AnalyzerOrgPolicy\x12?\n\rpolicy_bundle\x18\x04 \x03(\x0b\x32(.google.cloud.asset.v1.AnalyzerOrgPolicy\"\x9e\x01\n%AnalyzeOrgPolicyGovernedAssetsRequest\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nconstraint\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\x12\x16\n\tpage_size\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x12\n\npage_token\x18\x05 \x01(\tB\x0c\n\n_page_size\"\x80\x07\n&AnalyzeOrgPolicyGovernedAssetsResponse\x12\x64\n\x0fgoverned_assets\x18\x01 \x03(\x0b\x32K.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset\x12\x46\n\nconstraint\x18\x02 \x01(\x0b\x32\x32.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x1av\n\x10GovernedResource\x12\x1a\n\x12\x66ull_resource_name\x18\x01 \x01(\t\x12\x0e\n\x06parent\x18\x02 \x01(\t\x12\x0f\n\x07project\x18\x05 \x01(\t\x12\x0f\n\x07\x66olders\x18\x06 \x03(\t\x12\x14\n\x0corganization\x18\x07 \x01(\t\x1a\x8d\x01\n\x11GovernedIamPolicy\x12\x19\n\x11\x61ttached_resource\x18\x01 \x01(\t\x12%\n\x06policy\x18\x02 \x01(\x0b\x32\x15.google.iam.v1.Policy\x12\x0f\n\x07project\x18\x05 \x01(\t\x12\x0f\n\x07\x66olders\x18\x06 \x03(\t\x12\x14\n\x0corganization\x18\x07 \x01(\t\x1a\x86\x03\n\rGovernedAsset\x12k\n\x11governed_resource\x18\x01 \x01(\x0b\x32N.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceH\x00\x12n\n\x13governed_iam_policy\x18\x02 \x01(\x0b\x32O.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyH\x00\x12\x45\n\x13\x63onsolidated_policy\x18\x03 \x01(\x0b\x32(.google.cloud.asset.v1.AnalyzerOrgPolicy\x12?\n\rpolicy_bundle\x18\x04 \x03(\x0b\x32(.google.cloud.asset.v1.AnalyzerOrgPolicyB\x10\n\x0egoverned_asset*\x90\x01\n\x0b\x43ontentType\x12\x1c\n\x18\x43ONTENT_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08RESOURCE\x10\x01\x12\x0e\n\nIAM_POLICY\x10\x02\x12\x0e\n\nORG_POLICY\x10\x04\x12\x11\n\rACCESS_POLICY\x10\x05\x12\x10\n\x0cOS_INVENTORY\x10\x06\x12\x10\n\x0cRELATIONSHIP\x10\x07\x32\xd1 \n\x0c\x41ssetService\x12\xde\x01\n\x0c\x45xportAssets\x12*.google.cloud.asset.v1.ExportAssetsRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\x82\xd3\xe4\x93\x02\"\"\x1d/v1/{parent=*/*}:exportAssets:\x01*\xca\x41W\n*google.cloud.asset.v1.ExportAssetsResponse\x12)google.cloud.asset.v1.ExportAssetsRequest\x12\x8b\x01\n\nListAssets\x12(.google.cloud.asset.v1.ListAssetsRequest\x1a).google.cloud.asset.v1.ListAssetsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=*/*}/assets\xda\x41\x06parent\x12\xb2\x01\n\x15\x42\x61tchGetAssetsHistory\x12\x33.google.cloud.asset.v1.BatchGetAssetsHistoryRequest\x1a\x34.google.cloud.asset.v1.BatchGetAssetsHistoryResponse\".\x82\xd3\xe4\x93\x02(\x12&/v1/{parent=*/*}:batchGetAssetsHistory\x12\x7f\n\nCreateFeed\x12(.google.cloud.asset.v1.CreateFeedRequest\x1a\x1b.google.cloud.asset.v1.Feed\"*\x82\xd3\xe4\x93\x02\x1b\"\x16/v1/{parent=*/*}/feeds:\x01*\xda\x41\x06parent\x12t\n\x07GetFeed\x12%.google.cloud.asset.v1.GetFeedRequest\x1a\x1b.google.cloud.asset.v1.Feed\"%\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/{name=*/*/feeds/*}\xda\x41\x04name\x12\x87\x01\n\tListFeeds\x12\'.google.cloud.asset.v1.ListFeedsRequest\x1a(.google.cloud.asset.v1.ListFeedsResponse\"\'\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/{parent=*/*}/feeds\xda\x41\x06parent\x12\x82\x01\n\nUpdateFeed\x12(.google.cloud.asset.v1.UpdateFeedRequest\x1a\x1b.google.cloud.asset.v1.Feed\"-\x82\xd3\xe4\x93\x02 2\x1b/v1/{feed.name=*/*/feeds/*}:\x01*\xda\x41\x04\x66\x65\x65\x64\x12u\n\nDeleteFeed\x12(.google.cloud.asset.v1.DeleteFeedRequest\x1a\x16.google.protobuf.Empty\"%\x82\xd3\xe4\x93\x02\x18*\x16/v1/{name=*/*/feeds/*}\xda\x41\x04name\x12\xbf\x01\n\x12SearchAllResources\x12\x30.google.cloud.asset.v1.SearchAllResourcesRequest\x1a\x31.google.cloud.asset.v1.SearchAllResourcesResponse\"D\x82\xd3\xe4\x93\x02$\x12\"/v1/{scope=*/*}:searchAllResources\xda\x41\x17scope,query,asset_types\x12\xbb\x01\n\x14SearchAllIamPolicies\x12\x32.google.cloud.asset.v1.SearchAllIamPoliciesRequest\x1a\x33.google.cloud.asset.v1.SearchAllIamPoliciesResponse\":\x82\xd3\xe4\x93\x02&\x12$/v1/{scope=*/*}:searchAllIamPolicies\xda\x41\x0bscope,query\x12\xac\x01\n\x10\x41nalyzeIamPolicy\x12..google.cloud.asset.v1.AnalyzeIamPolicyRequest\x1a/.google.cloud.asset.v1.AnalyzeIamPolicyResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//v1/{analysis_query.scope=*/*}:analyzeIamPolicy\x12\xb8\x02\n\x1b\x41nalyzeIamPolicyLongrunning\x12\x39.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest\x1a\x1d.google.longrunning.Operation\"\xbe\x01\x82\xd3\xe4\x93\x02?\":/v1/{analysis_query.scope=*/*}:analyzeIamPolicyLongrunning:\x01*\xca\x41v\n9google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse\x12\x39google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata\x12\x8c\x01\n\x0b\x41nalyzeMove\x12).google.cloud.asset.v1.AnalyzeMoveRequest\x1a*.google.cloud.asset.v1.AnalyzeMoveResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{resource=*/*}:analyzeMove\x12\x8d\x01\n\x0bQueryAssets\x12).google.cloud.asset.v1.QueryAssetsRequest\x1a*.google.cloud.asset.v1.QueryAssetsResponse\"\'\x82\xd3\xe4\x93\x02!\"\x1c/v1/{parent=*/*}:queryAssets:\x01*\x12\xbd\x01\n\x10\x43reateSavedQuery\x12..google.cloud.asset.v1.CreateSavedQueryRequest\x1a!.google.cloud.asset.v1.SavedQuery\"V\x82\xd3\xe4\x93\x02,\"\x1d/v1/{parent=*/*}/savedQueries:\x0bsaved_query\xda\x41!parent,saved_query,saved_query_id\x12\x8d\x01\n\rGetSavedQuery\x12+.google.cloud.asset.v1.GetSavedQueryRequest\x1a!.google.cloud.asset.v1.SavedQuery\",\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{name=*/*/savedQueries/*}\xda\x41\x04name\x12\xa3\x01\n\x10ListSavedQueries\x12..google.cloud.asset.v1.ListSavedQueriesRequest\x1a/.google.cloud.asset.v1.ListSavedQueriesResponse\".\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{parent=*/*}/savedQueries\xda\x41\x06parent\x12\xbf\x01\n\x10UpdateSavedQuery\x12..google.cloud.asset.v1.UpdateSavedQueryRequest\x1a!.google.cloud.asset.v1.SavedQuery\"X\x82\xd3\xe4\x93\x02\x38\x32)/v1/{saved_query.name=*/*/savedQueries/*}:\x0bsaved_query\xda\x41\x17saved_query,update_mask\x12\x88\x01\n\x10\x44\x65leteSavedQuery\x12..google.cloud.asset.v1.DeleteSavedQueryRequest\x1a\x16.google.protobuf.Empty\",\x82\xd3\xe4\x93\x02\x1f*\x1d/v1/{name=*/*/savedQueries/*}\xda\x41\x04name\x12\xce\x01\n\x1c\x42\x61tchGetEffectiveIamPolicies\x12:.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest\x1a;.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse\"5\x82\xd3\xe4\x93\x02/\x12-/v1/{scope=*/*}/effectiveIamPolicies:batchGet\x12\xbf\x01\n\x12\x41nalyzeOrgPolicies\x12\x30.google.cloud.asset.v1.AnalyzeOrgPoliciesRequest\x1a\x31.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse\"D\x82\xd3\xe4\x93\x02$\x12\"/v1/{scope=*/*}:analyzeOrgPolicies\xda\x41\x17scope,constraint,filter\x12\xff\x01\n\"AnalyzeOrgPolicyGovernedContainers\x12@.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest\x1a\x41.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse\"T\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{scope=*/*}:analyzeOrgPolicyGovernedContainers\xda\x41\x17scope,constraint,filter\x12\xef\x01\n\x1e\x41nalyzeOrgPolicyGovernedAssets\x12<.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest\x1a=.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse\"P\x82\xd3\xe4\x93\x02\x30\x12./v1/{scope=*/*}:analyzeOrgPolicyGovernedAssets\xda\x41\x17scope,constraint,filter\x1aM\xca\x41\x19\x63loudasset.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x91\x01\n\x19\x63om.google.cloud.asset.v1B\x11\x41ssetServiceProtoP\x01Z/cloud.google.com/go/asset/apiv1/assetpb;assetpb\xaa\x02\x15Google.Cloud.Asset.V1\xca\x02\x15Google\\Cloud\\Asset\\V1b\x06proto3"
|
24
|
+
|
25
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
26
|
+
|
27
|
+
begin
|
28
|
+
pool.add_serialized_file(descriptor_data)
|
29
|
+
rescue TypeError => e
|
30
|
+
# Compatibility code: will be removed in the next major version.
|
31
|
+
require 'google/protobuf/descriptor_pb'
|
32
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
33
|
+
parsed.clear_dependency
|
34
|
+
serialized = parsed.class.encode(parsed)
|
35
|
+
file = pool.add_serialized_file(serialized)
|
36
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
37
|
+
imports = [
|
38
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
39
|
+
["google.cloud.asset.v1.Asset", "google/cloud/asset/v1/assets.proto"],
|
40
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
41
|
+
["google.type.Expr", "google/type/expr.proto"],
|
42
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
43
|
+
["google.rpc.Status", "google/rpc/status.proto"],
|
44
|
+
["google.protobuf.Struct", "google/protobuf/struct.proto"],
|
45
|
+
["google.iam.v1.Policy", "google/iam/v1/policy.proto"],
|
46
|
+
]
|
47
|
+
imports.each do |type_name, expected_filename|
|
48
|
+
import_file = pool.lookup(type_name).file_descriptor
|
49
|
+
if import_file.name != expected_filename
|
50
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
506
51
|
end
|
507
52
|
end
|
53
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
54
|
+
warn "This will become an error in the next major version."
|
508
55
|
end
|
509
56
|
|
510
57
|
module Google
|