Class: Google::Apis::ToolresultsV1beta3::NonSdkApiUsageViolation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_signaturesArray<String>

Signatures of a subset of those hidden API's. Corresponds to the JSON property apiSignatures

Returns:

  • (Array<String>)


1929
1930
1931
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1929

def api_signatures
  @api_signatures
end

#unique_apisFixnum

Total number of unique hidden API's accessed. Corresponds to the JSON property uniqueApis

Returns:

  • (Fixnum)


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