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.



5165
5166
5167
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5165

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

Instance Attribute Details

#deployment_platformString

Corresponds to the JSON property deploymentPlatform

Returns:

  • (String)


5128
5129
5130
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5128

def deployment_platform
  @deployment_platform
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


5133
5134
5135
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5133

def display_name
  @display_name
end

#domainString

Corresponds to the JSON property domain

Returns:

  • (String)


5138
5139
5140
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5138

def domain
  @domain
end

#libraryString

Corresponds to the JSON property library

Returns:

  • (String)


5143
5144
5145
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5143

def library
  @library
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


5148
5149
5150
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5148

def location
  @location
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


5153
5154
5155
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5153

def name
  @name
end

#publisherString

Corresponds to the JSON property publisher

Returns:

  • (String)


5158
5159
5160
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5158

def publisher
  @publisher
end

#usage_categoryString

Corresponds to the JSON property usageCategory

Returns:

  • (String)


5163
5164
5165
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5163

def usage_category
  @usage_category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5170

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