Skip to content

Commit ad43a67

Browse files
yoshi-automationsofisl
authored andcommitted
feat(artifactregistry): update the API
#### artifactregistry:v1beta1 The following keys were added: - schemas.Repository.properties.createTime.readOnly - schemas.Repository.properties.updateTime.readOnly The following keys were changed: - schemas.Repository.properties.createTime.description - schemas.Repository.properties.updateTime.description #### artifactregistry:v1beta2 The following keys were added: - schemas.Repository.properties.createTime.readOnly - schemas.Repository.properties.updateTime.readOnly The following keys were changed: - schemas.Repository.properties.createTime.description - schemas.Repository.properties.updateTime.description #### artifactregistry:v1 The following keys were added: - schemas.DockerRepositoryConfig.description - schemas.DockerRepositoryConfig.id - schemas.DockerRepositoryConfig.properties.immutableTags.description - schemas.DockerRepositoryConfig.properties.immutableTags.type - schemas.DockerRepositoryConfig.type - schemas.Repository.properties.createTime.readOnly - schemas.Repository.properties.dockerConfig.$ref - schemas.Repository.properties.dockerConfig.description - schemas.Repository.properties.updateTime.readOnly The following keys were changed: - schemas.KfpArtifact.description - schemas.Repository.properties.createTime.description - schemas.Repository.properties.updateTime.description
1 parent ec95215 commit ad43a67

File tree

5 files changed

+53
-15
lines changed

5 files changed

+53
-15
lines changed

