google-cloud-asset-v1 0.21.1 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8af562b0115d3d973426bda368ef1ec3e9068ec877174ce025f6da784f197e3
4
- data.tar.gz: d7dcef2f57cd7ec3b82dae5491518ecfb655e7a71174ab02e72609fe8493cdb8
3
+ metadata.gz: 467089a70394df9d2b51c96517ac2e74fdfe5bf190a20e2be77324f8d333da59
4
+ data.tar.gz: 71138d1acbbe2eb86dfac018c2b2147d50233fbdd02954371385939974996fdc
5
5
  SHA512:
6
- metadata.gz: 650b132db2f02dcc24ad3f36cd631034d8da3b01054ab3ce5ff90466b8e3aa50de6e72613ecb836317ae094c9040c25e9fbd99fa4dbdb525f9bae732cb4e856f
7
- data.tar.gz: 95f1007bd217d967d4d47f76d7a1ad516f1ebf0a8a86d2bb0a907dce0444fab8e4f046532c0a8af88410078ba45f2dbec1332ec70808228795fe5020a4c98bd3
6
+ metadata.gz: 13889c03ca6e36ca5e6951b32406eccd4f8552d2b75ab59d8615c6c3a3856d4c789adff6076d24b84b9823fd184d46daa9b32ce62ed8310ff93f4a161f8d9620
7
+ data.tar.gz: 3cd37370607f8c9d4942b2042e3a0033b55528b3a5b1be3bacaba3f6bb3d220e204e70b035c7dfbb7e312a796b038fe1dda36b87fd65bc99fc81940a8cb294a2
@@ -238,14 +238,13 @@ module Google
238
238
  # Exports assets with time and resource types to a given Cloud Storage
239
239
  # location/BigQuery table. For Cloud Storage location destinations, the
240
240
  # output format is newline-delimited JSON. Each line represents a
241
- # {::Google::Cloud::Asset::V1::Asset google.cloud.asset.v1.Asset} in the JSON
242
- # format; for BigQuery table destinations, the output table stores the fields
243
- # in asset Protobuf as columns. This API implements the
244
- # {::Google::Longrunning::Operation google.longrunning.Operation} API, which
245
- # allows you to keep track of the export. We recommend intervals of at least
246
- # 2 seconds with exponential retry to poll the export operation result. For
247
- # regular-size resource parent, the export operation usually finishes within
248
- # 5 minutes.
241
+ # {::Google::Cloud::Asset::V1::Asset google.cloud.asset.v1.Asset} in the JSON format; for BigQuery table
242
+ # destinations, the output table stores the fields in asset Protobuf as
243
+ # columns. This API implements the {::Google::Longrunning::Operation google.longrunning.Operation} API,
244
+ # which allows you to keep track of the export. We recommend intervals of at
245
+ # least 2 seconds with exponential retry to poll the export operation result.
246
+ # For regular-size resource parent, the export operation usually finishes
247
+ # within 5 minutes.
249
248
  #
250
249
  # @overload export_assets(request, options = nil)
251
250
  # Pass arguments to `export_assets` via a request object, either of type
@@ -296,8 +295,7 @@ module Google
296
295
  # Asset content type. If not specified, no content but the asset name will be
297
296
  # returned.
298
297
  # @param output_config [::Google::Cloud::Asset::V1::OutputConfig, ::Hash]
299
- # Required. Output configuration indicating where the results will be output
300
- # to.
298
+ # Required. Output configuration indicating where the results will be output to.
301
299
  # @param relationship_types [::Array<::String>]
302
300
  # A list of relationship types to export, for example:
303
301
  # `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -407,11 +405,11 @@ module Google
407
405
  # the default parameter values, pass an empty Hash as a request object (see above).
408
406
  #
409
407
  # @param parent [::String]
