Package com.pulumi.gcp.cloudasset.inputs
Class GetResourcesSearchAllArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.cloudasset.inputs.GetResourcesSearchAllArgs.Builder
-
- Enclosing class:
- GetResourcesSearchAllArgs
public static final class GetResourcesSearchAllArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GetResourcesSearchAllArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetResourcesSearchAllArgs.Builder
assetTypes(com.pulumi.core.Output<java.util.List<java.lang.String>> assetTypes)
GetResourcesSearchAllArgs.Builder
assetTypes(java.lang.String... assetTypes)
GetResourcesSearchAllArgs.Builder
assetTypes(java.util.List<java.lang.String> assetTypes)
GetResourcesSearchAllArgs
build()
GetResourcesSearchAllArgs.Builder
query(com.pulumi.core.Output<java.lang.String> query)
GetResourcesSearchAllArgs.Builder
query(java.lang.String query)
GetResourcesSearchAllArgs.Builder
scope(com.pulumi.core.Output<java.lang.String> scope)
GetResourcesSearchAllArgs.Builder
scope(java.lang.String scope)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetResourcesSearchAllArgs defaults)
-
-
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
-
build
public GetResourcesSearchAllArgs build()
-
-