diff --git a/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/README.md b/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/README.md new file mode 100644 index 00000000000..576667a332b --- /dev/null +++ b/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/README.md @@ -0,0 +1,44 @@ +# Android Developer ID Status API Client Library for Java + +Android Developer ID Status API. + +This page contains information about getting started with the Android Developer ID Status API +using the Google API Client Library for Java. In addition, you may be interested +in the following documentation: + +* Browse the [Javadoc reference for the Android Developer ID Status API][javadoc] +* Read the [Developer's Guide for the Google API Client Library for Java][google-api-client]. +* Interact with this API in your browser using the [APIs Explorer for the Android Developer ID Status API][api-explorer] + +## Installation + +### Maven + +Add the following lines to your `pom.xml` file: + +```xml + + + + com.google.apis + google-api-services-androiddeveloperidstatus + v1-rev20260804-2.0.0 + + + +``` + +### Gradle + +```gradle +repositories { + mavenCentral() +} +dependencies { + implementation 'com.google.apis:google-api-services-androiddeveloperidstatus:v1-rev20260804-2.0.0' +} +``` + +[javadoc]: https://googleapis.dev/java/google-api-services-androiddeveloperidstatus/latest/index.html +[google-api-client]: https://github.com/googleapis/google-api-java-client/ +[api-explorer]: https://developers.google.com/apis-explorer/#p/androiddeveloperidstatus/v1/ diff --git a/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/com/google/api/services/androiddeveloperidstatus/v1/AndroidDeveloperIDStatus.java b/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/com/google/api/services/androiddeveloperidstatus/v1/AndroidDeveloperIDStatus.java new file mode 100644 index 00000000000..c82431167ab --- /dev/null +++ b/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/com/google/api/services/androiddeveloperidstatus/v1/AndroidDeveloperIDStatus.java @@ -0,0 +1,487 @@ +/* + * 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.androiddeveloperidstatus.v1; + +/** + * Service definition for AndroidDeveloperIDStatus (v1). + * + *

+ * Android Developer ID Status API. + *

+ * + *

+ * For more information about this service, see the + * API Documentation + *

+ * + *

+ * This service uses {@link AndroidDeveloperIDStatusRequestInitializer} to initialize global parameters via its + * {@link Builder}. + *

