Skip to content

Add documentation for Storage Intelligence data sources. #9655

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changelog/13463.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
```release-note:new-datasource
`google_storage_control_project_intelligence_config`
```
```release-note:new-datasource
`google_storage_control_folder_intelligence_config`
```
```release-note:new-datasource
`google_storage_control_organization_intelligence_config`
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
subcategory: "Cloud Storage Control"
description: |-
Gets a Folder Storage Intelligence config.
---

# google_storage_control_folder_intelligence_config

Use this data source to get information about a Folder Storage Intelligence config resource.
See [the official documentation](https://cloud.google.com/storage/docs/storage-intelligence/overview#resource)
and
[API](https://cloud.google.com/storage/docs/json_api/v1/intelligenceConfig).


## Example Usage

```hcl
data "google_storage_control_folder_intelligence_config" "sample-config" {
name = "123456789"
}
```

## Argument Reference

The following arguments are supported:

* `name` - (Required) The number of GCP folder.


## Attributes Reference

See [google_storage_control_folder_intelligence_config](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_control_folder_intelligence_config#argument-reference) resource for details of the available attributes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
subcategory: "Cloud Storage Control"
description: |-
Gets a Organization Storage Intelligence config.
---

# google_storage_control_organization_intelligence_config

Use this data source to get information about a Organization Storage Intelligence config resource.
See [the official documentation](https://cloud.google.com/storage/docs/storage-intelligence/overview#resource)
and
[API](https://cloud.google.com/storage/docs/json_api/v1/intelligenceConfig).


## Example Usage

```hcl
data "google_storage_control_organization_intelligence_config" "sample-config" {
name = "123456789"
}
```

## Argument Reference

The following arguments are supported:

* `name` - (Required) The id of GCP organization.


## Attributes Reference

See [google_storage_control_organization_intelligence_config](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_control_organization_intelligence_config#argument-reference) resource for details of the available attributes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
subcategory: "Cloud Storage Control"
description: |-
Gets a Project Storage Intelligence config.
---

# google_storage_control_project_intelligence_config

Use this data source to get information about a Project Storage Intelligence config resource.
See [the official documentation](https://cloud.google.com/storage/docs/storage-intelligence/overview#resource)
and
[API](https://cloud.google.com/storage/docs/json_api/v1/intelligenceConfig).


## Example Usage

```hcl
data "google_storage_control_project_intelligence_config" "sample-config" {
name = "my-project"
}
```

## Argument Reference

The following arguments are supported:

* `name` - (Required) The name or number of the GCP project.


## Attributes Reference

See [google_storage_control_project_intelligence_config](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_control_project_intelligence_config#argument-reference) resource for details of the available attributes.
Loading