Skip to content

Commit e43a7ce

Browse files
1 parent acb3e46 commit e43a7ce

18 files changed

+438
-27
lines changed

clients/google-api-services-retail/v2/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-retail</artifactId>
25-
<version>v2-rev20240118-2.0.0</version>
25+
<version>v2-rev20240129-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-retail:v2-rev20240118-2.0.0'
38+
implementation 'com.google.apis:google-api-services-retail:v2-rev20240129-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-retail/v2/2.0.0/com/google/api/services/retail/v2/model/GoogleCloudRetailV2CatalogAttributeFacetConfig.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ public final class GoogleCloudRetailV2CatalogAttributeFacetConfig extends com.go
5050
@com.google.api.client.util.Key
5151
private java.util.List<GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues> ignoredFacetValues;
5252

53+
/**
54+
* Use this field only if you want to merge a facet key into another facet key.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet mergedFacet;
59+
5360
/**
5461
* Each instance replaces a list of facet values by a merged facet value. If a facet value is not
5562
* in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are
@@ -118,6 +125,23 @@ public GoogleCloudRetailV2CatalogAttributeFacetConfig setIgnoredFacetValues(java
118125
return this;
119126
}
120127

128+
/**
129+
* Use this field only if you want to merge a facet key into another facet key.
130+
* @return value or {@code null} for none
131+
*/
132+
public GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet getMergedFacet() {
133+
return mergedFacet;
134+
}
135+
136+
/**
137+
* Use this field only if you want to merge a facet key into another facet key.
138+
* @param mergedFacet mergedFacet or {@code null} for none
139+
*/
140+
public GoogleCloudRetailV2CatalogAttributeFacetConfig setMergedFacet(GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet mergedFacet) {
141+
this.mergedFacet = mergedFacet;
142+
return this;
143+
}
144+
121145
/**
122146
* Each instance replaces a list of facet values by a merged facet value. If a facet value is not
123147
* in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
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.retail.v2.model;
18+
19+
/**
20+
* The current facet key (i.e. attribute config) maps into the merged_facet_key. A facet key can
21+
* have at most one child. The current facet key and the merged facet key need both to be textual
22+
* custom attributes or both numerical custom attributes (same type).
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Retail API. For a detailed explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* The merged facet key should be a valid facet key that is different than the facet key of the
36+
* current catalog attribute. We refer this is merged facet key as the child of the current
37+
* catalog attribute. This merged facet key can't be a parent of another facet key (i.e. no
38+
* directed path of length 2). This merged facet key needs to be either a textual custom attribute
39+
* or a numerical custom attribute.
40+
* The value may be {@code null}.
41+
*/
42+
@com.google.api.client.util.Key
43+
private java.lang.String mergedFacetKey;
44+
45+
/**
46+
* Each instance is a list of facet values that map into the same (possibly different) merged
47+
* facet value. For the current attribute config, each facet value should map to at most one
48+
* merged facet value.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.util.List<GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue> mergedFacetValues;
53+
54+
/**
55+
* The merged facet key should be a valid facet key that is different than the facet key of the
56+
* current catalog attribute. We refer this is merged facet key as the child of the current
57+
* catalog attribute. This merged facet key can't be a parent of another facet key (i.e. no
58+
* directed path of length 2). This merged facet key needs to be either a textual custom attribute
59+
* or a numerical custom attribute.
60+
* @return value or {@code null} for none
61+
*/
62+
public java.lang.String getMergedFacetKey() {
63+
return mergedFacetKey;
64+
}
65+
66+
/**
67+
* The merged facet key should be a valid facet key that is different than the facet key of the
68+
* current catalog attribute. We refer this is merged facet key as the child of the current
69+
* catalog attribute. This merged facet key can't be a parent of another facet key (i.e. no
70+
* directed path of length 2). This merged facet key needs to be either a textual custom attribute
71+
* or a numerical custom attribute.
72+
* @param mergedFacetKey mergedFacetKey or {@code null} for none
73+
*/
74+
public GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet setMergedFacetKey(java.lang.String mergedFacetKey) {
75+
this.mergedFacetKey = mergedFacetKey;
76+
return this;
77+
}
78+
79+
/**
80+
* Each instance is a list of facet values that map into the same (possibly different) merged
81+
* facet value. For the current attribute config, each facet value should map to at most one
82+
* merged facet value.
83+
* @return value or {@code null} for none
84+
*/
85+
public java.util.List<GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue> getMergedFacetValues() {
86+
return mergedFacetValues;
87+
}
88+
89+
/**
90+
* Each instance is a list of facet values that map into the same (possibly different) merged
91+
* facet value. For the current attribute config, each facet value should map to at most one
92+
* merged facet value.
93+
* @param mergedFacetValues mergedFacetValues or {@code null} for none
94+
*/
95+
public GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet setMergedFacetValues(java.util.List<GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue> mergedFacetValues) {
96+
this.mergedFacetValues = mergedFacetValues;
97+
return this;
98+
}
99+
100+
@Override
101+
public GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet set(String fieldName, Object value) {
102+
return (GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet) super.set(fieldName, value);
103+
}
104+
105+
@Override
106+
public GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet clone() {
107+
return (GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet) super.clone();
108+
}
109+
110+
}

