Skip to content

Commit f07d40f

Browse files
1 parent 7eeebed commit f07d40f

File tree

7 files changed

+398
-6
lines changed

7 files changed

+398
-6
lines changed

clients/google-api-services-chromemanagement/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-chromemanagement</artifactId>
25-
<version>v1-rev20250721-2.0.0</version>
25+
<version>v1-rev20250730-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-chromemanagement:v1-rev20250721-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chromemanagement:v1-rev20250730-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/ChromeManagement.java

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6622,6 +6622,166 @@ public List set(String parameterName, Object value) {
66226622

66236623
}
66246624
}
6625+
/**
6626+
* An accessor for creating requests from the ThirdPartyProfileUsers collection.
6627+
*
6628+
* <p>The typical use is:</p>
6629+
* <pre>
6630+
* {@code ChromeManagement chromemanagement = new ChromeManagement(...);}
6631+
* {@code ChromeManagement.ThirdPartyProfileUsers.List request = chromemanagement.thirdPartyProfileUsers().list(parameters ...)}
6632+
* </pre>
6633+
*
6634+
* @return the resource collection
6635+
*/
6636+
public ThirdPartyProfileUsers thirdPartyProfileUsers() {
6637+
return new ThirdPartyProfileUsers();
6638+
}
6639+
6640+
/**
6641+
* The "thirdPartyProfileUsers" collection of methods.
6642+
*/
6643+
public class ThirdPartyProfileUsers {
6644+
6645+
/**
6646+
* Moves a third party chrome profile user to a destination OU. All profiles associated to that user
6647+
* will be moved to the destination OU.
6648+
*
6649+
* Create a request for the method "thirdPartyProfileUsers.move".
6650+
*
6651+
* This request holds the parameters needed by the chromemanagement server. After setting any
6652+
* optional parameters, call the {@link Move#execute()} method to invoke the remote operation.
6653+
*
6654+
* @param name Required. Format: customers/{customer_id}/thirdPartyProfileUsers/{third_party_profile_user_id}
6655+
* @param content the {@link com.google.api.services.chromemanagement.v1.model.GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest}
6656+
* @return the request
6657+
*/
6658+
public Move move(java.lang.String name, com.google.api.services.chromemanagement.v1.model.GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest content) throws java.io.IOException {
6659+
Move result = new Move(name, content);
6660+
initialize(result);
6661+
return result;
6662+
}
6663+
6664+
public class Move extends ChromeManagementRequest<com.google.api.services.chromemanagement.v1.model.GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse> {
6665+
6666+
private static final String REST_PATH = "v1/{+name}:move";
6667+
6668+
private final java.util.regex.Pattern NAME_PATTERN =
6669+
java.util.regex.Pattern.compile("^customers/[^/]+/thirdPartyProfileUsers/[^/]+$");
6670+
6671+
/**
6672+
* Moves a third party chrome profile user to a destination OU. All profiles associated to that
6673+
* user will be moved to the destination OU.
6674+
*
6675+
* Create a request for the method "thirdPartyProfileUsers.move".
6676+
*
6677+
* This request holds the parameters needed by the the chromemanagement server. After setting any
6678+
* optional parameters, call the {@link Move#execute()} method to invoke the remote operation. <p>
6679+
* {@link Move#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
6680+
* must be called to initialize this instance immediately after invoking the constructor. </p>
6681+
*
6682+
* @param name Required. Format: customers/{customer_id}/thirdPartyProfileUsers/{third_party_profile_user_id}
6683+
* @param content the {@link com.google.api.services.chromemanagement.v1.model.GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest}
6684+
* @since 1.13
6685+
*/
6686+
protected Move(java.lang.String name, com.google.api.services.chromemanagement.v1.model.GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest content) {
6687+
super(ChromeManagement.this, "POST", REST_PATH, content, com.google.api.services.chromemanagement.v1.model.GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse.class);
6688+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
6689+
if (!getSuppressPatternChecks()) {
6690+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
6691+
"Parameter name must conform to the pattern " +
6692+
"^customers/[^/]+/thirdPartyProfileUsers/[^/]+$");
6693+
}
6694+
}
6695+
6696+
@Override
6697+
public Move set$Xgafv(java.lang.String $Xgafv) {
6698+
return (Move) super.set$Xgafv($Xgafv);
6699+
}
6700+
6701+
@Override
6702+
public Move setAccessToken(java.lang.String accessToken) {
6703+
return (Move) super.setAccessToken(accessToken);
6704+
}
6705+
6706+
@Override
6707+
public Move setAlt(java.lang.String alt) {
6708+
return (Move) super.setAlt(alt);
6709+
}
6710+
6711+
@Override
6712+
public Move setCallback(java.lang.String callback) {
6713+
return (Move) super.setCallback(callback);
6714+
}
6715+
6716+
@Override
6717+
public Move setFields(java.lang.String fields) {
6718+
return (Move) super.setFields(fields);
6719+
}
6720+
6721+
@Override
6722+
public Move setKey(java.lang.String key) {
6723+
return (Move) super.setKey(key);
6724+
}
6725+
6726+
@Override
6727+
public Move setOauthToken(java.lang.String oauthToken) {
6728+
return (Move) super.setOauthToken(oauthToken);
6729+
}
6730+
6731+
@Override
6732+
public Move setPrettyPrint(java.lang.Boolean prettyPrint) {
6733+
return (Move) super.setPrettyPrint(prettyPrint);
6734+
}
6735+
6736+
@Override
6737+
public Move setQuotaUser(java.lang.String quotaUser) {
6738+
return (Move) super.setQuotaUser(quotaUser);
6739+
}
6740+
6741+
@Override
6742+
public Move setUploadType(java.lang.String uploadType) {
6743+
return (Move) super.setUploadType(uploadType);
6744+
}
6745+
6746+
@Override
6747+
public Move setUploadProtocol(java.lang.String uploadProtocol) {
6748+
return (Move) super.setUploadProtocol(uploadProtocol);
6749+
}
6750+
6751+
/**
6752+
* Required. Format:
6753+
* customers/{customer_id}/thirdPartyProfileUsers/{third_party_profile_user_id}
6754+
*/
6755+
@com.google.api.client.util.Key
6756+
private java.lang.String name;
6757+
6758+
/** Required. Format: customers/{customer_id}/thirdPartyProfileUsers/{third_party_profile_user_id}
6759+
*/
6760+
public java.lang.String getName() {
6761+
return name;
6762+
}
6763+
6764+
/**
6765+
* Required. Format:
6766+
* customers/{customer_id}/thirdPartyProfileUsers/{third_party_profile_user_id}
6767+
*/
6768+
public Move setName(java.lang.String name) {
6769+
if (!getSuppressPatternChecks()) {
6770+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
6771+
"Parameter name must conform to the pattern " +
6772+
"^customers/[^/]+/thirdPartyProfileUsers/[^/]+$");
6773+
}
6774+
this.name = name;
6775+
return this;
6776+
}
6777+
6778+
@Override
6779+
public Move set(String parameterName, Object value) {
6780+
return (Move) super.set(parameterName, value);
6781+
}
6782+
}
6783+
6784+
}
66256785
}
66266786

