Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-devicerun</artifactId>
<version>v1alpha-rev20261006-2.0.0</version>
<version>v1alpha-rev20261013-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-devicerun:v1alpha-rev20261006-2.0.0'
implementation 'com.google.apis:google-api-services-devicerun:v1alpha-rev20261013-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2482,20 +2482,20 @@ public Get setName(java.lang.String name) {
}

/**
* Optional. The view of the session to return. If not set, the default BASIC view will be
* Optional. The view of the session to return. If not set, the `FULL` view will be
* returned.
*/
@com.google.api.client.util.Key
private java.lang.String view;

/** Optional. The view of the session to return. If not set, the default BASIC view will be returned.
/** Optional. The view of the session to return. If not set, the `FULL` view will be returned.
*/
public java.lang.String getView() {
return view;
}

/**
* Optional. The view of the session to return. If not set, the default BASIC view will be
* Optional. The view of the session to return. If not set, the `FULL` view will be
* returned.
*/
public Get setView(java.lang.String view) {
Expand Down Expand Up @@ -2752,20 +2752,20 @@ public List setPageToken(java.lang.String pageToken) {
}

/**
* Optional. The view of the sessions to return. If not set, the `BASIC` view will be
* Optional. The view of the sessions to return. If not set, the `FULL` view will be
* returned.
*/
@com.google.api.client.util.Key
private java.lang.String view;

/** Optional. The view of the sessions to return. If not set, the `BASIC` view will be returned.
/** Optional. The view of the sessions to return. If not set, the `FULL` view will be returned.
*/
public java.lang.String getView() {
return view;
}

/**
* Optional. The view of the sessions to return. If not set, the `BASIC` view will be
* Optional. The view of the sessions to return. If not set, the `FULL` view will be
* returned.
*/
public List setView(java.lang.String view) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@
public final class AndroidBugreportDeviceAction extends com.google.api.client.json.GenericJson {

/**
* Optional. Whether to deliver the bugreport when the test passes. If false, the bugreport is
* skipped on pass to save time (default behavior). If true, the bugreport is always delivered.
* Optional. Whether to deliver the bugreport when the test passes. If `false`, the bugreport is
* skipped on pass to save time (default behavior). If `true`, the bugreport is always delivered.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean collectOnPass;

/**
* Optional. Whether to deliver the bugreport when the test passes. If false, the bugreport is
* skipped on pass to save time (default behavior). If true, the bugreport is always delivered.
* Optional. Whether to deliver the bugreport when the test passes. If `false`, the bugreport is
* skipped on pass to save time (default behavior). If `true`, the bugreport is always delivered.
* @return value or {@code null} for none
*/
public java.lang.Boolean getCollectOnPass() {
return collectOnPass;
}

/**
* Optional. Whether to deliver the bugreport when the test passes. If false, the bugreport is
* skipped on pass to save time (default behavior). If true, the bugreport is always delivered.
* Optional. Whether to deliver the bugreport when the test passes. If `false`, the bugreport is
* skipped on pass to save time (default behavior). If `true`, the bugreport is always delivered.
* @param collectOnPass collectOnPass or {@code null} for none
*/
public AndroidBugreportDeviceAction setCollectOnPass(java.lang.Boolean collectOnPass) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@
public final class AndroidDumpsysDeviceAction extends com.google.api.client.json.GenericJson {

/**
* Optional. Whether to deliver the dumpsys when the test passes. If false, the dumpsys is skipped
* on pass to save time (default behavior). If true, the dumpsys is always delivered.
* Optional. Whether to deliver the dumpsys when the test passes. If `false`, the dumpsys is
* skipped on pass to save time (default behavior). If `true`, the dumpsys is always delivered.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean collectOnPass;

/**
* Optional. Whether to deliver the dumpsys when the test passes. If false, the dumpsys is skipped
* on pass to save time (default behavior). If true, the dumpsys is always delivered.
* Optional. Whether to deliver the dumpsys when the test passes. If `false`, the dumpsys is
* skipped on pass to save time (default behavior). If `true`, the dumpsys is always delivered.
* @return value or {@code null} for none
*/
public java.lang.Boolean getCollectOnPass() {
return collectOnPass;
}

/**
* Optional. Whether to deliver the dumpsys when the test passes. If false, the dumpsys is skipped
* on pass to save time (default behavior). If true, the dumpsys is always delivered.
* Optional. Whether to deliver the dumpsys when the test passes. If `false`, the dumpsys is
* skipped on pass to save time (default behavior). If `true`, the dumpsys is always delivered.
* @param collectOnPass collectOnPass or {@code null} for none
*/
public AndroidDumpsysDeviceAction setCollectOnPass(java.lang.Boolean collectOnPass) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ public final class AndroidRecordVideoDeviceAction extends com.google.api.client.

/**
* Optional. Whether to discard and not upload the recording when the test passes. Default is
* false.
* `false`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean discardOnPass;

/**
* Optional. Whether to discard and not upload the recording when the test passes. Default is
* false.
* `false`.
* @return value or {@code null} for none
*/
public java.lang.Boolean getDiscardOnPass() {
Expand All @@ -49,7 +49,7 @@ public java.lang.Boolean getDiscardOnPass() {

/**
* Optional. Whether to discard and not upload the recording when the test passes. Default is
* false.
* `false`.
* @param discardOnPass discardOnPass or {@code null} for none
*/
public AndroidRecordVideoDeviceAction setDiscardOnPass(java.lang.Boolean discardOnPass) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public final class DeviceAction extends com.google.api.client.json.GenericJson {
private IosPushFilesDeviceAction iosPushFiles;

/**
* Records a video of the iOS device screen during the run.
* Records videos of the iOS device screen, one per UI test case.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -380,15 +380,15 @@ public DeviceAction setIosPushFiles(IosPushFilesDeviceAction iosPushFiles) {
}

/**
* Records a video of the iOS device screen during the run.
* Records videos of the iOS device screen, one per UI test case.
* @return value or {@code null} for none
*/
public IosRecordVideoDeviceAction getIosRecordVideo() {
return iosRecordVideo;
}

/**
* Records a video of the iOS device screen during the run.
* Records videos of the iOS device screen, one per UI test case.
* @param iosRecordVideo iosRecordVideo or {@code null} for none
*/
public DeviceAction setIosRecordVideo(IosRecordVideoDeviceAction iosRecordVideo) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
package com.google.api.services.devicerun.v1alpha.model;

/**
* Records a video of the iOS device screen during the run. The video will be written to a file
* named `video.mp4` in the execution output directory.
* Records videos of the iOS device screen, one per UI test case. Each video covers only the
* execution of its test case, and will be written to
* `testcases/{test_class}/{test_method}/video.mp4` in the execution output directory. No video is
* recorded for unit tests, or on devices running a version earlier than iOS 17.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Device Run API. For a detailed explanation see:
Expand All @@ -31,25 +33,25 @@
public final class IosRecordVideoDeviceAction extends com.google.api.client.json.GenericJson {

/**
* Optional. Whether to discard the video if the test passes. If not specified, the default is
* false (always keep the video).
* Optional. Whether to discard the video of a test case when it passes. If not specified, the
* default is `false` (videos of all test cases are kept).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean discardOnPass;

/**
* Optional. Whether to discard the video if the test passes. If not specified, the default is
* false (always keep the video).
* Optional. Whether to discard the video of a test case when it passes. If not specified, the
* default is `false` (videos of all test cases are kept).
* @return value or {@code null} for none
*/
public java.lang.Boolean getDiscardOnPass() {
return discardOnPass;
}

/**
* Optional. Whether to discard the video if the test passes. If not specified, the default is
* false (always keep the video).
* Optional. Whether to discard the video of a test case when it passes. If not specified, the
* default is `false` (videos of all test cases are kept).
* @param discardOnPass discardOnPass or {@code null} for none
*/
public IosRecordVideoDeviceAction setDiscardOnPass(java.lang.Boolean discardOnPass) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ public final class IssueSummary extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String message;

/**
* Output only. Additional metadata about the issue.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map<String, java.lang.String> metadata;

/**
* Output only. The reason of the issue. This is a constant value that identifies the proximate
* cause of the issue. This should be at most 63 characters and match a regular expression of
Expand Down Expand Up @@ -69,6 +76,23 @@ public IssueSummary setMessage(java.lang.String message) {
return this;
}

/**
* Output only. Additional metadata about the issue.
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.String> getMetadata() {
return metadata;
}

/**
* Output only. Additional metadata about the issue.
* @param metadata metadata or {@code null} for none
*/
public IssueSummary setMetadata(java.util.Map<String, java.lang.String> metadata) {
this.metadata = metadata;
return this;
}

/**
* Output only. The reason of the issue. This is a constant value that identifies the proximate
* cause of the issue. This should be at most 63 characters and match a regular expression of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
@SuppressWarnings("javadoc")
public final class Session extends com.google.api.client.json.GenericJson {

/**
* Output only. The time when the session was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;

/**
* Identifier. The resource name of the session. Format:
* `projects/{project}/locations/{location}/sessions/{session}`.
Expand All @@ -52,6 +59,23 @@ public final class Session extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private SessionReport sessionReport;

/**
* Output only. The time when the session was created.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}

/**
* Output only. The time when the session was created.
* @param createTime createTime or {@code null} for none
*/
public Session setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}

/**
* Identifier. The resource name of the session. Format:
* `projects/{project}/locations/{location}/sessions/{session}`.
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-devicerun/v1alpha/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-devicerun</artifactId>
<version>v1alpha-rev20261006-2.0.0</version>
<name>Device Run API v1alpha-rev20261006-2.0.0</name>
<version>v1alpha-rev20261013-2.0.0</version>
<name>Device Run API v1alpha-rev20261013-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-devicerun/v1alpha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-devicerun</artifactId>
<version>v1alpha-rev20261006-2.0.0</version>
<version>v1alpha-rev20261013-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-devicerun:v1alpha-rev20261006-2.0.0'
implementation 'com.google.apis:google-api-services-devicerun:v1alpha-rev20261013-2.0.0'
}
```

Expand Down
Loading