Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Resource
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Resource
- 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
-
#adc_application ⇒ Google::Apis::SecuritycenterV1beta2::AdcApplication
Corresponds to the JSON property
adcApplication. -
#adc_application_template ⇒ Google::Apis::SecuritycenterV1beta2::AdcApplicationTemplateRevision
Corresponds to the JSON property
adcApplicationTemplate. -
#adc_shared_template ⇒ Google::Apis::SecuritycenterV1beta2::AdcSharedTemplateRevision
Corresponds to the JSON property
adcSharedTemplate. -
#application ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplication
Corresponds to the JSON property
application. -
#aws_metadata ⇒ Google::Apis::SecuritycenterV1beta2::AwsMetadata
Corresponds to the JSON property
awsMetadata. -
#azure_metadata ⇒ Google::Apis::SecuritycenterV1beta2::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::SecuritycenterV1beta2::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 ⇒ 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. -
#resource_path ⇒ Google::Apis::SecuritycenterV1beta2::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) ⇒ GoogleCloudSecuritycenterV1Resource
constructor
A new instance of GoogleCloudSecuritycenterV1Resource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV1Resource
Returns a new instance of GoogleCloudSecuritycenterV1Resource.
3434 3435 3436 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3434 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adc_application ⇒ Google::Apis::SecuritycenterV1beta2::AdcApplication
Corresponds to the JSON property adcApplication
3337 3338 3339 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3337 def adc_application @adc_application end |
#adc_application_template ⇒ Google::Apis::SecuritycenterV1beta2::AdcApplicationTemplateRevision
Corresponds to the JSON property adcApplicationTemplate
3342 3343 3344 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3342 def adc_application_template @adc_application_template end |
#adc_shared_template ⇒ Google::Apis::SecuritycenterV1beta2::AdcSharedTemplateRevision
Corresponds to the JSON property adcSharedTemplate
3347 3348 3349 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3347 def adc_shared_template @adc_shared_template end |
#application ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplication
Corresponds to the JSON property application
3352 3353 3354 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3352 def application @application end |
#aws_metadata ⇒ Google::Apis::SecuritycenterV1beta2::AwsMetadata
Corresponds to the JSON property awsMetadata
3357 3358 3359 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3357 def @aws_metadata end |
#azure_metadata ⇒ Google::Apis::SecuritycenterV1beta2::AzureMetadata
Corresponds to the JSON property azureMetadata
3362 3363 3364 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3362 def @azure_metadata end |
#cloud_provider ⇒ String
Corresponds to the JSON property cloudProvider
3367 3368 3369 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3367 def cloud_provider @cloud_provider end |
#display_name ⇒ String
Corresponds to the JSON property displayName
3372 3373 3374 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3372 def display_name @display_name end |
#folders ⇒ Array<Google::Apis::SecuritycenterV1beta2::Folder>
Corresponds to the JSON property folders
3377 3378 3379 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3377 def folders @folders end |
#location ⇒ String
Corresponds to the JSON property location
3382 3383 3384 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3382 def location @location end |
#name ⇒ String
Corresponds to the JSON property name
3387 3388 3389 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3387 def name @name end |
#organization ⇒ String
Corresponds to the JSON property organization
3392 3393 3394 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3392 def organization @organization end |
#parent ⇒ String
Corresponds to the JSON property parent
3397 3398 3399 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3397 def parent @parent end |
#parent_display_name ⇒ String
Corresponds to the JSON property parentDisplayName
3402 3403 3404 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3402 def parent_display_name @parent_display_name end |
#project ⇒ String
Corresponds to the JSON property project
3407 3408 3409 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3407 def project @project end |
#project_display_name ⇒ String
Corresponds to the JSON property projectDisplayName
3412 3413 3414 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3412 def project_display_name @project_display_name end |
#resource_path ⇒ Google::Apis::SecuritycenterV1beta2::ResourcePath
Corresponds to the JSON property resourcePath
3417 3418 3419 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3417 def resource_path @resource_path end |
#resource_path_string ⇒ String
Corresponds to the JSON property resourcePathString
3422 3423 3424 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3422 def resource_path_string @resource_path_string end |
#service ⇒ String
Corresponds to the JSON property service
3427 3428 3429 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3427 def service @service end |
#type ⇒ String
Corresponds to the JSON property type
3432 3433 3434 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3432 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3439 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 = 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) @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 |