Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Resource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1Resource

Returns a new instance of GoogleCloudSecuritycenterV1Resource.



3709
3710
3711
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3709

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#adc_applicationGoogle::Apis::SecuritycenterV1beta1::AdcApplication

Corresponds to the JSON property adcApplication



3612
3613
3614
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3612

def adc_application
  @adc_application
end

#adc_application_templateGoogle::Apis::SecuritycenterV1beta1::AdcApplicationTemplateRevision

Corresponds to the JSON property adcApplicationTemplate



3617
3618
3619
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3617

def adc_application_template
  @adc_application_template
end

#adc_shared_templateGoogle::Apis::SecuritycenterV1beta1::AdcSharedTemplateRevision

Corresponds to the JSON property adcSharedTemplate



3622
3623
3624
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3622

def adc_shared_template
  @adc_shared_template
end

#applicationGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceApplication

Corresponds to the JSON property application



3627
3628
3629
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3627

def application
  @application
end

#aws_metadataGoogle::Apis::SecuritycenterV1beta1::AwsMetadata

Corresponds to the JSON property awsMetadata



3632
3633
3634
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3632

def 
  @aws_metadata
end

#azure_metadataGoogle::Apis::SecuritycenterV1beta1::AzureMetadata

Corresponds to the JSON property azureMetadata



3637
3638
3639
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3637

def 
  @azure_metadata
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


3642
3643
3644
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3642

def cloud_provider
  @cloud_provider
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3647
3648
3649
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3647

def display_name
  @display_name
end

#foldersArray<Google::Apis::SecuritycenterV1beta1::Folder>

Corresponds to the JSON property folders



3652
3653
3654
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3652

def folders
  @folders
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


3657
3658
3659
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3657

def location
  @location
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3662
3663
3664
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3662

def name
  @name
end

#organizationString

Corresponds to the JSON property organization

Returns:

  • (String)


3667
3668
3669
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3667

def organization
  @organization
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


3672
3673
3674
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3672

def parent
  @parent
end

#parent_display_nameString

Corresponds to the JSON property parentDisplayName

Returns:

  • (String)


3677
3678
3679
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3677

def parent_display_name
  @parent_display_name
end

#projectString

Corresponds to the JSON property project

Returns:

  • (String)


3682
3683
3684
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3682

def project
  @project
end

#project_display_nameString

Corresponds to the JSON property projectDisplayName

Returns:

  • (String)


3687
3688
3689
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3687

def project_display_name
  @project_display_name
end

#resource_pathGoogle::Apis::SecuritycenterV1beta1::ResourcePath

Corresponds to the JSON property resourcePath



3692
3693
3694
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3692

def resource_path
  @resource_path
end

#resource_path_stringString

Corresponds to the JSON property resourcePathString

Returns:

  • (String)


3697
3698
3699
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3697

def resource_path_string
  @resource_path_string
end

#serviceString

Corresponds to the JSON property service

Returns:

  • (String)


3702
3703
3704
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3702

def service
  @service
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


3707
3708
3709
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3707

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3714

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