google-cloud-asset-v1 0.28.0 → 0.28.1
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/lib/google/cloud/asset/v1/asset_service/client.rb +68 -42
- data/lib/google/cloud/asset/v1/asset_service/rest/client.rb +68 -42
- data/lib/google/cloud/asset/v1/asset_service_pb.rb +1 -1
- data/lib/google/cloud/asset/v1/asset_service_services_pb.rb +1 -1
- data/lib/google/cloud/asset/v1/assets_pb.rb +1 -2
- data/lib/google/cloud/asset/v1/version.rb +1 -1
- data/proto_docs/google/cloud/asset/v1/asset_service.rb +66 -40
- data/proto_docs/google/cloud/asset/v1/assets.rb +11 -17
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c67b73d598930bfc47dd2e882d34d13cec911b3ea0ce52056759e85ef3a44208
|
|
4
|
+
data.tar.gz: fab0851234a71440509abaf9d2aa972adc1f8cc44c9224a57e93a27d185aeff6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1aa714630a9020b57a30a5d2079ec5eb6cf75a7620d6dcc6e2219f677d0e724c027ce4bdca0ecd529ca621e75d4b80a1d49ef967fd5a4584d9b6cbeab30afdb0
|
|
7
|
+
data.tar.gz: d94d925daefa019d4e2a64f1f59f73c106662c258f6b0c0b03d585ac5e4dbb6380141602898cbdad407cf446e5b573ca24d3c5b19121aecb0e73a8310005354e
|
|
@@ -1188,31 +1188,31 @@ module Google
|
|
|
1188
1188
|
# * `labels.env:*` to find Google Cloud resources that have a label `env`.
|
|
1189
1189
|
# * `tagKeys:env` to find Google Cloud resources that have directly
|
|
1190
1190
|
# attached tags where the
|
|
1191
|
-
# [`TagKey`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
|
|
1192
|
-
#
|
|
1191
|
+
# [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
|
|
1192
|
+
# contains `env`.
|
|
1193
1193
|
# * `tagValues:prod*` to find Google Cloud resources that have directly
|
|
1194
1194
|
# attached tags where the
|
|
1195
|
-
# [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1196
|
-
#
|
|
1195
|
+
# [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1196
|
+
# contains a word prefixed by `prod`.
|
|
1197
1197
|
# * `tagValueIds=tagValues/123` to find Google Cloud resources that have
|
|
1198
1198
|
# directly attached tags where the
|
|
1199
|
-
# [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1200
|
-
#
|
|
1199
|
+
# [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1200
|
+
# is exactly `tagValues/123`.
|
|
1201
1201
|
# * `effectiveTagKeys:env` to find Google Cloud resources that have
|
|
1202
1202
|
# directly attached or inherited tags where the
|
|
1203
|
-
# [`TagKey`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
|
|
1204
|
-
#
|
|
1203
|
+
# [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
|
|
1204
|
+
# contains `env`.
|
|
1205
1205
|
# * `effectiveTagValues:prod*` to find Google Cloud resources that have
|
|
1206
1206
|
# directly attached or inherited tags where the
|
|
1207
|
-
# [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1208
|
-
#
|
|
1207
|
+
# [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1208
|
+
# contains a word prefixed by `prod`.
|
|
1209
1209
|
# * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that
|
|
1210
1210
|
# have directly attached or inherited tags where the
|
|
1211
|
-
# [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1212
|
-
#
|
|
1211
|
+
# [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1212
|
+
# is exactly `tagValues/123`.
|
|
1213
1213
|
# * `kmsKey:key` to find Google Cloud resources encrypted with a
|
|
1214
1214
|
# customer-managed encryption key whose name contains `key` as a word. This
|
|
1215
|
-
# field is deprecated.
|
|
1215
|
+
# field is deprecated. Use the `kmsKeys` field to retrieve Cloud KMS
|
|
1216
1216
|
# key information.
|
|
1217
1217
|
# * `kmsKeys:key` to find Google Cloud resources encrypted with
|
|
1218
1218
|
# customer-managed encryption keys whose name contains the word `key`.
|
|
@@ -1224,6 +1224,10 @@ module Google
|
|
|
1224
1224
|
# Compute Engine instances that have relationships with `instance-group-1`
|
|
1225
1225
|
# in the Compute Engine instance group resource name, for relationship type
|
|
1226
1226
|
# `INSTANCE_TO_INSTANCEGROUP`.
|
|
1227
|
+
# * `sccSecurityMarks.key=value` to find Cloud resources that are attached
|
|
1228
|
+
# with security marks whose key is `key` and value is `value`.
|
|
1229
|
+
# * `sccSecurityMarks.key:*` to find Cloud resources that are attached with
|
|
1230
|
+
# security marks whose key is `key`.
|
|
1227
1231
|
# * `state:ACTIVE` to find Google Cloud resources whose state contains
|
|
1228
1232
|
# `ACTIVE` as a word.
|
|
1229
1233
|
# * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't
|
|
@@ -1245,7 +1249,7 @@ module Google
|
|
|
1245
1249
|
# @param asset_types [::Array<::String>]
|
|
1246
1250
|
# Optional. A list of asset types that this request searches for. If empty,
|
|
1247
1251
|
# it will search all the [searchable asset
|
|
1248
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
1252
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
|
|
1249
1253
|
#
|
|
1250
1254
|
# Regular expressions are also supported. For example:
|
|
1251
1255
|
#
|
|
@@ -1480,7 +1484,7 @@ module Google
|
|
|
1480
1484
|
# Optional. A list of asset types that the IAM policies are attached to. If
|
|
1481
1485
|
# empty, it will search the IAM policies that are attached to all the
|
|
1482
1486
|
# [searchable asset
|
|
1483
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
1487
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
|
|
1484
1488
|
#
|
|
1485
1489
|
# Regular expressions are also supported. For example:
|
|
1486
1490
|
#
|
|
@@ -1606,7 +1610,7 @@ module Google
|
|
|
1606
1610
|
# If both `analysis_query` and `saved_analysis_query` are provided, they
|
|
1607
1611
|
# will be merged together with the `saved_analysis_query` as base and
|
|
1608
1612
|
# the `analysis_query` as overrides. For more details of the merge behavior,
|
|
1609
|
-
#
|
|
1613
|
+
# refer to the
|
|
1610
1614
|
# [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)
|
|
1611
1615
|
# page.
|
|
1612
1616
|
#
|
|
@@ -1729,7 +1733,7 @@ module Google
|
|
|
1729
1733
|
# If both `analysis_query` and `saved_analysis_query` are provided, they
|
|
1730
1734
|
# will be merged together with the `saved_analysis_query` as base and
|
|
1731
1735
|
# the `analysis_query` as overrides. For more details of the merge behavior,
|
|
1732
|
-
#
|
|
1736
|
+
# refer to the
|
|
1733
1737
|
# [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)
|
|
1734
1738
|
# doc.
|
|
1735
1739
|
#
|
|
@@ -2583,7 +2587,7 @@ module Google
|
|
|
2583
2587
|
# Required. The names refer to the [full_resource_names]
|
|
2584
2588
|
# (https://cloud.google.com/asset-inventory/docs/resource-name-format)
|
|
2585
2589
|
# of [searchable asset
|
|
2586
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
2590
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
|
|
2587
2591
|
# A maximum of 20 resources' effective policies can be retrieved in a batch.
|
|
2588
2592
|
#
|
|
2589
2593
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
@@ -2680,12 +2684,15 @@ module Google
|
|
|
2680
2684
|
# @param filter [::String]
|
|
2681
2685
|
# The expression to filter
|
|
2682
2686
|
# {::Google::Cloud::Asset::V1::AnalyzeOrgPoliciesResponse#org_policy_results AnalyzeOrgPoliciesResponse.org_policy_results}.
|
|
2683
|
-
#
|
|
2684
|
-
#
|
|
2687
|
+
# Filtering is currently available for bare literal values and the following
|
|
2688
|
+
# fields:
|
|
2689
|
+
# * consolidated_policy.attached_resource
|
|
2690
|
+
# * consolidated_policy.rules.enforce
|
|
2685
2691
|
#
|
|
2686
|
-
#
|
|
2692
|
+
# When filtering by a specific field, the only supported operator is `=`.
|
|
2693
|
+
# For example, filtering by
|
|
2687
2694
|
# consolidated_policy.attached_resource="//cloudresourcemanager.googleapis.com/folders/001"
|
|
2688
|
-
# will return the
|
|
2695
|
+
# will return all the Organization Policy results attached to "folders/001".
|
|
2689
2696
|
# @param page_size [::Integer]
|
|
2690
2697
|
# The maximum number of items to return per page. If unspecified,
|
|
2691
2698
|
# {::Google::Cloud::Asset::V1::AnalyzeOrgPoliciesResponse#org_policy_results AnalyzeOrgPoliciesResponse.org_policy_results}
|
|
@@ -2793,13 +2800,17 @@ module Google
|
|
|
2793
2800
|
# The analysis only contains organization policies for the provided
|
|
2794
2801
|
# constraint.
|
|
2795
2802
|
# @param filter [::String]
|
|
2796
|
-
# The expression to filter
|
|
2797
|
-
#
|
|
2798
|
-
#
|
|
2799
|
-
#
|
|
2800
|
-
#
|
|
2801
|
-
#
|
|
2802
|
-
#
|
|
2803
|
+
# The expression to filter
|
|
2804
|
+
# {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse#governed_containers AnalyzeOrgPolicyGovernedContainersResponse.governed_containers}.
|
|
2805
|
+
# Filtering is currently available for bare literal values and the following
|
|
2806
|
+
# fields:
|
|
2807
|
+
# * parent
|
|
2808
|
+
# * consolidated_policy.rules.enforce
|
|
2809
|
+
#
|
|
2810
|
+
# When filtering by a specific field, the only supported operator is `=`.
|
|
2811
|
+
# For example, filtering by
|
|
2812
|
+
# parent="//cloudresourcemanager.googleapis.com/folders/001"
|
|
2813
|
+
# will return all the containers under "folders/001".
|
|
2803
2814
|
# @param page_size [::Integer]
|
|
2804
2815
|
# The maximum number of items to return per page. If unspecified,
|
|
2805
2816
|
# {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse#governed_containers AnalyzeOrgPolicyGovernedContainersResponse.governed_containers}
|
|
@@ -2894,7 +2905,7 @@ module Google
|
|
|
2894
2905
|
#
|
|
2895
2906
|
# This RPC only returns either resources of types supported by [searchable
|
|
2896
2907
|
# asset
|
|
2897
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
2908
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types),
|
|
2898
2909
|
# or IAM policies.
|
|
2899
2910
|
#
|
|
2900
2911
|
# @overload analyze_org_policy_governed_assets(request, options = nil)
|
|
@@ -2924,18 +2935,33 @@ module Google
|
|
|
2924
2935
|
# analysis only contains analyzed organization policies for the provided
|
|
2925
2936
|
# constraint.
|
|
2926
2937
|
# @param filter [::String]
|
|
2927
|
-
# The expression to filter
|
|
2928
|
-
#
|
|
2929
|
-
#
|
|
2930
|
-
#
|
|
2931
|
-
#
|
|
2932
|
-
#
|
|
2933
|
-
#
|
|
2934
|
-
#
|
|
2935
|
-
#
|
|
2936
|
-
#
|
|
2937
|
-
#
|
|
2938
|
-
#
|
|
2938
|
+
# The expression to filter
|
|
2939
|
+
# {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse#governed_assets AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets}.
|
|
2940
|
+
#
|
|
2941
|
+
# For governed resources, filtering is currently available for bare literal
|
|
2942
|
+
# values and the following fields:
|
|
2943
|
+
# * governed_resource.project
|
|
2944
|
+
# * governed_resource.folders
|
|
2945
|
+
# * consolidated_policy.rules.enforce
|
|
2946
|
+
# When filtering by `governed_resource.project` or
|
|
2947
|
+
# `consolidated_policy.rules.enforce`, the only supported operator is `=`.
|
|
2948
|
+
# When filtering by `governed_resource.folders`, the supported operators
|
|
2949
|
+
# are `=` and `:`.
|
|
2950
|
+
# For example, filtering by `governed_resource.project="projects/12345678"`
|
|
2951
|
+
# will return all the governed resources under "projects/12345678",
|
|
2952
|
+
# including the project itself if applicable.
|
|
2953
|
+
#
|
|
2954
|
+
# For governed IAM policies, filtering is currently available for bare
|
|
2955
|
+
# literal values and the following fields:
|
|
2956
|
+
# * governed_iam_policy.project
|
|
2957
|
+
# * governed_iam_policy.folders
|
|
2958
|
+
# * consolidated_policy.rules.enforce
|
|
2959
|
+
# When filtering by `governed_iam_policy.project` or
|
|
2960
|
+
# `consolidated_policy.rules.enforce`, the only supported operator is `=`.
|
|
2961
|
+
# When filtering by `governed_iam_policy.folders`, the supported operators
|
|
2962
|
+
# are `=` and `:`.
|
|
2963
|
+
# For example, filtering by `governed_iam_policy.folders:"folders/12345678"`
|
|
2964
|
+
# will return all the governed IAM policies under "folders/001".
|
|
2939
2965
|
# @param page_size [::Integer]
|
|
2940
2966
|
# The maximum number of items to return per page. If unspecified,
|
|
2941
2967
|
# {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse#governed_assets AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets}
|
|
@@ -1122,31 +1122,31 @@ module Google
|
|
|
1122
1122
|
# * `labels.env:*` to find Google Cloud resources that have a label `env`.
|
|
1123
1123
|
# * `tagKeys:env` to find Google Cloud resources that have directly
|
|
1124
1124
|
# attached tags where the
|
|
1125
|
-
# [`TagKey`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
|
|
1126
|
-
#
|
|
1125
|
+
# [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
|
|
1126
|
+
# contains `env`.
|
|
1127
1127
|
# * `tagValues:prod*` to find Google Cloud resources that have directly
|
|
1128
1128
|
# attached tags where the
|
|
1129
|
-
# [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1130
|
-
#
|
|
1129
|
+
# [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1130
|
+
# contains a word prefixed by `prod`.
|
|
1131
1131
|
# * `tagValueIds=tagValues/123` to find Google Cloud resources that have
|
|
1132
1132
|
# directly attached tags where the
|
|
1133
|
-
# [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1134
|
-
#
|
|
1133
|
+
# [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1134
|
+
# is exactly `tagValues/123`.
|
|
1135
1135
|
# * `effectiveTagKeys:env` to find Google Cloud resources that have
|
|
1136
1136
|
# directly attached or inherited tags where the
|
|
1137
|
-
# [`TagKey`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
|
|
1138
|
-
#
|
|
1137
|
+
# [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
|
|
1138
|
+
# contains `env`.
|
|
1139
1139
|
# * `effectiveTagValues:prod*` to find Google Cloud resources that have
|
|
1140
1140
|
# directly attached or inherited tags where the
|
|
1141
|
-
# [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1142
|
-
#
|
|
1141
|
+
# [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1142
|
+
# contains a word prefixed by `prod`.
|
|
1143
1143
|
# * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that
|
|
1144
1144
|
# have directly attached or inherited tags where the
|
|
1145
|
-
# [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1146
|
-
#
|
|
1145
|
+
# [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
1146
|
+
# is exactly `tagValues/123`.
|
|
1147
1147
|
# * `kmsKey:key` to find Google Cloud resources encrypted with a
|
|
1148
1148
|
# customer-managed encryption key whose name contains `key` as a word. This
|
|
1149
|
-
# field is deprecated.
|
|
1149
|
+
# field is deprecated. Use the `kmsKeys` field to retrieve Cloud KMS
|
|
1150
1150
|
# key information.
|
|
1151
1151
|
# * `kmsKeys:key` to find Google Cloud resources encrypted with
|
|
1152
1152
|
# customer-managed encryption keys whose name contains the word `key`.
|
|
@@ -1158,6 +1158,10 @@ module Google
|
|
|
1158
1158
|
# Compute Engine instances that have relationships with `instance-group-1`
|
|
1159
1159
|
# in the Compute Engine instance group resource name, for relationship type
|
|
1160
1160
|
# `INSTANCE_TO_INSTANCEGROUP`.
|
|
1161
|
+
# * `sccSecurityMarks.key=value` to find Cloud resources that are attached
|
|
1162
|
+
# with security marks whose key is `key` and value is `value`.
|
|
1163
|
+
# * `sccSecurityMarks.key:*` to find Cloud resources that are attached with
|
|
1164
|
+
# security marks whose key is `key`.
|
|
1161
1165
|
# * `state:ACTIVE` to find Google Cloud resources whose state contains
|
|
1162
1166
|
# `ACTIVE` as a word.
|
|
1163
1167
|
# * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't
|
|
@@ -1179,7 +1183,7 @@ module Google
|
|
|
1179
1183
|
# @param asset_types [::Array<::String>]
|
|
1180
1184
|
# Optional. A list of asset types that this request searches for. If empty,
|
|
1181
1185
|
# it will search all the [searchable asset
|
|
1182
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
1186
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
|
|
1183
1187
|
#
|
|
1184
1188
|
# Regular expressions are also supported. For example:
|
|
1185
1189
|
#
|
|
@@ -1407,7 +1411,7 @@ module Google
|
|
|
1407
1411
|
# Optional. A list of asset types that the IAM policies are attached to. If
|
|
1408
1412
|
# empty, it will search the IAM policies that are attached to all the
|
|
1409
1413
|
# [searchable asset
|
|
1410
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
1414
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
|
|
1411
1415
|
#
|
|
1412
1416
|
# Regular expressions are also supported. For example:
|
|
1413
1417
|
#
|
|
@@ -1526,7 +1530,7 @@ module Google
|
|
|
1526
1530
|
# If both `analysis_query` and `saved_analysis_query` are provided, they
|
|
1527
1531
|
# will be merged together with the `saved_analysis_query` as base and
|
|
1528
1532
|
# the `analysis_query` as overrides. For more details of the merge behavior,
|
|
1529
|
-
#
|
|
1533
|
+
# refer to the
|
|
1530
1534
|
# [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)
|
|
1531
1535
|
# page.
|
|
1532
1536
|
#
|
|
@@ -1642,7 +1646,7 @@ module Google
|
|
|
1642
1646
|
# If both `analysis_query` and `saved_analysis_query` are provided, they
|
|
1643
1647
|
# will be merged together with the `saved_analysis_query` as base and
|
|
1644
1648
|
# the `analysis_query` as overrides. For more details of the merge behavior,
|
|
1645
|
-
#
|
|
1649
|
+
# refer to the
|
|
1646
1650
|
# [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)
|
|
1647
1651
|
# doc.
|
|
1648
1652
|
#
|
|
@@ -2440,7 +2444,7 @@ module Google
|
|
|
2440
2444
|
# Required. The names refer to the [full_resource_names]
|
|
2441
2445
|
# (https://cloud.google.com/asset-inventory/docs/resource-name-format)
|
|
2442
2446
|
# of [searchable asset
|
|
2443
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
2447
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
|
|
2444
2448
|
# A maximum of 20 resources' effective policies can be retrieved in a batch.
|
|
2445
2449
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2446
2450
|
# @yieldparam result [::Google::Cloud::Asset::V1::BatchGetEffectiveIamPoliciesResponse]
|
|
@@ -2530,12 +2534,15 @@ module Google
|
|
|
2530
2534
|
# @param filter [::String]
|
|
2531
2535
|
# The expression to filter
|
|
2532
2536
|
# {::Google::Cloud::Asset::V1::AnalyzeOrgPoliciesResponse#org_policy_results AnalyzeOrgPoliciesResponse.org_policy_results}.
|
|
2533
|
-
#
|
|
2534
|
-
#
|
|
2537
|
+
# Filtering is currently available for bare literal values and the following
|
|
2538
|
+
# fields:
|
|
2539
|
+
# * consolidated_policy.attached_resource
|
|
2540
|
+
# * consolidated_policy.rules.enforce
|
|
2535
2541
|
#
|
|
2536
|
-
#
|
|
2542
|
+
# When filtering by a specific field, the only supported operator is `=`.
|
|
2543
|
+
# For example, filtering by
|
|
2537
2544
|
# consolidated_policy.attached_resource="//cloudresourcemanager.googleapis.com/folders/001"
|
|
2538
|
-
# will return the
|
|
2545
|
+
# will return all the Organization Policy results attached to "folders/001".
|
|
2539
2546
|
# @param page_size [::Integer]
|
|
2540
2547
|
# The maximum number of items to return per page. If unspecified,
|
|
2541
2548
|
# {::Google::Cloud::Asset::V1::AnalyzeOrgPoliciesResponse#org_policy_results AnalyzeOrgPoliciesResponse.org_policy_results}
|
|
@@ -2636,13 +2643,17 @@ module Google
|
|
|
2636
2643
|
# The analysis only contains organization policies for the provided
|
|
2637
2644
|
# constraint.
|
|
2638
2645
|
# @param filter [::String]
|
|
2639
|
-
# The expression to filter
|
|
2640
|
-
#
|
|
2641
|
-
#
|
|
2642
|
-
#
|
|
2643
|
-
#
|
|
2644
|
-
#
|
|
2645
|
-
#
|
|
2646
|
+
# The expression to filter
|
|
2647
|
+
# {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse#governed_containers AnalyzeOrgPolicyGovernedContainersResponse.governed_containers}.
|
|
2648
|
+
# Filtering is currently available for bare literal values and the following
|
|
2649
|
+
# fields:
|
|
2650
|
+
# * parent
|
|
2651
|
+
# * consolidated_policy.rules.enforce
|
|
2652
|
+
#
|
|
2653
|
+
# When filtering by a specific field, the only supported operator is `=`.
|
|
2654
|
+
# For example, filtering by
|
|
2655
|
+
# parent="//cloudresourcemanager.googleapis.com/folders/001"
|
|
2656
|
+
# will return all the containers under "folders/001".
|
|
2646
2657
|
# @param page_size [::Integer]
|
|
2647
2658
|
# The maximum number of items to return per page. If unspecified,
|
|
2648
2659
|
# {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse#governed_containers AnalyzeOrgPolicyGovernedContainersResponse.governed_containers}
|
|
@@ -2730,7 +2741,7 @@ module Google
|
|
|
2730
2741
|
#
|
|
2731
2742
|
# This RPC only returns either resources of types supported by [searchable
|
|
2732
2743
|
# asset
|
|
2733
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
2744
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types),
|
|
2734
2745
|
# or IAM policies.
|
|
2735
2746
|
#
|
|
2736
2747
|
# @overload analyze_org_policy_governed_assets(request, options = nil)
|
|
@@ -2760,18 +2771,33 @@ module Google
|
|
|
2760
2771
|
# analysis only contains analyzed organization policies for the provided
|
|
2761
2772
|
# constraint.
|
|
2762
2773
|
# @param filter [::String]
|
|
2763
|
-
# The expression to filter
|
|
2764
|
-
#
|
|
2765
|
-
#
|
|
2766
|
-
#
|
|
2767
|
-
#
|
|
2768
|
-
#
|
|
2769
|
-
#
|
|
2770
|
-
#
|
|
2771
|
-
#
|
|
2772
|
-
#
|
|
2773
|
-
#
|
|
2774
|
-
#
|
|
2774
|
+
# The expression to filter
|
|
2775
|
+
# {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse#governed_assets AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets}.
|
|
2776
|
+
#
|
|
2777
|
+
# For governed resources, filtering is currently available for bare literal
|
|
2778
|
+
# values and the following fields:
|
|
2779
|
+
# * governed_resource.project
|
|
2780
|
+
# * governed_resource.folders
|
|
2781
|
+
# * consolidated_policy.rules.enforce
|
|
2782
|
+
# When filtering by `governed_resource.project` or
|
|
2783
|
+
# `consolidated_policy.rules.enforce`, the only supported operator is `=`.
|
|
2784
|
+
# When filtering by `governed_resource.folders`, the supported operators
|
|
2785
|
+
# are `=` and `:`.
|
|
2786
|
+
# For example, filtering by `governed_resource.project="projects/12345678"`
|
|
2787
|
+
# will return all the governed resources under "projects/12345678",
|
|
2788
|
+
# including the project itself if applicable.
|
|
2789
|
+
#
|
|
2790
|
+
# For governed IAM policies, filtering is currently available for bare
|
|
2791
|
+
# literal values and the following fields:
|
|
2792
|
+
# * governed_iam_policy.project
|
|
2793
|
+
# * governed_iam_policy.folders
|
|
2794
|
+
# * consolidated_policy.rules.enforce
|
|
2795
|
+
# When filtering by `governed_iam_policy.project` or
|
|
2796
|
+
# `consolidated_policy.rules.enforce`, the only supported operator is `=`.
|
|
2797
|
+
# When filtering by `governed_iam_policy.folders`, the supported operators
|
|
2798
|
+
# are `=` and `:`.
|
|
2799
|
+
# For example, filtering by `governed_iam_policy.folders:"folders/12345678"`
|
|
2800
|
+
# will return all the governed IAM policies under "folders/001".
|
|
2775
2801
|
# @param page_size [::Integer]
|
|
2776
2802
|
# The maximum number of items to return per page. If unspecified,
|
|
2777
2803
|
# {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse#governed_assets AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets}
|
|
@@ -20,7 +20,7 @@ require 'google/rpc/status_pb'
|
|
|
20
20
|
require 'google/type/expr_pb'
|
|
21
21
|
|
|
22
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"
|
|
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\"\x8c\x02\n\x12\x41nalyzeMoveRequest\x12\x45\n\x08resource\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12%\n\x12\x64\x65stination_parent\x18\x02 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\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
24
|
|
|
25
25
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
26
26
|
|
|
@@ -144,7 +144,7 @@ module Google
|
|
|
144
144
|
#
|
|
145
145
|
# This RPC only returns either resources of types supported by [searchable
|
|
146
146
|
# asset
|
|
147
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
147
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types),
|
|
148
148
|
# or IAM policies.
|
|
149
149
|
rpc :AnalyzeOrgPolicyGovernedAssets, ::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsRequest, ::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse
|
|
150
150
|
end
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
|
-
require 'google/api/field_behavior_pb'
|
|
8
7
|
require 'google/api/resource_pb'
|
|
9
8
|
require 'google/cloud/orgpolicy/v1/orgpolicy_pb'
|
|
10
9
|
require 'google/cloud/osconfig/v1/inventory_pb'
|
|
@@ -17,7 +16,7 @@ require 'google/protobuf/timestamp_pb'
|
|
|
17
16
|
require 'google/rpc/code_pb'
|
|
18
17
|
|
|
19
18
|
|
|
20
|
-
descriptor_data = "\n\"google/cloud/asset/v1/assets.proto\x12\x15google.cloud.asset.v1\x1a\
|
|
19
|
+
descriptor_data = "\n\"google/cloud/asset/v1/assets.proto\x12\x15google.cloud.asset.v1\x1a\x19google/api/resource.proto\x1a)google/cloud/orgpolicy/v1/orgpolicy.proto\x1a(google/cloud/osconfig/v1/inventory.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a:google/identity/accesscontextmanager/v1/access_level.proto\x1a;google/identity/accesscontextmanager/v1/access_policy.proto\x1a?google/identity/accesscontextmanager/v1/service_perimeter.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\"\xf5\x02\n\rTemporalAsset\x12\x31\n\x06window\x18\x01 \x01(\x0b\x32!.google.cloud.asset.v1.TimeWindow\x12\x0f\n\x07\x64\x65leted\x18\x02 \x01(\x08\x12+\n\x05\x61sset\x18\x03 \x01(\x0b\x32\x1c.google.cloud.asset.v1.Asset\x12O\n\x11prior_asset_state\x18\x04 \x01(\x0e\x32\x34.google.cloud.asset.v1.TemporalAsset.PriorAssetState\x12\x31\n\x0bprior_asset\x18\x05 \x01(\x0b\x32\x1c.google.cloud.asset.v1.Asset\"o\n\x0fPriorAssetState\x12!\n\x1dPRIOR_ASSET_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRESENT\x10\x01\x12\x0b\n\x07INVALID\x10\x02\x12\x12\n\x0e\x44OES_NOT_EXIST\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04\"j\n\nTimeWindow\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xf3\x05\n\x05\x41sset\x12/\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nasset_type\x18\x02 \x01(\t\x12\x31\n\x08resource\x18\x03 \x01(\x0b\x32\x1f.google.cloud.asset.v1.Resource\x12)\n\niam_policy\x18\x04 \x01(\x0b\x32\x15.google.iam.v1.Policy\x12\x35\n\norg_policy\x18\x06 \x03(\x0b\x32!.google.cloud.orgpolicy.v1.Policy\x12N\n\raccess_policy\x18\x07 \x01(\x0b\x32\x35.google.identity.accesscontextmanager.v1.AccessPolicyH\x00\x12L\n\x0c\x61\x63\x63\x65ss_level\x18\x08 \x01(\x0b\x32\x34.google.identity.accesscontextmanager.v1.AccessLevelH\x00\x12V\n\x11service_perimeter\x18\t \x01(\x0b\x32\x39.google.identity.accesscontextmanager.v1.ServicePerimeterH\x00\x12\x39\n\x0cos_inventory\x18\x0c \x01(\x0b\x32#.google.cloud.osconfig.v1.Inventory\x12@\n\x0erelated_assets\x18\r \x01(\x0b\x32$.google.cloud.asset.v1.RelatedAssetsB\x02\x18\x01\x12:\n\rrelated_asset\x18\x0f \x01(\x0b\x32#.google.cloud.asset.v1.RelatedAsset\x12\x11\n\tancestors\x18\n \x03(\t:\'\xea\x41$\n\x1f\x63loudasset.googleapis.com/Asset\x12\x01*B\x17\n\x15\x61\x63\x63\x65ss_context_policy\"\xb2\x01\n\x08Resource\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x1e\n\x16\x64iscovery_document_uri\x18\x02 \x01(\t\x12\x16\n\x0e\x64iscovery_name\x18\x03 \x01(\t\x12\x14\n\x0cresource_url\x18\x04 \x01(\t\x12\x0e\n\x06parent\x18\x05 \x01(\t\x12%\n\x04\x64\x61ta\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x10\n\x08location\x18\x08 \x01(\t\"\x98\x01\n\rRelatedAssets\x12N\n\x17relationship_attributes\x18\x01 \x01(\x0b\x32-.google.cloud.asset.v1.RelationshipAttributes\x12\x33\n\x06\x61ssets\x18\x02 \x03(\x0b\x32#.google.cloud.asset.v1.RelatedAsset:\x02\x18\x01\"v\n\x16RelationshipAttributes\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\x1c\n\x14source_resource_type\x18\x01 \x01(\t\x12\x1c\n\x14target_resource_type\x18\x02 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x03 \x01(\t:\x02\x18\x01\"\x85\x01\n\x0cRelatedAsset\x12\x33\n\x05\x61sset\x18\x01 \x01(\tB$\xfa\x41!\n\x1f\x63loudasset.googleapis.com/Asset\x12\x12\n\nasset_type\x18\x02 \x01(\t\x12\x11\n\tancestors\x18\x03 \x03(\t\x12\x19\n\x11relationship_type\x18\x04 \x01(\t\"y\n\x03Tag\x12\x14\n\x07tag_key\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x16\n\ttag_value\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0ctag_value_id\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\n\n\x08_tag_keyB\x0c\n\n_tag_valueB\x0f\n\r_tag_value_id\"\x7f\n\x13\x45\x66\x66\x65\x63tiveTagDetails\x12\x1e\n\x11\x61ttached_resource\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x32\n\x0e\x65\x66\x66\x65\x63tive_tags\x18\x02 \x03(\x0b\x32\x1a.google.cloud.asset.v1.TagB\x14\n\x12_attached_resource\"\xda\t\n\x14ResourceSearchResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nasset_type\x18\x02 \x01(\t\x12\x0f\n\x07project\x18\x03 \x01(\t\x12\x0f\n\x07\x66olders\x18\x11 \x03(\t\x12\x14\n\x0corganization\x18\x12 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x10\n\x08location\x18\x06 \x01(\t\x12G\n\x06labels\x18\x07 \x03(\x0b\x32\x37.google.cloud.asset.v1.ResourceSearchResult.LabelsEntry\x12\x14\n\x0cnetwork_tags\x18\x08 \x03(\t\x12\x13\n\x07kms_key\x18\n \x01(\tB\x02\x18\x01\x12\x10\n\x08kms_keys\x18\x1c \x03(\t\x12/\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05state\x18\r \x01(\t\x12\x36\n\x15\x61\x64\x64itional_attributes\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12!\n\x19parent_full_resource_name\x18\x13 \x01(\t\x12\x45\n\x13versioned_resources\x18\x10 \x03(\x0b\x32(.google.cloud.asset.v1.VersionedResource\x12\x43\n\x12\x61ttached_resources\x18\x14 \x03(\x0b\x32\'.google.cloud.asset.v1.AttachedResource\x12U\n\rrelationships\x18\x15 \x03(\x0b\x32>.google.cloud.asset.v1.ResourceSearchResult.RelationshipsEntry\x12\x14\n\x08tag_keys\x18\x17 \x03(\tB\x02\x18\x01\x12\x16\n\ntag_values\x18\x19 \x03(\tB\x02\x18\x01\x12\x19\n\rtag_value_ids\x18\x1a \x03(\tB\x02\x18\x01\x12(\n\x04tags\x18\x1d \x03(\x0b\x32\x1a.google.cloud.asset.v1.Tag\x12\x42\n\x0e\x65\x66\x66\x65\x63tive_tags\x18\x1e \x03(\x0b\x32*.google.cloud.asset.v1.EffectiveTagDetails\x12\x19\n\x11parent_asset_type\x18g \x01(\t\x12]\n\x12scc_security_marks\x18 \x03(\x0b\x32\x41.google.cloud.asset.v1.ResourceSearchResult.SccSecurityMarksEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a]\n\x12RelationshipsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.asset.v1.RelatedResources:\x02\x38\x01\x1a\x37\n\x15SccSecurityMarksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"O\n\x11VersionedResource\x12\x0f\n\x07version\x18\x01 \x01(\t\x12)\n\x08resource\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"m\n\x10\x41ttachedResource\x12\x12\n\nasset_type\x18\x01 \x01(\t\x12\x45\n\x13versioned_resources\x18\x03 \x03(\x0b\x32(.google.cloud.asset.v1.VersionedResource\"U\n\x10RelatedResources\x12\x41\n\x11related_resources\x18\x01 \x03(\x0b\x32&.google.cloud.asset.v1.RelatedResource\"A\n\x0fRelatedResource\x12\x12\n\nasset_type\x18\x01 \x01(\t\x12\x1a\n\x12\x66ull_resource_name\x18\x02 \x01(\t\"\x8f\x04\n\x15IamPolicySearchResult\x12\x10\n\x08resource\x18\x01 \x01(\t\x12\x12\n\nasset_type\x18\x05 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12\x0f\n\x07\x66olders\x18\x06 \x03(\t\x12\x14\n\x0corganization\x18\x07 \x01(\t\x12%\n\x06policy\x18\x03 \x01(\x0b\x32\x15.google.iam.v1.Policy\x12M\n\x0b\x65xplanation\x18\x04 \x01(\x0b\x32\x38.google.cloud.asset.v1.IamPolicySearchResult.Explanation\x1a\xa1\x02\n\x0b\x45xplanation\x12m\n\x13matched_permissions\x18\x01 \x03(\x0b\x32P.google.cloud.asset.v1.IamPolicySearchResult.Explanation.MatchedPermissionsEntry\x1a\"\n\x0bPermissions\x12\x13\n\x0bpermissions\x18\x01 \x03(\t\x1a\x7f\n\x17MatchedPermissionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12S\n\x05value\x18\x02 \x01(\x0b\x32\x44.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions:\x02\x38\x01\"G\n\x16IamPolicyAnalysisState\x12\x1e\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x10.google.rpc.Code\x12\r\n\x05\x63\x61use\x18\x02 \x01(\t\"\xc6\x01\n\x13\x43onditionEvaluation\x12T\n\x10\x65valuation_value\x18\x01 \x01(\x0e\x32:.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue\"Y\n\x0f\x45valuationValue\x12 \n\x1c\x45VALUATION_VALUE_UNSPECIFIED\x10\x00\x12\x08\n\x04TRUE\x10\x01\x12\t\n\x05\x46\x41LSE\x10\x02\x12\x0f\n\x0b\x43ONDITIONAL\x10\x03\"\xab\t\n\x17IamPolicyAnalysisResult\x12#\n\x1b\x61ttached_resource_full_name\x18\x01 \x01(\t\x12+\n\x0biam_binding\x18\x02 \x01(\x0b\x32\x16.google.iam.v1.Binding\x12^\n\x14\x61\x63\x63\x65ss_control_lists\x18\x03 \x03(\x0b\x32@.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList\x12R\n\ridentity_list\x18\x04 \x01(\x0b\x32;.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList\x12\x16\n\x0e\x66ully_explored\x18\x05 \x01(\x08\x1am\n\x08Resource\x12\x1a\n\x12\x66ull_resource_name\x18\x01 \x01(\t\x12\x45\n\x0e\x61nalysis_state\x18\x02 \x01(\x0b\x32-.google.cloud.asset.v1.IamPolicyAnalysisState\x1a\x85\x01\n\x06\x41\x63\x63\x65ss\x12\x0e\n\x04role\x18\x01 \x01(\tH\x00\x12\x14\n\npermission\x18\x02 \x01(\tH\x00\x12\x45\n\x0e\x61nalysis_state\x18\x03 \x01(\x0b\x32-.google.cloud.asset.v1.IamPolicyAnalysisStateB\x0e\n\x0coneof_access\x1a_\n\x08Identity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x45\n\x0e\x61nalysis_state\x18\x02 \x01(\x0b\x32-.google.cloud.asset.v1.IamPolicyAnalysisState\x1a\x30\n\x04\x45\x64ge\x12\x13\n\x0bsource_node\x18\x01 \x01(\t\x12\x13\n\x0btarget_node\x18\x02 \x01(\t\x1a\xbf\x02\n\x11\x41\x63\x63\x65ssControlList\x12J\n\tresources\x18\x01 \x03(\x0b\x32\x37.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource\x12G\n\x08\x61\x63\x63\x65sses\x18\x02 \x03(\x0b\x32\x35.google.cloud.asset.v1.IamPolicyAnalysisResult.Access\x12K\n\x0eresource_edges\x18\x03 \x03(\x0b\x32\x33.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge\x12H\n\x14\x63ondition_evaluation\x18\x04 \x01(\x0b\x32*.google.cloud.asset.v1.ConditionEvaluation\x1a\xa5\x01\n\x0cIdentityList\x12K\n\nidentities\x18\x01 \x03(\x0b\x32\x37.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity\x12H\n\x0bgroup_edges\x18\x02 \x03(\x0b\x32\x33.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeB\x8d\x01\n\x19\x63om.google.cloud.asset.v1B\nAssetProtoP\x01Z/cloud.google.com/go/asset/apiv1/assetpb;assetpb\xf8\x01\x01\xaa\x02\x15Google.Cloud.Asset.V1\xca\x02\x15Google\\Cloud\\Asset\\V1b\x06proto3"
|
|
21
20
|
|
|
22
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
23
22
|
|
|
@@ -649,31 +649,31 @@ module Google
|
|
|
649
649
|
# * `labels.env:*` to find Google Cloud resources that have a label `env`.
|
|
650
650
|
# * `tagKeys:env` to find Google Cloud resources that have directly
|
|
651
651
|
# attached tags where the
|
|
652
|
-
# [`TagKey`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
|
|
653
|
-
#
|
|
652
|
+
# [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
|
|
653
|
+
# contains `env`.
|
|
654
654
|
# * `tagValues:prod*` to find Google Cloud resources that have directly
|
|
655
655
|
# attached tags where the
|
|
656
|
-
# [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
657
|
-
#
|
|
656
|
+
# [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
657
|
+
# contains a word prefixed by `prod`.
|
|
658
658
|
# * `tagValueIds=tagValues/123` to find Google Cloud resources that have
|
|
659
659
|
# directly attached tags where the
|
|
660
|
-
# [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
661
|
-
#
|
|
660
|
+
# [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
661
|
+
# is exactly `tagValues/123`.
|
|
662
662
|
# * `effectiveTagKeys:env` to find Google Cloud resources that have
|
|
663
663
|
# directly attached or inherited tags where the
|
|
664
|
-
# [`TagKey`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
|
|
665
|
-
#
|
|
664
|
+
# [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
|
|
665
|
+
# contains `env`.
|
|
666
666
|
# * `effectiveTagValues:prod*` to find Google Cloud resources that have
|
|
667
667
|
# directly attached or inherited tags where the
|
|
668
|
-
# [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
669
|
-
#
|
|
668
|
+
# [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
669
|
+
# contains a word prefixed by `prod`.
|
|
670
670
|
# * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that
|
|
671
671
|
# have directly attached or inherited tags where the
|
|
672
|
-
# [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
673
|
-
#
|
|
672
|
+
# [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
|
|
673
|
+
# is exactly `tagValues/123`.
|
|
674
674
|
# * `kmsKey:key` to find Google Cloud resources encrypted with a
|
|
675
675
|
# customer-managed encryption key whose name contains `key` as a word. This
|
|
676
|
-
# field is deprecated.
|
|
676
|
+
# field is deprecated. Use the `kmsKeys` field to retrieve Cloud KMS
|
|
677
677
|
# key information.
|
|
678
678
|
# * `kmsKeys:key` to find Google Cloud resources encrypted with
|
|
679
679
|
# customer-managed encryption keys whose name contains the word `key`.
|
|
@@ -685,6 +685,10 @@ module Google
|
|
|
685
685
|
# Compute Engine instances that have relationships with `instance-group-1`
|
|
686
686
|
# in the Compute Engine instance group resource name, for relationship type
|
|
687
687
|
# `INSTANCE_TO_INSTANCEGROUP`.
|
|
688
|
+
# * `sccSecurityMarks.key=value` to find Cloud resources that are attached
|
|
689
|
+
# with security marks whose key is `key` and value is `value`.
|
|
690
|
+
# * `sccSecurityMarks.key:*` to find Cloud resources that are attached with
|
|
691
|
+
# security marks whose key is `key`.
|
|
688
692
|
# * `state:ACTIVE` to find Google Cloud resources whose state contains
|
|
689
693
|
# `ACTIVE` as a word.
|
|
690
694
|
# * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't
|
|
@@ -707,7 +711,7 @@ module Google
|
|
|
707
711
|
# @return [::Array<::String>]
|
|
708
712
|
# Optional. A list of asset types that this request searches for. If empty,
|
|
709
713
|
# it will search all the [searchable asset
|
|
710
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
714
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
|
|
711
715
|
#
|
|
712
716
|
# Regular expressions are also supported. For example:
|
|
713
717
|
#
|
|
@@ -881,7 +885,7 @@ module Google
|
|
|
881
885
|
# Optional. A list of asset types that the IAM policies are attached to. If
|
|
882
886
|
# empty, it will search the IAM policies that are attached to all the
|
|
883
887
|
# [searchable asset
|
|
884
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
888
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
|
|
885
889
|
#
|
|
886
890
|
# Regular expressions are also supported. For example:
|
|
887
891
|
#
|
|
@@ -1147,7 +1151,7 @@ module Google
|
|
|
1147
1151
|
# If both `analysis_query` and `saved_analysis_query` are provided, they
|
|
1148
1152
|
# will be merged together with the `saved_analysis_query` as base and
|
|
1149
1153
|
# the `analysis_query` as overrides. For more details of the merge behavior,
|
|
1150
|
-
#
|
|
1154
|
+
# refer to the
|
|
1151
1155
|
# [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)
|
|
1152
1156
|
# page.
|
|
1153
1157
|
#
|
|
@@ -1316,7 +1320,7 @@ module Google
|
|
|
1316
1320
|
# If both `analysis_query` and `saved_analysis_query` are provided, they
|
|
1317
1321
|
# will be merged together with the `saved_analysis_query` as base and
|
|
1318
1322
|
# the `analysis_query` as overrides. For more details of the merge behavior,
|
|
1319
|
-
#
|
|
1323
|
+
# refer to the
|
|
1320
1324
|
# [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)
|
|
1321
1325
|
# doc.
|
|
1322
1326
|
#
|
|
@@ -1830,7 +1834,7 @@ module Google
|
|
|
1830
1834
|
# Required. The names refer to the [full_resource_names]
|
|
1831
1835
|
# (https://cloud.google.com/asset-inventory/docs/resource-name-format)
|
|
1832
1836
|
# of [searchable asset
|
|
1833
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
1837
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
|
|
1834
1838
|
# A maximum of 20 resources' effective policies can be retrieved in a batch.
|
|
1835
1839
|
class BatchGetEffectiveIamPoliciesRequest
|
|
1836
1840
|
include ::Google::Protobuf::MessageExts
|
|
@@ -2156,12 +2160,15 @@ module Google
|
|
|
2156
2160
|
# @return [::String]
|
|
2157
2161
|
# The expression to filter
|
|
2158
2162
|
# {::Google::Cloud::Asset::V1::AnalyzeOrgPoliciesResponse#org_policy_results AnalyzeOrgPoliciesResponse.org_policy_results}.
|
|
2159
|
-
#
|
|
2160
|
-
#
|
|
2163
|
+
# Filtering is currently available for bare literal values and the following
|
|
2164
|
+
# fields:
|
|
2165
|
+
# * consolidated_policy.attached_resource
|
|
2166
|
+
# * consolidated_policy.rules.enforce
|
|
2161
2167
|
#
|
|
2162
|
-
#
|
|
2168
|
+
# When filtering by a specific field, the only supported operator is `=`.
|
|
2169
|
+
# For example, filtering by
|
|
2163
2170
|
# consolidated_policy.attached_resource="//cloudresourcemanager.googleapis.com/folders/001"
|
|
2164
|
-
# will return the
|
|
2171
|
+
# will return all the Organization Policy results attached to "folders/001".
|
|
2165
2172
|
# @!attribute [rw] page_size
|
|
2166
2173
|
# @return [::Integer]
|
|
2167
2174
|
# The maximum number of items to return per page. If unspecified,
|
|
@@ -2233,13 +2240,17 @@ module Google
|
|
|
2233
2240
|
# constraint.
|
|
2234
2241
|
# @!attribute [rw] filter
|
|
2235
2242
|
# @return [::String]
|
|
2236
|
-
# The expression to filter
|
|
2237
|
-
#
|
|
2238
|
-
#
|
|
2239
|
-
#
|
|
2240
|
-
#
|
|
2241
|
-
#
|
|
2242
|
-
#
|
|
2243
|
+
# The expression to filter
|
|
2244
|
+
# {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse#governed_containers AnalyzeOrgPolicyGovernedContainersResponse.governed_containers}.
|
|
2245
|
+
# Filtering is currently available for bare literal values and the following
|
|
2246
|
+
# fields:
|
|
2247
|
+
# * parent
|
|
2248
|
+
# * consolidated_policy.rules.enforce
|
|
2249
|
+
#
|
|
2250
|
+
# When filtering by a specific field, the only supported operator is `=`.
|
|
2251
|
+
# For example, filtering by
|
|
2252
|
+
# parent="//cloudresourcemanager.googleapis.com/folders/001"
|
|
2253
|
+
# will return all the containers under "folders/001".
|
|
2243
2254
|
# @!attribute [rw] page_size
|
|
2244
2255
|
# @return [::Integer]
|
|
2245
2256
|
# The maximum number of items to return per page. If unspecified,
|
|
@@ -2321,18 +2332,33 @@ module Google
|
|
|
2321
2332
|
# constraint.
|
|
2322
2333
|
# @!attribute [rw] filter
|
|
2323
2334
|
# @return [::String]
|
|
2324
|
-
# The expression to filter
|
|
2325
|
-
#
|
|
2326
|
-
# `governed_resource.folders`. The only supported fields for governed iam
|
|
2327
|
-
# policies are `governed_iam_policy.project` and
|
|
2328
|
-
# `governed_iam_policy.folders`. The only supported operator is `=`.
|
|
2329
|
-
#
|
|
2330
|
-
# Example 1: governed_resource.project="projects/12345678" filter will return
|
|
2331
|
-
# all governed resources under projects/12345678 including the project
|
|
2332
|
-
# ifself, if applicable.
|
|
2335
|
+
# The expression to filter
|
|
2336
|
+
# {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse#governed_assets AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets}.
|
|
2333
2337
|
#
|
|
2334
|
-
#
|
|
2335
|
-
#
|
|
2338
|
+
# For governed resources, filtering is currently available for bare literal
|
|
2339
|
+
# values and the following fields:
|
|
2340
|
+
# * governed_resource.project
|
|
2341
|
+
# * governed_resource.folders
|
|
2342
|
+
# * consolidated_policy.rules.enforce
|
|
2343
|
+
# When filtering by `governed_resource.project` or
|
|
2344
|
+
# `consolidated_policy.rules.enforce`, the only supported operator is `=`.
|
|
2345
|
+
# When filtering by `governed_resource.folders`, the supported operators
|
|
2346
|
+
# are `=` and `:`.
|
|
2347
|
+
# For example, filtering by `governed_resource.project="projects/12345678"`
|
|
2348
|
+
# will return all the governed resources under "projects/12345678",
|
|
2349
|
+
# including the project itself if applicable.
|
|
2350
|
+
#
|
|
2351
|
+
# For governed IAM policies, filtering is currently available for bare
|
|
2352
|
+
# literal values and the following fields:
|
|
2353
|
+
# * governed_iam_policy.project
|
|
2354
|
+
# * governed_iam_policy.folders
|
|
2355
|
+
# * consolidated_policy.rules.enforce
|
|
2356
|
+
# When filtering by `governed_iam_policy.project` or
|
|
2357
|
+
# `consolidated_policy.rules.enforce`, the only supported operator is `=`.
|
|
2358
|
+
# When filtering by `governed_iam_policy.folders`, the supported operators
|
|
2359
|
+
# are `=` and `:`.
|
|
2360
|
+
# For example, filtering by `governed_iam_policy.folders:"folders/12345678"`
|
|
2361
|
+
# will return all the governed IAM policies under "folders/001".
|
|
2336
2362
|
# @!attribute [rw] page_size
|
|
2337
2363
|
# @return [::Integer]
|
|
2338
2364
|
# The maximum number of items to return per page. If unspecified,
|
|
@@ -125,15 +125,15 @@ module Google
|
|
|
125
125
|
# set on a given resource.
|
|
126
126
|
# @!attribute [rw] access_policy
|
|
127
127
|
# @return [::Google::Identity::AccessContextManager::V1::AccessPolicy]
|
|
128
|
-
#
|
|
128
|
+
# Also refer to the [access policy user
|
|
129
129
|
# guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
|
|
130
130
|
# @!attribute [rw] access_level
|
|
131
131
|
# @return [::Google::Identity::AccessContextManager::V1::AccessLevel]
|
|
132
|
-
#
|
|
132
|
+
# Also refer to the [access level user
|
|
133
133
|
# guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
|
|
134
134
|
# @!attribute [rw] service_perimeter
|
|
135
135
|
# @return [::Google::Identity::AccessContextManager::V1::ServicePerimeter]
|
|
136
|
-
#
|
|
136
|
+
# Also refer to the [service perimeter user
|
|
137
137
|
# guide](https://cloud.google.com/vpc-service-controls/docs/overview).
|
|
138
138
|
# @!attribute [rw] os_inventory
|
|
139
139
|
# @return [::Google::Cloud::OsConfig::V1::Inventory]
|
|
@@ -203,8 +203,6 @@ module Google
|
|
|
203
203
|
# hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
|
|
204
204
|
# Example:
|
|
205
205
|
# `//cloudresourcemanager.googleapis.com/projects/my_project_123`
|
|
206
|
-
#
|
|
207
|
-
# For third-party assets, this field may be set differently.
|
|
208
206
|
# @!attribute [rw] data
|
|
209
207
|
# @return [::Google::Protobuf::Struct]
|
|
210
208
|
# The content of the resource, in which some sensitive fields are removed
|
|
@@ -455,8 +453,8 @@ module Google
|
|
|
455
453
|
# [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions)
|
|
456
454
|
# name.
|
|
457
455
|
#
|
|
458
|
-
# This field only presents for the purpose of backward compatibility.
|
|
459
|
-
#
|
|
456
|
+
# This field only presents for the purpose of backward compatibility.
|
|
457
|
+
# Use the `kms_keys` field to retrieve Cloud KMS key information. This field
|
|
460
458
|
# is available only when the resource's Protobuf contains it and will only be
|
|
461
459
|
# populated for [these resource
|
|
462
460
|
# types](https://cloud.google.com/asset-inventory/docs/legacy-field-names#resource_types_with_the_to_be_deprecated_kmskey_field)
|
|
@@ -536,7 +534,7 @@ module Google
|
|
|
536
534
|
# metadata fields that are returned by the List or Get APIs provided by the
|
|
537
535
|
# corresponding Google Cloud service (e.g., Compute Engine). see [API
|
|
538
536
|
# references and supported searchable
|
|
539
|
-
# attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
537
|
+
# attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
|
|
540
538
|
# to see which fields are included.
|
|
541
539
|
#
|
|
542
540
|
# You can search values of these fields through free text search. However,
|
|
@@ -587,7 +585,7 @@ module Google
|
|
|
587
585
|
# @!attribute [rw] tag_keys
|
|
588
586
|
# @return [::Array<::String>]
|
|
589
587
|
# This field is only present for the purpose of backward compatibility.
|
|
590
|
-
#
|
|
588
|
+
# Use the `tags` field instead.
|
|
591
589
|
#
|
|
592
590
|
# TagKey namespaced names, in the format of \\{ORG_ID}/\\{TAG_KEY_SHORT_NAME}.
|
|
593
591
|
# To search against the `tagKeys`:
|
|
@@ -602,7 +600,7 @@ module Google
|
|
|
602
600
|
# @!attribute [rw] tag_values
|
|
603
601
|
# @return [::Array<::String>]
|
|
604
602
|
# This field is only present for the purpose of backward compatibility.
|
|
605
|
-
#
|
|
603
|
+
# Use the `tags` field instead.
|
|
606
604
|
#
|
|
607
605
|
# TagValue namespaced names, in the format of
|
|
608
606
|
# \\{ORG_ID}/\\{TAG_KEY_SHORT_NAME}/\\{TAG_VALUE_SHORT_NAME}.
|
|
@@ -619,7 +617,7 @@ module Google
|
|
|
619
617
|
# @!attribute [rw] tag_value_ids
|
|
620
618
|
# @return [::Array<::String>]
|
|
621
619
|
# This field is only present for the purpose of backward compatibility.
|
|
622
|
-
#
|
|
620
|
+
# Use the `tags` field instead.
|
|
623
621
|
#
|
|
624
622
|
# TagValue IDs, in the format of tagValues/\\{TAG_VALUE_ID}.
|
|
625
623
|
# To search against the `tagValueIds`:
|
|
@@ -681,10 +679,6 @@ module Google
|
|
|
681
679
|
# with the asset.
|
|
682
680
|
#
|
|
683
681
|
#
|
|
684
|
-
# Note that both staging & prod SecurityMarks are attached on prod resources.
|
|
685
|
-
# In CAS preprod/prod, both staging & prod SecurityMarks are ingested and
|
|
686
|
-
# returned in the following `security_marks` map. In that case, the prefix
|
|
687
|
-
# "staging." will be added to the keys of all the staging marks.
|
|
688
682
|
# To search against SCC SecurityMarks field:
|
|
689
683
|
#
|
|
690
684
|
# * Use a field query:
|
|
@@ -745,7 +739,7 @@ module Google
|
|
|
745
739
|
#
|
|
746
740
|
# You can find the resource definition for each supported resource type in
|
|
747
741
|
# this table:
|
|
748
|
-
# `https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
742
|
+
# `https://cloud.google.com/asset-inventory/docs/supported-asset-types`
|
|
749
743
|
class VersionedResource
|
|
750
744
|
include ::Google::Protobuf::MessageExts
|
|
751
745
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -761,7 +755,7 @@ module Google
|
|
|
761
755
|
#
|
|
762
756
|
# You can find the supported attached asset types of each resource in this
|
|
763
757
|
# table:
|
|
764
|
-
# `https://cloud.google.com/asset-inventory/docs/supported-asset-types
|
|
758
|
+
# `https://cloud.google.com/asset-inventory/docs/supported-asset-types`
|
|
765
759
|
# @!attribute [rw] versioned_resources
|
|
766
760
|
# @return [::Array<::Google::Cloud::Asset::V1::VersionedResource>]
|
|
767
761
|
# Versioned resource representations of this attached resource. This is
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-asset-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.28.
|
|
4
|
+
version: 0.28.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-01-
|
|
11
|
+
date: 2024-01-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|