You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,15 +187,15 @@ If `parent` is set to `false`, it wil be uploaded to `gs://bucket-name/folder2/f
187
187
188
188
<!-- BEGIN_AUTOGEN_INPUTS -->
189
189
190
-
- <a name="project_id"></a><a href="#user-content-project_id"><code>project_id</code></a>: _(Optional)_ Google Cloud project ID to use for billing and API requests. If not
190
+
- <a name="__input_project_id"></a><a href="#user-content-__input_project_id"><code>project_id</code></a>: _(Optional)_ Google Cloud project ID to use for billing and API requests. If not
191
191
provided, the project will be inferred from the environment, best-effort.
192
192
To explicitly set the value:
193
193
194
194
```yaml
195
195
project_id: 'my-project'
196
196
```
197
197
198
-
- <a name="universe"></a><a href="#user-content-universe"><code>universe</code></a>: _(Optional, default: `googleapis.com`)_ The Google Cloud universe to use for constructing API endpoints. Trusted
198
+
- <a name="__input_universe"></a><a href="#user-content-__input_universe"><code>universe</code></a>: _(Optional, default: `googleapis.com`)_ The Google Cloud universe to use for constructing API endpoints. Trusted
199
199
Partner Cloud and Google Distributed Hosted Cloud should set this to their
200
200
universe address.
201
201
@@ -210,7 +210,7 @@ If `parent` is set to `false`, it wil be uploaded to `gs://bucket-name/folder2/f
210
210
211
211
For more information about universes, see the Google Cloud documentation.
212
212
213
-
- <a name="path"></a><a href="#user-content-path"><code>path</code></a>: _(Required)_ The path to a file or folder inside the action's filesystem that should be
213
+
- <a name="__input_path"></a><a href="#user-content-__input_path"><code>path</code></a>: _(Required)_ The path to a file or folder inside the action's filesystem that should be
214
214
uploaded to the bucket.
215
215
216
216
You can specify either the absolute path or the relative path from the
@@ -224,7 +224,7 @@ If `parent` is set to `false`, it wil be uploaded to `gs://bucket-name/folder2/f
224
224
path: '../path/to/file'
225
225
```
226
226
227
-
- <a name="destination"></a><a href="#user-content-destination"><code>destination</code></a>: _(Required)_ The destination for the file/folder in the form bucket-name or with an
227
+
- <a name="__input_destination"></a><a href="#user-content-__input_destination"><code>destination</code></a>: _(Required)_ The destination for the file/folder in the form bucket-name or with an
228
228
optional prefix in the form `bucket-name/prefix`. For example, to upload a
229
229
file named `file` to the GCS bucket `bucket-name`:
230
230
@@ -238,21 +238,21 @@ If `parent` is set to `false`, it wil be uploaded to `gs://bucket-name/folder2/f
238
238
destination: 'bucket-name/prefix'
239
239
```
240
240
241
-
- <a name="gzip"></a><a href="#user-content-gzip"><code>gzip</code></a>: _(Optional, default: `true`)_ Upload file(s) with gzip content encoding. To disable gzip
241
+
- <a name="__input_gzip"></a><a href="#user-content-__input_gzip"><code>gzip</code></a>: _(Optional, default: `true`)_ Upload file(s) with gzip content encoding. To disable gzip
242
242
content-encoding, set the value to false:
243
243
244
244
```yaml
245
245
gzip: false
246
246
```
247
247
248
-
- <a name="resumable"></a><a href="#user-content-resumable"><code>resumable</code></a>: _(Optional, default: `true`)_ Enable resumable uploads. To disable resumable uploads, set the value to
248
+
- <a name="__input_resumable"></a><a href="#user-content-__input_resumable"><code>resumable</code></a>: _(Optional, default: `true`)_ Enable resumable uploads. To disable resumable uploads, set the value to
249
249
false:
250
250
251
251
```yaml
252
252
resumable: false
253
253
```
254
254
255
-
- <a name="predefinedAcl"></a><a href="#user-content-predefinedAcl"><code>predefinedAcl</code></a>: _(Optional)_ Apply a predefined set of access controls to the files being uploaded. For
255
+
- <a name="__input_predefinedAcl"></a><a href="#user-content-__input_predefinedAcl"><code>predefinedAcl</code></a>: _(Optional)_ Apply a predefined set of access controls to the files being uploaded. For
256
256
example, to grant project team members access to the uploaded files
257
257
according to their roles:
258
258
@@ -265,7 +265,7 @@ If `parent` is set to `false`, it wil be uploaded to `gs://bucket-name/folder2/f
- <a name="headers"></a><a href="#user-content-headers"><code>headers</code></a>: _(Optional)_ Set object metadata. For example, to set the `Content-Type` header to
268
+
- <a name="__input_headers"></a><a href="#user-content-__input_headers"><code>headers</code></a>: _(Optional)_ Set object metadata. For example, to set the `Content-Type` header to
269
269
`application/json`and custom metadata with key `custom-field` and value
270
270
`custom-value`:
271
271
@@ -282,31 +282,31 @@ If `parent` is set to `false`, it wil be uploaded to `gs://bucket-name/folder2/f
282
282
for details. All custom metadata fields must be prefixed with
283
283
`x-goog-meta-`.
284
284
285
-
- <a name="parent"></a><a href="#user-content-parent"><code>parent</code></a>: _(Optional, default: `true`)_ Whether the parent directory should be included in GCS destination path. To disable this:
285
+
- <a name="__input_parent"></a><a href="#user-content-__input_parent"><code>parent</code></a>: _(Optional, default: `true`)_ Whether the parent directory should be included in GCS destination path. To disable this:
286
286
287
287
```yaml
288
288
parent: false
289
289
```
290
290
291
-
- <a name="glob"></a><a href="#user-content-glob"><code>glob</code></a>: _(Optional)_ Glob pattern to match for files to upload.
291
+
- <a name="__input_glob"></a><a href="#user-content-__input_glob"><code>glob</code></a>: _(Optional)_ Glob pattern to match for files to upload.
292
292
293
293
```yaml
294
294
glob: '*.txt'
295
295
```
296
296
297
-
- <a name="concurrency"></a><a href="#user-content-concurrency"><code>concurrency</code></a>: _(Optional, default: `100`)_ Number of files to simultaneously upload.
297
+
- <a name="__input_concurrency"></a><a href="#user-content-__input_concurrency"><code>concurrency</code></a>: _(Optional, default: `100`)_ Number of files to simultaneously upload.
298
298
299
299
```yaml
300
300
concurrency: '10'
301
301
```
302
302
303
-
- <a name="gcloudignore_path"></a><a href="#user-content-gcloudignore_path"><code>gcloudignore_path</code></a>: _(Optional, default: `.gcloudignore`)_ Path to a gcloudignore file within the repository.
303
+
- <a name="__input_gcloudignore_path"></a><a href="#user-content-__input_gcloudignore_path"><code>gcloudignore_path</code></a>: _(Optional, default: `.gcloudignore`)_ Path to a gcloudignore file within the repository.
304
304
305
305
```yaml
306
306
gcloudignore_path: '.gcloudignore.dev'
307
307
```
308
308
309
-
- <a name="process_gcloudignore"></a><a href="#user-content-process_gcloudignore"><code>process_gcloudignore</code></a>: _(Optional, default: `true`)_ Process a `.gcloudignore` file present in the top-level of the repository.
309
+
- <a name="__input_process_gcloudignore"></a><a href="#user-content-__input_process_gcloudignore"><code>process_gcloudignore</code></a>: _(Optional, default: `true`)_ Process a `.gcloudignore` file present in the top-level of the repository.
310
310
If true, the file is parsed and any filepaths that match are not uploaded
311
311
to the storage bucket. To disable, set the value to false:
312
312
@@ -322,7 +322,7 @@ If `parent` is set to `false`, it wil be uploaded to `gs://bucket-name/folder2/f
322
322
323
323
<!-- BEGIN_AUTOGEN_OUTPUTS -->
324
324
325
-
- `uploaded`: Comma-separated list of files that were uploaded.
325
+
- <a name="__output_uploaded"></a><a href="#user-content-__output_uploaded"><code>uploaded</code></a>: Comma-separated list of files that were uploaded.
0 commit comments