gcp.service¶
GCP Service Usage Management
https://cloud.google.com/service-usage/docs/reference/rest https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services
Actions¶
disable¶
Disable a service for the current project
Example:
policies:
- name: disable-disallowed-services
resource: gcp.service
mode:
type: gcp-audit
methods:
- google.api.servicemanagement.v1.ServiceManagerV1.ActivateServices
filters:
- config.name: translate.googleapis.com
actions:
- disable
properties:
dependents:
default: false
type: boolean
type:
enum:
- disable
usage:
enum:
- SKIP
- CHECK
required:
- type
Permissions - serviceusage.services.disable