Skip to content

Commit

Permalink
Rename enums and structs
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt committed Jan 20, 2025
1 parent 575032f commit e5daa5d
Show file tree
Hide file tree
Showing 26 changed files with 1,020 additions and 1,055 deletions.
6 changes: 3 additions & 3 deletions examples/CloudStorage/Async/Callback/Upload/Upload.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
*
* 2.------------------------
*
* CloudStorage::upload(<AsyncClient>, <GoogleCloudStorage::Parent>, <file_config_data>, <GoogleCloudStorage::uploadOptions>, <AsyncResultCallback>, <uid>);
* CloudStorage::upload(<AsyncClient>, <GoogleCloudStorage::Parent>, <file_config_data>, <GoogleCloudStorage::UploadOptions>, <AsyncResultCallback>, <uid>);
*
* <AsyncClient> - The async client.
* <GoogleCloudStorage::Parent> - The GoogleCloudStorage::Parent object included Storage bucket Id and object in its constructor.
* <file_config_data> - The filesystem data (file_config_data) obtained from FileConfig class object.
* <GoogleCloudStorage::uploadOptions> - The GoogleCloudStorage::uploadOptions that holds the information for insert options, properties and types of upload.
* <GoogleCloudStorage::UploadOptions> - The GoogleCloudStorage::UploadOptions that holds the information for insert options, properties and types of upload.
* For the insert options (options.insertOptions), see https://cloud.google.com/storage/docs/json_api/v1/objects/insert#optional-parameters
* For insert properties (options.insertProps), see https://cloud.google.com/storage/docs/json_api/v1/objects/insert#optional-properties
* <AsyncResultCallback> - The async result callback (AsyncResultCallback).
Expand Down Expand Up @@ -182,7 +182,7 @@ void loop()
{
taskCompleted = true;

GoogleCloudStorage::uploadOptions options;
GoogleCloudStorage::UploadOptions options;
options.mime = "video/mp4";
options.uploadType = GoogleCloudStorage::upload_type_resumable;
// options.uploadType = GoogleCloudStorage::upload_type_simple;
Expand Down
6 changes: 3 additions & 3 deletions examples/CloudStorage/Async/NoCallback/Upload/Upload.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
*
* 2.------------------------
*
* CloudStorage::upload(<AsyncClient>, <GoogleCloudStorage::Parent>, <file_config_data>, <GoogleCloudStorage::uploadOptions>, <AsyncResult>);
* CloudStorage::upload(<AsyncClient>, <GoogleCloudStorage::Parent>, <file_config_data>, <GoogleCloudStorage::UploadOptions>, <AsyncResult>);
*
* <AsyncClient> - The async client.
* <GoogleCloudStorage::Parent> - The GoogleCloudStorage::Parent object included Storage bucket Id and object in its constructor.
* <file_config_data> - The filesystem data (file_config_data) obtained from FileConfig class object.
* <GoogleCloudStorage::uploadOptions> - The GoogleCloudStorage::uploadOptions that holds the information for insert options, properties and types of upload.
* <GoogleCloudStorage::UploadOptions> - The GoogleCloudStorage::UploadOptions that holds the information for insert options, properties and types of upload.
* For the insert options (options.insertOptions), see https://cloud.google.com/storage/docs/json_api/v1/objects/insert#optional-parameters
* For insert properties (options.insertProps), see https://cloud.google.com/storage/docs/json_api/v1/objects/insert#optional-properties
* <AsyncResult> - The async result (AsyncResult).
Expand Down Expand Up @@ -181,7 +181,7 @@ void loop()
{
taskCompleted = true;

GoogleCloudStorage::uploadOptions options;
GoogleCloudStorage::UploadOptions options;
options.mime = "video/mp4";
options.uploadType = GoogleCloudStorage::upload_type_resumable;
// options.uploadType = GoogleCloudStorage::upload_type_simple;
Expand Down
6 changes: 3 additions & 3 deletions examples/CloudStorage/Sync/Upload/Upload.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
*
* 2.------------------------
*
* bool CloudStorage::upload(<AsyncClient>, <GoogleCloudStorage::Parent>, <file_config_data>, <GoogleCloudStorage::uploadOptions>);
* bool CloudStorage::upload(<AsyncClient>, <GoogleCloudStorage::Parent>, <file_config_data>, <GoogleCloudStorage::UploadOptions>);
*
* <AsyncClient> - The async client.
* <GoogleCloudStorage::Parent> - The GoogleCloudStorage::Parent object included Storage bucket Id and object in its constructor.
* <file_config_data> - The filesystem data (file_config_data) obtained from FileConfig class object.
* <GoogleCloudStorage::uploadOptions> - The GoogleCloudStorage::uploadOptions that holds the information for insert options, properties and types of upload.
* <GoogleCloudStorage::UploadOptions> - The GoogleCloudStorage::UploadOptions that holds the information for insert options, properties and types of upload.
* For the insert options (options.insertOptions), see https://cloud.google.com/storage/docs/json_api/v1/objects/insert#optional-parameters
* For insert properties (options.insertProps), see https://cloud.google.com/storage/docs/json_api/v1/objects/insert#optional-properties
*
Expand Down Expand Up @@ -186,7 +186,7 @@ void loop()
{
taskCompleted = true;

GoogleCloudStorage::uploadOptions options;
GoogleCloudStorage::UploadOptions options;
options.mime = "media.mp4";
options.uploadType = GoogleCloudStorage::upload_type_resumable;
// options.uploadType = GoogleCloudStorage::upload_type_simple;
Expand Down
Loading

0 comments on commit e5daa5d

Please sign in to comment.