Class: Google::Apis::CloudidentityV1::SecuritySettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecuritySettings

Returns a new instance of SecuritySettings.



1964
1965
1966
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1964

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

Instance Attribute Details

#member_restrictionGoogle::Apis::CloudidentityV1::MemberRestriction

The definition of MemberRestriction Corresponds to the JSON property memberRestriction



1956
1957
1958
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1956

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)


1962
1963
1964
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1962

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1969
1970
1971
1972
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1969

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