Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://www.fastly.com/documentation/reference/api/)
# @param string $service_id Alphanumeric string identifying the service. (required)
# @param int $version_id Integer identifying a service version. (required)
# @param string $name The name of the BigQuery logging object. Used as a primary key for API access. (optional)
# @param string $placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. (optional)
# @param string $response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute. (optional)
# @param int $format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (optional, default to 2)
# @param string $user Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified. (optional)
# @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 $dataset Your BigQuery dataset. (optional)
# @param string $table Your BigQuery table. (optional)
# @param string $project_id Your Google Cloud Platform project ID. Required (optional)
{
my$params= {
'service_id'=> {
data_type=> 'string',
description=> 'Alphanumeric string identifying the service.',
required=> '1',
},
'version_id'=> {
data_type=> 'int',
description=> 'Integer identifying a service version.',
required=> '1',
},
'name'=> {
data_type=> 'string',
description=> 'The name of the BigQuery logging object. Used as a primary key for API access.',
required=> '0',
},
'placement'=> {
data_type=> 'string',
description=> 'Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. ',
required=> '0',
},
'response_condition'=> {
data_type=> 'string',
description=> 'The name of an existing condition in the configured endpoint, or leave blank to always execute.',
description=> 'The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. ',
required=> '0',
},
'user'=> {
data_type=> 'string',
description=> 'Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.',
required=> '0',
},
'secret_key'=> {
data_type=> 'string',
description=> 'Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.',
required=> '0',
},
'account_name'=> {
data_type=> 'string',
description=> '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.',
required=> '0',
},
'dataset'=> {
data_type=> 'string',
description=> 'Your BigQuery dataset.',
required=> '0',
},
'table'=> {
data_type=> 'string',
description=> 'Your BigQuery table.',
required=> '0',
},
'template_suffix'=> {
data_type=> 'string',
description=> 'BigQuery table name suffix template. Optional.',
required=> '0',
},
'project_id'=> {
data_type=> 'string',
description=> 'Your Google Cloud Platform project ID. Required',
# @param string $service_id Alphanumeric string identifying the service. (required)
# @param int $version_id Integer identifying a service version. (required)
# @param string $logging_bigquery_name The name for the real-time logging configuration. (required)
# @param string $name The name of the BigQuery logging object. Used as a primary key for API access. (optional)
# @param string $placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. (optional)
# @param string $response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute. (optional)
# @param int $format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (optional, default to 2)
# @param string $user Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified. (optional)
# @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 $dataset Your BigQuery dataset. (optional)
# @param string $table Your BigQuery table. (optional)
# @param string $project_id Your Google Cloud Platform project ID. Required (optional)
{
my$params= {
'service_id'=> {
data_type=> 'string',
description=> 'Alphanumeric string identifying the service.',
required=> '1',
},
'version_id'=> {
data_type=> 'int',
description=> 'Integer identifying a service version.',
required=> '1',
},
'logging_bigquery_name'=> {
data_type=> 'string',
description=> 'The name for the real-time logging configuration.',
required=> '1',
},
'name'=> {
data_type=> 'string',
description=> 'The name of the BigQuery logging object. Used as a primary key for API access.',
required=> '0',
},
'placement'=> {
data_type=> 'string',
description=> 'Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. ',
required=> '0',
},
'response_condition'=> {
data_type=> 'string',
description=> 'The name of an existing condition in the configured endpoint, or leave blank to always execute.',
description=> 'The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. ',
required=> '0',
},
'user'=> {
data_type=> 'string',
description=> 'Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.',
required=> '0',
},
'secret_key'=> {
data_type=> 'string',
description=> 'Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.',
required=> '0',
},
'account_name'=> {
data_type=> 'string',
description=> '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.',
required=> '0',
},
'dataset'=> {
data_type=> 'string',
description=> 'Your BigQuery dataset.',
required=> '0',
},
'table'=> {
data_type=> 'string',
description=> 'Your BigQuery table.',
required=> '0',
},
'template_suffix'=> {
data_type=> 'string',
description=> 'BigQuery table name suffix template. Optional.',
required=> '0',
},
'project_id'=> {
data_type=> 'string',
description=> 'Your Google Cloud Platform project ID. Required',