diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/README.md b/clients/google-api-services-identitytoolkit/v1/2.0.0/README.md index 5d7e5f3000e..0aa4b577336 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/README.md +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-identitytoolkit - v1-rev20231027-2.0.0 + v1-rev20250130-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-identitytoolkit:v1-rev20231027-2.0.0' + implementation 'com.google.apis:google-api-services-identitytoolkit:v1-rev20250130-2.0.0' } ``` diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/IdentityToolkit.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/IdentityToolkit.java index d32ef9a4f5e..ec1a0a040da 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/IdentityToolkit.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/IdentityToolkit.java @@ -772,9 +772,10 @@ public SendOobCode set(String parameterName, Object value) { } } /** - * Sends a SMS verification code for phone number sign-in. An [API - * key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order - * to identify the Google Cloud project. + * Sends a SMS verification code for phone number sign-in. To localize the text of the SMS sent to + * the user, set the HTTP header `X-Firebase-Locale` to the language code that corresponds with the + * user's locale. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in + * the request in order to identify the Google Cloud project. * * Create a request for the method "accounts.sendVerificationCode". * @@ -796,9 +797,10 @@ public class SendVerificationCode extends IdentityToolkitRequest * * @param targetProjectId The project ID of the project which the user should belong to. Specifying this field requires a - * Google OAuth 2.0 credential with the proper [permissions](https://cloud.google.com - * /identity-platform/docs/access-control). If this is not set, the target project is - * inferred from the scope associated to the Bearer access token. + * Google OAuth 2.0 credential with the proper + * [permissions](https://cloud.google.com/identity-platform/docs/access-control). If this is + * not set, the target project is inferred from the scope associated to the Bearer access + * token. * @param content the {@link com.google.api.services.identitytoolkit.v1.model.GoogleCloudIdentitytoolkitV1SignUpRequest} * @since 1.13 */ @@ -2625,10 +2633,10 @@ public BatchDelete set(String parameterName, Object value) { } /** * Download account information for all accounts on the project in a paginated manner. To use this - * method requires a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com - * /identity-platform/docs/access-control).. Furthermore, additional permissions are needed to get - * password hash, password salt, and password version from accounts; otherwise these fields are - * redacted. + * method requires a Google OAuth 2.0 credential with proper + * [permissions](https://cloud.google.com/identity-platform/docs/access-control).. Furthermore, + * additional permissions are needed to get password hash, password salt, and password version from + * accounts; otherwise these fields are redacted. * * Create a request for the method "accounts.batchGet". * @@ -3116,8 +3124,8 @@ public Lookup setUploadProtocol(java.lang.String uploadProtocol) { /** * The ID of the Google Cloud project that the account or the Identity Platform tenant * specified by `tenant_id` belongs to. Should only be specified by authenticated requests - * bearing a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com - * /identity-platform/docs/access-control). + * bearing a Google OAuth 2.0 credential with proper + * [permissions](https://cloud.google.com/identity-platform/docs/access-control). */ @com.google.api.client.util.Key private java.lang.String targetProjectId; @@ -3134,8 +3142,8 @@ public java.lang.String getTargetProjectId() { /** * The ID of the Google Cloud project that the account or the Identity Platform tenant * specified by `tenant_id` belongs to. Should only be specified by authenticated requests - * bearing a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com - * /identity-platform/docs/access-control). + * bearing a Google OAuth 2.0 credential with proper + * [permissions](https://cloud.google.com/identity-platform/docs/access-control). */ public Lookup setTargetProjectId(java.lang.String targetProjectId) { if (!getSuppressPatternChecks()) { @@ -3404,8 +3412,8 @@ public SendOobCode setUploadProtocol(java.lang.String uploadProtocol) { private java.lang.String targetProjectId; /** The Project ID of the Identity Platform project which the account belongs to. To specify this - field, it requires a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com - /identity-platform/docs/access-control). + field, it requires a Google OAuth 2.0 credential with proper + [permissions](https://cloud.google.com/identity-platform/docs/access-control). */ public java.lang.String getTargetProjectId() { return targetProjectId; @@ -3546,16 +3554,17 @@ public Update setUploadProtocol(java.lang.String uploadProtocol) { /** * The project ID for the project that the account belongs to. Specifying this field - * requires Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com - * /identity-platform/docs/access-control). Requests from end users should pass an Identity - * Platform ID token instead. + * requires Google OAuth 2.0 credential with proper [permissions] + * (https://cloud.google.com/identity-platform/docs/access-control). Requests from end users + * should pass an Identity Platform ID token instead. */ @com.google.api.client.util.Key private java.lang.String targetProjectId; /** The project ID for the project that the account belongs to. Specifying this field requires Google - OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs - /access-control). Requests from end users should pass an Identity Platform ID token instead. + OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity- + platform/docs/access-control). Requests from end users should pass an Identity Platform ID token + instead. */ public java.lang.String getTargetProjectId() { return targetProjectId; @@ -3563,9 +3572,9 @@ public java.lang.String getTargetProjectId() { /** * The project ID for the project that the account belongs to. Specifying this field - * requires Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com - * /identity-platform/docs/access-control). Requests from end users should pass an Identity - * Platform ID token instead. + * requires Google OAuth 2.0 credential with proper [permissions] + * (https://cloud.google.com/identity-platform/docs/access-control). Requests from end users + * should pass an Identity Platform ID token instead. */ public Update setTargetProjectId(java.lang.String targetProjectId) { if (!getSuppressPatternChecks()) { @@ -3619,9 +3628,10 @@ public class Tenants { * operation. * * @param targetProjectId The project ID of the project which the user should belong to. Specifying this field requires a - * Google OAuth 2.0 credential with the proper [permissions](https://cloud.google.com - * /identity-platform/docs/access-control). If this is not set, the target project is - * inferred from the scope associated to the Bearer access token. + * Google OAuth 2.0 credential with the proper + * [permissions](https://cloud.google.com/identity-platform/docs/access-control). If this is + * not set, the target project is inferred from the scope associated to the Bearer access + * token. * @param tenantId The ID of the Identity Platform tenant to create a user under. If not set, the user will be created * under the default Identity Platform project. * @param content the {@link com.google.api.services.identitytoolkit.v1.model.GoogleCloudIdentitytoolkitV1SignUpRequest} @@ -3660,9 +3670,10 @@ public class AccountsRequest extends IdentityToolkitRequest * * @param targetProjectId The project ID of the project which the user should belong to. Specifying this field requires a - * Google OAuth 2.0 credential with the proper [permissions](https://cloud.google.com - * /identity-platform/docs/access-control). If this is not set, the target project is - * inferred from the scope associated to the Bearer access token. + * Google OAuth 2.0 credential with the proper + * [permissions](https://cloud.google.com/identity-platform/docs/access-control). If this is + * not set, the target project is inferred from the scope associated to the Bearer access + * token. * @param tenantId The ID of the Identity Platform tenant to create a user under. If not set, the user will be created * under the default Identity Platform project. * @param content the {@link com.google.api.services.identitytoolkit.v1.model.GoogleCloudIdentitytoolkitV1SignUpRequest} @@ -4357,10 +4368,10 @@ public BatchDelete set(String parameterName, Object value) { } /** * Download account information for all accounts on the project in a paginated manner. To use this - * method requires a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com - * /identity-platform/docs/access-control).. Furthermore, additional permissions are needed to get - * password hash, password salt, and password version from accounts; otherwise these fields are - * redacted. + * method requires a Google OAuth 2.0 credential with proper + * [permissions](https://cloud.google.com/identity-platform/docs/access-control).. Furthermore, + * additional permissions are needed to get password hash, password salt, and password version from + * accounts; otherwise these fields are redacted. * * Create a request for the method "accounts.batchGet". * @@ -5284,8 +5295,8 @@ public SendOobCode setUploadProtocol(java.lang.String uploadProtocol) { private java.lang.String targetProjectId; /** The Project ID of the Identity Platform project which the account belongs to. To specify this - field, it requires a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com - /identity-platform/docs/access-control). + field, it requires a Google OAuth 2.0 credential with proper + [permissions](https://cloud.google.com/identity-platform/docs/access-control). */ public java.lang.String getTargetProjectId() { return targetProjectId; @@ -5468,8 +5479,9 @@ public Update setUploadProtocol(java.lang.String uploadProtocol) { private java.lang.String targetProjectId; /** The project ID for the project that the account belongs to. Specifying this field requires Google - OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs - /access-control). Requests from end users should pass an Identity Platform ID token instead. + OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity- + platform/docs/access-control). Requests from end users should pass an Identity Platform ID token + instead. */ public java.lang.String getTargetProjectId() { return targetProjectId; @@ -6297,5 +6309,10 @@ 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-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1CreateAuthUriRequest.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1CreateAuthUriRequest.java index d6a70731481..71b26c9465d 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1CreateAuthUriRequest.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1CreateAuthUriRequest.java @@ -117,10 +117,11 @@ public final class GoogleCloudIdentitytoolkitV1CreateAuthUriRequest extends com. /** * The provider ID of the IdP for the user to sign in with. This should be a provider ID enabled - * for sign-in, which is either from the list of [default supported IdPs](https://cloud.google.com - * /identity-platform/docs/reference/rest/v2/defaultSupportedIdps/list), or of the format `oidc.*` - * or `saml.*`. Some examples are `google.com`, `facebook.com`, `oidc.testapp`, and - * `saml.testapp`. At least one of the fields `identifier` and `provider_id` must be set. + * for sign-in, which is either from the list of [default supported + * IdPs](https://cloud.google.com/identity- + * platform/docs/reference/rest/v2/defaultSupportedIdps/list), or of the format `oidc.*` or + * `saml.*`. Some examples are `google.com`, `facebook.com`, `oidc.testapp`, and `saml.testapp`. + * At least one of the fields `identifier` and `provider_id` must be set. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -350,10 +351,11 @@ public GoogleCloudIdentitytoolkitV1CreateAuthUriRequest setOtaApp(java.lang.Stri /** * The provider ID of the IdP for the user to sign in with. This should be a provider ID enabled - * for sign-in, which is either from the list of [default supported IdPs](https://cloud.google.com - * /identity-platform/docs/reference/rest/v2/defaultSupportedIdps/list), or of the format `oidc.*` - * or `saml.*`. Some examples are `google.com`, `facebook.com`, `oidc.testapp`, and - * `saml.testapp`. At least one of the fields `identifier` and `provider_id` must be set. + * for sign-in, which is either from the list of [default supported + * IdPs](https://cloud.google.com/identity- + * platform/docs/reference/rest/v2/defaultSupportedIdps/list), or of the format `oidc.*` or + * `saml.*`. Some examples are `google.com`, `facebook.com`, `oidc.testapp`, and `saml.testapp`. + * At least one of the fields `identifier` and `provider_id` must be set. * @return value or {@code null} for none */ public java.lang.String getProviderId() { @@ -362,10 +364,11 @@ public java.lang.String getProviderId() { /** * The provider ID of the IdP for the user to sign in with. This should be a provider ID enabled - * for sign-in, which is either from the list of [default supported IdPs](https://cloud.google.com - * /identity-platform/docs/reference/rest/v2/defaultSupportedIdps/list), or of the format `oidc.*` - * or `saml.*`. Some examples are `google.com`, `facebook.com`, `oidc.testapp`, and - * `saml.testapp`. At least one of the fields `identifier` and `provider_id` must be set. + * for sign-in, which is either from the list of [default supported + * IdPs](https://cloud.google.com/identity- + * platform/docs/reference/rest/v2/defaultSupportedIdps/list), or of the format `oidc.*` or + * `saml.*`. Some examples are `google.com`, `facebook.com`, `oidc.testapp`, and `saml.testapp`. + * At least one of the fields `identifier` and `provider_id` must be set. * @param providerId providerId or {@code null} for none */ public GoogleCloudIdentitytoolkitV1CreateAuthUriRequest setProviderId(java.lang.String providerId) { diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1CreateAuthUriResponse.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1CreateAuthUriResponse.java index 8d97abaf820..c008c30f8ee 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1CreateAuthUriResponse.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1CreateAuthUriResponse.java @@ -91,9 +91,9 @@ public final class GoogleCloudIdentitytoolkitV1CreateAuthUriResponse extends com /** * The list of sign-in methods that the user has previously used. Each element is one of * `password`, `emailLink`, or the provider ID of an IdP. Present only when a registered email - * identifier is set in the request. If [email enumeration protection](https://cloud.google.com - * /identity-platform/docs/admin/email-enumeration-protection) is enabled, this method returns an - * empty list. + * identifier is set in the request. If [email enumeration + * protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) + * is enabled, this method returns an empty list. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -244,9 +244,9 @@ public GoogleCloudIdentitytoolkitV1CreateAuthUriResponse setSessionId(java.lang. /** * The list of sign-in methods that the user has previously used. Each element is one of * `password`, `emailLink`, or the provider ID of an IdP. Present only when a registered email - * identifier is set in the request. If [email enumeration protection](https://cloud.google.com - * /identity-platform/docs/admin/email-enumeration-protection) is enabled, this method returns an - * empty list. + * identifier is set in the request. If [email enumeration + * protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) + * is enabled, this method returns an empty list. * @return value or {@code null} for none */ public java.util.List getSigninMethods() { @@ -256,9 +256,9 @@ public java.util.List getSigninMethods() { /** * The list of sign-in methods that the user has previously used. Each element is one of * `password`, `emailLink`, or the provider ID of an IdP. Present only when a registered email - * identifier is set in the request. If [email enumeration protection](https://cloud.google.com - * /identity-platform/docs/admin/email-enumeration-protection) is enabled, this method returns an - * empty list. + * identifier is set in the request. If [email enumeration + * protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) + * is enabled, this method returns an empty list. * @param signinMethods signinMethods or {@code null} for none */ public GoogleCloudIdentitytoolkitV1CreateAuthUriResponse setSigninMethods(java.util.List signinMethods) { diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1GetAccountInfoRequest.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1GetAccountInfoRequest.java index 54cd2ed4b99..c85643c0966 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1GetAccountInfoRequest.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1GetAccountInfoRequest.java @@ -46,9 +46,6 @@ public final class GoogleCloudIdentitytoolkitV1GetAccountInfoRequest extends com private java.util.List email; /** - * The federated user identifier of one or more accounts to fetch. Should only be specified by - * authenticated requests bearing a Google OAuth 2.0 credential with proper - * [permissions](https://cloud.google.com/identity-platform/docs/access-control). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -80,8 +77,8 @@ public final class GoogleCloudIdentitytoolkitV1GetAccountInfoRequest extends com /** * The ID of one or more accounts to fetch. Should only be specified by authenticated requests - * bearing a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com - * /identity-platform/docs/access-control). + * bearing a Google OAuth 2.0 credential with proper + * [permissions](https://cloud.google.com/identity-platform/docs/access-control). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -98,8 +95,8 @@ public final class GoogleCloudIdentitytoolkitV1GetAccountInfoRequest extends com /** * The ID of the Google Cloud project that the account or the Identity Platform tenant specified * by `tenant_id` belongs to. Should only be specified by authenticated requests bearing a Google - * OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs - * /access-control). + * OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity- + * platform/docs/access-control). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -152,9 +149,6 @@ public GoogleCloudIdentitytoolkitV1GetAccountInfoRequest setEmail(java.util.List } /** - * The federated user identifier of one or more accounts to fetch. Should only be specified by - * authenticated requests bearing a Google OAuth 2.0 credential with proper - * [permissions](https://cloud.google.com/identity-platform/docs/access-control). * @return value or {@code null} for none */ public java.util.List getFederatedUserId() { @@ -162,9 +156,6 @@ public java.util.List getFe } /** - * The federated user identifier of one or more accounts to fetch. Should only be specified by - * authenticated requests bearing a Google OAuth 2.0 credential with proper - * [permissions](https://cloud.google.com/identity-platform/docs/access-control). * @param federatedUserId federatedUserId or {@code null} for none */ public GoogleCloudIdentitytoolkitV1GetAccountInfoRequest setFederatedUserId(java.util.List federatedUserId) { @@ -216,8 +207,8 @@ public GoogleCloudIdentitytoolkitV1GetAccountInfoRequest setInitialEmail(java.ut /** * The ID of one or more accounts to fetch. Should only be specified by authenticated requests - * bearing a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com - * /identity-platform/docs/access-control). + * bearing a Google OAuth 2.0 credential with proper + * [permissions](https://cloud.google.com/identity-platform/docs/access-control). * @return value or {@code null} for none */ public java.util.List getLocalId() { @@ -226,8 +217,8 @@ public java.util.List getLocalId() { /** * The ID of one or more accounts to fetch. Should only be specified by authenticated requests - * bearing a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com - * /identity-platform/docs/access-control). + * bearing a Google OAuth 2.0 credential with proper + * [permissions](https://cloud.google.com/identity-platform/docs/access-control). * @param localId localId or {@code null} for none */ public GoogleCloudIdentitytoolkitV1GetAccountInfoRequest setLocalId(java.util.List localId) { @@ -257,8 +248,8 @@ public GoogleCloudIdentitytoolkitV1GetAccountInfoRequest setPhoneNumber(java.uti /** * The ID of the Google Cloud project that the account or the Identity Platform tenant specified * by `tenant_id` belongs to. Should only be specified by authenticated requests bearing a Google - * OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs - * /access-control). + * OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity- + * platform/docs/access-control). * @return value or {@code null} for none */ public java.lang.String getTargetProjectId() { @@ -268,8 +259,8 @@ public java.lang.String getTargetProjectId() { /** * The ID of the Google Cloud project that the account or the Identity Platform tenant specified * by `tenant_id` belongs to. Should only be specified by authenticated requests bearing a Google - * OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs - * /access-control). + * OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity- + * platform/docs/access-control). * @param targetProjectId targetProjectId or {@code null} for none */ public GoogleCloudIdentitytoolkitV1GetAccountInfoRequest setTargetProjectId(java.lang.String targetProjectId) { diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1GetOobCodeRequest.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1GetOobCodeRequest.java index 5be3112a5ad..9ec59d17d5e 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1GetOobCodeRequest.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1GetOobCodeRequest.java @@ -140,6 +140,15 @@ public final class GoogleCloudIdentitytoolkitV1GetOobCodeRequest extends com.goo @com.google.api.client.util.Key private java.lang.String idToken; + /** + * Optional. In order to ensure that the url used can be easily opened in iOS or Android, we + * create a Hosting link '/__/auth/links'. This optional field contains the domain to use when + * constructing a Hosting link. If not set, '.firebaseapp.com' domain will be used. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String linkDomain; + /** * The email address the account is being updated to. Required only for VERIFY_AND_CHANGE_EMAIL * requests. @@ -459,6 +468,27 @@ public GoogleCloudIdentitytoolkitV1GetOobCodeRequest setIdToken(java.lang.String return this; } + /** + * Optional. In order to ensure that the url used can be easily opened in iOS or Android, we + * create a Hosting link '/__/auth/links'. This optional field contains the domain to use when + * constructing a Hosting link. If not set, '.firebaseapp.com' domain will be used. + * @return value or {@code null} for none + */ + public java.lang.String getLinkDomain() { + return linkDomain; + } + + /** + * Optional. In order to ensure that the url used can be easily opened in iOS or Android, we + * create a Hosting link '/__/auth/links'. This optional field contains the domain to use when + * constructing a Hosting link. If not set, '.firebaseapp.com' domain will be used. + * @param linkDomain linkDomain or {@code null} for none + */ + public GoogleCloudIdentitytoolkitV1GetOobCodeRequest setLinkDomain(java.lang.String linkDomain) { + this.linkDomain = linkDomain; + return this; + } + /** * The email address the account is being updated to. Required only for VERIFY_AND_CHANGE_EMAIL * requests. diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1GetOobCodeResponse.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1GetOobCodeResponse.java index 1af83217d7e..5b2bebc046b 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1GetOobCodeResponse.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1GetOobCodeResponse.java @@ -51,8 +51,8 @@ public final class GoogleCloudIdentitytoolkitV1GetOobCodeResponse extends com.go /** * If return_oob_link is true in the request, the OOB link to be sent to the user. This returns - * the constructed link including [Firebase Dynamic Link](https://firebase.google.com/docs - * /dynamic-links) related parameters. + * the constructed link including [Firebase Dynamic + * Link](https://firebase.google.com/docs/dynamic-links) related parameters. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -109,8 +109,8 @@ public GoogleCloudIdentitytoolkitV1GetOobCodeResponse setOobCode(java.lang.Strin /** * If return_oob_link is true in the request, the OOB link to be sent to the user. This returns - * the constructed link including [Firebase Dynamic Link](https://firebase.google.com/docs - * /dynamic-links) related parameters. + * the constructed link including [Firebase Dynamic + * Link](https://firebase.google.com/docs/dynamic-links) related parameters. * @return value or {@code null} for none */ public java.lang.String getOobLink() { @@ -119,8 +119,8 @@ public java.lang.String getOobLink() { /** * If return_oob_link is true in the request, the OOB link to be sent to the user. This returns - * the constructed link including [Firebase Dynamic Link](https://firebase.google.com/docs - * /dynamic-links) related parameters. + * the constructed link including [Firebase Dynamic + * Link](https://firebase.google.com/docs/dynamic-links) related parameters. * @param oobLink oobLink or {@code null} for none */ public GoogleCloudIdentitytoolkitV1GetOobCodeResponse setOobLink(java.lang.String oobLink) { diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1IdpConfig.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1IdpConfig.java index c48b1f86461..c3c203ea755 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1IdpConfig.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1IdpConfig.java @@ -51,7 +51,6 @@ public final class GoogleCloudIdentitytoolkitV1IdpConfig extends com.google.api. private java.lang.Integer experimentPercent; /** - * Name of the identity provider. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -123,7 +122,6 @@ public GoogleCloudIdentitytoolkitV1IdpConfig setExperimentPercent(java.lang.Inte } /** - * Name of the identity provider. * @return value or {@code null} for none */ public java.lang.String getProvider() { @@ -131,7 +129,6 @@ public java.lang.String getProvider() { } /** - * Name of the identity provider. * @param provider provider or {@code null} for none */ public GoogleCloudIdentitytoolkitV1IdpConfig setProvider(java.lang.String provider) { diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1QueryUserInfoRequest.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1QueryUserInfoRequest.java index 2fda35a631a..b274e543cb0 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1QueryUserInfoRequest.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1QueryUserInfoRequest.java @@ -30,8 +30,6 @@ public final class GoogleCloudIdentitytoolkitV1QueryUserInfoRequest extends com.google.api.client.json.GenericJson { /** - * Query conditions used to filter results. If more than one is passed, only the first - * SqlExpression is evaluated. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -54,8 +52,6 @@ public final class GoogleCloudIdentitytoolkitV1QueryUserInfoRequest extends com. private java.lang.Long offset; /** - * The order for sorting query result. Defaults to __ascending__ order. Only valid when - * `return_user_info` is set to `true`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -70,9 +66,6 @@ public final class GoogleCloudIdentitytoolkitV1QueryUserInfoRequest extends com. private java.lang.Boolean returnUserInfo; /** - * The field to use for sorting user accounts. Defaults to `USER_ID`. Note: when `phone_number` is - * specified in `expression`, the result ignores the sorting. Only valid when `return_user_info` - * is set to `true`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -86,8 +79,6 @@ public final class GoogleCloudIdentitytoolkitV1QueryUserInfoRequest extends com. private java.lang.String tenantId; /** - * Query conditions used to filter results. If more than one is passed, only the first - * SqlExpression is evaluated. * @return value or {@code null} for none */ public java.util.List getExpression() { @@ -95,8 +86,6 @@ public java.util.List getExpression() } /** - * Query conditions used to filter results. If more than one is passed, only the first - * SqlExpression is evaluated. * @param expression expression or {@code null} for none */ public GoogleCloudIdentitytoolkitV1QueryUserInfoRequest setExpression(java.util.List expression) { @@ -143,8 +132,6 @@ public GoogleCloudIdentitytoolkitV1QueryUserInfoRequest setOffset(java.lang.Long } /** - * The order for sorting query result. Defaults to __ascending__ order. Only valid when - * `return_user_info` is set to `true`. * @return value or {@code null} for none */ public java.lang.String getOrder() { @@ -152,8 +139,6 @@ public java.lang.String getOrder() { } /** - * The order for sorting query result. Defaults to __ascending__ order. Only valid when - * `return_user_info` is set to `true`. * @param order order or {@code null} for none */ public GoogleCloudIdentitytoolkitV1QueryUserInfoRequest setOrder(java.lang.String order) { @@ -181,9 +166,6 @@ public GoogleCloudIdentitytoolkitV1QueryUserInfoRequest setReturnUserInfo(java.l } /** - * The field to use for sorting user accounts. Defaults to `USER_ID`. Note: when `phone_number` is - * specified in `expression`, the result ignores the sorting. Only valid when `return_user_info` - * is set to `true`. * @return value or {@code null} for none */ public java.lang.String getSortBy() { @@ -191,9 +173,6 @@ public java.lang.String getSortBy() { } /** - * The field to use for sorting user accounts. Defaults to `USER_ID`. Note: when `phone_number` is - * specified in `expression`, the result ignores the sorting. Only valid when `return_user_info` - * is set to `true`. * @param sortBy sortBy or {@code null} for none */ public GoogleCloudIdentitytoolkitV1QueryUserInfoRequest setSortBy(java.lang.String sortBy) { diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1ResetPasswordRequest.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1ResetPasswordRequest.java index 36fff19ef88..e064aa31d3f 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1ResetPasswordRequest.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1ResetPasswordRequest.java @@ -30,8 +30,8 @@ public final class GoogleCloudIdentitytoolkitV1ResetPasswordRequest extends com.google.api.client.json.GenericJson { /** - * The email of the account to be modified. Specify this and the old password in order to change - * an account's password without using an out-of-band code. + * Optional. The email of the account to be modified. Specify this and the old password in order + * to change an account's password without using an out-of-band code. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -65,15 +65,15 @@ public final class GoogleCloudIdentitytoolkitV1ResetPasswordRequest extends com. private java.lang.String oobCode; /** - * The tenant ID of the Identity Platform tenant the account belongs to. + * Optional. The tenant ID of the Identity Platform tenant the account belongs to. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String tenantId; /** - * The email of the account to be modified. Specify this and the old password in order to change - * an account's password without using an out-of-band code. + * Optional. The email of the account to be modified. Specify this and the old password in order + * to change an account's password without using an out-of-band code. * @return value or {@code null} for none */ public java.lang.String getEmail() { @@ -81,8 +81,8 @@ public java.lang.String getEmail() { } /** - * The email of the account to be modified. Specify this and the old password in order to change - * an account's password without using an out-of-band code. + * Optional. The email of the account to be modified. Specify this and the old password in order + * to change an account's password without using an out-of-band code. * @param email email or {@code null} for none */ public GoogleCloudIdentitytoolkitV1ResetPasswordRequest setEmail(java.lang.String email) { @@ -154,7 +154,7 @@ public GoogleCloudIdentitytoolkitV1ResetPasswordRequest setOobCode(java.lang.Str } /** - * The tenant ID of the Identity Platform tenant the account belongs to. + * Optional. The tenant ID of the Identity Platform tenant the account belongs to. * @return value or {@code null} for none */ public java.lang.String getTenantId() { @@ -162,7 +162,7 @@ public java.lang.String getTenantId() { } /** - * The tenant ID of the Identity Platform tenant the account belongs to. + * Optional. The tenant ID of the Identity Platform tenant the account belongs to. * @param tenantId tenantId or {@code null} for none */ public GoogleCloudIdentitytoolkitV1ResetPasswordRequest setTenantId(java.lang.String tenantId) { diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest.java index b3b14bc8cf9..884ef6c3a4c 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest.java @@ -17,7 +17,8 @@ package com.google.api.services.identitytoolkit.v1.model; /** - * Request message for SendVerificationCode. At least one of (`ios_receipt` and `ios_secret`), + * Request message for SendVerificationCode. 'captcha_response' is required when reCAPTCHA + * enterprise is enabled, or otherwise at least one of (`ios_receipt` and `ios_secret`), * `recaptcha_token`, or `safety_net_token` must be specified to verify the verification code is * being sent on behalf of a real app and not an emulator. * @@ -38,13 +39,29 @@ public final class GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest exten @com.google.api.client.util.Key private GoogleCloudIdentitytoolkitV1AutoRetrievalInfo autoRetrievalInfo; + /** + * Optional. The reCAPTCHA Enterprise token provided by the reCAPTCHA client-side integration. + * Required when reCAPTCHA enterprise is enabled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String captchaResponse; + + /** + * Optional. The client type, web, android or ios. Required when reCAPTCHA Enterprise is enabled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String clientType; + /** * Receipt of successful iOS app token validation. At least one of (`ios_receipt` and * `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to verify the - * verification code is being sent on behalf of a real app and not an emulator. This should come - * from the response of verifyIosClient. If present, the caller should also provide the - * `ios_secret`, as well as a bundle ID in the `x-ios-bundle-identifier` header, which must match - * the bundle ID from the verifyIosClient request. + * verification code is being sent on behalf of a real app and not an emulator, if + * 'captcha_response' is not used (reCAPTCHA enterprise is not enabled). This should come from the + * response of verifyIosClient. If present, the caller should also provide the `ios_secret`, as + * well as a bundle ID in the `x-ios-bundle-identifier` header, which must match the bundle ID + * from the verifyIosClient request. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -69,9 +86,10 @@ public final class GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest exten * Android only. Used to assert application identity in place of a recaptcha token (and * safety_net_token). At least one of (`ios_receipt` and `ios_secret`), `recaptcha_token`, , or * `play_integrity_token` must be specified to verify the verification code is being sent on - * behalf of a real app and not an emulator. A Play Integrity Token can be generated via the - * [PlayIntegrity API](https://developer.android.com/google/play/integrity) with applying SHA256 - * to the `phone_number` field as the nonce. + * behalf of a real app and not an emulator, if 'captcha_response' is not used (reCAPTCHA + * enterprise is not enabled). A Play Integrity Token can be generated via the [PlayIntegrity + * API](https://developer.android.com/google/play/integrity) with applying SHA256 to the + * `phone_number` field as the nonce. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -80,19 +98,29 @@ public final class GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest exten /** * Recaptcha token for app verification. At least one of (`ios_receipt` and `ios_secret`), * `recaptcha_token`, or `safety_net_token` must be specified to verify the verification code is - * being sent on behalf of a real app and not an emulator. The recaptcha should be generated by - * calling getRecaptchaParams and the recaptcha token will be generated on user completion of the + * being sent on behalf of a real app and not an emulator, if 'captcha_response' is not used + * (reCAPTCHA enterprise is not enabled). The recaptcha should be generated by calling + * getRecaptchaParams and the recaptcha token will be generated on user completion of the * recaptcha challenge. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String recaptchaToken; + /** + * Optional. The reCAPTCHA version of the reCAPTCHA token in the captcha_response. Required when + * reCAPTCHA Enterprise is enabled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String recaptchaVersion; + /** * Android only. Used to assert application identity in place of a recaptcha token. At least one * of (`ios_receipt` and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified - * to verify the verification code is being sent on behalf of a real app and not an emulator. A - * SafetyNet Token can be generated via the [SafetyNet Android Attestation + * to verify the verification code is being sent on behalf of a real app and not an emulator, if + * 'captcha_response' is not used (reCAPTCHA enterprise is not enabled). A SafetyNet Token can be + * generated via the [SafetyNet Android Attestation * API](https://developer.android.com/training/safetynet/attestation.html), with the Base64 * encoding of the `phone_number` field as the nonce. * The value may be {@code null}. @@ -124,13 +152,50 @@ public GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest setAutoRetrievalI return this; } + /** + * Optional. The reCAPTCHA Enterprise token provided by the reCAPTCHA client-side integration. + * Required when reCAPTCHA enterprise is enabled. + * @return value or {@code null} for none + */ + public java.lang.String getCaptchaResponse() { + return captchaResponse; + } + + /** + * Optional. The reCAPTCHA Enterprise token provided by the reCAPTCHA client-side integration. + * Required when reCAPTCHA enterprise is enabled. + * @param captchaResponse captchaResponse or {@code null} for none + */ + public GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest setCaptchaResponse(java.lang.String captchaResponse) { + this.captchaResponse = captchaResponse; + return this; + } + + /** + * Optional. The client type, web, android or ios. Required when reCAPTCHA Enterprise is enabled. + * @return value or {@code null} for none + */ + public java.lang.String getClientType() { + return clientType; + } + + /** + * Optional. The client type, web, android or ios. Required when reCAPTCHA Enterprise is enabled. + * @param clientType clientType or {@code null} for none + */ + public GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest setClientType(java.lang.String clientType) { + this.clientType = clientType; + return this; + } + /** * Receipt of successful iOS app token validation. At least one of (`ios_receipt` and * `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to verify the - * verification code is being sent on behalf of a real app and not an emulator. This should come - * from the response of verifyIosClient. If present, the caller should also provide the - * `ios_secret`, as well as a bundle ID in the `x-ios-bundle-identifier` header, which must match - * the bundle ID from the verifyIosClient request. + * verification code is being sent on behalf of a real app and not an emulator, if + * 'captcha_response' is not used (reCAPTCHA enterprise is not enabled). This should come from the + * response of verifyIosClient. If present, the caller should also provide the `ios_secret`, as + * well as a bundle ID in the `x-ios-bundle-identifier` header, which must match the bundle ID + * from the verifyIosClient request. * @return value or {@code null} for none */ public java.lang.String getIosReceipt() { @@ -140,10 +205,11 @@ public java.lang.String getIosReceipt() { /** * Receipt of successful iOS app token validation. At least one of (`ios_receipt` and * `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to verify the - * verification code is being sent on behalf of a real app and not an emulator. This should come - * from the response of verifyIosClient. If present, the caller should also provide the - * `ios_secret`, as well as a bundle ID in the `x-ios-bundle-identifier` header, which must match - * the bundle ID from the verifyIosClient request. + * verification code is being sent on behalf of a real app and not an emulator, if + * 'captcha_response' is not used (reCAPTCHA enterprise is not enabled). This should come from the + * response of verifyIosClient. If present, the caller should also provide the `ios_secret`, as + * well as a bundle ID in the `x-ios-bundle-identifier` header, which must match the bundle ID + * from the verifyIosClient request. * @param iosReceipt iosReceipt or {@code null} for none */ public GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest setIosReceipt(java.lang.String iosReceipt) { @@ -191,9 +257,10 @@ public GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest setPhoneNumber(ja * Android only. Used to assert application identity in place of a recaptcha token (and * safety_net_token). At least one of (`ios_receipt` and `ios_secret`), `recaptcha_token`, , or * `play_integrity_token` must be specified to verify the verification code is being sent on - * behalf of a real app and not an emulator. A Play Integrity Token can be generated via the - * [PlayIntegrity API](https://developer.android.com/google/play/integrity) with applying SHA256 - * to the `phone_number` field as the nonce. + * behalf of a real app and not an emulator, if 'captcha_response' is not used (reCAPTCHA + * enterprise is not enabled). A Play Integrity Token can be generated via the [PlayIntegrity + * API](https://developer.android.com/google/play/integrity) with applying SHA256 to the + * `phone_number` field as the nonce. * @return value or {@code null} for none */ public java.lang.String getPlayIntegrityToken() { @@ -204,9 +271,10 @@ public java.lang.String getPlayIntegrityToken() { * Android only. Used to assert application identity in place of a recaptcha token (and * safety_net_token). At least one of (`ios_receipt` and `ios_secret`), `recaptcha_token`, , or * `play_integrity_token` must be specified to verify the verification code is being sent on - * behalf of a real app and not an emulator. A Play Integrity Token can be generated via the - * [PlayIntegrity API](https://developer.android.com/google/play/integrity) with applying SHA256 - * to the `phone_number` field as the nonce. + * behalf of a real app and not an emulator, if 'captcha_response' is not used (reCAPTCHA + * enterprise is not enabled). A Play Integrity Token can be generated via the [PlayIntegrity + * API](https://developer.android.com/google/play/integrity) with applying SHA256 to the + * `phone_number` field as the nonce. * @param playIntegrityToken playIntegrityToken or {@code null} for none */ public GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest setPlayIntegrityToken(java.lang.String playIntegrityToken) { @@ -217,8 +285,9 @@ public GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest setPlayIntegrityT /** * Recaptcha token for app verification. At least one of (`ios_receipt` and `ios_secret`), * `recaptcha_token`, or `safety_net_token` must be specified to verify the verification code is - * being sent on behalf of a real app and not an emulator. The recaptcha should be generated by - * calling getRecaptchaParams and the recaptcha token will be generated on user completion of the + * being sent on behalf of a real app and not an emulator, if 'captcha_response' is not used + * (reCAPTCHA enterprise is not enabled). The recaptcha should be generated by calling + * getRecaptchaParams and the recaptcha token will be generated on user completion of the * recaptcha challenge. * @return value or {@code null} for none */ @@ -229,8 +298,9 @@ public java.lang.String getRecaptchaToken() { /** * Recaptcha token for app verification. At least one of (`ios_receipt` and `ios_secret`), * `recaptcha_token`, or `safety_net_token` must be specified to verify the verification code is - * being sent on behalf of a real app and not an emulator. The recaptcha should be generated by - * calling getRecaptchaParams and the recaptcha token will be generated on user completion of the + * being sent on behalf of a real app and not an emulator, if 'captcha_response' is not used + * (reCAPTCHA enterprise is not enabled). The recaptcha should be generated by calling + * getRecaptchaParams and the recaptcha token will be generated on user completion of the * recaptcha challenge. * @param recaptchaToken recaptchaToken or {@code null} for none */ @@ -239,11 +309,31 @@ public GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest setRecaptchaToken return this; } + /** + * Optional. The reCAPTCHA version of the reCAPTCHA token in the captcha_response. Required when + * reCAPTCHA Enterprise is enabled. + * @return value or {@code null} for none + */ + public java.lang.String getRecaptchaVersion() { + return recaptchaVersion; + } + + /** + * Optional. The reCAPTCHA version of the reCAPTCHA token in the captcha_response. Required when + * reCAPTCHA Enterprise is enabled. + * @param recaptchaVersion recaptchaVersion or {@code null} for none + */ + public GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest setRecaptchaVersion(java.lang.String recaptchaVersion) { + this.recaptchaVersion = recaptchaVersion; + return this; + } + /** * Android only. Used to assert application identity in place of a recaptcha token. At least one * of (`ios_receipt` and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified - * to verify the verification code is being sent on behalf of a real app and not an emulator. A - * SafetyNet Token can be generated via the [SafetyNet Android Attestation + * to verify the verification code is being sent on behalf of a real app and not an emulator, if + * 'captcha_response' is not used (reCAPTCHA enterprise is not enabled). A SafetyNet Token can be + * generated via the [SafetyNet Android Attestation * API](https://developer.android.com/training/safetynet/attestation.html), with the Base64 * encoding of the `phone_number` field as the nonce. * @return value or {@code null} for none @@ -255,8 +345,9 @@ public java.lang.String getSafetyNetToken() { /** * Android only. Used to assert application identity in place of a recaptcha token. At least one * of (`ios_receipt` and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified - * to verify the verification code is being sent on behalf of a real app and not an emulator. A - * SafetyNet Token can be generated via the [SafetyNet Android Attestation + * to verify the verification code is being sent on behalf of a real app and not an emulator, if + * 'captcha_response' is not used (reCAPTCHA enterprise is not enabled). A SafetyNet Token can be + * generated via the [SafetyNet Android Attestation * API](https://developer.android.com/training/safetynet/attestation.html), with the Base64 * encoding of the `phone_number` field as the nonce. * @param safetyNetToken safetyNetToken or {@code null} for none diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SetAccountInfoRequest.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SetAccountInfoRequest.java index 7da92c59f86..855d9e584a8 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SetAccountInfoRequest.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SetAccountInfoRequest.java @@ -66,7 +66,6 @@ public final class GoogleCloudIdentitytoolkitV1SetAccountInfoRequest extends com private java.lang.Long delegatedProjectNumber; /** - * The account's attributes to be deleted. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -138,8 +137,8 @@ public final class GoogleCloudIdentitytoolkitV1SetAccountInfoRequest extends com /** * The provider to be linked to the user's account. Specifying this field requires a Google OAuth - * 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs - * /access-control). + * 2.0 credential with proper [permissions] (https://cloud.google.com/identity- + * platform/docs/access-control). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -157,8 +156,8 @@ public final class GoogleCloudIdentitytoolkitV1SetAccountInfoRequest extends com /** * The multi-factor authentication related information to be set on the user's account. This will * overwrite any previous multi-factor related information on the account. Specifying this field - * requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com - * /identity-platform/docs/access-control). + * requires a Google OAuth 2.0 credential with proper [permissions] + * (https://cloud.google.com/identity-platform/docs/access-control). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -331,7 +330,6 @@ public GoogleCloudIdentitytoolkitV1SetAccountInfoRequest setDelegatedProjectNumb } /** - * The account's attributes to be deleted. * @return value or {@code null} for none */ public java.util.List getDeleteAttribute() { @@ -339,7 +337,6 @@ public java.util.List getDeleteAttribute() { } /** - * The account's attributes to be deleted. * @param deleteAttribute deleteAttribute or {@code null} for none */ public GoogleCloudIdentitytoolkitV1SetAccountInfoRequest setDeleteAttribute(java.util.List deleteAttribute) { @@ -501,8 +498,8 @@ public GoogleCloudIdentitytoolkitV1SetAccountInfoRequest setLastLoginAt(java.lan /** * The provider to be linked to the user's account. Specifying this field requires a Google OAuth - * 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs - * /access-control). + * 2.0 credential with proper [permissions] (https://cloud.google.com/identity- + * platform/docs/access-control). * @return value or {@code null} for none */ public GoogleCloudIdentitytoolkitV1ProviderUserInfo getLinkProviderUserInfo() { @@ -511,8 +508,8 @@ public GoogleCloudIdentitytoolkitV1ProviderUserInfo getLinkProviderUserInfo() { /** * The provider to be linked to the user's account. Specifying this field requires a Google OAuth - * 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs - * /access-control). + * 2.0 credential with proper [permissions] (https://cloud.google.com/identity- + * platform/docs/access-control). * @param linkProviderUserInfo linkProviderUserInfo or {@code null} for none */ public GoogleCloudIdentitytoolkitV1SetAccountInfoRequest setLinkProviderUserInfo(GoogleCloudIdentitytoolkitV1ProviderUserInfo linkProviderUserInfo) { @@ -544,8 +541,8 @@ public GoogleCloudIdentitytoolkitV1SetAccountInfoRequest setLocalId(java.lang.St /** * The multi-factor authentication related information to be set on the user's account. This will * overwrite any previous multi-factor related information on the account. Specifying this field - * requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com - * /identity-platform/docs/access-control). + * requires a Google OAuth 2.0 credential with proper [permissions] + * (https://cloud.google.com/identity-platform/docs/access-control). * @return value or {@code null} for none */ public GoogleCloudIdentitytoolkitV1MfaInfo getMfa() { @@ -555,8 +552,8 @@ public GoogleCloudIdentitytoolkitV1MfaInfo getMfa() { /** * The multi-factor authentication related information to be set on the user's account. This will * overwrite any previous multi-factor related information on the account. Specifying this field - * requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com - * /identity-platform/docs/access-control). + * requires a Google OAuth 2.0 credential with proper [permissions] + * (https://cloud.google.com/identity-platform/docs/access-control). * @param mfa mfa or {@code null} for none */ public GoogleCloudIdentitytoolkitV1SetAccountInfoRequest setMfa(GoogleCloudIdentitytoolkitV1MfaInfo mfa) { diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SignInWithIdpRequest.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SignInWithIdpRequest.java index 45e51d5e729..ecc44ca9eec 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SignInWithIdpRequest.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SignInWithIdpRequest.java @@ -72,18 +72,20 @@ public final class GoogleCloudIdentitytoolkitV1SignInWithIdpRequest extends com. * URL-encoded form that contains the credential (e.g. an ID token or access token for OAuth 2.0 * IdPs) and the provider ID of the IdP that issued the credential. For example, if the user is * signing in to the Google provider using a Google ID token, this should be set to - * id_token`=[GOOGLE_ID_TOKEN]=google.com`, where `[GOOGLE_ID_TOKEN]` should be replaced with the - * Google ID token. If the user is signing in to the Facebook provider using a Facebook - * authentication token, this should be set to id_token`=[FACEBOOK_AUTHENTICATION_TOKEN]=facebook. - * com= [NONCE]`, where `[FACEBOOK_AUTHENTICATION_TOKEN]` should be replaced with the Facebook - * authentication token. Nonce is required for validating the token. The request will fail if no - * nonce is provided. If the user is signing in to the Facebook provider using a Facebook access - * token, this should be set to access_token`=[FACEBOOK_ACCESS_TOKEN]=facebook. com`, where + * id_token`=[GOOGLE_ID_TOKEN]&providerId=google.com`, where `[GOOGLE_ID_TOKEN]` should be + * replaced with the Google ID token. If the user is signing in to the Facebook provider using a + * Facebook authentication token, this should be set to + * id_token`=[FACEBOOK_AUTHENTICATION_TOKEN]&providerId=facebook. com&nonce= [NONCE]`, where + * `[FACEBOOK_AUTHENTICATION_TOKEN]` should be replaced with the Facebook authentication token. + * Nonce is required for validating the token. The request will fail if no nonce is provided. If + * the user is signing in to the Facebook provider using a Facebook access token, this should be + * set to access_token`=[FACEBOOK_ACCESS_TOKEN]&providerId=facebook. com`, where * `[FACEBOOK_ACCESS_TOKEN]` should be replaced with the Facebook access token. If the user is * signing in to the Twitter provider using a Twitter OAuth 1.0 credential, this should be set to - * access_token`=[TWITTER_ACCESS_TOKEN]_token_secret= [TWITTER_TOKEN_SECRET]=twitter.com`, where - * `[TWITTER_ACCESS_TOKEN]` and `[TWITTER_TOKEN_SECRET]` should be replaced with the Twitter OAuth - * access token and Twitter OAuth token secret respectively. + * access_token`=[TWITTER_ACCESS_TOKEN]&oauth_token_secret= + * [TWITTER_TOKEN_SECRET]&providerId=twitter.com`, where `[TWITTER_ACCESS_TOKEN]` and + * `[TWITTER_TOKEN_SECRET]` should be replaced with the Twitter OAuth access token and Twitter + * OAuth token secret respectively. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -230,18 +232,20 @@ public GoogleCloudIdentitytoolkitV1SignInWithIdpRequest setPendingToken(java.lan * URL-encoded form that contains the credential (e.g. an ID token or access token for OAuth 2.0 * IdPs) and the provider ID of the IdP that issued the credential. For example, if the user is * signing in to the Google provider using a Google ID token, this should be set to - * id_token`=[GOOGLE_ID_TOKEN]=google.com`, where `[GOOGLE_ID_TOKEN]` should be replaced with the - * Google ID token. If the user is signing in to the Facebook provider using a Facebook - * authentication token, this should be set to id_token`=[FACEBOOK_AUTHENTICATION_TOKEN]=facebook. - * com= [NONCE]`, where `[FACEBOOK_AUTHENTICATION_TOKEN]` should be replaced with the Facebook - * authentication token. Nonce is required for validating the token. The request will fail if no - * nonce is provided. If the user is signing in to the Facebook provider using a Facebook access - * token, this should be set to access_token`=[FACEBOOK_ACCESS_TOKEN]=facebook. com`, where + * id_token`=[GOOGLE_ID_TOKEN]&providerId=google.com`, where `[GOOGLE_ID_TOKEN]` should be + * replaced with the Google ID token. If the user is signing in to the Facebook provider using a + * Facebook authentication token, this should be set to + * id_token`=[FACEBOOK_AUTHENTICATION_TOKEN]&providerId=facebook. com&nonce= [NONCE]`, where + * `[FACEBOOK_AUTHENTICATION_TOKEN]` should be replaced with the Facebook authentication token. + * Nonce is required for validating the token. The request will fail if no nonce is provided. If + * the user is signing in to the Facebook provider using a Facebook access token, this should be + * set to access_token`=[FACEBOOK_ACCESS_TOKEN]&providerId=facebook. com`, where * `[FACEBOOK_ACCESS_TOKEN]` should be replaced with the Facebook access token. If the user is * signing in to the Twitter provider using a Twitter OAuth 1.0 credential, this should be set to - * access_token`=[TWITTER_ACCESS_TOKEN]_token_secret= [TWITTER_TOKEN_SECRET]=twitter.com`, where - * `[TWITTER_ACCESS_TOKEN]` and `[TWITTER_TOKEN_SECRET]` should be replaced with the Twitter OAuth - * access token and Twitter OAuth token secret respectively. + * access_token`=[TWITTER_ACCESS_TOKEN]&oauth_token_secret= + * [TWITTER_TOKEN_SECRET]&providerId=twitter.com`, where `[TWITTER_ACCESS_TOKEN]` and + * `[TWITTER_TOKEN_SECRET]` should be replaced with the Twitter OAuth access token and Twitter + * OAuth token secret respectively. * @return value or {@code null} for none */ public java.lang.String getPostBody() { @@ -255,18 +259,20 @@ public java.lang.String getPostBody() { * URL-encoded form that contains the credential (e.g. an ID token or access token for OAuth 2.0 * IdPs) and the provider ID of the IdP that issued the credential. For example, if the user is * signing in to the Google provider using a Google ID token, this should be set to - * id_token`=[GOOGLE_ID_TOKEN]=google.com`, where `[GOOGLE_ID_TOKEN]` should be replaced with the - * Google ID token. If the user is signing in to the Facebook provider using a Facebook - * authentication token, this should be set to id_token`=[FACEBOOK_AUTHENTICATION_TOKEN]=facebook. - * com= [NONCE]`, where `[FACEBOOK_AUTHENTICATION_TOKEN]` should be replaced with the Facebook - * authentication token. Nonce is required for validating the token. The request will fail if no - * nonce is provided. If the user is signing in to the Facebook provider using a Facebook access - * token, this should be set to access_token`=[FACEBOOK_ACCESS_TOKEN]=facebook. com`, where + * id_token`=[GOOGLE_ID_TOKEN]&providerId=google.com`, where `[GOOGLE_ID_TOKEN]` should be + * replaced with the Google ID token. If the user is signing in to the Facebook provider using a + * Facebook authentication token, this should be set to + * id_token`=[FACEBOOK_AUTHENTICATION_TOKEN]&providerId=facebook. com&nonce= [NONCE]`, where + * `[FACEBOOK_AUTHENTICATION_TOKEN]` should be replaced with the Facebook authentication token. + * Nonce is required for validating the token. The request will fail if no nonce is provided. If + * the user is signing in to the Facebook provider using a Facebook access token, this should be + * set to access_token`=[FACEBOOK_ACCESS_TOKEN]&providerId=facebook. com`, where * `[FACEBOOK_ACCESS_TOKEN]` should be replaced with the Facebook access token. If the user is * signing in to the Twitter provider using a Twitter OAuth 1.0 credential, this should be set to - * access_token`=[TWITTER_ACCESS_TOKEN]_token_secret= [TWITTER_TOKEN_SECRET]=twitter.com`, where - * `[TWITTER_ACCESS_TOKEN]` and `[TWITTER_TOKEN_SECRET]` should be replaced with the Twitter OAuth - * access token and Twitter OAuth token secret respectively. + * access_token`=[TWITTER_ACCESS_TOKEN]&oauth_token_secret= + * [TWITTER_TOKEN_SECRET]&providerId=twitter.com`, where `[TWITTER_ACCESS_TOKEN]` and + * `[TWITTER_TOKEN_SECRET]` should be replaced with the Twitter OAuth access token and Twitter + * OAuth token secret respectively. * @param postBody postBody or {@code null} for none */ public GoogleCloudIdentitytoolkitV1SignInWithIdpRequest setPostBody(java.lang.String postBody) { diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SignInWithIdpResponse.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SignInWithIdpResponse.java index 87d1c14eebd..06b81b8ac64 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SignInWithIdpResponse.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SignInWithIdpResponse.java @@ -182,10 +182,10 @@ public final class GoogleCloudIdentitytoolkitV1SignInWithIdpResponse extends com /** * Whether or not there is an existing Identity Platform user account with the same email address - * as the current account signed in at the IdP, and the account's email addresss is not verified - * at the IdP. The user will need to sign in to the existing Identity Platform account and then - * link the current credential from the IdP to it. Only present if the "One account per email - * address" setting is enabled. + * as the current account signed in at the IdP, and the account's email address is not verified at + * the IdP. The user will need to sign in to the existing Identity Platform account and then link + * the current credential from the IdP to it. Only present if the "One account per email address" + * setting is enabled. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -676,10 +676,10 @@ public GoogleCloudIdentitytoolkitV1SignInWithIdpResponse setMfaPendingCredential /** * Whether or not there is an existing Identity Platform user account with the same email address - * as the current account signed in at the IdP, and the account's email addresss is not verified - * at the IdP. The user will need to sign in to the existing Identity Platform account and then - * link the current credential from the IdP to it. Only present if the "One account per email - * address" setting is enabled. + * as the current account signed in at the IdP, and the account's email address is not verified at + * the IdP. The user will need to sign in to the existing Identity Platform account and then link + * the current credential from the IdP to it. Only present if the "One account per email address" + * setting is enabled. * @return value or {@code null} for none */ public java.lang.Boolean getNeedConfirmation() { @@ -688,10 +688,10 @@ public java.lang.Boolean getNeedConfirmation() { /** * Whether or not there is an existing Identity Platform user account with the same email address - * as the current account signed in at the IdP, and the account's email addresss is not verified - * at the IdP. The user will need to sign in to the existing Identity Platform account and then - * link the current credential from the IdP to it. Only present if the "One account per email - * address" setting is enabled. + * as the current account signed in at the IdP, and the account's email address is not verified at + * the IdP. The user will need to sign in to the existing Identity Platform account and then link + * the current credential from the IdP to it. Only present if the "One account per email address" + * setting is enabled. * @param needConfirmation needConfirmation or {@code null} for none */ public GoogleCloudIdentitytoolkitV1SignInWithIdpResponse setNeedConfirmation(java.lang.Boolean needConfirmation) { diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SignUpRequest.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SignUpRequest.java index ddebeb3aba2..e07abd62825 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SignUpRequest.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SignUpRequest.java @@ -52,8 +52,8 @@ public final class GoogleCloudIdentitytoolkitV1SignUpRequest extends com.google. /** * Whether the user will be disabled upon creation. Disabled accounts are inaccessible except for - * requests bearing a Google OAuth2 credential with proper [permissions](https://cloud.google.com - * /identity-platform/docs/access-control). + * requests bearing a Google OAuth2 credential with proper + * [permissions](https://cloud.google.com/identity-platform/docs/access-control). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -78,8 +78,8 @@ public final class GoogleCloudIdentitytoolkitV1SignUpRequest extends com.google. /** * Whether the user's email is verified. Specifying this field requires a Google OAuth 2.0 - * credential with the proper [permissions](https://cloud.google.com/identity-platform/docs - * /access-control). + * credential with the proper [permissions](https://cloud.google.com/identity- + * platform/docs/access-control). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -133,8 +133,8 @@ public final class GoogleCloudIdentitytoolkitV1SignUpRequest extends com.google. /** * The phone number of the user to create. Specifying this field requires a Google OAuth 2.0 - * credential with the proper [permissions](https://cloud.google.com/identity-platform/docs - * /access-control). + * credential with the proper [permissions](https://cloud.google.com/identity- + * platform/docs/access-control). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -225,8 +225,8 @@ public GoogleCloudIdentitytoolkitV1SignUpRequest setClientType(java.lang.String /** * Whether the user will be disabled upon creation. Disabled accounts are inaccessible except for - * requests bearing a Google OAuth2 credential with proper [permissions](https://cloud.google.com - * /identity-platform/docs/access-control). + * requests bearing a Google OAuth2 credential with proper + * [permissions](https://cloud.google.com/identity-platform/docs/access-control). * @return value or {@code null} for none */ public java.lang.Boolean getDisabled() { @@ -235,8 +235,8 @@ public java.lang.Boolean getDisabled() { /** * Whether the user will be disabled upon creation. Disabled accounts are inaccessible except for - * requests bearing a Google OAuth2 credential with proper [permissions](https://cloud.google.com - * /identity-platform/docs/access-control). + * requests bearing a Google OAuth2 credential with proper + * [permissions](https://cloud.google.com/identity-platform/docs/access-control). * @param disabled disabled or {@code null} for none */ public GoogleCloudIdentitytoolkitV1SignUpRequest setDisabled(java.lang.Boolean disabled) { @@ -286,8 +286,8 @@ public GoogleCloudIdentitytoolkitV1SignUpRequest setEmail(java.lang.String email /** * Whether the user's email is verified. Specifying this field requires a Google OAuth 2.0 - * credential with the proper [permissions](https://cloud.google.com/identity-platform/docs - * /access-control). + * credential with the proper [permissions](https://cloud.google.com/identity- + * platform/docs/access-control). * @return value or {@code null} for none */ public java.lang.Boolean getEmailVerified() { @@ -296,8 +296,8 @@ public java.lang.Boolean getEmailVerified() { /** * Whether the user's email is verified. Specifying this field requires a Google OAuth 2.0 - * credential with the proper [permissions](https://cloud.google.com/identity-platform/docs - * /access-control). + * credential with the proper [permissions](https://cloud.google.com/identity- + * platform/docs/access-control). * @param emailVerified emailVerified or {@code null} for none */ public GoogleCloudIdentitytoolkitV1SignUpRequest setEmailVerified(java.lang.Boolean emailVerified) { @@ -402,8 +402,8 @@ public GoogleCloudIdentitytoolkitV1SignUpRequest setPassword(java.lang.String pa /** * The phone number of the user to create. Specifying this field requires a Google OAuth 2.0 - * credential with the proper [permissions](https://cloud.google.com/identity-platform/docs - * /access-control). + * credential with the proper [permissions](https://cloud.google.com/identity- + * platform/docs/access-control). * @return value or {@code null} for none */ public java.lang.String getPhoneNumber() { @@ -412,8 +412,8 @@ public java.lang.String getPhoneNumber() { /** * The phone number of the user to create. Specifying this field requires a Google OAuth 2.0 - * credential with the proper [permissions](https://cloud.google.com/identity-platform/docs - * /access-control). + * credential with the proper [permissions](https://cloud.google.com/identity- + * platform/docs/access-control). * @param phoneNumber phoneNumber or {@code null} for none */ public GoogleCloudIdentitytoolkitV1SignUpRequest setPhoneNumber(java.lang.String phoneNumber) { diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1UploadAccountRequest.java b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1UploadAccountRequest.java index 6d4b5d133a8..2944394969e 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1UploadAccountRequest.java +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1UploadAccountRequest.java @@ -102,7 +102,6 @@ public final class GoogleCloudIdentitytoolkitV1UploadAccountRequest extends com. private java.lang.Integer parallelization; /** - * Password and salt order when verify password. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -331,7 +330,6 @@ public GoogleCloudIdentitytoolkitV1UploadAccountRequest setParallelization(java. } /** - * Password and salt order when verify password. * @return value or {@code null} for none */ public java.lang.String getPasswordHashOrder() { @@ -339,7 +337,6 @@ public java.lang.String getPasswordHashOrder() { } /** - * Password and salt order when verify password. * @param passwordHashOrder passwordHashOrder or {@code null} for none */ public GoogleCloudIdentitytoolkitV1UploadAccountRequest setPasswordHashOrder(java.lang.String passwordHashOrder) { diff --git a/clients/google-api-services-identitytoolkit/v1/2.0.0/pom.xml b/clients/google-api-services-identitytoolkit/v1/2.0.0/pom.xml index 546388f6b7e..9976d88c192 100644 --- a/clients/google-api-services-identitytoolkit/v1/2.0.0/pom.xml +++ b/clients/google-api-services-identitytoolkit/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-identitytoolkit - v1-rev20231027-2.0.0 - Identity Toolkit API v1-rev20231027-2.0.0 + v1-rev20250130-2.0.0 + Identity Toolkit API v1-rev20250130-2.0.0 jar 2011 @@ -90,9 +90,9 @@ Identity Toolkit API ${project.version} http://docs.oracle.com/javase/7/docs/api - https://googleapis.dev/java/google-http-client/1.43.3/ - https://googleapis.dev/java/google-oauth-client/1.34.1/ - https://googleapis.dev/java/google-api-client/2.2.0/ + https://googleapis.dev/java/google-http-client/1.47.0/ + https://googleapis.dev/java/google-oauth-client/1.39.0/ + https://googleapis.dev/java/google-api-client/2.7.2/ @@ -125,7 +125,7 @@ com.google.api-client google-api-client - 2.2.0 + 2.7.2 diff --git a/clients/google-api-services-identitytoolkit/v1/README.md b/clients/google-api-services-identitytoolkit/v1/README.md index 5d7e5f3000e..0aa4b577336 100644 --- a/clients/google-api-services-identitytoolkit/v1/README.md +++ b/clients/google-api-services-identitytoolkit/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-identitytoolkit - v1-rev20231027-2.0.0 + v1-rev20250130-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-identitytoolkit:v1-rev20231027-2.0.0' + implementation 'com.google.apis:google-api-services-identitytoolkit:v1-rev20250130-2.0.0' } ``` diff --git a/clients/google-api-services-identitytoolkit/v2/2.0.0/README.md b/clients/google-api-services-identitytoolkit/v2/2.0.0/README.md index ef7d7b112c0..c497b7f482b 100644 --- a/clients/google-api-services-identitytoolkit/v2/2.0.0/README.md +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-identitytoolkit - v2-rev20240118-2.0.0 + v2-rev20250130-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-identitytoolkit:v2-rev20240118-2.0.0' + implementation 'com.google.apis:google-api-services-identitytoolkit:v2-rev20250130-2.0.0' } ``` diff --git a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/IdentityToolkit.java b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/IdentityToolkit.java index 22c69f22e70..9aeddf17da0 100644 --- a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/IdentityToolkit.java +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/IdentityToolkit.java @@ -3684,8 +3684,8 @@ public List set(String parameterName, Object value) { * This request holds the parameters needed by the identitytoolkit server. After setting any * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. * - * @param name The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs - * /oauth-config-id'. Ignored during create requests. + * @param name The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome- + * project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests. * @param content the {@link com.google.api.services.identitytoolkit.v2.model.GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig} * @return the request */ @@ -3713,8 +3713,8 @@ public class Patch extends IdentityToolkitRequest * - * @param name The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs - * /oauth-config-id'. Ignored during create requests. + * @param name The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome- + * project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests. * @param content the {@link com.google.api.services.identitytoolkit.v2.model.GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig} * @since 1.13 */ @@ -3790,8 +3790,8 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) { @com.google.api.client.util.Key private java.lang.String name; - /** The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs - /oauth-config-id'. Ignored during create requests. + /** The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome- + project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests. */ public java.lang.String getName() { return name; @@ -4700,8 +4700,8 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Output only. Resource name of a tenant. For example: "projects/{project-id}/tenants - * /{tenant-id}" + * Output only. Resource name of a tenant. For example: "projects/{project- + * id}/tenants/{tenant-id}" */ @com.google.api.client.util.Key private java.lang.String name; @@ -4713,8 +4713,8 @@ public java.lang.String getName() { } /** - * Output only. Resource name of a tenant. For example: "projects/{project-id}/tenants - * /{tenant-id}" + * Output only. Resource name of a tenant. For example: "projects/{project- + * id}/tenants/{tenant-id}" */ public Patch setName(java.lang.String name) { if (!getSuppressPatternChecks()) { @@ -4728,8 +4728,8 @@ public Patch setName(java.lang.String name) { /** * If provided, only update fields set in the update mask. Otherwise, all settable fields - * will be updated. For the `FieldMask` definition, see https://developers.google.com - * /protocol-buffers/docs/reference/google.protobuf#fieldmask + * will be updated. For the `FieldMask` definition, see + * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask */ @com.google.api.client.util.Key private String updateMask; @@ -4744,8 +4744,8 @@ public String getUpdateMask() { /** * If provided, only update fields set in the update mask. Otherwise, all settable fields - * will be updated. For the `FieldMask` definition, see https://developers.google.com - * /protocol-buffers/docs/reference/google.protobuf#fieldmask + * will be updated. For the `FieldMask` definition, see + * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask */ public Patch setUpdateMask(String updateMask) { this.updateMask = updateMask; @@ -7286,8 +7286,8 @@ public List set(String parameterName, Object value) { * This request holds the parameters needed by the identitytoolkit server. After setting any * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. * - * @param name The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs - * /oauth-config-id'. Ignored during create requests. + * @param name The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome- + * project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests. * @param content the {@link com.google.api.services.identitytoolkit.v2.model.GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig} * @return the request */ @@ -7315,8 +7315,8 @@ public class Patch extends IdentityToolkitRequest * - * @param name The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs - * /oauth-config-id'. Ignored during create requests. + * @param name The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome- + * project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests. * @param content the {@link com.google.api.services.identitytoolkit.v2.model.GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig} * @since 1.13 */ @@ -7392,8 +7392,8 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) { @com.google.api.client.util.Key private java.lang.String name; - /** The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs - /oauth-config-id'. Ignored during create requests. + /** The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome- + project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests. */ public java.lang.String getName() { return name; @@ -7877,5 +7877,10 @@ 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-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig.java b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig.java index 4326f862d6f..19765693d01 100644 --- a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig.java +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig.java @@ -37,6 +37,7 @@ public final class GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig extends co private java.util.List bundleIds; /** + * Additional config for Apple for code flow. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -60,6 +61,7 @@ public GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig setBundleIds(java.util } /** + * Additional config for Apple for code flow. * @return value or {@code null} for none */ public GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig getCodeFlowConfig() { @@ -67,6 +69,7 @@ public GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig getCodeFlowConfig() { } /** + * Additional config for Apple for code flow. * @param codeFlowConfig codeFlowConfig or {@code null} for none */ public GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig setCodeFlowConfig(GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig codeFlowConfig) { diff --git a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2Config.java b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2Config.java index 592ad987968..79912e26df3 100644 --- a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2Config.java +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2Config.java @@ -57,6 +57,13 @@ public final class GoogleCloudIdentitytoolkitAdminV2Config extends com.google.ap @com.google.api.client.util.Key private GoogleCloudIdentitytoolkitAdminV2ClientConfig client; + /** + * Output only. Default Firebase hosting site name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String defaultHostingSite; + /** * Configuration for settings related to email privacy and public visibility. * The value may be {@code null}. @@ -72,6 +79,13 @@ public final class GoogleCloudIdentitytoolkitAdminV2Config extends com.google.ap @com.google.api.client.util.Key private GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig mfa; + /** + * Configuration for settings related to univeral links (iOS) and app links (Android). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig mobileLinksConfig; + /** * Configuration related to monitoring project activity. * The value may be {@code null}. @@ -210,6 +224,23 @@ public GoogleCloudIdentitytoolkitAdminV2Config setClient(GoogleCloudIdentitytool return this; } + /** + * Output only. Default Firebase hosting site name + * @return value or {@code null} for none + */ + public java.lang.String getDefaultHostingSite() { + return defaultHostingSite; + } + + /** + * Output only. Default Firebase hosting site name + * @param defaultHostingSite defaultHostingSite or {@code null} for none + */ + public GoogleCloudIdentitytoolkitAdminV2Config setDefaultHostingSite(java.lang.String defaultHostingSite) { + this.defaultHostingSite = defaultHostingSite; + return this; + } + /** * Configuration for settings related to email privacy and public visibility. * @return value or {@code null} for none @@ -246,6 +277,23 @@ public GoogleCloudIdentitytoolkitAdminV2Config setMfa(GoogleCloudIdentitytoolkit return this; } + /** + * Configuration for settings related to univeral links (iOS) and app links (Android). + * @return value or {@code null} for none + */ + public GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig getMobileLinksConfig() { + return mobileLinksConfig; + } + + /** + * Configuration for settings related to univeral links (iOS) and app links (Android). + * @param mobileLinksConfig mobileLinksConfig or {@code null} for none + */ + public GoogleCloudIdentitytoolkitAdminV2Config setMobileLinksConfig(GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig mobileLinksConfig) { + this.mobileLinksConfig = mobileLinksConfig; + return this; + } + /** * Configuration related to monitoring project activity. * @return value or {@code null} for none diff --git a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2EmailTemplate.java b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2EmailTemplate.java index a17f535b793..46ae9e4d30c 100644 --- a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2EmailTemplate.java +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2EmailTemplate.java @@ -20,8 +20,8 @@ * Email template. The subject and body fields can contain the following placeholders which will be * replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. * %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the - * account (when applicable). %APP_NAME% - The GCP project's display name. %DISPLAY_NAME% - The - * user's display name. + * account (when applicable). %APP_NAME% - The Google Cloud project's display name. %DISPLAY_NAME% - + * The user's display name. * *

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 Identity Toolkit API. For a detailed explanation see: diff --git a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig.java b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig.java new file mode 100644 index 00000000000..1b6f5f58fd4 --- /dev/null +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig.java @@ -0,0 +1,66 @@ +/* + * 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.identitytoolkit.v2.model; + +/** + * Configuration mobile links. + * + *

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 Identity Toolkit 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 GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig extends com.google.api.client.json.GenericJson { + + /** + * Open code in app domain to use for app links and universal links. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domain; + + /** + * Open code in app domain to use for app links and universal links. + * @return value or {@code null} for none + */ + public java.lang.String getDomain() { + return domain; + } + + /** + * Open code in app domain to use for app links and universal links. + * @param domain domain or {@code null} for none + */ + public GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig setDomain(java.lang.String domain) { + this.domain = domain; + return this; + } + + @Override + public GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig set(String fieldName, Object value) { + return (GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig clone() { + return (GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2OAuthResponseType.java b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2OAuthResponseType.java index 683614d499d..7df83130f07 100644 --- a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2OAuthResponseType.java +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2OAuthResponseType.java @@ -19,8 +19,8 @@ /** * The response type to request for in the OAuth authorization flow. You can set either `id_token` * or `code` to true, but not both. Setting both types to be simultaneously true (`{code: true, - * id_token: true}`) is not yet supported. See https://openid.net/specs/openid-connect-core- - * 1_0.html#Authentication for a mapping of response type to OAuth 2.0 flow. + * id_token: true}`) is not yet supported. See https://openid.net/specs/openid-connect- + * core-1_0.html#Authentication for a mapping of response type to OAuth 2.0 flow. * *

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 Identity Toolkit API. For a detailed explanation see: diff --git a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig.java b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig.java index e3daeceb54e..dd2be51e114 100644 --- a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig.java +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig.java @@ -31,7 +31,7 @@ public final class GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig extends com. /** * The reCAPTCHA config for email/password provider, containing the enforcement status. The - * email/password provider contains all related user flows protected by reCAPTCHA. + * email/password provider contains all email related user flows protected by reCAPTCHA. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -46,12 +46,29 @@ public final class GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig extends com. private java.util.List managedRules; /** - * Output only. The reCAPTCHA keys. + * The reCAPTCHA config for phone provider, containing the enforcement status. The phone provider + * contains all SMS related user flows protected by reCAPTCHA. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String phoneEnforcementState; + + /** + * The reCAPTCHA keys. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List recaptchaKeys; + /** + * The managed rules for the authentication action based on reCAPTCHA toll fraud risk scores. Toll + * fraud managed rules will only take effect when the phone_enforcement_state is AUDIT or ENFORCE + * and use_sms_toll_fraud_protection is true. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List tollFraudManagedRules; + /** * Whether to use the account defender for reCAPTCHA assessment. Defaults to `false`. * The value may be {@code null}. @@ -59,9 +76,25 @@ public final class GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig extends com. @com.google.api.client.util.Key private java.lang.Boolean useAccountDefender; + /** + * Whether to use the rCE bot score for reCAPTCHA phone provider. Can only be true when the + * phone_enforcement_state is AUDIT or ENFORCE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useSmsBotScore; + + /** + * Whether to use the rCE sms toll fraud protection risk score for reCAPTCHA phone provider. Can + * only be true when the phone_enforcement_state is AUDIT or ENFORCE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useSmsTollFraudProtection; + /** * The reCAPTCHA config for email/password provider, containing the enforcement status. The - * email/password provider contains all related user flows protected by reCAPTCHA. + * email/password provider contains all email related user flows protected by reCAPTCHA. * @return value or {@code null} for none */ public java.lang.String getEmailPasswordEnforcementState() { @@ -70,7 +103,7 @@ public java.lang.String getEmailPasswordEnforcementState() { /** * The reCAPTCHA config for email/password provider, containing the enforcement status. The - * email/password provider contains all related user flows protected by reCAPTCHA. + * email/password provider contains all email related user flows protected by reCAPTCHA. * @param emailPasswordEnforcementState emailPasswordEnforcementState or {@code null} for none */ public GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig setEmailPasswordEnforcementState(java.lang.String emailPasswordEnforcementState) { @@ -98,7 +131,26 @@ public GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig setManagedRules(java.uti } /** - * Output only. The reCAPTCHA keys. + * The reCAPTCHA config for phone provider, containing the enforcement status. The phone provider + * contains all SMS related user flows protected by reCAPTCHA. + * @return value or {@code null} for none + */ + public java.lang.String getPhoneEnforcementState() { + return phoneEnforcementState; + } + + /** + * The reCAPTCHA config for phone provider, containing the enforcement status. The phone provider + * contains all SMS related user flows protected by reCAPTCHA. + * @param phoneEnforcementState phoneEnforcementState or {@code null} for none + */ + public GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig setPhoneEnforcementState(java.lang.String phoneEnforcementState) { + this.phoneEnforcementState = phoneEnforcementState; + return this; + } + + /** + * The reCAPTCHA keys. * @return value or {@code null} for none */ public java.util.List getRecaptchaKeys() { @@ -106,7 +158,7 @@ public java.util.List getRecaptch } /** - * Output only. The reCAPTCHA keys. + * The reCAPTCHA keys. * @param recaptchaKeys recaptchaKeys or {@code null} for none */ public GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig setRecaptchaKeys(java.util.List recaptchaKeys) { @@ -114,6 +166,27 @@ public GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig setRecaptchaKeys(java.ut return this; } + /** + * The managed rules for the authentication action based on reCAPTCHA toll fraud risk scores. Toll + * fraud managed rules will only take effect when the phone_enforcement_state is AUDIT or ENFORCE + * and use_sms_toll_fraud_protection is true. + * @return value or {@code null} for none + */ + public java.util.List getTollFraudManagedRules() { + return tollFraudManagedRules; + } + + /** + * The managed rules for the authentication action based on reCAPTCHA toll fraud risk scores. Toll + * fraud managed rules will only take effect when the phone_enforcement_state is AUDIT or ENFORCE + * and use_sms_toll_fraud_protection is true. + * @param tollFraudManagedRules tollFraudManagedRules or {@code null} for none + */ + public GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig setTollFraudManagedRules(java.util.List tollFraudManagedRules) { + this.tollFraudManagedRules = tollFraudManagedRules; + return this; + } + /** * Whether to use the account defender for reCAPTCHA assessment. Defaults to `false`. * @return value or {@code null} for none @@ -131,6 +204,44 @@ public GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig setUseAccountDefender(ja return this; } + /** + * Whether to use the rCE bot score for reCAPTCHA phone provider. Can only be true when the + * phone_enforcement_state is AUDIT or ENFORCE. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseSmsBotScore() { + return useSmsBotScore; + } + + /** + * Whether to use the rCE bot score for reCAPTCHA phone provider. Can only be true when the + * phone_enforcement_state is AUDIT or ENFORCE. + * @param useSmsBotScore useSmsBotScore or {@code null} for none + */ + public GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig setUseSmsBotScore(java.lang.Boolean useSmsBotScore) { + this.useSmsBotScore = useSmsBotScore; + return this; + } + + /** + * Whether to use the rCE sms toll fraud protection risk score for reCAPTCHA phone provider. Can + * only be true when the phone_enforcement_state is AUDIT or ENFORCE. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseSmsTollFraudProtection() { + return useSmsTollFraudProtection; + } + + /** + * Whether to use the rCE sms toll fraud protection risk score for reCAPTCHA phone provider. Can + * only be true when the phone_enforcement_state is AUDIT or ENFORCE. + * @param useSmsTollFraudProtection useSmsTollFraudProtection or {@code null} for none + */ + public GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig setUseSmsTollFraudProtection(java.lang.Boolean useSmsTollFraudProtection) { + this.useSmsTollFraudProtection = useSmsTollFraudProtection; + return this; + } + @Override public GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig set(String fieldName, Object value) { return (GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig) super.set(fieldName, value); diff --git a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule.java b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule.java new file mode 100644 index 00000000000..2936c4dd371 --- /dev/null +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule.java @@ -0,0 +1,104 @@ +/* + * 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.identitytoolkit.v2.model; + +/** + * The config for a reCAPTCHA toll fraud assessment managed rule. Models a single interval + * [start_score, end_score]. The end_score is implicit. It is either the closest smaller end_score + * (if one is available) or 0. Intervals in aggregate span [0, 1] without overlapping. + * + *

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 Identity Toolkit 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 GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule extends com.google.api.client.json.GenericJson { + + /** + * The action taken if the reCAPTCHA score of a request is within the interval [start_score, + * end_score]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String action; + + /** + * The start score (inclusive) for an action. Must be a value between 0.0 and 1.0, at 11 discrete + * values; e.g. 0, 0.1, 0.2, 0.3, ... 0.9, 1.0. A score of 0.0 indicates the safest request + * (likely legitimate), whereas 1.0 indicates the riskiest request (likely toll fraud). See + * https://cloud.google.com/recaptcha-enterprise/docs/sms-fraud-detection#create-assessment-sms. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Float startScore; + + /** + * The action taken if the reCAPTCHA score of a request is within the interval [start_score, + * end_score]. + * @return value or {@code null} for none + */ + public java.lang.String getAction() { + return action; + } + + /** + * The action taken if the reCAPTCHA score of a request is within the interval [start_score, + * end_score]. + * @param action action or {@code null} for none + */ + public GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule setAction(java.lang.String action) { + this.action = action; + return this; + } + + /** + * The start score (inclusive) for an action. Must be a value between 0.0 and 1.0, at 11 discrete + * values; e.g. 0, 0.1, 0.2, 0.3, ... 0.9, 1.0. A score of 0.0 indicates the safest request + * (likely legitimate), whereas 1.0 indicates the riskiest request (likely toll fraud). See + * https://cloud.google.com/recaptcha-enterprise/docs/sms-fraud-detection#create-assessment-sms. + * @return value or {@code null} for none + */ + public java.lang.Float getStartScore() { + return startScore; + } + + /** + * The start score (inclusive) for an action. Must be a value between 0.0 and 1.0, at 11 discrete + * values; e.g. 0, 0.1, 0.2, 0.3, ... 0.9, 1.0. A score of 0.0 indicates the safest request + * (likely legitimate), whereas 1.0 indicates the riskiest request (likely toll fraud). See + * https://cloud.google.com/recaptcha-enterprise/docs/sms-fraud-detection#create-assessment-sms. + * @param startScore startScore or {@code null} for none + */ + public GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule setStartScore(java.lang.Float startScore) { + this.startScore = startScore; + return this; + } + + @Override + public GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule set(String fieldName, Object value) { + return (GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule) super.set(fieldName, value); + } + + @Override + public GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule clone() { + return (GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule) super.clone(); + } + +} diff --git a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2Tenant.java b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2Tenant.java index 0c0f6611f40..83fb9957dab 100644 --- a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2Tenant.java +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitAdminV2Tenant.java @@ -110,6 +110,14 @@ public final class GoogleCloudIdentitytoolkitAdminV2Tenant extends com.google.ap @com.google.api.client.util.Key private GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig mfaConfig; + /** + * Optional. Deprecated. Never launched. Configuration for settings related to univeral links + * (iOS) and app links (Android). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig mobileLinksConfig; + /** * Configuration related to monitoring project activity. * The value may be {@code null}. @@ -350,6 +358,25 @@ public GoogleCloudIdentitytoolkitAdminV2Tenant setMfaConfig(GoogleCloudIdentityt return this; } + /** + * Optional. Deprecated. Never launched. Configuration for settings related to univeral links + * (iOS) and app links (Android). + * @return value or {@code null} for none + */ + public GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig getMobileLinksConfig() { + return mobileLinksConfig; + } + + /** + * Optional. Deprecated. Never launched. Configuration for settings related to univeral links + * (iOS) and app links (Android). + * @param mobileLinksConfig mobileLinksConfig or {@code null} for none + */ + public GoogleCloudIdentitytoolkitAdminV2Tenant setMobileLinksConfig(GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig mobileLinksConfig) { + this.mobileLinksConfig = mobileLinksConfig; + return this; + } + /** * Configuration related to monitoring project activity. * @return value or {@code null} for none diff --git a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitV2RecaptchaConfig.java b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitV2RecaptchaConfig.java index 93ffb86f8ad..5c450a1c503 100644 --- a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitV2RecaptchaConfig.java +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitV2RecaptchaConfig.java @@ -45,6 +45,20 @@ public final class GoogleCloudIdentitytoolkitV2RecaptchaConfig extends com.googl @com.google.api.client.util.Key private java.lang.String recaptchaKey; + /** + * Whether to use the rCE bot score for reCAPTCHA phone provider. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useSmsBotScore; + + /** + * Whether to use the rCE sms toll fraud protection risk score for reCAPTCHA phone provider. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useSmsTollFraudProtection; + /** * The reCAPTCHA enforcement state for the providers that GCIP supports reCAPTCHA protection. * @return value or {@code null} for none @@ -83,6 +97,40 @@ public GoogleCloudIdentitytoolkitV2RecaptchaConfig setRecaptchaKey(java.lang.Str return this; } + /** + * Whether to use the rCE bot score for reCAPTCHA phone provider. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseSmsBotScore() { + return useSmsBotScore; + } + + /** + * Whether to use the rCE bot score for reCAPTCHA phone provider. + * @param useSmsBotScore useSmsBotScore or {@code null} for none + */ + public GoogleCloudIdentitytoolkitV2RecaptchaConfig setUseSmsBotScore(java.lang.Boolean useSmsBotScore) { + this.useSmsBotScore = useSmsBotScore; + return this; + } + + /** + * Whether to use the rCE sms toll fraud protection risk score for reCAPTCHA phone provider. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseSmsTollFraudProtection() { + return useSmsTollFraudProtection; + } + + /** + * Whether to use the rCE sms toll fraud protection risk score for reCAPTCHA phone provider. + * @param useSmsTollFraudProtection useSmsTollFraudProtection or {@code null} for none + */ + public GoogleCloudIdentitytoolkitV2RecaptchaConfig setUseSmsTollFraudProtection(java.lang.Boolean useSmsTollFraudProtection) { + this.useSmsTollFraudProtection = useSmsTollFraudProtection; + return this; + } + @Override public GoogleCloudIdentitytoolkitV2RecaptchaConfig set(String fieldName, Object value) { return (GoogleCloudIdentitytoolkitV2RecaptchaConfig) super.set(fieldName, value); diff --git a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo.java b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo.java index ca7ce94df64..c640d689417 100644 --- a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo.java +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo.java @@ -36,6 +36,21 @@ public final class GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo extends @com.google.api.client.util.Key private GoogleCloudIdentitytoolkitV2AutoRetrievalInfo autoRetrievalInfo; + /** + * The reCAPTCHA Enterprise token provided by the reCAPTCHA client-side integration. Required when + * reCAPTCHA enterprise is enabled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String captchaResponse; + + /** + * The client type, web, android or ios. Required when reCAPTCHA Enterprise is enabled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String clientType; + /** * iOS only. Receipt of successful app token validation with APNS. * The value may be {@code null}. @@ -74,6 +89,14 @@ public final class GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo extends @com.google.api.client.util.Key private java.lang.String recaptchaToken; + /** + * The reCAPTCHA version of the reCAPTCHA token in the captcha_response. Required when reCAPTCHA + * Enterprise is enabled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String recaptchaVersion; + /** * Android only. Used to assert application identity in place of a recaptcha token. A SafetyNet * Token can be generated via the [SafetyNet Android Attestation @@ -101,6 +124,42 @@ public GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo setAutoRetrievalInfo return this; } + /** + * The reCAPTCHA Enterprise token provided by the reCAPTCHA client-side integration. Required when + * reCAPTCHA enterprise is enabled. + * @return value or {@code null} for none + */ + public java.lang.String getCaptchaResponse() { + return captchaResponse; + } + + /** + * The reCAPTCHA Enterprise token provided by the reCAPTCHA client-side integration. Required when + * reCAPTCHA enterprise is enabled. + * @param captchaResponse captchaResponse or {@code null} for none + */ + public GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo setCaptchaResponse(java.lang.String captchaResponse) { + this.captchaResponse = captchaResponse; + return this; + } + + /** + * The client type, web, android or ios. Required when reCAPTCHA Enterprise is enabled. + * @return value or {@code null} for none + */ + public java.lang.String getClientType() { + return clientType; + } + + /** + * The client type, web, android or ios. Required when reCAPTCHA Enterprise is enabled. + * @param clientType clientType or {@code null} for none + */ + public GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo setClientType(java.lang.String clientType) { + this.clientType = clientType; + return this; + } + /** * iOS only. Receipt of successful app token validation with APNS. * @return value or {@code null} for none @@ -192,6 +251,25 @@ public GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo setRecaptchaToken(ja return this; } + /** + * The reCAPTCHA version of the reCAPTCHA token in the captcha_response. Required when reCAPTCHA + * Enterprise is enabled. + * @return value or {@code null} for none + */ + public java.lang.String getRecaptchaVersion() { + return recaptchaVersion; + } + + /** + * The reCAPTCHA version of the reCAPTCHA token in the captcha_response. Required when reCAPTCHA + * Enterprise is enabled. + * @param recaptchaVersion recaptchaVersion or {@code null} for none + */ + public GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo setRecaptchaVersion(java.lang.String recaptchaVersion) { + this.recaptchaVersion = recaptchaVersion; + return this; + } + /** * Android only. Used to assert application identity in place of a recaptcha token. A SafetyNet * Token can be generated via the [SafetyNet Android Attestation diff --git a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleIamV1Policy.java b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleIamV1Policy.java index a492bc2dc63..5a68a8214d0 100644 --- a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleIamV1Policy.java +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleIamV1Policy.java @@ -25,21 +25,21 @@ * `binding` can also specify a `condition`, which is a logical expression that allows access to a * resource only if the expression evaluates to `true`. A condition can add constraints based on * attributes of the request, the resource, or both. To learn which resources support conditions in - * their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions - * /resource-policies). **JSON example:** ``` { "bindings": [ { "role": - * "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", - * "group:admins@example.com", "domain:google.com", "serviceAccount:my-project- - * id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", - * "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": - * "Does not grant access after Sep 2020", "expression": "request.time < - * timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML - * example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - - * domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: - * roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: - * roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not - * grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - * etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM - * documentation](https://cloud.google.com/iam/docs/). + * their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** + * ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ + * "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my- + * project-id@appspot.gserviceaccount.com" ] }, { "role": + * "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { + * "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": + * "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": + * 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - + * group:admins@example.com - domain:google.com - serviceAccount:my-project- + * id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - + * user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable + * access description: Does not grant access after Sep 2020 expression: request.time < + * timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM + * and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). * *

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 Identity Toolkit API. For a detailed explanation see: diff --git a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleTypeExpr.java b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleTypeExpr.java index 2580fd60fa8..3304a5de2d2 100644 --- a/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleTypeExpr.java +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/com/google/api/services/identitytoolkit/v2/model/GoogleTypeExpr.java @@ -18,17 +18,18 @@ /** * Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like - * expression language. The syntax and semantics of CEL are documented at https://github.com/google - * /cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a - * summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): - * title: "Requestor is owner" description: "Determines if requestor is the document owner" - * expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public - * documents" description: "Determine whether the document should be publicly visible" expression: - * "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: - * "Notification string" description: "Create a notification string with a timestamp." expression: - * "'New message received at ' + string(document.create_time)" The exact variables and functions - * that may be referenced within an expression are determined by the service that evaluates it. See - * the service documentation for additional information. + * expression language. The syntax and semantics of CEL are documented at + * https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" + * description: "Determines if a summary is less than 100 chars" expression: + * "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: + * "Determines if requestor is the document owner" expression: "document.owner == + * request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine + * whether the document should be publicly visible" expression: "document.type != 'private' && + * document.type != 'internal'" Example (Data Manipulation): title: "Notification string" + * description: "Create a notification string with a timestamp." expression: "'New message received + * at ' + string(document.create_time)" The exact variables and functions that may be referenced + * within an expression are determined by the service that evaluates it. See the service + * documentation for additional information. * *

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 Identity Toolkit API. For a detailed explanation see: diff --git a/clients/google-api-services-identitytoolkit/v2/2.0.0/pom.xml b/clients/google-api-services-identitytoolkit/v2/2.0.0/pom.xml index 51829ad9fca..ec2c1c2fb20 100644 --- a/clients/google-api-services-identitytoolkit/v2/2.0.0/pom.xml +++ b/clients/google-api-services-identitytoolkit/v2/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-identitytoolkit - v2-rev20240118-2.0.0 - Identity Toolkit API v2-rev20240118-2.0.0 + v2-rev20250130-2.0.0 + Identity Toolkit API v2-rev20250130-2.0.0 jar 2011 @@ -90,9 +90,9 @@ Identity Toolkit API ${project.version} http://docs.oracle.com/javase/7/docs/api - https://googleapis.dev/java/google-http-client/1.43.3/ - https://googleapis.dev/java/google-oauth-client/1.34.1/ - https://googleapis.dev/java/google-api-client/2.2.0/ + https://googleapis.dev/java/google-http-client/1.47.0/ + https://googleapis.dev/java/google-oauth-client/1.39.0/ + https://googleapis.dev/java/google-api-client/2.7.2/ @@ -125,7 +125,7 @@ com.google.api-client google-api-client - 2.2.0 + 2.7.2 diff --git a/clients/google-api-services-identitytoolkit/v2/README.md b/clients/google-api-services-identitytoolkit/v2/README.md index ef7d7b112c0..c497b7f482b 100644 --- a/clients/google-api-services-identitytoolkit/v2/README.md +++ b/clients/google-api-services-identitytoolkit/v2/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-identitytoolkit - v2-rev20240118-2.0.0 + v2-rev20250130-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-identitytoolkit:v2-rev20240118-2.0.0' + implementation 'com.google.apis:google-api-services-identitytoolkit:v2-rev20250130-2.0.0' } ``` diff --git a/clients/google-api-services-identitytoolkit/v3/2.0.0/com/google/api/services/identitytoolkit/IdentityToolkit.java b/clients/google-api-services-identitytoolkit/v3/2.0.0/com/google/api/services/identitytoolkit/IdentityToolkit.java index e55583c93dc..f7ebfdaaf9b 100644 --- a/clients/google-api-services-identitytoolkit/v3/2.0.0/com/google/api/services/identitytoolkit/IdentityToolkit.java +++ b/clients/google-api-services-identitytoolkit/v3/2.0.0/com/google/api/services/identitytoolkit/IdentityToolkit.java @@ -1930,5 +1930,10 @@ 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-identitytoolkit/v3/2.0.0/pom.xml b/clients/google-api-services-identitytoolkit/v3/2.0.0/pom.xml index 48a4e2a6d4b..9fcf01c7f03 100644 --- a/clients/google-api-services-identitytoolkit/v3/2.0.0/pom.xml +++ b/clients/google-api-services-identitytoolkit/v3/2.0.0/pom.xml @@ -90,9 +90,9 @@ Google Identity Toolkit API ${project.version} http://docs.oracle.com/javase/7/docs/api - https://googleapis.dev/java/google-http-client/1.43.3/ - https://googleapis.dev/java/google-oauth-client/1.34.1/ - https://googleapis.dev/java/google-api-client/2.2.0/ + https://googleapis.dev/java/google-http-client/1.47.0/ + https://googleapis.dev/java/google-oauth-client/1.39.0/ + https://googleapis.dev/java/google-api-client/2.7.2/ @@ -125,7 +125,7 @@ com.google.api-client google-api-client - 2.2.0 + 2.7.2