authorization_policies
Overview
Name | authorization_policies |
Type | Resource |
Id | google.networksecurity.authorization_policies |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. Name of the AuthorizationPolicy resource. It matches pattern projects/{project}/locations/{location}/authorizationPolicies/ . |
description | string | Optional. Free-text description of the resource. |
rules | array | Optional. List of rules to match. Note that at least one of the rules must match in order for the action specified in the 'action' field to be taken. A rule is a match if there is a matching source and destination. If left blank, the action specified in the action field will be applied on every request. |
updateTime | string | Output only. The timestamp when the resource was updated. |
action | string | Required. The action to take when a rule match is found. Possible values are "ALLOW" or "DENY". |
createTime | string | Output only. The timestamp when the resource was created. |
labels | object | Optional. Set of label tags associated with the AuthorizationPolicy resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_authorization_policies_get | SELECT | authorizationPoliciesId, locationsId, projectsId | Gets details of a single AuthorizationPolicy. |
projects_locations_authorization_policies_list | SELECT | locationsId, projectsId | Lists AuthorizationPolicies in a given project and location. |
projects_locations_authorization_policies_create | INSERT | locationsId, projectsId | Creates a new AuthorizationPolicy in a given project and location. |
projects_locations_authorization_policies_delete | DELETE | authorizationPoliciesId, locationsId, projectsId | Deletes a single AuthorizationPolicy. |
_projects_locations_authorization_policies_list | EXEC | locationsId, projectsId | Lists AuthorizationPolicies in a given project and location. |
projects_locations_authorization_policies_patch | EXEC | authorizationPoliciesId, locationsId, projectsId | Updates the parameters of a single AuthorizationPolicy. |