66276787
/**
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.chromemanagement.v1.model;
18+
19+
/**
20+
* Request to MoveThirdPartyProfileUser method.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Chrome Management API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. Destination organizational unit where the third party chrome profile user will be
35+
* moved to.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String destinationOrgUnit;
40+
41+
/**
42+
* Required. Destination organizational unit where the third party chrome profile user will be
43+
* moved to.
44+
* @return value or {@code null} for none
45+
*/
46+
public java.lang.String getDestinationOrgUnit() {
47+
return destinationOrgUnit;
48+
}
49+
50+
/**
51+
* Required. Destination organizational unit where the third party chrome profile user will be
52+
* moved to.
53+
* @param destinationOrgUnit destinationOrgUnit or {@code null} for none
54+
*/
55+
public GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest setDestinationOrgUnit(java.lang.String destinationOrgUnit) {
56+
this.destinationOrgUnit = destinationOrgUnit;
57+
return this;
58+
}
59+
60+
@Override
61+
public GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest set(String fieldName, Object value) {
62+
return (GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest) super.set(fieldName, value);
63+
}
64+
65+
@Override
66+
public GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest clone() {
67+
return (GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest) super.clone();
68+
}
69+
70+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.chromemanagement.v1.model;
18+
19+
/**
20+
* Response for MoveThirdPartyProfileUser method.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Chrome Management API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. The moved third party profile user.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GoogleChromeManagementVersionsV1ThirdPartyProfileUser thirdPartyProfileUser;
39+
40+
/**
41+
* Output only. The moved third party profile user.
42+
* @return value or {@code null} for none
43+
*/
44+
public GoogleChromeManagementVersionsV1ThirdPartyProfileUser getThirdPartyProfileUser() {
45+
return thirdPartyProfileUser;
46+
}
47+
48+
/**
49+
* Output only. The moved third party profile user.
50+
* @param thirdPartyProfileUser thirdPartyProfileUser or {@code null} for none
51+
*/
52+
public GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse setThirdPartyProfileUser(GoogleChromeManagementVersionsV1ThirdPartyProfileUser thirdPartyProfileUser) {
53+
this.thirdPartyProfileUser = thirdPartyProfileUser;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse set(String fieldName, Object value) {
59+
return (GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse clone() {
64+
return (GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse) super.clone();
65+
}
66+
67+
}

0 commit comments

Comments
 (0)