Class: Google::Apis::ToolresultsV1::NonSdkApiUsageViolation
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1::NonSdkApiUsageViolation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/toolresults_v1/classes.rb,
generated/google/apis/toolresults_v1/representations.rb,
generated/google/apis/toolresults_v1/representations.rb
Overview
Additional details for a non-sdk API usage violation.
Instance Attribute Summary collapse
-
#api_signatures ⇒ Array<String>
Signatures of a subset of those hidden API's.
-
#unique_apis ⇒ Fixnum
Total number of unique hidden API's accessed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NonSdkApiUsageViolation
constructor
A new instance of NonSdkApiUsageViolation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NonSdkApiUsageViolation
Returns a new instance of NonSdkApiUsageViolation.
370 371 372 |
# File 'generated/google/apis/toolresults_v1/classes.rb', line 370 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_signatures ⇒ Array<String>
Signatures of a subset of those hidden API's.
Corresponds to the JSON property apiSignatures
363 364 365 |
# File 'generated/google/apis/toolresults_v1/classes.rb', line 363 def api_signatures @api_signatures end |
#unique_apis ⇒ Fixnum
Total number of unique hidden API's accessed.
Corresponds to the JSON property uniqueApis
368 369 370 |
# File 'generated/google/apis/toolresults_v1/classes.rb', line 368 def unique_apis @unique_apis end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
375 376 377 378 |
# File 'generated/google/apis/toolresults_v1/classes.rb', line 375 def update!(**args) @api_signatures = args[:api_signatures] if args.key?(:api_signatures) @unique_apis = args[:unique_apis] if args.key?(:unique_apis) end |