lib/fastly/api/logging_bigquery_api.rb in fastly-6.0.2 vs lib/fastly/api/logging_bigquery_api.rb in fastly-7.0.0

- old
+ new

@@ -21,13 +21,13 @@ # Create a BigQuery logging object for a particular service and version. # @option opts [String] :service_id Alphanumeric string identifying the service. (required) # @option opts [Integer] :version_id Integer identifying a service version. (required) # @option opts [String] :name The name of the BigQuery logging object. Used as a primary key for API access. # @option opts [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`. - # @option opts [Integer] :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`. (default to FORMAT_VERSION::v2) # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute. # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table. + # @option opts [Integer] :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`. (default to FORMAT_VERSION::v2) # @option opts [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. # @option opts [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. # @option opts [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. # @option opts [String] :dataset Your BigQuery dataset. # @option opts [String] :table Your BigQuery table. @@ -43,13 +43,13 @@ # Create a BigQuery logging object for a particular service and version. # @option opts [String] :service_id Alphanumeric string identifying the service. (required) # @option opts [Integer] :version_id Integer identifying a service version. (required) # @option opts [String] :name The name of the BigQuery logging object. Used as a primary key for API access. # @option opts [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`. - # @option opts [Integer] :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`. (default to FORMAT_VERSION::v2) # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute. # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table. + # @option opts [Integer] :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`. (default to FORMAT_VERSION::v2) # @option opts [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. # @option opts [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. # @option opts [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. # @option opts [String] :dataset Your BigQuery dataset. # @option opts [String] :table Your BigQuery table. @@ -97,13 +97,13 @@ # form parameters form_params = opts[:form_params] || {} form_params['name'] = opts[:'name'] if !opts[:'name'].nil? form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil? - form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil? form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil? form_params['format'] = opts[:'format'] if !opts[:'format'].nil? + form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil? form_params['user'] = opts[:'user'] if !opts[:'user'].nil? form_params['secret_key'] = opts[:'secret_key'] if !opts[:'secret_key'].nil? form_params['account_name'] = opts[:'account_name'] if !opts[:'account_name'].nil? form_params['dataset'] = opts[:'dataset'] if !opts[:'dataset'].nil? form_params['table'] = opts[:'table'] if !opts[:'table'].nil? @@ -365,13 +365,13 @@ # @option opts [String] :service_id Alphanumeric string identifying the service. (required) # @option opts [Integer] :version_id Integer identifying a service version. (required) # @option opts [String] :logging_bigquery_name The name for the real-time logging configuration. (required) # @option opts [String] :name The name of the BigQuery logging object. Used as a primary key for API access. # @option opts [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`. - # @option opts [Integer] :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`. (default to FORMAT_VERSION::v2) # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute. # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table. + # @option opts [Integer] :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`. (default to FORMAT_VERSION::v2) # @option opts [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. # @option opts [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. # @option opts [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. # @option opts [String] :dataset Your BigQuery dataset. # @option opts [String] :table Your BigQuery table. @@ -388,13 +388,13 @@ # @option opts [String] :service_id Alphanumeric string identifying the service. (required) # @option opts [Integer] :version_id Integer identifying a service version. (required) # @option opts [String] :logging_bigquery_name The name for the real-time logging configuration. (required) # @option opts [String] :name The name of the BigQuery logging object. Used as a primary key for API access. # @option opts [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`. - # @option opts [Integer] :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`. (default to FORMAT_VERSION::v2) # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute. # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table. + # @option opts [Integer] :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`. (default to FORMAT_VERSION::v2) # @option opts [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. # @option opts [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. # @option opts [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. # @option opts [String] :dataset Your BigQuery dataset. # @option opts [String] :table Your BigQuery table. @@ -447,12 +447,12 @@ # form parameters form_params = opts[:form_params] || {} form_params['name'] = opts[:'name'] if !opts[:'name'].nil? form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil? - form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil? form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil? form_params['format'] = opts[:'format'] if !opts[:'format'].nil? + form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil? form_params['user'] = opts[:'user'] if !opts[:'user'].nil? form_params['secret_key'] = opts[:'secret_key'] if !opts[:'secret_key'].nil? form_params['account_name'] = opts[:'account_name'] if !opts[:'account_name'].nil? form_params['dataset'] = opts[:'dataset'] if !opts[:'dataset'].nil? form_params['table'] = opts[:'table'] if !opts[:'table'].nil?