Class: Google::Apis::CloudidentityV1::SecuritySettings
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1::SecuritySettings
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1/classes.rb,
lib/google/apis/cloudidentity_v1/representations.rb,
lib/google/apis/cloudidentity_v1/representations.rb
Overview
The definition of security settings.
Instance Attribute Summary collapse
-
#member_restriction ⇒ Google::Apis::CloudidentityV1::MemberRestriction
The definition of MemberRestriction Corresponds to the JSON property
memberRestriction
. -
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecuritySettings
constructor
A new instance of SecuritySettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecuritySettings
Returns a new instance of SecuritySettings.
2503 2504 2505 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2503 def initialize(**args) update!(**args) end |
Instance Attribute Details
#member_restriction ⇒ Google::Apis::CloudidentityV1::MemberRestriction
The definition of MemberRestriction
Corresponds to the JSON property memberRestriction
2495 2496 2497 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2495 def member_restriction @member_restriction end |
#name ⇒ String
Output only. The resource name of the security settings. Shall be of the form
groups/
group_id/securitySettings
.
Corresponds to the JSON property name
2501 2502 2503 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2501 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2508 2509 2510 2511 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2508 def update!(**args) @member_restriction = args[:member_restriction] if args.key?(:member_restriction) @name = args[:name] if args.key?(:name) end |