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.
12710 12711 12712 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12710 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adc_application ⇒ Google::Apis::SecuritycenterV1::AdcApplication
Corresponds to the JSON property adcApplication
12613 12614 12615 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12613 def adc_application @adc_application end |
#adc_application_template ⇒ Google::Apis::SecuritycenterV1::AdcApplicationTemplateRevision
Corresponds to the JSON property adcApplicationTemplate
12618 12619 12620 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12618 def adc_application_template @adc_application_template end |
#adc_shared_template ⇒ Google::Apis::SecuritycenterV1::AdcSharedTemplateRevision
Corresponds to the JSON property adcSharedTemplate
12623 12624 12625 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12623 def adc_shared_template @adc_shared_template end |
#application ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplication
Corresponds to the JSON property application
12628 12629 12630 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12628 def application @application end |
#aws_metadata ⇒ Google::Apis::SecuritycenterV1::AwsMetadata
Corresponds to the JSON property awsMetadata
12633 12634 12635 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12633 def @aws_metadata end |
#azure_metadata ⇒ Google::Apis::SecuritycenterV1::AzureMetadata
Corresponds to the JSON property azureMetadata
12638 12639 12640 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12638 def @azure_metadata end |
#cloud_provider ⇒ String
Corresponds to the JSON property cloudProvider
12643 12644 12645 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12643 def cloud_provider @cloud_provider end |
#display_name ⇒ String
Corresponds to the JSON property displayName
12648 12649 12650 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12648 def display_name @display_name end |
#folders ⇒ Array<Google::Apis::SecuritycenterV1::Folder>
Corresponds to the JSON property folders
12653 12654 12655 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12653 def folders @folders end |
#location ⇒ String
Corresponds to the JSON property location
12658 12659 12660 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12658 def location @location end |
#name ⇒ String
Corresponds to the JSON property name
12663 12664 12665 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12663 def name @name end |
#organization ⇒ String
Corresponds to the JSON property organization
12668 12669 12670 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12668 def organization @organization end |
#parent_display_name ⇒ String
Corresponds to the JSON property parentDisplayName
12673 12674 12675 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12673 def parent_display_name @parent_display_name end |
#parent_name ⇒ String
Corresponds to the JSON property parentName
12678 12679 12680 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12678 def parent_name @parent_name end |
#project_display_name ⇒ String
Corresponds to the JSON property projectDisplayName
12683 12684 12685 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12683 def project_display_name @project_display_name end |
#project_name ⇒ String
Corresponds to the JSON property projectName
12688 12689 12690 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12688 def project_name @project_name end |
#resource_path ⇒ Google::Apis::SecuritycenterV1::ResourcePath
Corresponds to the JSON property resourcePath
12693 12694 12695 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12693 def resource_path @resource_path end |
#resource_path_string ⇒ String
Corresponds to the JSON property resourcePathString
12698 12699 12700 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12698 def resource_path_string @resource_path_string end |
#service ⇒ String
Corresponds to the JSON property service
12703 12704 12705 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12703 def service @service end |
#type ⇒ String
Corresponds to the JSON property type
12708 12709 12710 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12708 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12715 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 |