Skip to content

Commit 263aacf

Browse files
1 parent d91bc58 commit 263aacf

File tree

5 files changed

+180
-6
lines changed

5 files changed

+180
-6
lines changed

clients/google-api-services-merchantapi/accounts_v1beta/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-merchantapi</artifactId>
25-
<version>accounts_v1beta-rev20250830-2.0.0</version>
25+
<version>accounts_v1beta-rev20250909-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-merchantapi:accounts_v1beta-rev20250830-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:accounts_v1beta-rev20250909-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/Merchant.java

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,114 @@ public Get set(String parameterName, Object value) {
554554
return (Get) super.set(parameterName, value);
555555
}
556556
}
557+
/**
558+
* Retrieves the merchant account that the calling GCP is registered with.
559+
*
560+
* Create a request for the method "accounts.getAccountForGcpRegistration".
561+
*
562+
* This request holds the parameters needed by the merchantapi server. After setting any optional
563+
* parameters, call the {@link GetAccountForGcpRegistration#execute()} method to invoke the remote
564+
* operation.
565+
*
566+
* @return the request
567+
*/
568+
public GetAccountForGcpRegistration getAccountForGcpRegistration() throws java.io.IOException {
569+
GetAccountForGcpRegistration result = new GetAccountForGcpRegistration();
570+
initialize(result);
571+
return result;
572+
}
573+
574+
public class GetAccountForGcpRegistration extends MerchantRequest<com.google.api.services.merchantapi.accounts_v1beta.model.GetAccountForGcpRegistrationResponse> {
575+
576+
private static final String REST_PATH = "accounts/v1beta/accounts:getAccountForGcpRegistration";
577+
578+
/**
579+
* Retrieves the merchant account that the calling GCP is registered with.
580+
*
581+
* Create a request for the method "accounts.getAccountForGcpRegistration".
582+
*
583+
* This request holds the parameters needed by the the merchantapi server. After setting any
584+
* optional parameters, call the {@link GetAccountForGcpRegistration#execute()} method to invoke
585+
* the remote operation. <p> {@link GetAccountForGcpRegistration#initialize(com.google.api.client.
586+
* googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance
587+
* immediately after invoking the constructor. </p>
588+
*
589+
* @since 1.13
590+
*/
591+
protected GetAccountForGcpRegistration() {
592+
super(Merchant.this, "GET", REST_PATH, null, com.google.api.services.merchantapi.accounts_v1beta.model.GetAccountForGcpRegistrationResponse.class);
593+
}
594+
595+
@Override
596+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
597+
return super.executeUsingHead();
598+
}
599+
600+
@Override
601+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
602+
return super.buildHttpRequestUsingHead();
603+
}
604+
605+
@Override
606+
public GetAccountForGcpRegistration set$Xgafv(java.lang.String $Xgafv) {
607+
return (GetAccountForGcpRegistration) super.set$Xgafv($Xgafv);
608+
}
609+
610+
@Override
611+
public GetAccountForGcpRegistration setAccessToken(java.lang.String accessToken) {
612+
return (GetAccountForGcpRegistration) super.setAccessToken(accessToken);
613+
}
614+
615+
@Override
616+
public GetAccountForGcpRegistration setAlt(java.lang.String alt) {
617+
return (GetAccountForGcpRegistration) super.setAlt(alt);
618+
}
619+
620+
@Override
621+
public GetAccountForGcpRegistration setCallback(java.lang.String callback) {
622+
return (GetAccountForGcpRegistration) super.setCallback(callback);
623+
}
624+
625+
@Override
626+
public GetAccountForGcpRegistration setFields(java.lang.String fields) {
627+
return (GetAccountForGcpRegistration) super.setFields(fields);
628+
}
629+
630+
@Override
631+
public GetAccountForGcpRegistration setKey(java.lang.String key) {
632+
return (GetAccountForGcpRegistration) super.setKey(key);
633+
}
634+
635+
@Override
636+
public GetAccountForGcpRegistration setOauthToken(java.lang.String oauthToken) {
637+
return (GetAccountForGcpRegistration) super.setOauthToken(oauthToken);
638+
}
639+
640+
@Override
641+
public GetAccountForGcpRegistration setPrettyPrint(java.lang.Boolean prettyPrint) {
642+
return (GetAccountForGcpRegistration) super.setPrettyPrint(prettyPrint);
643+
}
644+
645+
@Override
646+
public GetAccountForGcpRegistration setQuotaUser(java.lang.String quotaUser) {
647+
return (GetAccountForGcpRegistration) super.setQuotaUser(quotaUser);
648+
}
649+
650+
@Override
651+
public GetAccountForGcpRegistration setUploadType(java.lang.String uploadType) {
652+
return (GetAccountForGcpRegistration) super.setUploadType(uploadType);
653+
}
654+
655+
@Override
656+
public GetAccountForGcpRegistration setUploadProtocol(java.lang.String uploadProtocol) {
657+
return (GetAccountForGcpRegistration) super.setUploadProtocol(uploadProtocol);
658+
}
659+
660+
@Override
661+
public GetAccountForGcpRegistration set(String parameterName, Object value) {
662+
return (GetAccountForGcpRegistration) super.set(parameterName, value);
663+
}
664+
}
557665
/**
558666
* Note: For the `accounts.list` method, quota and limits usage are charged for each user, and not
559667
* for the Merchant Center ID or the advanced account ID. To list several sub-accounts, you should
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.merchantapi.accounts_v1beta.model;
18+
19+
/**
20+
* Response message for the GetAccountForGcpRegistration 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 Merchant 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 GetAccountForGcpRegistrationResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The name of the merchant account id that the GCP is registered with.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String name;
38+
39+
/**
40+
* The name of the merchant account id that the GCP is registered with.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getName() {
44+
return name;
45+
}
46+
47+
/**
48+
* The name of the merchant account id that the GCP is registered with.
49+
* @param name name or {@code null} for none
50+
*/
51+
public GetAccountForGcpRegistrationResponse setName(java.lang.String name) {
52+
this.name = name;
53+
return this;
54+
}
55+
56+
@Override
57+
public GetAccountForGcpRegistrationResponse set(String fieldName, Object value) {
58+
return (GetAccountForGcpRegistrationResponse) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GetAccountForGcpRegistrationResponse clone() {
63+
return (GetAccountForGcpRegistrationResponse) super.clone();
64+
}
65+
66+
}

clients/google-api-services-merchantapi/accounts_v1beta/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-merchantapi</artifactId>
11-
<version>accounts_v1beta-rev20250830-2.0.0</version>
12-
<name>Merchant API accounts_v1beta-rev20250830-2.0.0</name>
11+
<version>accounts_v1beta-rev20250909-2.0.0</version>
12+
<name>Merchant API accounts_v1beta-rev20250909-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-merchantapi/accounts_v1beta/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-merchantapi</artifactId>
25-
<version>accounts_v1beta-rev20250830-2.0.0</version>
25+
<version>accounts_v1beta-rev20250909-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-merchantapi:accounts_v1beta-rev20250830-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:accounts_v1beta-rev20250909-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)