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

Filter by extension

Filter by extension


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

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*
* 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.directory.model;

/**
* External identifier used to link and identify this group across external directory systems.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Admin SDK API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class ExternalId extends com.google.api.client.json.GenericJson {

/**
* The unique identifier string assigned by the external provider.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String id;

/**
* The system or identity provider managing this ID.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String namespace;

/**
* The unique identifier string assigned by the external provider.
* @return value or {@code null} for none
*/
public java.lang.String getId() {
return id;
}

/**
* The unique identifier string assigned by the external provider.
* @param id id or {@code null} for none
*/
public ExternalId setId(java.lang.String id) {
this.id = id;
return this;
}

/**
* The system or identity provider managing this ID.
* @return value or {@code null} for none
*/
public java.lang.String getNamespace() {
return namespace;
}

/**
* The system or identity provider managing this ID.
* @param namespace namespace or {@code null} for none
*/
public ExternalId setNamespace(java.lang.String namespace) {
this.namespace = namespace;
return this;
}

@Override
public ExternalId set(String fieldName, Object value) {
return (ExternalId) super.set(fieldName, value);
}

@Override
public ExternalId clone() {
return (ExternalId) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,21 @@ public final class Group extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String etag;

/**
* Optional. The list of external IDs for the group, such as an immutable identifier from an
* external identity provider or directory sync client. Each entry contains a namespace and an ID
* value.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<ExternalId> externalIds;

static {
// hack to force ProGuard to consider ExternalId used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(ExternalId.class);
}

/**
* Read-only. The unique ID of a group. A group `id` can be used as a group request URI's
* `groupKey`.
Expand Down Expand Up @@ -239,6 +254,27 @@ public Group setEtag(java.lang.String etag) {
return this;
}

/**
* Optional. The list of external IDs for the group, such as an immutable identifier from an
* external identity provider or directory sync client. Each entry contains a namespace and an ID
* value.
* @return value or {@code null} for none
*/
public java.util.List<ExternalId> getExternalIds() {
return externalIds;
}

/**
* Optional. The list of external IDs for the group, such as an immutable identifier from an
* external identity provider or directory sync client. Each entry contains a namespace and an ID
* value.
* @param externalIds externalIds or {@code null} for none
*/
public Group setExternalIds(java.util.List<ExternalId> externalIds) {
this.externalIds = externalIds;
return this;
}

/**
* Read-only. The unique ID of a group. A group `id` can be used as a group request URI's
* `groupKey`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-admin-directory</artifactId>
<version>directory_v1-rev20260531-2.0.0</version>
<name>Admin SDK API directory_v1-rev20260531-2.0.0</name>
<version>directory_v1-rev20260729-2.0.0</version>
<name>Admin SDK API directory_v1-rev20260729-2.0.0</name>
<packaging>jar</packaging>

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-admin-reports</artifactId>
<version>reports_v1-rev20260724-2.0.0</version>
<version>reports_v1-rev20260729-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-admin-reports:reports_v1-rev20260724-2.0.0'
implementation 'com.google.apis:google-api-services-admin-reports:reports_v1-rev20260729-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public class List extends ReportsRequest<com.google.api.services.reports.model.A
private static final String REST_PATH = "admin/reports/v1/activity/users/{userKey}/applications/{applicationName}";

private final java.util.regex.Pattern APPLICATION_NAME_PATTERN =
java.util.regex.Pattern.compile("(access_evaluation)|(access_transparency)|(admin)|(admin_data_action)|(assignments)|(calendar)|(chat)|(chrome)|(classroom)|(cloud_search)|(contacts)|(context_aware_access)|(data_studio)|(data_migration)|(directory_sync)|(drive)|(gcp)|(gmail)|(gplus)|(graduation)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(ldap)|(login)|(meet)|(meet_hardware)|(mobile)|(profile)|(rules)|(saml)|(token)|(user_accounts)|(vault)|(gemini_in_workspace_apps)|(tasks)|(takeout)|(voice)|(chrome_sync)");
java.util.regex.Pattern.compile("(access_evaluation)|(access_transparency)|(admin)|(admin_data_action)|(assignments)|(calendar)|(chat)|(chrome)|(classroom)|(cloud_search)|(contacts)|(context_aware_access)|(data_studio)|(data_migration)|(directory_sync)|(drive)|(gcp)|(gmail)|(gplus)|(graduation)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(ldap)|(login)|(meet)|(meet_hardware)|(mobile)|(profile)|(rules)|(saml)|(token)|(user_accounts)|(vault)|(gemini_in_workspace_apps)|(tasks)|(takeout)|(voice)|(chrome_sync)|(workspace_studio)");

private final java.util.regex.Pattern CUSTOMER_ID_PATTERN =
java.util.regex.Pattern.compile("C.+|my_customer");
Expand Down Expand Up @@ -229,7 +229,7 @@ protected List(java.lang.String userKey, java.lang.String applicationName) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(APPLICATION_NAME_PATTERN.matcher(applicationName).matches(),
"Parameter applicationName must conform to the pattern " +
"(access_evaluation)|(access_transparency)|(admin)|(admin_data_action)|(assignments)|(calendar)|(chat)|(chrome)|(classroom)|(cloud_search)|(contacts)|(context_aware_access)|(data_studio)|(data_migration)|(directory_sync)|(drive)|(gcp)|(gmail)|(gplus)|(graduation)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(ldap)|(login)|(meet)|(meet_hardware)|(mobile)|(profile)|(rules)|(saml)|(token)|(user_accounts)|(vault)|(gemini_in_workspace_apps)|(tasks)|(takeout)|(voice)|(chrome_sync)");
"(access_evaluation)|(access_transparency)|(admin)|(admin_data_action)|(assignments)|(calendar)|(chat)|(chrome)|(classroom)|(cloud_search)|(contacts)|(context_aware_access)|(data_studio)|(data_migration)|(directory_sync)|(drive)|(gcp)|(gmail)|(gplus)|(graduation)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(ldap)|(login)|(meet)|(meet_hardware)|(mobile)|(profile)|(rules)|(saml)|(token)|(user_accounts)|(vault)|(gemini_in_workspace_apps)|(tasks)|(takeout)|(voice)|(chrome_sync)|(workspace_studio)");
}
}

Expand Down Expand Up @@ -344,7 +344,7 @@ public List setApplicationName(java.lang.String applicationName) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(APPLICATION_NAME_PATTERN.matcher(applicationName).matches(),
"Parameter applicationName must conform to the pattern " +
"(access_evaluation)|(access_transparency)|(admin)|(admin_data_action)|(assignments)|(calendar)|(chat)|(chrome)|(classroom)|(cloud_search)|(contacts)|(context_aware_access)|(data_studio)|(data_migration)|(directory_sync)|(drive)|(gcp)|(gmail)|(gplus)|(graduation)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(ldap)|(login)|(meet)|(meet_hardware)|(mobile)|(profile)|(rules)|(saml)|(token)|(user_accounts)|(vault)|(gemini_in_workspace_apps)|(tasks)|(takeout)|(voice)|(chrome_sync)");
"(access_evaluation)|(access_transparency)|(admin)|(admin_data_action)|(assignments)|(calendar)|(chat)|(chrome)|(classroom)|(cloud_search)|(contacts)|(context_aware_access)|(data_studio)|(data_migration)|(directory_sync)|(drive)|(gcp)|(gmail)|(gplus)|(graduation)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(ldap)|(login)|(meet)|(meet_hardware)|(mobile)|(profile)|(rules)|(saml)|(token)|(user_accounts)|(vault)|(gemini_in_workspace_apps)|(tasks)|(takeout)|(voice)|(chrome_sync)|(workspace_studio)");
}
this.applicationName = applicationName;
return this;
Expand Down Expand Up @@ -458,6 +458,34 @@ public List setCustomerId(java.lang.String customerId) {
return this;
}

/**
* Optional. Used to filter on the fields present in [`UserDeviceInfo`](#userdeviceinfo)
* message like `deviceId`, `deviceType`, and `deviceOsVersion`. **Usage** ```
* GET...&deviceFilter=deviceId="123" GET...&deviceFilter=deviceType="ANDROID"
* GET...&deviceFilter=deviceOsVersion="14.0" ```
*/
@com.google.api.client.util.Key
private java.lang.String deviceFilter;

/** Optional. Used to filter on the fields present in [`UserDeviceInfo`](#userdeviceinfo) message like
`deviceId`, `deviceType`, and `deviceOsVersion`. **Usage** ``` GET...&deviceFilter=deviceId="123"
GET...&deviceFilter=deviceType="ANDROID" GET...&deviceFilter=deviceOsVersion="14.0" ```
*/
public java.lang.String getDeviceFilter() {
return deviceFilter;
}

/**
* Optional. Used to filter on the fields present in [`UserDeviceInfo`](#userdeviceinfo)
* message like `deviceId`, `deviceType`, and `deviceOsVersion`. **Usage** ```
* GET...&deviceFilter=deviceId="123" GET...&deviceFilter=deviceType="ANDROID"
* GET...&deviceFilter=deviceOsVersion="14.0" ```
*/
public List setDeviceFilter(java.lang.String deviceFilter) {
this.deviceFilter = deviceFilter;
return this;
}

/**
* Sets the end of the range of time shown in the report. The date is in the RFC 3339 format,
* for example 2010-10-28T10:26:35.000Z. The default value is the approximate time of the API
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-admin/reports_v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-admin-reports</artifactId>
<version>reports_v1-rev20260724-2.0.0</version>
<name>Admin SDK API reports_v1-rev20260724-2.0.0</name>
<version>reports_v1-rev20260729-2.0.0</version>
<name>Admin SDK API reports_v1-rev20260729-2.0.0</name>
<packaging>jar</packaging>

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

Expand Down
Loading