Class: Google::Apis::ToolresultsV1beta3::NonSdkApiUsageViolationReport

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

Contains a summary and examples of non-sdk API usage violations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NonSdkApiUsageViolationReport

Returns a new instance of NonSdkApiUsageViolationReport.



1971
1972
1973
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1971

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

Instance Attribute Details

#example_apisArray<Google::Apis::ToolresultsV1beta3::NonSdkApi>

Examples of the detected API usages. Corresponds to the JSON property exampleApis



1954
1955
1956
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1954

def example_apis
  @example_apis
end

#min_sdk_versionFixnum

Minimum API level required for the application to run. Corresponds to the JSON property minSdkVersion

Returns:

  • (Fixnum)


1959
1960
1961
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1959

def min_sdk_version
  @min_sdk_version
end

#target_sdk_versionFixnum

Specifies the API Level on which the application is designed to run. Corresponds to the JSON property targetSdkVersion

Returns:

  • (Fixnum)


1964
1965
1966
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1964

def target_sdk_version
  @target_sdk_version
end

#unique_apisFixnum

Total number of unique Non-SDK API's accessed. Corresponds to the JSON property uniqueApis

Returns:

  • (Fixnum)


1969
1970
1971
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1969

def unique_apis
  @unique_apis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1976
1977
1978
1979
1980
1981
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1976

def update!(**args)
  @example_apis = args[:example_apis] if args.key?(:example_apis)
  @min_sdk_version = args[:min_sdk_version] if args.key?(:min_sdk_version)
  @target_sdk_version = args[:target_sdk_version] if args.key?(:target_sdk_version)
  @unique_apis = args[:unique_apis] if args.key?(:unique_apis)
end