clients/google-api-services-retail/v2/2.0.0/com/google/api/services/retail/v2/model/GoogleCloudRetailV2ImportProductsRequest.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ public final class GoogleCloudRetailV2ImportProductsRequest extends com.google.a
7373

7474
/**
7575
* Indicates which fields in the provided imported `products` to update. If not set, all fields
76-
* are updated.
76+
* are updated. If provided, only the existing product fields are updated. Missing products will
77+
* not be created.
7778
* The value may be {@code null}.
7879
*/
7980
@com.google.api.client.util.Key
@@ -180,7 +181,8 @@ public GoogleCloudRetailV2ImportProductsRequest setRequestId(java.lang.String re
180181

181182
/**
182183
* Indicates which fields in the provided imported `products` to update. If not set, all fields
183-
* are updated.
184+
* are updated. If provided, only the existing product fields are updated. Missing products will
185+
* not be created.
184186
* @return value or {@code null} for none
185187
*/
186188
public String getUpdateMask() {
@@ -189,7 +191,8 @@ public String getUpdateMask() {
189191

190192
/**
191193
* Indicates which fields in the provided imported `products` to update. If not set, all fields
192-
* are updated.
194+
* are updated. If provided, only the existing product fields are updated. Missing products will
195+
* not be created.
193196
* @param updateMask updateMask or {@code null} for none
194197
*/
195198
public GoogleCloudRetailV2ImportProductsRequest setUpdateMask(String updateMask) {

clients/google-api-services-retail/v2/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-retail</artifactId>
11-
<version>v2-rev20240118-2.0.0</version>
12-
<name>Retail API v2-rev20240118-2.0.0</name>
11+
<version>v2-rev20240129-2.0.0</version>
12+
<name>Retail API v2-rev20240129-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-retail/v2/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-retail</artifactId>
25-
<version>v2-rev20240118-2.0.0</version>
25+
<version>v2-rev20240129-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-retail:v2-rev20240118-2.0.0'
38+
implementation 'com.google.apis:google-api-services-retail:v2-rev20240129-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-retail/v2alpha/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-retail</artifactId>
25-
<version>v2alpha-rev20240118-2.0.0</version>
25+
<version>v2alpha-rev20240129-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-retail:v2alpha-rev20240118-2.0.0'
38+
implementation 'com.google.apis:google-api-services-retail:v2alpha-rev20240129-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-retail/v2alpha/2.0.0/com/google/api/services/retail/v2alpha/model/GoogleCloudRetailV2alphaCatalogAttributeFacetConfig.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ public final class GoogleCloudRetailV2alphaCatalogAttributeFacetConfig extends c
5050
@com.google.api.client.util.Key
5151
private java.util.List<GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues> ignoredFacetValues;
5252

53+
/**
54+
* Use this field only if you want to merge a facet key into another facet key.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet mergedFacet;
59+
5360
/**
5461
* Each instance replaces a list of facet values by a merged facet value. If a facet value is not
5562
* in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are
@@ -118,6 +125,23 @@ public GoogleCloudRetailV2alphaCatalogAttributeFacetConfig setIgnoredFacetValues
118125
return this;
119126
}
120127

128+
/**
129+
* Use this field only if you want to merge a facet key into another facet key.
130+
* @return value or {@code null} for none
131+
*/
132+
public GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet getMergedFacet() {
133+
return mergedFacet;
134+
}
135+
136+
/**
137+
* Use this field only if you want to merge a facet key into another facet key.
138+
* @param mergedFacet mergedFacet or {@code null} for none
139+
*/
140+
public GoogleCloudRetailV2alphaCatalogAttributeFacetConfig setMergedFacet(GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet mergedFacet) {
141+
this.mergedFacet = mergedFacet;
142+
return this;
143+
}
144+
121145
/**
122146
* Each instance replaces a list of facet values by a merged facet value. If a facet value is not
123147
* in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
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.retail.v2alpha.model;
18+
19+
/**
20+
* The current facet key (i.e. attribute config) maps into the merged_facet_key. A facet key can
21+
* have at most one child. The current facet key and the merged facet key need both to be textual
22+
* custom attributes or both numerical custom attributes (same type).
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Retail API. For a detailed explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* The merged facet key should be a valid facet key that is different than the facet key of the
36+
* current catalog attribute. We refer this is merged facet key as the child of the current
37+
* catalog attribute. This merged facet key can't be a parent of another facet key (i.e. no
38+
* directed path of length 2). This merged facet key needs to be either a textual custom attribute
39+
* or a numerical custom attribute.
40+
* The value may be {@code null}.
41+
*/
42+
@com.google.api.client.util.Key
43+
private java.lang.String mergedFacetKey;
44+
45+
/**
46+
* Each instance is a list of facet values that map into the same (possibly different) merged
47+
* facet value. For the current attribute config, each facet value should map to at most one
48+
* merged facet value.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.util.List<GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue> mergedFacetValues;
53+
54+
/**
55+
* The merged facet key should be a valid facet key that is different than the facet key of the
56+
* current catalog attribute. We refer this is merged facet key as the child of the current
57+
* catalog attribute. This merged facet key can't be a parent of another facet key (i.e. no
58+
* directed path of length 2). This merged facet key needs to be either a textual custom attribute
59+
* or a numerical custom attribute.
60+
* @return value or {@code null} for none
61+
*/
62+
public java.lang.String getMergedFacetKey() {
63+
return mergedFacetKey;
64+
}
65+
66+
/**
67+
* The merged facet key should be a valid facet key that is different than the facet key of the
68+
* current catalog attribute. We refer this is merged facet key as the child of the current
69+
* catalog attribute. This merged facet key can't be a parent of another facet key (i.e. no
70+
* directed path of length 2). This merged facet key needs to be either a textual custom attribute
71+
* or a numerical custom attribute.
72+
* @param mergedFacetKey mergedFacetKey or {@code null} for none
73+
*/
74+
public GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet setMergedFacetKey(java.lang.String mergedFacetKey) {
75+
this.mergedFacetKey = mergedFacetKey;
76+
return this;
77+
}
78+
79+
/**
80+
* Each instance is a list of facet values that map into the same (possibly different) merged
81+
* facet value. For the current attribute config, each facet value should map to at most one
82+
* merged facet value.
83+
* @return value or {@code null} for none
84+
*/
85+
public java.util.List<GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue> getMergedFacetValues() {
86+
return mergedFacetValues;
87+
}
88+
89+
/**
90+
* Each instance is a list of facet values that map into the same (possibly different) merged
91+
* facet value. For the current attribute config, each facet value should map to at most one
92+
* merged facet value.
93+
* @param mergedFacetValues mergedFacetValues or {@code null} for none
94+
*/
95+
public GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet setMergedFacetValues(java.util.List<GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue> mergedFacetValues) {
96+
this.mergedFacetValues = mergedFacetValues;
97+
return this;
98+
}
99+
100+
@Override
101+
public GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet set(String fieldName, Object value) {
102+
return (GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet) super.set(fieldName, value);
103+
}
104+
105+
@Override
106+
public GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet clone() {
107+
return (GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet) super.clone();
108+
}
109+
110+
}

0 commit comments

Comments
 (0)