Skip to content

Commit

Permalink
Generated v3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jul 13, 2023
1 parent 64f295c commit 7adb9a5
Show file tree
Hide file tree
Showing 15 changed files with 60 additions and 52 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [v3.0.3](https://github.com/fastly/fastly-php/releases/tag/release/v3.0.3) (2023-07-13)

**Bug fixes:**

- fix(logging_gcs): set expected default value for 'path'.
- fix(origin_inspector_historical): use correct type for 'values'.
- fix(tls_subscriptions): fix argument order for deleting globalsign email challenge.

## [v3.0.2](https://github.com/fastly/fastly-php/releases/tag/release/v3.0.2) (2023-07-12)

**Bug fixes:**
Expand Down
8 changes: 4 additions & 4 deletions docs/Api/LoggingGcsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $options['user'] = 'user_example'; // string | Your Google Cloud Platform servic
$options['secret_key'] = 'secret_key_example'; // string | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
$options['account_name'] = 'account_name_example'; // string | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
$options['bucket_name'] = 'bucket_name_example'; // string | The name of the GCS bucket.
$options['path'] = 'path_example'; // string | The path to upload logs to.
$options['path'] = '/'; // string
$options['public_key'] = 'null'; // string | A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
$options['project_id'] = 'project_id_example'; // string | Your Google Cloud Platform project ID. Required

Expand Down Expand Up @@ -80,7 +80,7 @@ Name | Type | Description | Notes
**secret_key** | **string** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional]
**account_name** | **string** | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. | [optional]
**bucket_name** | **string** | The name of the GCS bucket. | [optional]
**path** | **string** | The path to upload logs to. | [optional]
**path** | **string** | | [optional] [defaults to '/']
**public_key** | **string** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null']
**project_id** | **string** | Your Google Cloud Platform project ID. Required | [optional]

Expand Down Expand Up @@ -230,7 +230,7 @@ $options['user'] = 'user_example'; // string | Your Google Cloud Platform servic
$options['secret_key'] = 'secret_key_example'; // string | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
$options['account_name'] = 'account_name_example'; // string | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
$options['bucket_name'] = 'bucket_name_example'; // string | The name of the GCS bucket.
$options['path'] = 'path_example'; // string | The path to upload logs to.
$options['path'] = '/'; // string
$options['public_key'] = 'null'; // string | A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
$options['project_id'] = 'project_id_example'; // string | Your Google Cloud Platform project ID. Required

Expand Down Expand Up @@ -264,7 +264,7 @@ Name | Type | Description | Notes
**secret_key** | **string** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional]
**account_name** | **string** | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. | [optional]
**bucket_name** | **string** | The name of the GCS bucket. | [optional]
**path** | **string** | The path to upload logs to. | [optional]
**path** | **string** | | [optional] [defaults to '/']
**public_key** | **string** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null']
**project_id** | **string** | Your Google Cloud Platform project ID. Required | [optional]

