Class: Google::Apis::ToolresultsV1beta3::NonSdkApi

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/toolresults_v1beta3/classes.rb,
lib/google/apis/toolresults_v1beta3/representations.rb,
lib/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NonSdkApi

Returns a new instance of NonSdkApi.



1880
1881
1882
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1880

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

Instance Attribute Details

#api_signatureString

The signature of the Non-SDK API Corresponds to the JSON property apiSignature

Returns:

  • (String)


1858
1859
1860
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1858

def api_signature
  @api_signature
end

#example_stack_tracesArray<String>

Example stack traces of this API being called. Corresponds to the JSON property exampleStackTraces

Returns:

  • (Array<String>)


1863
1864
1865
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1863

def example_stack_traces
  @example_stack_traces
end

#insightsArray<Google::Apis::ToolresultsV1beta3::NonSdkApiInsight>

Optional debugging insights for non-SDK API violations. Corresponds to the JSON property insights



1868
1869
1870
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1868

def insights
  @insights
end

#invocation_countFixnum

The total number of times this API was observed to have been called. Corresponds to the JSON property invocationCount

Returns:

  • (Fixnum)


1873
1874
1875
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1873

def invocation_count
  @invocation_count
end

#listString

Which list this API appears on Corresponds to the JSON property list

Returns:

  • (String)


1878
1879
1880
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1878

def list
  @list
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1885
1886
1887
1888
1889
1890
1891
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1885

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