View Source GoogleApi.IAM.V2.Model.GoogleIamV2Policy (google_api_iam v0.42.0)
Data for an IAM policy.
Attributes
-
annotations
(type:map()
, default:nil
) - A key-value map to store arbitrary metadata for thePolicy
. Keys can be up to 63 characters. Values can be up to 255 characters. -
createTime
(type:DateTime.t
, default:nil
) - Output only. The time when thePolicy
was created. -
deleteTime
(type:DateTime.t
, default:nil
) - Output only. The time when thePolicy
was deleted. Empty if the policy is not deleted. -
displayName
(type:String.t
, default:nil
) - A user-specified description of thePolicy
. This value can be up to 63 characters. -
etag
(type:String.t
, default:nil
) - An opaque tag that identifies the current version of thePolicy
. IAM uses this value to help manage concurrent updates, so they do not cause one update to be overwritten by another. If this field is present in a CreatePolicyRequest, the value is ignored. -
kind
(type:String.t
, default:nil
) - Output only. The kind of thePolicy
. Always contains the valueDenyPolicy
. -
name
(type:String.t
, default:nil
) - Immutable. The resource name of thePolicy
, which must be unique. Format:policies/{attachment_point}/denypolicies/{policy_id}
The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character,/
, must be written as%2F
. For example,policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy
. For organizations and folders, use the numeric ID in the full resource name. For projects, requests can use the alphanumeric or the numeric ID. Responses always contain the numeric ID. -
rules
(type:list(GoogleApi.IAM.V2.Model.GoogleIamV2PolicyRule.t)
, default:nil
) - A list of rules that specify the behavior of thePolicy
. All of the rules should be of thekind
specified in thePolicy
. -
uid
(type:String.t
, default:nil
) - Immutable. The globally unique ID of thePolicy
. Assigned automatically when thePolicy
is created. -
updateTime
(type:DateTime.t
, default:nil
) - Output only. The time when thePolicy
was last updated.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.IAM.V2.Model.GoogleIamV2Policy{ annotations: map() | nil, createTime: DateTime.t() | nil, deleteTime: DateTime.t() | nil, displayName: String.t() | nil, etag: String.t() | nil, kind: String.t() | nil, name: String.t() | nil, rules: [GoogleApi.IAM.V2.Model.GoogleIamV2PolicyRule.t()] | nil, uid: String.t() | nil, updateTime: DateTime.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.