410
- # Required. Name of the organization, folder, or project the assets belong
411
- # to. Format: "organizations/[organization-number]" (such as
412
- # "organizations/123"), "projects/[project-id]" (such as
413
- # "projects/my-project-id"), "projects/[project-number]" (such as
414
- # "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
408
+ # Required. Name of the organization, folder, or project the assets belong to. Format:
409
+ # "organizations/[organization-number]" (such as "organizations/123"),
410
+ # "projects/[project-id]" (such as "projects/my-project-id"),
411
+ # "projects/[project-number]" (such as "projects/12345"), or
412
+ # "folders/[folder-number]" (such as "folders/12345").
415
413
  # @param read_time [::Google::Protobuf::Timestamp, ::Hash]
416
414
  # Timestamp to take an asset snapshot. This can only be set to a timestamp
417
415
  # between the current time and the current time minus 35 days (inclusive).
@@ -692,8 +690,9 @@ module Google
692
690
  # Required. This is the client-assigned asset feed identifier and it needs to
693
691
  # be unique under a specific parent project/folder/organization.
694
692
  # @param feed [::Google::Cloud::Asset::V1::Feed, ::Hash]
695
- # Required. The feed details. The field `name` must be empty and it will be
696
- # generated in the format of: projects/project_number/feeds/feed_id
693
+ # Required. The feed details. The field `name` must be empty and it will be generated
694
+ # in the format of:
695
+ # projects/project_number/feeds/feed_id
697
696
  # folders/folder_number/feeds/feed_id
698
697
  # organizations/organization_number/feeds/feed_id
699
698
  #
@@ -955,8 +954,8 @@ module Google
955
954
  # the default parameter values, pass an empty Hash as a request object (see above).
956
955
  #
957
956
  # @param feed [::Google::Cloud::Asset::V1::Feed, ::Hash]
958
- # Required. The new values of feed details. It must match an existing feed
959
- # and the field `name` must be in the format of:
957
+ # Required. The new values of feed details. It must match an existing feed and the
958
+ # field `name` must be in the format of:
960
959
  # projects/project_number/feeds/feed_id or
961
960
  # folders/folder_number/feeds/feed_id or
962
961
  # organizations/organization_number/feeds/feed_id.
@@ -1139,9 +1138,8 @@ module Google
1139
1138
  # the default parameter values, pass an empty Hash as a request object (see above).
1140
1139
  #
1141
1140
  # @param scope [::String]
1142
- # Required. A scope can be a project, a folder, or an organization. The
1143
- # search is limited to the resources within the `scope`. The caller must be
1144
- # granted the
1141
+ # Required. A scope can be a project, a folder, or an organization. The search is
1142
+ # limited to the resources within the `scope`. The caller must be granted the
1145
1143
  # [`cloudasset.assets.searchAllResources`](https://cloud.google.com/asset-inventory/docs/access-control#required_permissions)
1146
1144
  # permission on the desired scope.
1147
1145
  #
@@ -1173,7 +1171,11 @@ module Google
1173
1171
  # and its value is "prod".
1174
1172
  # * `labels.env:*` to find Cloud resources that have a label "env".
1175
1173
  # * `kmsKey:key` to find Cloud resources encrypted with a customer-managed
1176
- # encryption key whose name contains the word "key".
1174
+ # encryption key whose name contains "key" as a word. This field is
1175
+ # deprecated. Please use the `kmsKeys` field to retrieve KMS key
1176
+ # information.
1177
+ # * `kmsKeys:key` to find Cloud resources encrypted with customer-managed
1178
+ # encryption keys whose name contains the word "key".
1177
1179
  # * `relationships:instance-group-1` to find Cloud resources that have
1178
1180
  # relationships with "instance-group-1" in the related resource name.
1179
1181
  # * `relationships:INSTANCE_TO_INSTANCEGROUP` to find compute instances that
@@ -1201,8 +1203,8 @@ module Google
1201
1203
  # fields and are also located in the "us-west1" region or the "global"
1202
1204
  # location.
1203
1205
  # @param asset_types [::Array<::String>]
1204
- # Optional. A list of asset types that this request searches for. If empty,
1205
- # it will search all the [searchable asset
1206
+ # Optional. A list of asset types that this request searches for. If empty, it will
1207
+ # search all the [searchable asset
1206
1208
  # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types).
