class Google::Apis::IapV1::PolicyName
An internal name for an IAM policy, based on the resource to which the policy applies. Not to be confused with a resource's external full resource name. For more information on this distinction, see go/iam-full-resource-names.
Attributes
Identifies an instance of the type. ID format varies by type. The ID format is defined in the IAM .service file that defines the type, either in path_mapping or in a comment. Corresponds to the JSON property `id` @return [String]
For Cloud IAM: The location of the Policy
. Must be empty or “global” for Policies owned by global IAM. Must name a region from prodspec/cloud-iam- cloudspec for Regional IAM Policies, see go/iam-faq#where-is-iam-currently- deployed. For Local IAM: This field should be set to “local”. Corresponds to the JSON property `region` @return [String]
Resource
type. Types are defined in IAM's .service files. Valid values for type might be 'gce', 'gcs', 'project', 'account' etc. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/iap_v1/classes.rb, line 727 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/iap_v1/classes.rb, line 732 def update!(**args) @id = args[:id] if args.key?(:id) @region = args[:region] if args.key?(:region) @type = args[:type] if args.key?(:type) end