Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Resource
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Resource
- 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::GoogleCloudSecuritycenterV2AdcApplication
Corresponds to the JSON property
adcApplication. -
#adc_application_template ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision
Corresponds to the JSON property
adcApplicationTemplate. -
#adc_shared_template ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdcSharedTemplateRevision
Corresponds to the JSON property
adcSharedTemplate. -
#application ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplication
Corresponds to the JSON property
application. -
#aws_metadata ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsMetadata
Corresponds to the JSON property
awsMetadata. -
#azure_metadata ⇒ Google::Apis::SecuritycenterV1beta2::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::SecuritycenterV1beta2::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::SecuritycenterV1beta2::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.
8824 8825 8826 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8824 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adc_application ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdcApplication
Corresponds to the JSON property adcApplication
8752 8753 8754 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8752 def adc_application @adc_application end |
#adc_application_template ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision
Corresponds to the JSON property adcApplicationTemplate
8757 8758 8759 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8757 def adc_application_template @adc_application_template end |
#adc_shared_template ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdcSharedTemplateRevision
Corresponds to the JSON property adcSharedTemplate
8762 8763 8764 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8762 def adc_shared_template @adc_shared_template end |
#application ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplication
Corresponds to the JSON property application
8767 8768 8769 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8767 def application @application end |
#aws_metadata ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsMetadata
Corresponds to the JSON property awsMetadata
8772 8773 8774 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8772 def @aws_metadata end |
#azure_metadata ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureMetadata
Corresponds to the JSON property azureMetadata
8777 8778 8779 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8777 def @azure_metadata end |
#cloud_provider ⇒ String
Corresponds to the JSON property cloudProvider
8782 8783 8784 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8782 def cloud_provider @cloud_provider end |
#display_name ⇒ String
Corresponds to the JSON property displayName
8787 8788 8789 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8787 def display_name @display_name end |
#gcp_metadata ⇒ Google::Apis::SecuritycenterV1beta2::GcpMetadata
Corresponds to the JSON property gcpMetadata
8792 8793 8794 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8792 def @gcp_metadata end |
#location ⇒ String
Corresponds to the JSON property location
8797 8798 8799 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8797 def location @location end |
#name ⇒ String
Corresponds to the JSON property name
8802 8803 8804 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8802 def name @name end |
#resource_path ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourcePath
Corresponds to the JSON property resourcePath
8807 8808 8809 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8807 def resource_path @resource_path end |
#resource_path_string ⇒ String
Corresponds to the JSON property resourcePathString
8812 8813 8814 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8812 def resource_path_string @resource_path_string end |
#service ⇒ String
Corresponds to the JSON property service
8817 8818 8819 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8817 def service @service end |
#type ⇒ String
Corresponds to the JSON property type
8822 8823 8824 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8822 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8829 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 |