Expand Down
4 changes: 2 additions & 2 deletions docs/Api/TlsSubscriptionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ Deletes a GlobalSign email challenge. After a GlobalSign email challenge is dele
### Example
```php
$options['tls_subscription_id'] = 'tls_subscription_id_example'; // string | Alphanumeric string identifying a TLS subscription.
$options['globalsign_email_challenge_id'] = gU3guUGZzb2W9Euo4Mo0r; // string | Alphanumeric string identifying a GlobalSign email challenge.
$options['tls_authorization_id'] = 'tls_authorization_id_example'; // string | Alphanumeric string identifying a TLS subscription.
$options['globalsign_email_challenge_id'] = gU3guUGZzb2W9Euo4Mo0r; // string | Alphanumeric string identifying a GlobalSign email challenge.

try {
$apiInstance->deleteGlobalsignEmailChallenge($options);
Expand All @@ -125,8 +125,8 @@ Note: the input parameter is an associative array with the keys listed below.
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**tls_subscription_id** | **string** | Alphanumeric string identifying a TLS subscription. |
**globalsign_email_challenge_id** | **string** | Alphanumeric string identifying a GlobalSign email challenge. |
**tls_authorization_id** | **string** | Alphanumeric string identifying a TLS subscription. |
**globalsign_email_challenge_id** | **string** | Alphanumeric string identifying a GlobalSign email challenge. |

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/Model/LoggingGcs.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Name | Type | Description | Notes
**secret_key** | **string** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional]
**account_name** | **string** | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. | [optional]
**bucket_name** | **string** | The name of the GCS bucket. | [optional]
**path** | **string** | The path to upload logs to. | [optional]
**path** | **string** | | [optional] [defaults to '/']
**public_key** | **string** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null']
**project_id** | **string** | Your Google Cloud Platform project ID. Required | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/Model/LoggingGcsAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**bucket_name** | **string** | The name of the GCS bucket. | [optional]
**path** | **string** | The path to upload logs to. | [optional]
**path** | **string** | | [optional] [defaults to '/']
**public_key** | **string** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null']
**project_id** | **string** | Your Google Cloud Platform project ID. Required | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/Model/LoggingGcsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Name | Type | Description | Notes
**secret_key** | **string** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional]
**account_name** | **string** | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. | [optional]
**bucket_name** | **string** | The name of the GCS bucket. | [optional]
**path** | **string** | The path to upload logs to. | [optional]
**path** | **string** | | [optional] [defaults to '/']
**public_key** | **string** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null']
**project_id** | **string** | Your Google Cloud Platform project ID. Required | [optional]
**created_at** | **\DateTime** | Date and time in ISO 8601 format. | [optional] [readonly]
Expand Down
2 changes: 1 addition & 1 deletion docs/Model/OriginInspectorHistoricalData.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**dimensions** | [**\Fastly\Model\OriginInspectorDimensions**](OriginInspectorDimensions.md) | | [optional]
**values** | [**\Fastly\Model\Values**](Values.md) | | [optional]
**values** | [**\Fastly\Model\OriginInspectorValues[]**](OriginInspectorValues.md) | An array of values representing the metric values at each point in time. Note that this dataset is sparse: only the keys with non-zero values will be included in the record. | [optional]


[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
24 changes: 12 additions & 12 deletions lib/Api/LoggingGcsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function getConfig()
* @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional)
* @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional)
* @param string $bucket_name The name of the GCS bucket. (optional)
* @param string $path The path to upload logs to. (optional)
* @param string $path path (optional, default to '/')
* @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null')
* @param string $project_id Your Google Cloud Platform project ID. Required (optional)
*
Expand Down Expand Up @@ -175,7 +175,7 @@ public function createLogGcs($options)
* @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional)
* @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional)
* @param string $bucket_name The name of the GCS bucket. (optional)
* @param string $path The path to upload logs to. (optional)
* @param string $path (optional, default to '/')
* @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null')
* @param string $project_id Your Google Cloud Platform project ID. Required (optional)
*
Expand Down Expand Up @@ -303,7 +303,7 @@ public function createLogGcsWithHttpInfo($options)
* @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional)
* @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional)
* @param string $bucket_name The name of the GCS bucket. (optional)
* @param string $path The path to upload logs to. (optional)
* @param string $path (optional, default to '/')
* @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null')
* @param string $project_id Your Google Cloud Platform project ID. Required (optional)
*
Expand Down Expand Up @@ -346,7 +346,7 @@ function ($response) {
* @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional)
* @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional)
* @param string $bucket_name The name of the GCS bucket. (optional)
* @param string $path The path to upload logs to. (optional)
* @param string $path (optional, default to '/')
* @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null')
* @param string $project_id Your Google Cloud Platform project ID. Required (optional)
*
Expand Down Expand Up @@ -415,7 +415,7 @@ function ($exception) {
* @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional)
* @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional)
* @param string $bucket_name The name of the GCS bucket. (optional)
* @param string $path The path to upload logs to. (optional)
* @param string $path (optional, default to '/')
* @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null')
* @param string $project_id Your Google Cloud Platform project ID. Required (optional)
*
Expand All @@ -441,7 +441,7 @@ public function createLogGcsRequest($options)
$secret_key = array_key_exists('secret_key', $options) ? $options['secret_key'] : null;
$account_name = array_key_exists('account_name', $options) ? $options['account_name'] : null;
$bucket_name = array_key_exists('bucket_name', $options) ? $options['bucket_name'] : null;
$path = array_key_exists('path', $options) ? $options['path'] : null;
$path = array_key_exists('path', $options) ? $options['path'] : '/';
$public_key = array_key_exists('public_key', $options) ? $options['public_key'] : 'null';
$project_id = array_key_exists('project_id', $options) ? $options['project_id'] : null;

Expand Down Expand Up @@ -1714,7 +1714,7 @@ public function listLogGcsRequest($options)
* @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional)
* @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional)
* @param string $bucket_name The name of the GCS bucket. (optional)
* @param string $path The path to upload logs to. (optional)
* @param string $path path (optional, default to '/')
* @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null')
* @param string $project_id Your Google Cloud Platform project ID. Required (optional)
*
Expand Down Expand Up @@ -1755,7 +1755,7 @@ public function updateLogGcs($options)
* @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional)
* @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional)
* @param string $bucket_name The name of the GCS bucket. (optional)
* @param string $path The path to upload logs to. (optional)
* @param string $path (optional, default to '/')
* @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null')
* @param string $project_id Your Google Cloud Platform project ID. Required (optional)
*
Expand Down Expand Up @@ -1884,7 +1884,7 @@ public function updateLogGcsWithHttpInfo($options)
* @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional)
* @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional)
* @param string $bucket_name The name of the GCS bucket. (optional)
* @param string $path The path to upload logs to. (optional)
* @param string $path (optional, default to '/')
* @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null')
* @param string $project_id Your Google Cloud Platform project ID. Required (optional)
*
Expand Down Expand Up @@ -1928,7 +1928,7 @@ function ($response) {
* @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional)
* @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional)
* @param string $bucket_name The name of the GCS bucket. (optional)
* @param string $path The path to upload logs to. (optional)
* @param string $path (optional, default to '/')
* @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null')
* @param string $project_id Your Google Cloud Platform project ID. Required (optional)
*
Expand Down Expand Up @@ -1998,7 +1998,7 @@ function ($exception) {
* @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional)
* @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional)
* @param string $bucket_name The name of the GCS bucket. (optional)
* @param string $path The path to upload logs to. (optional)
* @param string $path (optional, default to '/')
* @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null')
* @param string $project_id Your Google Cloud Platform project ID. Required (optional)
*
Expand All @@ -2025,7 +2025,7 @@ public function updateLogGcsRequest($options)
$secret_key = array_key_exists('secret_key', $options) ? $options['secret_key'] : null;
$account_name = array_key_exists('account_name', $options) ? $options['account_name'] : null;
$bucket_name = array_key_exists('bucket_name', $options) ? $options['bucket_name'] : null;
$path = array_key_exists('path', $options) ? $options['path'] : null;
$path = array_key_exists('path', $options) ? $options['path'] : '/';
$public_key = array_key_exists('public_key', $options) ? $options['public_key'] : 'null';
$project_id = array_key_exists('project_id', $options) ? $options['project_id'] : null;

Expand Down
Loading

0 comments on commit 7adb9a5

Please sign in to comment.