Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Resource

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Resource

Returns a new instance of GoogleCloudSecuritycenterV2Resource.



8812
8813
8814
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8812

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

Instance Attribute Details

#adc_applicationGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdcApplication

Corresponds to the JSON property adcApplication



8740
8741
8742
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8740

def adc_application
  @adc_application
end

#adc_application_templateGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision

Corresponds to the JSON property adcApplicationTemplate



8745
8746
8747
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8745

def adc_application_template
  @adc_application_template
end

#adc_shared_templateGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdcSharedTemplateRevision

Corresponds to the JSON property adcSharedTemplate



8750
8751
8752
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8750

def adc_shared_template
  @adc_shared_template
end

#applicationGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplication

Corresponds to the JSON property application



8755
8756
8757
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8755

def application
  @application
end

#aws_metadataGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsMetadata

Corresponds to the JSON property awsMetadata



8760
8761
8762
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8760

def 
  @aws_metadata
end

#azure_metadataGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureMetadata

Corresponds to the JSON property azureMetadata



8765
8766
8767
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8765

def 
  @azure_metadata
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


8770
8771
8772
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8770

def cloud_provider
  @cloud_provider
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


8775
8776
8777
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8775

def display_name
  @display_name
end

#gcp_metadataGoogle::Apis::SecuritycenterV1beta2::GcpMetadata

Corresponds to the JSON property gcpMetadata



8780
8781
8782
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8780

def 
  @gcp_metadata
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


8785
8786
8787
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8785

def location
  @location
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8790
8791
8792
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8790

def name
  @name
end

#resource_pathGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourcePath

Corresponds to the JSON property resourcePath



8795
8796
8797
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8795

def resource_path
  @resource_path
end

#resource_path_stringString

Corresponds to the JSON property resourcePathString

Returns:

  • (String)


8800
8801
8802
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8800

def resource_path_string
  @resource_path_string
end

#serviceString

Corresponds to the JSON property service

Returns:

  • (String)


8805
8806
8807
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8805

def service
  @service
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


8810
8811
8812
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8810

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8817

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