Class: Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#crypto_key_name ⇒ String
Corresponds to the JSON property
cryptoKeyName. -
#log_sink_project ⇒ String
Corresponds to the JSON property
logSinkProject. -
#name ⇒ String
Corresponds to the JSON property
name. -
#onboarding_time ⇒ String
Corresponds to the JSON property
onboardingTime. -
#org_service_account ⇒ String
Corresponds to the JSON property
orgServiceAccount.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityCenterSettings
constructor
A new instance of SecurityCenterSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityCenterSettings
Returns a new instance of SecurityCenterSettings.
11027 11028 11029 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11027 def initialize(**args) update!(**args) end |
Instance Attribute Details
#crypto_key_name ⇒ String
Corresponds to the JSON property cryptoKeyName
11005 11006 11007 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11005 def crypto_key_name @crypto_key_name end |
#log_sink_project ⇒ String
Corresponds to the JSON property logSinkProject
11010 11011 11012 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11010 def log_sink_project @log_sink_project end |
#name ⇒ String
Corresponds to the JSON property name
11015 11016 11017 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11015 def name @name end |
#onboarding_time ⇒ String
Corresponds to the JSON property onboardingTime
11020 11021 11022 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11020 def onboarding_time @onboarding_time end |
#org_service_account ⇒ String
Corresponds to the JSON property orgServiceAccount
11025 11026 11027 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11025 def org_service_account @org_service_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11032 11033 11034 11035 11036 11037 11038 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11032 def update!(**args) @crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name) @log_sink_project = args[:log_sink_project] if args.key?(:log_sink_project) @name = args[:name] if args.key?(:name) @onboarding_time = args[:onboarding_time] if args.key?(:onboarding_time) @org_service_account = args[:org_service_account] if args.key?(:org_service_account) end |