Skip to content

Commit 2d1257d

Browse files
yoshi-automationsofisl
authored andcommittedAug 15, 2023
feat(artifactregistry): update the API
#### artifactregistry:v1 The following keys were added: - schemas.AptRepository.description - schemas.AptRepository.id - schemas.AptRepository.properties.publicRepository.$ref - schemas.AptRepository.properties.publicRepository.description - schemas.AptRepository.type - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository.description - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository.id - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository.properties.repositoryBase.description - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository.properties.repositoryBase.enum - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository.properties.repositoryBase.enumDescriptions - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository.properties.repositoryBase.type - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository.properties.repositoryPath.description - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository.properties.repositoryPath.type - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository.type - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository.description - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository.id - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository.properties.repositoryBase.description - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository.properties.repositoryBase.enum - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository.properties.repositoryBase.enumDescriptions - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository.properties.repositoryBase.type - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository.properties.repositoryPath.description - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository.properties.repositoryPath.type - schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository.type - schemas.RemoteRepositoryConfig.properties.aptRepository.$ref - schemas.RemoteRepositoryConfig.properties.aptRepository.description - schemas.RemoteRepositoryConfig.properties.yumRepository.$ref - schemas.RemoteRepositoryConfig.properties.yumRepository.description - schemas.YumRepository.description - schemas.YumRepository.id - schemas.YumRepository.properties.publicRepository.$ref - schemas.YumRepository.properties.publicRepository.description - schemas.YumRepository.type
1 parent a8d4c48 commit 2d1257d

File tree

2 files changed

+141
-1
lines changed

2 files changed

+141
-1
lines changed
 

‎discovery/artifactregistry-v1.json

+89-1
Original file line numberDiff line numberDiff line change
@@ -1661,7 +1661,7 @@
16611661
}
16621662
}
16631663
},
1664-
"revision": "20230803",
1664+
"revision": "20230809",
16651665
"rootUrl": "https://artifactregistry.googleapis.com/",
16661666
"schemas": {
16671667
"AptArtifact": {
@@ -1712,6 +1712,17 @@
17121712
},
17131713
"type": "object"
17141714
},
1715+
"AptRepository": {
1716+
"description": "Configuration for an Apt remote repository.",
1717+
"id": "AptRepository",
1718+
"properties": {
1719+
"publicRepository": {
1720+
"$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository",
1721+
"description": "One of the publicly available Apt repositories supported by Artifact Registry."
1722+
}
1723+
},
1724+
"type": "object"
1725+
},
17151726
"BatchDeleteVersionsMetadata": {
17161727
"description": "The metadata of an LRO from deleting multiple versions.",
17171728
"id": "BatchDeleteVersionsMetadata",
@@ -2078,6 +2089,64 @@
20782089
},
20792090
"type": "object"
20802091
},
2092+
"GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository": {
2093+
"description": "Publicly available Apt repositories constructed from a common repository base and a custom repository path.",
2094+
"id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository",
2095+
"properties": {
2096+
"repositoryBase": {
2097+
"description": "A common public repository base for Apt.",
2098+
"enum": [
2099+
"REPOSITORY_BASE_UNSPECIFIED",
2100+
"DEBIAN",
2101+
"UBUNTU"
2102+
],
2103+
"enumDescriptions": [
2104+
"Unspecified repository base.",
2105+
"Debian.",
2106+
"Ubuntu LTS/Pro."
2107+
],
2108+
"type": "string"
2109+
},
2110+
"repositoryPath": {
2111+
"description": "A custom field to define a path to a specific repository from the base.",
2112+
"type": "string"
2113+
}
2114+
},
2115+
"type": "object"
2116+
},
2117+
"GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository": {
2118+
"description": "Publicly available Yum repositories constructed from a common repository base and a custom repository path.",
2119+
"id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository",
2120+
"properties": {
2121+
"repositoryBase": {
2122+
"description": "A common public repository base for Yum.",
2123+
"enum": [
2124+
"REPOSITORY_BASE_UNSPECIFIED",
2125+
"CENTOS",
2126+
"CENTOS_DEBUG",
2127+
"CENTOS_VAULT",
2128+
"CENTOS_STREAM",
2129+
"ROCKY",
2130+
"EPEL"
2131+
],
2132+
"enumDescriptions": [
2133+
"Unspecified repository base.",
2134+
"CentOS.",
2135+
"CentOS Debug.",
2136+
"CentOS Vault.",
2137+
"CentOS Stream.",
2138+
"Rocky.",
2139+
"Fedora Extra Packages for Enterprise Linux (EPEL)."
2140+
],
2141+
"type": "string"
2142+
},
2143+
"repositoryPath": {
2144+
"description": "A custom field to define a path to a specific repository from the base.",
2145+
"type": "string"
2146+
}
2147+
},
2148+
"type": "object"
2149+
},
20812150
"Hash": {
20822151
"description": "A hash of file content.",
20832152
"id": "Hash",
@@ -2868,6 +2937,10 @@
28682937
"description": "Remote repository configuration.",
28692938
"id": "RemoteRepositoryConfig",
28702939
"properties": {
2940+
"aptRepository": {
2941+
"$ref": "AptRepository",
2942+
"description": "Specific settings for an Apt remote repository."
2943+
},
28712944
"description": {
28722945
"description": "The description of the remote source.",
28732946
"type": "string"
@@ -2887,6 +2960,10 @@
28872960
"pythonRepository": {
28882961
"$ref": "PythonRepository",
28892962
"description": "Specific settings for a Python remote repository."
2963+
},
2964+
"yumRepository": {
2965+
"$ref": "YumRepository",
2966+
"description": "Specific settings for a Yum remote repository."
28902967
}
28912968
},
28922969
"type": "object"
@@ -3428,6 +3505,17 @@
34283505
}
34293506
},
34303507
"type": "object"
3508+
},
3509+
"YumRepository": {
3510+
"description": "Configuration for a Yum remote repository.",
3511+
"id": "YumRepository",
3512+
"properties": {
3513+
"publicRepository": {
3514+
"$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository",
3515+
"description": "One of the publicly available Yum repositories supported by Artifact Registry."
3516+
}
3517+
},
3518+
"type": "object"
34313519
}
34323520
},
34333521
"servicePath": "",

