gcp.service

Filters

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:
     - serviceName: translate.googleapis.com
    actions:
     - disable
properties:
  type:
    enum:
    - disable
required:
- type