Skip to content

Commit aaf218d

Browse files
committed
Updated README.md
1 parent f5570cd commit aaf218d

File tree

10 files changed

+53
-33
lines changed

10 files changed

+53
-33
lines changed

gcloudstoragecopy/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Copy an object from a Google Storage bucket to another Google Storage bucket in
4848
* Go to the Google Cloud Project.
4949

5050
* Prepare the credentials:
51+
5152
* Create a Service account.
5253

5354
For example:
@@ -66,16 +67,16 @@ Copy an object from a Google Storage bucket to another Google Storage bucket in
6667

6768
* Run the code.
6869

69-
You must provide 3 parameters:
70+
You must provide 3 parameters, replace the values of:
7071

71-
* `<SOURCE_BUCKET>` = Source bucket name
72-
* `<SOURCE_OBJECT>` = Source object name
73-
* `<DESTINATION_BUCKET>` = Destination bucket name
72+
* `<SOURCE_BUCKET>` by source bucket name.
73+
* `<SOURCE_OBJECT>` by source object name.
74+
* `<DESTINATION_BUCKET>` by destination bucket name.
7475

7576
Run application:
7677

7778
```bash
78-
python gcloudstoragecopy.py source-bucket source-object destination-bucket
79+
python gcloudstoragecopy.py <SOURCE_BUCKET> <SOURCE_OBJECT> <DESTINATION_BUCKET>
7980
```
8081

8182
* Test the application.

gcloudstoragecreate/README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Create a new Google Storage bucket in a Google Cloud Project.
4848
* Go to the Google Cloud Project.
4949

5050
* Prepare the credentials:
51+
5152
* Create a Service account.
5253

5354
For example:
@@ -68,14 +69,14 @@ Create a new Google Storage bucket in a Google Cloud Project.
6869

6970
* Run the code.
7071

71-
You must provide 1 parameter:
72+
You must provide 1 parameter, replace the value of:
7273

73-
* `<BUCKET_NAME>` = Bucket name
74+
* `<BUCKET_NAME>` by Bucket name.
7475

7576
Run application:
7677

7778
```bash
78-
python cloudstoragecreate.py bucket-name
79+
python cloudstoragecreate.py <BUCKET_NAME>
7980
```
8081

8182
* Test the application.

gcloudstoragedelete/README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Delete a Google Storage bucket for a Google Cloud Project.
4848
* Go to the Google Cloud Project.
4949

5050
* Prepare the credentials:
51+
5152
* Create a Service account.
5253

5354
For example:
@@ -66,14 +67,14 @@ Delete a Google Storage bucket for a Google Cloud Project.
6667

6768
* Run the code.
6869

69-
You must provide 1 parameter:
70+
You must provide 1 parameter, replace the value of:
7071

71-
* `<BUCKET_NAME>` = Bucket name
72+
* `<BUCKET_NAME>` by Bucket name.
7273

7374
Run application:
7475

7576
```bash
76-
python cloudstoragedelete.py bucket-name
77+
python cloudstoragedelete.py <BUCKET_NAME>
7778
```
7879

7980
* Test the application.

gcloudstoragedeleteobject/README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Delete an object in a Google Storage bucket for a Google Cloud Project.
4848
* Go to the Google Cloud Project.
4949

5050
* Prepare the credentials:
51+
5152
* Create a Service account.
5253

5354
For example:
@@ -66,15 +67,15 @@ Delete an object in a Google Storage bucket for a Google Cloud Project.
6667

6768
* Run the code.
6869

69-
You must provide 2 parameters:
70+
You must provide 2 parameters, replace the values of:
7071

71-
* `<BUCKET_NAME>` = Name of the bucket
72-
* `<OBJECT_NAME>` = Name of the object in the bucket
72+
* `<BUCKET_NAME>` by name of the bucket.
73+
* `<OBJECT_NAME>` by name of the object in the bucket.
7374

7475
Run application:
7576

7677
```bash
77-
python cloudstoragedeleteobject.py bucket-name object-example
78+
python cloudstoragedeleteobject.py <BUCKET_NAME> <OBJECT_NAME>
7879
```
7980

8081
* Test the application.

gcloudstoragedownload/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Download an object from a Cloud Storage bucket in a Google Cloud Project to a lo
4848
* Go to the Google Cloud Project.
4949

5050
* Prepare the credentials:
51+
5152
* Create a Service account.
5253

5354
For example:
@@ -66,16 +67,16 @@ Download an object from a Cloud Storage bucket in a Google Cloud Project to a lo
6667

6768
* Run the code.
6869

69-
You must provide 3 parameters:
70+
You must provide 3 parameters, replace the values of:
7071

71-
* `<BUCKET_NAME>` = Name of the bucket
72-
* `<OBJECT_NAME>` = Object name in the bucket
73-
* `<LOCAL_FILE_NAME>` = Local file name
72+
* `<BUCKET_NAME>` by name of the bucket.
73+
* `<OBJECT_NAME>` by object name in the bucket.
74+
* `<LOCAL_FILE_NAME>` by local file name.
7475

