Class: Google::Apis::ToolresultsV1beta3::NonSdkApiUsageViolation
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::NonSdkApiUsageViolation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/google/apis/toolresults_v1beta3/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.
Constructor Details
#initialize(**args) ⇒ NonSdkApiUsageViolation
Returns a new instance of NonSdkApiUsageViolation.
1936 1937 1938 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1936 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
1929 1930 1931 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1929 def api_signatures @api_signatures end |
#unique_apis ⇒ Fixnum
Total number of unique hidden API's accessed.
Corresponds to the JSON property uniqueApis
1934 1935 1936 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1934 def unique_apis @unique_apis end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1941 1942 1943 1944 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1941 def update!(**args) @api_signatures = args[:api_signatures] if args.key?(:api_signatures) @unique_apis = args[:unique_apis] if args.key?(:unique_apis) end |