Skip to content

Commit a76b717

Browse files
1 parent e11a47e commit a76b717

3 files changed

Lines changed: 74 additions & 0 deletions

File tree

src/SmartDeviceManagement/GoogleHomeEnterpriseSdmV1Device.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
class GoogleHomeEnterpriseSdmV1Device extends \Google\Collection
2121
{
2222
protected $collection_key = 'parentRelations';
23+
/**
24+
* Output only. The GHP device ID of the device.
25+
*
26+
* @var string
27+
*/
28+
public $ghpName;
2329
/**
2430
* Required. The resource name of the device. For example:
2531
* "enterprises/XYZ/devices/123".
@@ -45,6 +51,22 @@ class GoogleHomeEnterpriseSdmV1Device extends \Google\Collection
4551
*/
4652
public $type;
4753

54+
/**
55+
* Output only. The GHP device ID of the device.
56+
*
57+
* @param string $ghpName
58+
*/
59+
public function setGhpName($ghpName)
60+
{
61+
$this->ghpName = $ghpName;
62+
}
63+
/**
64+
* @return string
65+
*/
66+
public function getGhpName()
67+
{
68+
return $this->ghpName;
69+
}
4870
/**
4971
* Required. The resource name of the device. For example:
5072
* "enterprises/XYZ/devices/123".

src/SmartDeviceManagement/GoogleHomeEnterpriseSdmV1ParentRelation.php

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ class GoogleHomeEnterpriseSdmV1ParentRelation extends \Google\Model
2626
* @var string
2727
*/
2828
public $displayName;
29+
/**
30+
* Output only. The GHP name of the relation -- e.g., structure/room where the
31+
* device is assigned to. For example:
32+
* "homegraph.googleapis.com/Structure/ABC" or
33+
* "homegraph.googleapis.com/Room/ABC"
34+
*
35+
* @var string
36+
*/
37+
public $ghpParent;
2938
/**
3039
* Output only. The name of the relation -- e.g., structure/room where the
3140
* device is assigned to. For example: "enterprises/XYZ/structures/ABC" or
@@ -52,6 +61,25 @@ public function getDisplayName()
5261
{
5362
return $this->displayName;
5463
}
64+
/**
65+
* Output only. The GHP name of the relation -- e.g., structure/room where the
66+
* device is assigned to. For example:
67+
* "homegraph.googleapis.com/Structure/ABC" or
68+
* "homegraph.googleapis.com/Room/ABC"
69+
*
70+
* @param string $ghpParent
71+
*/
72+
public function setGhpParent($ghpParent)
73+
{
74+
$this->ghpParent = $ghpParent;
75+
}
76+
/**
77+
* @return string
78+
*/
79+
public function getGhpParent()
80+
{
81+
return $this->ghpParent;
82+
}
5583
/**
5684
* Output only. The name of the relation -- e.g., structure/room where the
5785
* device is assigned to. For example: "enterprises/XYZ/structures/ABC" or

src/SmartDeviceManagement/GoogleHomeEnterpriseSdmV1Structure.php

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

2020
class GoogleHomeEnterpriseSdmV1Structure extends \Google\Model
2121
{
22+
/**
23+
* Output only. The unique identifier for the structure in Google Home
24+
* Platform. Format: homegraph.googleapis.com/Structure/{structure_id}
25+
*
26+
* @var string
27+
*/
28+
public $ghpName;
2229
/**
2330
* Output only. The resource name of the structure. For example:
2431
* "enterprises/XYZ/structures/ABC".
@@ -33,6 +40,23 @@ class GoogleHomeEnterpriseSdmV1Structure extends \Google\Model
3340
*/
3441
public $traits;
3542

43+
/**
44+
* Output only. The unique identifier for the structure in Google Home
45+
* Platform. Format: homegraph.googleapis.com/Structure/{structure_id}
46+
*
47+
* @param string $ghpName
48+
*/
49+
public function setGhpName($ghpName)
50+
{
51+
$this->ghpName = $ghpName;
52+
}
53+
/**
54+
* @return string
55+
*/
56+
public function getGhpName()
57+
{
58+
return $this->ghpName;
59+
}
3660
/**
3761
* Output only. The resource name of the structure. For example:
3862
* "enterprises/XYZ/structures/ABC".

0 commit comments

Comments
 (0)