Skip to content

Commit e860085

Browse files
Regenerate retail client
1 parent c9fa9d7 commit e860085

4 files changed

+70
-18
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\CloudRetail;
19+
20+
class GoogleCloudRetailV2DoubleList extends \Google\Collection
21+
{
22+
protected $collection_key = 'values';
23+
public $values;
24+
25+
public function setValues($values)
26+
{
27+
$this->values = $values;
28+
}
29+
public function getValues()
30+
{
31+
return $this->values;
32+
}
33+
}
34+
35+
// Adding a class alias for backwards compatibility with the previous class name.
36+
class_alias(GoogleCloudRetailV2DoubleList::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2DoubleList');

src/CloudRetail/GoogleCloudRetailV2LocalInventory.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ class GoogleCloudRetailV2LocalInventory extends \Google\Collection
2222
protected $collection_key = 'fulfillmentTypes';
2323
protected $attributesType = GoogleCloudRetailV2CustomAttribute::class;
2424
protected $attributesDataType = 'map';
25-
/**
26-
* @var string
27-
*/
28-
public $availability;
2925
/**
3026
* @var string[]
3127
*/
@@ -51,20 +47,6 @@ public function getAttributes()
5147
{
5248
return $this->attributes;
5349
}
54-
/**
55-
* @param string
56-
*/
57-
public function setAvailability($availability)
58-
{
59-
$this->availability = $availability;
60-
}
61-
/**
62-
* @return string
63-
*/
64-
public function getAvailability()
65-
{
66-
return $this->availability;
67-
}
6850
/**
6951
* @param string[]
7052
*/

src/CloudRetail/GoogleCloudRetailV2SearchResponseSearchResult.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ class GoogleCloudRetailV2SearchResponseSearchResult extends \Google\Collection
3232
* @var string[]
3333
*/
3434
public $matchingVariantFields;
35+
protected $modelScoresType = GoogleCloudRetailV2DoubleList::class;
36+
protected $modelScoresDataType = 'map';
3537
/**
3638
* @var string[]
3739
*/
@@ -85,6 +87,20 @@ public function getMatchingVariantFields()
8587
{
8688
return $this->matchingVariantFields;
8789
}
90+
/**
91+
* @param GoogleCloudRetailV2DoubleList[]
92+
*/
93+
public function setModelScores($modelScores)
94+
{
95+
$this->modelScores = $modelScores;
96+
}
97+
/**
98+
* @return GoogleCloudRetailV2DoubleList[]
99+
*/
100+
public function getModelScores()
101+
{
102+
return $this->modelScores;
103+
}
88104
/**
89105
* @param string[]
90106
*/

src/CloudRetail/GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919

2020
class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter extends \Google\Model
2121
{
22+
/**
23+
* @var string
24+
*/
25+
public $dataSourceId;
2226
/**
2327
* @var string
2428
*/
@@ -28,6 +32,20 @@ class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
2832
*/
2933
public $primaryFeedName;
3034

35+
/**
36+
* @param string
37+
*/
38+
public function setDataSourceId($dataSourceId)
39+
{
40+
$this->dataSourceId = $dataSourceId;
41+
}
42+
/**
43+
* @return string
44+
*/
45+
public function getDataSourceId()
46+
{
47+
return $this->dataSourceId;
48+
}
3149
/**
3250
* @param string
3351
*/

0 commit comments

Comments
 (0)