Skip to content

Commit 6bb35ff

Browse files
1 parent ce0fa04 commit 6bb35ff

File tree

4 files changed

+123
-9
lines changed

4 files changed

+123
-9
lines changed

clients/google-api-services-admin/reports_v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-admin-reports</artifactId>
25-
<version>reports_v1-rev20251107-2.0.0</version>
25+
<version>reports_v1-rev20251120-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-admin-reports:reports_v1-rev20251107-2.0.0'
38+
implementation 'com.google.apis:google-api-services-admin-reports:reports_v1-rev20251120-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-admin/reports_v1/2.0.0/com/google/api/services/reports/Reports.java

Lines changed: 117 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public class List extends ReportsRequest<com.google.api.services.reports.model.A
182182
private static final String REST_PATH = "admin/reports/v1/activity/users/{userKey}/applications/{applicationName}";
183183

184184
private final java.util.regex.Pattern APPLICATION_NAME_PATTERN =
185-
java.util.regex.Pattern.compile("(access_transparency)|(admin)|(calendar)|(chat)|(chrome)|(classroom)|(context_aware_access)|(data_studio)|(drive)|(gcp)|(gmail)|(gplus)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(login)|(meet)|(mobile)|(rules)|(saml)|(token)|(user_accounts)|(vault)|(gemini_in_workspace_apps)");
185+
java.util.regex.Pattern.compile("(access_transparency)|(admin)|(assignments)|(calendar)|(chat)|(chrome)|(classroom)|(cloud_search)|(context_aware_access)|(data_studio)|(data_migration)|(drive)|(gcp)|(gmail)|(gplus)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(login)|(meet)|(meet_hardware)|(mobile)|(rules)|(saml)|(token)|(user_accounts)|(vault)|(gemini_in_workspace_apps)|(tasks)");
186186

187187
private final java.util.regex.Pattern CUSTOMER_ID_PATTERN =
188188
java.util.regex.Pattern.compile("C.+|my_customer");
@@ -229,7 +229,7 @@ protected List(java.lang.String userKey, java.lang.String applicationName) {
229229
if (!getSuppressPatternChecks()) {
230230
com.google.api.client.util.Preconditions.checkArgument(APPLICATION_NAME_PATTERN.matcher(applicationName).matches(),
231231
"Parameter applicationName must conform to the pattern " +
232-
"(access_transparency)|(admin)|(calendar)|(chat)|(chrome)|(classroom)|(context_aware_access)|(data_studio)|(drive)|(gcp)|(gmail)|(gplus)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(login)|(meet)|(mobile)|(rules)|(saml)|(token)|(user_accounts)|(vault)|(gemini_in_workspace_apps)");
232+
"(access_transparency)|(admin)|(assignments)|(calendar)|(chat)|(chrome)|(classroom)|(cloud_search)|(context_aware_access)|(data_studio)|(data_migration)|(drive)|(gcp)|(gmail)|(gplus)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(login)|(meet)|(meet_hardware)|(mobile)|(rules)|(saml)|(token)|(user_accounts)|(vault)|(gemini_in_workspace_apps)|(tasks)");
233233
}
234234
}
235235

@@ -344,7 +344,7 @@ public List setApplicationName(java.lang.String applicationName) {
344344
if (!getSuppressPatternChecks()) {
345345
com.google.api.client.util.Preconditions.checkArgument(APPLICATION_NAME_PATTERN.matcher(applicationName).matches(),
346346
"Parameter applicationName must conform to the pattern " +
347-
"(access_transparency)|(admin)|(calendar)|(chat)|(chrome)|(classroom)|(context_aware_access)|(data_studio)|(drive)|(gcp)|(gmail)|(gplus)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(login)|(meet)|(mobile)|(rules)|(saml)|(token)|(user_accounts)|(vault)|(gemini_in_workspace_apps)");
347+
"(access_transparency)|(admin)|(assignments)|(calendar)|(chat)|(chrome)|(classroom)|(cloud_search)|(context_aware_access)|(data_studio)|(data_migration)|(drive)|(gcp)|(gmail)|(gplus)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(login)|(meet)|(meet_hardware)|(mobile)|(rules)|(saml)|(token)|(user_accounts)|(vault)|(gemini_in_workspace_apps)|(tasks)");
348348
}
349349
this.applicationName = applicationName;
350350
return this;
@@ -718,6 +718,120 @@ public List setPageToken(java.lang.String pageToken) {
718718
return this;
719719
}
720720

