Class: Google::Apis::SecuritycenterV1beta2::OnboardingState
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::OnboardingState
- 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
Overview
Resource capturing onboarding information for a given CRM resource.
Instance Attribute Summary collapse
-
#name ⇒ String
The resource name of the OnboardingState.
-
#onboarding_level ⇒ String
Describes the level a given organization, folder, or project is onboarded with SCC.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OnboardingState
constructor
A new instance of OnboardingState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OnboardingState
Returns a new instance of OnboardingState.
1730 1731 1732 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1730 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The resource name of the OnboardingState. Format: organizations/organization/
onboardingState Format: folders/folder/onboardingState Format: projects/
project/onboardingState
Corresponds to the JSON property name
1722 1723 1724 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1722 def name @name end |
#onboarding_level ⇒ String
Describes the level a given organization, folder, or project is onboarded with
SCC. If the resource wasn't onboarded, NOT_FOUND would have been thrown.
Corresponds to the JSON property onboardingLevel
1728 1729 1730 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1728 def onboarding_level @onboarding_level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1735 1736 1737 1738 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1735 def update!(**args) @name = args[:name] if args.key?(:name) @onboarding_level = args[:onboarding_level] if args.key?(:onboarding_level) end |