7576
Run application:
7677

7778
```bash
78-
python gcloudstoragedownload.py bucket-example object-example local-file-example
79+
python gcloudstoragedownload.py <BUCKET_NAME> <OBJECT_NAME> <LOCAL_FILE_NAME>
7980
```
8081

8182
* Test the application.

gcloudstoragelist/README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ List information about the objects in a Cloud Storage bucket in a Google Cloud P
4848
* Go to the Google Cloud Project.
4949

5050
* Prepare the credentials:
51+
5152
* Create a Service account.
5253

5354
For example:
@@ -66,14 +67,14 @@ List information about the objects in a Cloud Storage bucket in a Google Cloud P
6667

6768
* Run the code.
6869

69-
You must provide 1 parameter:
70+
You must provide 1 parameter, replace the value of:
7071

71-
* `<BUCKET_NAME>` = Bucket name
72+
* `<BUCKET_NAME>` by Bucket name.
7273

7374
Run application:
7475

7576
```bash
76-
python cloudstoragelist.py bucket-name
77+
python cloudstoragelist.py <BUCKET_NAME>
7778
```
7879

7980
* Test the application.

gcloudstoragelistall/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ The credentials are taken from GOOGLE_APPLICATION_CREDENTIALS environment variab
5050
* Go to the Google Cloud Project.
5151

5252
* Prepare the credentials:
53+
5354
* Create a Service account.
5455

5556
For example:

gcloudstoragelistallparam/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ The user must provide the credentials using the application parameters.
4444
* Go to the Google Cloud Project.
4545

4646
* Prepare the credentials:
47+
4748
* Create a Service account.
4849

4950
For example:
@@ -60,8 +61,18 @@ The user must provide the credentials using the application parameters.
6061

6162
* Run the code.
6263

64+
You must provide 1 parameter, replace the value of:
65+
66+
* `<CREDENTIALS_FILE_NAME>` by path and name of the JSON credential file.
67+
6368
Run application:
6469

70+
```bash
71+
python cloudstoragelistallparam.py <CREDENTIALS_FILE_NAME>
72+
```
73+
74+
Example:
75+
6576
```bash
6677
python cloudstoragelistallparam.py ~/.gcloud/gcloud-java-examples.json
6778
```

gcloudstoragemove/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Move an object from a Google Storage bucket to another Google Storage bucket in
4848
* Go to the Google Cloud Project.
4949

5050
* Prepare the credentials:
51+
5152
* Create a Service account.
5253

5354
For example:
@@ -66,16 +67,16 @@ Move an object from a Google Storage bucket to another Google Storage bucket in
6667

6768
* Run the code.
6869

69-
You must provide 3 parameters:
70+
You must provide 3 parameters, replace the values of:
7071

71-
* `<SOURCE_BUCKET>` = Source bucket name
72-
* `<SOURCE_OBJECT>` = Source object name
73-
* `<DESTINATION_BUCKET>` = Destination bucket name
72+
* `<SOURCE_BUCKET>` by source bucket name.
73+
* `<SOURCE_OBJECT>` by source object name.
74+
* `<DESTINATION_BUCKET>` by destination bucket name.
7475

7576
Run application:
7677

7778
```bash
78-
python gcloudstoragemove.py source-bucket source-object destination-bucket
79+
python gcloudstoragemove.py <SOURCE_BUCKET> <SOURCE_OBJECT> <DESTINATION_BUCKET>
7980
```
8081

8182
* Test the application.

gcloudstorageupload/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Upload a local file to a Google Storage bucket in a Google Cloud Project.
4848
* Go to the Google Cloud Project.
4949

5050
* Prepare the credentials:
51+
5152
* Create a Service account.
5253

5354
For example:
@@ -66,16 +67,16 @@ Upload a local file to a Google Storage bucket in a Google Cloud Project.
6667

6768
* Run the code.
6869

69-
You must provide 3 parameters:
70+
You must provide 3 parameters, replace the values of:
7071

71-
* `<BUCKET_NAME>` = Name of the bucket
72-
* `<OBJECT_NAME>` = Object name in the bucket
73-
* `<LOCAL_FILE_NAME>` = Local file name
72+
* `<BUCKET_NAME>` by name of the bucket.
73+
* `<OBJECT_NAME>` by object name in the bucket.
74+
* `<LOCAL_FILE_NAME>` by local file name.
7475

7576
Run application:
7677

7778
```bash
78-
python cloudstorageupload.py bucket-example object-example local-file-example
79+
python cloudstorageupload.py <BUCKET_NAME> <OBJECT_NAME> <LOCAL_FILE_NAME>
7980
```
8081

8182
* Test the application.

0 commit comments

Comments
 (0)