blob: f4ed34a4feebbcbc45c26e8c61dd791f74c41277 [file] [log] [blame]
// Copyright 2020 Google LLC.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated file. DO NOT EDIT.
// Package toolresults provides access to the Cloud Tool Results API.
//
// For product documentation, see: https://firebase.google.com/docs/test-lab/
//
// Creating a client
//
// Usage example:
//
// import "google.golang.org/api/toolresults/v1beta3"
// ...
// ctx := context.Background()
// toolresultsService, err := toolresults.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
// Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
// toolresultsService, err := toolresults.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
// config := &oauth2.Config{...}
// // ...
// token, err := config.Exchange(ctx, ...)
// toolresultsService, err := toolresults.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package toolresults // import "google.golang.org/api/toolresults/v1beta3"
import (
"bytes"
"context"
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
"net/url"
"strconv"
"strings"
googleapi "google.golang.org/api/googleapi"
gensupport "google.golang.org/api/internal/gensupport"
option "google.golang.org/api/option"
internaloption "google.golang.org/api/option/internaloption"
htransport "google.golang.org/api/transport/http"
)
// Always reference these packages, just in case the auto-generated code
// below doesn't.
var _ = bytes.NewBuffer
var _ = strconv.Itoa
var _ = fmt.Sprintf
var _ = json.NewDecoder
var _ = io.Copy
var _ = url.Parse
var _ = gensupport.MarshalJSON
var _ = googleapi.Version
var _ = errors.New
var _ = strings.Replace
var _ = context.Canceled
var _ = internaloption.WithDefaultEndpoint
const apiId = "toolresults:v1beta3"
const apiName = "toolresults"
const apiVersion = "v1beta3"
const basePath = "https://www.googleapis.com/"
// OAuth2 scopes used by this API.
const (
// View and manage your data across Google Cloud Platform services
CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"
)
// NewService creates a new Service.
func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {
scopesOption := option.WithScopes(
"https://www.googleapis.com/auth/cloud-platform",
)
// NOTE: prepend, so we don't override user-specified scopes.
opts = append([]option.ClientOption{scopesOption}, opts...)
opts = append(opts, internaloption.WithDefaultEndpoint(basePath))
client, endpoint, err := htransport.NewClient(ctx, opts...)
if err != nil {
return nil, err
}
s, err := New(client)
if err != nil {
return nil, err
}
if endpoint != "" {
s.BasePath = endpoint
}
return s, nil
}
// New creates a new Service. It uses the provided http.Client for requests.
//
// Deprecated: please use NewService instead.
// To provide a custom HTTP client, use option.WithHTTPClient.
// If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func New(client *http.Client) (*Service, error) {
if client == nil {
return nil, errors.New("client is nil")
}
s := &Service{client: client, BasePath: basePath}
s.Clusters = NewClustersService(s)
s.Environments = NewEnvironmentsService(s)
s.Executions = NewExecutionsService(s)
s.Histories = NewHistoriesService(s)
s.PerfMetricsSummary = NewPerfMetricsSummaryService(s)
s.PerfSampleSeries = NewPerfSampleSeriesService(s)
s.Projects = NewProjectsService(s)
s.Samples = NewSamplesService(s)
s.Steps = NewStepsService(s)
s.TestCases = NewTestCasesService(s)
s.Thumbnails = NewThumbnailsService(s)
return s, nil
}
type Service struct {
client *http.Client
BasePath string // API endpoint base URL
UserAgent string // optional additional User-Agent fragment
Clusters *ClustersService
Environments *EnvironmentsService
Executions *ExecutionsService
Histories *HistoriesService
PerfMetricsSummary *PerfMetricsSummaryService
PerfSampleSeries *PerfSampleSeriesService
Projects *ProjectsService
Samples *SamplesService
Steps *StepsService
TestCases *TestCasesService
Thumbnails *ThumbnailsService
}
func (s *Service) userAgent() string {
if s.UserAgent == "" {
return googleapi.UserAgent
}
return googleapi.UserAgent + " " + s.UserAgent
}
func NewClustersService(s *Service) *ClustersService {
rs := &ClustersService{s: s}
return rs
}
type ClustersService struct {
s *Service
}
func NewEnvironmentsService(s *Service) *EnvironmentsService {
rs := &EnvironmentsService{s: s}
return rs
}
type EnvironmentsService struct {
s *Service
}
func NewExecutionsService(s *Service) *ExecutionsService {
rs := &ExecutionsService{s: s}
return rs
}
type ExecutionsService struct {
s *Service
}
func NewHistoriesService(s *Service) *HistoriesService {
rs := &HistoriesService{s: s}
return rs
}
type HistoriesService struct {
s *Service
}
func NewPerfMetricsSummaryService(s *Service) *PerfMetricsSummaryService {
rs := &PerfMetricsSummaryService{s: s}
return rs
}
type PerfMetricsSummaryService struct {
s *Service
}
func NewPerfSampleSeriesService(s *Service) *PerfSampleSeriesService {
rs := &PerfSampleSeriesService{s: s}
return rs
}
type PerfSampleSeriesService struct {
s *Service
}
func NewProjectsService(s *Service) *ProjectsService {
rs := &ProjectsService{s: s}
return rs
}
type ProjectsService struct {
s *Service
}
func NewSamplesService(s *Service) *SamplesService {
rs := &SamplesService{s: s}
return rs
}
type SamplesService struct {
s *Service
}
func NewStepsService(s *Service) *StepsService {
rs := &StepsService{s: s}
return rs
}
type StepsService struct {
s *Service
}
func NewTestCasesService(s *Service) *TestCasesService {
rs := &TestCasesService{s: s}
return rs
}
type TestCasesService struct {
s *Service
}
func NewThumbnailsService(s *Service) *ThumbnailsService {
rs := &ThumbnailsService{s: s}
return rs
}
type ThumbnailsService struct {
s *Service
}
// ANR: Additional details for an ANR crash.
type ANR struct {
// StackTrace: The stack trace of the ANR crash.
// Optional.
StackTrace *StackTrace `json:"stackTrace,omitempty"`
// ForceSendFields is a list of field names (e.g. "StackTrace") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "StackTrace") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *ANR) MarshalJSON() ([]byte, error) {
type NoMethod ANR
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// AndroidAppInfo: Android app information.
type AndroidAppInfo struct {
// Name: The name of the app.
// Optional
Name string `json:"name,omitempty"`
// PackageName: The package name of the app.
// Required.
PackageName string `json:"packageName,omitempty"`
// VersionCode: The internal version code of the app.
// Optional.
VersionCode string `json:"versionCode,omitempty"`
// VersionName: The version name of the app.
// Optional.
VersionName string `json:"versionName,omitempty"`
// ForceSendFields is a list of field names (e.g. "Name") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Name") to include in API
// requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *AndroidAppInfo) MarshalJSON() ([]byte, error) {
type NoMethod AndroidAppInfo
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// AndroidInstrumentationTest: A test of an Android application that can
// control an Android component
// independently of its normal lifecycle.
//
// See <http://developer.android.com/tools/testing/testing_android.html>
// for
// more information on types of Android tests.
type AndroidInstrumentationTest struct {
// TestPackageId: The java package for the test to be executed.
// Required
TestPackageId string `json:"testPackageId,omitempty"`
// TestRunnerClass: The InstrumentationTestRunner class.
// Required
TestRunnerClass string `json:"testRunnerClass,omitempty"`
// TestTargets: Each target must be fully qualified with the package
// name or class name,
// in one of these formats:
// - "package package_name"
// - "class package_name.class_name"
// - "class package_name.class_name#method_name"
//
// If empty, all targets in the module will be run.
TestTargets []string `json:"testTargets,omitempty"`
// UseOrchestrator: The flag indicates whether Android Test Orchestrator
// will be used to run
// test or not.
UseOrchestrator bool `json:"useOrchestrator,omitempty"`
// ForceSendFields is a list of field names (e.g. "TestPackageId") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "TestPackageId") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *AndroidInstrumentationTest) MarshalJSON() ([]byte, error) {
type NoMethod AndroidInstrumentationTest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// AndroidRoboTest: A test of an android application that explores the
// application on a virtual
// or physical Android device, finding culprits and crashes as it goes.
type AndroidRoboTest struct {
// AppInitialActivity: The initial activity that should be used to start
// the app.
// Optional
AppInitialActivity string `json:"appInitialActivity,omitempty"`
// BootstrapPackageId: The java package for the bootstrap.
// Optional
BootstrapPackageId string `json:"bootstrapPackageId,omitempty"`
// BootstrapRunnerClass: The runner class for the bootstrap.
// Optional
BootstrapRunnerClass string `json:"bootstrapRunnerClass,omitempty"`
// MaxDepth: The max depth of the traversal stack Robo can
// explore.
// Optional
MaxDepth int64 `json:"maxDepth,omitempty"`
// MaxSteps: The max number of steps/actions Robo can execute.
// Default is no limit (0).
// Optional
MaxSteps int64 `json:"maxSteps,omitempty"`
// ForceSendFields is a list of field names (e.g. "AppInitialActivity")
// to unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "AppInitialActivity") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *AndroidRoboTest) MarshalJSON() ([]byte, error) {
type NoMethod AndroidRoboTest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// AndroidTest: An Android mobile test specification.
type AndroidTest struct {
// AndroidAppInfo: Information about the application under test.
AndroidAppInfo *AndroidAppInfo `json:"androidAppInfo,omitempty"`
// AndroidInstrumentationTest: An Android instrumentation test.
AndroidInstrumentationTest *AndroidInstrumentationTest `json:"androidInstrumentationTest,omitempty"`
// AndroidRoboTest: An Android robo test.
AndroidRoboTest *AndroidRoboTest `json:"androidRoboTest,omitempty"`
// AndroidTestLoop: An Android test loop.
AndroidTestLoop *AndroidTestLoop `json:"androidTestLoop,omitempty"`
// TestTimeout: Max time a test is allowed to run before it
// is
// automatically cancelled.
TestTimeout *Duration `json:"testTimeout,omitempty"`
// ForceSendFields is a list of field names (e.g. "AndroidAppInfo") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "AndroidAppInfo") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *AndroidTest) MarshalJSON() ([]byte, error) {
type NoMethod AndroidTest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// AndroidTestLoop: Test Loops are tests that can be launched by the app
// itself, determining
// when to run by listening for an intent.
type AndroidTestLoop struct {
}
// Any:
// `Any` contains an arbitrary serialized protocol buffer message along
// with a
// URL that describes the type of the serialized message.
//
// Protobuf library provides support to pack/unpack Any values in the
// form
// of utility functions or additional generated methods of the Any
// type.
//
// Example 1: Pack and unpack a message in C++.
//
// Foo foo = ...;
// Any any;
// any.PackFrom(foo);
// ...
// if (any.UnpackTo(&foo)) {
// ...
// }
//
// Example 2: Pack and unpack a message in Java.
//
// Foo foo = ...;
// Any any = Any.pack(foo);
// ...
// if (any.is(Foo.class)) {
// foo = any.unpack(Foo.class);
// }
//
// Example 3: Pack and unpack a message in Python.
//
// foo = Foo(...)
// any = Any()
// any.Pack(foo)
// ...
// if any.Is(Foo.DESCRIPTOR):
// any.Unpack(foo)
// ...
//
// Example 4: Pack and unpack a message in Go
//
// foo := &pb.Foo{...}
// any, err := ptypes.MarshalAny(foo)
// ...
// foo := &pb.Foo{}
// if err := ptypes.UnmarshalAny(any, foo); err != nil {
// ...
// }
//
// The pack methods provided by protobuf library will by default
// use
// 'type.googleapis.com/full.type.name' as the type URL and the
// unpack
// methods only use the fully qualified type name after the last '/'
// in the type URL, for example "foo.bar.com/x/y.z" will yield type
// name "y.z".
//
//
// # JSON
//
// The JSON representation of an `Any` value uses the
// regular
// representation of the deserialized, embedded message, with
// an
// additional field `@type` which contains the type URL. Example:
//
// package google.profile;
// message Person {
// string first_name = 1;
// string last_name = 2;
// }
//
// {
// "@type": "type.googleapis.com/google.profile.Person",
// "firstName": <string>,
// "lastName": <string>
// }
//
// If the embedded message type is well-known and has a custom
// JSON
// representation, that representation will be embedded adding a
// field
// `value` which holds the custom JSON in addition to the `@type`
// field. Example (for message google.protobuf.Duration):
//
// {
// "@type": "type.googleapis.com/google.protobuf.Duration",
// "value": "1.212s"
// }
type Any struct {
// TypeUrl: A URL/resource name that uniquely identifies the type of the
// serialized
// protocol buffer message. This string must contain at least
// one "/" character. The last segment of the URL's path must
// represent
// the fully qualified name of the type (as
// in
// `path/google.protobuf.Duration`). The name should be in a canonical
// form
// (e.g., leading "." is not accepted).
//
// In practice, teams usually precompile into the binary all types that
// they
// expect it to use in the context of Any. However, for URLs which use
// the
// scheme `http`, `https`, or no scheme, one can optionally set up a
// type
// server that maps type URLs to message definitions as follows:
//
// * If no scheme is provided, `https` is assumed.
// * An HTTP GET on the URL must yield a google.protobuf.Type
// value in binary format, or produce an error.
// * Applications are allowed to cache lookup results based on the
// URL, or have them precompiled into a binary to avoid any
// lookup. Therefore, binary compatibility needs to be preserved
// on changes to types. (Use versioned type names to manage
// breaking changes.)
//
// Note: this functionality is not currently available in the
// official
// protobuf release, and it is not used for type URLs beginning
// with
// type.googleapis.com.
//
// Schemes other than `http`, `https` (or the empty scheme) might
// be
// used with implementation specific semantics.
TypeUrl string `json:"typeUrl,omitempty"`
// Value: Must be a valid serialized protocol buffer of the above
// specified type.
Value string `json:"value,omitempty"`
// ForceSendFields is a list of field names (e.g. "TypeUrl") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "TypeUrl") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *Any) MarshalJSON() ([]byte, error) {
type NoMethod Any
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type AppStartTime struct {
// FullyDrawnTime: Optional. The time from app start to reaching the
// developer-reported
// "fully drawn" time. This is only stored if the app includes a call
// to
// Activity.reportFullyDrawn().
// See
// https://developer.android.com/topic/performance/launch-time.html#t
// ime-full
FullyDrawnTime *Duration `json:"fullyDrawnTime,omitempty"`
// InitialDisplayTime: The time from app start to the first displayed
// activity being drawn,
// as reported in Logcat.
// See
// https://developer.android.com/topic/performance/launch-time.html#t
// ime-initial
InitialDisplayTime *Duration `json:"initialDisplayTime,omitempty"`
// ForceSendFields is a list of field names (e.g. "FullyDrawnTime") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "FullyDrawnTime") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *AppStartTime) MarshalJSON() ([]byte, error) {
type NoMethod AppStartTime
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// AvailableDeepLinks: A suggestion to use deep links for a Robo run.
type AvailableDeepLinks struct {
}
// BasicPerfSampleSeries: Encapsulates the metadata for basic sample
// series represented by a line chart
type BasicPerfSampleSeries struct {
// Possible values:
// "PERF_METRIC_TYPE_UNSPECIFIED"
// "MEMORY"
// "CPU"
// "NETWORK"
// "GRAPHICS"
PerfMetricType string `json:"perfMetricType,omitempty"`
// Possible values:
// "PERF_UNIT_UNSPECIFIED"
// "KIBIBYTE"
// "PERCENT"
// "BYTES_PER_SECOND"
// "FRAMES_PER_SECOND"
// "BYTE"
PerfUnit string `json:"perfUnit,omitempty"`
// Possible values:
// "SAMPLE_SERIES_TYPE_UNSPECIFIED"
// "MEMORY_RSS_PRIVATE" - Memory sample series
// "MEMORY_RSS_SHARED"
// "MEMORY_RSS_TOTAL"
// "MEMORY_TOTAL"
// "CPU_USER" - CPU sample series
// "CPU_KERNEL"
// "CPU_TOTAL"
// "NT_BYTES_TRANSFERRED" - Network sample series
// "NT_BYTES_RECEIVED"
// "NETWORK_SENT"
// "NETWORK_RECEIVED"
// "GRAPHICS_FRAME_RATE" - Graphics sample series
SampleSeriesLabel string `json:"sampleSeriesLabel,omitempty"`
// ForceSendFields is a list of field names (e.g. "PerfMetricType") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "PerfMetricType") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *BasicPerfSampleSeries) MarshalJSON() ([]byte, error) {
type NoMethod BasicPerfSampleSeries
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// BatchCreatePerfSamplesRequest: The request must provide up to a
// maximum of 5000 samples to be
// created; a larger sample size will cause an INVALID_ARGUMENT error
type BatchCreatePerfSamplesRequest struct {
// PerfSamples: The set of PerfSamples to create should not include
// existing timestamps
PerfSamples []*PerfSample `json:"perfSamples,omitempty"`
// ForceSendFields is a list of field names (e.g. "PerfSamples") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "PerfSamples") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *BatchCreatePerfSamplesRequest) MarshalJSON() ([]byte, error) {
type NoMethod BatchCreatePerfSamplesRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type BatchCreatePerfSamplesResponse struct {
PerfSamples []*PerfSample `json:"perfSamples,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "PerfSamples") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "PerfSamples") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *BatchCreatePerfSamplesResponse) MarshalJSON() ([]byte, error) {
type NoMethod BatchCreatePerfSamplesResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// BlankScreen: A warning that Robo encountered a screen that was mostly
// blank; this may
// indicate a problem with the app.
type BlankScreen struct {
// ScreenId: The screen id of the element
ScreenId string `json:"screenId,omitempty"`
// ForceSendFields is a list of field names (e.g. "ScreenId") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "ScreenId") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *BlankScreen) MarshalJSON() ([]byte, error) {
type NoMethod BlankScreen
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type CPUInfo struct {
// CpuProcessor: description of the device processor ie '1.8 GHz hexa
// core 64-bit ARMv8-A'
CpuProcessor string `json:"cpuProcessor,omitempty"`
// CpuSpeedInGhz: the CPU clock speed in GHz
CpuSpeedInGhz float64 `json:"cpuSpeedInGhz,omitempty"`
// NumberOfCores: the number of CPU cores
NumberOfCores int64 `json:"numberOfCores,omitempty"`
// ForceSendFields is a list of field names (e.g. "CpuProcessor") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "CpuProcessor") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *CPUInfo) MarshalJSON() ([]byte, error) {
type NoMethod CPUInfo
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *CPUInfo) UnmarshalJSON(data []byte) error {
type NoMethod CPUInfo
var s1 struct {
CpuSpeedInGhz gensupport.JSONFloat64 `json:"cpuSpeedInGhz"`
*NoMethod
}
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
s.CpuSpeedInGhz = float64(s1.CpuSpeedInGhz)
return nil
}
// CrashDialogError: Crash dialog was detected during the test execution
type CrashDialogError struct {
// CrashPackage: The name of the package that caused the dialog.
CrashPackage string `json:"crashPackage,omitempty"`
// ForceSendFields is a list of field names (e.g. "CrashPackage") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "CrashPackage") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *CrashDialogError) MarshalJSON() ([]byte, error) {
type NoMethod CrashDialogError
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// Duration:
// A Duration represents a signed, fixed-length span of time
// represented
// as a count of seconds and fractions of seconds at
// nanosecond
// resolution. It is independent of any calendar and concepts like
// "day"
// or "month". It is related to Timestamp in that the difference
// between
// two Timestamp values is a Duration and it can be added or
// subtracted
// from a Timestamp. Range is approximately +-10,000 years.
type Duration struct {
// Nanos: Signed fractions of a second at nanosecond resolution of the
// span
// of time. Durations less than one second are represented with a
// 0
// `seconds` field and a positive or negative `nanos` field. For
// durations
// of one second or more, a non-zero value for the `nanos` field must
// be
// of the same sign as the `seconds` field. Must be from -999,999,999
// to +999,999,999 inclusive.
Nanos int64 `json:"nanos,omitempty"`
// Seconds: Signed seconds of the span of time. Must be from
// -315,576,000,000
// to +315,576,000,000 inclusive. Note: these bounds are computed
// from:
// 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
Seconds int64 `json:"seconds,omitempty,string"`
// ForceSendFields is a list of field names (e.g. "Nanos") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Nanos") to include in API
// requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *Duration) MarshalJSON() ([]byte, error) {
type NoMethod Duration
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// EncounteredLoginScreen: Additional details about encountered login
// screens.
type EncounteredLoginScreen struct {
// DistinctScreens: Number of encountered distinct login screens.
DistinctScreens int64 `json:"distinctScreens,omitempty"`
// ScreenIds: Subset of login screens.
ScreenIds []string `json:"screenIds,omitempty"`
// ForceSendFields is a list of field names (e.g. "DistinctScreens") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "DistinctScreens") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *EncounteredLoginScreen) MarshalJSON() ([]byte, error) {
type NoMethod EncounteredLoginScreen
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// EncounteredNonAndroidUiWidgetScreen: Additional details about
// encountered screens with elements that are not
// Android UI widgets.
type EncounteredNonAndroidUiWidgetScreen struct {
// DistinctScreens: Number of encountered distinct screens with non
// Android UI widgets.
DistinctScreens int64 `json:"distinctScreens,omitempty"`
// ScreenIds: Subset of screens which contain non Android UI widgets.
ScreenIds []string `json:"screenIds,omitempty"`
// ForceSendFields is a list of field names (e.g. "DistinctScreens") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "DistinctScreens") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *EncounteredNonAndroidUiWidgetScreen) MarshalJSON() ([]byte, error) {
type NoMethod EncounteredNonAndroidUiWidgetScreen
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// Environment: An Environment represents the set of test runs (Steps)
// from the parent
// Execution that are configured with the same set of dimensions
// (Model,
// Version, Locale, and Orientation). Multiple such runs occur
// particularly
// because of features like sharding (splitting up a test suite to run
// in
// parallel across devices) and reruns (running a test multiple times to
// check
// for different outcomes).
type Environment struct {
// CompletionTime: Output only. The time when the Environment status was
// set to complete.
//
// This value will be set automatically when state transitions
// to
// COMPLETE.
CompletionTime *Timestamp `json:"completionTime,omitempty"`
// CreationTime: Output only. The time when the Environment was created.
CreationTime *Timestamp `json:"creationTime,omitempty"`
// DimensionValue: Dimension values describing the environment.
// Dimension values always
// consist of "Model", "Version", "Locale", and "Orientation".
//
// - In response: always set
// - In create request: always set
// - In update request: never set
DimensionValue []*EnvironmentDimensionValueEntry `json:"dimensionValue,omitempty"`
// DisplayName: A short human-readable name to display in the
// UI.
// Maximum of 100 characters.
// For example: Nexus 5, API 27.
DisplayName string `json:"displayName,omitempty"`
// EnvironmentId: Output only. An Environment id.
EnvironmentId string `json:"environmentId,omitempty"`
// EnvironmentResult: Merged result of the environment.
EnvironmentResult *MergedResult `json:"environmentResult,omitempty"`
// ExecutionId: Output only. An Execution id.
ExecutionId string `json:"executionId,omitempty"`
// HistoryId: Output only. A History id.
HistoryId string `json:"historyId,omitempty"`
// ProjectId: Output only. A Project id.
ProjectId string `json:"projectId,omitempty"`
// ResultsStorage: The location where output files are stored in the
// user bucket.
ResultsStorage *ResultsStorage `json:"resultsStorage,omitempty"`
// ShardSummaries: Output only. Summaries of shards.
//
// Only one shard will present unless sharding feature is enabled
// in
// TestExecutionService.
ShardSummaries []*ShardSummary `json:"shardSummaries,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "CompletionTime") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "CompletionTime") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *Environment) MarshalJSON() ([]byte, error) {
type NoMethod Environment
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type EnvironmentDimensionValueEntry struct {
Key string `json:"key,omitempty"`
Value string `json:"value,omitempty"`
// ForceSendFields is a list of field names (e.g. "Key") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Key") to include in API
// requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *EnvironmentDimensionValueEntry) MarshalJSON() ([]byte, error) {
type NoMethod EnvironmentDimensionValueEntry
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// Execution: An Execution represents a collection of Steps. For
// instance, it could
// represent:
// - a mobile test executed across a range of device configurations
// - a jenkins job with a build step followed by a test step
//
// The maximum size of an execution message is 1 MiB.
//
// An Execution can be updated until its state is set to COMPLETE at
// which
// point it becomes immutable.
type Execution struct {
// CompletionTime: The time when the Execution status transitioned to
// COMPLETE.
//
// This value will be set automatically when state transitions
// to
// COMPLETE.
//
// - In response: set if the execution state is COMPLETE.
// - In create/update request: never set
CompletionTime *Timestamp `json:"completionTime,omitempty"`
// CreationTime: The time when the Execution was created.
//
// This value will be set automatically when CreateExecution is
// called.
//
// - In response: always set
// - In create/update request: never set
CreationTime *Timestamp `json:"creationTime,omitempty"`
// DimensionDefinitions: The dimensions along which different steps in
// this execution may vary.
// This must remain fixed over the life of the execution.
//
// Returns INVALID_ARGUMENT if this field is set in an update
// request.
//
// Returns INVALID_ARGUMENT if the same name occurs in more than
// one
// dimension_definition.
//
// Returns INVALID_ARGUMENT if the size of the list is over 100.
//
// - In response: present if set by create
// - In create request: optional
// - In update request: never set
DimensionDefinitions []*MatrixDimensionDefinition `json:"dimensionDefinitions,omitempty"`
// ExecutionId: A unique identifier within a History for this
// Execution.
//
// Returns INVALID_ARGUMENT if this field is set or overwritten by the
// caller.
//
// - In response always set
// - In create/update request: never set
ExecutionId string `json:"executionId,omitempty"`
// Outcome: Classify the result, for example into SUCCESS or FAILURE
//
// - In response: present if set by create/update request
// - In create/update request: optional
Outcome *Outcome `json:"outcome,omitempty"`
// Specification: Lightweight information about execution request.
//
// - In response: present if set by create
// - In create: optional
// - In update: optional
Specification *Specification `json:"specification,omitempty"`
// State: The initial state is IN_PROGRESS.
//
// The only legal state transitions is from IN_PROGRESS to COMPLETE.
//
// A PRECONDITION_FAILED will be returned if an invalid transition
// is
// requested.
//
// The state can only be set to COMPLETE once. A FAILED_PRECONDITION
// will be
// returned if the state is set to COMPLETE multiple times.
//
// If the state is set to COMPLETE, all the in-progress steps within
// the
// execution will be set as COMPLETE. If the outcome of the step is not
// set,
// the outcome will be set to INCONCLUSIVE.
//
// - In response always set
// - In create/update request: optional
//
// Possible values:
// "UNKNOWN_STATE" - Should never be in this state. Exists for proto
// deserialization backward
// compatibility.
// "PENDING" - The Execution/Step is created, ready to run, but not
// running yet.
// If an Execution/Step is created without initial state, it is
// assumed
// that the Execution/Step is in PENDING state.
// "IN_PROGRESS" - The Execution/Step is in progress.
// "COMPLETE" - The finalized, immutable state. Steps/Executions in
// this state cannot be
// modified.
State string `json:"state,omitempty"`
// TestExecutionMatrixId: TestExecution Matrix ID that the
// TestExecutionService uses.
//
// - In response: present if set by create
// - In create: optional
// - In update: never set
TestExecutionMatrixId string `json:"testExecutionMatrixId,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "CompletionTime") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "CompletionTime") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *Execution) MarshalJSON() ([]byte, error) {
type NoMethod Execution
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// FailedToInstall: Failed to install the APK.
type FailedToInstall struct {
}
// FailureDetail: Details for an outcome with a FAILURE outcome summary.
type FailureDetail struct {
// Crashed: If the failure was severe because the system (app) under
// test crashed.
Crashed bool `json:"crashed,omitempty"`
// NotInstalled: If an app is not installed and thus no test can be run
// with the app.
// This might be caused by trying to run a test on an unsupported
// platform.
NotInstalled bool `json:"notInstalled,omitempty"`
// OtherNativeCrash: If a native process (including any other than the
// app) crashed.
OtherNativeCrash bool `json:"otherNativeCrash,omitempty"`
// TimedOut: If the test overran some time limit, and that is why it
// failed.
TimedOut bool `json:"timedOut,omitempty"`
// UnableToCrawl: If the robo was unable to crawl the app; perhaps
// because the app did not
// start.
UnableToCrawl bool `json:"unableToCrawl,omitempty"`
// ForceSendFields is a list of field names (e.g. "Crashed") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Crashed") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *FailureDetail) MarshalJSON() ([]byte, error) {
type NoMethod FailureDetail
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// FatalException: Additional details for a fatal exception.
type FatalException struct {
// StackTrace: The stack trace of the fatal exception.
// Optional.
StackTrace *StackTrace `json:"stackTrace,omitempty"`
// ForceSendFields is a list of field names (e.g. "StackTrace") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "StackTrace") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *FatalException) MarshalJSON() ([]byte, error) {
type NoMethod FatalException
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// FileReference: A reference to a file.
type FileReference struct {
// FileUri: The URI of a file stored in Google Cloud Storage.
//
// For example:
// http://storage.googleapis.com/mybucket/path/to/test.xml
// or in gsutil format: gs://mybucket/path/to/test.xml
// with version-specific
// info,
// gs://mybucket/path/to/test.xml#1360383693690000
//
// An INVALID_ARGUMENT error will be returned if the URI format is
// not
// supported.
//
// - In response: always set
// - In create/update request: always set
FileUri string `json:"fileUri,omitempty"`
// ForceSendFields is a list of field names (e.g. "FileUri") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "FileUri") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *FileReference) MarshalJSON() ([]byte, error) {
type NoMethod FileReference
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GraphicsStats: Graphics statistics for the App.
// The information is collected from 'adb shell dumpsys
// graphicsstats'.
// For more info
// see:
// https://developer.android.com/training/testing/performance.html
// S
// tatistics will only be present for API 23+.
type GraphicsStats struct {
// Buckets: Histogram of frame render times. There should be 154 buckets
// ranging from
// [5ms, 6ms) to [4950ms, infinity)
Buckets []*GraphicsStatsBucket `json:"buckets,omitempty"`
// HighInputLatencyCount: Total "high input latency" events.
HighInputLatencyCount int64 `json:"highInputLatencyCount,omitempty,string"`
// JankyFrames: Total frames with slow render time. Should be <=
// total_frames.
JankyFrames int64 `json:"jankyFrames,omitempty,string"`
// MissedVsyncCount: Total "missed vsync" events.
MissedVsyncCount int64 `json:"missedVsyncCount,omitempty,string"`
// P50Millis: 50th percentile frame render time in milliseconds.
P50Millis int64 `json:"p50Millis,omitempty,string"`
// P90Millis: 90th percentile frame render time in milliseconds.
P90Millis int64 `json:"p90Millis,omitempty,string"`
// P95Millis: 95th percentile frame render time in milliseconds.
P95Millis int64 `json:"p95Millis,omitempty,string"`
// P99Millis: 99th percentile frame render time in milliseconds.
P99Millis int64 `json:"p99Millis,omitempty,string"`
// SlowBitmapUploadCount: Total "slow bitmap upload" events.
SlowBitmapUploadCount int64 `json:"slowBitmapUploadCount,omitempty,string"`
// SlowDrawCount: Total "slow draw" events.
SlowDrawCount int64 `json:"slowDrawCount,omitempty,string"`
// SlowUiThreadCount: Total "slow UI thread" events.
SlowUiThreadCount int64 `json:"slowUiThreadCount,omitempty,string"`
// TotalFrames: Total frames rendered by package.
TotalFrames int64 `json:"totalFrames,omitempty,string"`
// ForceSendFields is a list of field names (e.g. "Buckets") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Buckets") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *GraphicsStats) MarshalJSON() ([]byte, error) {
type NoMethod GraphicsStats
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GraphicsStatsBucket struct {
// FrameCount: Number of frames in the bucket.
FrameCount int64 `json:"frameCount,omitempty,string"`
// RenderMillis: Lower bound of render time in milliseconds.
RenderMillis int64 `json:"renderMillis,omitempty,string"`
// ForceSendFields is a list of field names (e.g. "FrameCount") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "FrameCount") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *GraphicsStatsBucket) MarshalJSON() ([]byte, error) {
type NoMethod GraphicsStatsBucket
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// History: A History represents a sorted list of Executions ordered by
// the
// start_timestamp_millis field (descending). It can be used to group
// all the
// Executions of a continuous build.
//
// Note that the ordering only operates on one-dimension. If a
// repository has
// multiple branches, it means that multiple histories will need to
// be
// used in order to order Executions per branch.
type History struct {
// DisplayName: A short human-readable (plain text) name to display in
// the UI.
// Maximum of 100 characters.
//
// - In response: present if set during create.
// - In create request: optional
DisplayName string `json:"displayName,omitempty"`
// HistoryId: A unique identifier within a project for this
// History.
//
// Returns INVALID_ARGUMENT if this field is set or overwritten by the
// caller.
//
// - In response always set
// - In create request: never set
HistoryId string `json:"historyId,omitempty"`
// Name: A name to uniquely identify a history within a project.
// Maximum of 200 characters.
//
// - In response always set
// - In create request: always set
Name string `json:"name,omitempty"`
// TestPlatform: The platform of the test history.
//
// - In response: always set. Returns the platform of the last execution
// if
// unknown.
//
// Possible values:
// "UNKNOWN_PLATFORM"
// "ANDROID"
// "IOS"
TestPlatform string `json:"testPlatform,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "DisplayName") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "DisplayName") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *History) MarshalJSON() ([]byte, error) {
type NoMethod History
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// Image: An image, with a link to the main image and a thumbnail.
type Image struct {
// Error: An error explaining why the thumbnail could not be rendered.
Error *Status `json:"error,omitempty"`
// SourceImage: A reference to the full-size, original image.
//
// This is the same as the tool_outputs entry for the image under its
// Step.
//
// Always set.
SourceImage *ToolOutputReference `json:"sourceImage,omitempty"`
// StepId: The step to which the image is attached.
//
// Always set.
StepId string `json:"stepId,omitempty"`
// Thumbnail: The thumbnail.
Thumbnail *Thumbnail `json:"thumbnail,omitempty"`
// ForceSendFields is a list of field names (e.g. "Error") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Error") to include in API
// requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *Image) MarshalJSON() ([]byte, error) {
type NoMethod Image
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// InAppPurchasesFound: Additional details of in-app purchases
// encountered during the crawl.
type InAppPurchasesFound struct {
// InAppPurchasesFlowsExplored: The total number of in-app purchases
// flows explored: how many times the
// robo tries to buy a SKU.
InAppPurchasesFlowsExplored int64 `json:"inAppPurchasesFlowsExplored,omitempty"`
// InAppPurchasesFlowsStarted: The total number of in-app purchases
// flows started.
InAppPurchasesFlowsStarted int64 `json:"inAppPurchasesFlowsStarted,omitempty"`
// ForceSendFields is a list of field names (e.g.
// "InAppPurchasesFlowsExplored") to unconditionally include in API
// requests. By default, fields with empty values are omitted from API
// requests. However, any non-pointer, non-interface field appearing in
// ForceSendFields will be sent to the server regardless of whether the
// field is empty or not. This may be used to include empty fields in
// Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g.
// "InAppPurchasesFlowsExplored") to include in API requests with the
// JSON null value. By default, fields with empty values are omitted
// from API requests. However, any field with an empty value appearing
// in NullFields will be sent to the server as null. It is an error if a
// field in this list has a non-empty value. This may be used to include
// null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *InAppPurchasesFound) MarshalJSON() ([]byte, error) {
type NoMethod InAppPurchasesFound
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// InconclusiveDetail: Details for an outcome with an INCONCLUSIVE
// outcome summary.
type InconclusiveDetail struct {
// AbortedByUser: If the end user aborted the test execution before a
// pass or fail could be
// determined.
// For example, the user pressed ctrl-c which sent a kill signal to the
// test
// runner while the test was running.
AbortedByUser bool `json:"abortedByUser,omitempty"`
// HasErrorLogs: If results are being provided to the user in certain
// cases of
// infrastructure failures
HasErrorLogs bool `json:"hasErrorLogs,omitempty"`
// InfrastructureFailure: If the test runner could not determine success
// or failure because the test
// depends on a component other than the system under test which
// failed.
//
// For example, a mobile test requires provisioning a device where the
// test
// executes, and that provisioning can fail.
InfrastructureFailure bool `json:"infrastructureFailure,omitempty"`
// ForceSendFields is a list of field names (e.g. "AbortedByUser") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "AbortedByUser") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *InconclusiveDetail) MarshalJSON() ([]byte, error) {
type NoMethod InconclusiveDetail
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// IndividualOutcome: Step Id and outcome of each individual step that
// was run as a group with
// other steps with the same configuration.
type IndividualOutcome struct {
// MultistepNumber: Unique int given to each step.
// Ranges from 0(inclusive) to total number of steps(exclusive).
// The primary step is 0.
MultistepNumber int64 `json:"multistepNumber,omitempty"`
// Possible values:
// "UNSET" - Do not use. For proto versioning only.
// "SUCCESS" - The test matrix run was successful, for instance:
// - All the test cases passed.
// - Robo did not detect a crash of the application under test.
// "FAILURE" - A run failed, for instance:
// - One or more test case failed.
// - A test timed out.
// - The application under test crashed.
// "INCONCLUSIVE" - Something unexpected happened. The run should
// still be considered
// unsuccessful but this is likely a transient problem and re-running
// the
// test might be successful.
// "SKIPPED" - All tests were skipped, for instance:
// - All device configurations were incompatible.
// "FLAKY" - A group of steps that were run with the same
// configuration had both
// failure and success outcomes.
OutcomeSummary string `json:"outcomeSummary,omitempty"`
// RunDuration: How long it took for this step to run.
RunDuration *Duration `json:"runDuration,omitempty"`
StepId string `json:"stepId,omitempty"`
// ForceSendFields is a list of field names (e.g. "MultistepNumber") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "MultistepNumber") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *IndividualOutcome) MarshalJSON() ([]byte, error) {
type NoMethod IndividualOutcome
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// InsufficientCoverage: A warning that Robo did not crawl potentially
// important parts of the app.
type InsufficientCoverage struct {
}
// IosAppCrashed: Additional details for an iOS app crash.
type IosAppCrashed struct {
// StackTrace: The stack trace, if one is available.
// Optional.
StackTrace *StackTrace `json:"stackTrace,omitempty"`
// ForceSendFields is a list of field names (e.g. "StackTrace") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "StackTrace") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *IosAppCrashed) MarshalJSON() ([]byte, error) {
type NoMethod IosAppCrashed
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// IosAppInfo: iOS app information
type IosAppInfo struct {
// Name: The name of the app.
// Required
Name string `json:"name,omitempty"`
// ForceSendFields is a list of field names (e.g. "Name") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Name") to include in API
// requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *IosAppInfo) MarshalJSON() ([]byte, error) {
type NoMethod IosAppInfo
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// IosRoboTest: A Robo test for an iOS application.
type IosRoboTest struct {
}
// IosTest: A iOS mobile test specification
type IosTest struct {
// IosAppInfo: Information about the application under test.
IosAppInfo *IosAppInfo `json:"iosAppInfo,omitempty"`
// IosRoboTest: An iOS Robo test.
IosRoboTest *IosRoboTest `json:"iosRoboTest,omitempty"`
// IosTestLoop: An iOS test loop.
IosTestLoop *IosTestLoop `json:"iosTestLoop,omitempty"`
// IosXcTest: An iOS XCTest.
IosXcTest *IosXcTest `json:"iosXcTest,omitempty"`
// TestTimeout: Max time a test is allowed to run before it
// is
// automatically cancelled.
TestTimeout *Duration `json:"testTimeout,omitempty"`
// ForceSendFields is a list of field names (e.g. "IosAppInfo") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "IosAppInfo") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *IosTest) MarshalJSON() ([]byte, error) {
type NoMethod IosTest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// IosTestLoop: A game loop test of an iOS application.
type IosTestLoop struct {
// BundleId: Bundle ID of the app.
BundleId string `json:"bundleId,omitempty"`
// ForceSendFields is a list of field names (e.g. "BundleId") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "BundleId") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *IosTestLoop) MarshalJSON() ([]byte, error) {
type NoMethod IosTestLoop
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// IosXcTest: A test of an iOS application that uses the XCTest
// framework.
type IosXcTest struct {
// BundleId: Bundle ID of the app.
BundleId string `json:"bundleId,omitempty"`
// XcodeVersion: Xcode version that the test was run with.
XcodeVersion string `json:"xcodeVersion,omitempty"`
// ForceSendFields is a list of field names (e.g. "BundleId") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "BundleId") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *IosXcTest) MarshalJSON() ([]byte, error) {
type NoMethod IosXcTest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// LauncherActivityNotFound: Failed to find the launcher activity of an
// app.
type LauncherActivityNotFound struct {
}
// ListEnvironmentsResponse: Response message for
// EnvironmentService.ListEnvironments.
type ListEnvironmentsResponse struct {
// Environments: Environments.
//
// Always set.
Environments []*Environment `json:"environments,omitempty"`
// ExecutionId: A Execution id
//
// Always set.
ExecutionId string `json:"executionId,omitempty"`
// HistoryId: A History id.
//
// Always set.
HistoryId string `json:"historyId,omitempty"`
// NextPageToken: A continuation token to resume the query at the next
// item.
//
// Will only be set if there are more Environments to fetch.
NextPageToken string `json:"nextPageToken,omitempty"`
// ProjectId: A Project id.
//
// Always set.
ProjectId string `json:"projectId,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Environments") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Environments") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *ListEnvironmentsResponse) MarshalJSON() ([]byte, error) {
type NoMethod ListEnvironmentsResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ListExecutionsResponse struct {
// Executions: Executions.
//
// Always set.
Executions []*Execution `json:"executions,omitempty"`
// NextPageToken: A continuation token to resume the query at the next
// item.
//
// Will only be set if there are more Executions to fetch.
NextPageToken string `json:"nextPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Executions") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Executions") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *ListExecutionsResponse) MarshalJSON() ([]byte, error) {
type NoMethod ListExecutionsResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ListHistoriesResponse: Response message for HistoryService.List
type ListHistoriesResponse struct {
// Histories: Histories.
Histories []*History `json:"histories,omitempty"`
// NextPageToken: A continuation token to resume the query at the next
// item.
//
// Will only be set if there are more histories to fetch.
//
// Tokens are valid for up to one hour from the time of the first
// list
// request. For instance, if you make a list request at 1PM and use the
// token
// from this first request 10 minutes later, the token from this
// second
// response will only be valid for 50 minutes.
NextPageToken string `json:"nextPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Histories") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Histories") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *ListHistoriesResponse) MarshalJSON() ([]byte, error) {
type NoMethod ListHistoriesResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ListPerfSampleSeriesResponse struct {
// PerfSampleSeries: The resulting PerfSampleSeries sorted by id
PerfSampleSeries []*PerfSampleSeries `json:"perfSampleSeries,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "PerfSampleSeries") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "PerfSampleSeries") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *ListPerfSampleSeriesResponse) MarshalJSON() ([]byte, error) {
type NoMethod ListPerfSampleSeriesResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ListPerfSamplesResponse struct {
// NextPageToken: Optional, returned if result size exceeds the page
// size specified in the
// request (or the default page size, 500, if unspecified). It indicates
// the
// last sample timestamp to be used as page_token in subsequent request
NextPageToken string `json:"nextPageToken,omitempty"`
PerfSamples []*PerfSample `json:"perfSamples,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "NextPageToken") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "NextPageToken") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *ListPerfSamplesResponse) MarshalJSON() ([]byte, error) {
type NoMethod ListPerfSamplesResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ListScreenshotClustersResponse struct {
// Clusters: The set of clusters associated with an execution
// Always set
Clusters []*ScreenshotCluster `json:"clusters,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Clusters") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Clusters") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *ListScreenshotClustersResponse) MarshalJSON() ([]byte, error) {
type NoMethod ListScreenshotClustersResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ListStepAccessibilityClustersResponse: Response message for
// AccessibilityService.ListStepAccessibilityClusters.
type ListStepAccessibilityClustersResponse struct {
// Clusters: A sequence of accessibility suggestions, grouped into
// clusters.
// Within the sequence, clusters that belong to the same
// SuggestionCategory
// should be adjacent.
// Within each category, clusters should be ordered by
// their
// SuggestionPriority (ERRORs first).
// The categories should be ordered by their highest priority cluster.
Clusters []*SuggestionClusterProto `json:"clusters,omitempty"`
// Name: A full resource name of the step.
// For example,
// projects/my-project/histories/bh.1234567890abcdef/executions/
// 12345678
// 90123456789/steps/bs.1234567890abcdef
//
// Always presents.
Name string `json:"name,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Clusters") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Clusters") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *ListStepAccessibilityClustersResponse) MarshalJSON() ([]byte, error) {
type NoMethod ListStepAccessibilityClustersResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ListStepThumbnailsResponse: A response containing the thumbnails in a
// step.
type ListStepThumbnailsResponse struct {
// NextPageToken: A continuation token to resume the query at the next
// item.
//
// If set, indicates that there are more thumbnails to read, by calling
// list
// again with this value in the page_token field.
NextPageToken string `json:"nextPageToken,omitempty"`
// Thumbnails: A list of image data.
//
// Images are returned in a deterministic order; they are ordered by
// these
// factors, in order of
// importance:
// * First, by their associated test case. Images without a test case
// are
// considered greater than images with one.
// * Second, by their creation time. Images without a creation time are
// greater than images with one.
// * Third, by the order in which they were added to the step (by calls
// to
// CreateStep or UpdateStep).
Thumbnails []*Image `json:"thumbnails,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "NextPageToken") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "NextPageToken") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *ListStepThumbnailsResponse) MarshalJSON() ([]byte, error) {
type NoMethod ListStepThumbnailsResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ListStepsResponse: Response message for StepService.List.
type ListStepsResponse struct {
// NextPageToken: A continuation token to resume the query at the next
// item.
//
// If set, indicates that there are more steps to read, by calling list
// again
// with this value in the page_token field.
NextPageToken string `json:"nextPageToken,omitempty"`
// Steps: Steps.
Steps []*Step `json:"steps,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "NextPageToken") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "NextPageToken") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *ListStepsResponse) MarshalJSON() ([]byte, error) {
type NoMethod ListStepsResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ListTestCasesResponse: Response message for
// StepService.ListTestCases.
type ListTestCasesResponse struct {
NextPageToken string `json:"nextPageToken,omitempty"`
// TestCases: List of test cases.
TestCases []*TestCase `json:"testCases,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "NextPageToken") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "NextPageToken") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *ListTestCasesResponse) MarshalJSON() ([]byte, error) {
type NoMethod ListTestCasesResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// MatrixDimensionDefinition: One dimension of the matrix of different
// runs of a step.
type MatrixDimensionDefinition struct {
}
type MemoryInfo struct {
// MemoryCapInKibibyte: Maximum memory that can be allocated to the
// process in KiB
MemoryCapInKibibyte int64 `json:"memoryCapInKibibyte,omitempty,string"`
// MemoryTotalInKibibyte: Total memory available on the device in KiB
MemoryTotalInKibibyte int64 `json:"memoryTotalInKibibyte,omitempty,string"`
// ForceSendFields is a list of field names (e.g. "MemoryCapInKibibyte")
// to unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "MemoryCapInKibibyte") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *MemoryInfo) MarshalJSON() ([]byte, error) {
type NoMethod MemoryInfo
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// MergedResult: Merged test result for environment.
//
// If the environment has only one step (no reruns or shards), then the
// merged
// result is the same as the step result. If the environment has
// multiple shards
// and/or reruns, then the results of shards and reruns that belong to
// the same
// environment are merged into one environment result.
type MergedResult struct {
// Outcome: Outcome of the resource
Outcome *Outcome `json:"outcome,omitempty"`
// State: State of the resource
//
// Possible values:
// "UNKNOWN_STATE" - Should never be in this state. Exists for proto
// deserialization backward
// compatibility.
// "PENDING" - The Execution/Step is created, ready to run, but not
// running yet.
// If an Execution/Step is created without initial state, it is
// assumed
// that the Execution/Step is in PENDING state.
// "IN_PROGRESS" - The Execution/Step is in progress.
// "COMPLETE" - The finalized, immutable state. Steps/Executions in
// this state cannot be
// modified.
State string `json:"state,omitempty"`
// TestSuiteOverviews: The combined and rolled-up result of each test
// suite that was run as part
// of this environment.
//
// Combining:
// When the test cases from a suite are run in different steps
// (sharding),
// the results are added back together in one overview. (e.g., if
// shard1 has
// 2 failures and shard2 has 1 failure than the overview failure_count
// = 3).
//
// Rollup:
// When test cases from the same suite are run multiple times (flaky),
// the
// results are combined (e.g., if testcase1.run1 fails, testcase1.run2
// passes, and both testcase2.run1 and testcase2.run2 fail then the
// overview
// flaky_count = 1 and failure_count = 1).
TestSuiteOverviews []*TestSuiteOverview `json:"testSuiteOverviews,omitempty"`
// ForceSendFields is a list of field names (e.g. "Outcome") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Outcome") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *MergedResult) MarshalJSON() ([]byte, error) {
type NoMethod MergedResult
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// MultiStep: Details when multiple steps are run with the same
// configuration as a group.
type MultiStep struct {
// MultistepNumber: Unique int given to each step.
// Ranges from 0(inclusive) to total number of steps(exclusive).
// The primary step is 0.
MultistepNumber int64 `json:"multistepNumber,omitempty"`
// PrimaryStep: Present if it is a primary (original) step.
PrimaryStep *PrimaryStep `json:"primaryStep,omitempty"`
// PrimaryStepId: Step Id of the primary (original) step, which might be
// this step.
PrimaryStepId string `json:"primaryStepId,omitempty"`
// ForceSendFields is a list of field names (e.g. "MultistepNumber") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "MultistepNumber") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *MultiStep) MarshalJSON() ([]byte, error) {
type NoMethod MultiStep
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// NativeCrash: Additional details for a native crash.
type NativeCrash struct {
// StackTrace: The stack trace of the native crash.
// Optional.
StackTrace *StackTrace `json:"stackTrace,omitempty"`
// ForceSendFields is a list of field names (e.g. "StackTrace") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "StackTrace") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *NativeCrash) MarshalJSON() ([]byte, error) {
type NoMethod NativeCrash
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// NonSdkApi: A non-sdk API and examples of it being called along with
// other
// metadata
// See
// https://developer.android.com/distribute/best-practices/d
// evelop/restrictions-non-sdk-interfaces
type NonSdkApi struct {
// ApiSignature: The signature of the Non-SDK API
ApiSignature string `json:"apiSignature,omitempty"`
// ExampleStackTraces: Example stack traces of this API being called.
ExampleStackTraces []string `json:"exampleStackTraces,omitempty"`
// Insights: Optional debugging insights for non-SDK API violations.
Insights []*NonSdkApiInsight `json:"insights,omitempty"`
// InvocationCount: The total number of times this API was observed to
// have been called.
InvocationCount int64 `json:"invocationCount,omitempty"`
// List: Which list this API appears on
//
// Possible values:
// "NONE"
// "WHITE"
// "BLACK"
// "GREY"
// "GREY_MAX_O"
// "GREY_MAX_P"
// "GREY_MAX_Q"
List string `json:"list,omitempty"`
// ForceSendFields is a list of field names (e.g. "ApiSignature") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "ApiSignature") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *NonSdkApi) MarshalJSON() ([]byte, error) {
type NoMethod NonSdkApi
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// NonSdkApiInsight: Non-SDK API insights (to address debugging
// solutions).
type NonSdkApiInsight struct {
// ExampleTraceMessages: Optional sample stack traces, for which this
// insight applies (there
// should be at least one).
ExampleTraceMessages []string `json:"exampleTraceMessages,omitempty"`
// MatcherId: A unique ID, to be used for determining the effectiveness
// of this
// particular insight in the context of a matcher. (required)
MatcherId string `json:"matcherId,omitempty"`
// PendingGoogleUpdateInsight: An insight indicating that the hidden API
// usage originates from a
// Google-provided library.
PendingGoogleUpdateInsight *PendingGoogleUpdateInsight `json:"pendingGoogleUpdateInsight,omitempty"`
// UpgradeInsight: An insight indicating that the hidden API usage
// originates from the
// use of a library that needs to be upgraded.
UpgradeInsight *UpgradeInsight `json:"upgradeInsight,omitempty"`
// ForceSendFields is a list of field names (e.g.
// "ExampleTraceMessages") to unconditionally include in API requests.
// By default, fields with empty values are omitted from API requests.
// However, any non-pointer, non-interface field appearing in
// ForceSendFields will be sent to the server regardless of whether the
// field is empty or not. This may be used to include empty fields in
// Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "ExampleTraceMessages") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *NonSdkApiInsight) MarshalJSON() ([]byte, error) {
type NoMethod NonSdkApiInsight
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// NonSdkApiUsageViolation: Additional details for a non-sdk API usage
// violation.
type NonSdkApiUsageViolation struct {
// ApiSignatures: Signatures of a subset of those hidden API's.
ApiSignatures []string `json:"apiSignatures,omitempty"`
// UniqueApis: Total number of unique hidden API's accessed.
UniqueApis int64 `json:"uniqueApis,omitempty"`
// ForceSendFields is a list of field names (e.g. "ApiSignatures") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "ApiSignatures") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *NonSdkApiUsageViolation) MarshalJSON() ([]byte, error) {
type NoMethod NonSdkApiUsageViolation
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// NonSdkApiUsageViolationReport: Contains a summary and examples of
// non-sdk API usage violations.
type NonSdkApiUsageViolationReport struct {
// ExampleApis: Examples of the detected API usages.
ExampleApis []*NonSdkApi `json:"exampleApis,omitempty"`
// MinSdkVersion: Minimum API level required for the application to run.
MinSdkVersion int64 `json:"minSdkVersion,omitempty"`
// TargetSdkVersion: Specifies the API Level on which the application is
// designed to run.
TargetSdkVersion int64 `json:"targetSdkVersion,omitempty"`
// UniqueApis: Total number of unique Non-SDK API's accessed.
UniqueApis int64 `json:"uniqueApis,omitempty"`
// ForceSendFields is a list of field names (e.g. "ExampleApis") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "ExampleApis") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *NonSdkApiUsageViolationReport) MarshalJSON() ([]byte, error) {
type NoMethod NonSdkApiUsageViolationReport
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// Outcome: Interprets a result so that humans and machines can act on
// it.
type Outcome struct {
// FailureDetail: More information about a FAILURE outcome.
//
// Returns INVALID_ARGUMENT if this field is set
// but the summary is not FAILURE.
//
// Optional
FailureDetail *FailureDetail `json:"failureDetail,omitempty"`
// InconclusiveDetail: More information about an INCONCLUSIVE
// outcome.
//
// Returns INVALID_ARGUMENT if this field is set
// but the summary is not INCONCLUSIVE.
//
// Optional
InconclusiveDetail *InconclusiveDetail `json:"inconclusiveDetail,omitempty"`
// SkippedDetail: More information about a SKIPPED outcome.
//
// Returns INVALID_ARGUMENT if this field is set
// but the summary is not SKIPPED.
//
// Optional
SkippedDetail *SkippedDetail `json:"skippedDetail,omitempty"`
// SuccessDetail: More information about a SUCCESS outcome.
//
// Returns INVALID_ARGUMENT if this field is set
// but the summary is not SUCCESS.
//
// Optional
SuccessDetail *SuccessDetail `json:"successDetail,omitempty"`
// Summary: The simplest way to interpret a result.
//
// Required
//
// Possible values:
// "UNSET" - Do not use. For proto versioning only.
// "SUCCESS" - The test matrix run was successful, for instance:
// - All the test cases passed.
// - Robo did not detect a crash of the application under test.
// "FAILURE" - A run failed, for instance:
// - One or more test case failed.
// - A test timed out.
// - The application under test crashed.
// "INCONCLUSIVE" - Something unexpected happened. The run should
// still be considered
// unsuccessful but this is likely a transient problem and re-running
// the
// test might be successful.
// "SKIPPED" - All tests were skipped, for instance:
// - All device configurations were incompatible.
// "FLAKY" - A group of steps that were run with the same
// configuration had both
// failure and success outcomes.
Summary string `json:"summary,omitempty"`
// ForceSendFields is a list of field names (e.g. "FailureDetail") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "FailureDetail") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *Outcome) MarshalJSON() ([]byte, error) {
type NoMethod Outcome
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// OverlappingUIElements: A warning that Robo encountered a screen that
// has overlapping clickable
// elements; this may indicate a potential UI issue.
type OverlappingUIElements struct {
// ResourceName: Resource names of the overlapping screen elements
ResourceName []string `json:"resourceName,omitempty"`
// ScreenId: The screen id of the elements
ScreenId string `json:"screenId,omitempty"`
// ForceSendFields is a list of field names (e.g. "ResourceName") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "ResourceName") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *OverlappingUIElements) MarshalJSON() ([]byte, error) {
type NoMethod OverlappingUIElements
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// PendingGoogleUpdateInsight: This insight indicates that the hidden
// API usage originates from a
// Google-provided library. Users need not take any action.
type PendingGoogleUpdateInsight struct {
// NameOfGoogleLibrary: The name of the Google-provided library with the
// non-SDK API dependency.
NameOfGoogleLibrary string `json:"nameOfGoogleLibrary,omitempty"`
// ForceSendFields is a list of field names (e.g. "NameOfGoogleLibrary")
// to unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "NameOfGoogleLibrary") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *PendingGoogleUpdateInsight) MarshalJSON() ([]byte, error) {
type NoMethod PendingGoogleUpdateInsight
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// PerfEnvironment: Encapsulates performance environment info
type PerfEnvironment struct {
// CpuInfo: CPU related environment info
CpuInfo *CPUInfo `json:"cpuInfo,omitempty"`
// MemoryInfo: Memory related environment info
MemoryInfo *MemoryInfo `json:"memoryInfo,omitempty"`
// ForceSendFields is a list of field names (e.g. "CpuInfo") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "CpuInfo") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *PerfEnvironment) MarshalJSON() ([]byte, error) {
type NoMethod PerfEnvironment
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// PerfMetricsSummary: A summary of perf metrics collected and
// performance environment info
type PerfMetricsSummary struct {
AppStartTime *AppStartTime `json:"appStartTime,omitempty"`
// ExecutionId: A tool results execution ID.
// @OutputOnly
ExecutionId string `json:"executionId,omitempty"`
// GraphicsStats: Graphics statistics for the entire run. Statistics are
// reset at the
// beginning of the run and collected at the end of the run.
GraphicsStats *GraphicsStats `json:"graphicsStats,omitempty"`
// HistoryId: A tool results history ID.
// @OutputOnly
HistoryId string `json:"historyId,omitempty"`
// PerfEnvironment: Describes the environment in which the performance
// metrics were collected
PerfEnvironment *PerfEnvironment `json:"perfEnvironment,omitempty"`
// PerfMetrics: Set of resource collected
//
// Possible values:
// "PERF_METRIC_TYPE_UNSPECIFIED"
// "MEMORY"
// "CPU"
// "NETWORK"
// "GRAPHICS"
PerfMetrics []string `json:"perfMetrics,omitempty"`
// ProjectId: The cloud project
// @OutputOnly
ProjectId string `json:"projectId,omitempty"`
// StepId: A tool results step ID.
// @OutputOnly
StepId string `json:"stepId,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "AppStartTime") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "AppStartTime") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *PerfMetricsSummary) MarshalJSON() ([]byte, error) {
type NoMethod PerfMetricsSummary
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// PerfSample: Resource representing a single performance measure or
// data point
type PerfSample struct {
// SampleTime: Timestamp of collection.
SampleTime *Timestamp `json:"sampleTime,omitempty"`
// Value: Value observed
Value float64 `json:"value,omitempty"`
// ForceSendFields is a list of field names (e.g. "SampleTime") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "SampleTime") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *PerfSample) MarshalJSON() ([]byte, error) {
type NoMethod PerfSample
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *PerfSample) UnmarshalJSON(data []byte) error {
type NoMethod PerfSample
var s1 struct {
Value gensupport.JSONFloat64 `json:"value"`
*NoMethod
}
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
s.Value = float64(s1.Value)
return nil
}
// PerfSampleSeries: Resource representing a collection of performance
// samples (or data points)
type PerfSampleSeries struct {
// BasicPerfSampleSeries: Basic series represented by a line chart
BasicPerfSampleSeries *BasicPerfSampleSeries `json:"basicPerfSampleSeries,omitempty"`
// ExecutionId: A tool results execution ID.
// @OutputOnly
ExecutionId string `json:"executionId,omitempty"`
// HistoryId: A tool results history ID.
// @OutputOnly
HistoryId string `json:"historyId,omitempty"`
// ProjectId: The cloud project
// @OutputOnly
ProjectId string `json:"projectId,omitempty"`
// SampleSeriesId: A sample series id
// @OutputOnly
SampleSeriesId string `json:"sampleSeriesId,omitempty"`
// StepId: A tool results step ID.
// @OutputOnly
StepId string `json:"stepId,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g.
// "BasicPerfSampleSeries") to unconditionally include in API requests.
// By default, fields with empty values are omitted from API requests.
// However, any non-pointer, non-interface field appearing in
// ForceSendFields will be sent to the server regardless of whether the
// field is empty or not. This may be used to include empty fields in
// Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "BasicPerfSampleSeries") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *PerfSampleSeries) MarshalJSON() ([]byte, error) {
type NoMethod PerfSampleSeries
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// PerformedGoogleLogin: A notification that Robo signed in with Google.
type PerformedGoogleLogin struct {
}
// PerformedMonkeyActions: A notification that Robo performed some
// monkey actions.
type PerformedMonkeyActions struct {
// TotalActions: The total number of monkey actions performed during the
// crawl.
TotalActions int64 `json:"totalActions,omitempty"`
// ForceSendFields is a list of field names (e.g. "TotalActions") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "TotalActions") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *PerformedMonkeyActions) MarshalJSON() ([]byte, error) {
type NoMethod PerformedMonkeyActions
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// PrimaryStep: Stores rollup test status of multiple steps that were
// run as a group and
// outcome of each individual step.
type PrimaryStep struct {
// IndividualOutcome: Step Id and outcome of each individual step.
IndividualOutcome []*IndividualOutcome `json:"individualOutcome,omitempty"`
// RollUp: Rollup test status of multiple steps that were run with the
// same
// configuration as a group.
//
// Possible values:
// "UNSET" - Do not use. For proto versioning only.
// "SUCCESS" - The test matrix run was successful, for instance:
// - All the test cases passed.
// - Robo did not detect a crash of the application under test.
// "FAILURE" - A run failed, for instance:
// - One or more test case failed.
// - A test timed out.
// - The application under test crashed.
// "INCONCLUSIVE" - Something unexpected happened. The run should
// still be considered
// unsuccessful but this is likely a transient problem and re-running
// the
// test might be successful.
// "SKIPPED" - All tests were skipped, for instance:
// - All device configurations were incompatible.
// "FLAKY" - A group of steps that were run with the same
// configuration had both
// failure and success outcomes.
RollUp string `json:"rollUp,omitempty"`
// ForceSendFields is a list of field names (e.g. "IndividualOutcome")
// to unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "IndividualOutcome") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *PrimaryStep) MarshalJSON() ([]byte, error) {
type NoMethod PrimaryStep
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ProjectSettings: Per-project settings for the Tool Results service.
type ProjectSettings struct {
// DefaultBucket: The name of the Google Cloud Storage bucket to which
// results are written.
//
// By default, this is unset.
//
// In update request: optional
// In response: optional
DefaultBucket string `json:"defaultBucket,omitempty"`
// Name: The name of the project's settings.
//
// Always of the form:
// projects/{project-id}/settings
//
// In update request: never set
// In response: always set
Name string `json:"name,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "DefaultBucket") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "DefaultBucket") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *ProjectSettings) MarshalJSON() ([]byte, error) {
type NoMethod ProjectSettings
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// PublishXunitXmlFilesRequest: Request message for
// StepService.PublishXunitXmlFiles.
type PublishXunitXmlFilesRequest struct {
// XunitXmlFiles: URI of the Xunit XML files to publish.
//
// The maximum size of the file this reference is pointing to is
// 50MB.
//
// Required.
XunitXmlFiles []*FileReference `json:"xunitXmlFiles,omitempty"`
// ForceSendFields is a list of field names (e.g. "XunitXmlFiles") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "XunitXmlFiles") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *PublishXunitXmlFilesRequest) MarshalJSON() ([]byte, error) {
type NoMethod PublishXunitXmlFilesRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// RegionProto: A rectangular region.
type RegionProto struct {
// HeightPx: The height, in pixels.
// Always set.
HeightPx int64 `json:"heightPx,omitempty"`
// LeftPx: The left side of the rectangle, in pixels.
// Always set.
LeftPx int64 `json:"leftPx,omitempty"`
// TopPx: The top of the rectangle, in pixels.
// Always set.
TopPx int64 `json:"topPx,omitempty"`
// WidthPx: The width, in pixels.
// Always set.
WidthPx int64 `json:"widthPx,omitempty"`
// ForceSendFields is a list of field names (e.g. "HeightPx") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "HeightPx") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *RegionProto) MarshalJSON() ([]byte, error) {
type NoMethod RegionProto
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ResultsStorage: The storage for test results.
type ResultsStorage struct {
// ResultsStoragePath: The root directory for test results.
ResultsStoragePath *FileReference `json:"resultsStoragePath,omitempty"`
// XunitXmlFile: The path to the Xunit XML file.
XunitXmlFile *FileReference `json:"xunitXmlFile,omitempty"`
// ForceSendFields is a list of field names (e.g. "ResultsStoragePath")
// to unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "ResultsStoragePath") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *ResultsStorage) MarshalJSON() ([]byte, error) {
type NoMethod ResultsStorage
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// RoboScriptExecution: Execution stats for a user-provided Robo script.
type RoboScriptExecution struct {
// SuccessfulActions: The number of Robo script actions executed
// successfully.
SuccessfulActions int64 `json:"successfulActions,omitempty"`
// TotalActions: The total number of actions in the Robo script.
TotalActions int64 `json:"totalActions,omitempty"`
// ForceSendFields is a list of field names (e.g. "SuccessfulActions")
// to unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "SuccessfulActions") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *RoboScriptExecution) MarshalJSON() ([]byte, error) {
type NoMethod RoboScriptExecution
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// SafeHtmlProto: IMPORTANT: It is unsafe to accept this message from an
// untrusted source,
// since it's trivial for an attacker to forge serialized messages
// that
// don't fulfill the type's safety contract -- for example, it could
// contain
// attacker controlled script. A system which receives a
// SafeHtmlProto
// implicitly trusts the producer of the SafeHtmlProto. So, it's
// generally safe
// to return this message in RPC responses, but generally unsafe to
// accept it
// in RPC requests.
type SafeHtmlProto struct {
// PrivateDoNotAccessOrElseSafeHtmlWrappedValue: IMPORTANT: Never set or
// read this field, even from tests, it is private.
// See documentation at the top of .proto file for programming
// language
// packages with which to create or read this message.
PrivateDoNotAccessOrElseSafeHtmlWrappedValue string `json:"privateDoNotAccessOrElseSafeHtmlWrappedValue,omitempty"`
// ForceSendFields is a list of field names (e.g.
// "PrivateDoNotAccessOrElseSafeHtmlWrappedValue") to unconditionally
// include in API requests. By default, fields with empty values are
// omitted from API requests. However, any non-pointer, non-interface
// field appearing in ForceSendFields will be sent to the server
// regardless of whether the field is empty or not. This may be used to
// include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g.
// "PrivateDoNotAccessOrElseSafeHtmlWrappedValue") to include in API
// requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *SafeHtmlProto) MarshalJSON() ([]byte, error) {
type NoMethod SafeHtmlProto
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type Screen struct {
// FileReference: File reference of the png file.
// Required.
FileReference string `json:"fileReference,omitempty"`
// Locale: Locale of the device that the screenshot was taken
// on.
// Required.
Locale string `json:"locale,omitempty"`
// Model: Model of the device that the screenshot was taken
// on.
// Required.
Model string `json:"model,omitempty"`
// Version: OS version of the device that the screenshot was taken
// on.
// Required.
Version string `json:"version,omitempty"`
// ForceSendFields is a list of field names (e.g. "FileReference") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "FileReference") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *Screen) MarshalJSON() ([]byte, error) {
type NoMethod Screen
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ScreenshotCluster struct {
// Activity: A string that describes the activity of every screen in the
// cluster.
Activity string `json:"activity,omitempty"`
// ClusterId: A unique identifier for the cluster.
// @OutputOnly
ClusterId string `json:"clusterId,omitempty"`
// KeyScreen: A singular screen that represents the cluster as a whole.
// This screen will
// act as the "cover" of the entire cluster. When users look at the
// clusters,
// only the key screen from each cluster will be shown. Which screen is
// the
// key screen is determined by the ClusteringAlgorithm
KeyScreen *Screen `json:"keyScreen,omitempty"`
// Screens: Full list of screens.
Screens []*Screen `json:"screens,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Activity") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the