1207
1209
  #
1208
1210
  # Regular expressions are also supported. For example:
@@ -1216,20 +1218,19 @@ module Google
1216
1218
  # regular expression syntax. If the regular expression does not match any
1217
1219
  # supported asset type, an INVALID_ARGUMENT error will be returned.
1218
1220
  # @param page_size [::Integer]
1219
- # Optional. The page size for search result pagination. Page size is capped
1220
- # at 500 even if a larger value is given. If set to zero, server will pick an
1221
- # appropriate default. Returned results may be fewer than requested. When
1222
- # this happens, there could be more results as long as `next_page_token` is
1223
- # returned.
1221
+ # Optional. The page size for search result pagination. Page size is capped at 500 even
1222
+ # if a larger value is given. If set to zero, server will pick an appropriate
1223
+ # default. Returned results may be fewer than requested. When this happens,
1224
+ # there could be more results as long as `next_page_token` is returned.
1224
1225
  # @param page_token [::String]
1225
- # Optional. If present, then retrieve the next batch of results from the
1226
- # preceding call to this method. `page_token` must be the value of
1227
- # `next_page_token` from the previous response. The values of all other
1228
- # method parameters, must be identical to those in the previous call.
1226
+ # Optional. If present, then retrieve the next batch of results from the preceding call
1227
+ # to this method. `page_token` must be the value of `next_page_token` from
1228
+ # the previous response. The values of all other method parameters, must be
1229
+ # identical to those in the previous call.
1229
1230
  # @param order_by [::String]
1230
- # Optional. A comma-separated list of fields specifying the sorting order of
1231
- # the results. The default order is ascending. Add " DESC" after the field
1232
- # name to indicate descending order. Redundant space characters are ignored.
1231
+ # Optional. A comma-separated list of fields specifying the sorting order of the
1232
+ # results. The default order is ascending. Add " DESC" after the field name
1233
+ # to indicate descending order. Redundant space characters are ignored.
1233
1234
  # Example: "location DESC, name".
1234
1235
  # Only singular primitive fields in the response are sortable:
1235
1236
  #
@@ -1239,21 +1240,20 @@ module Google
1239
1240
  # * displayName
1240
1241
  # * description
1241
1242
  # * location
1242
- # * kmsKey
1243
1243
  # * createTime
1244
1244
  # * updateTime
1245
1245
  # * state
1246
1246
  # * parentFullResourceName
1247
1247
  # * parentAssetType
1248
1248
  #
1249
- # All the other fields such as repeated fields (e.g., `networkTags`), map
1250
- # fields (e.g., `labels`) and struct fields (e.g., `additionalAttributes`)
1251
- # are not supported.
1249
+ # All the other fields such as repeated fields (e.g., `networkTags`,
1250
+ # `kmsKeys`), map fields (e.g., `labels`) and struct fields (e.g.,
1251
+ # `additionalAttributes`) are not supported.
1252
1252
  # @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
1253
- # Optional. A comma-separated list of fields specifying which fields to be
1254
- # returned in ResourceSearchResult. Only '*' or combination of top level
1255
- # fields can be specified. Field names of both snake_case and camelCase are
1256
- # supported. Examples: `"*"`, `"name,location"`, `"name,versionedResources"`.
1253
+ # Optional. A comma-separated list of fields specifying which fields to be returned in
1254
+ # ResourceSearchResult. Only '*' or combination of top level fields can be
1255
+ # specified. Field names of both snake_case and camelCase are supported.
1256
+ # Examples: `"*"`, `"name,location"`, `"name,versionedResources"`.
1257
1257
  #
1258
1258
  # The read_mask paths must be valid field paths listed but not limited to
1259
1259
  # (both snake_case and camelCase are supported):
@@ -1269,7 +1269,9 @@ module Google
1269
1269
  # * tagValueIds
1270
1270
  # * labels
1271
1271
  # * networkTags
1272
- # * kmsKey
1272
+ # * kmsKey (This field is deprecated. Please use the `kmsKeys` field to
1273
+ # retrieve KMS key information.)
1274
+ # * kmsKeys
1273
1275
  # * createTime
