@maxim_mazurok/gapi.client.cloudasset-v1 0.0.20221221 → 0.0.20230114

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.
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://cloudasset.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20221221
12
+ // Revision: 20230114
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -58,7 +58,7 @@ declare namespace gapi.client {
58
58
  serviceAccountImpersonationAnalysis?: IamPolicyAnalysis[];
59
59
  }
60
60
  interface AnalyzeMoveResponse {
61
- /** The list of analyses returned from performing the intended resource move analysis. The analysis is grouped by different Cloud services. */
61
+ /** The list of analyses returned from performing the intended resource move analysis. The analysis is grouped by different Google Cloud services. */
62
62
  moveAnalysis?: MoveAnalysis[];
63
63
  }
64
64
  interface AnalyzeOrgPoliciesResponse {
@@ -129,10 +129,10 @@ declare namespace gapi.client {
129
129
  /** The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information. */
130
130
  assetType?: string;
131
131
  /**
132
- * A representation of the Cloud IAM policy set on a Google Cloud resource. There can be a maximum of one Cloud IAM policy set on any given resource. In addition, Cloud IAM policies
133
- * inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this
134
- * resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for
135
- * more information.
132
+ * A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their
133
+ * granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and
134
+ * each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more
135
+ * information.
136
136
  */
137
137
  iamPolicy?: Policy;
138
138
  /**
@@ -393,13 +393,13 @@ declare namespace gapi.client {
393
393
  }
394
394
  interface GcsDestination {
395
395
  /**
396
- * The uri of the Cloud Storage object. It's the same uri that is used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and Editing Object
396
+ * The URI of the Cloud Storage object. It's the same URI that is used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and Editing Object
397
397
  * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information. If the specified Cloud Storage object already exists and there is no
398
398
  * [hold](https://cloud.google.com/storage/docs/object-holds), it will be overwritten with the exported result.
399
399
  */
400
400
  uri?: string;
401
401
  /**
402
- * The uri prefix of all generated Cloud Storage objects. Example: "gs://bucket_name/object_name_prefix". Each object uri is in format: "gs://bucket_name/object_name_prefix// and only
402
+ * The URI prefix of all generated Cloud Storage objects. Example: "gs://bucket_name/object_name_prefix". Each object URI is in format: "gs://bucket_name/object_name_prefix// and only
403
403
  * contains assets for that type. starts from 0. Example: "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is the first shard of output objects containing all
404
404
  * compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be returned if file with the same name "gs://bucket_name/object_name_prefix" already exists.
405
405
  */
@@ -437,7 +437,7 @@ declare namespace gapi.client {
437
437
  consolidatedPolicy?: AnalyzerOrgPolicy;
438
438
  /** An IAM policy governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint. */
439
439
  governedIamPolicy?: GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy;
440
- /** A GCP resource governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint. */
440
+ /** A Google Cloud resource governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint. */
441
441
  governedResource?: GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource;
442
442
  /**
443
443
  * The ordered list of all organization policies from the AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource to the scope specified in the request. If the
@@ -472,7 +472,7 @@ declare namespace gapi.client {
472
472
  * folders.
473
473
  */
474
474
  folders?: string[];
475
- /** The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the GCP resource. */
475
+ /** The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the Google Cloud resource. */
476
476
  fullResourceName?: string;
477
477
  /**
478
478
  * The organization that this resource belongs to, in the form of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs(directly or cascadingly) to an
@@ -529,7 +529,7 @@ declare namespace gapi.client {
529
529
  interface GoogleCloudAssetV1CustomConstraint {
530
530
  /** Allow or deny type. */
531
531
  actionType?: string;
532
- /** Organization policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or, `resource.management.auto_upgrade == true` */
532
+ /** Organization Policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or, `resource.management.auto_upgrade == true` */
533
533
  condition?: string;
534
534
  /** Detailed information about this custom policy constraint. */
535
535
  description?: string;
@@ -553,7 +553,7 @@ declare namespace gapi.client {
553
553
  }
554
554
  interface GoogleCloudAssetV1GcsDestination {
555
555
  /**
556
- * Required. The uri of the Cloud Storage object. It's the same uri that is used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and Editing Object
556
+ * Required. The URI of the Cloud Storage object. It's the same URI that is used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and Editing Object
557
557
  * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information. If the specified Cloud Storage object already exists and there is no
558
558
  * [hold](https://cloud.google.com/storage/docs/object-holds), it will be overwritten with the analysis result.
559
559
  */
@@ -627,10 +627,10 @@ declare namespace gapi.client {
627
627
  /** The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information. */
628
628
  assetType?: string;
629
629
  /**
630
- * A representation of the Cloud IAM policy set on a Google Cloud resource. There can be a maximum of one Cloud IAM policy set on any given resource. In addition, Cloud IAM policies
631
- * inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this
632
- * resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for
633
- * more information.
630
+ * A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their
631
+ * granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and
632
+ * each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more
633
+ * information.
634
634
  */
635
635
  iamPolicy?: Policy;
636
636
  /**
@@ -699,7 +699,7 @@ declare namespace gapi.client {
699
699
  location?: string;
700
700
  /**
701
701
  * The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google
702
- * Cloud assets, this value is the parent resource defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example:
702
+ * Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example:
703
703
  * `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.
704
704
  */
705
705
  parent?: string;
@@ -990,9 +990,9 @@ declare namespace gapi.client {
990
990
  */
991
991
  accessLevel?: string;
992
992
  /**
993
- * A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed.
994
- * Format: `projects/{project_number}` The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of
995
- * allowing all Google Cloud resources only is not supported.
993
+ * A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects and VPCs are
994
+ * allowed. Project format: `projects/{project_number}` VPC format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. The project may be in any Google Cloud
995
+ * organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.
996
996
  */
997
997
  resource?: string;
998
998
  }
@@ -1072,7 +1072,10 @@ declare namespace gapi.client {
1072
1072
  * grants it. Must be empty for a perimeter bridge.
1073
1073
  */
1074
1074
  ingressPolicies?: GoogleIdentityAccesscontextmanagerV1IngressPolicy[];
1075
- /** A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: `projects/{project_number}` */
1075
+ /**
1076
+ * A list of Google Cloud resources that are inside of the service perimeter. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC format:
1077
+ * `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.
1078
+ */
1076
1079
  resources?: string[];
1077
1080
  /**
1078
1081
  * Google Cloud services that are subject to the Service Perimeter restrictions. For example, if `storage.googleapis.com` is specified, access to the storage buckets inside the
@@ -1133,7 +1136,7 @@ declare namespace gapi.client {
1133
1136
  attachedResourceFullName?: string;
1134
1137
  /** Represents whether all analyses on the iam_binding have successfully finished. */
1135
1138
  fullyExplored?: boolean;
1136
- /** The Cloud IAM policy binding under analysis. */
1139
+ /** The IAM policy binding under analysis. */
1137
1140
  iamBinding?: Binding;
1138
1141
  /** The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request. */
1139
1142
  identityList?: GoogleCloudAssetV1IdentityList;
@@ -1174,8 +1177,8 @@ declare namespace gapi.client {
1174
1177
  */
1175
1178
  policy?: Policy;
1176
1179
  /**
1177
- * The project that the associated GCP resource belongs to, in the form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM instance, Cloud Storage bucket),
1178
- * the project field will indicate the project that contains the resource. If an IAM policy is set on a folder or orgnization, this field will be empty. To search against the
1180
+ * The project that the associated Google Cloud resource belongs to, in the form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM instance, Cloud Storage
1181
+ * bucket), the project field will indicate the project that contains the resource. If an IAM policy is set on a folder or orgnization, this field will be empty. To search against the
1179
1182
  * `project`: * specify the `scope` field as this project in your search request.
1180
1183
  */
1181
1184
  project?: string;
@@ -1244,7 +1247,7 @@ declare namespace gapi.client {
1244
1247
  interface MoveAnalysis {
1245
1248
  /** Analysis result of moving the target resource. */
1246
1249
  analysis?: MoveAnalysisResult;
1247
- /** The user friendly display name of the analysis. E.g. IAM, Organization Policy etc. */
1250
+ /** The user friendly display name of the analysis. E.g. IAM, organization policy etc. */
1248
1251
  displayName?: string;
1249
1252
  /** Description of error encountered when performing the analysis. */
1250
1253
  error?: Status;
@@ -1287,14 +1290,15 @@ declare namespace gapi.client {
1287
1290
  interface Options {
1288
1291
  /**
1289
1292
  * Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived
1290
- * queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning rpc instead. For example, if the request analyzes for which resources user A has
1293
+ * queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the request analyzes for which resources user A has
1291
1294
  * permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service
1292
- * account SA has permission P to a GCP folder F, then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in
1293
- * AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a GCP folder F, and there's an IAM policy
1294
- * states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the GCP folder F, then
1295
- * user A potentially has access to the GCP folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the
1296
- * following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` *
1297
- * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false.
1295
+ * account SA has permission P to a Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in
1296
+ * AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a Google Cloud folder F, and there's an IAM
1297
+ * policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the Google Cloud
1298
+ * folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in
1299
+ * AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` *
1300
+ * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` *
1301
+ * `iam.serviceAccounts.implicitDelegation` Default is false.
1298
1302
  */
1299
1303
  analyzeServiceAccountImpersonation?: boolean;
1300
1304
  /**
@@ -1305,12 +1309,12 @@ declare namespace gapi.client {
1305
1309
  expandGroups?: boolean;
1306
1310
  /**
1307
1311
  * Optional. If true and IamPolicyAnalysisQuery.resource_selector is not specified, the resource section of the result will expand any resource attached to an IAM policy to include
1308
- * resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a GCP
1309
- * folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of the
1310
- * result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization resource
1311
- * cannot be used together with this option. For example, if the request analyzes for which users have permission P on a GCP project with this option enabled, the results will include
1312
- * all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][] and 100000 for
1313
- * AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.
1312
+ * resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a Google
1313
+ * Cloud folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of
1314
+ * the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization resources
1315
+ * cannot be used together with this option. For example, if the request analyzes for which users have permission P on a Google Cloud project with this option enabled, the results will
1316
+ * include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][] and
1317
+ * 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.
1314
1318
  */
1315
1319
  expandResources?: boolean;
1316
1320
  /**
@@ -1458,7 +1462,7 @@ declare namespace gapi.client {
1458
1462
  queryResult?: QueryResult;
1459
1463
  }
1460
1464
  interface QueryContent {
1461
- /** An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy rpc or the AssetService.AnalyzeIamPolicyLongrunning rpc. */
1465
+ /** An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy RPC or the AssetService.AnalyzeIamPolicyLongrunning RPC. */
1462
1466
  iamPolicyAnalysisQuery?: IamPolicyAnalysisQuery;
1463
1467
  }
1464
1468
  interface QueryResult {
@@ -1530,7 +1534,7 @@ declare namespace gapi.client {
1530
1534
  location?: string;
1531
1535
  /**
1532
1536
  * The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google
1533
- * Cloud assets, this value is the parent resource defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example:
1537
+ * Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example:
1534
1538
  * `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.
1535
1539
  */
1536
1540
  parent?: string;
@@ -1545,11 +1549,11 @@ declare namespace gapi.client {
1545
1549
  interface ResourceSearchResult {
1546
1550
  /**
1547
1551
  * The additional searchable attributes of this resource. The attributes may vary from one resource type to another. Examples: `projectId` for Project, `dnsName` for DNS ManagedZone.
1548
- * This field contains a subset of the resource metadata fields that are returned by the List or Get APIs provided by the corresponding GCP service (e.g., Compute Engine). see [API
1549
- * references and supported searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) to see which fields are included. You can
1550
- * search values of these fields through free text search. However, you should not consume the field programically as the field names and values may change as the GCP service updates
1551
- * to a new incompatible API version. To search against the `additional_attributes`: * Use a free text query to match the attributes values. Example: to search `additional_attributes =
1552
- * { dnsName: "foobar" }`, you can issue a query `foobar`.
1552
+ * This field contains a subset of the resource metadata fields that are returned by the List or Get APIs provided by the corresponding Google Cloud service (e.g., Compute Engine). see
1553
+ * [API references and supported searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) to see which fields are included.
1554
+ * You can search values of these fields through free text search. However, you should not consume the field programically as the field names and values may change as the Google Cloud
1555
+ * service updates to a new incompatible API version. To search against the `additional_attributes`: * Use a free text query to match the attributes values. Example: to search
1556
+ * `additional_attributes = { dnsName: "foobar" }`, you can issue a query `foobar`.
1553
1557
  */
1554
1558
  additionalAttributes?: { [P in string]: any };
1555
1559
  /** The type of this resource. Example: `compute.googleapis.com/Disk`. To search against the `asset_type`: * Specify the `asset_type` field in your search request. */
@@ -1584,7 +1588,7 @@ declare namespace gapi.client {
1584
1588
  /**
1585
1589
  * The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) name or
1586
1590
  * [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) name. This field only presents for the purpose of
1587
- * backward compatibility. Please use the `kms_keys` field to retrieve KMS key information. This field is available only when the resource's Protobuf contains it and will only be
1591
+ * backward compatibility. Please use the `kms_keys` field to retrieve Cloud KMS key information. This field is available only when the resource's Protobuf contains it and will only be
1588
1592
  * populated for [these resource types](https://cloud.google.com/asset-inventory/docs/legacy-field-names#resource_types_with_the_to_be_deprecated_kmskey_field) for backward compatible
1589
1593
  * purposes. To search against the `kms_key`: * Use a field query. Example: `kmsKey:key` * Use a free text query. Example: `key`
1590
1594
  */
@@ -1596,7 +1600,7 @@ declare namespace gapi.client {
1596
1600
  */
1597
1601
  kmsKeys?: string[];
1598
1602
  /**
1599
- * Labels associated with this resource. See [Labelling and grouping GCP
1603
+ * Labels associated with this resource. See [Labelling and grouping Google Cloud
1600
1604
  * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the
1601
1605
  * resource's Protobuf contains it. To search against the `labels`: * Use a field query: - query on any label's key or value. Example: `labels:prod` - query by a given label. Example:
1602
1606
  * `labels.env:prod` - query by a given label's existence. Example: `labels.env:*` * Use a free text query. Example: `prod`
@@ -1614,7 +1618,7 @@ declare namespace gapi.client {
1614
1618
  */
1615
1619
  name?: string;
1616
1620
  /**
1617
- * Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP
1621
+ * Network tags associated with this resource. Like labels, network tags are a type of annotations used to group Google Cloud resources. See [Labelling Google Cloud
1618
1622
  * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the
1619
1623
  * resource's Protobuf contains it. To search against the `network_tags`: * Use a field query. Example: `networkTags:internal` * Use a free text query. Example: `internal`
1620
1624
  */
@@ -1649,8 +1653,8 @@ declare namespace gapi.client {
1649
1653
  * The state of this resource. Different resources types have different state definitions that are mapped from various fields of different resource types. This field is available only
1650
1654
  * when the resource's Protobuf contains it. Example: If the resource is an instance provided by Compute Engine, its state will include PROVISIONING, STAGING, RUNNING, STOPPING,
1651
1655
  * SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition in [API Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances). If the resource is a
1652
- * project provided by Cloud Resource Manager, its state will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and DELETE_IN_PROGRESS. See `lifecycleState` definition in
1653
- * [API Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects). To search against the `state`: * Use a field query. Example: `state:RUNNING` * Use a free text
1656
+ * project provided by Resource Manager, its state will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and DELETE_IN_PROGRESS. See `lifecycleState` definition in [API
1657
+ * Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects). To search against the `state`: * Use a field query. Example: `state:RUNNING` * Use a free text
1654
1658
  * query. Example: `RUNNING`
1655
1659
  */
1656
1660
  state?: string;
@@ -1712,7 +1716,7 @@ declare namespace gapi.client {
1712
1716
  interface SearchAllIamPoliciesResponse {
1713
1717
  /** Set if there are more results than those appearing in this response; to get the next set of results, call this method again, using this value as the `page_token`. */
1714
1718
  nextPageToken?: string;
1715
- /** A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy. */
1719
+ /** A list of IAM policies that match the search query. Related information such as the associated resource is returned along with the policy. */
1716
1720
  results?: IamPolicySearchResult[];
1717
1721
  }
1718
1722
  interface SearchAllResourcesResponse {
@@ -2258,7 +2262,7 @@ declare namespace gapi.client {
2258
2262
  quotaUser?: string;
2259
2263
  /**
2260
2264
  * Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value
2261
- * should be 4-63 characters, and valid characters are /a-z-/. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be
2265
+ * should be 4-63 characters, and valid characters are `a-z-`. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be
2262
2266
  * ignored.
2263
2267
  */
2264
2268
  savedQueryId?: string;
@@ -2295,7 +2299,7 @@ declare namespace gapi.client {
2295
2299
  quotaUser?: string;
2296
2300
  /**
2297
2301
  * Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value
2298
- * should be 4-63 characters, and valid characters are /a-z-/. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be
2302
+ * should be 4-63 characters, and valid characters are `a-z-`. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be
2299
2303
  * ignored.
2300
2304
  */
2301
2305
  savedQueryId?: string;
@@ -2504,14 +2508,15 @@ declare namespace gapi.client {
2504
2508
  "analysisQuery.identitySelector.identity"?: string;
2505
2509
  /**
2506
2510
  * Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many
2507
- * derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning rpc instead. For example, if the request analyzes for which resources user
2511
+ * derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the request analyzes for which resources user
2508
2512
  * A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states
2509
- * service account SA has permission P to a GCP folder F, then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in
2510
- * AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a GCP folder F, and there's an IAM policy
2511
- * states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the GCP folder F,
2512
- * then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis.
2513
- * Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` *
2514
- * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false.
2513
+ * service account SA has permission P to a Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be
2514
+ * included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a Google Cloud folder F, and
2515
+ * there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P
2516
+ * to the Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in
2517
+ * AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` *
2518
+ * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` *
2519
+ * `iam.serviceAccounts.implicitDelegation` Default is false.
2515
2520
  */
2516
2521
  "analysisQuery.options.analyzeServiceAccountImpersonation"?: boolean;
2517
2522
  /**
@@ -2523,11 +2528,11 @@ declare namespace gapi.client {
2523
2528
  /**
2524
2529
  * Optional. If true and IamPolicyAnalysisQuery.resource_selector is not specified, the resource section of the result will expand any resource attached to an IAM policy to include
2525
2530
  * resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a
2526
- * GCP folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of
2527
- * the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization
2528
- * resource cannot be used together with this option. For example, if the request analyzes for which users have permission P on a GCP project with this option enabled, the results
2529
- * will include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][]
2530
- * and 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.
2531
+ * Google Cloud folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource
2532
+ * section of the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and
2533
+ * organization resources cannot be used together with this option. For example, if the request analyzes for which users have permission P on a Google Cloud project with this
2534
+ * option enabled, the results will include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for
2535
+ * AssetService.AnalyzeIamPolicy][] and 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.
2531
2536
  */
2532
2537
  "analysisQuery.options.expandResources"?: boolean;
2533
2538
  /**
@@ -2667,8 +2672,8 @@ declare namespace gapi.client {
2667
2672
  /** JSONP */
2668
2673
  callback?: string;
2669
2674
  /**
2670
- * Required. Name of the GCP Folder or Organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified
2671
- * desitination parent. This can only be a Folder number (such as "folders/123") or an Organization number (such as "organizations/123").
2675
+ * Required. Name of the Google Cloud folder or organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this
2676
+ * specified desitination parent. This can only be a folder number (such as "folders/123") or an organization number (such as "organizations/123").
2672
2677
  */
2673
2678
  destinationParent?: string;
2674
2679
  /** Selector specifying which fields to include in a partial response. */
@@ -2682,8 +2687,8 @@ declare namespace gapi.client {
2682
2687
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2683
2688
  quotaUser?: string;
2684
2689
  /**
2685
- * Required. Name of the resource to perform the analysis against. Only GCP Project are supported as of today. Hence, this can only be Project ID (such as "projects/my-project-id")
2686
- * or a Project Number (such as "projects/12345").
2690
+ * Required. Name of the resource to perform the analysis against. Only Google Cloud projects are supported as of today. Hence, this can only be a project ID (such as
2691
+ * "projects/my-project-id") or a project number (such as "projects/12345").
2687
2692
  */
2688
2693
  resource: string;
2689
2694
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -2735,7 +2740,7 @@ declare namespace gapi.client {
2735
2740
  uploadType?: string;
2736
2741
  }): Request<AnalyzeOrgPoliciesResponse>;
2737
2742
  /**
2738
- * Analyzes organization policies governed assets (GCP resources or policies) under a scope. This RPC supports custom constraints and the following 10 canned constraints: *
2743
+ * Analyzes organization policies governed assets (Google Cloud resources or policies) under a scope. This RPC supports custom constraints and the following 10 canned constraints: *
2739
2744
  * storage.uniformBucketLevelAccess * iam.disableServiceAccountKeyCreation * iam.allowedPolicyMemberDomains * compute.vmExternalIpAccess * appengine.enforceServiceAccountActAsCheck *
2740
2745
  * gcp.resourceLocations * compute.trustedImageProjects * compute.skipDefaultNetworkCreation * compute.requireOsLogin * compute.disableNestedVirtualization This RPC only returns either
2741
2746
  * resources of types supported by [searchable asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types), or IAM policies.
@@ -3058,13 +3063,13 @@ declare namespace gapi.client {
3058
3063
  prettyPrint?: boolean;
3059
3064
  /**
3060
3065
  * Optional. The query statement. See [how to construct a query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query) for more
3061
- * information. If not specified or empty, it will search all the IAM policies within the specified `scope`. Note that the query string is compared against each Cloud IAM policy
3062
- * binding, including its principals, roles, and Cloud IAM conditions. The returned Cloud IAM policies will only contain the bindings that match your query. To learn more about the
3063
- * IAM policy structure, see the [IAM policy documentation](https://cloud.google.com/iam/help/allow-policies/structure). Examples: * `policy:amy@gmail.com` to find IAM policy
3064
- * bindings that specify user "amy@gmail.com". * `policy:roles/compute.admin` to find IAM policy bindings that specify the Compute Admin role. * `policy:comp*` to find IAM policy
3065
- * bindings that contain "comp" as a prefix of any word in the binding. * `policy.role.permissions:storage.buckets.update` to find IAM policy bindings that specify a role
3066
- * containing "storage.buckets.update" permission. Note that if callers don't have `iam.roles.get` access to a role's included permissions, policy bindings that specify this role
3067
- * will be dropped from the search results. * `policy.role.permissions:upd*` to find IAM policy bindings that specify a role containing "upd" as a prefix of any word in the role
3066
+ * information. If not specified or empty, it will search all the IAM policies within the specified `scope`. Note that the query string is compared against each IAM policy binding,
3067
+ * including its principals, roles, and IAM conditions. The returned IAM policies will only contain the bindings that match your query. To learn more about the IAM policy
3068
+ * structure, see the [IAM policy documentation](https://cloud.google.com/iam/help/allow-policies/structure). Examples: * `policy:amy@gmail.com` to find IAM policy bindings that
3069
+ * specify user "amy@gmail.com". * `policy:roles/compute.admin` to find IAM policy bindings that specify the Compute Admin role. * `policy:comp*` to find IAM policy bindings that
3070
+ * contain "comp" as a prefix of any word in the binding. * `policy.role.permissions:storage.buckets.update` to find IAM policy bindings that specify a role containing
3071
+ * "storage.buckets.update" permission. Note that if callers don't have `iam.roles.get` access to a role's included permissions, policy bindings that specify this role will be
3072
+ * dropped from the search results. * `policy.role.permissions:upd*` to find IAM policy bindings that specify a role containing "upd" as a prefix of any word in the role
3068
3073
  * permission. Note that if callers don't have `iam.roles.get` access to a role's included permissions, policy bindings that specify this role will be dropped from the search
3069
3074
  * results. * `resource:organizations/123456` to find IAM policy bindings that are set on "organizations/123456". *
3070
3075
  * `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to find IAM policy bindings that are set on the project named "myproject". * `Important` to find IAM policy
@@ -3088,8 +3093,8 @@ declare namespace gapi.client {
3088
3093
  uploadType?: string;
3089
3094
  }): Request<SearchAllIamPoliciesResponse>;
3090
3095
  /**
3091
- * Searches all Cloud resources within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllResources` permission
3092
- * on the desired scope, otherwise the request will be rejected.
3096
+ * Searches all Google Cloud resources within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllResources`
3097
+ * permission on the desired scope, otherwise the request will be rejected.
3093
3098
  */
3094
3099
  searchAllResources(request?: {
3095
3100
  /** V1 error format. */
@@ -3135,21 +3140,22 @@ declare namespace gapi.client {
3135
3140
  prettyPrint?: boolean;
3136
3141
  /**
3137
3142
  * Optional. The query statement. See [how to construct a query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query) for more information.
3138
- * If not specified or empty, it will search all the resources within the specified `scope`. Examples: * `name:Important` to find Cloud resources whose name contains "Important" as
3139
- * a word. * `name=Important` to find the Cloud resource whose name is exactly "Important". * `displayName:Impor*` to find Cloud resources whose display name contains "Impor" as a
3140
- * prefix of any word in the field. * `location:us-west*` to find Cloud resources whose location contains both "us" and "west" as prefixes. * `labels:prod` to find Cloud resources
3141
- * whose labels contain "prod" as a key or value. * `labels.env:prod` to find Cloud resources that have a label "env" and its value is "prod". * `labels.env:*` to find Cloud
3142
- * resources that have a label "env". * `kmsKey:key` to find Cloud resources encrypted with a customer-managed encryption key whose name contains "key" as a word. This field is
3143
- * deprecated. Please use the `kmsKeys` field to retrieve KMS key information. * `kmsKeys:key` to find Cloud resources encrypted with customer-managed encryption keys whose name
3144
- * contains the word "key". * `relationships:instance-group-1` to find Cloud resources that have relationships with "instance-group-1" in the related resource name. *
3145
- * `relationships:INSTANCE_TO_INSTANCEGROUP` to find compute instances that have relationships of type "INSTANCE_TO_INSTANCEGROUP". *
3146
- * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find compute instances that have relationships with "instance-group-1" in the compute instance group resource name,
3147
- * for relationship type "INSTANCE_TO_INSTANCEGROUP". * `state:ACTIVE` to find Cloud resources whose state contains "ACTIVE" as a word. * `NOT state:ACTIVE` to find Cloud resources
3148
- * whose state doesn't contain "ACTIVE" as a word. * `createTime<1609459200` to find Cloud resources that were created before "2021-01-01 00:00:00 UTC". 1609459200 is the epoch
3149
- * timestamp of "2021-01-01 00:00:00 UTC" in seconds. * `updateTime>1609459200` to find Cloud resources that were updated after "2021-01-01 00:00:00 UTC". 1609459200 is the epoch
3150
- * timestamp of "2021-01-01 00:00:00 UTC" in seconds. * `Important` to find Cloud resources that contain "Important" as a word in any of the searchable fields. * `Impor*` to find
3151
- * Cloud resources that contain "Impor" as a prefix of any word in any of the searchable fields. * `Important location:(us-west1 OR global)` to find Cloud resources that contain
3152
- * "Important" as a word in any of the searchable fields and are also located in the "us-west1" region or the "global" location.
3143
+ * If not specified or empty, it will search all the resources within the specified `scope`. Examples: * `name:Important` to find Google Cloud resources whose name contains
3144
+ * "Important" as a word. * `name=Important` to find the Google Cloud resource whose name is exactly "Important". * `displayName:Impor*` to find Google Cloud resources whose
3145
+ * display name contains "Impor" as a prefix of any word in the field. * `location:us-west*` to find Google Cloud resources whose location contains both "us" and "west" as
3146
+ * prefixes. * `labels:prod` to find Google Cloud resources whose labels contain "prod" as a key or value. * `labels.env:prod` to find Google Cloud resources that have a label
3147
+ * "env" and its value is "prod". * `labels.env:*` to find Google Cloud resources that have a label "env". * `kmsKey:key` to find Google Cloud resources encrypted with a
3148
+ * customer-managed encryption key whose name contains "key" as a word. This field is deprecated. Please use the `kmsKeys` field to retrieve Cloud KMS key information. *
3149
+ * `kmsKeys:key` to find Google Cloud resources encrypted with customer-managed encryption keys whose name contains the word "key". * `relationships:instance-group-1` to find
3150
+ * Google Cloud resources that have relationships with "instance-group-1" in the related resource name. * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute Engine instances
3151
+ * that have relationships of type "INSTANCE_TO_INSTANCEGROUP". * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find Compute Engine instances that have
3152
+ * relationships with "instance-group-1" in the Compute Engine instance group resource name, for relationship type "INSTANCE_TO_INSTANCEGROUP". * `state:ACTIVE` to find Google
3153
+ * Cloud resources whose state contains "ACTIVE" as a word. * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't contain "ACTIVE" as a word. *
3154
+ * `createTime<1609459200` to find Google Cloud resources that were created before "2021-01-01 00:00:00 UTC". 1609459200 is the epoch timestamp of "2021-01-01 00:00:00 UTC" in
3155
+ * seconds. * `updateTime>1609459200` to find Google Cloud resources that were updated after "2021-01-01 00:00:00 UTC". 1609459200 is the epoch timestamp of "2021-01-01 00:00:00
3156
+ * UTC" in seconds. * `Important` to find Google Cloud resources that contain "Important" as a word in any of the searchable fields. * `Impor*` to find Google Cloud resources that
3157
+ * contain "Impor" as a prefix of any word in any of the searchable fields. * `Important location:(us-west1 OR global)` to find Google Cloud resources that contain "Important" as a
3158
+ * word in any of the searchable fields and are also located in the "us-west1" region or the "global" location.
3153
3159
  */
3154
3160
  query?: string;
3155
3161
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
@@ -3158,7 +3164,7 @@ declare namespace gapi.client {
3158
3164
  * Optional. A comma-separated list of fields specifying which fields to be returned in ResourceSearchResult. Only '*' or combination of top level fields can be specified. Field
3159
3165
  * names of both snake_case and camelCase are supported. Examples: `"*"`, `"name,location"`, `"name,versionedResources"`. The read_mask paths must be valid field paths listed but
3160
3166
  * not limited to (both snake_case and camelCase are supported): * name * assetType * project * displayName * description * location * tagKeys * tagValues * tagValueIds * labels *
3161
- * networkTags * kmsKey (This field is deprecated. Please use the `kmsKeys` field to retrieve KMS key information.) * kmsKeys * createTime * updateTime * state *
3167
+ * networkTags * kmsKey (This field is deprecated. Please use the `kmsKeys` field to retrieve Cloud KMS key information.) * kmsKeys * createTime * updateTime * state *
3162
3168
  * additionalAttributes * versionedResources If read_mask is not specified, all fields except versionedResources will be returned. If only '*' is specified, all fields including
3163
3169
  * versionedResources will be returned. Any invalid field path will trigger INVALID_ARGUMENT error.
3164
3170
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudasset-v1",
3
- "version": "0.0.20221221",
3
+ "version": "0.0.20230114",
4
4
  "description": "TypeScript typings for Cloud Asset API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TypeScript typings for Cloud Asset API v1
2
2
 
3
- The cloud asset API manages the history and inventory of cloud resources.
3
+ The Cloud Asset API manages the history and inventory of Google Cloud resources.
4
4
  For detailed description please check [documentation](https://cloud.google.com/asset-inventory/docs/quickstart).
5
5
 
6
6
  ## Installing
@@ -152,7 +152,7 @@ Analyzes organization policies under a scope.
152
152
  await gapi.client.cloudasset.analyzeOrgPolicies({ scope: "scope", });
153
153
 
154
154
  /*
155
- Analyzes organization policies governed assets (GCP resources or policies) under a scope. This RPC supports custom constraints and the following 10 canned constraints: * storage.uniformBucketLevelAccess * iam.disableServiceAccountKeyCreation * iam.allowedPolicyMemberDomains * compute.vmExternalIpAccess * appengine.enforceServiceAccountActAsCheck * gcp.resourceLocations * compute.trustedImageProjects * compute.skipDefaultNetworkCreation * compute.requireOsLogin * compute.disableNestedVirtualization This RPC only returns either resources of types supported by [searchable asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types), or IAM policies.
155
+ Analyzes organization policies governed assets (Google Cloud resources or policies) under a scope. This RPC supports custom constraints and the following 10 canned constraints: * storage.uniformBucketLevelAccess * iam.disableServiceAccountKeyCreation * iam.allowedPolicyMemberDomains * compute.vmExternalIpAccess * appengine.enforceServiceAccountActAsCheck * gcp.resourceLocations * compute.trustedImageProjects * compute.skipDefaultNetworkCreation * compute.requireOsLogin * compute.disableNestedVirtualization This RPC only returns either resources of types supported by [searchable asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types), or IAM policies.
156
156
  */
157
157
  await gapi.client.cloudasset.analyzeOrgPolicyGovernedAssets({ scope: "scope", });
158
158
 
@@ -182,7 +182,7 @@ Searches all IAM policies within the specified scope, such as a project, folder,
182
182
  await gapi.client.cloudasset.searchAllIamPolicies({ scope: "scope", });
183
183
 
184
184
  /*
185
- Searches all Cloud resources within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllResources` permission on the desired scope, otherwise the request will be rejected.
185
+ Searches all Google Cloud resources within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllResources` permission on the desired scope, otherwise the request will be rejected.
186
186
  */
187
187
  await gapi.client.cloudasset.searchAllResources({ scope: "scope", });
188
188
  ```
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20221221
6
+ // Revision: 20230114
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -310,7 +310,7 @@ gapi.load('client', async () => {
310
310
  scope: "Test string",
311
311
  });
312
312
  /**
313
- * Analyzes organization policies governed assets (GCP resources or policies) under a scope. This RPC supports custom constraints and the following 10 canned constraints: *
313
+ * Analyzes organization policies governed assets (Google Cloud resources or policies) under a scope. This RPC supports custom constraints and the following 10 canned constraints: *
314
314
  * storage.uniformBucketLevelAccess * iam.disableServiceAccountKeyCreation * iam.allowedPolicyMemberDomains * compute.vmExternalIpAccess * appengine.enforceServiceAccountActAsCheck *
315
315
  * gcp.resourceLocations * compute.trustedImageProjects * compute.skipDefaultNetworkCreation * compute.requireOsLogin * compute.disableNestedVirtualization This RPC only returns either
316
316
  * resources of types supported by [searchable asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types), or IAM policies.
@@ -416,8 +416,8 @@ gapi.load('client', async () => {
416
416
  scope: "Test string",
417
417
  });
418
418
  /**
419
- * Searches all Cloud resources within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllResources` permission on
420
- * the desired scope, otherwise the request will be rejected.
419
+ * Searches all Google Cloud resources within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllResources`
420
+ * permission on the desired scope, otherwise the request will be rejected.
421
421
  */
422
422
  await gapi.client.cloudasset.v1.searchAllResources({
423
423
  assetTypes: "Test string",