Skip to content

Commit c85f798

Browse files
1 parent db0046c commit c85f798

File tree

9 files changed

+665
-6
lines changed

9 files changed

+665
-6
lines changed

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

clients/google-api-services-androidmanagement/v1/2.0.0/com/google/api/services/androidmanagement/v1/AndroidManagement.java

Lines changed: 282 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4192,6 +4192,147 @@ public List set(String parameterName, Object value) {
41924192
return (List) super.set(parameterName, value);
41934193
}
41944194
}
4195+
/**
4196+
* Updates or creates applications in a policy.
4197+
*
4198+
* Create a request for the method "policies.modifyPolicyApplications".
4199+
*
4200+
* This request holds the parameters needed by the androidmanagement server. After setting any
4201+
* optional parameters, call the {@link ModifyPolicyApplications#execute()} method to invoke the
4202+
* remote operation.
4203+
*
4204+
* @param name Required. The name of the Policy containing the ApplicationPolicy objects to be updated, in the form
4205+
* enterprises/{enterpriseId}/policies/{policyId}.
4206+
* @param content the {@link com.google.api.services.androidmanagement.v1.model.ModifyPolicyApplicationsRequest}
4207+
* @return the request
4208+
*/
4209+
public ModifyPolicyApplications modifyPolicyApplications(java.lang.String name, com.google.api.services.androidmanagement.v1.model.ModifyPolicyApplicationsRequest content) throws java.io.IOException {
4210+
ModifyPolicyApplications result = new ModifyPolicyApplications(name, content);
4211+
initialize(result);
4212+
return result;
4213+
}
4214+
4215+
public class ModifyPolicyApplications extends AndroidManagementRequest<com.google.api.services.androidmanagement.v1.model.ModifyPolicyApplicationsResponse> {
4216+
4217+
private static final String REST_PATH = "v1/{+name}:modifyPolicyApplications";
4218+
4219+
private final java.util.regex.Pattern NAME_PATTERN =
4220+
java.util.regex.Pattern.compile("^enterprises/[^/]+/policies/[^/]+$");
4221+
4222+
/**
4223+
* Updates or creates applications in a policy.
4224+
*
4225+
* Create a request for the method "policies.modifyPolicyApplications".
4226+
*
4227+
* This request holds the parameters needed by the the androidmanagement server. After setting
4228+
* any optional parameters, call the {@link ModifyPolicyApplications#execute()} method to invoke
4229+
* the remote operation. <p> {@link ModifyPolicyApplications#initialize(com.google.api.client.goog
4230+
* leapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance
4231+
* immediately after invoking the constructor. </p>
4232+
*
4233+
* @param name Required. The name of the Policy containing the ApplicationPolicy objects to be updated, in the form
4234+
* enterprises/{enterpriseId}/policies/{policyId}.
4235+
* @param content the {@link com.google.api.services.androidmanagement.v1.model.ModifyPolicyApplicationsRequest}
4236+
* @since 1.13
4237+
*/
4238+
protected ModifyPolicyApplications(java.lang.String name, com.google.api.services.androidmanagement.v1.model.ModifyPolicyApplicationsRequest content) {
4239+
super(AndroidManagement.this, "POST", REST_PATH, content, com.google.api.services.androidmanagement.v1.model.ModifyPolicyApplicationsResponse.class);
4240+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
4241+
if (!getSuppressPatternChecks()) {
4242+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
4243+
"Parameter name must conform to the pattern " +
4244+
"^enterprises/[^/]+/policies/[^/]+$");
4245+
}
4246+
}
4247+
4248+
@Override
4249+
public ModifyPolicyApplications set$Xgafv(java.lang.String $Xgafv) {
4250+
return (ModifyPolicyApplications) super.set$Xgafv($Xgafv);
4251+
}
4252+
4253+
@Override
4254+
public ModifyPolicyApplications setAccessToken(java.lang.String accessToken) {
4255+
return (ModifyPolicyApplications) super.setAccessToken(accessToken);
4256+
}
4257+
4258+
@Override
4259+
public ModifyPolicyApplications setAlt(java.lang.String alt) {
4260+
return (ModifyPolicyApplications) super.setAlt(alt);
4261+
}
4262+
4263+
@Override
4264+
public ModifyPolicyApplications setCallback(java.lang.String callback) {
4265+
return (ModifyPolicyApplications) super.setCallback(callback);
4266+
}
4267+
4268+
@Override
4269+
public ModifyPolicyApplications setFields(java.lang.String fields) {
4270+
return (ModifyPolicyApplications) super.setFields(fields);
4271+
}
4272+
4273+
@Override
4274+
public ModifyPolicyApplications setKey(java.lang.String key) {
4275+
return (ModifyPolicyApplications) super.setKey(key);
4276+
}
4277+
4278+
@Override
4279+
public ModifyPolicyApplications setOauthToken(java.lang.String oauthToken) {
4280+
return (ModifyPolicyApplications) super.setOauthToken(oauthToken);
4281+
}
4282+
4283+
@Override
4284+
public ModifyPolicyApplications setPrettyPrint(java.lang.Boolean prettyPrint) {
4285+
return (ModifyPolicyApplications) super.setPrettyPrint(prettyPrint);
4286+
}
4287+
4288+
@Override
4289+
public ModifyPolicyApplications setQuotaUser(java.lang.String quotaUser) {
4290+
return (ModifyPolicyApplications) super.setQuotaUser(quotaUser);
4291+
}
4292+
4293+
@Override
4294+
public ModifyPolicyApplications setUploadType(java.lang.String uploadType) {
4295+
return (ModifyPolicyApplications) super.setUploadType(uploadType);
4296+
}
4297+
4298+
@Override
4299+
public ModifyPolicyApplications setUploadProtocol(java.lang.String uploadProtocol) {
4300+
return (ModifyPolicyApplications) super.setUploadProtocol(uploadProtocol);
4301+
}
4302+
4303+
/**
4304+
* Required. The name of the Policy containing the ApplicationPolicy objects to be updated,
4305+
* in the form enterprises/{enterpriseId}/policies/{policyId}.
4306+
*/
4307+
@com.google.api.client.util.Key
4308+
private java.lang.String name;
4309+
4310+
/** Required. The name of the Policy containing the ApplicationPolicy objects to be updated, in the
4311+
form enterprises/{enterpriseId}/policies/{policyId}.
4312+
*/
4313+
public java.lang.String getName() {
4314+
return name;
4315+
}
4316+
4317+
/**
4318+
* Required. The name of the Policy containing the ApplicationPolicy objects to be updated,
4319+
* in the form enterprises/{enterpriseId}/policies/{policyId}.
4320+
*/
4321+
public ModifyPolicyApplications setName(java.lang.String name) {
4322+
if (!getSuppressPatternChecks()) {
4323+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
4324+
"Parameter name must conform to the pattern " +
4325+
"^enterprises/[^/]+/policies/[^/]+$");
4326+
}
4327+
this.name = name;
4328+
return this;
4329+
}
4330+
4331+
@Override
4332+
public ModifyPolicyApplications set(String parameterName, Object value) {
4333+
return (ModifyPolicyApplications) super.set(parameterName, value);
4334+
}
4335+
}
41954336
/**
41964337
* Updates or creates a policy.
41974338
*
@@ -4345,6 +4486,147 @@ public Patch set(String parameterName, Object value) {
43454486
return (Patch) super.set(parameterName, value);
43464487
}
43474488
}
4489+
/**
4490+
* Removes applications in a policy.
4491+
*
4492+
* Create a request for the method "policies.removePolicyApplications".
4493+
*
4494+
* This request holds the parameters needed by the androidmanagement server. After setting any
4495+
* optional parameters, call the {@link RemovePolicyApplications#execute()} method to invoke the
4496+
* remote operation.
4497+
*
4498+
* @param name Required. The name of the policy containing the ApplicationPolicy objects to be removed, in the form
4499+
* enterprises/{enterpriseId}/policies/{policyId}.
4500+
* @param content the {@link com.google.api.services.androidmanagement.v1.model.RemovePolicyApplicationsRequest}
4501+
* @return the request
4502+
*/
4503+
public RemovePolicyApplications removePolicyApplications(java.lang.String name, com.google.api.services.androidmanagement.v1.model.RemovePolicyApplicationsRequest content) throws java.io.IOException {
4504+
RemovePolicyApplications result = new RemovePolicyApplications(name, content);
4505+
initialize(result);
4506+
return result;
4507+
}
4508+
4509+
public class RemovePolicyApplications extends AndroidManagementRequest<com.google.api.services.androidmanagement.v1.model.RemovePolicyApplicationsResponse> {
4510+
4511+
private static final String REST_PATH = "v1/{+name}:removePolicyApplications";
4512+
4513+
private final java.util.regex.Pattern NAME_PATTERN =
4514+
java.util.regex.Pattern.compile("^enterprises/[^/]+/policies/[^/]+$");
4515+
4516+
/**
4517+
* Removes applications in a policy.
4518+
*
4519+
* Create a request for the method "policies.removePolicyApplications".
4520+
*
4521+
* This request holds the parameters needed by the the androidmanagement server. After setting
4522+
* any optional parameters, call the {@link RemovePolicyApplications#execute()} method to invoke
4523+
* the remote operation. <p> {@link RemovePolicyApplications#initialize(com.google.api.client.goog
4524+
* leapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance
4525+
* immediately after invoking the constructor. </p>
4526+
*
4527+
* @param name Required. The name of the policy containing the ApplicationPolicy objects to be removed, in the form
4528+
* enterprises/{enterpriseId}/policies/{policyId}.
4529+
* @param content the {@link com.google.api.services.androidmanagement.v1.model.RemovePolicyApplicationsRequest}
4530+
* @since 1.13
4531+
*/
4532+
protected RemovePolicyApplications(java.lang.String name, com.google.api.services.androidmanagement.v1.model.RemovePolicyApplicationsRequest content) {
4533+
super(AndroidManagement.this, "POST", REST_PATH, content, com.google.api.services.androidmanagement.v1.model.RemovePolicyApplicationsResponse.class);
4534+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
4535+
if (!getSuppressPatternChecks()) {
4536+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
4537+
"Parameter name must conform to the pattern " +
4538+
"^enterprises/[^/]+/policies/[^/]+$");
4539+
}
4540+
}
4541+
4542+
@Override
4543+
public RemovePolicyApplications set$Xgafv(java.lang.String $Xgafv) {
4544+
return (RemovePolicyApplications) super.set$Xgafv($Xgafv);
4545+
}
4546+
4547+
@Override
4548+
public RemovePolicyApplications setAccessToken(java.lang.String accessToken) {
4549+
return (RemovePolicyApplications) super.setAccessToken(accessToken);
4550+
}
4551+
4552+
@Override
4553+
public RemovePolicyApplications setAlt(java.lang.String alt) {
4554+
return (RemovePolicyApplications) super.setAlt(alt);
4555+
}
4556+
4557+
@Override
4558+
public RemovePolicyApplications setCallback(java.lang.String callback) {
4559+
return (RemovePolicyApplications) super.setCallback(callback);
4560+
}
4561+
4562+
@Override
4563+
public RemovePolicyApplications setFields(java.lang.String fields) {
4564+
return (RemovePolicyApplications) super.setFields(fields);
4565+
}
4566+
4567+
@Override
4568+
public RemovePolicyApplications setKey(java.lang.String key) {
4569+
return (RemovePolicyApplications) super.setKey(key);
4570+
}
4571+
4572+
@Override
4573+
public RemovePolicyApplications setOauthToken(java.lang.String oauthToken) {
4574+
return (RemovePolicyApplications) super.setOauthToken(oauthToken);
4575+
}
4576+
4577+
@Override
4578+
public RemovePolicyApplications setPrettyPrint(java.lang.Boolean prettyPrint) {
4579+
return (RemovePolicyApplications) super.setPrettyPrint(prettyPrint);
4580+
}
4581+
4582+
@Override
4583+
public RemovePolicyApplications setQuotaUser(java.lang.String quotaUser) {
4584+
return (RemovePolicyApplications) super.setQuotaUser(quotaUser);
4585+
}
4586+
4587+
@Override
4588+
public RemovePolicyApplications setUploadType(java.lang.String uploadType) {
4589+
return (RemovePolicyApplications) super.setUploadType(uploadType);
4590+
}
4591+
4592+
@Override
4593+
public RemovePolicyApplications setUploadProtocol(java.lang.String uploadProtocol) {
4594+
return (RemovePolicyApplications) super.setUploadProtocol(uploadProtocol);
4595+
}
4596+
4597+
/**
4598+
* Required. The name of the policy containing the ApplicationPolicy objects to be removed,
4599+
* in the form enterprises/{enterpriseId}/policies/{policyId}.
4600+
*/
4601+
@com.google.api.client.util.Key
4602+
private java.lang.String name;
4603+
4604+
/** Required. The name of the policy containing the ApplicationPolicy objects to be removed, in the
4605+
form enterprises/{enterpriseId}/policies/{policyId}.
4606+
*/
4607+
public java.lang.String getName() {
4608+
return name;
4609+
}
4610+
4611+
/**
4612+
* Required. The name of the policy containing the ApplicationPolicy objects to be removed,
4613+
* in the form enterprises/{enterpriseId}/policies/{policyId}.
4614+
*/
4615+
public RemovePolicyApplications setName(java.lang.String name) {
4616+
if (!getSuppressPatternChecks()) {
4617+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
4618+
"Parameter name must conform to the pattern " +
4619+
"^enterprises/[^/]+/policies/[^/]+$");
4620+
}
4621+
this.name = name;
4622+
return this;
4623+
}
4624+
4625+
@Override
4626+
public RemovePolicyApplications set(String parameterName, Object value) {
4627+
return (RemovePolicyApplications) super.set(parameterName, value);
4628+
}
4629+
}
43484630

43494631
}
43504632
/**

0 commit comments

Comments
 (0)