Method: projects.locations.muteConfigs.get

获取静音配置。如果未指定位置,则默认为全球。

HTTP 请求


网址使用 gRPC 转码语法。

路径参数

参数
name

string

必需。要检索的静音配置的名称。以下列表显示了此格式的示例:

  • organizations/{organization}/muteConfigs/{configId} + organizations/{organization}/locations/{location}/muteConfigs/{configId}
  • folders/{folder}/muteConfigs/{configId}
  • folders/{folder}/locations/{location}/muteConfigs/{configId}
  • projects/{project}/muteConfigs/{configId}
  • projects/{project}/locations/{location}/muteConfigs/{configId}

请求正文

请求正文必须为空。

响应正文

如果成功,则响应正文包含一个 MuteConfig 实例。

授权范围

需要以下 OAuth 范围:

  • https://www.googleapis.com/auth/cloud-platform

如需了解详情,请参阅 Authentication Overview