Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Resource
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Resource
- 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::GoogleCloudSecuritycenterV2AdcApplication
Corresponds to the JSON property
adcApplication. -
#adc_application_template ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision
Corresponds to the JSON property
adcApplicationTemplate. -
#adc_shared_template ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AdcSharedTemplateRevision
Corresponds to the JSON property
adcSharedTemplate. -
#application ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourceApplication
Corresponds to the JSON property
application. -
#aws_metadata ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AwsMetadata
Corresponds to the JSON property
awsMetadata. -
#azure_metadata ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureMetadata
Corresponds to the JSON property
azureMetadata. -
#cloud_provider ⇒ String
Corresponds to the JSON property
cloudProvider. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#gcp_metadata ⇒ Google::Apis::SecuritycenterV1::GcpMetadata
Corresponds to the JSON property
gcpMetadata. -
#location ⇒ String
Corresponds to the JSON property
location. -
#name ⇒ String
Corresponds to the JSON property
name. -
#resource_path ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourcePath
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) ⇒ GoogleCloudSecuritycenterV2Resource
constructor
A new instance of GoogleCloudSecuritycenterV2Resource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Resource
Returns a new instance of GoogleCloudSecuritycenterV2Resource.
9338 9339 9340 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9338 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adc_application ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AdcApplication
Corresponds to the JSON property adcApplication
9266 9267 9268 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9266 def adc_application @adc_application end |
#adc_application_template ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision
Corresponds to the JSON property adcApplicationTemplate
9271 9272 9273 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9271 def adc_application_template @adc_application_template end |
#adc_shared_template ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AdcSharedTemplateRevision
Corresponds to the JSON property adcSharedTemplate
9276 9277 9278 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9276 def adc_shared_template @adc_shared_template end |
#application ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourceApplication
Corresponds to the JSON property application
9281 9282 9283 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9281 def application @application end |
#aws_metadata ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AwsMetadata
Corresponds to the JSON property awsMetadata
9286 9287 9288 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9286 def @aws_metadata end |
#azure_metadata ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureMetadata
Corresponds to the JSON property azureMetadata
9291 9292 9293 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9291 def @azure_metadata end |
#cloud_provider ⇒ String
Corresponds to the JSON property cloudProvider
9296 9297 9298 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9296 def cloud_provider @cloud_provider end |
#display_name ⇒ String
Corresponds to the JSON property displayName
9301 9302 9303 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9301 def display_name @display_name end |
#gcp_metadata ⇒ Google::Apis::SecuritycenterV1::GcpMetadata
Corresponds to the JSON property gcpMetadata
9306 9307 9308 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9306 def @gcp_metadata end |
#location ⇒ String
Corresponds to the JSON property location
9311 9312 9313 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9311 def location @location end |
#name ⇒ String
Corresponds to the JSON property name
9316 9317 9318 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9316 def name @name end |
#resource_path ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourcePath
Corresponds to the JSON property resourcePath
9321 9322 9323 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9321 def resource_path @resource_path end |
#resource_path_string ⇒ String
Corresponds to the JSON property resourcePathString
9326 9327 9328 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9326 def resource_path_string @resource_path_string end |
#service ⇒ String
Corresponds to the JSON property service
9331 9332 9333 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9331 def service @service end |
#type ⇒ String
Corresponds to the JSON property type
9336 9337 9338 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9336 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9343 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) @gcp_metadata = args[:gcp_metadata] if args.key?(:gcp_metadata) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(: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 |