‎src/apis/artifactregistry/v1.ts

+52
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,15 @@ export namespace artifactregistry_v1 {
153153
*/
154154
packageType?: string | null;
155155
}
156+
/**
157+
* Configuration for an Apt remote repository.
158+
*/
159+
export interface Schema$AptRepository {
160+
/**
161+
* One of the publicly available Apt repositories supported by Artifact Registry.
162+
*/
163+
publicRepository?: Schema$GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository;
164+
}
156165
/**
157166
* The metadata of an LRO from deleting multiple versions.
158167
*/
@@ -410,6 +419,32 @@ export namespace artifactregistry_v1 {
410419
*/
411420
updateTime?: string | null;
412421
}
422+
/**
423+
* Publicly available Apt repositories constructed from a common repository base and a custom repository path.
424+
*/
425+
export interface Schema$GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository {
426+
/**
427+
* A common public repository base for Apt.
428+
*/
429+
repositoryBase?: string | null;
430+
/**
431+
* A custom field to define a path to a specific repository from the base.
432+
*/
433+
repositoryPath?: string | null;
434+
}
435+
/**
436+
* Publicly available Yum repositories constructed from a common repository base and a custom repository path.
437+
*/
438+
export interface Schema$GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository {
439+
/**
440+
* A common public repository base for Yum.
441+
*/
442+
repositoryBase?: string | null;
443+
/**
444+
* A custom field to define a path to a specific repository from the base.
445+
*/
446+
repositoryPath?: string | null;
447+
}
413448
/**
414449
* A hash of file content.
415450
*/
@@ -962,6 +997,10 @@ export namespace artifactregistry_v1 {
962997
* Remote repository configuration.
963998
*/
964999
export interface Schema$RemoteRepositoryConfig {
1000+
/**
1001+
* Specific settings for an Apt remote repository.
1002+
*/
1003+
aptRepository?: Schema$AptRepository;
9651004
/**
9661005
* The description of the remote source.
9671006
*/
@@ -982,6 +1021,10 @@ export namespace artifactregistry_v1 {
9821021
* Specific settings for a Python remote repository.
9831022
*/
9841023
pythonRepository?: Schema$PythonRepository;
1024+
/**
1025+
* Specific settings for a Yum remote repository.
1026+
*/
1027+
yumRepository?: Schema$YumRepository;
9851028
}
9861029
/**
9871030
* A Repository for storing artifacts with a specific format.
@@ -1336,6 +1379,15 @@ export namespace artifactregistry_v1 {
13361379
*/
13371380
packageType?: string | null;
13381381
}
1382+
/**
1383+
* Configuration for a Yum remote repository.
1384+
*/
1385+
export interface Schema$YumRepository {
1386+
/**
1387+
* One of the publicly available Yum repositories supported by Artifact Registry.
1388+
*/
1389+
publicRepository?: Schema$GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository;
1390+
}
13391391

13401392
export class Resource$Projects {
13411393
context: APIRequestContext;

0 commit comments

Comments
 (0)
Please sign in to comment.