Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AiModel
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AiModel
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/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) ⇒ GoogleCloudSecuritycenterV2AiModel
constructor
A new instance of GoogleCloudSecuritycenterV2AiModel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2AiModel
Returns a new instance of GoogleCloudSecuritycenterV2AiModel.
4565 4566 4567 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4565 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deployment_platform ⇒ String
Corresponds to the JSON property deploymentPlatform
4528 4529 4530 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4528 def deployment_platform @deployment_platform end |
#display_name ⇒ String
Corresponds to the JSON property displayName
4533 4534 4535 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4533 def display_name @display_name end |
#domain ⇒ String
Corresponds to the JSON property domain
4538 4539 4540 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4538 def domain @domain end |
#library ⇒ String
Corresponds to the JSON property library
4543 4544 4545 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4543 def library @library end |
#location ⇒ String
Corresponds to the JSON property location
4548 4549 4550 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4548 def location @location end |
#name ⇒ String
Corresponds to the JSON property name
4553 4554 4555 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4553 def name @name end |
#publisher ⇒ String
Corresponds to the JSON property publisher
4558 4559 4560 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4558 def publisher @publisher end |
#usage_category ⇒ String
Corresponds to the JSON property usageCategory
4563 4564 4565 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4563 def usage_category @usage_category end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4570 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 |