Skip to content

Commit 7ecd40e

Browse files
1 parent c0513a6 commit 7ecd40e

22 files changed

+2440
-12
lines changed

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

clients/google-api-services-migrationcenter/v1/2.0.0/com/google/api/services/migrationcenter/v1/MigrationCenterAPI.java

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9272,6 +9272,138 @@ public Reports reports() {
92729272
*/
92739273
public class Reports {
92749274

9275+
/**
9276+
* Gets the link to the generated artifact of a given type for a Report.
9277+
*
9278+
* Create a request for the method "reports.artifactLink".
9279+
*
9280+
* This request holds the parameters needed by the migrationcenter server. After setting any
9281+
* optional parameters, call the {@link ArtifactLink#execute()} method to invoke the remote
9282+
* operation.
9283+
*
9284+
* @param name Required. Name of the resource.
9285+
* @param content the {@link com.google.api.services.migrationcenter.v1.model.GenerateReportArtifactLinkRequest}
9286+
* @return the request
9287+
*/
9288+
public ArtifactLink artifactLink(java.lang.String name, com.google.api.services.migrationcenter.v1.model.GenerateReportArtifactLinkRequest content) throws java.io.IOException {
9289+
ArtifactLink result = new ArtifactLink(name, content);
9290+
initialize(result);
9291+
return result;
9292+
}
9293+
9294+
public class ArtifactLink extends MigrationCenterAPIRequest<com.google.api.services.migrationcenter.v1.model.ReportArtifactLink> {
9295+
9296+
private static final String REST_PATH = "v1/{+name}:artifactLink";
9297+
9298+
private final java.util.regex.Pattern NAME_PATTERN =
9299+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/reportConfigs/[^/]+/reports/[^/]+$");
9300+
9301+
/**
9302+
* Gets the link to the generated artifact of a given type for a Report.
9303+
*
9304+
* Create a request for the method "reports.artifactLink".
9305+
*
9306+
* This request holds the parameters needed by the the migrationcenter server. After setting any
9307+
* optional parameters, call the {@link ArtifactLink#execute()} method to invoke the remote
9308+
* operation. <p> {@link
9309+
* ArtifactLink#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
9310+
* must be called to initialize this instance immediately after invoking the constructor. </p>
9311+
*
9312+
* @param name Required. Name of the resource.
9313+
* @param content the {@link com.google.api.services.migrationcenter.v1.model.GenerateReportArtifactLinkRequest}
9314+
* @since 1.13
9315+
*/
9316+
protected ArtifactLink(java.lang.String name, com.google.api.services.migrationcenter.v1.model.GenerateReportArtifactLinkRequest content) {
9317+
super(MigrationCenterAPI.this, "POST", REST_PATH, content, com.google.api.services.migrationcenter.v1.model.ReportArtifactLink.class);
9318+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
9319+
if (!getSuppressPatternChecks()) {
9320+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
9321+
"Parameter name must conform to the pattern " +
9322+
"^projects/[^/]+/locations/[^/]+/reportConfigs/[^/]+/reports/[^/]+$");
9323+
}
9324+
}
9325+
9326+
@Override
9327+
public ArtifactLink set$Xgafv(java.lang.String $Xgafv) {
9328+
return (ArtifactLink) super.set$Xgafv($Xgafv);
9329+
}
9330+
9331+
@Override
9332+
public ArtifactLink setAccessToken(java.lang.String accessToken) {
9333+
return (ArtifactLink) super.setAccessToken(accessToken);
9334+
}
9335+
9336+
@Override
9337+
public ArtifactLink setAlt(java.lang.String alt) {
9338+
return (ArtifactLink) super.setAlt(alt);
9339+
}
9340+
9341+
@Override
9342+
public ArtifactLink setCallback(java.lang.String callback) {
9343+
return (ArtifactLink) super.setCallback(callback);
9344+
}
9345+
9346+
@Override
9347+
public ArtifactLink setFields(java.lang.String fields) {
9348+
return (ArtifactLink) super.setFields(fields);
9349+
}
9350+
9351+
@Override
9352+
public ArtifactLink setKey(java.lang.String key) {
9353+
return (ArtifactLink) super.setKey(key);
9354+
}
9355+
9356+
@Override
9357+
public ArtifactLink setOauthToken(java.lang.String oauthToken) {
9358+
return (ArtifactLink) super.setOauthToken(oauthToken);
9359+
}
9360+
9361+
@Override
9362+
public ArtifactLink setPrettyPrint(java.lang.Boolean prettyPrint) {
9363+
return (ArtifactLink) super.setPrettyPrint(prettyPrint);
9364+
}
9365+
9366+
@Override
9367+
public ArtifactLink setQuotaUser(java.lang.String quotaUser) {
9368+
return (ArtifactLink) super.setQuotaUser(quotaUser);
9369+
}
9370+
9371+
@Override
9372+
public ArtifactLink setUploadType(java.lang.String uploadType) {
9373+
return (ArtifactLink) super.setUploadType(uploadType);
9374+
}
9375+
9376+
@Override
9377+
public ArtifactLink setUploadProtocol(java.lang.String uploadProtocol) {
9378+
return (ArtifactLink) super.setUploadProtocol(uploadProtocol);
9379+
}
9380+
9381+
/** Required. Name of the resource. */
9382+
@com.google.api.client.util.Key
9383+
private java.lang.String name;
9384+
9385+
/** Required. Name of the resource.
9386+
*/
9387+
public java.lang.String getName() {
9388+
return name;
9389+
}
9390+
9391+
/** Required. Name of the resource. */
9392+
public ArtifactLink setName(java.lang.String name) {
9393+
if (!getSuppressPatternChecks()) {
9394+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
9395+
"Parameter name must conform to the pattern " +
9396+
"^projects/[^/]+/locations/[^/]+/reportConfigs/[^/]+/reports/[^/]+$");
9397+
}
9398+
this.name = name;
9399+
return this;
9400+
}
9401+
9402+
@Override
9403+
public ArtifactLink set(String parameterName, Object value) {
9404+
return (ArtifactLink) super.set(parameterName, value);
9405+
}
9406+
}
92759407
/**
92769408
* Creates a report.
92779409
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.migrationcenter.v1.model;
18+
19+
/**
20+
* A request to generate a link to an artifact for a Report.
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 Migration Center API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GenerateReportArtifactLinkRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. Type of the artifact requested.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String artifactType;
38+
39+
/**
40+
* Required. Type of the artifact requested.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getArtifactType() {
44+
return artifactType;
45+
}
46+
47+
/**
48+
* Required. Type of the artifact requested.
49+
* @param artifactType artifactType or {@code null} for none
50+
*/
51+
public GenerateReportArtifactLinkRequest setArtifactType(java.lang.String artifactType) {
52+
this.artifactType = artifactType;
53+
return this;
54+
}
55+
56+
@Override
57+
public GenerateReportArtifactLinkRequest set(String fieldName, Object value) {
58+
return (GenerateReportArtifactLinkRequest) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GenerateReportArtifactLinkRequest clone() {
63+
return (GenerateReportArtifactLinkRequest) super.clone();
64+
}
65+
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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.migrationcenter.v1.model;
18+
19+
/**
20+
* Describes a link to a generated artifact of the report.
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 Migration Center API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class ReportArtifactLink extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. URI of the artifact.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String uri;
38+
39+
/**
40+
* Output only. Expiration time of the URI.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private String uriExpirationTime;
45+
46+
/**
47+
* Output only. URI of the artifact.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getUri() {
51+
return uri;
52+
}
53+
54+
/**
55+
* Output only. URI of the artifact.
56+
* @param uri uri or {@code null} for none
57+
*/
58+
public ReportArtifactLink setUri(java.lang.String uri) {
59+
this.uri = uri;
60+
return this;
61+
}
62+
63+
/**
64+
* Output only. Expiration time of the URI.
65+
* @return value or {@code null} for none
66+
*/
67+
public String getUriExpirationTime() {
68+
return uriExpirationTime;
69+
}
70+
71+
/**
72+
* Output only. Expiration time of the URI.
73+
* @param uriExpirationTime uriExpirationTime or {@code null} for none
74+
*/
75+
public ReportArtifactLink setUriExpirationTime(String uriExpirationTime) {
76+
this.uriExpirationTime = uriExpirationTime;
77+
return this;
78+
}
79+
80+
@Override
81+
public ReportArtifactLink set(String fieldName, Object value) {
82+
return (ReportArtifactLink) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public ReportArtifactLink clone() {
87+
return (ReportArtifactLink) super.clone();
88+
}
89+
90+
}

clients/google-api-services-migrationcenter/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-migrationcenter</artifactId>
11-
<version>v1-rev20251023-2.0.0</version>
12-
<name>Migration Center API v1-rev20251023-2.0.0</name>
11+
<version>v1-rev20251106-2.0.0</version>
12+
<name>Migration Center API v1-rev20251106-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

clients/google-api-services-migrationcenter/v1alpha1/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-migrationcenter</artifactId>
25-
<version>v1alpha1-rev20251023-2.0.0</version>
25+
<version>v1alpha1-rev20251106-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-migrationcenter:v1alpha1-rev20251023-2.0.0'
38+
implementation 'com.google.apis:google-api-services-migrationcenter:v1alpha1-rev20251106-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)