Class: Google::Apis::IapV1::PolicyName
- Inherits:
-
Object
- Object
- Google::Apis::IapV1::PolicyName
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/iap_v1/classes.rb,
generated/google/apis/iap_v1/representations.rb,
generated/google/apis/iap_v1/representations.rb
Instance Attribute Summary collapse
-
#id ⇒ String
Corresponds to the JSON property
id
. -
#region ⇒ String
For Cloud IAM: The location of the Policy.
-
#type ⇒ String
Valid values for type might be 'gce', 'gcs', 'project', 'account' etc.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyName
constructor
A new instance of PolicyName.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PolicyName
Returns a new instance of PolicyName.
712 713 714 |
# File 'generated/google/apis/iap_v1/classes.rb', line 712 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Corresponds to the JSON property id
697 698 699 |
# File 'generated/google/apis/iap_v1/classes.rb', line 697 def id @id end |
#region ⇒ 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
705 706 707 |
# File 'generated/google/apis/iap_v1/classes.rb', line 705 def region @region end |
#type ⇒ String
Valid values for type might be 'gce', 'gcs', 'project', 'account' etc.
Corresponds to the JSON property type
710 711 712 |
# File 'generated/google/apis/iap_v1/classes.rb', line 710 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
717 718 719 720 721 |
# File 'generated/google/apis/iap_v1/classes.rb', line 717 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 |