discovery/artifactregistry-v1.json

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,7 @@
15171517
}
15181518
}
15191519
},
1520-
"revision": "20230208",
1520+
"revision": "20230313",
15211521
"rootUrl": "https://artifactregistry.googleapis.com/",
15221522
"schemas": {
15231523
"AptArtifact": {
@@ -1670,6 +1670,17 @@
16701670
},
16711671
"type": "object"
16721672
},
1673+
"DockerRepositoryConfig": {
1674+
"description": "DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type.",
1675+
"id": "DockerRepositoryConfig",
1676+
"properties": {
1677+
"immutableTags": {
1678+
"description": "The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.",
1679+
"type": "boolean"
1680+
}
1681+
},
1682+
"type": "object"
1683+
},
16731684
"Empty": {
16741685
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
16751686
"id": "Empty",
@@ -1913,7 +1924,7 @@
19131924
"type": "object"
19141925
},
19151926
"KfpArtifact": {
1916-
"description": "A detailed representation of a GooGet artifact.",
1927+
"description": "A detailed representation of a KFP artifact.",
19171928
"id": "KfpArtifact",
19181929
"properties": {
19191930
"name": {
@@ -2485,14 +2496,19 @@
24852496
"id": "Repository",
24862497
"properties": {
24872498
"createTime": {
2488-
"description": "The time when the repository was created.",
2499+
"description": "Output only. The time when the repository was created.",
24892500
"format": "google-datetime",
2501+
"readOnly": true,
24902502
"type": "string"
24912503
},
24922504
"description": {
24932505
"description": "The user-provided description of the repository.",
24942506
"type": "string"
24952507
},
2508+
"dockerConfig": {
2509+
"$ref": "DockerRepositoryConfig",
2510+
"description": "Docker repository config contains repository level configuration for the repositories of docker type."
2511+
},
24962512
"format": {
24972513
"description": "The format of packages that are stored in the repository.",
24982514
"enum": [
@@ -2568,8 +2584,9 @@
25682584
"type": "string"
25692585
},
25702586
"updateTime": {
2571-
"description": "The time when the repository was last updated.",
2587+
"description": "Output only. The time when the repository was last updated.",
25722588
"format": "google-datetime",
2589+
"readOnly": true,
25732590
"type": "string"
25742591
},
25752592
"virtualRepositoryConfig": {

discovery/artifactregistry-v1beta1.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@
929929
}
930930
}
931931
},
932-
"revision": "20230208",
932+
"revision": "20230313",
933933
"rootUrl": "https://artifactregistry.googleapis.com/",
934934
"schemas": {
935935
"Binding": {
@@ -1279,8 +1279,9 @@
12791279
"id": "Repository",
12801280
"properties": {
12811281
"createTime": {
1282-
"description": "The time when the repository was created.",
1282+
"description": "Output only. The time when the repository was created.",
12831283
"format": "google-datetime",
1284+
"readOnly": true,
12841285
"type": "string"
12851286
},
12861287
"description": {
@@ -1336,8 +1337,9 @@
13361337
"type": "string"
13371338
},
13381339
"updateTime": {
1339-
"description": "The time when the repository was last updated.",
1340+
"description": "Output only. The time when the repository was last updated.",
13401341
"format": "google-datetime",
1342+
"readOnly": true,
13411343
"type": "string"
13421344
}
13431345
},

discovery/artifactregistry-v1beta2.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@
11351135
}
11361136
}
11371137
},
1138-
"revision": "20230208",
1138+
"revision": "20230313",
11391139
"rootUrl": "https://artifactregistry.googleapis.com/",
11401140
"schemas": {
11411141
"AptArtifact": {
@@ -1733,8 +1733,9 @@
17331733
"id": "Repository",
17341734
"properties": {
17351735
"createTime": {
1736-
"description": "The time when the repository was created.",
1736+
"description": "Output only. The time when the repository was created.",
17371737
"format": "google-datetime",
1738+
"readOnly": true,
17381739
"type": "string"
17391740
},
17401741
"description": {
@@ -1794,8 +1795,9 @@
17941795
"type": "string"
17951796
},
17961797
"updateTime": {
1797-
"description": "The time when the repository was last updated.",
1798+
"description": "Output only. The time when the repository was last updated.",
17981799
"format": "google-datetime",
1800+
"readOnly": true,
17991801
"type": "string"
18001802
}
18011803
},

src/apis/artifactregistry/v1.ts

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,15 @@ export namespace artifactregistry_v1 {
225225
*/
226226
publicRepository?: string | null;
227227
}
228+
/**
229+
* DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type.
230+
*/
231+
export interface Schema$DockerRepositoryConfig {
232+
/**
233+
* The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
234+
*/
235+
immutableTags?: boolean | null;
236+
}
228237
/**
229238
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
230239
*/
@@ -401,7 +410,7 @@ export namespace artifactregistry_v1 {
401410
yumArtifacts?: Schema$YumArtifact[];
402411
}
403412
/**
404-
* A detailed representation of a GooGet artifact.
413+
* A detailed representation of a KFP artifact.
405414
*/
406415
export interface Schema$KfpArtifact {
407416
/**
@@ -809,13 +818,17 @@ export namespace artifactregistry_v1 {
809818
*/
810819
export interface Schema$Repository {
811820
/**
812-
* The time when the repository was created.
821+
* Output only. The time when the repository was created.
813822
*/
814823
createTime?: string | null;
815824
/**
816825
* The user-provided description of the repository.
817826
*/
818827
description?: string | null;
828+
/**
829+
* Docker repository config contains repository level configuration for the repositories of docker type.
830+
*/
831+
dockerConfig?: Schema$DockerRepositoryConfig;
819832
/**
820833
* The format of packages that are stored in the repository.
821834
*/
@@ -853,7 +866,7 @@ export namespace artifactregistry_v1 {
853866
*/
854867
sizeBytes?: string | null;
855868
/**
856-
* The time when the repository was last updated.
869+
* Output only. The time when the repository was last updated.
857870
*/
858871
updateTime?: string | null;
859872
/**
@@ -2233,6 +2246,7 @@ export namespace artifactregistry_v1 {
22332246
* // {
22342247
* // "createTime": "my_createTime",
22352248
* // "description": "my_description",
2249+
* // "dockerConfig": {},
22362250
* // "format": "my_format",
22372251
* // "kmsKeyName": "my_kmsKeyName",
22382252
* // "labels": {},
@@ -2521,6 +2535,7 @@ export namespace artifactregistry_v1 {
25212535
* // {
25222536
* // "createTime": "my_createTime",
25232537
* // "description": "my_description",
2538+
* // "dockerConfig": {},
25242539
* // "format": "my_format",
25252540
* // "kmsKeyName": "my_kmsKeyName",
25262541
* // "labels": {},
@@ -2945,6 +2960,7 @@ export namespace artifactregistry_v1 {
29452960
* // {
29462961
* // "createTime": "my_createTime",
29472962
* // "description": "my_description",
2963+
* // "dockerConfig": {},
29482964
* // "format": "my_format",
29492965
* // "kmsKeyName": "my_kmsKeyName",
29502966
* // "labels": {},
@@ -2965,6 +2981,7 @@ export namespace artifactregistry_v1 {
29652981
* // {
29662982
* // "createTime": "my_createTime",
29672983
* // "description": "my_description",
2984+
* // "dockerConfig": {},
29682985
* // "format": "my_format",
29692986
* // "kmsKeyName": "my_kmsKeyName",
29702987
* // "labels": {},

src/apis/artifactregistry/v1beta1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ export namespace artifactregistry_v1beta1 {
379379
*/
380380
export interface Schema$Repository {
381381
/**
382-
* The time when the repository was created.
382+
* Output only. The time when the repository was created.
383383
*/
384384
createTime?: string | null;
385385
/**
@@ -411,7 +411,7 @@ export namespace artifactregistry_v1beta1 {
411411
*/
412412
sizeBytes?: string | null;
413413
/**
414-
* The time when the repository was last updated.
414+
* Output only. The time when the repository was last updated.
415415
*/
416416
updateTime?: string | null;
417417
}

0 commit comments

Comments
 (0)