Class: Google::Apis::SecuritycenterV1beta2::AiModel
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::AiModel
- 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
-
#deployment_platform ⇒ String
Corresponds to the JSON property
deploymentPlatform. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#domain ⇒ String
Corresponds to the JSON property
domain. -
#library ⇒ String
Corresponds to the JSON property
library. -
#location ⇒ String
Corresponds to the JSON property
location. -
#name ⇒ String
Corresponds to the JSON property
name. -
#publisher ⇒ String
Corresponds to the JSON property
publisher. -
#usage_category ⇒ String
Corresponds to the JSON property
usageCategory.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AiModel
constructor
A new instance of AiModel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AiModel
Returns a new instance of AiModel.
416 417 418 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 416 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deployment_platform ⇒ String
Corresponds to the JSON property deploymentPlatform
379 380 381 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 379 def deployment_platform @deployment_platform end |
#display_name ⇒ String
Corresponds to the JSON property displayName
384 385 386 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 384 def display_name @display_name end |
#domain ⇒ String
Corresponds to the JSON property domain
389 390 391 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 389 def domain @domain end |
#library ⇒ String
Corresponds to the JSON property library
394 395 396 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 394 def library @library end |
#location ⇒ String
Corresponds to the JSON property location
399 400 401 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 399 def location @location end |
#name ⇒ String
Corresponds to the JSON property name
404 405 406 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 404 def name @name end |
#publisher ⇒ String
Corresponds to the JSON property publisher
409 410 411 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 409 def publisher @publisher end |
#usage_category ⇒ String
Corresponds to the JSON property usageCategory
414 415 416 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 414 def usage_category @usage_category end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
421 422 423 424 425 426 427 428 429 430 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 421 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 |