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.



4904
4905
4906
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4904

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

Instance Attribute Details

#deployment_platformString

Corresponds to the JSON property deploymentPlatform

Returns:

  • (String)


4867
4868
4869
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4867

def deployment_platform
  @deployment_platform
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


4872
4873
4874
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4872

def display_name
  @display_name
end

#domainString

Corresponds to the JSON property domain

Returns:

  • (String)


4877
4878
4879
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4877

def domain
  @domain
end

#libraryString

Corresponds to the JSON property library

Returns:

  • (String)


4882
4883
4884
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4882

def library
  @library
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


4887
4888
4889
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4887

def location
  @location
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


4892
4893
4894
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4892

def name
  @name
end

#publisherString

Corresponds to the JSON property publisher

Returns:

  • (String)


4897
4898
4899
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4897

def publisher
  @publisher
end

#usage_categoryString

Corresponds to the JSON property usageCategory

Returns:

  • (String)


4902
4903
4904
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4902

def usage_category
  @usage_category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4909

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