Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#folders ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Folder>
Corresponds to the JSON property
folders. -
#name ⇒ String
Corresponds to the JSON property
name. -
#parent ⇒ String
Corresponds to the JSON property
parent. -
#parent_display_name ⇒ String
Corresponds to the JSON property
parentDisplayName. -
#project ⇒ String
Corresponds to the JSON property
project. -
#project_display_name ⇒ String
Corresponds to the JSON property
projectDisplayName.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV1p1beta1Resource
constructor
A new instance of GoogleCloudSecuritycenterV1p1beta1Resource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV1p1beta1Resource
Returns a new instance of GoogleCloudSecuritycenterV1p1beta1Resource.
4178 4179 4180 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4178 def initialize(**args) update!(**args) end |
Instance Attribute Details
#folders ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Folder>
Corresponds to the JSON property folders
4151 4152 4153 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4151 def folders @folders end |
#name ⇒ String
Corresponds to the JSON property name
4156 4157 4158 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4156 def name @name end |
#parent ⇒ String
Corresponds to the JSON property parent
4161 4162 4163 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4161 def parent @parent end |
#parent_display_name ⇒ String
Corresponds to the JSON property parentDisplayName
4166 4167 4168 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4166 def parent_display_name @parent_display_name end |
#project ⇒ String
Corresponds to the JSON property project
4171 4172 4173 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4171 def project @project end |
#project_display_name ⇒ String
Corresponds to the JSON property projectDisplayName
4176 4177 4178 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4176 def project_display_name @project_display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4183 4184 4185 4186 4187 4188 4189 4190 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4183 def update!(**args) @folders = args[:folders] if args.key?(:folders) @name = args[:name] if args.key?(:name) @parent = args[:parent] if args.key?(:parent) @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name) @project = args[:project] if args.key?(:project) @project_display_name = args[:project_display_name] if args.key?(:project_display_name) end |