Class: Google::Apis::CloudidentityV1beta1::SecuritySettings

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb

Overview

The definiion of security settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecuritySettings

Returns a new instance of SecuritySettings.



3904
3905
3906
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3904

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#member_restrictionGoogle::Apis::CloudidentityV1beta1::MemberRestriction

The definition of MemberRestriction Corresponds to the JSON property memberRestriction



3896
3897
3898
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3896

def member_restriction
  @member_restriction
end

#nameString

Output only. The resource name of the security settings. Shall be of the form groups/group_id/securitySettings. Corresponds to the JSON property name

Returns:

  • (String)


3902
3903
3904
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3902

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3909
3910
3911
3912
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3909

def update!(**args)
  @member_restriction = args[:member_restriction] if args.key?(:member_restriction)
  @name = args[:name] if args.key?(:name)
end