1274
1276
  # * updateTime
1275
1277
  # * state
@@ -1375,9 +1377,9 @@ module Google
1375
1377
  # the default parameter values, pass an empty Hash as a request object (see above).
1376
1378
  #
1377
1379
  # @param scope [::String]
1378
- # Required. A scope can be a project, a folder, or an organization. The
1379
- # search is limited to the IAM policies within the `scope`. The caller must
1380
- # be granted the
1380
+ # Required. A scope can be a project, a folder, or an organization. The search is
1381
+ # limited to the IAM policies within the `scope`. The caller must be granted
1382
+ # the
1381
1383
  # [`cloudasset.assets.searchAllIamPolicies`](https://cloud.google.com/asset-inventory/docs/access-control#required_permissions)
1382
1384
  # permission on the desired scope.
1383
1385
  #
@@ -1431,20 +1433,18 @@ module Google
1431
1433
  # * `memberTypes:user` to find IAM policy bindings that contain the
1432
1434
  # principal type "user".
1433
1435
  # @param page_size [::Integer]
1434
- # Optional. The page size for search result pagination. Page size is capped
1435
- # at 500 even if a larger value is given. If set to zero, server will pick an
1436
- # appropriate default. Returned results may be fewer than requested. When
1437
- # this happens, there could be more results as long as `next_page_token` is
1438
- # returned.
1436
+ # Optional. The page size for search result pagination. Page size is capped at 500 even
1437
+ # if a larger value is given. If set to zero, server will pick an appropriate
1438
+ # default. Returned results may be fewer than requested. When this happens,
1439
+ # there could be more results as long as `next_page_token` is returned.
1439
1440
  # @param page_token [::String]
1440
- # Optional. If present, retrieve the next batch of results from the preceding
1441
- # call to this method. `page_token` must be the value of `next_page_token`
1442
- # from the previous response. The values of all other method parameters must
1443
- # be identical to those in the previous call.
1441
+ # Optional. If present, retrieve the next batch of results from the preceding call to
1442
+ # this method. `page_token` must be the value of `next_page_token` from the
1443
+ # previous response. The values of all other method parameters must be
1444
+ # identical to those in the previous call.
1444
1445
  # @param asset_types [::Array<::String>]
1445
- # Optional. A list of asset types that the IAM policies are attached to. If
1446
- # empty, it will search the IAM policies that are attached to all the
1447
- # [searchable asset
1446
+ # Optional. A list of asset types that the IAM policies are attached to. If empty, it
1447
+ # will search the IAM policies that are attached to all the [searchable asset
1448
1448
  # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types).
1449
1449
  #
1450
1450
  # Regular expressions are also supported. For example:
@@ -1460,9 +1460,9 @@ module Google
1460
1460
  # regular expression syntax. If the regular expression does not match any
1461
1461
  # supported asset type, an INVALID_ARGUMENT error will be returned.
1462
1462
  # @param order_by [::String]
1463
- # Optional. A comma-separated list of fields specifying the sorting order of
1464
- # the results. The default order is ascending. Add " DESC" after the field
1465
- # name to indicate descending order. Redundant space characters are ignored.
1463
+ # Optional. A comma-separated list of fields specifying the sorting order of the
1464
+ # results. The default order is ascending. Add " DESC" after the field name
1465
+ # to indicate descending order. Redundant space characters are ignored.
1466
1466
  # Example: "assetType DESC, resource".
1467
1467
  # Only singular primitive fields in the response are sortable:
1468
1468
  # * resource
@@ -1581,8 +1581,7 @@ module Google
1581
1581
  # 0 or empty string, etc., because we use proto3, which doesn't support field
1582
1582
  # presence yet.
1583
1583
  # @param execution_timeout [::Google::Protobuf::Duration, ::Hash]
1584
- # Optional. Amount of time executable has to complete. See JSON
1585
- # representation of
1584
+ # Optional. Amount of time executable has to complete. See JSON representation of
1586
1585
  # [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
