Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Resource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1Resource

Returns a new instance of GoogleCloudSecuritycenterV1Resource.



3954
3955
3956
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3954

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

Instance Attribute Details

#adc_applicationGoogle::Apis::SecuritycenterV1::AdcApplication

Corresponds to the JSON property adcApplication



3857
3858
3859
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3857

def adc_application
  @adc_application
end

#adc_application_templateGoogle::Apis::SecuritycenterV1::AdcApplicationTemplateRevision

Corresponds to the JSON property adcApplicationTemplate



3862
3863
3864
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3862

def adc_application_template
  @adc_application_template
end

#adc_shared_templateGoogle::Apis::SecuritycenterV1::AdcSharedTemplateRevision

Corresponds to the JSON property adcSharedTemplate



3867
3868
3869
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3867

def adc_shared_template
  @adc_shared_template
end

#applicationGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplication

Corresponds to the JSON property application



3872
3873
3874
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3872

def application
  @application
end

#aws_metadataGoogle::Apis::SecuritycenterV1::AwsMetadata

Corresponds to the JSON property awsMetadata



3877
3878
3879
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3877

def 
  @aws_metadata
end

#azure_metadataGoogle::Apis::SecuritycenterV1::AzureMetadata

Corresponds to the JSON property azureMetadata



3882
3883
3884
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3882

def 
  @azure_metadata
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


3887
3888
3889
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3887

def cloud_provider
  @cloud_provider
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3892
3893
3894
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3892

def display_name
  @display_name
end

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

Corresponds to the JSON property folders



3897
3898
3899
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3897

def folders
  @folders
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


3902
3903
3904
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3902

def location
  @location
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3907
3908
3909
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3907

def name
  @name
end

#organizationString

Corresponds to the JSON property organization

Returns:

  • (String)


3912
3913
3914
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3912

def organization
  @organization
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


3917
3918
3919
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3917

def parent
  @parent
end

#parent_display_nameString

Corresponds to the JSON property parentDisplayName

Returns:

  • (String)


3922
3923
3924
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3922

def parent_display_name
  @parent_display_name
end

#projectString

Corresponds to the JSON property project

Returns:

  • (String)


3927
3928
3929
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3927

def project
  @project
end

#project_display_nameString

Corresponds to the JSON property projectDisplayName

Returns:

  • (String)


3932
3933
3934
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3932

def project_display_name
  @project_display_name
end

#resource_pathGoogle::Apis::SecuritycenterV1::ResourcePath

Corresponds to the JSON property resourcePath



3937
3938
3939
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3937

def resource_path
  @resource_path
end

#resource_path_stringString

Corresponds to the JSON property resourcePathString

Returns:

  • (String)


3942
3943
3944
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3942

def resource_path_string
  @resource_path_string
end

#serviceString

Corresponds to the JSON property service

Returns:

  • (String)


3947
3948
3949
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3947

def service
  @service
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


3952
3953
3954
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3952

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3959

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