Class GetResourcesSearchAllArgs.Builder

  • Enclosing class:
    GetResourcesSearchAllArgs

    public static final class GetResourcesSearchAllArgs.Builder
    extends java.lang.Object
    • Method Detail

      • assetTypes

        public GetResourcesSearchAllArgs.Builder assetTypes​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> assetTypes)
        Parameters:
        assetTypes - A list of asset types that this request searches for. If empty, it will search all the [supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
        Returns:
        builder
      • assetTypes

        public GetResourcesSearchAllArgs.Builder assetTypes​(java.util.List<java.lang.String> assetTypes)
        Parameters:
        assetTypes - A list of asset types that this request searches for. If empty, it will search all the [supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
        Returns:
        builder
      • assetTypes

        public GetResourcesSearchAllArgs.Builder assetTypes​(java.lang.String... assetTypes)
        Parameters:
        assetTypes - A list of asset types that this request searches for. If empty, it will search all the [supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
        Returns:
        builder
      • query

        public GetResourcesSearchAllArgs.Builder query​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> query)
        Parameters:
        query - 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. If not specified or empty, it will search all the resources within the specified `scope` and `asset_types`.
        Returns:
        builder
      • query

        public GetResourcesSearchAllArgs.Builder query​(java.lang.String query)
        Parameters:
        query - 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. If not specified or empty, it will search all the resources within the specified `scope` and `asset_types`.
        Returns:
        builder
      • scope

        public GetResourcesSearchAllArgs.Builder scope​(com.pulumi.core.Output<java.lang.String> scope)
        Parameters:
        scope - A scope can be a project, a folder, or an organization. The allowed value must be: organization number (such as "organizations/123"), folder number (such as "folders/1234"), project number (such as "projects/12345") or project id (such as "projects/abc")
        Returns:
        builder
      • scope

        public GetResourcesSearchAllArgs.Builder scope​(java.lang.String scope)
        Parameters:
        scope - A scope can be a project, a folder, or an organization. The allowed value must be: organization number (such as "organizations/123"), folder number (such as "folders/1234"), project number (such as "projects/12345") or project id (such as "projects/abc")
        Returns:
        builder