Class: Google::Apis::SecuritycenterV1beta2::AiModel

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) ⇒ AiModel

Returns a new instance of AiModel.



341
342
343
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 341

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

Instance Attribute Details

#deployment_platformString

Corresponds to the JSON property deploymentPlatform

Returns:

  • (String)


304
305
306
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 304

def deployment_platform
  @deployment_platform
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


309
310
311
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 309

def display_name
  @display_name
end

#domainString

Corresponds to the JSON property domain

Returns:

  • (String)


314
315
316
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 314

def domain
  @domain
end

#libraryString

Corresponds to the JSON property library

Returns:

  • (String)


319
320
321
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 319

def library
  @library
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


324
325
326
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 324

def location
  @location
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


329
330
331
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 329

def name
  @name
end

#publisherString

Corresponds to the JSON property publisher

Returns:

  • (String)


334
335
336
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 334

def publisher
  @publisher
end

#usage_categoryString

Corresponds to the JSON property usageCategory

Returns:

  • (String)


339
340
341
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 339

def usage_category
  @usage_category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



346
347
348
349
350
351
352
353
354
355
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 346

def update!(**args)
  @deployment_platform = args[:deployment_platform] if args.key?(:deployment_platform)
  @display_name = args[:display_name] if args.key?(:display_name)
  @domain = args[:domain] if args.key?(:domain)
  @library = args[:library] if args.key?(:library)
  @location = args[:location] if args.key?(:location)
  @name = args[:name] if args.key?(:name)
  @publisher = args[:publisher] if args.key?(:publisher)
  @usage_category = args[:usage_category] if args.key?(:usage_category)
end