+ * + * @since 1.3 + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public class AndroidDeveloperIDStatus extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient { + + // Note: Leave this static initializer at the top of the file. + static { + com.google.api.client.util.Preconditions.checkState( + (com.google.api.client.googleapis.GoogleUtils.MAJOR_VERSION == 1 && + (com.google.api.client.googleapis.GoogleUtils.MINOR_VERSION >= 32 || + (com.google.api.client.googleapis.GoogleUtils.MINOR_VERSION == 31 && + com.google.api.client.googleapis.GoogleUtils.BUGFIX_VERSION >= 1))) || + com.google.api.client.googleapis.GoogleUtils.MAJOR_VERSION >= 2, + "You are currently running with version %s of google-api-client. " + + "You need at least version 1.31.1 of google-api-client to run version " + + "2.0.0 of the Android Developer ID Status API library.", com.google.api.client.googleapis.GoogleUtils.VERSION); + } + + /** + * The default encoded root URL of the service. This is determined when the library is generated + * and normally should not be changed. + * + * @since 1.7 + */ + public static final String DEFAULT_ROOT_URL = "https://androiddeveloperidstatus.googleapis.com/"; + + /** + * The default encoded mTLS root URL of the service. This is determined when the library is generated + * and normally should not be changed. + * + * @since 1.31 + */ + public static final String DEFAULT_MTLS_ROOT_URL = "https://androiddeveloperidstatus.mtls.googleapis.com/"; + + /** + * The default encoded service path of the service. This is determined when the library is + * generated and normally should not be changed. + * + * @since 1.7 + */ + public static final String DEFAULT_SERVICE_PATH = ""; + + /** + * The default encoded batch path of the service. This is determined when the library is + * generated and normally should not be changed. + * + * @since 1.23 + */ + public static final String DEFAULT_BATCH_PATH = "batch"; + + /** + * The default encoded base URL of the service. This is determined when the library is generated + * and normally should not be changed. + */ + public static final String DEFAULT_BASE_URL = DEFAULT_ROOT_URL + DEFAULT_SERVICE_PATH; + + /** + * Constructor. + * + *

+ * Use {@link Builder} if you need to specify any of the optional parameters. + *

+ * + * @param transport HTTP transport, which should normally be: + * + * @param jsonFactory JSON factory, which may be: + * + * @param httpRequestInitializer HTTP request initializer or {@code null} for none + * @since 1.7 + */ + public AndroidDeveloperIDStatus(com.google.api.client.http.HttpTransport transport, com.google.api.client.json.JsonFactory jsonFactory, + com.google.api.client.http.HttpRequestInitializer httpRequestInitializer) { + this(new Builder(transport, jsonFactory, httpRequestInitializer)); + } + + /** + * @param builder builder + */ + AndroidDeveloperIDStatus(Builder builder) { + super(builder); + } + + @Override + protected void initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest httpClientRequest) throws java.io.IOException { + super.initialize(httpClientRequest); + } + + /** + * An accessor for creating requests from the Packages collection. + * + *

The typical use is:

+ *
+   *   {@code AndroidDeveloperIDStatus androiddeveloperidstatus = new AndroidDeveloperIDStatus(...);}
+   *   {@code AndroidDeveloperIDStatus.Packages.List request = androiddeveloperidstatus.packages().list(parameters ...)}
+   * 
+ * + * @return the resource collection + */ + public Packages packages() { + return new Packages(); + } + + /** + * The "packages" collection of methods. + */ + public class Packages { + + /** + * An accessor for creating requests from the PackageRegistrationStatus collection. + * + *

The typical use is:

+ *
+     *   {@code AndroidDeveloperIDStatus androiddeveloperidstatus = new AndroidDeveloperIDStatus(...);}
+     *   {@code AndroidDeveloperIDStatus.PackageRegistrationStatus.List request = androiddeveloperidstatus.packageRegistrationStatus().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public PackageRegistrationStatus packageRegistrationStatus() { + return new PackageRegistrationStatus(); + } + + /** + * The "packageRegistrationStatus" collection of methods. + */ + public class PackageRegistrationStatus { + + /** + * Retrieves the Android Developer ID registration status for a given package. + * + * Create a request for the method "packageRegistrationStatus.check". + * + * This request holds the parameters needed by the androiddeveloperidstatus server. After setting + * any optional parameters, call the {@link Check#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the package registration status resource. Format: + * packages/{package}/packageRegistrationStatus `{package}` must follow the specific format: + * The fully-qualified Android package name with dots ('.') replaced by hyphens ('-') (e.g., + * `com-example-app` instead of `com.example.app`). + * @return the request + */ + public Check check(java.lang.String name) throws java.io.IOException { + Check result = new Check(name); + initialize(result); + return result; + } + + public class Check extends AndroidDeveloperIDStatusRequest { + + private static final String REST_PATH = "v1/{+name}:check"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^packages/[^/]+/packageRegistrationStatus$"); + + /** + * Retrieves the Android Developer ID registration status for a given package. + * + * Create a request for the method "packageRegistrationStatus.check". + * + * This request holds the parameters needed by the the androiddeveloperidstatus server. After + * setting any optional parameters, call the {@link Check#execute()} method to invoke the remote + * operation.

{@link + * Check#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 package registration status resource. Format: + * packages/{package}/packageRegistrationStatus `{package}` must follow the specific format: + * The fully-qualified Android package name with dots ('.') replaced by hyphens ('-') (e.g., + * `com-example-app` instead of `com.example.app`). + * @since 1.13 + */ + protected Check(java.lang.String name) { + super(AndroidDeveloperIDStatus.this, "GET", REST_PATH, null, com.google.api.services.androiddeveloperidstatus.v1.model.PackageRegistrationStatus.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 " + + "^packages/[^/]+/packageRegistrationStatus$"); + } + } + + @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 Check set$Xgafv(java.lang.String $Xgafv) { + return (Check) super.set$Xgafv($Xgafv); + } + + @Override + public Check setAccessToken(java.lang.String accessToken) { + return (Check) super.setAccessToken(accessToken); + } + + @Override + public Check setAlt(java.lang.String alt) { + return (Check) super.setAlt(alt); + } + + @Override + public Check setCallback(java.lang.String callback) { + return (Check) super.setCallback(callback); + } + + @Override + public Check setFields(java.lang.String fields) { + return (Check) super.setFields(fields); + } + + @Override + public Check setKey(java.lang.String key) { + return (Check) super.setKey(key); + } + + @Override + public Check setOauthToken(java.lang.String oauthToken) { + return (Check) super.setOauthToken(oauthToken); + } + + @Override + public Check setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Check) super.setPrettyPrint(prettyPrint); + } + + @Override + public Check setQuotaUser(java.lang.String quotaUser) { + return (Check) super.setQuotaUser(quotaUser); + } + + @Override + public Check setUploadType(java.lang.String uploadType) { + return (Check) super.setUploadType(uploadType); + } + + @Override + public Check setUploadProtocol(java.lang.String uploadProtocol) { + return (Check) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the package registration status resource. Format: + * packages/{package}/packageRegistrationStatus `{package}` must follow the specific format: + * The fully-qualified Android package name with dots ('.') replaced by hyphens ('-') (e.g., + * `com-example-app` instead of `com.example.app`). + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the package registration status resource. Format: + packages/{package}/packageRegistrationStatus `{package}` must follow the specific format: The + fully-qualified Android package name with dots ('.') replaced by hyphens ('-') (e.g., `com-example- + app` instead of `com.example.app`). + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the package registration status resource. Format: + * packages/{package}/packageRegistrationStatus `{package}` must follow the specific format: + * The fully-qualified Android package name with dots ('.') replaced by hyphens ('-') (e.g., + * `com-example-app` instead of `com.example.app`). + */ + public Check 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 " + + "^packages/[^/]+/packageRegistrationStatus$"); + } + this.name = name; + return this; + } + + /** + * Optional. The SHA-256 fingerprint of the public certificate represented as a 64-character + * lowercase hexadecimal string without any colons or separators (e.g., + * `d6ac89ed1d0a805aad4b087d06d5f41645b814480b133fbc867ef7498d069e06`). + */ + @com.google.api.client.util.Key + private java.lang.String certificateFingerprint; + + /** Optional. The SHA-256 fingerprint of the public certificate represented as a 64-character lowercase + hexadecimal string without any colons or separators (e.g., + `d6ac89ed1d0a805aad4b087d06d5f41645b814480b133fbc867ef7498d069e06`). + */ + public java.lang.String getCertificateFingerprint() { + return certificateFingerprint; + } + + /** + * Optional. The SHA-256 fingerprint of the public certificate represented as a 64-character + * lowercase hexadecimal string without any colons or separators (e.g., + * `d6ac89ed1d0a805aad4b087d06d5f41645b814480b133fbc867ef7498d069e06`). + */ + public Check setCertificateFingerprint(java.lang.String certificateFingerprint) { + this.certificateFingerprint = certificateFingerprint; + return this; + } + + @Override + public Check set(String parameterName, Object value) { + return (Check) super.set(parameterName, value); + } + } + + } + } + + /** + * Builder for {@link AndroidDeveloperIDStatus}. + * + *

+ * Implementation is not thread-safe. + *

+ * + * @since 1.3.0 + */ + public static final class Builder extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder { + + private static String chooseEndpoint(com.google.api.client.http.HttpTransport transport) { + // If the GOOGLE_API_USE_MTLS_ENDPOINT environment variable value is "always", use mTLS endpoint. + // If the env variable is "auto", use mTLS endpoint if and only if the transport is mTLS. + // Use the regular endpoint for all other cases. + String useMtlsEndpoint = System.getenv("GOOGLE_API_USE_MTLS_ENDPOINT"); + useMtlsEndpoint = useMtlsEndpoint == null ? "auto" : useMtlsEndpoint; + if ("always".equals(useMtlsEndpoint) || ("auto".equals(useMtlsEndpoint) && transport != null && transport.isMtls())) { + return DEFAULT_MTLS_ROOT_URL; + } + return DEFAULT_ROOT_URL; + } + + /** + * Returns an instance of a new builder. + * + * @param transport HTTP transport, which should normally be: + * + * @param jsonFactory JSON factory, which may be: + * + * @param httpRequestInitializer HTTP request initializer or {@code null} for none + * @since 1.7 + */ + public Builder(com.google.api.client.http.HttpTransport transport, com.google.api.client.json.JsonFactory jsonFactory, + com.google.api.client.http.HttpRequestInitializer httpRequestInitializer) { + super( + transport, + jsonFactory, + Builder.chooseEndpoint(transport), + DEFAULT_SERVICE_PATH, + httpRequestInitializer, + false); + setBatchPath(DEFAULT_BATCH_PATH); + } + + /** Builds a new instance of {@link AndroidDeveloperIDStatus}. */ + @Override + public AndroidDeveloperIDStatus build() { + return new AndroidDeveloperIDStatus(this); + } + + @Override + public Builder setRootUrl(String rootUrl) { + return (Builder) super.setRootUrl(rootUrl); + } + + @Override + public Builder setServicePath(String servicePath) { + return (Builder) super.setServicePath(servicePath); + } + + @Override + public Builder setBatchPath(String batchPath) { + return (Builder) super.setBatchPath(batchPath); + } + + @Override + public Builder setHttpRequestInitializer(com.google.api.client.http.HttpRequestInitializer httpRequestInitializer) { + return (Builder) super.setHttpRequestInitializer(httpRequestInitializer); + } + + @Override + public Builder setApplicationName(String applicationName) { + return (Builder) super.setApplicationName(applicationName); + } + + @Override + public Builder setSuppressPatternChecks(boolean suppressPatternChecks) { + return (Builder) super.setSuppressPatternChecks(suppressPatternChecks); + } + + @Override + public Builder setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks) { + return (Builder) super.setSuppressRequiredParameterChecks(suppressRequiredParameterChecks); + } + + @Override + public Builder setSuppressAllChecks(boolean suppressAllChecks) { + return (Builder) super.setSuppressAllChecks(suppressAllChecks); + } + + /** + * Set the {@link AndroidDeveloperIDStatusRequestInitializer}. + * + * @since 1.12 + */ + public Builder setAndroidDeveloperIDStatusRequestInitializer( + AndroidDeveloperIDStatusRequestInitializer androiddeveloperidstatusRequestInitializer) { + return (Builder) super.setGoogleClientRequestInitializer(androiddeveloperidstatusRequestInitializer); + } + + @Override + public Builder setGoogleClientRequestInitializer( + com.google.api.client.googleapis.services.GoogleClientRequestInitializer googleClientRequestInitializer) { + return (Builder) super.setGoogleClientRequestInitializer(googleClientRequestInitializer); + } + + @Override + public Builder setUniverseDomain(String universeDomain) { + return (Builder) super.setUniverseDomain(universeDomain); + } + } +} diff --git a/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/com/google/api/services/androiddeveloperidstatus/v1/AndroidDeveloperIDStatusRequest.java b/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/com/google/api/services/androiddeveloperidstatus/v1/AndroidDeveloperIDStatusRequest.java new file mode 100644 index 00000000000..b1f6ac7234b --- /dev/null +++ b/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/com/google/api/services/androiddeveloperidstatus/v1/AndroidDeveloperIDStatusRequest.java @@ -0,0 +1,267 @@ +/* + * 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.androiddeveloperidstatus.v1; + +/** + * AndroidDeveloperIDStatus request. + * + * @since 1.3 + */ +@SuppressWarnings("javadoc") +public abstract class AndroidDeveloperIDStatusRequest extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest { + + /** + * @param client Google client + * @param method HTTP Method + * @param uriTemplate URI template for the path relative to the base URL. If it starts with a "/" + * the base path from the base URL will be stripped out. The URI template can also be a + * full URL. URI template expansion is done using + * {@link com.google.api.client.http.UriTemplate#expand(String, String, Object, boolean)} + * @param content A POJO that can be serialized into JSON or {@code null} for none + * @param responseClass response class to parse into + */ + public AndroidDeveloperIDStatusRequest( + AndroidDeveloperIDStatus client, String method, String uriTemplate, Object content, Class responseClass) { + super( + client, + method, + uriTemplate, + content, + responseClass); + } + + /** V1 error format. */ + @com.google.api.client.util.Key("$.xgafv") + private java.lang.String $Xgafv; + + /** + * V1 error format. + */ + public java.lang.String get$Xgafv() { + return $Xgafv; + } + + /** V1 error format. */ + public AndroidDeveloperIDStatusRequest set$Xgafv(java.lang.String $Xgafv) { + this.$Xgafv = $Xgafv; + return this; + } + + /** OAuth access token. */ + @com.google.api.client.util.Key("access_token") + private java.lang.String accessToken; + + /** + * OAuth access token. + */ + public java.lang.String getAccessToken() { + return accessToken; + } + + /** OAuth access token. */ + public AndroidDeveloperIDStatusRequest setAccessToken(java.lang.String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** Data format for response. */ + @com.google.api.client.util.Key + private java.lang.String alt; + + /** + * Data format for response. [default: json] + */ + public java.lang.String getAlt() { + return alt; + } + + /** Data format for response. */ + public AndroidDeveloperIDStatusRequest setAlt(java.lang.String alt) { + this.alt = alt; + return this; + } + + /** JSONP */ + @com.google.api.client.util.Key + private java.lang.String callback; + + /** + * JSONP + */ + public java.lang.String getCallback() { + return callback; + } + + /** JSONP */ + public AndroidDeveloperIDStatusRequest setCallback(java.lang.String callback) { + this.callback = callback; + return this; + } + + /** Selector specifying which fields to include in a partial response. */ + @com.google.api.client.util.Key + private java.lang.String fields; + + /** + * Selector specifying which fields to include in a partial response. + */ + public java.lang.String getFields() { + return fields; + } + + /** Selector specifying which fields to include in a partial response. */ + public AndroidDeveloperIDStatusRequest setFields(java.lang.String fields) { + this.fields = fields; + return this; + } + + /** + * API key. Your API key identifies your project and provides you with API access, quota, and + * reports. Required unless you provide an OAuth 2.0 token. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * API key. Your API key identifies your project and provides you with API access, quota, and + * reports. Required unless you provide an OAuth 2.0 token. + */ + public java.lang.String getKey() { + return key; + } + + /** + * API key. Your API key identifies your project and provides you with API access, quota, and + * reports. Required unless you provide an OAuth 2.0 token. + */ + public AndroidDeveloperIDStatusRequest setKey(java.lang.String key) { + this.key = key; + return this; + } + + /** OAuth 2.0 token for the current user. */ + @com.google.api.client.util.Key("oauth_token") + private java.lang.String oauthToken; + + /** + * OAuth 2.0 token for the current user. + */ + public java.lang.String getOauthToken() { + return oauthToken; + } + + /** OAuth 2.0 token for the current user. */ + public AndroidDeveloperIDStatusRequest setOauthToken(java.lang.String oauthToken) { + this.oauthToken = oauthToken; + return this; + } + + /** Returns response with indentations and line breaks. */ + @com.google.api.client.util.Key + private java.lang.Boolean prettyPrint; + + /** + * Returns response with indentations and line breaks. [default: true] + */ + public java.lang.Boolean getPrettyPrint() { + return prettyPrint; + } + + /** Returns response with indentations and line breaks. */ + public AndroidDeveloperIDStatusRequest setPrettyPrint(java.lang.Boolean prettyPrint) { + this.prettyPrint = prettyPrint; + return this; + } + + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string + * assigned to a user, but should not exceed 40 characters. + */ + @com.google.api.client.util.Key + private java.lang.String quotaUser; + + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string + * assigned to a user, but should not exceed 40 characters. + */ + public java.lang.String getQuotaUser() { + return quotaUser; + } + + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string + * assigned to a user, but should not exceed 40 characters. + */ + public AndroidDeveloperIDStatusRequest setQuotaUser(java.lang.String quotaUser) { + this.quotaUser = quotaUser; + return this; + } + + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + @com.google.api.client.util.Key + private java.lang.String uploadType; + + /** + * Legacy upload protocol for media (e.g. "media", "multipart"). + */ + public java.lang.String getUploadType() { + return uploadType; + } + + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + public AndroidDeveloperIDStatusRequest setUploadType(java.lang.String uploadType) { + this.uploadType = uploadType; + return this; + } + + /** Upload protocol for media (e.g. "raw", "multipart"). */ + @com.google.api.client.util.Key("upload_protocol") + private java.lang.String uploadProtocol; + + /** + * Upload protocol for media (e.g. "raw", "multipart"). + */ + public java.lang.String getUploadProtocol() { + return uploadProtocol; + } + + /** Upload protocol for media (e.g. "raw", "multipart"). */ + public AndroidDeveloperIDStatusRequest setUploadProtocol(java.lang.String uploadProtocol) { + this.uploadProtocol = uploadProtocol; + return this; + } + + @Override + public final AndroidDeveloperIDStatus getAbstractGoogleClient() { + return (AndroidDeveloperIDStatus) super.getAbstractGoogleClient(); + } + + @Override + public AndroidDeveloperIDStatusRequest setDisableGZipContent(boolean disableGZipContent) { + return (AndroidDeveloperIDStatusRequest) super.setDisableGZipContent(disableGZipContent); + } + + @Override + public AndroidDeveloperIDStatusRequest setRequestHeaders(com.google.api.client.http.HttpHeaders headers) { + return (AndroidDeveloperIDStatusRequest) super.setRequestHeaders(headers); + } + + @Override + public AndroidDeveloperIDStatusRequest set(String parameterName, Object value) { + return (AndroidDeveloperIDStatusRequest) super.set(parameterName, value); + } +} diff --git a/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/com/google/api/services/androiddeveloperidstatus/v1/AndroidDeveloperIDStatusRequestInitializer.java b/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/com/google/api/services/androiddeveloperidstatus/v1/AndroidDeveloperIDStatusRequestInitializer.java new file mode 100644 index 00000000000..2fde2904f97 --- /dev/null +++ b/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/com/google/api/services/androiddeveloperidstatus/v1/AndroidDeveloperIDStatusRequestInitializer.java @@ -0,0 +1,119 @@ +/* + * 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.androiddeveloperidstatus.v1; + +/** + * AndroidDeveloperIDStatus request initializer for setting properties like key and userIp. + * + *

+ * The simplest usage is to use it to set the key parameter: + *

+ * + *
+  public static final GoogleClientRequestInitializer KEY_INITIALIZER =
+      new AndroidDeveloperIDStatusRequestInitializer(KEY);
+ * 
+ * + *

+ * There is also a constructor to set both the key and userIp parameters: + *

+ * + *
+  public static final GoogleClientRequestInitializer INITIALIZER =
+      new AndroidDeveloperIDStatusRequestInitializer(KEY, USER_IP);
+ * 
+ * + *

+ * If you want to implement custom logic, extend it like this: + *

+ * + *
+  public static class MyRequestInitializer extends AndroidDeveloperIDStatusRequestInitializer {
+
+    {@literal @}Override
+    public void initializeAndroidDeveloperIDStatusRequest(AndroidDeveloperIDStatusRequest{@literal <}?{@literal >} request)
+        throws IOException {
+      // custom logic
+    }
+  }
+ * 
+ * + *

+ * Finally, to set the key and userIp parameters and insert custom logic, extend it like this: + *

+ * + *
+  public static class MyRequestInitializer2 extends AndroidDeveloperIDStatusRequestInitializer {
+
+    public MyKeyRequestInitializer() {
+      super(KEY, USER_IP);
+    }
+
+    {@literal @}Override
+    public void initializeAndroidDeveloperIDStatusRequest(AndroidDeveloperIDStatusRequest{@literal <}?{@literal >} request)
+        throws IOException {
+      // custom logic
+    }
+  }
+ * 
+ * + *

+ * Subclasses should be thread-safe. + *

+ * + * @since 1.12 + */ +public class AndroidDeveloperIDStatusRequestInitializer extends com.google.api.client.googleapis.services.json.CommonGoogleJsonClientRequestInitializer { + + public AndroidDeveloperIDStatusRequestInitializer() { + super(); + } + + /** + * @param key API key or {@code null} to leave it unchanged + */ + public AndroidDeveloperIDStatusRequestInitializer(String key) { + super(key); + } + + /** + * @param key API key or {@code null} to leave it unchanged + * @param userIp user IP or {@code null} to leave it unchanged + */ + public AndroidDeveloperIDStatusRequestInitializer(String key, String userIp) { + super(key, userIp); + } + + @Override + public final void initializeJsonRequest(com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest request) throws java.io.IOException { + super.initializeJsonRequest(request); + initializeAndroidDeveloperIDStatusRequest((AndroidDeveloperIDStatusRequest) request); + } + + /** + * Initializes AndroidDeveloperIDStatus request. + * + *

+ * Default implementation does nothing. Called from + * {@link #initializeJsonRequest(com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest)}. + *

+ * + * @throws java.io.IOException I/O exception + */ + protected void initializeAndroidDeveloperIDStatusRequest(AndroidDeveloperIDStatusRequest request) throws java.io.IOException { + } +} diff --git a/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/com/google/api/services/androiddeveloperidstatus/v1/model/PackageRegistrationStatus.java b/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/com/google/api/services/androiddeveloperidstatus/v1/model/PackageRegistrationStatus.java new file mode 100644 index 00000000000..0ef4eed428c --- /dev/null +++ b/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/com/google/api/services/androiddeveloperidstatus/v1/model/PackageRegistrationStatus.java @@ -0,0 +1,130 @@ +/* + * 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.androiddeveloperidstatus.v1.model; + +/** + * Resource message PackageRegistrationStatus. + * + *

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 Android Developer ID Status 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 PackageRegistrationStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. The SHA-256 fingerprint of the public certificate represented as a 64-character + * lowercase hexadecimal string without any colons or separators (e.g., + * `d6ac89ed1d0a805aad4b087d06d5f41645b814480b133fbc867ef7498d069e06`). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String certificateFingerprint; + + /** + * Identifier. The name of the package registration status resource. Format: + * packages/{package}/packageRegistrationStatus `{package}` must follow the specific format: The + * fully-qualified Android package name with dots ('.') replaced by hyphens ('-') (e.g., `com- + * example-app` instead of `com.example.app`). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. Registration state of the package, or pair. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Output only. The SHA-256 fingerprint of the public certificate represented as a 64-character + * lowercase hexadecimal string without any colons or separators (e.g., + * `d6ac89ed1d0a805aad4b087d06d5f41645b814480b133fbc867ef7498d069e06`). + * @return value or {@code null} for none + */ + public java.lang.String getCertificateFingerprint() { + return certificateFingerprint; + } + + /** + * Output only. The SHA-256 fingerprint of the public certificate represented as a 64-character + * lowercase hexadecimal string without any colons or separators (e.g., + * `d6ac89ed1d0a805aad4b087d06d5f41645b814480b133fbc867ef7498d069e06`). + * @param certificateFingerprint certificateFingerprint or {@code null} for none + */ + public PackageRegistrationStatus setCertificateFingerprint(java.lang.String certificateFingerprint) { + this.certificateFingerprint = certificateFingerprint; + return this; + } + + /** + * Identifier. The name of the package registration status resource. Format: + * packages/{package}/packageRegistrationStatus `{package}` must follow the specific format: The + * fully-qualified Android package name with dots ('.') replaced by hyphens ('-') (e.g., `com- + * example-app` instead of `com.example.app`). + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The name of the package registration status resource. Format: + * packages/{package}/packageRegistrationStatus `{package}` must follow the specific format: The + * fully-qualified Android package name with dots ('.') replaced by hyphens ('-') (e.g., `com- + * example-app` instead of `com.example.app`). + * @param name name or {@code null} for none + */ + public PackageRegistrationStatus setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. Registration state of the package, or pair. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. Registration state of the package, or pair. + * @param state state or {@code null} for none + */ + public PackageRegistrationStatus setState(java.lang.String state) { + this.state = state; + return this; + } + + @Override + public PackageRegistrationStatus set(String fieldName, Object value) { + return (PackageRegistrationStatus) super.set(fieldName, value); + } + + @Override + public PackageRegistrationStatus clone() { + return (PackageRegistrationStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/pom.xml b/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/pom.xml new file mode 100644 index 00000000000..ceaf10ab8dd --- /dev/null +++ b/clients/google-api-services-androiddeveloperidstatus/v1/2.0.0/pom.xml @@ -0,0 +1,219 @@ + + 4.0.0 + + org.sonatype.oss + oss-parent + 7 + + + com.google.apis + google-api-services-androiddeveloperidstatus + v1-rev20260804-2.0.0 + Android Developer ID Status API v1-rev20260804-2.0.0 + jar + + 2011 + + + + GoogleAPIs + GoogleAPIs + googleapis@googlegroups.com + Google + https://www.google.com + + + + + Google + http://www.google.com/ + + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + ossrh + https://google.oss.sonatype.org/content/repositories/snapshots + + + + + + + maven-compiler-plugin + 3.9.0 + + 1.7 + 1.7 + + + + org.apache.maven.plugins + maven-source-plugin + 2.4 + + + org.apache.maven.plugins + maven-jar-plugin + 3.1.2 + + + + com.google.api.services.androiddeveloperidstatus + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.1.0 + + + attach-javadocs + + jar + + + + + none + Android Developer ID Status API ${project.version} + Android Developer ID Status API ${project.version} + + http://docs.oracle.com/javase/7/docs/api + https://googleapis.dev/java/google-http-client/${httpClientLibrary}/ + https://googleapis.dev/java/google-oauth-client/${oauthClientLibrary}/ + https://googleapis.dev/java/google-api-client/2.7.2/ + + + + + org.codehaus.mojo + clirr-maven-plugin + 2.8 + + clirr-ignored-differences.xml + true + + + + + check + + + + + + . + + + ./resources + + + + + + + com.google.api-client + google-api-client + 2.7.2 + + + + + UTF-8 + + + + + + release-sonatype + + + + !artifact-registry-url + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + true + + sonatype-nexus-staging + https://google.oss.sonatype.org/ + false + + + + + + + + release-gcp-artifact-registry + + artifactregistry://please-define-artifact-registry-url-property + + + + gcp-artifact-registry-repository + ${artifact-registry-url} + + + gcp-artifact-registry-repository + ${artifact-registry-url} + + + + + release-sign-artifacts + + + performRelease + true + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.2.7 + + + sign-artifacts + verify + + sign + + + + --pinentry-mode + loopback + + + + + + + + + + \ No newline at end of file diff --git a/clients/google-api-services-androiddeveloperidstatus/v1/README.md b/clients/google-api-services-androiddeveloperidstatus/v1/README.md new file mode 100644 index 00000000000..576667a332b --- /dev/null +++ b/clients/google-api-services-androiddeveloperidstatus/v1/README.md @@ -0,0 +1,44 @@ +# Android Developer ID Status API Client Library for Java + +Android Developer ID Status API. + +This page contains information about getting started with the Android Developer ID Status API +using the Google API Client Library for Java. In addition, you may be interested +in the following documentation: + +* Browse the [Javadoc reference for the Android Developer ID Status API][javadoc] +* Read the [Developer's Guide for the Google API Client Library for Java][google-api-client]. +* Interact with this API in your browser using the [APIs Explorer for the Android Developer ID Status API][api-explorer] + +## Installation + +### Maven + +Add the following lines to your `pom.xml` file: + +```xml + + + + com.google.apis + google-api-services-androiddeveloperidstatus + v1-rev20260804-2.0.0 + + + +``` + +### Gradle + +```gradle +repositories { + mavenCentral() +} +dependencies { + implementation 'com.google.apis:google-api-services-androiddeveloperidstatus:v1-rev20260804-2.0.0' +} +``` + +[javadoc]: https://googleapis.dev/java/google-api-services-androiddeveloperidstatus/latest/index.html +[google-api-client]: https://github.com/googleapis/google-api-java-client/ +[api-explorer]: https://developers.google.com/apis-explorer/#p/androiddeveloperidstatus/v1/