1587
1586
  #
1588
1587
  # If this field is set with a value less than the RPC deadline, and the
@@ -1662,12 +1661,11 @@ module Google
1662
1661
  # accesses on which resources, and writes the analysis results to a Google
1663
1662
  # Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
1664
1663
  # output format is the JSON format that represents a
1665
- # {::Google::Cloud::Asset::V1::AnalyzeIamPolicyResponse AnalyzeIamPolicyResponse}.
1666
- # This method implements the
1667
- # {::Google::Longrunning::Operation google.longrunning.Operation}, which allows
1668
- # you to track the operation status. We recommend intervals of at least 2
1669
- # seconds with exponential backoff retry to poll the operation result. The
1670
- # metadata contains the metadata for the long-running operation.
1664
+ # {::Google::Cloud::Asset::V1::AnalyzeIamPolicyResponse AnalyzeIamPolicyResponse}. This method implements the
1665
+ # {::Google::Longrunning::Operation google.longrunning.Operation}, which allows you to track the operation
1666
+ # status. We recommend intervals of at least 2 seconds with exponential
1667
+ # backoff retry to poll the operation result. The metadata contains the
1668
+ # metadata for the long-running operation.
1671
1669
  #
1672
1670
  # @overload analyze_iam_policy_longrunning(request, options = nil)
1673
1671
  # Pass arguments to `analyze_iam_policy_longrunning` via a request object, either of type
@@ -1704,8 +1702,7 @@ module Google
1704
1702
  # 0 or empty string, etc., because we use proto3, which doesn't support field
1705
1703
  # presence yet.
1706
1704
  # @param output_config [::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig, ::Hash]
1707
- # Required. Output configuration indicating where the results will be output
1708
- # to.
1705
+ # Required. Output configuration indicating where the results will be output to.
1709
1706
  #
1710
1707
  # @yield [response, operation] Access the result along with the RPC operation
1711
1708
  # @yieldparam response [::Gapic::Operation]
@@ -1922,11 +1919,11 @@ module Google
1922
1919
  # Optional. A SQL statement that's compatible with [BigQuery Standard
1923
1920
  # SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql).
1924
1921
  # @param job_reference [::String]
1925
- # Optional. Reference to the query job, which is from the
1926
- # `QueryAssetsResponse` of previous `QueryAssets` call.
1922
+ # Optional. Reference to the query job, which is from the `QueryAssetsResponse` of
1923
+ # previous `QueryAssets` call.
1927
1924
  # @param page_size [::Integer]
1928
- # Optional. The maximum number of rows to return in the results. Responses
1929
- # are limited to 10 MB and 1000 rows.
1925
+ # Optional. The maximum number of rows to return in the results. Responses are limited
1926
+ # to 10 MB and 1000 rows.
1930
1927
  #
1931
1928
  # By default, the maximum row count is 1000. When the byte or row count limit
1932
1929
  # is reached, the rest of the query results will be paginated.
@@ -1937,11 +1934,10 @@ module Google
1937
1934
  #
1938
1935
  # The field will be ignored when [output_config] is specified.
1939
1936
  # @param timeout [::Google::Protobuf::Duration, ::Hash]
1940
- # Optional. Specifies the maximum amount of time that the client is willing
1941
- # to wait for the query to complete. By default, this limit is 5 min for the
1942
- # first query, and 1 minute for the following queries. If the query is
1943
- # complete, the `done` field in the `QueryAssetsResponse` is true, otherwise
1944
- # false.
1937
+ # Optional. Specifies the maximum amount of time that the client is willing to wait
1938
+ # for the query to complete. By default, this limit is 5 min for the first
1939
+ # query, and 1 minute for the following queries. If the query is complete,
1940
+ # the `done` field in the `QueryAssetsResponse` is true, otherwise false.
1945
1941
  #
1946
1942
  # Like BigQuery [jobs.query
1947
1943
  # API](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest)
@@ -1951,12 +1947,11 @@ module Google
1951
1947
  #
1952
1948
  # The field will be ignored when [output_config] is specified.
