Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AiModel

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

Returns a new instance of GoogleCloudSecuritycenterV2AiModel.



4390
4391
4392
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4390

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

Instance Attribute Details

#deployment_platformString

Corresponds to the JSON property deploymentPlatform

Returns:

  • (String)


4353
4354
4355
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4353

def deployment_platform
  @deployment_platform
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


4358
4359
4360
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4358

def display_name
  @display_name
end

#domainString

Corresponds to the JSON property domain

Returns:

  • (String)


4363
4364
4365
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4363

def domain
  @domain
end

#libraryString

Corresponds to the JSON property library

Returns:

  • (String)


4368
4369
4370
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4368

def library
  @library
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


4373
4374
4375
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4373

def location
  @location
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


4378
4379
4380
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4378

def name
  @name
end

#publisherString

Corresponds to the JSON property publisher

Returns:

  • (String)


4383
4384
4385
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4383

def publisher
  @publisher
end

#usage_categoryString

Corresponds to the JSON property usageCategory

Returns:

  • (String)


4388
4389
4390
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4388

def usage_category
  @usage_category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4395

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