721+
/**
722+
* Optional. The `resourceDetailsFilter` query string is an AND separated list composed of
723+
* [Resource Details](#resourcedetails) fields manipulated by relational operators. Resource
724+
* Details Filters are in the form `{resourceDetails.field1}{relational operator}{field1
725+
* value} AND {resourceDetails.field2}{relational operator}{field2 value}...` All the inner
726+
* fields are traversed using the `.` operator, as shown in the following example: ```
727+
* resourceDetails.id = "resourceId" AND resourceDetails.appliedLabels.id = "appliedLabelId"
728+
* AND resourceDetails.appliedLabels.fieldValue.id = "fieldValueId" ```
729+
* `resourceDetailsFilter` query supports these relational operators: * `=`—'equal to'. *
730+
* `!=`—'not equal to'. * `:`—'exists'. This is used for filtering on repeated fields.
731+
* [`FieldValue`](#fieldvalue) types that are repeated in nature uses `exists` operator for
732+
* filtering. The following [`FieldValue`](#fieldvalue) types are repeated: *
733+
* [`TextListValue`](#textlistvalue) * [`SelectionListValue`](#selectionlistvalue) *
734+
* [`UserListValue`](#userlistvalue) For example, in the following filter,
735+
* [`SelectionListValue`](#selectionlistvalue), is a repeated field. The filter checks whether
736+
* [`SelectionListValue`](#selectionlistvalue) contains `selection_id`: ``` resourceDetails.id
737+
* = "resourceId" AND resourceDetails.appliedLabels.id = "appliedLabelId" AND
738+
* resourceDetails.appliedLabels.fieldValue.id = "fieldValueId" AND
739+
* resourceDetails.appliedLabels.fieldValue.type = "SELECTION_LIST_VALUE" AND
740+
* resourceDetails.appliedLabels.fieldValue.selectionListValue.id: "id" ``` **Usage** ```
741+
* GET...&resourceDetailsFilter=resourceDetails.id = "resourceId" AND
742+
* resourceDetails.appliedLabels.id = "appliedLabelId" GET...&resourceDetailsFilter=resourceDe
743+
* tails.id=%22resourceId%22%20AND%20resourceDetails.appliedLabels.id=%22appliedLabelId%22 ```
744+
* **Note the following**: * You must URL encode the query string before sending the request.
745+
* * The API supports a maximum of 5 fields separated by the AND operator. - When filtering on
746+
* deeper levels (e.g., [`AppliedLabel`](#appliedlabel), [`FieldValue`](#fieldvalue)), the IDs
747+
* of all preceding levels in the hierarchy must be included in the filter. For example:
748+
* Filtering on [`FieldValue`](#fieldvalue) requires [`AppliedLabel`](#appliedlabel) ID and
749+
* resourceDetails ID to be present. *Sample Query*: ``` resourceDetails.id = "resourceId" AND
750+
* resourceDetails.appliedLabels.id = "appliedLabelId" AND
751+
* resourceDetails.appliedLabels.fieldValue.id = "fieldValueId" ``` * Filtering on inner
752+
* [`FieldValue`](#fieldvalue) types like `longTextValue` and `textValue` requires
753+
* `resourceDetails.appliedLabels.fieldValue.type` to be present. * Only Filtering on a single
754+
* [`AppliedLabel`](#appliedlabel) id and [`FieldValue`](#fieldvalue) id is supported.
755+
*/
756+
@com.google.api.client.util.Key
757+
private java.lang.String resourceDetailsFilter;
758+
759+
/** Optional. The `resourceDetailsFilter` query string is an AND separated list composed of [Resource
760+
Details](#resourcedetails) fields manipulated by relational operators. Resource Details Filters are
761+
in the form `{resourceDetails.field1}{relational operator}{field1 value} AND
762+
{resourceDetails.field2}{relational operator}{field2 value}...` All the inner fields are traversed
763+
using the `.` operator, as shown in the following example: ``` resourceDetails.id = "resourceId"
764+
AND resourceDetails.appliedLabels.id = "appliedLabelId" AND
765+
resourceDetails.appliedLabels.fieldValue.id = "fieldValueId" ``` `resourceDetailsFilter` query
766+
supports these relational operators: * `=`—'equal to'. * `!=`—'not equal to'. * `:`—'exists'. This
767+
is used for filtering on repeated fields. [`FieldValue`](#fieldvalue) types that are repeated in
768+
nature uses `exists` operator for filtering. The following [`FieldValue`](#fieldvalue) types are
769+
repeated: * [`TextListValue`](#textlistvalue) * [`SelectionListValue`](#selectionlistvalue) *
770+
[`UserListValue`](#userlistvalue) For example, in the following filter,
771+
[`SelectionListValue`](#selectionlistvalue), is a repeated field. The filter checks whether
772+
[`SelectionListValue`](#selectionlistvalue) contains `selection_id`: ``` resourceDetails.id =
773+
"resourceId" AND resourceDetails.appliedLabels.id = "appliedLabelId" AND
774+
resourceDetails.appliedLabels.fieldValue.id = "fieldValueId" AND
775+
resourceDetails.appliedLabels.fieldValue.type = "SELECTION_LIST_VALUE" AND
776+
resourceDetails.appliedLabels.fieldValue.selectionListValue.id: "id" ``` **Usage** ```
777+
GET...&resourceDetailsFilter=resourceDetails.id = "resourceId" AND resourceDetails.appliedLabels.id
778+
= "appliedLabelId" GET...&resourceDetailsFilter=resourceDetails.id=%22resourceId%22%20AND%20resourc
779+
eDetails.appliedLabels.id=%22appliedLabelId%22 ``` **Note the following**: * You must URL encode
780+
the query string before sending the request. * The API supports a maximum of 5 fields separated by
781+
the AND operator. - When filtering on deeper levels (e.g., [`AppliedLabel`](#appliedlabel),
782+
[`FieldValue`](#fieldvalue)), the IDs of all preceding levels in the hierarchy must be included in
783+
the filter. For example: Filtering on [`FieldValue`](#fieldvalue) requires
784+
[`AppliedLabel`](#appliedlabel) ID and resourceDetails ID to be present. *Sample Query*: ```
785+
resourceDetails.id = "resourceId" AND resourceDetails.appliedLabels.id = "appliedLabelId" AND
786+
resourceDetails.appliedLabels.fieldValue.id = "fieldValueId" ``` * Filtering on inner
787+
[`FieldValue`](#fieldvalue) types like `longTextValue` and `textValue` requires
788+
`resourceDetails.appliedLabels.fieldValue.type` to be present. * Only Filtering on a single
789+
[`AppliedLabel`](#appliedlabel) id and [`FieldValue`](#fieldvalue) id is supported.
790+
*/
791+
public java.lang.String getResourceDetailsFilter() {
792+
return resourceDetailsFilter;
793+
}
794+
795+
/**
796+
* Optional. The `resourceDetailsFilter` query string is an AND separated list composed of
797+
* [Resource Details](#resourcedetails) fields manipulated by relational operators. Resource
798+
* Details Filters are in the form `{resourceDetails.field1}{relational operator}{field1
799+
* value} AND {resourceDetails.field2}{relational operator}{field2 value}...` All the inner
800+
* fields are traversed using the `.` operator, as shown in the following example: ```
801+
* resourceDetails.id = "resourceId" AND resourceDetails.appliedLabels.id = "appliedLabelId"
802+
* AND resourceDetails.appliedLabels.fieldValue.id = "fieldValueId" ```
803+
* `resourceDetailsFilter` query supports these relational operators: * `=`—'equal to'. *
804+
* `!=`—'not equal to'. * `:`—'exists'. This is used for filtering on repeated fields.
805+
* [`FieldValue`](#fieldvalue) types that are repeated in nature uses `exists` operator for
806+
* filtering. The following [`FieldValue`](#fieldvalue) types are repeated: *
807+
* [`TextListValue`](#textlistvalue) * [`SelectionListValue`](#selectionlistvalue) *
808+
* [`UserListValue`](#userlistvalue) For example, in the following filter,
809+
* [`SelectionListValue`](#selectionlistvalue), is a repeated field. The filter checks whether
810+
* [`SelectionListValue`](#selectionlistvalue) contains `selection_id`: ``` resourceDetails.id
811+
* = "resourceId" AND resourceDetails.appliedLabels.id = "appliedLabelId" AND
812+
* resourceDetails.appliedLabels.fieldValue.id = "fieldValueId" AND
813+
* resourceDetails.appliedLabels.fieldValue.type = "SELECTION_LIST_VALUE" AND
814+
* resourceDetails.appliedLabels.fieldValue.selectionListValue.id: "id" ``` **Usage** ```
815+
* GET...&resourceDetailsFilter=resourceDetails.id = "resourceId" AND
816+
* resourceDetails.appliedLabels.id = "appliedLabelId" GET...&resourceDetailsFilter=resourceDe
817+
* tails.id=%22resourceId%22%20AND%20resourceDetails.appliedLabels.id=%22appliedLabelId%22 ```
818+
* **Note the following**: * You must URL encode the query string before sending the request.
819+
* * The API supports a maximum of 5 fields separated by the AND operator. - When filtering on
820+
* deeper levels (e.g., [`AppliedLabel`](#appliedlabel), [`FieldValue`](#fieldvalue)), the IDs
821+
* of all preceding levels in the hierarchy must be included in the filter. For example:
822+
* Filtering on [`FieldValue`](#fieldvalue) requires [`AppliedLabel`](#appliedlabel) ID and
823+
* resourceDetails ID to be present. *Sample Query*: ``` resourceDetails.id = "resourceId" AND
824+
* resourceDetails.appliedLabels.id = "appliedLabelId" AND
825+
* resourceDetails.appliedLabels.fieldValue.id = "fieldValueId" ``` * Filtering on inner
826+
* [`FieldValue`](#fieldvalue) types like `longTextValue` and `textValue` requires
827+
* `resourceDetails.appliedLabels.fieldValue.type` to be present. * Only Filtering on a single
828+
* [`AppliedLabel`](#appliedlabel) id and [`FieldValue`](#fieldvalue) id is supported.
829+
*/
830+
public List setResourceDetailsFilter(java.lang.String resourceDetailsFilter) {
831+
this.resourceDetailsFilter = resourceDetailsFilter;
832+
return this;
833+
}
834+
721835
/**
722836
* Sets the beginning of the range of time shown in the report. The date is in the RFC 3339
723837
* format, for example 2010-10-28T10:26:35.000Z. The report returns all activities from

clients/google-api-services-admin/reports_v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-admin-reports</artifactId>
11-
<version>reports_v1-rev20251107-2.0.0</version>
12-
<name>Admin SDK API reports_v1-rev20251107-2.0.0</name>
11+
<version>reports_v1-rev20251120-2.0.0</version>
12+
<name>Admin SDK API reports_v1-rev20251120-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-admin/reports_v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-admin-reports</artifactId>
25-
<version>reports_v1-rev20251107-2.0.0</version>
25+
<version>reports_v1-rev20251120-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-admin-reports:reports_v1-rev20251107-2.0.0'
38+
implementation 'com.google.apis:google-api-services-admin-reports:reports_v1-rev20251120-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)