1953
1949
  # @param read_time_window [::Google::Cloud::Asset::V1::TimeWindow, ::Hash]
1954
- # Optional. [start_time] is required. [start_time] must be less than
1955
- # [end_time] Defaults [end_time] to now if [start_time] is set and
1956
- # [end_time] isn't. Maximum permitted time range is 7 days.
1950
+ # Optional. [start_time] is required. [start_time] must be less than [end_time]
1951
+ # Defaults [end_time] to now if [start_time] is set and [end_time] isn't.
1952
+ # Maximum permitted time range is 7 days.
1957
1953
  # @param read_time [::Google::Protobuf::Timestamp, ::Hash]
1958
- # Optional. Queries cloud assets as they appeared at the specified point in
1959
- # time.
1954
+ # Optional. Queries cloud assets as they appeared at the specified point in time.
1960
1955
  # @param output_config [::Google::Cloud::Asset::V1::QueryAssetsOutputConfig, ::Hash]
1961
1956
  # Optional. Destination where the query results will be saved.
1962
1957
  #
@@ -2051,18 +2046,18 @@ module Google
2051
2046
  # the default parameter values, pass an empty Hash as a request object (see above).
2052
2047
  #
2053
2048
  # @param parent [::String]
2054
- # Required. The name of the project/folder/organization where this
2055
- # saved_query should be created in. It can only be an organization number
2056
- # (such as "organizations/123"), a folder number (such as "folders/123"), a
2057
- # project ID (such as "projects/my-project-id")", or a project number (such
2058
- # as "projects/12345").
2049
+ # Required. The name of the project/folder/organization where this saved_query
2050
+ # should be created in. It can only be an organization number (such as
2051
+ # "organizations/123"), a folder number (such as "folders/123"), a project ID
2052
+ # (such as "projects/my-project-id")", or a project number (such as
2053
+ # "projects/12345").
2059
2054
  # @param saved_query [::Google::Cloud::Asset::V1::SavedQuery, ::Hash]
2060
- # Required. The saved_query details. The `name` field must be empty as it
2061
- # will be generated based on the parent and saved_query_id.
2055
+ # Required. The saved_query details. The `name` field must be empty as it will be
2056
+ # generated based on the parent and saved_query_id.
2062
2057
  # @param saved_query_id [::String]
2063
- # Required. The ID to use for the saved query, which must be unique in the
2064
- # specified parent. It will become the final component of the saved query's
2065
- # resource name.
2058
+ # Required. The ID to use for the saved query, which must be unique in the specified
2059
+ # parent. It will become the final component of the saved query's resource
2060
+ # name.
2066
2061
  #
2067
2062
  # This value should be 4-63 characters, and valid characters
2068
2063
  # are /[a-z][0-9]-/.
@@ -2242,8 +2237,8 @@ module Google
2242
2237
  # the default parameter values, pass an empty Hash as a request object (see above).
2243
2238
  #
2244
2239
  # @param parent [::String]
2245
- # Required. The parent project/folder/organization whose savedQueries are to
2246
- # be listed. It can only be using project/folder/organization number (such as
2240
+ # Required. The parent project/folder/organization whose savedQueries are to be
2241
+ # listed. It can only be using project/folder/organization number (such as
2247
2242
  # "folders/12345")", or a project ID (such as "projects/my-project-id").
2248
2243
  # @param filter [::String]
2249
2244
  # Optional. The expression to filter resources.
@@ -2254,9 +2249,8 @@ module Google
2254
2249
  #
2255
2250
  # See https://google.aip.dev/160 for more information on the grammar.
2256
2251
  # @param page_size [::Integer]
2257
- # Optional. The maximum number of saved queries to return per page. The
2258
- # service may return fewer than this value. If unspecified, at most 50 will
2259
- # be returned.
2252
+ # Optional. The maximum number of saved queries to return per page. The service may
2253
+ # return fewer than this value. If unspecified, at most 50 will be returned.
2260
2254
  # The maximum value is 1000; values above 1000 will be coerced to 1000.
