Documentation ¶
Overview ¶
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.
Index ¶
- Constants
- type ANR
- type AndroidAppInfo
- type AndroidInstrumentationTest
- type AndroidRoboTest
- type AndroidTest
- type AndroidTestLoop
- type Any
- type AppStartTime
- type AvailableDeepLinks
- type BasicPerfSampleSeries
- type BatchCreatePerfSamplesRequest
- type BatchCreatePerfSamplesResponse
- type BlankScreen
- type CPUInfo
- type ClustersGetCall
- func (c *ClustersGetCall) Context(ctx context.Context) *ClustersGetCall
- func (c *ClustersGetCall) Do(opts ...googleapi.CallOption) (*ScreenshotCluster, error)
- func (c *ClustersGetCall) Fields(s ...googleapi.Field) *ClustersGetCall
- func (c *ClustersGetCall) Header() http.Header
- func (c *ClustersGetCall) IfNoneMatch(entityTag string) *ClustersGetCall
- type ClustersListCall
- func (c *ClustersListCall) Context(ctx context.Context) *ClustersListCall
- func (c *ClustersListCall) Do(opts ...googleapi.CallOption) (*ListScreenshotClustersResponse, error)
- func (c *ClustersListCall) Fields(s ...googleapi.Field) *ClustersListCall
- func (c *ClustersListCall) Header() http.Header
- func (c *ClustersListCall) IfNoneMatch(entityTag string) *ClustersListCall
- type ClustersService
- type CrashDialogError
- type Duration
- type EncounteredLoginScreen
- type EncounteredNonAndroidUiWidgetScreen
- type Environment
- type EnvironmentDimensionValueEntry
- type EnvironmentsGetCall
- func (c *EnvironmentsGetCall) Context(ctx context.Context) *EnvironmentsGetCall
- func (c *EnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*Environment, error)
- func (c *EnvironmentsGetCall) Fields(s ...googleapi.Field) *EnvironmentsGetCall
- func (c *EnvironmentsGetCall) Header() http.Header
- func (c *EnvironmentsGetCall) IfNoneMatch(entityTag string) *EnvironmentsGetCall
- type EnvironmentsListCall
- func (c *EnvironmentsListCall) Context(ctx context.Context) *EnvironmentsListCall
- func (c *EnvironmentsListCall) Do(opts ...googleapi.CallOption) (*ListEnvironmentsResponse, error)
- func (c *EnvironmentsListCall) Fields(s ...googleapi.Field) *EnvironmentsListCall
- func (c *EnvironmentsListCall) Header() http.Header
- func (c *EnvironmentsListCall) IfNoneMatch(entityTag string) *EnvironmentsListCall
- func (c *EnvironmentsListCall) PageSize(pageSize int64) *EnvironmentsListCall
- func (c *EnvironmentsListCall) PageToken(pageToken string) *EnvironmentsListCall
- func (c *EnvironmentsListCall) Pages(ctx context.Context, f func(*ListEnvironmentsResponse) error) error
- type EnvironmentsService
- type Execution
- type ExecutionsCreateCall
- func (c *ExecutionsCreateCall) Context(ctx context.Context) *ExecutionsCreateCall
- func (c *ExecutionsCreateCall) Do(opts ...googleapi.CallOption) (*Execution, error)
- func (c *ExecutionsCreateCall) Fields(s ...googleapi.Field) *ExecutionsCreateCall
- func (c *ExecutionsCreateCall) Header() http.Header
- func (c *ExecutionsCreateCall) RequestId(requestId string) *ExecutionsCreateCall
- type ExecutionsGetCall
- func (c *ExecutionsGetCall) Context(ctx context.Context) *ExecutionsGetCall
- func (c *ExecutionsGetCall) Do(opts ...googleapi.CallOption) (*Execution, error)
- func (c *ExecutionsGetCall) Fields(s ...googleapi.Field) *ExecutionsGetCall
- func (c *ExecutionsGetCall) Header() http.Header
- func (c *ExecutionsGetCall) IfNoneMatch(entityTag string) *ExecutionsGetCall
- type ExecutionsListCall
- func (c *ExecutionsListCall) Context(ctx context.Context) *ExecutionsListCall
- func (c *ExecutionsListCall) Do(opts ...googleapi.CallOption) (*ListExecutionsResponse, error)
- func (c *ExecutionsListCall) Fields(s ...googleapi.Field) *ExecutionsListCall
- func (c *ExecutionsListCall) Header() http.Header
- func (c *ExecutionsListCall) IfNoneMatch(entityTag string) *ExecutionsListCall
- func (c *ExecutionsListCall) PageSize(pageSize int64) *ExecutionsListCall
- func (c *ExecutionsListCall) PageToken(pageToken string) *ExecutionsListCall
- func (c *ExecutionsListCall) Pages(ctx context.Context, f func(*ListExecutionsResponse) error) error
- type ExecutionsPatchCall
- func (c *ExecutionsPatchCall) Context(ctx context.Context) *ExecutionsPatchCall
- func (c *ExecutionsPatchCall) Do(opts ...googleapi.CallOption) (*Execution, error)
- func (c *ExecutionsPatchCall) Fields(s ...googleapi.Field) *ExecutionsPatchCall
- func (c *ExecutionsPatchCall) Header() http.Header
- func (c *ExecutionsPatchCall) RequestId(requestId string) *ExecutionsPatchCall
- type ExecutionsService
- func (r *ExecutionsService) Create(projectId string, historyId string, execution *Execution) *ExecutionsCreateCall
- func (r *ExecutionsService) Get(projectId string, historyId string, executionId string) *ExecutionsGetCall
- func (r *ExecutionsService) List(projectId string, historyId string) *ExecutionsListCall
- func (r *ExecutionsService) Patch(projectId string, historyId string, executionId string, execution *Execution) *ExecutionsPatchCall
- type FailedToInstall
- type FailureDetail
- type FatalException
- type FileReference
- type GraphicsStats
- type GraphicsStatsBucket
- type HistoriesCreateCall
- func (c *HistoriesCreateCall) Context(ctx context.Context) *HistoriesCreateCall
- func (c *HistoriesCreateCall) Do(opts ...googleapi.CallOption) (*History, error)
- func (c *HistoriesCreateCall) Fields(s ...googleapi.Field) *HistoriesCreateCall
- func (c *HistoriesCreateCall) Header() http.Header
- func (c *HistoriesCreateCall) RequestId(requestId string) *HistoriesCreateCall
- type HistoriesGetCall
- func (c *HistoriesGetCall) Context(ctx context.Context) *HistoriesGetCall
- func (c *HistoriesGetCall) Do(opts ...googleapi.CallOption) (*History, error)
- func (c *HistoriesGetCall) Fields(s ...googleapi.Field) *HistoriesGetCall
- func (c *HistoriesGetCall) Header() http.Header
- func (c *HistoriesGetCall) IfNoneMatch(entityTag string) *HistoriesGetCall
- type HistoriesListCall
- func (c *HistoriesListCall) Context(ctx context.Context) *HistoriesListCall
- func (c *HistoriesListCall) Do(opts ...googleapi.CallOption) (*ListHistoriesResponse, error)
- func (c *HistoriesListCall) Fields(s ...googleapi.Field) *HistoriesListCall
- func (c *HistoriesListCall) FilterByName(filterByName string) *HistoriesListCall
- func (c *HistoriesListCall) Header() http.Header
- func (c *HistoriesListCall) IfNoneMatch(entityTag string) *HistoriesListCall
- func (c *HistoriesListCall) PageSize(pageSize int64) *HistoriesListCall
- func (c *HistoriesListCall) PageToken(pageToken string) *HistoriesListCall
- func (c *HistoriesListCall) Pages(ctx context.Context, f func(*ListHistoriesResponse) error) error
- type HistoriesService
- type History
- type Image
- type InAppPurchasesFound
- type InconclusiveDetail
- type IndividualOutcome
- type InsufficientCoverage
- type IosAppCrashed
- type LauncherActivityNotFound
- type ListEnvironmentsResponse
- type ListExecutionsResponse
- type ListHistoriesResponse
- type ListPerfSampleSeriesResponse
- type ListPerfSamplesResponse
- type ListScreenshotClustersResponse
- type ListStepAccessibilityClustersResponse
- type ListStepThumbnailsResponse
- type ListStepsResponse
- type ListTestCasesResponse
- type MatrixDimensionDefinition
- type MemoryInfo
- type MergedResult
- type MultiStep
- type NativeCrash
- type NonSdkApi
- type NonSdkApiInsight
- type NonSdkApiUsageViolation
- type NonSdkApiUsageViolationReport
- type Outcome
- type OverlappingUIElements
- type PendingGoogleUpdateInsight
- type PerfEnvironment
- type PerfMetricsSummary
- type PerfMetricsSummaryCreateCall
- func (c *PerfMetricsSummaryCreateCall) Context(ctx context.Context) *PerfMetricsSummaryCreateCall
- func (c *PerfMetricsSummaryCreateCall) Do(opts ...googleapi.CallOption) (*PerfMetricsSummary, error)
- func (c *PerfMetricsSummaryCreateCall) Fields(s ...googleapi.Field) *PerfMetricsSummaryCreateCall
- func (c *PerfMetricsSummaryCreateCall) Header() http.Header
- type PerfMetricsSummaryService
- type PerfSample
- type PerfSampleSeries
- type PerfSampleSeriesCreateCall
- func (c *PerfSampleSeriesCreateCall) Context(ctx context.Context) *PerfSampleSeriesCreateCall
- func (c *PerfSampleSeriesCreateCall) Do(opts ...googleapi.CallOption) (*PerfSampleSeries, error)
- func (c *PerfSampleSeriesCreateCall) Fields(s ...googleapi.Field) *PerfSampleSeriesCreateCall
- func (c *PerfSampleSeriesCreateCall) Header() http.Header
- type PerfSampleSeriesGetCall
- func (c *PerfSampleSeriesGetCall) Context(ctx context.Context) *PerfSampleSeriesGetCall
- func (c *PerfSampleSeriesGetCall) Do(opts ...googleapi.CallOption) (*PerfSampleSeries, error)
- func (c *PerfSampleSeriesGetCall) Fields(s ...googleapi.Field) *PerfSampleSeriesGetCall
- func (c *PerfSampleSeriesGetCall) Header() http.Header
- func (c *PerfSampleSeriesGetCall) IfNoneMatch(entityTag string) *PerfSampleSeriesGetCall
- type PerfSampleSeriesListCall
- func (c *PerfSampleSeriesListCall) Context(ctx context.Context) *PerfSampleSeriesListCall
- func (c *PerfSampleSeriesListCall) Do(opts ...googleapi.CallOption) (*ListPerfSampleSeriesResponse, error)
- func (c *PerfSampleSeriesListCall) Fields(s ...googleapi.Field) *PerfSampleSeriesListCall
- func (c *PerfSampleSeriesListCall) Filter(filter ...string) *PerfSampleSeriesListCall
- func (c *PerfSampleSeriesListCall) Header() http.Header
- func (c *PerfSampleSeriesListCall) IfNoneMatch(entityTag string) *PerfSampleSeriesListCall
- type PerfSampleSeriesService
- func (r *PerfSampleSeriesService) Create(projectId string, historyId string, executionId string, stepId string, ...) *PerfSampleSeriesCreateCall
- func (r *PerfSampleSeriesService) Get(projectId string, historyId string, executionId string, stepId string, ...) *PerfSampleSeriesGetCall
- func (r *PerfSampleSeriesService) List(projectId string, historyId string, executionId string, stepId string) *PerfSampleSeriesListCall
- type PerformedGoogleLogin
- type PerformedMonkeyActions
- type PrimaryStep
- type ProjectSettings
- type ProjectsGetSettingsCall
- func (c *ProjectsGetSettingsCall) Context(ctx context.Context) *ProjectsGetSettingsCall
- func (c *ProjectsGetSettingsCall) Do(opts ...googleapi.CallOption) (*ProjectSettings, error)
- func (c *ProjectsGetSettingsCall) Fields(s ...googleapi.Field) *ProjectsGetSettingsCall
- func (c *ProjectsGetSettingsCall) Header() http.Header
- func (c *ProjectsGetSettingsCall) IfNoneMatch(entityTag string) *ProjectsGetSettingsCall
- type ProjectsInitializeSettingsCall
- func (c *ProjectsInitializeSettingsCall) Context(ctx context.Context) *ProjectsInitializeSettingsCall
- func (c *ProjectsInitializeSettingsCall) Do(opts ...googleapi.CallOption) (*ProjectSettings, error)
- func (c *ProjectsInitializeSettingsCall) Fields(s ...googleapi.Field) *ProjectsInitializeSettingsCall
- func (c *ProjectsInitializeSettingsCall) Header() http.Header
- type ProjectsService
- type PublishXunitXmlFilesRequest
- type RegionProto
- type ResultsStorage
- type RoboScriptExecution
- type SafeHtmlProto
- type SamplesBatchCreateCall
- func (c *SamplesBatchCreateCall) Context(ctx context.Context) *SamplesBatchCreateCall
- func (c *SamplesBatchCreateCall) Do(opts ...googleapi.CallOption) (*BatchCreatePerfSamplesResponse, error)
- func (c *SamplesBatchCreateCall) Fields(s ...googleapi.Field) *SamplesBatchCreateCall
- func (c *SamplesBatchCreateCall) Header() http.Header
- type SamplesListCall
- func (c *SamplesListCall) Context(ctx context.Context) *SamplesListCall
- func (c *SamplesListCall) Do(opts ...googleapi.CallOption) (*ListPerfSamplesResponse, error)
- func (c *SamplesListCall) Fields(s ...googleapi.Field) *SamplesListCall
- func (c *SamplesListCall) Header() http.Header
- func (c *SamplesListCall) IfNoneMatch(entityTag string) *SamplesListCall
- func (c *SamplesListCall) PageSize(pageSize int64) *SamplesListCall
- func (c *SamplesListCall) PageToken(pageToken string) *SamplesListCall
- func (c *SamplesListCall) Pages(ctx context.Context, f func(*ListPerfSamplesResponse) error) error
- type SamplesService
- type Screen
- type ScreenshotCluster
- type Service
- type ShardSummary
- type SkippedDetail
- type Specification
- type StackTrace
- type StartActivityNotFound
- type Status
- type Step
- type StepDimensionValueEntry
- type StepLabelsEntry
- type StepSummary
- type StepsAccessibilityClustersCall
- func (c *StepsAccessibilityClustersCall) Context(ctx context.Context) *StepsAccessibilityClustersCall
- func (c *StepsAccessibilityClustersCall) Do(opts ...googleapi.CallOption) (*ListStepAccessibilityClustersResponse, error)
- func (c *StepsAccessibilityClustersCall) Fields(s ...googleapi.Field) *StepsAccessibilityClustersCall
- func (c *StepsAccessibilityClustersCall) Header() http.Header
- func (c *StepsAccessibilityClustersCall) IfNoneMatch(entityTag string) *StepsAccessibilityClustersCall
- func (c *StepsAccessibilityClustersCall) Locale(locale string) *StepsAccessibilityClustersCall
- type StepsCreateCall
- func (c *StepsCreateCall) Context(ctx context.Context) *StepsCreateCall
- func (c *StepsCreateCall) Do(opts ...googleapi.CallOption) (*Step, error)
- func (c *StepsCreateCall) Fields(s ...googleapi.Field) *StepsCreateCall
- func (c *StepsCreateCall) Header() http.Header
- func (c *StepsCreateCall) RequestId(requestId string) *StepsCreateCall
- type StepsGetCall
- func (c *StepsGetCall) Context(ctx context.Context) *StepsGetCall
- func (c *StepsGetCall) Do(opts ...googleapi.CallOption) (*Step, error)
- func (c *StepsGetCall) Fields(s ...googleapi.Field) *StepsGetCall
- func (c *StepsGetCall) Header() http.Header
- func (c *StepsGetCall) IfNoneMatch(entityTag string) *StepsGetCall
- type StepsGetPerfMetricsSummaryCall
- func (c *StepsGetPerfMetricsSummaryCall) Context(ctx context.Context) *StepsGetPerfMetricsSummaryCall
- func (c *StepsGetPerfMetricsSummaryCall) Do(opts ...googleapi.CallOption) (*PerfMetricsSummary, error)
- func (c *StepsGetPerfMetricsSummaryCall) Fields(s ...googleapi.Field) *StepsGetPerfMetricsSummaryCall
- func (c *StepsGetPerfMetricsSummaryCall) Header() http.Header
- func (c *StepsGetPerfMetricsSummaryCall) IfNoneMatch(entityTag string) *StepsGetPerfMetricsSummaryCall
- type StepsListCall
- func (c *StepsListCall) Context(ctx context.Context) *StepsListCall
- func (c *StepsListCall) Do(opts ...googleapi.CallOption) (*ListStepsResponse, error)
- func (c *StepsListCall) Fields(s ...googleapi.Field) *StepsListCall
- func (c *StepsListCall) Header() http.Header
- func (c *StepsListCall) IfNoneMatch(entityTag string) *StepsListCall
- func (c *StepsListCall) PageSize(pageSize int64) *StepsListCall
- func (c *StepsListCall) PageToken(pageToken string) *StepsListCall
- func (c *StepsListCall) Pages(ctx context.Context, f func(*ListStepsResponse) error) error
- type StepsPatchCall
- func (c *StepsPatchCall) Context(ctx context.Context) *StepsPatchCall
- func (c *StepsPatchCall) Do(opts ...googleapi.CallOption) (*Step, error)
- func (c *StepsPatchCall) Fields(s ...googleapi.Field) *StepsPatchCall
- func (c *StepsPatchCall) Header() http.Header
- func (c *StepsPatchCall) RequestId(requestId string) *StepsPatchCall
- type StepsPublishXunitXmlFilesCall
- func (c *StepsPublishXunitXmlFilesCall) Context(ctx context.Context) *StepsPublishXunitXmlFilesCall
- func (c *StepsPublishXunitXmlFilesCall) Do(opts ...googleapi.CallOption) (*Step, error)
- func (c *StepsPublishXunitXmlFilesCall) Fields(s ...googleapi.Field) *StepsPublishXunitXmlFilesCall
- func (c *StepsPublishXunitXmlFilesCall) Header() http.Header
- type StepsService
- func (r *StepsService) AccessibilityClusters(name string) *StepsAccessibilityClustersCall
- func (r *StepsService) Create(projectId string, historyId string, executionId string, step *Step) *StepsCreateCall
- func (r *StepsService) Get(projectId string, historyId string, executionId string, stepId string) *StepsGetCall
- func (r *StepsService) GetPerfMetricsSummary(projectId string, historyId string, executionId string, stepId string) *StepsGetPerfMetricsSummaryCall
- func (r *StepsService) List(projectId string, historyId string, executionId string) *StepsListCall
- func (r *StepsService) Patch(projectId string, historyId string, executionId string, stepId string, ...) *StepsPatchCall
- func (r *StepsService) PublishXunitXmlFiles(projectId string, historyId string, executionId string, stepId string, ...) *StepsPublishXunitXmlFilesCall
- type SuccessDetail
- type SuggestionClusterProto
- type SuggestionProto
- type TestCase
- type TestCaseReference
- type TestCasesGetCall
- func (c *TestCasesGetCall) Context(ctx context.Context) *TestCasesGetCall
- func (c *TestCasesGetCall) Do(opts ...googleapi.CallOption) (*TestCase, error)
- func (c *TestCasesGetCall) Fields(s ...googleapi.Field) *TestCasesGetCall
- func (c *TestCasesGetCall) Header() http.Header
- func (c *TestCasesGetCall) IfNoneMatch(entityTag string) *TestCasesGetCall
- type TestCasesListCall
- func (c *TestCasesListCall) Context(ctx context.Context) *TestCasesListCall
- func (c *TestCasesListCall) Do(opts ...googleapi.CallOption) (*ListTestCasesResponse, error)
- func (c *TestCasesListCall) Fields(s ...googleapi.Field) *TestCasesListCall
- func (c *TestCasesListCall) Header() http.Header
- func (c *TestCasesListCall) IfNoneMatch(entityTag string) *TestCasesListCall
- func (c *TestCasesListCall) PageSize(pageSize int64) *TestCasesListCall
- func (c *TestCasesListCall) PageToken(pageToken string) *TestCasesListCall
- func (c *TestCasesListCall) Pages(ctx context.Context, f func(*ListTestCasesResponse) error) error
- type TestCasesService
- type TestExecutionStep
- type TestIssue
- type TestSuiteOverview
- type TestTiming
- type Thumbnail
- type ThumbnailsListCall
- func (c *ThumbnailsListCall) Context(ctx context.Context) *ThumbnailsListCall
- func (c *ThumbnailsListCall) Do(opts ...googleapi.CallOption) (*ListStepThumbnailsResponse, error)
- func (c *ThumbnailsListCall) Fields(s ...googleapi.Field) *ThumbnailsListCall
- func (c *ThumbnailsListCall) Header() http.Header
- func (c *ThumbnailsListCall) IfNoneMatch(entityTag string) *ThumbnailsListCall
- func (c *ThumbnailsListCall) PageSize(pageSize int64) *ThumbnailsListCall
- func (c *ThumbnailsListCall) PageToken(pageToken string) *ThumbnailsListCall
- func (c *ThumbnailsListCall) Pages(ctx context.Context, f func(*ListStepThumbnailsResponse) error) error
- type ThumbnailsService
- type Timestamp
- type ToolExecution
- type ToolExecutionStep
- type ToolExitCode
- type ToolOutputReference
- type UIElementTooDeep
- type UnspecifiedWarning
- type UnusedRoboDirective
- type UpgradeInsight
- type UsedRoboDirective
- type UsedRoboIgnoreDirective
Constants ¶
const (
// View and manage your data across Google Cloud Platform services
CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"
)
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ANR ¶ added in v0.23.0
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:"-"` }
ANR: Additional details for an ANR crash.
func (*ANR) MarshalJSON ¶ added in v0.23.0
type AndroidAppInfo ¶
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:"-"` }
AndroidAppInfo: Android app information.
func (*AndroidAppInfo) MarshalJSON ¶
func (s *AndroidAppInfo) MarshalJSON() ([]byte, error)
type AndroidInstrumentationTest ¶
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:"-"` }
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.
func (*AndroidInstrumentationTest) MarshalJSON ¶
func (s *AndroidInstrumentationTest) MarshalJSON() ([]byte, error)
type AndroidRoboTest ¶
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:"-"` }
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.
func (*AndroidRoboTest) MarshalJSON ¶
func (s *AndroidRoboTest) MarshalJSON() ([]byte, error)
type AndroidTest ¶
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:"-"` }
AndroidTest: An Android mobile test specification.
func (*AndroidTest) MarshalJSON ¶
func (s *AndroidTest) MarshalJSON() ([]byte, error)
type AndroidTestLoop ¶ added in v0.23.0
type AndroidTestLoop struct { }
AndroidTestLoop: Test Loops are tests that can be launched by the app itself, determining when to run by listening for an intent. go/ftl-games-dd
type Any ¶
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:"-"` }
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" }
func (*Any) MarshalJSON ¶
type AppStartTime ¶
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 (*AppStartTime) MarshalJSON ¶
func (s *AppStartTime) MarshalJSON() ([]byte, error)
type AvailableDeepLinks ¶ added in v0.23.0
type AvailableDeepLinks struct { }
AvailableDeepLinks: A suggestion to use deep links for a Robo run.
type BasicPerfSampleSeries ¶
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:"-"` }
BasicPerfSampleSeries: Encapsulates the metadata for basic sample series represented by a line chart
func (*BasicPerfSampleSeries) MarshalJSON ¶
func (s *BasicPerfSampleSeries) MarshalJSON() ([]byte, error)
type BatchCreatePerfSamplesRequest ¶
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:"-"` }
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
func (*BatchCreatePerfSamplesRequest) MarshalJSON ¶
func (s *BatchCreatePerfSamplesRequest) MarshalJSON() ([]byte, error)
type BatchCreatePerfSamplesResponse ¶
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 (*BatchCreatePerfSamplesResponse) MarshalJSON ¶
func (s *BatchCreatePerfSamplesResponse) MarshalJSON() ([]byte, error)
type BlankScreen ¶ added in v0.23.0
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:"-"` }
BlankScreen: A warning that Robo encountered a screen that was mostly blank; this may indicate a problem with the app.
func (*BlankScreen) MarshalJSON ¶ added in v0.23.0
func (s *BlankScreen) MarshalJSON() ([]byte, error)
type CPUInfo ¶
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 (*CPUInfo) MarshalJSON ¶
func (*CPUInfo) UnmarshalJSON ¶
type ClustersGetCall ¶ added in v0.23.0
type ClustersGetCall struct {
// contains filtered or unexported fields
}
func (*ClustersGetCall) Context ¶ added in v0.23.0
func (c *ClustersGetCall) Context(ctx context.Context) *ClustersGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ClustersGetCall) Do ¶ added in v0.23.0
func (c *ClustersGetCall) Do(opts ...googleapi.CallOption) (*ScreenshotCluster, error)
Do executes the "toolresults.clusters.get" call. Exactly one of *ScreenshotCluster or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ScreenshotCluster.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ClustersGetCall) Fields ¶ added in v0.23.0
func (c *ClustersGetCall) Fields(s ...googleapi.Field) *ClustersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ClustersGetCall) Header ¶ added in v0.23.0
func (c *ClustersGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ClustersGetCall) IfNoneMatch ¶ added in v0.23.0
func (c *ClustersGetCall) IfNoneMatch(entityTag string) *ClustersGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ClustersListCall ¶ added in v0.23.0
type ClustersListCall struct {
// contains filtered or unexported fields
}
func (*ClustersListCall) Context ¶ added in v0.23.0
func (c *ClustersListCall) Context(ctx context.Context) *ClustersListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ClustersListCall) Do ¶ added in v0.23.0
func (c *ClustersListCall) Do(opts ...googleapi.CallOption) (*ListScreenshotClustersResponse, error)
Do executes the "toolresults.clusters.list" call. Exactly one of *ListScreenshotClustersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListScreenshotClustersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ClustersListCall) Fields ¶ added in v0.23.0
func (c *ClustersListCall) Fields(s ...googleapi.Field) *ClustersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ClustersListCall) Header ¶ added in v0.23.0
func (c *ClustersListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ClustersListCall) IfNoneMatch ¶ added in v0.23.0
func (c *ClustersListCall) IfNoneMatch(entityTag string) *ClustersListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ClustersService ¶ added in v0.23.0
type ClustersService struct {
// contains filtered or unexported fields
}
func NewClustersService ¶ added in v0.23.0
func NewClustersService(s *Service) *ClustersService
func (*ClustersService) Get ¶ added in v0.23.0
func (r *ClustersService) Get(projectId string, historyId string, executionId string, clusterId string) *ClustersGetCall
Get: Retrieves a single screenshot cluster by its ID
func (*ClustersService) List ¶ added in v0.23.0
func (r *ClustersService) List(projectId string, historyId string, executionId string) *ClustersListCall
List: Lists Screenshot Clusters
Returns the list of screenshot clusters corresponding to an execution. Screenshot clusters are created after the execution is finished. Clusters are created from a set of screenshots. Between any two screenshots, a matching score is calculated based off their metadata that determines how similar they are. Screenshots are placed in the cluster that has screens which have the highest matching scores.
type CrashDialogError ¶ added in v0.23.0
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:"-"` }
CrashDialogError: Crash dialog was detected during the test execution
func (*CrashDialogError) MarshalJSON ¶ added in v0.23.0
func (s *CrashDialogError) MarshalJSON() ([]byte, error)
type Duration ¶
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:"-"` }
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.
func (*Duration) MarshalJSON ¶
type EncounteredLoginScreen ¶ added in v0.23.0
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:"-"` }
EncounteredLoginScreen: Additional details about encountered login screens.
func (*EncounteredLoginScreen) MarshalJSON ¶ added in v0.23.0
func (s *EncounteredLoginScreen) MarshalJSON() ([]byte, error)
type EncounteredNonAndroidUiWidgetScreen ¶ added in v0.23.0
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:"-"` }
EncounteredNonAndroidUiWidgetScreen: Additional details about encountered screens with elements that are not Android UI widgets.
func (*EncounteredNonAndroidUiWidgetScreen) MarshalJSON ¶ added in v0.23.0
func (s *EncounteredNonAndroidUiWidgetScreen) MarshalJSON() ([]byte, error)
type Environment ¶ added in v0.15.0
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:"-"` }
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).
func (*Environment) MarshalJSON ¶ added in v0.15.0
func (s *Environment) MarshalJSON() ([]byte, error)
type EnvironmentDimensionValueEntry ¶ added in v0.15.0
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 (*EnvironmentDimensionValueEntry) MarshalJSON ¶ added in v0.15.0
func (s *EnvironmentDimensionValueEntry) MarshalJSON() ([]byte, error)
type EnvironmentsGetCall ¶ added in v0.23.0
type EnvironmentsGetCall struct {
// contains filtered or unexported fields
}
func (*EnvironmentsGetCall) Context ¶ added in v0.23.0
func (c *EnvironmentsGetCall) Context(ctx context.Context) *EnvironmentsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*EnvironmentsGetCall) Do ¶ added in v0.23.0
func (c *EnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*Environment, error)
Do executes the "toolresults.environments.get" call. Exactly one of *Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Environment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*EnvironmentsGetCall) Fields ¶ added in v0.23.0
func (c *EnvironmentsGetCall) Fields(s ...googleapi.Field) *EnvironmentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EnvironmentsGetCall) Header ¶ added in v0.23.0
func (c *EnvironmentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*EnvironmentsGetCall) IfNoneMatch ¶ added in v0.23.0
func (c *EnvironmentsGetCall) IfNoneMatch(entityTag string) *EnvironmentsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type EnvironmentsListCall ¶ added in v0.23.0
type EnvironmentsListCall struct {
// contains filtered or unexported fields
}
func (*EnvironmentsListCall) Context ¶ added in v0.23.0
func (c *EnvironmentsListCall) Context(ctx context.Context) *EnvironmentsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*EnvironmentsListCall) Do ¶ added in v0.23.0
func (c *EnvironmentsListCall) Do(opts ...googleapi.CallOption) (*ListEnvironmentsResponse, error)
Do executes the "toolresults.environments.list" call. Exactly one of *ListEnvironmentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListEnvironmentsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*EnvironmentsListCall) Fields ¶ added in v0.23.0
func (c *EnvironmentsListCall) Fields(s ...googleapi.Field) *EnvironmentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EnvironmentsListCall) Header ¶ added in v0.23.0
func (c *EnvironmentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*EnvironmentsListCall) IfNoneMatch ¶ added in v0.23.0
func (c *EnvironmentsListCall) IfNoneMatch(entityTag string) *EnvironmentsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*EnvironmentsListCall) PageSize ¶ added in v0.23.0
func (c *EnvironmentsListCall) PageSize(pageSize int64) *EnvironmentsListCall
PageSize sets the optional parameter "pageSize": The maximum number of Environments to fetch.
Default value: 25. The server will use this default if the field is not set or has a value of 0.
func (*EnvironmentsListCall) PageToken ¶ added in v0.23.0
func (c *EnvironmentsListCall) PageToken(pageToken string) *EnvironmentsListCall
PageToken sets the optional parameter "pageToken": A continuation token to resume the query at the next item.
func (*EnvironmentsListCall) Pages ¶ added in v0.23.0
func (c *EnvironmentsListCall) Pages(ctx context.Context, f func(*ListEnvironmentsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type EnvironmentsService ¶ added in v0.23.0
type EnvironmentsService struct {
// contains filtered or unexported fields
}
func NewEnvironmentsService ¶ added in v0.23.0
func NewEnvironmentsService(s *Service) *EnvironmentsService
func (*EnvironmentsService) Get ¶ added in v0.23.0
func (r *EnvironmentsService) Get(projectId string, historyId string, executionId string, environmentId string) *EnvironmentsGetCall
Get: Gets an Environment.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Environment does not exist
func (*EnvironmentsService) List ¶ added in v0.23.0
func (r *EnvironmentsService) List(projectId string, historyId string, executionId string) *EnvironmentsListCall
List: Lists Environments for a given Execution.
The Environments are sorted by display name.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Execution does not exist
type Execution ¶
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:"-"` }
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.
func (*Execution) MarshalJSON ¶
type ExecutionsCreateCall ¶ added in v0.23.0
type ExecutionsCreateCall struct {
// contains filtered or unexported fields
}
func (*ExecutionsCreateCall) Context ¶ added in v0.23.0
func (c *ExecutionsCreateCall) Context(ctx context.Context) *ExecutionsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ExecutionsCreateCall) Do ¶ added in v0.23.0
func (c *ExecutionsCreateCall) Do(opts ...googleapi.CallOption) (*Execution, error)
Do executes the "toolresults.executions.create" call. Exactly one of *Execution or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Execution.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ExecutionsCreateCall) Fields ¶ added in v0.23.0
func (c *ExecutionsCreateCall) Fields(s ...googleapi.Field) *ExecutionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ExecutionsCreateCall) Header ¶ added in v0.23.0
func (c *ExecutionsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ExecutionsCreateCall) RequestId ¶ added in v0.23.0
func (c *ExecutionsCreateCall) RequestId(requestId string) *ExecutionsCreateCall
RequestId sets the optional parameter "requestId": A unique request ID for server to detect duplicated requests. For example, a UUID.
Optional, but strongly recommended.
type ExecutionsGetCall ¶ added in v0.23.0
type ExecutionsGetCall struct {
// contains filtered or unexported fields
}
func (*ExecutionsGetCall) Context ¶ added in v0.23.0
func (c *ExecutionsGetCall) Context(ctx context.Context) *ExecutionsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ExecutionsGetCall) Do ¶ added in v0.23.0
func (c *ExecutionsGetCall) Do(opts ...googleapi.CallOption) (*Execution, error)
Do executes the "toolresults.executions.get" call. Exactly one of *Execution or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Execution.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ExecutionsGetCall) Fields ¶ added in v0.23.0
func (c *ExecutionsGetCall) Fields(s ...googleapi.Field) *ExecutionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ExecutionsGetCall) Header ¶ added in v0.23.0
func (c *ExecutionsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ExecutionsGetCall) IfNoneMatch ¶ added in v0.23.0
func (c *ExecutionsGetCall) IfNoneMatch(entityTag string) *ExecutionsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ExecutionsListCall ¶ added in v0.23.0
type ExecutionsListCall struct {
// contains filtered or unexported fields
}
func (*ExecutionsListCall) Context ¶ added in v0.23.0
func (c *ExecutionsListCall) Context(ctx context.Context) *ExecutionsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ExecutionsListCall) Do ¶ added in v0.23.0
func (c *ExecutionsListCall) Do(opts ...googleapi.CallOption) (*ListExecutionsResponse, error)
Do executes the "toolresults.executions.list" call. Exactly one of *ListExecutionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListExecutionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ExecutionsListCall) Fields ¶ added in v0.23.0
func (c *ExecutionsListCall) Fields(s ...googleapi.Field) *ExecutionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ExecutionsListCall) Header ¶ added in v0.23.0
func (c *ExecutionsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ExecutionsListCall) IfNoneMatch ¶ added in v0.23.0
func (c *ExecutionsListCall) IfNoneMatch(entityTag string) *ExecutionsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ExecutionsListCall) PageSize ¶ added in v0.23.0
func (c *ExecutionsListCall) PageSize(pageSize int64) *ExecutionsListCall
PageSize sets the optional parameter "pageSize": The maximum number of Executions to fetch.
Default value: 25. The server will use this default if the field is not set or has a value of 0.
func (*ExecutionsListCall) PageToken ¶ added in v0.23.0
func (c *ExecutionsListCall) PageToken(pageToken string) *ExecutionsListCall
PageToken sets the optional parameter "pageToken": A continuation token to resume the query at the next item.
func (*ExecutionsListCall) Pages ¶ added in v0.23.0
func (c *ExecutionsListCall) Pages(ctx context.Context, f func(*ListExecutionsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ExecutionsPatchCall ¶ added in v0.23.0
type ExecutionsPatchCall struct {
// contains filtered or unexported fields
}
func (*ExecutionsPatchCall) Context ¶ added in v0.23.0
func (c *ExecutionsPatchCall) Context(ctx context.Context) *ExecutionsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ExecutionsPatchCall) Do ¶ added in v0.23.0
func (c *ExecutionsPatchCall) Do(opts ...googleapi.CallOption) (*Execution, error)
Do executes the "toolresults.executions.patch" call. Exactly one of *Execution or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Execution.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ExecutionsPatchCall) Fields ¶ added in v0.23.0
func (c *ExecutionsPatchCall) Fields(s ...googleapi.Field) *ExecutionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ExecutionsPatchCall) Header ¶ added in v0.23.0
func (c *ExecutionsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ExecutionsPatchCall) RequestId ¶ added in v0.23.0
func (c *ExecutionsPatchCall) RequestId(requestId string) *ExecutionsPatchCall
RequestId sets the optional parameter "requestId": A unique request ID for server to detect duplicated requests. For example, a UUID.
Optional, but strongly recommended.
type ExecutionsService ¶ added in v0.23.0
type ExecutionsService struct {
// contains filtered or unexported fields
}
func NewExecutionsService ¶ added in v0.23.0
func NewExecutionsService(s *Service) *ExecutionsService
func (*ExecutionsService) Create ¶ added in v0.23.0
func (r *ExecutionsService) Create(projectId string, historyId string, execution *Execution) *ExecutionsCreateCall
Create: Creates an Execution.
The returned Execution will have the id set.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing History does not exist
func (*ExecutionsService) Get ¶ added in v0.23.0
func (r *ExecutionsService) Get(projectId string, historyId string, executionId string) *ExecutionsGetCall
Get: Gets an Execution.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Execution does not exist
func (*ExecutionsService) List ¶ added in v0.23.0
func (r *ExecutionsService) List(projectId string, historyId string) *ExecutionsListCall
List: Lists Executions for a given History.
The executions are sorted by creation_time in descending order. The execution_id key will be used to order the executions with the same creation_time.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing History does not exist
func (*ExecutionsService) Patch ¶ added in v0.23.0
func (r *ExecutionsService) Patch(projectId string, historyId string, executionId string, execution *Execution) *ExecutionsPatchCall
Patch: Updates an existing Execution with the supplied partial entity.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested state transition is illegal - NOT_FOUND - if the containing History does not exist
type FailedToInstall ¶ added in v0.23.0
type FailedToInstall struct { }
FailedToInstall: Failed to install the APK.
type FailureDetail ¶
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:"-"` }
FailureDetail: Details for an outcome with a FAILURE outcome summary.
func (*FailureDetail) MarshalJSON ¶
func (s *FailureDetail) MarshalJSON() ([]byte, error)
type FatalException ¶ added in v0.23.0
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:"-"` }
FatalException: Additional details for a fatal exception.
func (*FatalException) MarshalJSON ¶ added in v0.23.0
func (s *FatalException) MarshalJSON() ([]byte, error)
type FileReference ¶
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:"-"` }
FileReference: A reference to a file.
func (*FileReference) MarshalJSON ¶
func (s *FileReference) MarshalJSON() ([]byte, error)
type GraphicsStats ¶
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:"-"` }
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+.
func (*GraphicsStats) MarshalJSON ¶
func (s *GraphicsStats) MarshalJSON() ([]byte, error)
type GraphicsStatsBucket ¶
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 (*GraphicsStatsBucket) MarshalJSON ¶
func (s *GraphicsStatsBucket) MarshalJSON() ([]byte, error)
type HistoriesCreateCall ¶ added in v0.23.0
type HistoriesCreateCall struct {
// contains filtered or unexported fields
}
func (*HistoriesCreateCall) Context ¶ added in v0.23.0
func (c *HistoriesCreateCall) Context(ctx context.Context) *HistoriesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*HistoriesCreateCall) Do ¶ added in v0.23.0
func (c *HistoriesCreateCall) Do(opts ...googleapi.CallOption) (*History, error)
Do executes the "toolresults.histories.create" call. Exactly one of *History or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *History.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*HistoriesCreateCall) Fields ¶ added in v0.23.0
func (c *HistoriesCreateCall) Fields(s ...googleapi.Field) *HistoriesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HistoriesCreateCall) Header ¶ added in v0.23.0
func (c *HistoriesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HistoriesCreateCall) RequestId ¶ added in v0.23.0
func (c *HistoriesCreateCall) RequestId(requestId string) *HistoriesCreateCall
RequestId sets the optional parameter "requestId": A unique request ID for server to detect duplicated requests. For example, a UUID.
Optional, but strongly recommended.
type HistoriesGetCall ¶ added in v0.23.0
type HistoriesGetCall struct {
// contains filtered or unexported fields
}
func (*HistoriesGetCall) Context ¶ added in v0.23.0
func (c *HistoriesGetCall) Context(ctx context.Context) *HistoriesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*HistoriesGetCall) Do ¶ added in v0.23.0
func (c *HistoriesGetCall) Do(opts ...googleapi.CallOption) (*History, error)
Do executes the "toolresults.histories.get" call. Exactly one of *History or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *History.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*HistoriesGetCall) Fields ¶ added in v0.23.0
func (c *HistoriesGetCall) Fields(s ...googleapi.Field) *HistoriesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HistoriesGetCall) Header ¶ added in v0.23.0
func (c *HistoriesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HistoriesGetCall) IfNoneMatch ¶ added in v0.23.0
func (c *HistoriesGetCall) IfNoneMatch(entityTag string) *HistoriesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type HistoriesListCall ¶ added in v0.23.0
type HistoriesListCall struct {
// contains filtered or unexported fields
}
func (*HistoriesListCall) Context ¶ added in v0.23.0
func (c *HistoriesListCall) Context(ctx context.Context) *HistoriesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*HistoriesListCall) Do ¶ added in v0.23.0
func (c *HistoriesListCall) Do(opts ...googleapi.CallOption) (*ListHistoriesResponse, error)
Do executes the "toolresults.histories.list" call. Exactly one of *ListHistoriesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListHistoriesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*HistoriesListCall) Fields ¶ added in v0.23.0
func (c *HistoriesListCall) Fields(s ...googleapi.Field) *HistoriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HistoriesListCall) FilterByName ¶ added in v0.23.0
func (c *HistoriesListCall) FilterByName(filterByName string) *HistoriesListCall
FilterByName sets the optional parameter "filterByName": If set, only return histories with the given name.
func (*HistoriesListCall) Header ¶ added in v0.23.0
func (c *HistoriesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HistoriesListCall) IfNoneMatch ¶ added in v0.23.0
func (c *HistoriesListCall) IfNoneMatch(entityTag string) *HistoriesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*HistoriesListCall) PageSize ¶ added in v0.23.0
func (c *HistoriesListCall) PageSize(pageSize int64) *HistoriesListCall
PageSize sets the optional parameter "pageSize": The maximum number of Histories to fetch.
Default value: 20. The server will use this default if the field is not set or has a value of 0. Any value greater than 100 will be treated as 100.
func (*HistoriesListCall) PageToken ¶ added in v0.23.0
func (c *HistoriesListCall) PageToken(pageToken string) *HistoriesListCall
PageToken sets the optional parameter "pageToken": A continuation token to resume the query at the next item.
func (*HistoriesListCall) Pages ¶ added in v0.23.0
func (c *HistoriesListCall) Pages(ctx context.Context, f func(*ListHistoriesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type HistoriesService ¶ added in v0.23.0
type HistoriesService struct {
// contains filtered or unexported fields
}
func NewHistoriesService ¶ added in v0.23.0
func NewHistoriesService(s *Service) *HistoriesService
func (*HistoriesService) Create ¶ added in v0.23.0
func (r *HistoriesService) Create(projectId string, history *History) *HistoriesCreateCall
Create: Creates a History.
The returned History will have the id set.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing project does not exist
func (*HistoriesService) Get ¶ added in v0.23.0
func (r *HistoriesService) Get(projectId string, historyId string) *HistoriesGetCall
Get: Gets a History.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History does not exist
func (*HistoriesService) List ¶ added in v0.23.0
func (r *HistoriesService) List(projectId string) *HistoriesListCall
List: Lists Histories for a given Project.
The histories are sorted by modification time in descending order. The history_id key will be used to order the history with the same modification time.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History does not exist
type History ¶
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"` // 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:"-"` }
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.
func (*History) MarshalJSON ¶
type Image ¶
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:"-"` }
Image: An image, with a link to the main image and a thumbnail.
func (*Image) MarshalJSON ¶
type InAppPurchasesFound ¶ added in v0.23.0
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:"-"` }
InAppPurchasesFound: Additional details of in-app purchases encountered during the crawl.
func (*InAppPurchasesFound) MarshalJSON ¶ added in v0.23.0
func (s *InAppPurchasesFound) MarshalJSON() ([]byte, error)
type InconclusiveDetail ¶
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:"-"` }
InconclusiveDetail: Details for an outcome with an INCONCLUSIVE outcome summary.
func (*InconclusiveDetail) MarshalJSON ¶
func (s *InconclusiveDetail) MarshalJSON() ([]byte, error)
type IndividualOutcome ¶ added in v0.2.0
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:"-"` }
IndividualOutcome: Step Id and outcome of each individual step that was run as a group with other steps with the same configuration.
func (*IndividualOutcome) MarshalJSON ¶ added in v0.2.0
func (s *IndividualOutcome) MarshalJSON() ([]byte, error)
type InsufficientCoverage ¶ added in v0.23.0
type InsufficientCoverage struct { }
InsufficientCoverage: A warning that Robo did not crawl potentially important parts of the app.
type IosAppCrashed ¶ added in v0.23.0
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:"-"` }
IosAppCrashed: Additional details for an iOS app crash.
func (*IosAppCrashed) MarshalJSON ¶ added in v0.23.0
func (s *IosAppCrashed) MarshalJSON() ([]byte, error)
type LauncherActivityNotFound ¶ added in v0.23.0
type LauncherActivityNotFound struct { }
LauncherActivityNotFound: Failed to find the launcher activity of an app.
type ListEnvironmentsResponse ¶ added in v0.15.0
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:"-"` }
ListEnvironmentsResponse: Response message for EnvironmentService.ListEnvironments.
func (*ListEnvironmentsResponse) MarshalJSON ¶ added in v0.15.0
func (s *ListEnvironmentsResponse) MarshalJSON() ([]byte, error)
type ListExecutionsResponse ¶
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 (*ListExecutionsResponse) MarshalJSON ¶
func (s *ListExecutionsResponse) MarshalJSON() ([]byte, error)
type ListHistoriesResponse ¶
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:"-"` }
ListHistoriesResponse: Response message for HistoryService.List
func (*ListHistoriesResponse) MarshalJSON ¶
func (s *ListHistoriesResponse) MarshalJSON() ([]byte, error)
type ListPerfSampleSeriesResponse ¶
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 (*ListPerfSampleSeriesResponse) MarshalJSON ¶
func (s *ListPerfSampleSeriesResponse) MarshalJSON() ([]byte, error)
type ListPerfSamplesResponse ¶
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 (*ListPerfSamplesResponse) MarshalJSON ¶
func (s *ListPerfSamplesResponse) MarshalJSON() ([]byte, error)
type ListScreenshotClustersResponse ¶
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 (*ListScreenshotClustersResponse) MarshalJSON ¶
func (s *ListScreenshotClustersResponse) MarshalJSON() ([]byte, error)
type ListStepAccessibilityClustersResponse ¶ added in v0.22.0
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:"-"` }
ListStepAccessibilityClustersResponse: Response message for AccessibilityService.ListStepAccessibilityClusters.
func (*ListStepAccessibilityClustersResponse) MarshalJSON ¶ added in v0.22.0
func (s *ListStepAccessibilityClustersResponse) MarshalJSON() ([]byte, error)
type ListStepThumbnailsResponse ¶
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:"-"` }
ListStepThumbnailsResponse: A response containing the thumbnails in a step.
func (*ListStepThumbnailsResponse) MarshalJSON ¶
func (s *ListStepThumbnailsResponse) MarshalJSON() ([]byte, error)
type ListStepsResponse ¶
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:"-"` }
ListStepsResponse: Response message for StepService.List.
func (*ListStepsResponse) MarshalJSON ¶
func (s *ListStepsResponse) MarshalJSON() ([]byte, error)
type ListTestCasesResponse ¶ added in v0.4.0
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:"-"` }
ListTestCasesResponse: Response message for StepService.ListTestCases.
func (*ListTestCasesResponse) MarshalJSON ¶ added in v0.4.0
func (s *ListTestCasesResponse) MarshalJSON() ([]byte, error)
type MatrixDimensionDefinition ¶ added in v0.23.0
type MatrixDimensionDefinition struct { }
MatrixDimensionDefinition: One dimension of the matrix of different runs of a step.
type MemoryInfo ¶
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 (*MemoryInfo) MarshalJSON ¶
func (s *MemoryInfo) MarshalJSON() ([]byte, error)
type MergedResult ¶ added in v0.15.0
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:"-"` }
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.
func (*MergedResult) MarshalJSON ¶ added in v0.15.0
func (s *MergedResult) MarshalJSON() ([]byte, error)
type MultiStep ¶ added in v0.2.0
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:"-"` }
MultiStep: Details when multiple steps are run with the same configuration as a group.
func (*MultiStep) MarshalJSON ¶ added in v0.2.0
type NativeCrash ¶ added in v0.23.0
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:"-"` }
NativeCrash: Additional details for a native crash.
func (*NativeCrash) MarshalJSON ¶ added in v0.23.0
func (s *NativeCrash) MarshalJSON() ([]byte, error)
type NonSdkApi ¶ added in v0.23.0
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:"-"` }
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
func (*NonSdkApi) MarshalJSON ¶ added in v0.23.0
type NonSdkApiInsight ¶ added in v0.23.0
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:"-"` }
NonSdkApiInsight: Non-SDK API insights (to address debugging solutions).
func (*NonSdkApiInsight) MarshalJSON ¶ added in v0.23.0
func (s *NonSdkApiInsight) MarshalJSON() ([]byte, error)
type NonSdkApiUsageViolation ¶ added in v0.23.0
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:"-"` }
NonSdkApiUsageViolation: Additional details for a non-sdk API usage violation.
func (*NonSdkApiUsageViolation) MarshalJSON ¶ added in v0.23.0
func (s *NonSdkApiUsageViolation) MarshalJSON() ([]byte, error)
type NonSdkApiUsageViolationReport ¶ added in v0.23.0
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:"-"` }
NonSdkApiUsageViolationReport: Contains a summary and examples of non-sdk API usage violations.
func (*NonSdkApiUsageViolationReport) MarshalJSON ¶ added in v0.23.0
func (s *NonSdkApiUsageViolationReport) MarshalJSON() ([]byte, error)
type Outcome ¶
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:"-"` }
Outcome: Interprets a result so that humans and machines can act on it.
func (*Outcome) MarshalJSON ¶
type OverlappingUIElements ¶ added in v0.23.0
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:"-"` }
OverlappingUIElements: A warning that Robo encountered a screen that has overlapping clickable elements; this may indicate a potential UI issue.
func (*OverlappingUIElements) MarshalJSON ¶ added in v0.23.0
func (s *OverlappingUIElements) MarshalJSON() ([]byte, error)
type PendingGoogleUpdateInsight ¶ added in v0.23.0
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:"-"` }
PendingGoogleUpdateInsight: This insight indicates that the hidden API usage originates from a Google-provided library. Users need not take any action.
func (*PendingGoogleUpdateInsight) MarshalJSON ¶ added in v0.23.0
func (s *PendingGoogleUpdateInsight) MarshalJSON() ([]byte, error)
type PerfEnvironment ¶
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:"-"` }
PerfEnvironment: Encapsulates performance environment info
func (*PerfEnvironment) MarshalJSON ¶
func (s *PerfEnvironment) MarshalJSON() ([]byte, error)
type PerfMetricsSummary ¶
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:"-"` }
PerfMetricsSummary: A summary of perf metrics collected and performance environment info
func (*PerfMetricsSummary) MarshalJSON ¶
func (s *PerfMetricsSummary) MarshalJSON() ([]byte, error)
type PerfMetricsSummaryCreateCall ¶ added in v0.23.0
type PerfMetricsSummaryCreateCall struct {
// contains filtered or unexported fields
}
func (*PerfMetricsSummaryCreateCall) Context ¶ added in v0.23.0
func (c *PerfMetricsSummaryCreateCall) Context(ctx context.Context) *PerfMetricsSummaryCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PerfMetricsSummaryCreateCall) Do ¶ added in v0.23.0
func (c *PerfMetricsSummaryCreateCall) Do(opts ...googleapi.CallOption) (*PerfMetricsSummary, error)
Do executes the "toolresults.perfMetricsSummary.create" call. Exactly one of *PerfMetricsSummary or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PerfMetricsSummary.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PerfMetricsSummaryCreateCall) Fields ¶ added in v0.23.0
func (c *PerfMetricsSummaryCreateCall) Fields(s ...googleapi.Field) *PerfMetricsSummaryCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PerfMetricsSummaryCreateCall) Header ¶ added in v0.23.0
func (c *PerfMetricsSummaryCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PerfMetricsSummaryService ¶ added in v0.23.0
type PerfMetricsSummaryService struct {
// contains filtered or unexported fields
}
func NewPerfMetricsSummaryService ¶ added in v0.23.0
func NewPerfMetricsSummaryService(s *Service) *PerfMetricsSummaryService
func (*PerfMetricsSummaryService) Create ¶ added in v0.23.0
func (r *PerfMetricsSummaryService) Create(projectId string, historyId string, executionId string, stepId string, perfmetricssummary *PerfMetricsSummary) *PerfMetricsSummaryCreateCall
Create: Creates a PerfMetricsSummary resource. Returns the existing one if it has already been created.
May return any of the following error code(s): - NOT_FOUND - The containing Step does not exist
type PerfSample ¶
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:"-"` }
PerfSample: Resource representing a single performance measure or data point
func (*PerfSample) MarshalJSON ¶
func (s *PerfSample) MarshalJSON() ([]byte, error)
func (*PerfSample) UnmarshalJSON ¶
func (s *PerfSample) UnmarshalJSON(data []byte) error
type PerfSampleSeries ¶
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:"-"` }
PerfSampleSeries: Resource representing a collection of performance samples (or data points)
func (*PerfSampleSeries) MarshalJSON ¶
func (s *PerfSampleSeries) MarshalJSON() ([]byte, error)
type PerfSampleSeriesCreateCall ¶ added in v0.23.0
type PerfSampleSeriesCreateCall struct {
// contains filtered or unexported fields
}
func (*PerfSampleSeriesCreateCall) Context ¶ added in v0.23.0
func (c *PerfSampleSeriesCreateCall) Context(ctx context.Context) *PerfSampleSeriesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PerfSampleSeriesCreateCall) Do ¶ added in v0.23.0
func (c *PerfSampleSeriesCreateCall) Do(opts ...googleapi.CallOption) (*PerfSampleSeries, error)
Do executes the "toolresults.perfSampleSeries.create" call. Exactly one of *PerfSampleSeries or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PerfSampleSeries.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PerfSampleSeriesCreateCall) Fields ¶ added in v0.23.0
func (c *PerfSampleSeriesCreateCall) Fields(s ...googleapi.Field) *PerfSampleSeriesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PerfSampleSeriesCreateCall) Header ¶ added in v0.23.0
func (c *PerfSampleSeriesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PerfSampleSeriesGetCall ¶ added in v0.23.0
type PerfSampleSeriesGetCall struct {
// contains filtered or unexported fields
}
func (*PerfSampleSeriesGetCall) Context ¶ added in v0.23.0
func (c *PerfSampleSeriesGetCall) Context(ctx context.Context) *PerfSampleSeriesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PerfSampleSeriesGetCall) Do ¶ added in v0.23.0
func (c *PerfSampleSeriesGetCall) Do(opts ...googleapi.CallOption) (*PerfSampleSeries, error)
Do executes the "toolresults.perfSampleSeries.get" call. Exactly one of *PerfSampleSeries or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PerfSampleSeries.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PerfSampleSeriesGetCall) Fields ¶ added in v0.23.0
func (c *PerfSampleSeriesGetCall) Fields(s ...googleapi.Field) *PerfSampleSeriesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PerfSampleSeriesGetCall) Header ¶ added in v0.23.0
func (c *PerfSampleSeriesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PerfSampleSeriesGetCall) IfNoneMatch ¶ added in v0.23.0
func (c *PerfSampleSeriesGetCall) IfNoneMatch(entityTag string) *PerfSampleSeriesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type PerfSampleSeriesListCall ¶ added in v0.23.0
type PerfSampleSeriesListCall struct {
// contains filtered or unexported fields
}
func (*PerfSampleSeriesListCall) Context ¶ added in v0.23.0
func (c *PerfSampleSeriesListCall) Context(ctx context.Context) *PerfSampleSeriesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PerfSampleSeriesListCall) Do ¶ added in v0.23.0
func (c *PerfSampleSeriesListCall) Do(opts ...googleapi.CallOption) (*ListPerfSampleSeriesResponse, error)
Do executes the "toolresults.perfSampleSeries.list" call. Exactly one of *ListPerfSampleSeriesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListPerfSampleSeriesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PerfSampleSeriesListCall) Fields ¶ added in v0.23.0
func (c *PerfSampleSeriesListCall) Fields(s ...googleapi.Field) *PerfSampleSeriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PerfSampleSeriesListCall) Filter ¶ added in v0.23.0
func (c *PerfSampleSeriesListCall) Filter(filter ...string) *PerfSampleSeriesListCall
Filter sets the optional parameter "filter": Specify one or more PerfMetricType values such as CPU to filter the result
Possible values:
"PERF_METRIC_TYPE_UNSPECIFIED" "MEMORY" "CPU" "NETWORK" "GRAPHICS"
func (*PerfSampleSeriesListCall) Header ¶ added in v0.23.0
func (c *PerfSampleSeriesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PerfSampleSeriesListCall) IfNoneMatch ¶ added in v0.23.0
func (c *PerfSampleSeriesListCall) IfNoneMatch(entityTag string) *PerfSampleSeriesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type PerfSampleSeriesService ¶ added in v0.23.0
type PerfSampleSeriesService struct {
// contains filtered or unexported fields
}
func NewPerfSampleSeriesService ¶ added in v0.23.0
func NewPerfSampleSeriesService(s *Service) *PerfSampleSeriesService
func (*PerfSampleSeriesService) Create ¶ added in v0.23.0
func (r *PerfSampleSeriesService) Create(projectId string, historyId string, executionId string, stepId string, perfsampleseries *PerfSampleSeries) *PerfSampleSeriesCreateCall
Create: Creates a PerfSampleSeries.
May return any of the following error code(s): - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step - NOT_FOUND - The containing Step does not exist
func (*PerfSampleSeriesService) Get ¶ added in v0.23.0
func (r *PerfSampleSeriesService) Get(projectId string, historyId string, executionId string, stepId string, sampleSeriesId string) *PerfSampleSeriesGetCall
Get: Gets a PerfSampleSeries.
May return any of the following error code(s): - NOT_FOUND - The specified PerfSampleSeries does not exist
func (*PerfSampleSeriesService) List ¶ added in v0.23.0
func (r *PerfSampleSeriesService) List(projectId string, historyId string, executionId string, stepId string) *PerfSampleSeriesListCall
List: Lists PerfSampleSeries for a given Step.
The request provides an optional filter which specifies one or more PerfMetricsType to include in the result; if none returns all. The resulting PerfSampleSeries are sorted by ids.
May return any of the following canonical error codes: - NOT_FOUND - The containing Step does not exist
type PerformedGoogleLogin ¶ added in v0.23.0
type PerformedGoogleLogin struct { }
PerformedGoogleLogin: A notification that Robo signed in with Google.
type PerformedMonkeyActions ¶ added in v0.23.0
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:"-"` }
PerformedMonkeyActions: A notification that Robo performed some monkey actions.
func (*PerformedMonkeyActions) MarshalJSON ¶ added in v0.23.0
func (s *PerformedMonkeyActions) MarshalJSON() ([]byte, error)
type PrimaryStep ¶ added in v0.2.0
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:"-"` }
PrimaryStep: Stores rollup test status of multiple steps that were run as a group and outcome of each individual step.
func (*PrimaryStep) MarshalJSON ¶ added in v0.2.0
func (s *PrimaryStep) MarshalJSON() ([]byte, error)
type ProjectSettings ¶
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:"-"` }
ProjectSettings: Per-project settings for the Tool Results service.
func (*ProjectSettings) MarshalJSON ¶
func (s *ProjectSettings) MarshalJSON() ([]byte, error)
type ProjectsGetSettingsCall ¶
type ProjectsGetSettingsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsGetSettingsCall) Context ¶
func (c *ProjectsGetSettingsCall) Context(ctx context.Context) *ProjectsGetSettingsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsGetSettingsCall) Do ¶
func (c *ProjectsGetSettingsCall) Do(opts ...googleapi.CallOption) (*ProjectSettings, error)
Do executes the "toolresults.projects.getSettings" call. Exactly one of *ProjectSettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ProjectSettings.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsGetSettingsCall) Fields ¶
func (c *ProjectsGetSettingsCall) Fields(s ...googleapi.Field) *ProjectsGetSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsGetSettingsCall) Header ¶
func (c *ProjectsGetSettingsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsGetSettingsCall) IfNoneMatch ¶
func (c *ProjectsGetSettingsCall) IfNoneMatch(entityTag string) *ProjectsGetSettingsCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsInitializeSettingsCall ¶
type ProjectsInitializeSettingsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsInitializeSettingsCall) Context ¶
func (c *ProjectsInitializeSettingsCall) Context(ctx context.Context) *ProjectsInitializeSettingsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsInitializeSettingsCall) Do ¶
func (c *ProjectsInitializeSettingsCall) Do(opts ...googleapi.CallOption) (*ProjectSettings, error)
Do executes the "toolresults.projects.initializeSettings" call. Exactly one of *ProjectSettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ProjectSettings.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsInitializeSettingsCall) Fields ¶
func (c *ProjectsInitializeSettingsCall) Fields(s ...googleapi.Field) *ProjectsInitializeSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsInitializeSettingsCall) Header ¶
func (c *ProjectsInitializeSettingsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsService ¶
type ProjectsService struct {
// contains filtered or unexported fields
}
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
func (*ProjectsService) GetSettings ¶
func (r *ProjectsService) GetSettings(projectId string) *ProjectsGetSettingsCall
GetSettings: Gets the Tool Results settings for a project.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to read from project
func (*ProjectsService) InitializeSettings ¶
func (r *ProjectsService) InitializeSettings(projectId string) *ProjectsInitializeSettingsCall
InitializeSettings: Creates resources for settings which have not yet been set.
Currently, this creates a single resource: a Google Cloud Storage bucket, to be used as the default bucket for this project. The bucket is created in an FTL-own storage project. Except for in rare cases, calling this method in parallel from multiple clients will only create a single bucket. In order to avoid unnecessary storage charges, the bucket is configured to automatically delete objects older than 90 days.
The bucket is created with the following permissions: - Owner access for owners of central storage project (FTL-owned) - Writer access for owners/editors of customer project - Reader access for viewers of customer project The default ACL on objects created in the bucket is: - Owner access for owners of central storage project - Reader access for owners/editors/viewers of customer project See Google Cloud Storage documentation for more details.
If there is already a default bucket set and the project can access the bucket, this call does nothing. However, if the project doesn't have the permission to access the bucket or the bucket is deleted, a new bucket will be created.
May return any canonical error codes, including the following:
- PERMISSION_DENIED - if the user is not authorized to write to project - Any error code raised by Google Cloud Storage
type PublishXunitXmlFilesRequest ¶
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:"-"` }
PublishXunitXmlFilesRequest: Request message for StepService.PublishXunitXmlFiles.
func (*PublishXunitXmlFilesRequest) MarshalJSON ¶
func (s *PublishXunitXmlFilesRequest) MarshalJSON() ([]byte, error)
type RegionProto ¶ added in v0.22.0
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:"-"` }
RegionProto: A rectangular region.
func (*RegionProto) MarshalJSON ¶ added in v0.22.0
func (s *RegionProto) MarshalJSON() ([]byte, error)
type ResultsStorage ¶ added in v0.15.0
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:"-"` }
ResultsStorage: The storage for test results.
func (*ResultsStorage) MarshalJSON ¶ added in v0.15.0
func (s *ResultsStorage) MarshalJSON() ([]byte, error)
type RoboScriptExecution ¶ added in v0.23.0
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:"-"` }
RoboScriptExecution: Execution stats for a user-provided Robo script.
func (*RoboScriptExecution) MarshalJSON ¶ added in v0.23.0
func (s *RoboScriptExecution) MarshalJSON() ([]byte, error)
type SafeHtmlProto ¶ added in v0.22.0
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:"-"` }
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.
func (*SafeHtmlProto) MarshalJSON ¶ added in v0.22.0
func (s *SafeHtmlProto) MarshalJSON() ([]byte, error)
type SamplesBatchCreateCall ¶ added in v0.23.0
type SamplesBatchCreateCall struct {
// contains filtered or unexported fields
}
func (*SamplesBatchCreateCall) Context ¶ added in v0.23.0
func (c *SamplesBatchCreateCall) Context(ctx context.Context) *SamplesBatchCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*SamplesBatchCreateCall) Do ¶ added in v0.23.0
func (c *SamplesBatchCreateCall) Do(opts ...googleapi.CallOption) (*BatchCreatePerfSamplesResponse, error)
Do executes the "toolresults.samples.batchCreate" call. Exactly one of *BatchCreatePerfSamplesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *BatchCreatePerfSamplesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*SamplesBatchCreateCall) Fields ¶ added in v0.23.0
func (c *SamplesBatchCreateCall) Fields(s ...googleapi.Field) *SamplesBatchCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SamplesBatchCreateCall) Header ¶ added in v0.23.0
func (c *SamplesBatchCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type SamplesListCall ¶ added in v0.23.0
type SamplesListCall struct {
// contains filtered or unexported fields
}
func (*SamplesListCall) Context ¶ added in v0.23.0
func (c *SamplesListCall) Context(ctx context.Context) *SamplesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*SamplesListCall) Do ¶ added in v0.23.0
func (c *SamplesListCall) Do(opts ...googleapi.CallOption) (*ListPerfSamplesResponse, error)
Do executes the "toolresults.samples.list" call. Exactly one of *ListPerfSamplesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListPerfSamplesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*SamplesListCall) Fields ¶ added in v0.23.0
func (c *SamplesListCall) Fields(s ...googleapi.Field) *SamplesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*SamplesListCall) Header ¶ added in v0.23.0
func (c *SamplesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*SamplesListCall) IfNoneMatch ¶ added in v0.23.0
func (c *SamplesListCall) IfNoneMatch(entityTag string) *SamplesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*SamplesListCall) PageSize ¶ added in v0.23.0
func (c *SamplesListCall) PageSize(pageSize int64) *SamplesListCall
PageSize sets the optional parameter "pageSize": The default page size is 500 samples, and the maximum size is 5000. If the page_size is greater than 5000, the effective page size will be 5000
func (*SamplesListCall) PageToken ¶ added in v0.23.0
func (c *SamplesListCall) PageToken(pageToken string) *SamplesListCall
PageToken sets the optional parameter "pageToken": Optional, the next_page_token returned in the previous response
func (*SamplesListCall) Pages ¶ added in v0.23.0
func (c *SamplesListCall) Pages(ctx context.Context, f func(*ListPerfSamplesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type SamplesService ¶ added in v0.23.0
type SamplesService struct {
// contains filtered or unexported fields
}
func NewSamplesService ¶ added in v0.23.0
func NewSamplesService(s *Service) *SamplesService
func (*SamplesService) BatchCreate ¶ added in v0.23.0
func (r *SamplesService) BatchCreate(projectId string, historyId string, executionId string, stepId string, sampleSeriesId string, batchcreateperfsamplesrequest *BatchCreatePerfSamplesRequest) *SamplesBatchCreateCall
BatchCreate: Creates a batch of PerfSamples - a client can submit multiple batches of Perf Samples through repeated calls to this method in order to split up a large request payload - duplicates and existing timestamp entries will be ignored. - the batch operation may partially succeed - the set of elements successfully inserted is returned in the response (omits items which already existed in the database).
May return any of the following canonical error codes: - NOT_FOUND - The containing PerfSampleSeries does not exist
func (*SamplesService) List ¶ added in v0.23.0
func (r *SamplesService) List(projectId string, historyId string, executionId string, stepId string, sampleSeriesId string) *SamplesListCall
List: Lists the Performance Samples of a given Sample Series - The list results are sorted by timestamps ascending - The default page size is 500 samples; and maximum size allowed 5000 - The response token indicates the last returned PerfSample timestamp - When the results size exceeds the page size, submit a subsequent request including the page token to return the rest of the samples up to the page limit
May return any of the following canonical error codes: - OUT_OF_RANGE - The specified request page_token is out of valid range - NOT_FOUND - The containing PerfSampleSeries does not exist
type Screen ¶
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 (*Screen) MarshalJSON ¶
type ScreenshotCluster ¶
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 // 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. "Activity") 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 (*ScreenshotCluster) MarshalJSON ¶
func (s *ScreenshotCluster) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct { 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 // contains filtered or unexported fields }
func New
deprecated
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 NewService ¶ added in v0.3.0
NewService creates a new Service.
type ShardSummary ¶ added in v0.15.0
type ShardSummary struct { // Runs: Summaries of the steps belonging to the shard. // // With flaky_test_attempts enabled from TestExecutionService, more than // one // run (Step) can present. And the runs will be sorted by // multistep_number. Runs []*StepSummary `json:"runs,omitempty"` // ShardResult: Merged result of the shard. ShardResult *MergedResult `json:"shardResult,omitempty"` // ForceSendFields is a list of field names (e.g. "Runs") 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. "Runs") 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:"-"` }
ShardSummary: Result summary for a shard in an environment.
func (*ShardSummary) MarshalJSON ¶ added in v0.15.0
func (s *ShardSummary) MarshalJSON() ([]byte, error)
type SkippedDetail ¶
type SkippedDetail struct { // IncompatibleAppVersion: If the App doesn't support the specific API // level. IncompatibleAppVersion bool `json:"incompatibleAppVersion,omitempty"` // IncompatibleArchitecture: If the App doesn't run on the specific // architecture, for example, x86. IncompatibleArchitecture bool `json:"incompatibleArchitecture,omitempty"` // IncompatibleDevice: If the requested OS version doesn't run on the // specific device model. IncompatibleDevice bool `json:"incompatibleDevice,omitempty"` // ForceSendFields is a list of field names (e.g. // "IncompatibleAppVersion") 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. "IncompatibleAppVersion") // 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:"-"` }
SkippedDetail: Details for an outcome with a SKIPPED outcome summary.
func (*SkippedDetail) MarshalJSON ¶
func (s *SkippedDetail) MarshalJSON() ([]byte, error)
type Specification ¶
type Specification struct { // AndroidTest: An Android mobile test execution specification. AndroidTest *AndroidTest `json:"androidTest,omitempty"` // ForceSendFields is a list of field names (e.g. "AndroidTest") 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. "AndroidTest") 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:"-"` }
Specification: The details about how to run the execution.
func (*Specification) MarshalJSON ¶
func (s *Specification) MarshalJSON() ([]byte, error)
type StackTrace ¶
type StackTrace struct { // Exception: The stack trace message. // // Required Exception string `json:"exception,omitempty"` // ForceSendFields is a list of field names (e.g. "Exception") 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. "Exception") 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:"-"` }
StackTrace: A stacktrace.
func (*StackTrace) MarshalJSON ¶
func (s *StackTrace) MarshalJSON() ([]byte, error)
type StartActivityNotFound ¶ added in v0.23.0
type StartActivityNotFound struct { Action string `json:"action,omitempty"` Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "Action") 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. "Action") 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:"-"` }
StartActivityNotFound: User provided intent failed to resolve to an activity.
func (*StartActivityNotFound) MarshalJSON ¶ added in v0.23.0
func (s *StartActivityNotFound) MarshalJSON() ([]byte, error)
type Status ¶
type Status struct { // Code: The status code, which should be an enum value of // google.rpc.Code. Code int64 `json:"code,omitempty"` // Details: A list of messages that carry the error details. There is a // common set of // message types for APIs to use. Details []googleapi.RawMessage `json:"details,omitempty"` // Message: A developer-facing error message, which should be in // English. Any // user-facing error message should be localized and sent in // the // google.rpc.Status.details field, or localized by the client. Message string `json:"message,omitempty"` // ForceSendFields is a list of field names (e.g. "Code") 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. "Code") 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:"-"` }
Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details.
You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
func (*Status) MarshalJSON ¶
type Step ¶
type Step struct { // CompletionTime: The time when the step status was set 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 step was created. // // - In response: always set // - In create/update request: never set CreationTime *Timestamp `json:"creationTime,omitempty"` // Description: A description of this tool // For example: mvn clean package -D skipTests=true // // - In response: present if set by create/update request // - In create/update request: optional Description string `json:"description,omitempty"` // DeviceUsageDuration: How much the device resource is used to perform // the test. // // This is the device usage used for billing purpose, which is different // from // the run_duration, for example, infrastructure failure won't be // charged for // device usage. // // PRECONDITION_FAILED will be returned if one attempts to set // a // device_usage on a step which already has this field set. // // - In response: present if previously set. // - In create request: optional // - In update request: optional DeviceUsageDuration *Duration `json:"deviceUsageDuration,omitempty"` // DimensionValue: If the execution containing this step has any // dimension_definition set, // then this field allows the child to specify the values of the // dimensions. // // The keys must exactly match the dimension_definition of the // execution. // // For example, if the execution has // `dimension_definition = ['attempt', 'device']` // then a step must define values for those dimensions, // eg. // `dimension_value = ['attempt': '1', 'device': 'Nexus 6']` // // If a step does not participate in one dimension of the matrix, // the value for that dimension should be empty string. // For example, if one of the tests is executed by a runner which // does not support retries, the step could have // `dimension_value = ['attempt': ”, 'device': 'Nexus 6']` // // If the step does not participate in any dimensions of the matrix, // it may leave dimension_value unset. // // A PRECONDITION_FAILED will be returned if any of the keys do not // exist // in the dimension_definition of the execution. // // A PRECONDITION_FAILED will be returned if another step in this // execution // already has the same name and dimension_value, but differs on other // data // fields, for example, step field is different. // // A PRECONDITION_FAILED will be returned if dimension_value is set, // and // there is a dimension_definition in the execution which is not // specified // as one of the keys. // // - In response: present if set by create // - In create request: optional // - In update request: never set DimensionValue []*StepDimensionValueEntry `json:"dimensionValue,omitempty"` // HasImages: Whether any of the outputs of this step are images // whose // thumbnails can be fetched with ListThumbnails. // // - In response: always set // - In create/update request: never set HasImages bool `json:"hasImages,omitempty"` // Labels: Arbitrary user-supplied key/value pairs that are associated // with the // step. // // Users are responsible for managing the key namespace such that // keys // don't accidentally collide. // // An INVALID_ARGUMENT will be returned if the number of labels exceeds // 100 or // if the length of any of the keys or values exceeds 100 characters. // // - In response: always set // - In create request: optional // - In update request: optional; any new key/value pair will be added // to the // map, and any new value for an existing key will update that key's // value Labels []*StepLabelsEntry `json:"labels,omitempty"` // MultiStep: Details when multiple steps are run with the same // configuration as a group. // These details can be used identify which group this step is part // of. // It also identifies the groups 'primary step' which indexes all the // group // members. // // - In response: present if previously set. // - In create request: optional, set iff this step was performed more // than // once. // - In update request: optional MultiStep *MultiStep `json:"multiStep,omitempty"` // Name: A short human-readable name to display in the UI. // Maximum of 100 characters. // For example: Clean build // // A PRECONDITION_FAILED will be returned upon creating a new step if // it // shares its name and dimension_value with an existing step. If two // steps // represent a similar action, but have different dimension values, // they // should share the same name. For instance, if the same set of tests // is // run on two different platforms, the two steps should have the same // name. // // - In response: always set // - In create request: always set // - In update request: never set Name string `json:"name,omitempty"` // Outcome: Classification of 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"` // RunDuration: How long it took for this step to run. // // If unset, this is set to the difference between creation_time // and // completion_time when the step is set to the COMPLETE state. In some // cases, // it is appropriate to set this value separately: For instance, if a // step is // created, but the operation it represents is queued for a few minutes // before // it executes, it would be appropriate not to include the time spent // queued // in its run_duration. // // PRECONDITION_FAILED will be returned if one attempts to set // a // run_duration on a step which already has this field set. // // - In response: present if previously set; always present on COMPLETE // step // - In create request: optional // - In update request: optional RunDuration *Duration `json:"runDuration,omitempty"` // State: The initial state is IN_PROGRESS. // The only legal state transitions are // * IN_PROGRESS -> COMPLETE // // A PRECONDITION_FAILED will be returned if an invalid transition // is // requested. // // It is valid to create Step with a state set to COMPLETE. // The state can only be set to COMPLETE once. A PRECONDITION_FAILED // will be // returned if the state is set to COMPLETE multiple times. // // - 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"` // StepId: A unique identifier within a Execution for this // Step. // // Returns INVALID_ARGUMENT if this field is set or overwritten by the // caller. // // - In response: always set // - In create/update request: never set StepId string `json:"stepId,omitempty"` // TestExecutionStep: An execution of a test runner. TestExecutionStep *TestExecutionStep `json:"testExecutionStep,omitempty"` // ToolExecutionStep: An execution of a tool (used for steps we don't // explicitly support). ToolExecutionStep *ToolExecutionStep `json:"toolExecutionStep,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:"-"` }
Step: A Step represents a single operation performed as part of Execution. A step can be used to represent the execution of a tool ( for example a test runner execution or an execution of a compiler).
Steps can overlap (for instance two steps might have the same start time if some operations are done in parallel).
Here is an example, let's consider that we have a continuous build is executing a test runner for each iteration. The workflow would look like: - user creates a Execution with id 1 - user creates an TestExecutionStep with id 100 for Execution 1 - user update TestExecutionStep with id 100 to add a raw xml log
- the service parses the xml logs and returns a TestExecutionStep
with
updated TestResult(s).
- user update the status of TestExecutionStep with id 100 to COMPLETE
A Step can be updated until its state is set to COMPLETE at which points it becomes immutable.
Next tag: 27
func (*Step) MarshalJSON ¶
type StepDimensionValueEntry ¶
type StepDimensionValueEntry 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 (*StepDimensionValueEntry) MarshalJSON ¶
func (s *StepDimensionValueEntry) MarshalJSON() ([]byte, error)
type StepLabelsEntry ¶
type StepLabelsEntry 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 (*StepLabelsEntry) MarshalJSON ¶
func (s *StepLabelsEntry) MarshalJSON() ([]byte, error)
type StepSummary ¶ added in v0.23.0
type StepSummary struct { }
StepSummary: Lightweight summary of a step within this execution.
type StepsAccessibilityClustersCall ¶ added in v0.23.0
type StepsAccessibilityClustersCall struct {
// contains filtered or unexported fields
}
func (*StepsAccessibilityClustersCall) Context ¶ added in v0.23.0
func (c *StepsAccessibilityClustersCall) Context(ctx context.Context) *StepsAccessibilityClustersCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*StepsAccessibilityClustersCall) Do ¶ added in v0.23.0
func (c *StepsAccessibilityClustersCall) Do(opts ...googleapi.CallOption) (*ListStepAccessibilityClustersResponse, error)
Do executes the "toolresults.steps.accessibilityClusters" call. Exactly one of *ListStepAccessibilityClustersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListStepAccessibilityClustersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*StepsAccessibilityClustersCall) Fields ¶ added in v0.23.0
func (c *StepsAccessibilityClustersCall) Fields(s ...googleapi.Field) *StepsAccessibilityClustersCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*StepsAccessibilityClustersCall) Header ¶ added in v0.23.0
func (c *StepsAccessibilityClustersCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*StepsAccessibilityClustersCall) IfNoneMatch ¶ added in v0.23.0
func (c *StepsAccessibilityClustersCall) IfNoneMatch(entityTag string) *StepsAccessibilityClustersCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*StepsAccessibilityClustersCall) Locale ¶ added in v0.23.0
func (c *StepsAccessibilityClustersCall) Locale(locale string) *StepsAccessibilityClustersCall
Locale sets the optional parameter "locale": The accepted format is the canonical Unicode format with hyphen as a delimiter. Language must be lowercase, Language Script - Capitalized, Region - UPPERCASE. See http://www.unicode.org/reports/tr35/#Unicode_locale_identifier for details.
Required.
type StepsCreateCall ¶ added in v0.23.0
type StepsCreateCall struct {
// contains filtered or unexported fields
}
func (*StepsCreateCall) Context ¶ added in v0.23.0
func (c *StepsCreateCall) Context(ctx context.Context) *StepsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*StepsCreateCall) Do ¶ added in v0.23.0
func (c *StepsCreateCall) Do(opts ...googleapi.CallOption) (*Step, error)
Do executes the "toolresults.steps.create" call. Exactly one of *Step or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Step.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*StepsCreateCall) Fields ¶ added in v0.23.0
func (c *StepsCreateCall) Fields(s ...googleapi.Field) *StepsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*StepsCreateCall) Header ¶ added in v0.23.0
func (c *StepsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*StepsCreateCall) RequestId ¶ added in v0.23.0
func (c *StepsCreateCall) RequestId(requestId string) *StepsCreateCall
RequestId sets the optional parameter "requestId": A unique request ID for server to detect duplicated requests. For example, a UUID.
Optional, but strongly recommended.
type StepsGetCall ¶ added in v0.23.0
type StepsGetCall struct {
// contains filtered or unexported fields
}
func (*StepsGetCall) Context ¶ added in v0.23.0
func (c *StepsGetCall) Context(ctx context.Context) *StepsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*StepsGetCall) Do ¶ added in v0.23.0
func (c *StepsGetCall) Do(opts ...googleapi.CallOption) (*Step, error)
Do executes the "toolresults.steps.get" call. Exactly one of *Step or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Step.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*StepsGetCall) Fields ¶ added in v0.23.0
func (c *StepsGetCall) Fields(s ...googleapi.Field) *StepsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*StepsGetCall) Header ¶ added in v0.23.0
func (c *StepsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*StepsGetCall) IfNoneMatch ¶ added in v0.23.0
func (c *StepsGetCall) IfNoneMatch(entityTag string) *StepsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type StepsGetPerfMetricsSummaryCall ¶ added in v0.23.0
type StepsGetPerfMetricsSummaryCall struct {
// contains filtered or unexported fields
}
func (*StepsGetPerfMetricsSummaryCall) Context ¶ added in v0.23.0
func (c *StepsGetPerfMetricsSummaryCall) Context(ctx context.Context) *StepsGetPerfMetricsSummaryCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*StepsGetPerfMetricsSummaryCall) Do ¶ added in v0.23.0
func (c *StepsGetPerfMetricsSummaryCall) Do(opts ...googleapi.CallOption) (*PerfMetricsSummary, error)
Do executes the "toolresults.steps.getPerfMetricsSummary" call. Exactly one of *PerfMetricsSummary or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PerfMetricsSummary.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*StepsGetPerfMetricsSummaryCall) Fields ¶ added in v0.23.0
func (c *StepsGetPerfMetricsSummaryCall) Fields(s ...googleapi.Field) *StepsGetPerfMetricsSummaryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*StepsGetPerfMetricsSummaryCall) Header ¶ added in v0.23.0
func (c *StepsGetPerfMetricsSummaryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*StepsGetPerfMetricsSummaryCall) IfNoneMatch ¶ added in v0.23.0
func (c *StepsGetPerfMetricsSummaryCall) IfNoneMatch(entityTag string) *StepsGetPerfMetricsSummaryCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type StepsListCall ¶ added in v0.23.0
type StepsListCall struct {
// contains filtered or unexported fields
}
func (*StepsListCall) Context ¶ added in v0.23.0
func (c *StepsListCall) Context(ctx context.Context) *StepsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*StepsListCall) Do ¶ added in v0.23.0
func (c *StepsListCall) Do(opts ...googleapi.CallOption) (*ListStepsResponse, error)
Do executes the "toolresults.steps.list" call. Exactly one of *ListStepsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListStepsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*StepsListCall) Fields ¶ added in v0.23.0
func (c *StepsListCall) Fields(s ...googleapi.Field) *StepsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*StepsListCall) Header ¶ added in v0.23.0
func (c *StepsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*StepsListCall) IfNoneMatch ¶ added in v0.23.0
func (c *StepsListCall) IfNoneMatch(entityTag string) *StepsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*StepsListCall) PageSize ¶ added in v0.23.0
func (c *StepsListCall) PageSize(pageSize int64) *StepsListCall
PageSize sets the optional parameter "pageSize": The maximum number of Steps to fetch.
Default value: 25. The server will use this default if the field is not set or has a value of 0.
func (*StepsListCall) PageToken ¶ added in v0.23.0
func (c *StepsListCall) PageToken(pageToken string) *StepsListCall
PageToken sets the optional parameter "pageToken": A continuation token to resume the query at the next item.
func (*StepsListCall) Pages ¶ added in v0.23.0
func (c *StepsListCall) Pages(ctx context.Context, f func(*ListStepsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type StepsPatchCall ¶ added in v0.23.0
type StepsPatchCall struct {
// contains filtered or unexported fields
}
func (*StepsPatchCall) Context ¶ added in v0.23.0
func (c *StepsPatchCall) Context(ctx context.Context) *StepsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*StepsPatchCall) Do ¶ added in v0.23.0
func (c *StepsPatchCall) Do(opts ...googleapi.CallOption) (*Step, error)
Do executes the "toolresults.steps.patch" call. Exactly one of *Step or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Step.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*StepsPatchCall) Fields ¶ added in v0.23.0
func (c *StepsPatchCall) Fields(s ...googleapi.Field) *StepsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*StepsPatchCall) Header ¶ added in v0.23.0
func (c *StepsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*StepsPatchCall) RequestId ¶ added in v0.23.0
func (c *StepsPatchCall) RequestId(requestId string) *StepsPatchCall
RequestId sets the optional parameter "requestId": A unique request ID for server to detect duplicated requests. For example, a UUID.
Optional, but strongly recommended.
type StepsPublishXunitXmlFilesCall ¶ added in v0.23.0
type StepsPublishXunitXmlFilesCall struct {
// contains filtered or unexported fields
}
func (*StepsPublishXunitXmlFilesCall) Context ¶ added in v0.23.0
func (c *StepsPublishXunitXmlFilesCall) Context(ctx context.Context) *StepsPublishXunitXmlFilesCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*StepsPublishXunitXmlFilesCall) Do ¶ added in v0.23.0
func (c *StepsPublishXunitXmlFilesCall) Do(opts ...googleapi.CallOption) (*Step, error)
Do executes the "toolresults.steps.publishXunitXmlFiles" call. Exactly one of *Step or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Step.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*StepsPublishXunitXmlFilesCall) Fields ¶ added in v0.23.0
func (c *StepsPublishXunitXmlFilesCall) Fields(s ...googleapi.Field) *StepsPublishXunitXmlFilesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*StepsPublishXunitXmlFilesCall) Header ¶ added in v0.23.0
func (c *StepsPublishXunitXmlFilesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type StepsService ¶ added in v0.23.0
type StepsService struct {
// contains filtered or unexported fields
}
func NewStepsService ¶ added in v0.23.0
func NewStepsService(s *Service) *StepsService
func (*StepsService) AccessibilityClusters ¶ added in v0.23.0
func (r *StepsService) AccessibilityClusters(name string) *StepsAccessibilityClustersCall
AccessibilityClusters: Lists accessibility clusters for a given Step
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to read project
- INVALID_ARGUMENT - if the request is malformed
- FAILED_PRECONDITION - if an argument in the request happens to be invalid; e.g. if the locale format is
incorrect - NOT_FOUND - if the containing Step does not exist
func (*StepsService) Create ¶ added in v0.23.0
func (r *StepsService) Create(projectId string, historyId string, executionId string, step *Step) *StepsCreateCall
Create: Creates a Step.
The returned Step will have the id set.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution does not exist
func (*StepsService) Get ¶ added in v0.23.0
func (r *StepsService) Get(projectId string, historyId string, executionId string, stepId string) *StepsGetCall
Get: Gets a Step.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Step does not exist
func (*StepsService) GetPerfMetricsSummary ¶ added in v0.23.0
func (r *StepsService) GetPerfMetricsSummary(projectId string, historyId string, executionId string, stepId string) *StepsGetPerfMetricsSummaryCall
GetPerfMetricsSummary: Retrieves a PerfMetricsSummary.
May return any of the following error code(s): - NOT_FOUND - The specified PerfMetricsSummary does not exist
func (*StepsService) List ¶ added in v0.23.0
func (r *StepsService) List(projectId string, historyId string, executionId string) *StepsListCall
List: Lists Steps for a given Execution.
The steps are sorted by creation_time in descending order. The step_id key will be used to order the steps with the same creation_time.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to read project
- INVALID_ARGUMENT - if the request is malformed
- FAILED_PRECONDITION - if an argument in the request happens to be invalid; e.g. if an attempt is made to list
the
children of a nonexistent Step
- NOT_FOUND - if the containing Execution does not exist
func (*StepsService) Patch ¶ added in v0.23.0
func (r *StepsService) Patch(projectId string, historyId string, executionId string, stepId string, step *Step) *StepsPatchCall
Patch: Updates an existing Step with the supplied partial entity.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write project
- INVALID_ARGUMENT - if the request is malformed
- FAILED_PRECONDITION - if the requested state transition is illegal (e.g try to upload a duplicate xml file), if
the
updated step is too large (more than 10Mib)
- NOT_FOUND - if the containing Execution does not exist
func (*StepsService) PublishXunitXmlFiles ¶ added in v0.23.0
func (r *StepsService) PublishXunitXmlFiles(projectId string, historyId string, executionId string, stepId string, publishxunitxmlfilesrequest *PublishXunitXmlFilesRequest) *StepsPublishXunitXmlFilesCall
PublishXunitXmlFiles: Publish xml files to an existing Step.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested state transition is illegal, e.g try to upload a duplicate xml file or a file too large. - NOT_FOUND - if the containing Execution does not exist
type SuccessDetail ¶
type SuccessDetail struct { // OtherNativeCrash: If a native process other than the app crashed. OtherNativeCrash bool `json:"otherNativeCrash,omitempty"` // ForceSendFields is a list of field names (e.g. "OtherNativeCrash") 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. "OtherNativeCrash") 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:"-"` }
SuccessDetail: Details for an outcome with a SUCCESS outcome summary. LINT.IfChange
func (*SuccessDetail) MarshalJSON ¶
func (s *SuccessDetail) MarshalJSON() ([]byte, error)
type SuggestionClusterProto ¶ added in v0.22.0
type SuggestionClusterProto struct { // Category: Category in which these types of suggestions should // appear. // Always set. // // Possible values: // "UNKNOWN_CATEGORY" // "CONTENT_LABELING" // "TOUCH_TARGET_SIZE" // "LOW_CONTRAST" // "IMPLEMENTATION" Category string `json:"category,omitempty"` // Suggestions: A sequence of suggestions. All of the suggestions within // a cluster must // have the same SuggestionPriority and belong to the same // SuggestionCategory. // Suggestions with the same screenshot URL should be adjacent. Suggestions []*SuggestionProto `json:"suggestions,omitempty"` // ForceSendFields is a list of field names (e.g. "Category") 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. "Category") 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:"-"` }
SuggestionClusterProto: A set of similar suggestions that we suspect are closely related.
This proto and most of the nested protos are branched from foxandcrown.prelaunchreport.service.SuggestionClusterProto, replacing PLR's dependencies with FTL's.
func (*SuggestionClusterProto) MarshalJSON ¶ added in v0.22.0
func (s *SuggestionClusterProto) MarshalJSON() ([]byte, error)
type SuggestionProto ¶ added in v0.22.0
type SuggestionProto struct { // HelpUrl: Reference to a help center article concerning this type of // suggestion. // Always set. HelpUrl string `json:"helpUrl,omitempty"` // LongMessage: Message, in the user's language, explaining the // suggestion, which may // contain markup. // Always set. LongMessage *SafeHtmlProto `json:"longMessage,omitempty"` // Priority: Relative importance of a suggestion. // Always set. // // Possible values: // "UNKNOWN_PRIORITY" // "ERROR" // "WARNING" // "INFO" Priority string `json:"priority,omitempty"` // PseudoResourceId: A somewhat human readable identifier of the source // view, if it does not // have a resource_name. This is a path within the accessibility // hierarchy, // an element with resource name; similar to an XPath. PseudoResourceId string `json:"pseudoResourceId,omitempty"` // Region: Region within the screenshot that is relevant to this // suggestion. // Optional. Region *RegionProto `json:"region,omitempty"` // ResourceName: Reference to a view element, identified by its resource // name, if it has // one. ResourceName string `json:"resourceName,omitempty"` // ScreenId: ID of the screen for the suggestion. // It is used for getting the corresponding screenshot path. For // example, // screen_id "1" corresponds to "1.png" file in GCS. // Always set. ScreenId string `json:"screenId,omitempty"` // SecondaryPriority: Relative importance of a suggestion as compared // with other suggestions // that have the same priority and category. // This is a meaningless value that can be used to order suggestions // that are // in the same category and have the same priority. // The larger values have higher priority (i.e., are more // important). // Optional. SecondaryPriority float64 `json:"secondaryPriority,omitempty"` // ShortMessage: Concise message, in the user's language, representing // the suggestion, // which may contain markup. // Always set. ShortMessage *SafeHtmlProto `json:"shortMessage,omitempty"` // Title: General title for the suggestion, in the user's language, // without markup. // Always set. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "HelpUrl") 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. "HelpUrl") 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 (*SuggestionProto) MarshalJSON ¶ added in v0.22.0
func (s *SuggestionProto) MarshalJSON() ([]byte, error)
func (*SuggestionProto) UnmarshalJSON ¶ added in v0.22.0
func (s *SuggestionProto) UnmarshalJSON(data []byte) error
type TestCase ¶ added in v0.4.0
type TestCase struct { // ElapsedTime: The elapsed run time of the test case. // // Required. ElapsedTime *Duration `json:"elapsedTime,omitempty"` // EndTime: The end time of the test case. EndTime *Timestamp `json:"endTime,omitempty"` // SkippedMessage: Why the test case was skipped. // // Present only for skipped test case SkippedMessage string `json:"skippedMessage,omitempty"` // StackTraces: The stack trace details if the test case failed or // encountered an error. // // The maximum size of the stack traces is 100KiB, beyond which the // stack // track will be truncated. // // Zero if the test case passed. StackTraces []*StackTrace `json:"stackTraces,omitempty"` // StartTime: The start time of the test case. StartTime *Timestamp `json:"startTime,omitempty"` // Status: The status of the test case. // // Required. // // Possible values: // "PASSED" - Test passed. // "FAILED" - Test failed. // "ERROR" - Test encountered an error // "SKIPPED" - Test skipped // "FLAKY" - Test flaked. // // Present only for rollup test cases; test cases from steps that were // run // with the same configuration had both failure and success outcomes. Status string `json:"status,omitempty"` // TestCaseId: A unique identifier within a Step for this Test Case. TestCaseId string `json:"testCaseId,omitempty"` // TestCaseReference: Test case reference, e.g. name, class name and // test suite name. // // Required. TestCaseReference *TestCaseReference `json:"testCaseReference,omitempty"` // ToolOutputs: References to opaque files of any format output by the // tool execution. // // @OutputOnly ToolOutputs []*ToolOutputReference `json:"toolOutputs,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ElapsedTime") 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. "ElapsedTime") 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 (*TestCase) MarshalJSON ¶ added in v0.4.0
type TestCaseReference ¶
type TestCaseReference struct { // ClassName: The name of the class. ClassName string `json:"className,omitempty"` // Name: The name of the test case. // // Required. Name string `json:"name,omitempty"` // TestSuiteName: The name of the test suite to which this test case // belongs. TestSuiteName string `json:"testSuiteName,omitempty"` // ForceSendFields is a list of field names (e.g. "ClassName") 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. "ClassName") 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:"-"` }
TestCaseReference: A reference to a test case.
Test case references are canonically ordered lexicographically by these three factors: * First, by test_suite_name. * Second, by class_name. * Third, by name.
func (*TestCaseReference) MarshalJSON ¶
func (s *TestCaseReference) MarshalJSON() ([]byte, error)
type TestCasesGetCall ¶ added in v0.23.0
type TestCasesGetCall struct {
// contains filtered or unexported fields
}
func (*TestCasesGetCall) Context ¶ added in v0.23.0
func (c *TestCasesGetCall) Context(ctx context.Context) *TestCasesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TestCasesGetCall) Do ¶ added in v0.23.0
func (c *TestCasesGetCall) Do(opts ...googleapi.CallOption) (*TestCase, error)
Do executes the "toolresults.testCases.get" call. Exactly one of *TestCase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestCase.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*TestCasesGetCall) Fields ¶ added in v0.23.0
func (c *TestCasesGetCall) Fields(s ...googleapi.Field) *TestCasesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*TestCasesGetCall) Header ¶ added in v0.23.0
func (c *TestCasesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*TestCasesGetCall) IfNoneMatch ¶ added in v0.23.0
func (c *TestCasesGetCall) IfNoneMatch(entityTag string) *TestCasesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type TestCasesListCall ¶ added in v0.23.0
type TestCasesListCall struct {
// contains filtered or unexported fields
}
func (*TestCasesListCall) Context ¶ added in v0.23.0
func (c *TestCasesListCall) Context(ctx context.Context) *TestCasesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TestCasesListCall) Do ¶ added in v0.23.0
func (c *TestCasesListCall) Do(opts ...googleapi.CallOption) (*ListTestCasesResponse, error)
Do executes the "toolresults.testCases.list" call. Exactly one of *ListTestCasesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListTestCasesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*TestCasesListCall) Fields ¶ added in v0.23.0
func (c *TestCasesListCall) Fields(s ...googleapi.Field) *TestCasesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*TestCasesListCall) Header ¶ added in v0.23.0
func (c *TestCasesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*TestCasesListCall) IfNoneMatch ¶ added in v0.23.0
func (c *TestCasesListCall) IfNoneMatch(entityTag string) *TestCasesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*TestCasesListCall) PageSize ¶ added in v0.23.0
func (c *TestCasesListCall) PageSize(pageSize int64) *TestCasesListCall
PageSize sets the optional parameter "pageSize": The maximum number of TestCases to fetch.
Default value: 100. The server will use this default if the field is not set or has a value of 0.
func (*TestCasesListCall) PageToken ¶ added in v0.23.0
func (c *TestCasesListCall) PageToken(pageToken string) *TestCasesListCall
PageToken sets the optional parameter "pageToken": A continuation token to resume the query at the next item.
func (*TestCasesListCall) Pages ¶ added in v0.23.0
func (c *TestCasesListCall) Pages(ctx context.Context, f func(*ListTestCasesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type TestCasesService ¶ added in v0.23.0
type TestCasesService struct {
// contains filtered or unexported fields
}
func NewTestCasesService ¶ added in v0.23.0
func NewTestCasesService(s *Service) *TestCasesService
func (*TestCasesService) Get ¶ added in v0.23.0
func (r *TestCasesService) Get(projectId string, historyId string, executionId string, stepId string, testCaseId string) *TestCasesGetCall
Get: Gets details of a Test Case for a Step. Experimental test cases API. Still in active development.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Test Case does not exist
func (*TestCasesService) List ¶ added in v0.23.0
func (r *TestCasesService) List(projectId string, historyId string, executionId string, stepId string) *TestCasesListCall
List: Lists Test Cases attached to a Step. Experimental test cases API. Still in active development.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Step does not exist
type TestExecutionStep ¶
type TestExecutionStep struct { // TestIssues: Issues observed during the test execution. // // For example, if the mobile app under test crashed during the // test, // the error message and the stack trace content can be recorded here // to assist debugging. // // - In response: present if set by create or update // - In create/update request: optional TestIssues []*TestIssue `json:"testIssues,omitempty"` // TestSuiteOverviews: List of test suite overview contents. This could // be parsed from xUnit XML // log by server, or uploaded directly by user. This references should // only be // called when test suites are fully parsed or uploaded. // // The maximum allowed number of test suite overviews per step is // 1000. // // - In response: always set // - In create request: optional // - In update request: never (use publishXunitXmlFiles custom method // instead) TestSuiteOverviews []*TestSuiteOverview `json:"testSuiteOverviews,omitempty"` // TestTiming: The timing break down of the test execution. // // - In response: present if set by create or update // - In create/update request: optional TestTiming *TestTiming `json:"testTiming,omitempty"` // ToolExecution: Represents the execution of the test runner. // // The exit code of this tool will be used to determine if the test // passed. // // - In response: always set // - In create/update request: optional ToolExecution *ToolExecution `json:"toolExecution,omitempty"` // ForceSendFields is a list of field names (e.g. "TestIssues") 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. "TestIssues") 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:"-"` }
TestExecutionStep: A step that represents running tests.
It accepts ant-junit xml files which will be parsed into structured test results by the service. Xml file paths are updated in order to append more files, however they can't be deleted.
Users can also add test results manually by using the test_result field.
func (*TestExecutionStep) MarshalJSON ¶
func (s *TestExecutionStep) MarshalJSON() ([]byte, error)
type TestIssue ¶
type TestIssue struct { // Category: Category of issue. // Required. // // Possible values: // "UNSPECIFIED_CATEGORY" - Default unspecified category. // Do not use. For versioning only. // "COMMON" - Issue is not specific to a particular test kind (e.g., a // native crash). // "ROBO" - Issue is specific to Robo run. Category string `json:"category,omitempty"` // ErrorMessage: A brief human-readable message describing the // issue. // Required. ErrorMessage string `json:"errorMessage,omitempty"` // Severity: Severity of issue. // Required. // // Possible values: // "UNSPECIFIED_SEVERITY" - Default unspecified severity. // Do not use. For versioning only. // "INFO" - Non critical issue, providing users with some info about // the test run. // "SUGGESTION" - Non critical issue, providing users with some hints // on improving their // testing experience, e.g., suggesting to use Game Loops. // "WARNING" - Potentially critical issue. // "SEVERE" - Critical issue. Severity string `json:"severity,omitempty"` // StackTrace: Deprecated in favor of stack trace fields inside specific // warnings. StackTrace *StackTrace `json:"stackTrace,omitempty"` // Type: Type of issue. // Required. // // Possible values: // "UNSPECIFIED_TYPE" - Default unspecified type. // Do not use. For versioning only. // "FATAL_EXCEPTION" - Issue is a fatal exception. // "NATIVE_CRASH" - Issue is a native crash. // "ANR" - Issue is an ANR crash. // "UNUSED_ROBO_DIRECTIVE" - Issue is an unused robo directive. // "COMPATIBLE_WITH_ORCHESTRATOR" - Issue is a suggestion to use // orchestrator. // "LAUNCHER_ACTIVITY_NOT_FOUND" - Issue with finding a launcher // activity // "START_ACTIVITY_NOT_FOUND" - Issue with resolving a user-provided // intent to start an activity // "INCOMPLETE_ROBO_SCRIPT_EXECUTION" - A Robo script was not fully // executed. // "COMPLETE_ROBO_SCRIPT_EXECUTION" - A Robo script was fully and // successfully executed. // "FAILED_TO_INSTALL" - The APK failed to install. // "AVAILABLE_DEEP_LINKS" - The app-under-test has deep links, but // none were provided to Robo. // "NON_SDK_API_USAGE_VIOLATION" - App accessed a non-sdk Api. // "NON_SDK_API_USAGE_REPORT" - App accessed a non-sdk Api (new // detailed report) // "ENCOUNTERED_NON_ANDROID_UI_WIDGET_SCREEN" - Robo crawl encountered // at least one screen with elements that are not // Android UI widgets. // "ENCOUNTERED_LOGIN_SCREEN" - Robo crawl encountered at least one // probable login screen. // "PERFORMED_GOOGLE_LOGIN" - Robo signed in with Google. // "IOS_EXCEPTION" - iOS App crashed with an exception. // "IOS_CRASH" - iOS App crashed without an exception (e.g. killed). // "PERFORMED_MONKEY_ACTIONS" - Robo crawl involved performing some // monkey actions. // "USED_ROBO_DIRECTIVE" - Robo crawl used a Robo directive. // "USED_ROBO_IGNORE_DIRECTIVE" - Robo crawl used a Robo directive to // ignore an UI element. // "INSUFFICIENT_COVERAGE" - Robo did not crawl some potentially // important parts of the app. // "IN_APP_PURCHASES" - Robo crawl involved some in-app purchases. // "CRASH_DIALOG_ERROR" - Crash dialog was detected during the test // execution // "UI_ELEMENTS_TOO_DEEP" - UI element depth is greater than the // threshold // "BLANK_SCREEN" - Blank screen is found in the Robo crawl // "OVERLAPPING_UI_ELEMENTS" - Overlapping UI elements are found in // the Robo crawl Type string `json:"type,omitempty"` // Warning: Warning message with additional details of the issue. // Should always be a message from // com.google.devtools.toolresults.v1.warnings Warning *Any `json:"warning,omitempty"` // ForceSendFields is a list of field names (e.g. "Category") 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. "Category") 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:"-"` }
TestIssue: An issue detected occurring during a test execution.
func (*TestIssue) MarshalJSON ¶
type TestSuiteOverview ¶
type TestSuiteOverview struct { // ElapsedTime: Elapsed time of test suite. ElapsedTime *Duration `json:"elapsedTime,omitempty"` // ErrorCount: Number of test cases in error, typically set by the // service by parsing the // xml_source. // // - In create/response: always set // - In update request: never ErrorCount int64 `json:"errorCount,omitempty"` // FailureCount: Number of failed test cases, typically set by the // service by parsing the // xml_source. May also be set by the user. // // - In create/response: always set // - In update request: never FailureCount int64 `json:"failureCount,omitempty"` // FlakyCount: Number of flaky test cases, set by the service by rolling // up flaky test // attempts. // // Present only for rollup test suite overview at environment level. A // step // cannot have flaky test cases. FlakyCount int64 `json:"flakyCount,omitempty"` // Name: The name of the test suite. // // - In create/response: always set // - In update request: never Name string `json:"name,omitempty"` // SkippedCount: Number of test cases not run, typically set by the // service by parsing the // xml_source. // // - In create/response: always set // - In update request: never SkippedCount int64 `json:"skippedCount,omitempty"` // TotalCount: Number of test cases, typically set by the service by // parsing the // xml_source. // // - In create/response: always set // - In update request: never TotalCount int64 `json:"totalCount,omitempty"` // XmlSource: If this test suite was parsed from XML, this is the URI // where the original // XML file is stored. // // Note: Multiple test suites can share the same xml_source // // Returns INVALID_ARGUMENT if the uri format is not supported. // // - In create/response: optional // - In update request: never XmlSource *FileReference `json:"xmlSource,omitempty"` // ForceSendFields is a list of field names (e.g. "ElapsedTime") 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. "ElapsedTime") 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:"-"` }
TestSuiteOverview: A summary of a test suite result either parsed from XML or uploaded directly by a user.
Note: the API related comments are for StepService only. This message is also being used in ExecutionService in a read only mode for the corresponding step.
func (*TestSuiteOverview) MarshalJSON ¶
func (s *TestSuiteOverview) MarshalJSON() ([]byte, error)
type TestTiming ¶
type TestTiming struct { // TestProcessDuration: How long it took to run the test process. // // - In response: present if previously set. // - In create/update request: optional TestProcessDuration *Duration `json:"testProcessDuration,omitempty"` // ForceSendFields is a list of field names (e.g. "TestProcessDuration") // 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. "TestProcessDuration") 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:"-"` }
TestTiming: Testing timing break down to know phases.
func (*TestTiming) MarshalJSON ¶
func (s *TestTiming) MarshalJSON() ([]byte, error)
type Thumbnail ¶
type Thumbnail struct { // ContentType: The thumbnail's content type, i.e. "image/png". // // Always set. ContentType string `json:"contentType,omitempty"` // Data: The thumbnail file itself. // // That is, the bytes here are precisely the bytes that make up the // thumbnail // file; they can be served as an image as-is (with the appropriate // content // type.) // // Always set. Data string `json:"data,omitempty"` // HeightPx: The height of the thumbnail, in pixels. // // Always set. HeightPx int64 `json:"heightPx,omitempty"` // WidthPx: The width of the thumbnail, in pixels. // // Always set. WidthPx int64 `json:"widthPx,omitempty"` // ForceSendFields is a list of field names (e.g. "ContentType") 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. "ContentType") 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:"-"` }
Thumbnail: A single thumbnail, with its size and format.
func (*Thumbnail) MarshalJSON ¶
type ThumbnailsListCall ¶ added in v0.23.0
type ThumbnailsListCall struct {
// contains filtered or unexported fields
}
func (*ThumbnailsListCall) Context ¶ added in v0.23.0
func (c *ThumbnailsListCall) Context(ctx context.Context) *ThumbnailsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ThumbnailsListCall) Do ¶ added in v0.23.0
func (c *ThumbnailsListCall) Do(opts ...googleapi.CallOption) (*ListStepThumbnailsResponse, error)
Do executes the "toolresults.thumbnails.list" call. Exactly one of *ListStepThumbnailsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListStepThumbnailsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ThumbnailsListCall) Fields ¶ added in v0.23.0
func (c *ThumbnailsListCall) Fields(s ...googleapi.Field) *ThumbnailsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ThumbnailsListCall) Header ¶ added in v0.23.0
func (c *ThumbnailsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ThumbnailsListCall) IfNoneMatch ¶ added in v0.23.0
func (c *ThumbnailsListCall) IfNoneMatch(entityTag string) *ThumbnailsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ThumbnailsListCall) PageSize ¶ added in v0.23.0
func (c *ThumbnailsListCall) PageSize(pageSize int64) *ThumbnailsListCall
PageSize sets the optional parameter "pageSize": The maximum number of thumbnails to fetch.
Default value: 50. The server will use this default if the field is not set or has a value of 0.
func (*ThumbnailsListCall) PageToken ¶ added in v0.23.0
func (c *ThumbnailsListCall) PageToken(pageToken string) *ThumbnailsListCall
PageToken sets the optional parameter "pageToken": A continuation token to resume the query at the next item.
func (*ThumbnailsListCall) Pages ¶ added in v0.23.0
func (c *ThumbnailsListCall) Pages(ctx context.Context, f func(*ListStepThumbnailsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ThumbnailsService ¶ added in v0.23.0
type ThumbnailsService struct {
// contains filtered or unexported fields
}
func NewThumbnailsService ¶ added in v0.23.0
func NewThumbnailsService(s *Service) *ThumbnailsService
func (*ThumbnailsService) List ¶ added in v0.23.0
func (r *ThumbnailsService) List(projectId string, historyId string, executionId string, stepId string) *ThumbnailsListCall
List: Lists thumbnails of images attached to a step.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to read from the project, or from any of the images
- INVALID_ARGUMENT - if the request is malformed
- NOT_FOUND - if the step does not exist, or if any of the images do not exist
type Timestamp ¶
type Timestamp struct { // Nanos: Non-negative fractions of a second at nanosecond resolution. // Negative // second values with fractions must still have non-negative nanos // values // that count forward in time. Must be from 0 to 999,999,999 // inclusive. Nanos int64 `json:"nanos,omitempty"` // Seconds: Represents seconds of UTC time since Unix // epoch // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z // to // 9999-12-31T23:59:59Z inclusive. 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:"-"` }
Timestamp: A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one.
All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear).
The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
func (*Timestamp) MarshalJSON ¶
type ToolExecution ¶
type ToolExecution struct { // CommandLineArguments: The full tokenized command line including the // program name (equivalent to // argv in a C program). // // - In response: present if set by create request // - In create request: optional // - In update request: never set CommandLineArguments []string `json:"commandLineArguments,omitempty"` // ExitCode: Tool execution exit code. This field will be set once the // tool has // exited. // // - In response: present if set by create/update request // - In create request: optional // - In update request: optional, a FAILED_PRECONDITION error will be // returned if an exit_code is already set. ExitCode *ToolExitCode `json:"exitCode,omitempty"` // ToolLogs: References to any plain text logs output the tool // execution. // // This field can be set before the tool has exited in order to be able // to // have access to a live view of the logs while the tool is // running. // // The maximum allowed number of tool logs per step is 1000. // // - In response: present if set by create/update request // - In create request: optional // - In update request: optional, any value provided will be appended to // the // existing list ToolLogs []*FileReference `json:"toolLogs,omitempty"` // ToolOutputs: References to opaque files of any format output by the // tool execution. // // The maximum allowed number of tool outputs per step is 1000. // // - In response: present if set by create/update request // - In create request: optional // - In update request: optional, any value provided will be appended to // the // existing list ToolOutputs []*ToolOutputReference `json:"toolOutputs,omitempty"` // ForceSendFields is a list of field names (e.g. // "CommandLineArguments") 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. "CommandLineArguments") 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:"-"` }
ToolExecution: An execution of an arbitrary tool. It could be a test runner or a tool copying artifacts or deploying code.
func (*ToolExecution) MarshalJSON ¶
func (s *ToolExecution) MarshalJSON() ([]byte, error)
type ToolExecutionStep ¶
type ToolExecutionStep struct { // ToolExecution: A Tool execution. // // - In response: present if set by create/update request // - In create/update request: optional ToolExecution *ToolExecution `json:"toolExecution,omitempty"` // ForceSendFields is a list of field names (e.g. "ToolExecution") 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. "ToolExecution") 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:"-"` }
ToolExecutionStep: Generic tool step to be used for binaries we do not explicitly support. For example: running cp to copy artifacts from one location to another.
func (*ToolExecutionStep) MarshalJSON ¶
func (s *ToolExecutionStep) MarshalJSON() ([]byte, error)
type ToolExitCode ¶
type ToolExitCode struct { // Number: Tool execution exit code. A value of 0 means that the // execution was // successful. // // - In response: always set // - In create/update request: always set Number int64 `json:"number,omitempty"` // ForceSendFields is a list of field names (e.g. "Number") 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. "Number") 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:"-"` }
ToolExitCode: Exit code from a tool execution.
func (*ToolExitCode) MarshalJSON ¶
func (s *ToolExitCode) MarshalJSON() ([]byte, error)
type ToolOutputReference ¶
type ToolOutputReference struct { // CreationTime: The creation time of the file. // // - In response: present if set by create/update request // - In create/update request: optional CreationTime *Timestamp `json:"creationTime,omitempty"` // Output: A FileReference to an output file. // // - In response: always set // - In create/update request: always set Output *FileReference `json:"output,omitempty"` // TestCase: The test case to which this output file belongs. // // - In response: present if set by create/update request // - In create/update request: optional TestCase *TestCaseReference `json:"testCase,omitempty"` // ForceSendFields is a list of field names (e.g. "CreationTime") 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. "CreationTime") 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:"-"` }
ToolOutputReference: A reference to a ToolExecution output file.
func (*ToolOutputReference) MarshalJSON ¶
func (s *ToolOutputReference) MarshalJSON() ([]byte, error)
type UIElementTooDeep ¶ added in v0.23.0
type UIElementTooDeep struct { // Depth: The depth of the screen element Depth int64 `json:"depth,omitempty"` // ScreenId: The screen id of the element ScreenId string `json:"screenId,omitempty"` // ScreenStateId: The screen state id of the element ScreenStateId string `json:"screenStateId,omitempty"` // ForceSendFields is a list of field names (e.g. "Depth") 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. "Depth") 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:"-"` }
UIElementTooDeep: A warning that the screen hierarchy is deeper than the recommended threshold.
func (*UIElementTooDeep) MarshalJSON ¶ added in v0.23.0
func (s *UIElementTooDeep) MarshalJSON() ([]byte, error)
type UnspecifiedWarning ¶ added in v0.23.0
type UnspecifiedWarning struct { }
UnspecifiedWarning: Default unspecified warning.
type UnusedRoboDirective ¶ added in v0.23.0
type UnusedRoboDirective struct { // ResourceName: The name of the resource that was unused. ResourceName string `json:"resourceName,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:"-"` }
UnusedRoboDirective: Additional details of an unused robodirective.
func (*UnusedRoboDirective) MarshalJSON ¶ added in v0.23.0
func (s *UnusedRoboDirective) MarshalJSON() ([]byte, error)
type UpgradeInsight ¶ added in v0.23.0
type UpgradeInsight struct { // PackageName: The name of the package to be upgraded. PackageName string `json:"packageName,omitempty"` // UpgradeToVersion: The suggested version to upgrade to. // Optional: In case we are not sure which version solves this problem UpgradeToVersion string `json:"upgradeToVersion,omitempty"` // ForceSendFields is a list of field names (e.g. "PackageName") 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. "PackageName") 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:"-"` }
UpgradeInsight: This insight is a recommendation to upgrade a given library to the specified version, in order to avoid dependencies on non-SDK APIs.
func (*UpgradeInsight) MarshalJSON ¶ added in v0.23.0
func (s *UpgradeInsight) MarshalJSON() ([]byte, error)
type UsedRoboDirective ¶ added in v0.23.0
type UsedRoboDirective struct { // ResourceName: The name of the resource that was used. ResourceName string `json:"resourceName,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:"-"` }
UsedRoboDirective: Additional details of a used Robo directive.
func (*UsedRoboDirective) MarshalJSON ¶ added in v0.23.0
func (s *UsedRoboDirective) MarshalJSON() ([]byte, error)
type UsedRoboIgnoreDirective ¶ added in v0.23.0
type UsedRoboIgnoreDirective struct { // ResourceName: The name of the resource that was ignored. ResourceName string `json:"resourceName,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:"-"` }
UsedRoboIgnoreDirective: Additional details of a used Robo directive with an ignore action. Note: This is a different scenario than unused directive.
func (*UsedRoboIgnoreDirective) MarshalJSON ¶ added in v0.23.0
func (s *UsedRoboIgnoreDirective) MarshalJSON() ([]byte, error)