Class: Google::Apis::ToolresultsV1beta3::NonSdkApiInsight
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::NonSdkApiInsight
- 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
Non-SDK API insights (to address debugging solutions).
Instance Attribute Summary collapse
-
#example_trace_messages ⇒ Array<String>
Optional sample stack traces, for which this insight applies (there should be at least one).
-
#matcher_id ⇒ String
A unique ID, to be used for determining the effectiveness of this particular insight in the context of a matcher.
-
#pending_google_update_insight ⇒ Google::Apis::ToolresultsV1beta3::PendingGoogleUpdateInsight
This insight indicates that the hidden API usage originates from a Google- provided library.
-
#upgrade_insight ⇒ Google::Apis::ToolresultsV1beta3::UpgradeInsight
This insight is a recommendation to upgrade a given library to the specified version, in order to avoid dependencies on non-SDK APIs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NonSdkApiInsight
constructor
A new instance of NonSdkApiInsight.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NonSdkApiInsight
Returns a new instance of NonSdkApiInsight.
1909 1910 1911 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1909 def initialize(**args) update!(**args) end |
Instance Attribute Details
#example_trace_messages ⇒ Array<String>
Optional sample stack traces, for which this insight applies (there should be
at least one).
Corresponds to the JSON property exampleTraceMessages
1889 1890 1891 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1889 def @example_trace_messages end |
#matcher_id ⇒ String
A unique ID, to be used for determining the effectiveness of this particular
insight in the context of a matcher. (required)
Corresponds to the JSON property matcherId
1895 1896 1897 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1895 def matcher_id @matcher_id end |
#pending_google_update_insight ⇒ Google::Apis::ToolresultsV1beta3::PendingGoogleUpdateInsight
This insight indicates that the hidden API usage originates from a Google-
provided library. Users need not take any action.
Corresponds to the JSON property pendingGoogleUpdateInsight
1901 1902 1903 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1901 def pending_google_update_insight @pending_google_update_insight end |
#upgrade_insight ⇒ Google::Apis::ToolresultsV1beta3::UpgradeInsight
This insight is a recommendation to upgrade a given library to the specified
version, in order to avoid dependencies on non-SDK APIs.
Corresponds to the JSON property upgradeInsight
1907 1908 1909 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1907 def upgrade_insight @upgrade_insight end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1914 1915 1916 1917 1918 1919 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1914 def update!(**args) @example_trace_messages = args[:example_trace_messages] if args.key?(:example_trace_messages) @matcher_id = args[:matcher_id] if args.key?(:matcher_id) @pending_google_update_insight = args[:pending_google_update_insight] if args.key?(:pending_google_update_insight) @upgrade_insight = args[:upgrade_insight] if args.key?(:upgrade_insight) end |