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.



9215
9216
9217
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9215

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

Instance Attribute Details

#adc_applicationGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdcApplication

Corresponds to the JSON property adcApplication



9143
9144
9145
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9143

def adc_application
  @adc_application
end

#adc_application_templateGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision

Corresponds to the JSON property adcApplicationTemplate



9148
9149
9150
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9148

def adc_application_template
  @adc_application_template
end

#adc_shared_templateGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdcSharedTemplateRevision

Corresponds to the JSON property adcSharedTemplate



9153
9154
9155
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9153

def adc_shared_template
  @adc_shared_template
end

#applicationGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplication

Corresponds to the JSON property application



9158
9159
9160
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9158

def application
  @application
end

#aws_metadataGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsMetadata

Corresponds to the JSON property awsMetadata



9163
9164
9165
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9163

def 
  @aws_metadata
end

#azure_metadataGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureMetadata

Corresponds to the JSON property azureMetadata



9168
9169
9170
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9168

def 
  @azure_metadata
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


9173
9174
9175
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9173

def cloud_provider
  @cloud_provider
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


9178
9179
9180
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9178

def display_name
  @display_name
end

#gcp_metadataGoogle::Apis::SecuritycenterV1beta2::GcpMetadata

Corresponds to the JSON property gcpMetadata



9183
9184
9185
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9183

def 
  @gcp_metadata
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


9188
9189
9190
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9188

def location
  @location
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


9193
9194
9195
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9193

def name
  @name
end

#resource_pathGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourcePath

Corresponds to the JSON property resourcePath



9198
9199
9200
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9198

def resource_path
  @resource_path
end

#resource_path_stringString

Corresponds to the JSON property resourcePathString

Returns:

  • (String)


9203
9204
9205
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9203

def resource_path_string
  @resource_path_string
end

#serviceString

Corresponds to the JSON property service

Returns:

  • (String)


9208
9209
9210
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9208

def service
  @service
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


9213
9214
9215
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9213

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9220

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