Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AiModel

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2AiModel

Returns a new instance of GoogleCloudSecuritycenterV2AiModel.



4954
4955
4956
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4954

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

Instance Attribute Details

#deployment_platformString

Corresponds to the JSON property deploymentPlatform

Returns:

  • (String)


4917
4918
4919
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4917

def deployment_platform
  @deployment_platform
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


4922
4923
4924
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4922

def display_name
  @display_name
end

#domainString

Corresponds to the JSON property domain

Returns:

  • (String)


4927
4928
4929
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4927

def domain
  @domain
end

#libraryString

Corresponds to the JSON property library

Returns:

  • (String)


4932
4933
4934
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4932

def library
  @library
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


4937
4938
4939
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4937

def location
  @location
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


4942
4943
4944
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4942

def name
  @name
end

#publisherString

Corresponds to the JSON property publisher

Returns:

  • (String)


4947
4948
4949
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4947

def publisher
  @publisher
end

#usage_categoryString

Corresponds to the JSON property usageCategory

Returns:

  • (String)


4952
4953
4954
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4952

def usage_category
  @usage_category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4959

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