Class: Google::Apis::SecuritycenterV1::Resource
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::Resource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#adc_application ⇒ Google::Apis::SecuritycenterV1::AdcApplication
Corresponds to the JSON property
adcApplication. -
#adc_application_template ⇒ Google::Apis::SecuritycenterV1::AdcApplicationTemplateRevision
Corresponds to the JSON property
adcApplicationTemplate. -
#adc_shared_template ⇒ Google::Apis::SecuritycenterV1::AdcSharedTemplateRevision
Corresponds to the JSON property
adcSharedTemplate. -
#application ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplication
Corresponds to the JSON property
application. -
#aws_metadata ⇒ Google::Apis::SecuritycenterV1::AwsMetadata
Corresponds to the JSON property
awsMetadata. -
#azure_metadata ⇒ Google::Apis::SecuritycenterV1::AzureMetadata
Corresponds to the JSON property
azureMetadata. -
#cloud_provider ⇒ String
Corresponds to the JSON property
cloudProvider. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#folders ⇒ Array<Google::Apis::SecuritycenterV1::Folder>
Corresponds to the JSON property
folders. -
#location ⇒ String
Corresponds to the JSON property
location. -
#name ⇒ String
Corresponds to the JSON property
name. -
#organization ⇒ String
Corresponds to the JSON property
organization. -
#parent_display_name ⇒ String
Corresponds to the JSON property
parentDisplayName. -
#parent_name ⇒ String
Corresponds to the JSON property
parentName. -
#project_display_name ⇒ String
Corresponds to the JSON property
projectDisplayName. -
#project_name ⇒ String
Corresponds to the JSON property
projectName. -
#resource_path ⇒ Google::Apis::SecuritycenterV1::ResourcePath
Corresponds to the JSON property
resourcePath. -
#resource_path_string ⇒ String
Corresponds to the JSON property
resourcePathString. -
#service ⇒ String
Corresponds to the JSON property
service. -
#type ⇒ String
Corresponds to the JSON property
type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Resource
constructor
A new instance of Resource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Resource
Returns a new instance of Resource.
12300 12301 12302 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12300 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adc_application ⇒ Google::Apis::SecuritycenterV1::AdcApplication
Corresponds to the JSON property adcApplication
12203 12204 12205 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12203 def adc_application @adc_application end |
#adc_application_template ⇒ Google::Apis::SecuritycenterV1::AdcApplicationTemplateRevision
Corresponds to the JSON property adcApplicationTemplate
12208 12209 12210 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12208 def adc_application_template @adc_application_template end |
#adc_shared_template ⇒ Google::Apis::SecuritycenterV1::AdcSharedTemplateRevision
Corresponds to the JSON property adcSharedTemplate
12213 12214 12215 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12213 def adc_shared_template @adc_shared_template end |
#application ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplication
Corresponds to the JSON property application
12218 12219 12220 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12218 def application @application end |
#aws_metadata ⇒ Google::Apis::SecuritycenterV1::AwsMetadata
Corresponds to the JSON property awsMetadata
12223 12224 12225 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12223 def @aws_metadata end |
#azure_metadata ⇒ Google::Apis::SecuritycenterV1::AzureMetadata
Corresponds to the JSON property azureMetadata
12228 12229 12230 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12228 def @azure_metadata end |
#cloud_provider ⇒ String
Corresponds to the JSON property cloudProvider
12233 12234 12235 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12233 def cloud_provider @cloud_provider end |
#display_name ⇒ String
Corresponds to the JSON property displayName
12238 12239 12240 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12238 def display_name @display_name end |
#folders ⇒ Array<Google::Apis::SecuritycenterV1::Folder>
Corresponds to the JSON property folders
12243 12244 12245 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12243 def folders @folders end |
#location ⇒ String
Corresponds to the JSON property location
12248 12249 12250 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12248 def location @location end |
#name ⇒ String
Corresponds to the JSON property name
12253 12254 12255 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12253 def name @name end |
#organization ⇒ String
Corresponds to the JSON property organization
12258 12259 12260 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12258 def organization @organization end |
#parent_display_name ⇒ String
Corresponds to the JSON property parentDisplayName
12263 12264 12265 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12263 def parent_display_name @parent_display_name end |
#parent_name ⇒ String
Corresponds to the JSON property parentName
12268 12269 12270 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12268 def parent_name @parent_name end |
#project_display_name ⇒ String
Corresponds to the JSON property projectDisplayName
12273 12274 12275 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12273 def project_display_name @project_display_name end |
#project_name ⇒ String
Corresponds to the JSON property projectName
12278 12279 12280 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12278 def project_name @project_name end |
#resource_path ⇒ Google::Apis::SecuritycenterV1::ResourcePath
Corresponds to the JSON property resourcePath
12283 12284 12285 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12283 def resource_path @resource_path end |
#resource_path_string ⇒ String
Corresponds to the JSON property resourcePathString
12288 12289 12290 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12288 def resource_path_string @resource_path_string end |
#service ⇒ String
Corresponds to the JSON property service
12293 12294 12295 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12293 def service @service end |
#type ⇒ String
Corresponds to the JSON property type
12298 12299 12300 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12298 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12305 def update!(**args) @adc_application = args[:adc_application] if args.key?(:adc_application) @adc_application_template = args[:adc_application_template] if args.key?(:adc_application_template) @adc_shared_template = args[:adc_shared_template] if args.key?(:adc_shared_template) @application = args[:application] if args.key?(:application) @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata) @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata) @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider) @display_name = args[:display_name] if args.key?(:display_name) @folders = args[:folders] if args.key?(:folders) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @organization = args[:organization] if args.key?(:organization) @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name) @parent_name = args[:parent_name] if args.key?(:parent_name) @project_display_name = args[:project_display_name] if args.key?(:project_display_name) @project_name = args[:project_name] if args.key?(:project_name) @resource_path = args[:resource_path] if args.key?(:resource_path) @resource_path_string = args[:resource_path_string] if args.key?(:resource_path_string) @service = args[:service] if args.key?(:service) @type = args[:type] if args.key?(:type) end |