Skip to main content

authorization_policies

Overview

Nameauthorization_policies
TypeResource
Idgoogle.networksecurity.authorization_policies

Fields

NameDatatypeDescription
namestringRequired. Name of the AuthorizationPolicy resource. It matches pattern projects/{project}/locations/{location}/authorizationPolicies/.
descriptionstringOptional. Free-text description of the resource.
rulesarrayOptional. 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.
updateTimestringOutput only. The timestamp when the resource was updated.
actionstringRequired. The action to take when a rule match is found. Possible values are "ALLOW" or "DENY".
createTimestringOutput only. The timestamp when the resource was created.
labelsobjectOptional. Set of label tags associated with the AuthorizationPolicy resource.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_authorization_policies_getSELECTauthorizationPoliciesId, locationsId, projectsIdGets details of a single AuthorizationPolicy.
projects_locations_authorization_policies_listSELECTlocationsId, projectsIdLists AuthorizationPolicies in a given project and location.
projects_locations_authorization_policies_createINSERTlocationsId, projectsIdCreates a new AuthorizationPolicy in a given project and location.
projects_locations_authorization_policies_deleteDELETEauthorizationPoliciesId, locationsId, projectsIdDeletes a single AuthorizationPolicy.
_projects_locations_authorization_policies_listEXEClocationsId, projectsIdLists AuthorizationPolicies in a given project and location.
projects_locations_authorization_policies_patchEXECauthorizationPoliciesId, locationsId, projectsIdUpdates the parameters of a single AuthorizationPolicy.