2261
2255
  # @param page_token [::String]
2262
2256
  # Optional. A page token, received from a previous `ListSavedQueries` call.
@@ -2449,8 +2443,7 @@ module Google
2449
2443
  # the default parameter values, pass an empty Hash as a request object (see above).
2450
2444
  #
2451
2445
  # @param name [::String]
2452
- # Required. The name of the saved query to delete. It must be in the format
2453
- # of:
2446
+ # Required. The name of the saved query to delete. It must be in the format of:
2454
2447
  #
2455
2448
  # * projects/project_number/savedQueries/saved_query_id
2456
2449
  # * folders/folder_number/savedQueries/saved_query_id
@@ -36,14 +36,13 @@ module Google
36
36
  # Exports assets with time and resource types to a given Cloud Storage
37
37
  # location/BigQuery table. For Cloud Storage location destinations, the
38
38
  # output format is newline-delimited JSON. Each line represents a
39
- # [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
40
- # format; for BigQuery table destinations, the output table stores the fields
41
- # in asset Protobuf as columns. This API implements the
42
- # [google.longrunning.Operation][google.longrunning.Operation] API, which
43
- # allows you to keep track of the export. We recommend intervals of at least
44
- # 2 seconds with exponential retry to poll the export operation result. For
45
- # regular-size resource parent, the export operation usually finishes within
46
- # 5 minutes.
39
+ # [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON format; for BigQuery table
40
+ # destinations, the output table stores the fields in asset Protobuf as
41
+ # columns. This API implements the [google.longrunning.Operation][google.longrunning.Operation] API,
42
+ # which allows you to keep track of the export. We recommend intervals of at
43
+ # least 2 seconds with exponential retry to poll the export operation result.
44
+ # For regular-size resource parent, the export operation usually finishes
45
+ # within 5 minutes.
47
46
  rpc :ExportAssets, ::Google::Cloud::Asset::V1::ExportAssetsRequest, ::Google::Longrunning::Operation
48
47
  # Lists assets with time and resource types and returns paged results in
49
48
  # response.
@@ -84,12 +83,11 @@ module Google
84
83
  # accesses on which resources, and writes the analysis results to a Google
85
84
  # Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
86
85
  # output format is the JSON format that represents a
87
- # [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
88
- # This method implements the
89
- # [google.longrunning.Operation][google.longrunning.Operation], which allows
90
- # you to track the operation status. We recommend intervals of at least 2
91
- # seconds with exponential backoff retry to poll the operation result. The
92
- # metadata contains the metadata for the long-running operation.
86
+ # [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse]. This method implements the
87
+ # [google.longrunning.Operation][google.longrunning.Operation], which allows you to track the operation
88
+ # status. We recommend intervals of at least 2 seconds with exponential
89
+ # backoff retry to poll the operation result. The metadata contains the
90
+ # metadata for the long-running operation.
93
91
  rpc :AnalyzeIamPolicyLongrunning, ::Google::Cloud::Asset::V1::AnalyzeIamPolicyLongrunningRequest, ::Google::Longrunning::Operation
94
92
  # Analyze moving a resource to a specified destination without kicking off
95
93
  # the actual move. The analysis is best effort depending on the user's
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'google/api/field_behavior_pb'
6
7
  require 'google/api/resource_pb'
7
8
  require 'google/cloud/orgpolicy/v1/orgpolicy_pb'
8
9
  require 'google/cloud/osconfig/v1/inventory_pb'
@@ -88,6 +89,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
88
89
  map :labels, :string, :string, 7
89
90
  repeated :network_tags, :string, 8
90
91
  optional :kms_key, :string, 10
92
+ repeated :kms_keys, :string, 28
91
93
  optional :create_time, :message, 11, "google.protobuf.Timestamp"
92
94
  optional :update_time, :message, 12, "google.protobuf.Timestamp"
93
95
  optional :state, :string, 13
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Asset
23
23
  module V1
24
- VERSION = "0.21.1"
24
+ VERSION = "0.22.0"
25
25
  end
26
26
  end
27
27
  end