参数
请参阅 插件通用配置 了解所有插件可用的配置选项。
auth_config
object
身份验证配置。必须提供
auth_config和auth_file中的至少一个。client_email
string
required
Google Cloud 服务账户的电子邮件地址。
private_key
string
required
Google Cloud 服务账户的私钥。
project_id
string
required
Google Cloud 服务账户中的项目 ID。
token_uri
string
required
default:
https://oauth2.googleapis.com/tokenGoogle Cloud 服务账户的令牌 URI。
entries_uri
string
default:
https://logging.googleapis.com/v2/entries:writeGoogle Cloud Logging 服务 API。
scope
array[string]
default:
["https://www.googleapis.com/auth/logging.read", "https://www.googleapis.com/auth/logging.write", "https://www.googleapis.com/auth/logging.admin", "https://www.googleapis.com/auth/cloud-platform"]Google Cloud 服务账户的访问范围。请参阅 Google API 的 OAuth 2.0 范围