Class: Google::Apis::ToolresultsV1beta3::NonSdkApi
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::NonSdkApi
- 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
A non-sdk API and examples of it being called along with other metadata See https://developer.android.com/distribute/best-practices/develop/restrictions- non-sdk-interfaces
Instance Attribute Summary collapse
-
#api_signature ⇒ String
The signature of the Non-SDK API Corresponds to the JSON property
apiSignature
. -
#example_stack_traces ⇒ Array<String>
Example stack traces of this API being called.
-
#insights ⇒ Array<Google::Apis::ToolresultsV1beta3::NonSdkApiInsight>
Optional debugging insights for non-SDK API violations.
-
#invocation_count ⇒ Fixnum
The total number of times this API was observed to have been called.
-
#list ⇒ String
Which list this API appears on Corresponds to the JSON property
list
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NonSdkApi
constructor
A new instance of NonSdkApi.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NonSdkApi
Returns a new instance of NonSdkApi.
1867 1868 1869 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1867 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_signature ⇒ String
The signature of the Non-SDK API
Corresponds to the JSON property apiSignature
1845 1846 1847 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1845 def api_signature @api_signature end |
#example_stack_traces ⇒ Array<String>
Example stack traces of this API being called.
Corresponds to the JSON property exampleStackTraces
1850 1851 1852 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1850 def example_stack_traces @example_stack_traces end |
#insights ⇒ Array<Google::Apis::ToolresultsV1beta3::NonSdkApiInsight>
Optional debugging insights for non-SDK API violations.
Corresponds to the JSON property insights
1855 1856 1857 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1855 def insights @insights end |
#invocation_count ⇒ Fixnum
The total number of times this API was observed to have been called.
Corresponds to the JSON property invocationCount
1860 1861 1862 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1860 def invocation_count @invocation_count end |
#list ⇒ String
Which list this API appears on
Corresponds to the JSON property list
1865 1866 1867 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1865 def list @list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1872 1873 1874 1875 1876 1877 1878 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1872 def update!(**args) @api_signature = args[:api_signature] if args.key?(:api_signature) @example_stack_traces = args[:example_stack_traces] if args.key?(:example_stack_traces) @insights = args[:insights] if args.key?(:insights) @invocation_count = args[:invocation_count] if args.key?(:invocation_count) @list = args[:list] if args.key?(:list) end |