Skip to content

Commit a500ca1

Browse files
authored
Merge pull request #152 from stackql/feature/doc-updates
Feature/doc updates
2 parents 1d05f7f + 497d874 commit a500ca1

File tree

1,722 files changed

+27580
-22753
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,722 files changed

+27580
-22753
lines changed

docs/aws-docs/index.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ id: aws-doc
1717
slug: /providers/aws
1818

1919
---
20+
21+
import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';
22+
2023
Cloud services from AWS.
2124

2225
:::info Provider Summary (v24.05.00228)
@@ -51,9 +54,9 @@ REGISTRY PULL aws;
5154

5255
The following system environment variables are used for authentication by default:
5356

54-
- `AWS_ACCESS_KEY_ID` - AWS Access Key ID (see [How to Create AWS Credentials](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html))
55-
- `AWS_SECRET_ACCESS_KEY` - AWS Secret Access Key (see [How to Create AWS Credentials](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html))
56-
- `AWS_SESSION_TOKEN` - [*OPTIONAL:* only required if using `aws sts assume-role`] AWS Session Token (see [Temporary security credentials in IAM](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html))
57+
- <CopyableCode code="AWS_ACCESS_KEY_ID" /> - AWS Access Key ID (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html">How to Create AWS Credentials</a>)
58+
- <CopyableCode code="AWS_SECRET_ACCESS_KEY" /> - AWS Secret Access Key (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html">How to Create AWS Credentials</a>)
59+
- <CopyableCode code="AWS_SESSION_TOKEN" /> - [<i>OPTIONAL:</i> only required if using <CopyableCode code="aws sts assume-role" />] AWS Session Token (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html">Temporary security credentials in IAM</a>)
5760

5861
These variables are sourced at runtime (from the local machine or as CI variables/secrets).
5962

@@ -85,7 +88,7 @@ stackql.exe shell --auth=$Auth
8588

8689
The following parameter is required for the `aws` provider:
8790

88-
- `region` - AWS region (e.g. `us-east-1`)
91+
- <CopyableCode code="region" /> - AWS region (e.g. <code>us-east-1</code>)
8992

9093
This parameter must be supplied to the `WHERE` clause of each `SELECT` statement.
9194

docs/firebase-docs/index.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ custom_edit_url: null
1313
image: /img/providers/firebase/stackql-firebase-provider-featured-image.png
1414
id: firebase-doc
1515
slug: /providers/firebase
16-
1716
---
17+
18+
import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';
19+
1820
Application development platform for creating mobile and web applications.
1921

2022
:::info Provider Summary (v23.03.00121)
@@ -49,24 +51,24 @@ REGISTRY PULL firebase;
4951

5052

5153
The following authentication methods are supported:
52-
- `service_account`
53-
- `interactive` for running interactive queries from Cloud Shell or other machines where the user is authenticated using `gcloud auth login`
54+
- <CopyableCode code="service_account" />
55+
- <CopyableCode code="interactive" /> for running interactive queries from Cloud Shell or other machines where the user is authenticated using <CopyableCode code="gcloud auth login" />
5456

5557
> for more information on creating service accounts and key files, see [Service accounts overview](https://cloud.google.com/iam/docs/service-account-overview).
5658
5759
### Service Account Environment Variable (default)
5860

5961
The following system environment variable is used by default:
6062

61-
- `GOOGLE_CREDENTIALS` - contents of the `google` service account key json fileThis variable is sourced at runtime (from the local machine using export GOOGLE_CREDENTIALS=cat creds/my-sa-key.json` for example or as a CI variable/secret).
63+
- <CopyableCode code="GOOGLE_CREDENTIALS" /> - contents of the <code>google</code> service account key json file. This variable is sourced at runtime (from the local machine using <cdoe>export GOOGLE_CREDENTIALS=cat creds/my-sa-key.json</code> for example or as a CI variable/secret).
6264

6365
This variable is sourced at runtime (from the local machine using `export GOOGLE_CREDENTIALS=$(cat creds/my-sa-key.json)` for example or as a CI variable/secret).
6466

6567
<details>
6668

6769
<summary>Specifying the service account key file location directly</summary>
6870

69-
You can specify the path to the service account key file without using the default environment variable by using the `--auth` flag of the `stackql` program. For example:
71+
You can specify the path to the service account key file without using the default environment variable by using the <CopyableCode code="--auth" /> flag of the <code>stackql</code> program. For example:
7072

7173
```bash
7274
AUTH='{ "google": { "type": "service_account", "credentialsfilepath": "creds/sa-key.json" }}'
@@ -83,7 +85,7 @@ stackql.exe shell --auth=$Auth
8385
</details>
8486

8587
### Interactive Authentication
86-
When you are using Google Cloud Shell or on a machine where you have authenticated using `gcloud auth login`, you can then use the following authentication method:
88+
When you are using Google Cloud Shell or on a machine where you have authenticated using <CopyableCode code="gcloud auth login" />, you can then use the following authentication method:
8789

8890
```bash
8991
AUTH='{ "google": { "type": "interactive" }}'
@@ -112,4 +114,4 @@ stackql.exe shell --auth=$Auth
112114
<a href="/providers/firebase/firebasestorage/">firebasestorage</a><br />
113115
<a href="/providers/firebase/toolresults/">toolresults</a><br />
114116
</div>
115-
</div>
117+
</div>

docs/firebase-docs/providers/firebase/firebase/android_apps/index.md

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,38 @@ description: Query, deploy and manage Google Cloud Platform (GCP) infrastructure
1414
custom_edit_url: null
1515
image: /img/providers/firebase/stackql-firebase-provider-featured-image.png
1616
---
17-
18-
17+
18+
import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';
19+
20+
21+
1922

2023
## Overview
2124
<table><tbody>
2225
<tr><td><b>Name</b></td><td><code>android_apps</code></td></tr>
2326
<tr><td><b>Type</b></td><td>Resource</td></tr>
24-
<tr><td><b>Id</b></td><td><code>firebase.firebase.android_apps</code></td></tr>
27+
<tr><td><b>Id</b></td><td><CopyableCode code="firebase.firebase.android_apps" /></td></tr>
2528
</tbody></table>
2629

2730
## Fields
2831
| Name | Datatype | Description |
2932
|:-----|:---------|:------------|
30-
| `name` | `string` | The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510). Note that the value for PROJECT_IDENTIFIER in any response body will be the `ProjectId`. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see [`appId`](../projects.androidApps#AndroidApp.FIELDS.app_id)). |
31-
| `sha1Hashes` | `array` | The SHA1 certificate hashes for the AndroidApp. |
32-
| `packageName` | `string` | Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console. |
33-
| `displayName` | `string` | The user-assigned display name for the `AndroidApp`. |
34-
| `apiKeyId` | `string` | The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the `AndroidApp`. Be aware that this value is the UID of the API key, _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/reference/rest/v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `keyString` is the value that can be found in the App's [configuration artifact](../../rest/v1beta1/projects.androidApps/getConfig). If `api_key_id` is not set in requests to [`androidApps.Create`](../../rest/v1beta1/projects.androidApps/create), then Firebase automatically associates an `api_key_id` with the `AndroidApp`. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests, `api_key_id` cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associated `AndroidApp`. We recommend using the [Google Cloud Console](https://console.cloud.google.com/apis/credentials) to manage API keys. |
35-
| `etag` | `string` | This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding. Learn more about `etag` in Google's [AIP-154 standard](https://google.aip.dev/154#declarative-friendly-resources). This etag is strongly validated. |
36-
| `projectId` | `string` | Output only. Immutable. A user-assigned unique identifier of the parent FirebaseProject for the `AndroidApp`. |
37-
| `state` | `string` | Output only. The lifecycle state of the App. |
38-
| `appId` | `string` | Output only. Immutable. The globally unique, Firebase-assigned identifier for the `AndroidApp`. This identifier should be treated as an opaque token, as the data format is not specified. |
39-
| `sha256Hashes` | `array` | The SHA256 certificate hashes for the AndroidApp. |
33+
| <CopyableCode code="name" /> | `string` | The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510). Note that the value for PROJECT_IDENTIFIER in any response body will be the `ProjectId`. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see [`appId`](../projects.androidApps#AndroidApp.FIELDS.app_id)). |
34+
| <CopyableCode code="apiKeyId" /> | `string` | The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the `AndroidApp`. Be aware that this value is the UID of the API key, _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/reference/rest/v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `keyString` is the value that can be found in the App's [configuration artifact](../../rest/v1beta1/projects.androidApps/getConfig). If `api_key_id` is not set in requests to [`androidApps.Create`](../../rest/v1beta1/projects.androidApps/create), then Firebase automatically associates an `api_key_id` with the `AndroidApp`. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests, `api_key_id` cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associated `AndroidApp`. We recommend using the [Google Cloud Console](https://console.cloud.google.com/apis/credentials) to manage API keys. |
35+
| <CopyableCode code="appId" /> | `string` | Output only. Immutable. The globally unique, Firebase-assigned identifier for the `AndroidApp`. This identifier should be treated as an opaque token, as the data format is not specified. |
36+
| <CopyableCode code="displayName" /> | `string` | The user-assigned display name for the `AndroidApp`. |
37+
| <CopyableCode code="etag" /> | `string` | This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding. Learn more about `etag` in Google's [AIP-154 standard](https://google.aip.dev/154#declarative-friendly-resources). This etag is strongly validated. |
38+
| <CopyableCode code="packageName" /> | `string` | Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console. |
39+
| <CopyableCode code="projectId" /> | `string` | Output only. Immutable. A user-assigned unique identifier of the parent FirebaseProject for the `AndroidApp`. |
40+
| <CopyableCode code="sha1Hashes" /> | `array` | The SHA1 certificate hashes for the AndroidApp. |
41+
| <CopyableCode code="sha256Hashes" /> | `array` | The SHA256 certificate hashes for the AndroidApp. |
42+
| <CopyableCode code="state" /> | `string` | Output only. The lifecycle state of the App. |
4043
## Methods
4144
| Name | Accessible by | Required Params | Description |
4245
|:-----|:--------------|:----------------|:------------|
43-
| `projects_androidApps_get` | `SELECT` | `androidAppsId, projectsId` | Gets the specified AndroidApp. |
44-
| `projects_androidApps_list` | `SELECT` | `projectsId` | Lists each AndroidApp associated with the specified FirebaseProject. The elements are returned in no particular order, but will be a consistent view of the Apps when additional requests are made with a `pageToken`. |
45-
| `projects_androidApps_create` | `INSERT` | `projectsId` | Requests the creation of a new AndroidApp in the specified FirebaseProject. The result of this call is an `Operation` which can be used to track the provisioning process. The `Operation` is automatically deleted after completion, so there is no need to call `DeleteOperation`. |
46-
| `projects_androidApps_patch` | `EXEC` | `androidAppsId, projectsId` | Updates the attributes of the specified AndroidApp. |
47-
| `projects_androidApps_remove` | `EXEC` | `androidAppsId, projectsId` | Removes the specified AndroidApp from the FirebaseProject. |
48-
| `projects_androidApps_undelete` | `EXEC` | `androidAppsId, projectsId` | Restores the specified AndroidApp to the FirebaseProject. |
46+
| <CopyableCode code="projects_androidApps_get" /> | `SELECT` | <CopyableCode code="androidAppsId, projectsId" /> | Gets the specified AndroidApp. |
47+
| <CopyableCode code="projects_androidApps_list" /> | `SELECT` | <CopyableCode code="projectsId" /> | Lists each AndroidApp associated with the specified FirebaseProject. The elements are returned in no particular order, but will be a consistent view of the Apps when additional requests are made with a `pageToken`. |
48+
| <CopyableCode code="projects_androidApps_create" /> | `INSERT` | <CopyableCode code="projectsId" /> | Requests the creation of a new AndroidApp in the specified FirebaseProject. The result of this call is an `Operation` which can be used to track the provisioning process. The `Operation` is automatically deleted after completion, so there is no need to call `DeleteOperation`. |
49+
| <CopyableCode code="projects_androidApps_patch" /> | `EXEC` | <CopyableCode code="androidAppsId, projectsId" /> | Updates the attributes of the specified AndroidApp. |
50+
| <CopyableCode code="projects_androidApps_remove" /> | `EXEC` | <CopyableCode code="androidAppsId, projectsId" /> | Removes the specified AndroidApp from the FirebaseProject. |
51+
| <CopyableCode code="projects_androidApps_undelete" /> | `EXEC` | <CopyableCode code="androidAppsId, projectsId" /> | Restores the specified AndroidApp to the FirebaseProject. |

docs/firebase-docs/providers/firebase/firebase/android_apps__config/index.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,25 @@ description: Query, deploy and manage Google Cloud Platform (GCP) infrastructure
1414
custom_edit_url: null
1515
image: /img/providers/firebase/stackql-firebase-provider-featured-image.png
1616
---
17-
18-
17+
18+
import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';
19+
20+
21+
1922

2023
## Overview
2124
<table><tbody>
2225
<tr><td><b>Name</b></td><td><code>android_apps__config</code></td></tr>
2326
<tr><td><b>Type</b></td><td>Resource</td></tr>
24-
<tr><td><b>Id</b></td><td><code>firebase.firebase.android_apps__config</code></td></tr>
27+
<tr><td><b>Id</b></td><td><CopyableCode code="firebase.firebase.android_apps__config" /></td></tr>
2528
</tbody></table>
2629

2730
## Fields
2831
| Name | Datatype | Description |
2932
|:-----|:---------|:------------|
30-
| `configFilename` | `string` | The filename that the configuration artifact for the `AndroidApp` is typically saved as. For example: `google-services.json` |
31-
| `configFileContents` | `string` | The contents of the JSON configuration file. |
33+
| <CopyableCode code="configFileContents" /> | `string` | The contents of the JSON configuration file. |
34+
| <CopyableCode code="configFilename" /> | `string` | The filename that the configuration artifact for the `AndroidApp` is typically saved as. For example: `google-services.json` |
3235
## Methods
3336
| Name | Accessible by | Required Params |
3437
|:-----|:--------------|:----------------|
35-
| `projects_androidApps_getConfig` | `SELECT` | `androidAppsId, projectsId` |
38+
| <CopyableCode code="projects_androidApps_getConfig" /> | `SELECT` | <CopyableCode code="androidAppsId, projectsId" /> |

docs/firebase-docs/providers/firebase/firebase/available_locations/index.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,25 @@ description: Query, deploy and manage Google Cloud Platform (GCP) infrastructure
1414
custom_edit_url: null
1515
image: /img/providers/firebase/stackql-firebase-provider-featured-image.png
1616
---
17-
18-
17+
18+
import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';
19+
20+
21+
1922

2023
## Overview
2124
<table><tbody>
2225
<tr><td><b>Name</b></td><td><code>available_locations</code></td></tr>
2326
<tr><td><b>Type</b></td><td>Resource</td></tr>
24-
<tr><td><b>Id</b></td><td><code>firebase.firebase.available_locations</code></td></tr>
27+
<tr><td><b>Id</b></td><td><CopyableCode code="firebase.firebase.available_locations" /></td></tr>
2528
</tbody></table>
2629

2730
## Fields
2831
| Name | Datatype | Description |
2932
|:-----|:---------|:------------|
30-
| `nextPageToken` | `string` | If the result list is too large to fit in a single response, then a token is returned. If the string is empty, then this response is the last page of results and all available locations have been listed. This token can be used in a subsequent call to `ListAvailableLocations` to find more locations. Page tokens are short-lived and should not be persisted. |
31-
| `locations` | `array` | One page of results from a call to `ListAvailableLocations`. |
33+
| <CopyableCode code="locations" /> | `array` | One page of results from a call to `ListAvailableLocations`. |
34+
| <CopyableCode code="nextPageToken" /> | `string` | If the result list is too large to fit in a single response, then a token is returned. If the string is empty, then this response is the last page of results and all available locations have been listed. This token can be used in a subsequent call to `ListAvailableLocations` to find more locations. Page tokens are short-lived and should not be persisted. |
3235
## Methods
3336
| Name | Accessible by | Required Params |
3437
|:-----|:--------------|:----------------|
35-
| `projects_availableLocations_list` | `SELECT` | `projectsId` |
38+
| <CopyableCode code="projects_availableLocations_list" /> | `SELECT` | <CopyableCode code="projectsId" /> |

docs/firebase-docs/providers/firebase/firebase/available_projects/index.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,25 @@ description: Query, deploy and manage Google Cloud Platform (GCP) infrastructure
1414
custom_edit_url: null
1515
image: /img/providers/firebase/stackql-firebase-provider-featured-image.png
1616
---
17-
18-
17+
18+
import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';
19+
20+
21+
1922

2023
## Overview
2124
<table><tbody>
2225
<tr><td><b>Name</b></td><td><code>available_projects</code></td></tr>
2326
<tr><td><b>Type</b></td><td>Resource</td></tr>
24-
<tr><td><b>Id</b></td><td><code>firebase.firebase.available_projects</code></td></tr>
27+
<tr><td><b>Id</b></td><td><CopyableCode code="firebase.firebase.available_projects" /></td></tr>
2528
</tbody></table>
2629

2730
## Fields
2831
| Name | Datatype | Description |
2932
|:-----|:---------|:------------|
30-
| `nextPageToken` | `string` | If the result list is too large to fit in a single response, then a token is returned. If the string is empty, then this response is the last page of results. This token can be used in a subsequent calls to `ListAvailableProjects` to find the next group of Projects. Page tokens are short-lived and should not be persisted. |
31-
| `projectInfo` | `array` | The list of GCP `Projects` which can have Firebase resources added to them. |
33+
| <CopyableCode code="nextPageToken" /> | `string` | If the result list is too large to fit in a single response, then a token is returned. If the string is empty, then this response is the last page of results. This token can be used in a subsequent calls to `ListAvailableProjects` to find the next group of Projects. Page tokens are short-lived and should not be persisted. |
34+
| <CopyableCode code="projectInfo" /> | `array` | The list of GCP `Projects` which can have Firebase resources added to them. |
3235
## Methods
3336
| Name | Accessible by | Required Params |
3437
|:-----|:--------------|:----------------|
35-
| `availableProjects_list` | `SELECT` | |
38+
| <CopyableCode code="availableProjects_list" /> | `SELECT` | |

0 commit comments

Comments
 (0)