forked from TrueCloudLab/restic
Update vendored library google.golang.org/api
This commit is contained in:
parent
5b6568875c
commit
c0960f538f
363 changed files with 581827 additions and 452273 deletions
414
vendor/google.golang.org/api/testing/v1/testing-gen.go
generated
vendored
414
vendor/google.golang.org/api/testing/v1/testing-gen.go
generated
vendored
|
@ -59,6 +59,7 @@ func New(client *http.Client) (*Service, error) {
|
|||
return nil, errors.New("client is nil")
|
||||
}
|
||||
s := &Service{client: client, BasePath: basePath}
|
||||
s.ApplicationDetailService = NewApplicationDetailServiceService(s)
|
||||
s.Projects = NewProjectsService(s)
|
||||
s.TestEnvironmentCatalog = NewTestEnvironmentCatalogService(s)
|
||||
return s, nil
|
||||
|
@ -69,6 +70,8 @@ type Service struct {
|
|||
BasePath string // API endpoint base URL
|
||||
UserAgent string // optional additional User-Agent fragment
|
||||
|
||||
ApplicationDetailService *ApplicationDetailServiceService
|
||||
|
||||
Projects *ProjectsService
|
||||
|
||||
TestEnvironmentCatalog *TestEnvironmentCatalogService
|
||||
|
@ -81,6 +84,15 @@ func (s *Service) userAgent() string {
|
|||
return googleapi.UserAgent + " " + s.UserAgent
|
||||
}
|
||||
|
||||
func NewApplicationDetailServiceService(s *Service) *ApplicationDetailServiceService {
|
||||
rs := &ApplicationDetailServiceService{s: s}
|
||||
return rs
|
||||
}
|
||||
|
||||
type ApplicationDetailServiceService struct {
|
||||
s *Service
|
||||
}
|
||||
|
||||
func NewProjectsService(s *Service) *ProjectsService {
|
||||
rs := &ProjectsService{s: s}
|
||||
rs.TestMatrices = NewProjectsTestMatricesService(s)
|
||||
|
@ -500,6 +512,12 @@ type AndroidModel struct {
|
|||
// Examples: "default", "preview", "deprecated"
|
||||
Tags []string `json:"tags,omitempty"`
|
||||
|
||||
// VideoRecordingNotSupported: True if and only if tests with this model
|
||||
// DO NOT have video output.
|
||||
// See also TestSpecification.disable_video_recording
|
||||
// @OutputOnly
|
||||
VideoRecordingNotSupported bool `json:"videoRecordingNotSupported,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Brand") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
|
@ -562,6 +580,12 @@ type AndroidRoboTest struct {
|
|||
// Optional
|
||||
RoboDirectives []*RoboDirective `json:"roboDirectives,omitempty"`
|
||||
|
||||
// RoboScript: A JSON file with a sequence of actions Robo should
|
||||
// perform as a prologue
|
||||
// for the crawl.
|
||||
// Optional
|
||||
RoboScript *FileReference `json:"roboScript,omitempty"`
|
||||
|
||||
// StartingIntents: The intents used to launch the app for the crawl.
|
||||
// If none are provided, then the main launcher activity is launched.
|
||||
// If some are provided, then only those provided are launched (the
|
||||
|
@ -745,6 +769,116 @@ func (s *AndroidVersion) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Apk: An Android package file to install.
|
||||
type Apk struct {
|
||||
// Location: The path to an APK to be installed on the device before the
|
||||
// test begins.
|
||||
// Optional
|
||||
Location *FileReference `json:"location,omitempty"`
|
||||
|
||||
// PackageName: The java package for the APK to be installed.
|
||||
// Optional, value is determined by examining the application's
|
||||
// manifest.
|
||||
PackageName string `json:"packageName,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Location") 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. "Location") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *Apk) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod Apk
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ApkDetail: Android application details based on application manifest
|
||||
// and apk archive
|
||||
// contents
|
||||
type ApkDetail struct {
|
||||
ApkManifest *ApkManifest `json:"apkManifest,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ApkManifest") 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. "ApkManifest") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *ApkDetail) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ApkDetail
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ApkManifest: An Android app manifest.
|
||||
// See
|
||||
// http://developer.android.com/guide/topics/manifest/manifest-intro.
|
||||
// html
|
||||
type ApkManifest struct {
|
||||
// ApplicationLabel: User-readable name for the application.
|
||||
ApplicationLabel string `json:"applicationLabel,omitempty"`
|
||||
|
||||
IntentFilters []*IntentFilter `json:"intentFilters,omitempty"`
|
||||
|
||||
// MaxSdkVersion: Maximum API level on which the application is designed
|
||||
// to run.
|
||||
MaxSdkVersion int64 `json:"maxSdkVersion,omitempty"`
|
||||
|
||||
// MinSdkVersion: Minimum API level required for the application to run.
|
||||
MinSdkVersion int64 `json:"minSdkVersion,omitempty"`
|
||||
|
||||
// PackageName: Full Java-style package name for this application,
|
||||
// e.g.
|
||||
// "com.example.foo".
|
||||
PackageName string `json:"packageName,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ApplicationLabel") 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. "ApplicationLabel") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *ApkManifest) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ApkManifest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// CancelTestMatrixResponse: Response containing the current state of
|
||||
// the specified test matrix.
|
||||
type CancelTestMatrixResponse struct {
|
||||
|
@ -953,6 +1087,9 @@ type DeviceFile struct {
|
|||
// ObbFile: A reference to an opaque binary blob file
|
||||
ObbFile *ObbFile `json:"obbFile,omitempty"`
|
||||
|
||||
// RegularFile: A reference to a regular file
|
||||
RegularFile *RegularFile `json:"regularFile,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ObbFile") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
|
@ -1151,6 +1288,39 @@ func (s *FileReference) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// GetApkDetailsResponse: Response containing the details of the
|
||||
// specified Android application APK.
|
||||
type GetApkDetailsResponse struct {
|
||||
// ApkDetail: Details of the Android APK.
|
||||
ApkDetail *ApkDetail `json:"apkDetail,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ApkDetail") 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. "ApkDetail") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *GetApkDetailsResponse) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod GetApkDetailsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// GoogleAuto: Enables automatic Google account login.
|
||||
// If set, the service will automatically generate a Google test account
|
||||
// and add
|
||||
|
@ -1199,6 +1369,43 @@ func (s *GoogleCloudStorage) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// IntentFilter: The <intent-filter> section of an <activity>
|
||||
// tag.
|
||||
// https://developer.android.com/guide/topics/manifest/intent-filter
|
||||
// -element.html
|
||||
type IntentFilter struct {
|
||||
// ActionNames: The android:name value of the <action> tag
|
||||
ActionNames []string `json:"actionNames,omitempty"`
|
||||
|
||||
// CategoryNames: The android:name value of the <category> tag
|
||||
CategoryNames []string `json:"categoryNames,omitempty"`
|
||||
|
||||
// MimeType: The android:mimeType value of the <data> tag
|
||||
MimeType string `json:"mimeType,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ActionNames") 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. "ActionNames") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *IntentFilter) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod IntentFilter
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// LauncherActivityIntent: Specifies an intent that starts the main
|
||||
// launcher activity.
|
||||
type LauncherActivityIntent struct {
|
||||
|
@ -1392,6 +1599,64 @@ func (s *Orientation) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// RegularFile: A file or directory to install on the device before the
|
||||
// test starts
|
||||
type RegularFile struct {
|
||||
// Content: Required
|
||||
Content *FileReference `json:"content,omitempty"`
|
||||
|
||||
// DevicePath: Where to put the content on the device. Must be an
|
||||
// absolute, whitelisted
|
||||
// path. If the file exists, it will be replaced.
|
||||
// The following device-side directories and any of their subdirectories
|
||||
// are
|
||||
// whitelisted:
|
||||
// <p>${EXTERNAL_STORAGE}, or /sdcard</p>
|
||||
// <p>${ANDROID_DATA}/local/tmp, or /data/local/tmp</p>
|
||||
// <p>Specifying a path outside of these directory trees is
|
||||
// invalid.
|
||||
//
|
||||
// <p> The paths /sdcard and /data will be made available and treated
|
||||
// as
|
||||
// implicit path substitutions. E.g. if /sdcard on a particular device
|
||||
// does
|
||||
// not map to external storage, the system will replace it with the
|
||||
// external
|
||||
// storage path prefix for that device and copy the file there.
|
||||
//
|
||||
// <p> It is strongly advised to use the <a
|
||||
// href=
|
||||
// "http://developer.android.com/reference/android/os/Environment.h
|
||||
// tml">
|
||||
// Environment API</a> in app and test code to access files on the
|
||||
// device in a
|
||||
// portable way.
|
||||
// Required
|
||||
DevicePath string `json:"devicePath,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Content") 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. "Content") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *RegularFile) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod RegularFile
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ResultStorage: Locations where the results of running the test are
|
||||
// stored.
|
||||
type ResultStorage struct {
|
||||
|
@ -1583,6 +1848,13 @@ type TestDetails struct {
|
|||
// @OutputOnly
|
||||
ProgressMessages []string `json:"progressMessages,omitempty"`
|
||||
|
||||
// VideoRecordingDisabled: Indicates that video will not be recorded for
|
||||
// this execution either because
|
||||
// the user chose to disable it or the device does not support it.
|
||||
// See AndroidModel.video_recording_not_supported
|
||||
// @OutputOnly
|
||||
VideoRecordingDisabled bool `json:"videoRecordingDisabled,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ErrorMessage") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
|
@ -1828,7 +2100,12 @@ type TestMatrix struct {
|
|||
// "DEVICE_ADMIN_RECEIVER" - Device administrator applications are not
|
||||
// allowed.
|
||||
// "TEST_ONLY_APK" - The APK is marked as "testOnly".
|
||||
// "MALFORMED_IPA" - The input IPA could not be parsed.
|
||||
// NOT USED
|
||||
// "NO_CODE_APK" - APK contains no code.
|
||||
// See
|
||||
// also
|
||||
// https://developer.android.com/guide/topics/manifest/application-e
|
||||
// lement.html#code
|
||||
InvalidMatrixDetails string `json:"invalidMatrixDetails,omitempty"`
|
||||
|
||||
// ProjectId: The cloud project that owns the test matrix.
|
||||
|
@ -1938,14 +2215,20 @@ func (s *TestMatrix) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// TestSetup: A description of how to set up the device prior to running
|
||||
// the test
|
||||
// TestSetup: A description of how to set up the Android device prior to
|
||||
// running the test.
|
||||
type TestSetup struct {
|
||||
// Account: The device will be logged in on this account for the
|
||||
// duration of the test.
|
||||
// Optional
|
||||
Account *Account `json:"account,omitempty"`
|
||||
|
||||
// AdditionalApks: APKs to install in addition to those being directly
|
||||
// tested.
|
||||
// Currently capped at 100.
|
||||
// Optional
|
||||
AdditionalApks []*Apk `json:"additionalApks,omitempty"`
|
||||
|
||||
// DirectoriesToPull: List of directories on the device to upload to GCS
|
||||
// at the end of the test;
|
||||
// they must be absolute paths under /sdcard or /data/local/tmp.
|
||||
|
@ -2036,8 +2319,9 @@ type TestSpecification struct {
|
|||
// latency.
|
||||
DisableVideoRecording bool `json:"disableVideoRecording,omitempty"`
|
||||
|
||||
// TestSetup: Test setup requirements e.g. files to install, bootstrap
|
||||
// scripts
|
||||
// TestSetup: Test setup requirements for Android e.g. files to install,
|
||||
// bootstrap
|
||||
// scripts.
|
||||
// Optional
|
||||
TestSetup *TestSetup `json:"testSetup,omitempty"`
|
||||
|
||||
|
@ -2251,6 +2535,126 @@ func (s *TrafficRule) UnmarshalJSON(data []byte) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// method id "testing.applicationDetailService.getApkDetails":
|
||||
|
||||
type ApplicationDetailServiceGetApkDetailsCall struct {
|
||||
s *Service
|
||||
filereference *FileReference
|
||||
urlParams_ gensupport.URLParams
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// GetApkDetails: Request the details of an Android application APK.
|
||||
func (r *ApplicationDetailServiceService) GetApkDetails(filereference *FileReference) *ApplicationDetailServiceGetApkDetailsCall {
|
||||
c := &ApplicationDetailServiceGetApkDetailsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.filereference = filereference
|
||||
return c
|
||||
}
|
||||
|
||||
// Fields allows partial responses to be retrieved. See
|
||||
// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
|
||||
// for more information.
|
||||
func (c *ApplicationDetailServiceGetApkDetailsCall) Fields(s ...googleapi.Field) *ApplicationDetailServiceGetApkDetailsCall {
|
||||
c.urlParams_.Set("fields", googleapi.CombineFields(s))
|
||||
return c
|
||||
}
|
||||
|
||||
// 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 (c *ApplicationDetailServiceGetApkDetailsCall) Context(ctx context.Context) *ApplicationDetailServiceGetApkDetailsCall {
|
||||
c.ctx_ = ctx
|
||||
return c
|
||||
}
|
||||
|
||||
// Header returns an http.Header that can be modified by the caller to
|
||||
// add HTTP headers to the request.
|
||||
func (c *ApplicationDetailServiceGetApkDetailsCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *ApplicationDetailServiceGetApkDetailsCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
reqHeaders.Set("User-Agent", c.s.userAgent())
|
||||
var body io.Reader = nil
|
||||
body, err := googleapi.WithoutDataWrapper.JSONReader(c.filereference)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
c.urlParams_.Set("alt", alt)
|
||||
urls := googleapi.ResolveRelative(c.s.BasePath, "v1/applicationDetailService/getApkDetails")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("POST", urls, body)
|
||||
req.Header = reqHeaders
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "testing.applicationDetailService.getApkDetails" call.
|
||||
// Exactly one of *GetApkDetailsResponse or error will be non-nil. Any
|
||||
// non-2xx status code is an error. Response headers are in either
|
||||
// *GetApkDetailsResponse.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 (c *ApplicationDetailServiceGetApkDetailsCall) Do(opts ...googleapi.CallOption) (*GetApkDetailsResponse, error) {
|
||||
gensupport.SetOptions(c.urlParams_, opts...)
|
||||
res, err := c.doRequest("json")
|
||||
if res != nil && res.StatusCode == http.StatusNotModified {
|
||||
if res.Body != nil {
|
||||
res.Body.Close()
|
||||
}
|
||||
return nil, &googleapi.Error{
|
||||
Code: res.StatusCode,
|
||||
Header: res.Header,
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer googleapi.CloseBody(res)
|
||||
if err := googleapi.CheckResponse(res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ret := &GetApkDetailsResponse{
|
||||
ServerResponse: googleapi.ServerResponse{
|
||||
Header: res.Header,
|
||||
HTTPStatusCode: res.StatusCode,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Request the details of an Android application APK.",
|
||||
// "flatPath": "v1/applicationDetailService/getApkDetails",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "testing.applicationDetailService.getApkDetails",
|
||||
// "parameterOrder": [],
|
||||
// "parameters": {},
|
||||
// "path": "v1/applicationDetailService/getApkDetails",
|
||||
// "request": {
|
||||
// "$ref": "FileReference"
|
||||
// },
|
||||
// "response": {
|
||||
// "$ref": "GetApkDetailsResponse"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "testing.projects.testMatrices.cancel":
|
||||
|
||||
type ProjectsTestMatricesCancelCall struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue