
    	                     b    S r SSKJr  SSKJr  SSKJr  SSKJr  S rS rS r	S	 r
S
 rS rS rg)z'Common flags for policies API commands.    )absolute_import)division)unicode_literals)basec                  .    [         R                  " SSSS9$ )Nz--attachment-pointTzyResource to which the policy is attached. For valid formats, see https://cloud.google.com/iam/help/deny/attachment-point.requiredhelpr   Argument     4lib/googlecloudsdk/command_lib/iam/policies_flags.pyGetAttachmentPointFlagr      s!    	A
B Br   c                  .    [         R                  " SSSS9$ )Nz--kindTz2Policy type. Use `denypolicies` for deny policies.r   r   r   r   r   GetKindFlagr       s    	?
A Ar   c                  ,    [         R                  " SSS9$ )N	policy_idzJPolicy ID that is unique for the resource to which the policy is attached.r
   r   r   r   r   GetPolicyIDFlagr   '   s    	
 r   c                  ,    [         R                  " SSS9$ )Nz--etaga=  Etag that identifies the version of the existing policy. It can be obtained by running `gcloud iam policies get`. When deleting a policy, if the etag is omitted, the policy is deleted regardless of its current etag. When updating a policy, if the etag is omitted, the update uses the etag provided in the policy file.r   r   r   r   r   GetEtagFlagr   .   s    	G
H Hr   c                  .    [         R                  " SSSS9$ )Nz--policy-fileTzPath to the file that contains the policy, in JSON or YAML format. For valid syntax, see https://cloud.google.com/iam/help/deny/policy-syntax.r   r   r   r   r   GetPolicyFileFlagr   8   s    	 ,>
? ?r   c                  ,    [         R                  " SSS9$ )Nz--page_tokenzWPage token received from a previous call. Provide this token to retrieve the next page.r   r   r   r   r   GetPageTokenFlagr   ?   s    	 
! !r   c                 P    [         R                  " SSSSS9R                  U 5        g )Nz--include-denyzDInclude deny policies on the project and its ancestors in the result
store_trueF)r
   actiondefault)r   r   AddToParser)parsers    r   AddIncludeDenyFlagr#   F   s&    --Q	
 Kr   N)__doc__
__future__r   r   r   googlecloudsdk.callioper   r   r   r   r   r   r   r#   r   r   r   <module>r'      s<    . &  ' (BAH?!r   