diff --git a/clients/google-api-services-devicerun/v1/2.0.0/README.md b/clients/google-api-services-devicerun/v1/2.0.0/README.md
index 1ccf3409d34..225732fa98f 100644
--- a/clients/google-api-services-devicerun/v1/2.0.0/README.md
+++ b/clients/google-api-services-devicerun/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
The typical use is:
+ *
+ * {@code DeviceRun devicerun = new DeviceRun(...);}
+ * {@code DeviceRun.Projects.List request = devicerun.projects().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Projects projects() {
+ return new Projects();
+ }
+
+ /**
+ * The "projects" collection of methods.
+ */
+ public class Projects {
+
+ /**
+ * An accessor for creating requests from the Locations collection.
+ *
+ * The typical use is:
+ *
+ * {@code DeviceRun devicerun = new DeviceRun(...);}
+ * {@code DeviceRun.Locations.List request = devicerun.locations().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Locations locations() {
+ return new Locations();
+ }
+
+ /**
+ * The "locations" collection of methods.
+ */
+ public class Locations {
+
+ /**
+ * Gets information about a location.
+ *
+ * Create a request for the method "locations.get".
+ *
+ * This request holds the parameters needed by the devicerun server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name Resource name for the location.
+ * @return the request
+ */
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
+ initialize(result);
+ return result;
+ }
+
+ public class Get extends DeviceRunRequest+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Resource name for the location. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(DeviceRun.this, "GET", REST_PATH, null, com.google.api.services.devicerun.v1.model.Location.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** Resource name for the location. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Resource name for the location. + */ + public java.lang.String getName() { + return name; + } + + /** Resource name for the location. */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists information about the supported locations for this service. This method lists locations + * based on the resource scope provided in the ListLocationsRequest.name field: * **Global + * locations**: If `name` is empty, the method lists the public locations available to all projects. + * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method + * lists locations visible to that specific project. This includes public, private, or other + * project-specific locations enabled for the project. For gRPC and client library implementations, + * the resource name is passed as the `name` field. For direct service calls, the resource name is + * incorporated into the request path based on the specific service implementation and version. + * + * Create a request for the method "locations.list". + * + * This request holds the parameters needed by the devicerun server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param name The resource that owns the locations collection, if applicable. + * @return the request + */ + public List list(java.lang.String name) throws java.io.IOException { + List result = new List(name); + initialize(result); + return result; + } + + public class List extends DeviceRunRequest+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name The resource that owns the locations collection, if applicable. + * @since 1.13 + */ + protected List(java.lang.String name) { + super(DeviceRun.this, "GET", REST_PATH, null, com.google.api.services.devicerun.v1.model.ListLocationsResponse.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** The resource that owns the locations collection, if applicable. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** The resource that owns the locations collection, if applicable. + */ + public java.lang.String getName() { + return name; + } + + /** The resource that owns the locations collection, if applicable. */ + public List setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily + * for internal usage. + */ + @com.google.api.client.util.Key + private java.util.ListThe typical use is:
+ *
+ * {@code DeviceRun devicerun = new DeviceRun(...);}
+ * {@code DeviceRun.Devices.List request = devicerun.devices().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Devices devices() {
+ return new Devices();
+ }
+
+ /**
+ * The "devices" collection of methods.
+ */
+ public class Devices {
+
+ /**
+ * Returns information about a specific device.
+ *
+ * Create a request for the method "devices.get".
+ *
+ * This request holds the parameters needed by the devicerun server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. The name of the device. Format: `projects/{project}/locations/global/devices/{device}`.
+ * @return the request
+ */
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
+ initialize(result);
+ return result;
+ }
+
+ public class Get extends DeviceRunRequest+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. The name of the device. Format: `projects/{project}/locations/global/devices/{device}`. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(DeviceRun.this, "GET", REST_PATH, null, com.google.api.services.devicerun.v1.model.CatalogDevice.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/devices/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the device. Format: + * `projects/{project}/locations/global/devices/{device}`. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the device. Format: `projects/{project}/locations/global/devices/{device}`. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the device. Format: + * `projects/{project}/locations/global/devices/{device}`. + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/devices/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists all devices. + * + * Create a request for the method "devices.list". + * + * This request holds the parameters needed by the devicerun server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The parent of the collection of devices. Format: `projects/{project}/locations/global`. + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends DeviceRunRequest+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent Required. The parent of the collection of devices. Format: `projects/{project}/locations/global`. + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(DeviceRun.this, "GET", REST_PATH, null, com.google.api.services.devicerun.v1.model.CatalogListDevicesResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The parent of the collection of devices. Format: + * `projects/{project}/locations/global`. + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent of the collection of devices. Format: `projects/{project}/locations/global`. + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The parent of the collection of devices. Format: + * `projects/{project}/locations/global`. + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. An AIP-160 (https://google.aip.dev/160) filter expression restricting which + * devices are returned. An empty filter returns all devices. Filtering is supported over + * the `Device` fields, including nested fields via dot-path. Enum and string values must + * be double-quoted. Examples: * `platform = "ANDROID"` * `platform = "ANDROID" AND + * os_version = "34"` * `hardware_type = "PHYSICAL" AND form_factor = "PHONE"` * + * `android_details.build_type = "userdebug"` * `availability.capacity = "HIGH"` + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. An AIP-160 (https://google.aip.dev/160) filter expression restricting which devices are + returned. An empty filter returns all devices. Filtering is supported over the `Device` fields, + including nested fields via dot-path. Enum and string values must be double-quoted. Examples: * + `platform = "ANDROID"` * `platform = "ANDROID" AND os_version = "34"` * `hardware_type = "PHYSICAL" + AND form_factor = "PHONE"` * `android_details.build_type = "userdebug"` * `availability.capacity = + "HIGH"` + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. An AIP-160 (https://google.aip.dev/160) filter expression restricting which + * devices are returned. An empty filter returns all devices. Filtering is supported over + * the `Device` fields, including nested fields via dot-path. Enum and string values must + * be double-quoted. Examples: * `platform = "ANDROID"` * `platform = "ANDROID" AND + * os_version = "34"` * `hardware_type = "PHYSICAL" AND form_factor = "PHONE"` * + * `android_details.build_type = "userdebug"` * `availability.capacity = "HIGH"` + */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Optional. The maximum number of devices to return. The server may return fewer items + * than this value. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of devices to return. The server may return fewer items than this + value. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of devices to return. The server may return fewer items + * than this value. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous `ListDevices` call. Provide this to + * receive the subsequent page. When paginating, all other parameters provided to + * `ListDevices` must match the call that provided the page token. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A page token, received from a previous `ListDevices` call. Provide this to receive the + subsequent page. When paginating, all other parameters provided to `ListDevices` must match the + call that provided the page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous `ListDevices` call. Provide this to + * receive the subsequent page. When paginating, all other parameters provided to + * `ListDevices` must match the call that provided the page token. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the Operations collection. + * + *The typical use is:
+ *
+ * {@code DeviceRun devicerun = new DeviceRun(...);}
+ * {@code DeviceRun.Operations.List request = devicerun.operations().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Operations operations() {
+ return new Operations();
+ }
+
+ /**
+ * The "operations" collection of methods.
+ */
+ public class Operations {
+
+ /**
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to
+ * cancel the operation, but success is not guaranteed. If the server doesn't support this method,
+ * it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
+ * methods to check whether the cancellation succeeded or whether the operation completed despite
+ * cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
+ * operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
+ * `Code.CANCELLED`.
+ *
+ * Create a request for the method "operations.cancel".
+ *
+ * This request holds the parameters needed by the devicerun server. After setting any optional
+ * parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
+ *
+ * @param name The name of the operation resource to be cancelled.
+ * @param content the {@link com.google.api.services.devicerun.v1.model.GoogleLongrunningCancelOperationRequest}
+ * @return the request
+ */
+ public Cancel cancel(java.lang.String name, com.google.api.services.devicerun.v1.model.GoogleLongrunningCancelOperationRequest content) throws java.io.IOException {
+ Cancel result = new Cancel(name, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Cancel extends DeviceRunRequest{@link + * Cancel#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name The name of the operation resource to be cancelled. + * @param content the {@link com.google.api.services.devicerun.v1.model.GoogleLongrunningCancelOperationRequest} + * @since 1.13 + */ + protected Cancel(java.lang.String name, com.google.api.services.devicerun.v1.model.GoogleLongrunningCancelOperationRequest content) { + super(DeviceRun.this, "POST", REST_PATH, content, com.google.api.services.devicerun.v1.model.Empty.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"); + } + } + + @Override + public Cancel set$Xgafv(java.lang.String $Xgafv) { + return (Cancel) super.set$Xgafv($Xgafv); + } + + @Override + public Cancel setAccessToken(java.lang.String accessToken) { + return (Cancel) super.setAccessToken(accessToken); + } + + @Override + public Cancel setAlt(java.lang.String alt) { + return (Cancel) super.setAlt(alt); + } + + @Override + public Cancel setCallback(java.lang.String callback) { + return (Cancel) super.setCallback(callback); + } + + @Override + public Cancel setFields(java.lang.String fields) { + return (Cancel) super.setFields(fields); + } + + @Override + public Cancel setKey(java.lang.String key) { + return (Cancel) super.setKey(key); + } + + @Override + public Cancel setOauthToken(java.lang.String oauthToken) { + return (Cancel) super.setOauthToken(oauthToken); + } + + @Override + public Cancel setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Cancel) super.setPrettyPrint(prettyPrint); + } + + @Override + public Cancel setQuotaUser(java.lang.String quotaUser) { + return (Cancel) super.setQuotaUser(quotaUser); + } + + @Override + public Cancel setUploadType(java.lang.String uploadType) { + return (Cancel) super.setUploadType(uploadType); + } + + @Override + public Cancel setUploadProtocol(java.lang.String uploadProtocol) { + return (Cancel) super.setUploadProtocol(uploadProtocol); + } + + /** The name of the operation resource to be cancelled. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** The name of the operation resource to be cancelled. + */ + public java.lang.String getName() { + return name; + } + + /** The name of the operation resource to be cancelled. */ + public Cancel setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Cancel set(String parameterName, Object value) { + return (Cancel) super.set(parameterName, value); + } + } + /** + * Deletes a long-running operation. This method indicates that the client is no longer interested + * in the operation result. It does not cancel the operation. If the server doesn't support this + * method, it returns `google.rpc.Code.UNIMPLEMENTED`. + * + * Create a request for the method "operations.delete". + * + * This request holds the parameters needed by the devicerun server. After setting any optional + * parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name The name of the operation resource to be deleted. + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends DeviceRunRequest{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name The name of the operation resource to be deleted. + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(DeviceRun.this, "DELETE", REST_PATH, null, com.google.api.services.devicerun.v1.model.Empty.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + /** The name of the operation resource to be deleted. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** The name of the operation resource to be deleted. + */ + public java.lang.String getName() { + return name; + } + + /** The name of the operation resource to be deleted. */ + public Delete setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets the latest state of a long-running operation. Clients can use this method to poll the + * operation result at intervals as recommended by the API service. + * + * Create a request for the method "operations.get". + * + * This request holds the parameters needed by the devicerun server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name The name of the operation resource. + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends DeviceRunRequest+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name The name of the operation resource. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(DeviceRun.this, "GET", REST_PATH, null, com.google.api.services.devicerun.v1.model.GoogleLongrunningOperation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** The name of the operation resource. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** The name of the operation resource. + */ + public java.lang.String getName() { + return name; + } + + /** The name of the operation resource. */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists operations that match the specified filter in the request. If the server doesn't support + * this method, it returns `UNIMPLEMENTED`. + * + * Create a request for the method "operations.list". + * + * This request holds the parameters needed by the devicerun server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param name The name of the operation's parent resource. + * @return the request + */ + public List list(java.lang.String name) throws java.io.IOException { + List result = new List(name); + initialize(result); + return result; + } + + public class List extends DeviceRunRequest+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name The name of the operation's parent resource. + * @since 1.13 + */ + protected List(java.lang.String name) { + super(DeviceRun.this, "GET", REST_PATH, null, com.google.api.services.devicerun.v1.model.GoogleLongrunningListOperationsResponse.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** The name of the operation's parent resource. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** The name of the operation's parent resource. + */ + public java.lang.String getName() { + return name; + } + + /** The name of the operation's parent resource. */ + public List setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.name = name; + return this; + } + + /** The standard list filter. */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** The standard list filter. + */ + public java.lang.String getFilter() { + return filter; + } + + /** The standard list filter. */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** The standard list page size. */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** The standard list page size. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** The standard list page size. */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** The standard list page token. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** The standard list page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** The standard list page token. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + /** + * When set to `true`, operations that are reachable are returned as normal, and those + * that are unreachable are returned in the ListOperationsResponse.unreachable field. This + * can only be `true` when reading across collections. For example, when `parent` is set + * to `"projects/example/locations/-"`. This field is not supported by default and will + * result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in + * service or product specific documentation. + */ + @com.google.api.client.util.Key + private java.lang.Boolean returnPartialSuccess; + + /** When set to `true`, operations that are reachable are returned as normal, and those that are + unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` + when reading across collections. For example, when `parent` is set to + `"projects/example/locations/-"`. This field is not supported by default and will result in an + `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific + documentation. + */ + public java.lang.Boolean getReturnPartialSuccess() { + return returnPartialSuccess; + } + + /** + * When set to `true`, operations that are reachable are returned as normal, and those + * that are unreachable are returned in the ListOperationsResponse.unreachable field. This + * can only be `true` when reading across collections. For example, when `parent` is set + * to `"projects/example/locations/-"`. This field is not supported by default and will + * result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in + * service or product specific documentation. + */ + public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) { + this.returnPartialSuccess = returnPartialSuccess; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the SoftwareVersions collection. + * + *The typical use is:
+ *
+ * {@code DeviceRun devicerun = new DeviceRun(...);}
+ * {@code DeviceRun.SoftwareVersions.List request = devicerun.softwareVersions().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public SoftwareVersions softwareVersions() {
+ return new SoftwareVersions();
+ }
+
+ /**
+ * The "softwareVersions" collection of methods.
+ */
+ public class SoftwareVersions {
+
+ /**
+ * Returns information about a specific software version.
+ *
+ * Create a request for the method "softwareVersions.get".
+ *
+ * This request holds the parameters needed by the devicerun server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. The name of the software version. Format:
+ * `projects/{project}/locations/global/softwareVersions/{software_version}`.
+ * @return the request
+ */
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
+ initialize(result);
+ return result;
+ }
+
+ public class Get extends DeviceRunRequest+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. The name of the software version. Format: + * `projects/{project}/locations/global/softwareVersions/{software_version}`. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(DeviceRun.this, "GET", REST_PATH, null, com.google.api.services.devicerun.v1.model.CatalogSoftwareVersion.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/softwareVersions/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the software version. Format: + * `projects/{project}/locations/global/softwareVersions/{software_version}`. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the software version. Format: + `projects/{project}/locations/global/softwareVersions/{software_version}`. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the software version. Format: + * `projects/{project}/locations/global/softwareVersions/{software_version}`. + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/softwareVersions/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists all software versions. + * + * Create a request for the method "softwareVersions.list". + * + * This request holds the parameters needed by the devicerun server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The parent of the collection of software versions. Format: + * `projects/{project}/locations/global`. + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends DeviceRunRequest+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent Required. The parent of the collection of software versions. Format: + * `projects/{project}/locations/global`. + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(DeviceRun.this, "GET", REST_PATH, null, com.google.api.services.devicerun.v1.model.CatalogListSoftwareVersionsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The parent of the collection of software versions. Format: + * `projects/{project}/locations/global`. + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent of the collection of software versions. Format: + `projects/{project}/locations/global`. + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The parent of the collection of software versions. Format: + * `projects/{project}/locations/global`. + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. An AIP-160 (https://google.aip.dev/160) filter expression restricting which + * software versions are returned. An empty filter returns all software versions. + * Filtering is supported over the `SoftwareVersion` fields, including nested fields via + * dot-path. Enum and string values must be double-quoted. Examples: * `software_type = + * "ANDROIDX_TEST_ORCHESTRATOR"` * `software_type = "ANDROIDX_TEST_ORCHESTRATOR" AND + * is_default = true` * `lifecycle.state = "ACTIVE"` * `version = "1.4.1"` + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. An AIP-160 (https://google.aip.dev/160) filter expression restricting which software + versions are returned. An empty filter returns all software versions. Filtering is supported over + the `SoftwareVersion` fields, including nested fields via dot-path. Enum and string values must be + double-quoted. Examples: * `software_type = "ANDROIDX_TEST_ORCHESTRATOR"` * `software_type = + "ANDROIDX_TEST_ORCHESTRATOR" AND is_default = true` * `lifecycle.state = "ACTIVE"` * `version = + "1.4.1"` + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. An AIP-160 (https://google.aip.dev/160) filter expression restricting which + * software versions are returned. An empty filter returns all software versions. + * Filtering is supported over the `SoftwareVersion` fields, including nested fields via + * dot-path. Enum and string values must be double-quoted. Examples: * `software_type = + * "ANDROIDX_TEST_ORCHESTRATOR"` * `software_type = "ANDROIDX_TEST_ORCHESTRATOR" AND + * is_default = true` * `lifecycle.state = "ACTIVE"` * `version = "1.4.1"` + */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Optional. The maximum number of software versions to return. The server may return + * fewer items than this value. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of software versions to return. The server may return fewer items than + this value. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of software versions to return. The server may return + * fewer items than this value. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous `ListSoftwareVersions` call. Provide + * this to receive the subsequent page. When paginating, all other parameters provided to + * `ListSoftwareVersions` must match the call that provided the page token. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A page token, received from a previous `ListSoftwareVersions` call. Provide this to + receive the subsequent page. When paginating, all other parameters provided to + `ListSoftwareVersions` must match the call that provided the page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous `ListSoftwareVersions` call. Provide + * this to receive the subsequent page. When paginating, all other parameters provided to + * `ListSoftwareVersions` must match the call that provided the page token. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + } + } + } + /** * Builder for {@link DeviceRun}. * diff --git a/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/DeviceRunScopes.java b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/DeviceRunScopes.java new file mode 100644 index 00000000000..6a3881c5b4d --- /dev/null +++ b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/DeviceRunScopes.java @@ -0,0 +1,42 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.devicerun.v1; + +/** + * Available OAuth 2.0 scopes for use with the Device Run API. + * + * @since 1.4 + */ +public class DeviceRunScopes { + + /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */ + public static final String CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; + + /** + * Returns an unmodifiable set that contains all scopes declared by this class. + * + * @since 1.16 + */ + public static java.util.SetThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogAndroidDeviceDetails extends com.google.api.client.json.GenericJson { + + /** + * Output only. Mirrors the AOSP `ro.build.type` property, e.g. "user", "userdebug", "eng". Empty + * if unknown. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String buildType; + + /** + * Output only. Lists ABIs supported by the device (android.os.Build.SUPPORTED_ABIS), most + * preferred first, e.g. "arm64-v8a". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogAndroidxTestOrchestratorDetails extends com.google.api.client.json.GenericJson { + + @Override + public CatalogAndroidxTestOrchestratorDetails set(String fieldName, Object value) { + return (CatalogAndroidxTestOrchestratorDetails) super.set(fieldName, value); + } + + @Override + public CatalogAndroidxTestOrchestratorDetails clone() { + return (CatalogAndroidxTestOrchestratorDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogAutomationSupport.java b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogAutomationSupport.java new file mode 100644 index 00000000000..dff94187c45 --- /dev/null +++ b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogAutomationSupport.java @@ -0,0 +1,42 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.devicerun.v1.model; + +/** + * Per-product metadata for the Automation (DeviceRun) product. + * + *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogAutomationSupport extends com.google.api.client.json.GenericJson { + + @Override + public CatalogAutomationSupport set(String fieldName, Object value) { + return (CatalogAutomationSupport) super.set(fieldName, value); + } + + @Override + public CatalogAutomationSupport clone() { + return (CatalogAutomationSupport) super.clone(); + } + +} diff --git a/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogDevice.java b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogDevice.java new file mode 100644 index 00000000000..f951d9d382a --- /dev/null +++ b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogDevice.java @@ -0,0 +1,474 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.devicerun.v1.model; + +/** + * A single routable device configuration in the catalog. + * + *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogDevice extends com.google.api.client.json.GenericJson { + + /** + * Output only. Reasons for access denial. This model is accessible/usable if this list is empty, + * otherwise the model is viewable only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogDeviceAvailability extends com.google.api.client.json.GenericJson { + + /** + * Output only. Specifies the current availability bucket (idle, immediately allocatable devices) + * for this device configuration. This is a best-effort snapshot, refreshed periodically. It + * fluctuates depending on traffic as other requests allocate devices. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String available; + + /** + * Output only. Specifies the current capacity bucket for this device configuration. Represents + * the total number of online devices (idle or in use). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String capacity; + + /** + * Output only. Specifies the current availability bucket (idle, immediately allocatable devices) + * for this device configuration. This is a best-effort snapshot, refreshed periodically. It + * fluctuates depending on traffic as other requests allocate devices. + * @return value or {@code null} for none + */ + public java.lang.String getAvailable() { + return available; + } + + /** + * Output only. Specifies the current availability bucket (idle, immediately allocatable devices) + * for this device configuration. This is a best-effort snapshot, refreshed periodically. It + * fluctuates depending on traffic as other requests allocate devices. + * @param available available or {@code null} for none + */ + public CatalogDeviceAvailability setAvailable(java.lang.String available) { + this.available = available; + return this; + } + + /** + * Output only. Specifies the current capacity bucket for this device configuration. Represents + * the total number of online devices (idle or in use). + * @return value or {@code null} for none + */ + public java.lang.String getCapacity() { + return capacity; + } + + /** + * Output only. Specifies the current capacity bucket for this device configuration. Represents + * the total number of online devices (idle or in use). + * @param capacity capacity or {@code null} for none + */ + public CatalogDeviceAvailability setCapacity(java.lang.String capacity) { + this.capacity = capacity; + return this; + } + + @Override + public CatalogDeviceAvailability set(String fieldName, Object value) { + return (CatalogDeviceAvailability) super.set(fieldName, value); + } + + @Override + public CatalogDeviceAvailability clone() { + return (CatalogDeviceAvailability) super.clone(); + } + +} diff --git a/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogDeviceStreamingSupport.java b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogDeviceStreamingSupport.java new file mode 100644 index 00000000000..fafc82e3dd2 --- /dev/null +++ b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogDeviceStreamingSupport.java @@ -0,0 +1,72 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.devicerun.v1.model; + +/** + * Per-product metadata for the DeviceStreaming product. + * + *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogDeviceStreamingSupport extends com.google.api.client.json.GenericJson { + + /** + * Output only. Specifies the minimum Android Studio version that supports this device. Optional; + * only set when the device is known to work only at or above a certain Android Studio version. + * Expected format "major.minor.micro.patch", e.g. "5921.22.2211.8881706". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String minimumAndroidStudioVersion; + + /** + * Output only. Specifies the minimum Android Studio version that supports this device. Optional; + * only set when the device is known to work only at or above a certain Android Studio version. + * Expected format "major.minor.micro.patch", e.g. "5921.22.2211.8881706". + * @return value or {@code null} for none + */ + public java.lang.String getMinimumAndroidStudioVersion() { + return minimumAndroidStudioVersion; + } + + /** + * Output only. Specifies the minimum Android Studio version that supports this device. Optional; + * only set when the device is known to work only at or above a certain Android Studio version. + * Expected format "major.minor.micro.patch", e.g. "5921.22.2211.8881706". + * @param minimumAndroidStudioVersion minimumAndroidStudioVersion or {@code null} for none + */ + public CatalogDeviceStreamingSupport setMinimumAndroidStudioVersion(java.lang.String minimumAndroidStudioVersion) { + this.minimumAndroidStudioVersion = minimumAndroidStudioVersion; + return this; + } + + @Override + public CatalogDeviceStreamingSupport set(String fieldName, Object value) { + return (CatalogDeviceStreamingSupport) super.set(fieldName, value); + } + + @Override + public CatalogDeviceStreamingSupport clone() { + return (CatalogDeviceStreamingSupport) super.clone(); + } + +} diff --git a/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogIosDeviceDetails.java b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogIosDeviceDetails.java new file mode 100644 index 00000000000..a276e88df88 --- /dev/null +++ b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogIosDeviceDetails.java @@ -0,0 +1,42 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.devicerun.v1.model; + +/** + * iOS-specific device attributes. Reserved for future iOS-only fields. + * + *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogIosDeviceDetails extends com.google.api.client.json.GenericJson { + + @Override + public CatalogIosDeviceDetails set(String fieldName, Object value) { + return (CatalogIosDeviceDetails) super.set(fieldName, value); + } + + @Override + public CatalogIosDeviceDetails clone() { + return (CatalogIosDeviceDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogLabInfo.java b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogLabInfo.java new file mode 100644 index 00000000000..7133d795320 --- /dev/null +++ b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogLabInfo.java @@ -0,0 +1,96 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.devicerun.v1.model; + +/** + * The lab hosting a device. + * + *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogLabInfo extends com.google.api.client.json.GenericJson { + + /** + * Output only. Display name of the lab where the device is hosted. If empty, the device is hosted + * in a Google owned lab. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Output only. The Unicode country/region code (CLDR) of the lab where the device is hosted, e.g. + * "US" for United States, "KR" for South Korea. Empty when the hosting region is not published. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String regionCode; + + /** + * Output only. Display name of the lab where the device is hosted. If empty, the device is hosted + * in a Google owned lab. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Output only. Display name of the lab where the device is hosted. If empty, the device is hosted + * in a Google owned lab. + * @param displayName displayName or {@code null} for none + */ + public CatalogLabInfo setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Output only. The Unicode country/region code (CLDR) of the lab where the device is hosted, e.g. + * "US" for United States, "KR" for South Korea. Empty when the hosting region is not published. + * @return value or {@code null} for none + */ + public java.lang.String getRegionCode() { + return regionCode; + } + + /** + * Output only. The Unicode country/region code (CLDR) of the lab where the device is hosted, e.g. + * "US" for United States, "KR" for South Korea. Empty when the hosting region is not published. + * @param regionCode regionCode or {@code null} for none + */ + public CatalogLabInfo setRegionCode(java.lang.String regionCode) { + this.regionCode = regionCode; + return this; + } + + @Override + public CatalogLabInfo set(String fieldName, Object value) { + return (CatalogLabInfo) super.set(fieldName, value); + } + + @Override + public CatalogLabInfo clone() { + return (CatalogLabInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogLifecycle.java b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogLifecycle.java new file mode 100644 index 00000000000..ea5f8225e48 --- /dev/null +++ b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogLifecycle.java @@ -0,0 +1,93 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.devicerun.v1.model; + +/** + * Catalog resource lifecycle: maturity state plus key lifecycle dates. + * + *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogLifecycle extends com.google.api.client.json.GenericJson { + + /** + * Output only. Specifies the date the resource is scheduled to be removed from the catalog. Only + * set when `state == DEPRECATED`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Date removalDate; + + /** + * Output only. Specifies the current maturity state of the resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Output only. Specifies the date the resource is scheduled to be removed from the catalog. Only + * set when `state == DEPRECATED`. + * @return value or {@code null} for none + */ + public Date getRemovalDate() { + return removalDate; + } + + /** + * Output only. Specifies the date the resource is scheduled to be removed from the catalog. Only + * set when `state == DEPRECATED`. + * @param removalDate removalDate or {@code null} for none + */ + public CatalogLifecycle setRemovalDate(Date removalDate) { + this.removalDate = removalDate; + return this; + } + + /** + * Output only. Specifies the current maturity state of the resource. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. Specifies the current maturity state of the resource. + * @param state state or {@code null} for none + */ + public CatalogLifecycle setState(java.lang.String state) { + this.state = state; + return this; + } + + @Override + public CatalogLifecycle set(String fieldName, Object value) { + return (CatalogLifecycle) super.set(fieldName, value); + } + + @Override + public CatalogLifecycle clone() { + return (CatalogLifecycle) super.clone(); + } + +} diff --git a/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogListDevicesResponse.java b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogListDevicesResponse.java new file mode 100644 index 00000000000..55966d902ca --- /dev/null +++ b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogListDevicesResponse.java @@ -0,0 +1,99 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.devicerun.v1.model; + +/** + * Response including listed devices. + * + *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogListDevicesResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of devices. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogListSoftwareVersionsResponse extends com.google.api.client.json.GenericJson { + + /** + * Token to receive the next page of software versions. This will be absent if the end of the + * response list has been reached. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of software versions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogScreenMetrics extends com.google.api.client.json.GenericJson { + + /** + * Output only. Pixel density in dots per inch (dpi). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer densityDpi; + + /** + * Output only. Height in pixels. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer heightPx; + + /** + * Output only. Width in pixels. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer widthPx; + + /** + * Output only. Pixel density in dots per inch (dpi). + * @return value or {@code null} for none + */ + public java.lang.Integer getDensityDpi() { + return densityDpi; + } + + /** + * Output only. Pixel density in dots per inch (dpi). + * @param densityDpi densityDpi or {@code null} for none + */ + public CatalogScreenMetrics setDensityDpi(java.lang.Integer densityDpi) { + this.densityDpi = densityDpi; + return this; + } + + /** + * Output only. Height in pixels. + * @return value or {@code null} for none + */ + public java.lang.Integer getHeightPx() { + return heightPx; + } + + /** + * Output only. Height in pixels. + * @param heightPx heightPx or {@code null} for none + */ + public CatalogScreenMetrics setHeightPx(java.lang.Integer heightPx) { + this.heightPx = heightPx; + return this; + } + + /** + * Output only. Width in pixels. + * @return value or {@code null} for none + */ + public java.lang.Integer getWidthPx() { + return widthPx; + } + + /** + * Output only. Width in pixels. + * @param widthPx widthPx or {@code null} for none + */ + public CatalogScreenMetrics setWidthPx(java.lang.Integer widthPx) { + this.widthPx = widthPx; + return this; + } + + @Override + public CatalogScreenMetrics set(String fieldName, Object value) { + return (CatalogScreenMetrics) super.set(fieldName, value); + } + + @Override + public CatalogScreenMetrics clone() { + return (CatalogScreenMetrics) super.clone(); + } + +} diff --git a/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogSoftwareVersion.java b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogSoftwareVersion.java new file mode 100644 index 00000000000..838bfdf8034 --- /dev/null +++ b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogSoftwareVersion.java @@ -0,0 +1,261 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.devicerun.v1.model; + +/** + * A single software version in the catalog. + * + *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogSoftwareVersion extends com.google.api.client.json.GenericJson { + + /** + * Output only. Contains AndroidX Test Orchestrator-specific attributes (set when software_type == + * ANDROIDX_TEST_ORCHESTRATOR). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CatalogAndroidxTestOrchestratorDetails androidxTestOrchestratorDetails; + + /** + * Output only. Provides a human-readable name for this version, e.g. "AndroidX Test Orchestrator + * 1.4.1". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Output only. Indicates whether the system uses this version when a request does not select one + * explicitly. Exactly one version per `software_type` is the default, and it may change over + * time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean isDefault; + + /** + * Output only. The version lifecycle (maturity stage and removal date). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CatalogLifecycle lifecycle; + + /** + * Identifier. Identifies the software version resource. Format: + * `projects/{project}/locations/{location}/softwareVersions/{software_version}`. The + * {software_version} segment is an opaque, stable string. Clients must not parse it to derive or + * assume the version. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. Specifies which software this is a version of. Filter on this field to narrow the + * collection to a single kind of software, for example `software_type = + * "ANDROIDX_TEST_ORCHESTRATOR"`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String softwareType; + + /** + * Output only. Specifies the version identifier, e.g. "1.4.1". Unique within a `software_type`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String version; + + /** + * Output only. Contains Xcode-specific attributes (set when software_type == XCODE). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CatalogXcodeDetails xcodeDetails; + + /** + * Output only. Contains AndroidX Test Orchestrator-specific attributes (set when software_type == + * ANDROIDX_TEST_ORCHESTRATOR). + * @return value or {@code null} for none + */ + public CatalogAndroidxTestOrchestratorDetails getAndroidxTestOrchestratorDetails() { + return androidxTestOrchestratorDetails; + } + + /** + * Output only. Contains AndroidX Test Orchestrator-specific attributes (set when software_type == + * ANDROIDX_TEST_ORCHESTRATOR). + * @param androidxTestOrchestratorDetails androidxTestOrchestratorDetails or {@code null} for none + */ + public CatalogSoftwareVersion setAndroidxTestOrchestratorDetails(CatalogAndroidxTestOrchestratorDetails androidxTestOrchestratorDetails) { + this.androidxTestOrchestratorDetails = androidxTestOrchestratorDetails; + return this; + } + + /** + * Output only. Provides a human-readable name for this version, e.g. "AndroidX Test Orchestrator + * 1.4.1". + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Output only. Provides a human-readable name for this version, e.g. "AndroidX Test Orchestrator + * 1.4.1". + * @param displayName displayName or {@code null} for none + */ + public CatalogSoftwareVersion setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Output only. Indicates whether the system uses this version when a request does not select one + * explicitly. Exactly one version per `software_type` is the default, and it may change over + * time. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIsDefault() { + return isDefault; + } + + /** + * Output only. Indicates whether the system uses this version when a request does not select one + * explicitly. Exactly one version per `software_type` is the default, and it may change over + * time. + * @param isDefault isDefault or {@code null} for none + */ + public CatalogSoftwareVersion setIsDefault(java.lang.Boolean isDefault) { + this.isDefault = isDefault; + return this; + } + + /** + * Output only. The version lifecycle (maturity stage and removal date). + * @return value or {@code null} for none + */ + public CatalogLifecycle getLifecycle() { + return lifecycle; + } + + /** + * Output only. The version lifecycle (maturity stage and removal date). + * @param lifecycle lifecycle or {@code null} for none + */ + public CatalogSoftwareVersion setLifecycle(CatalogLifecycle lifecycle) { + this.lifecycle = lifecycle; + return this; + } + + /** + * Identifier. Identifies the software version resource. Format: + * `projects/{project}/locations/{location}/softwareVersions/{software_version}`. The + * {software_version} segment is an opaque, stable string. Clients must not parse it to derive or + * assume the version. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Identifies the software version resource. Format: + * `projects/{project}/locations/{location}/softwareVersions/{software_version}`. The + * {software_version} segment is an opaque, stable string. Clients must not parse it to derive or + * assume the version. + * @param name name or {@code null} for none + */ + public CatalogSoftwareVersion setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. Specifies which software this is a version of. Filter on this field to narrow the + * collection to a single kind of software, for example `software_type = + * "ANDROIDX_TEST_ORCHESTRATOR"`. + * @return value or {@code null} for none + */ + public java.lang.String getSoftwareType() { + return softwareType; + } + + /** + * Output only. Specifies which software this is a version of. Filter on this field to narrow the + * collection to a single kind of software, for example `software_type = + * "ANDROIDX_TEST_ORCHESTRATOR"`. + * @param softwareType softwareType or {@code null} for none + */ + public CatalogSoftwareVersion setSoftwareType(java.lang.String softwareType) { + this.softwareType = softwareType; + return this; + } + + /** + * Output only. Specifies the version identifier, e.g. "1.4.1". Unique within a `software_type`. + * @return value or {@code null} for none + */ + public java.lang.String getVersion() { + return version; + } + + /** + * Output only. Specifies the version identifier, e.g. "1.4.1". Unique within a `software_type`. + * @param version version or {@code null} for none + */ + public CatalogSoftwareVersion setVersion(java.lang.String version) { + this.version = version; + return this; + } + + /** + * Output only. Contains Xcode-specific attributes (set when software_type == XCODE). + * @return value or {@code null} for none + */ + public CatalogXcodeDetails getXcodeDetails() { + return xcodeDetails; + } + + /** + * Output only. Contains Xcode-specific attributes (set when software_type == XCODE). + * @param xcodeDetails xcodeDetails or {@code null} for none + */ + public CatalogSoftwareVersion setXcodeDetails(CatalogXcodeDetails xcodeDetails) { + this.xcodeDetails = xcodeDetails; + return this; + } + + @Override + public CatalogSoftwareVersion set(String fieldName, Object value) { + return (CatalogSoftwareVersion) super.set(fieldName, value); + } + + @Override + public CatalogSoftwareVersion clone() { + return (CatalogSoftwareVersion) super.clone(); + } + +} diff --git a/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogSupportedProduct.java b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogSupportedProduct.java new file mode 100644 index 00000000000..290194d38f2 --- /dev/null +++ b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogSupportedProduct.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.devicerun.v1.model; + +/** + * Declares that a device supports a given Device Cloud product, with optional per-product metadata. + * Discriminated by which product-specific message is set; adding a new product = new oneof arm + + * new per-product message. + * + *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogSupportedProduct extends com.google.api.client.json.GenericJson { + + /** + * Output only. Represents Automation, which is DeviceRun-backed automated test execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CatalogAutomationSupport automation; + + /** + * Output only. Represents DeviceStreaming, which is interactive remote device streaming. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CatalogDeviceStreamingSupport deviceStreaming; + + /** + * Output only. Represents Automation, which is DeviceRun-backed automated test execution. + * @return value or {@code null} for none + */ + public CatalogAutomationSupport getAutomation() { + return automation; + } + + /** + * Output only. Represents Automation, which is DeviceRun-backed automated test execution. + * @param automation automation or {@code null} for none + */ + public CatalogSupportedProduct setAutomation(CatalogAutomationSupport automation) { + this.automation = automation; + return this; + } + + /** + * Output only. Represents DeviceStreaming, which is interactive remote device streaming. + * @return value or {@code null} for none + */ + public CatalogDeviceStreamingSupport getDeviceStreaming() { + return deviceStreaming; + } + + /** + * Output only. Represents DeviceStreaming, which is interactive remote device streaming. + * @param deviceStreaming deviceStreaming or {@code null} for none + */ + public CatalogSupportedProduct setDeviceStreaming(CatalogDeviceStreamingSupport deviceStreaming) { + this.deviceStreaming = deviceStreaming; + return this; + } + + @Override + public CatalogSupportedProduct set(String fieldName, Object value) { + return (CatalogSupportedProduct) super.set(fieldName, value); + } + + @Override + public CatalogSupportedProduct clone() { + return (CatalogSupportedProduct) super.clone(); + } + +} diff --git a/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogXcodeDetails.java b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogXcodeDetails.java new file mode 100644 index 00000000000..3c2b5fbb629 --- /dev/null +++ b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/CatalogXcodeDetails.java @@ -0,0 +1,72 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.devicerun.v1.model; + +/** + * Xcode-specific attributes. + * + *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CatalogXcodeDetails extends com.google.api.client.json.GenericJson { + + /** + * Output only. Lists the iOS versions this Xcode can run tests against, e.g. "16.6". This is a + * property of the toolchain, so it says nothing about whether a device on that iOS version is + * available; list the `Device` collection to find out. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class Date extends com.google.api.client.json.GenericJson { + + /** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year + * by itself or a year and month where the day isn't significant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer day; + + /** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer month; + + /** + * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer year; + + /** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year + * by itself or a year and month where the day isn't significant. + * @return value or {@code null} for none + */ + public java.lang.Integer getDay() { + return day; + } + + /** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year + * by itself or a year and month where the day isn't significant. + * @param day day or {@code null} for none + */ + public Date setDay(java.lang.Integer day) { + this.day = day; + return this; + } + + /** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + * @return value or {@code null} for none + */ + public java.lang.Integer getMonth() { + return month; + } + + /** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + * @param month month or {@code null} for none + */ + public Date setMonth(java.lang.Integer month) { + this.month = month; + return this; + } + + /** + * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + * @return value or {@code null} for none + */ + public java.lang.Integer getYear() { + return year; + } + + /** + * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + * @param year year or {@code null} for none + */ + public Date setYear(java.lang.Integer year) { + this.year = year; + return this; + } + + @Override + public Date set(String fieldName, Object value) { + return (Date) super.set(fieldName, value); + } + + @Override + public Date clone() { + return (Date) super.clone(); + } + +} diff --git a/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/Empty.java b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/Empty.java new file mode 100644 index 00000000000..6f7d412fa93 --- /dev/null +++ b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/Empty.java @@ -0,0 +1,44 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.devicerun.v1.model; + +/** + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your + * APIs. A typical example is to use it as the request or the response type of an API method. For + * instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + * + *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class Empty extends com.google.api.client.json.GenericJson { + + @Override + public Empty set(String fieldName, Object value) { + return (Empty) super.set(fieldName, value); + } + + @Override + public Empty clone() { + return (Empty) super.clone(); + } + +} diff --git a/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/GoogleLongrunningCancelOperationRequest.java b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/GoogleLongrunningCancelOperationRequest.java new file mode 100644 index 00000000000..0279ec1d9a2 --- /dev/null +++ b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/GoogleLongrunningCancelOperationRequest.java @@ -0,0 +1,42 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.devicerun.v1.model; + +/** + * The request message for Operations.CancelOperation. + * + *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleLongrunningCancelOperationRequest extends com.google.api.client.json.GenericJson { + + @Override + public GoogleLongrunningCancelOperationRequest set(String fieldName, Object value) { + return (GoogleLongrunningCancelOperationRequest) super.set(fieldName, value); + } + + @Override + public GoogleLongrunningCancelOperationRequest clone() { + return (GoogleLongrunningCancelOperationRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/GoogleLongrunningListOperationsResponse.java b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/GoogleLongrunningListOperationsResponse.java new file mode 100644 index 00000000000..3c8b1f35c08 --- /dev/null +++ b/clients/google-api-services-devicerun/v1/2.0.0/com/google/api/services/devicerun/v1/model/GoogleLongrunningListOperationsResponse.java @@ -0,0 +1,120 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.devicerun.v1.model; + +/** + * The response message for Operations.ListOperations. + * + *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleLongrunningListOperationsResponse extends com.google.api.client.json.GenericJson { + + /** + * The standard List next-page token. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * A list of operations that matches the specified filter in the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleLongrunningOperation extends com.google.api.client.json.GenericJson { + + /** + * If the value is `false`, it means the operation is still in progress. If `true`, the operation + * is completed, and either `error` or `response` is available. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean done; + + /** + * The error result of the operation in case of failure or cancellation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleRpcStatus error; + + /** + * Service-specific metadata associated with the operation. It typically contains progress + * information and common metadata such as create time. Some services might not provide such + * metadata. Any method that returns a long-running operation should document the metadata type, + * if any. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleRpcStatus extends com.google.api.client.json.GenericJson { + + /** + * The status code, which should be an enum value of google.rpc.Code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer code; + + /** + * A list of messages that carry the error details. There is a common set of message types for + * APIs to use. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ListLocationsResponse extends com.google.api.client.json.GenericJson { + + /** + * A list of locations that matches the specified filter in the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class Location extends com.google.api.client.json.GenericJson { + + /** + * The friendly name for this location, typically a nearby city name. For example, "Tokyo". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us- + * east1"} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map