    

 ## On this page

  

 

 # asset\_preparation::v2::sky::SkyPreparation Class Reference

 Last update: 16.07.2025 

Sky Preparation Service. [More...](a01055.xhtml#details)

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

[CreateSkyResponse](a01063.xhtml) [CreateSky](a01055.xhtml#abf46ce0532774ada64653c174c4d31aa) ([CreateSkyRequest](a01059.xhtml)) [GetSkyResponse](a01071.xhtml) [GetSky](a01055.xhtml#a3e7b2fcfb2f314a375a45c4b8e829673) ([GetSkyRequest](a01067.xhtml)) [ListSkiesResponse](a01075.xhtml) [ListSkies](a01055.xhtml#a17edb4dfc1ee781e24d3f7026bedc791) (google::protobuf::Empty) [UpdateSkyResponse](a01083.xhtml) [UpdateSky](a01055.xhtml#ac35eaf40efb2c27e8a5b4cf6c3c5569e) ([UpdateSkyRequest](a01079.xhtml)) [DeleteSkyResponse](a01091.xhtml) [DeleteSky](a01055.xhtml#ad26f8950317461a4b33c810b056bd59f) ([DeleteSkyRequest](a01087.xhtml)) <a id="details" name="details"></a>## Detailed Description

Sky Preparation Service.

This service is used to create, edit and manage skies.



## Member Function Documentation

<a id="abf46ce0532774ada64653c174c4d31aa"></a>## [◆ ](#abf46ce0532774ada64653c174c4d31aa)CreateSky()

 [CreateSkyResponse](a01063.xhtml) asset\_preparation::v2::sky::SkyPreparation::CreateSky  ( [CreateSkyRequest](a01059.xhtml)  ) 

Creates a new sky with an optional name and type.

NoteNames must be unique amongst skies.If unspecified, default values are used.Returns the identifier of the created sky.





<a id="ad26f8950317461a4b33c810b056bd59f"></a>## [◆ ](#ad26f8950317461a4b33c810b056bd59f)DeleteSky()

 [DeleteSkyResponse](a01091.xhtml) asset\_preparation::v2::sky::SkyPreparation::DeleteSky  ( [DeleteSkyRequest](a01087.xhtml)  ) 

Deletes a sky, given its identifier.

NoteIf you delete a sky that is set as the active\_sky in an environment, the environment is updated with the default sky set as the active sky. 



<a id="a3e7b2fcfb2f314a375a45c4b8e829673"></a>## [◆ ](#a3e7b2fcfb2f314a375a45c4b8e829673)GetSky()

 [GetSkyResponse](a01071.xhtml) asset\_preparation::v2::sky::SkyPreparation::GetSky  ( [GetSkyRequest](a01067.xhtml)  ) 

Gets the properties of a sky, given its identifier.

Returns the sky properties.





<a id="a17edb4dfc1ee781e24d3f7026bedc791"></a>## [◆ ](#a17edb4dfc1ee781e24d3f7026bedc791)ListSkies()

 [ListSkiesResponse](a01075.xhtml) asset\_preparation::v2::sky::SkyPreparation::ListSkies  ( google::protobuf::Empty  ) 

Lists all the created skies.

Returns the identifiers and names of the skies.





<a id="ac35eaf40efb2c27e8a5b4cf6c3c5569e"></a>## [◆ ](#ac35eaf40efb2c27e8a5b4cf6c3c5569e)UpdateSky()

 [UpdateSkyResponse](a01083.xhtml) asset\_preparation::v2::sky::SkyPreparation::UpdateSky  ( [UpdateSkyRequest](a01079.xhtml)  ) 

Edits the properties of a sky, given its identifier.

NoteNames must be unique amongst skies. 



---

The documentation for this class was generated from the following file:- sky.proto