Skip to content

Commit

Permalink
feat(apigeeregistry): update the API
Browse files Browse the repository at this point in the history
#### apigeeregistry:v1

The following keys were added:
- schemas.Build.description
- schemas.Build.id
- schemas.Build.properties.commitId.description
- schemas.Build.properties.commitId.readOnly
- schemas.Build.properties.commitId.type
- schemas.Build.properties.commitTime.description
- schemas.Build.properties.commitTime.format
- schemas.Build.properties.commitTime.readOnly
- schemas.Build.properties.commitTime.type
- schemas.Build.properties.repo.description
- schemas.Build.properties.repo.readOnly
- schemas.Build.properties.repo.type
- schemas.Build.type
- schemas.Instance.properties.build.$ref
- schemas.Instance.properties.build.description
- schemas.Instance.properties.build.readOnly

The following keys were changed:
- schemas.Binding.properties.members.description
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 9, 2023
1 parent df258eb commit 3d95738
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 3 deletions.
32 changes: 30 additions & 2 deletions discovery/apigeeregistry-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3181,7 +3181,7 @@
}
}
},
"revision": "20230118",
"revision": "20230127",
"rootUrl": "https://apigeeregistry.googleapis.com/",
"schemas": {
"Api": {
Expand Down Expand Up @@ -3516,7 +3516,7 @@
"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ",
"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.",
"items": {
"type": "string"
},
Expand All @@ -3529,6 +3529,29 @@
},
"type": "object"
},
"Build": {
"description": "Build information of the Instance if it's in `ACTIVE` state.",
"id": "Build",
"properties": {
"commitId": {
"description": "Output only. Commit ID of the latest commit in the build.",
"readOnly": true,
"type": "string"
},
"commitTime": {
"description": "Output only. Commit time of the latest commit in the build.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"repo": {
"description": "Output only. Path of the open source repository: github.com/apigee/registry.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"CancelOperationRequest": {
"description": "The request message for Operations.CancelOperation.",
"id": "CancelOperationRequest",
Expand Down Expand Up @@ -3611,6 +3634,11 @@
"description": "An Instance represents the instance resources of the Registry. Currently, only one instance is allowed for each project.",
"id": "Instance",
"properties": {
"build": {
"$ref": "Build",
"description": "Output only. Build info of the Instance if it's in `ACTIVE` state.",
"readOnly": true
},
"config": {
"$ref": "Config",
"description": "Required. Config of the Instance."
Expand Down
25 changes: 24 additions & 1 deletion src/apis/apigeeregistry/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,14 +382,31 @@ export namespace apigeeregistry_v1 {
*/
condition?: Schema$Expr;
/**
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding.
*/
members?: string[] | null;
/**
* Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
*/
role?: string | null;
}
/**
* Build information of the Instance if it's in `ACTIVE` state.
*/
export interface Schema$Build {
/**
* Output only. Commit ID of the latest commit in the build.
*/
commitId?: string | null;
/**
* Output only. Commit time of the latest commit in the build.
*/
commitTime?: string | null;
/**
* Output only. Path of the open source repository: github.com/apigee/registry.
*/
repo?: string | null;
}
/**
* The request message for Operations.CancelOperation.
*/
Expand Down Expand Up @@ -453,6 +470,10 @@ export namespace apigeeregistry_v1 {
* An Instance represents the instance resources of the Registry. Currently, only one instance is allowed for each project.
*/
export interface Schema$Instance {
/**
* Output only. Build info of the Instance if it's in `ACTIVE` state.
*/
build?: Schema$Build;
/**
* Required. Config of the Instance.
*/
Expand Down Expand Up @@ -14272,6 +14293,7 @@ export namespace apigeeregistry_v1 {
* requestBody: {
* // request body parameters
* // {
* // "build": {},
* // "config": {},
* // "createTime": "my_createTime",
* // "name": "my_name",
Expand Down Expand Up @@ -14550,6 +14572,7 @@ export namespace apigeeregistry_v1 {
*
* // Example response
* // {
* // "build": {},
* // "config": {},
* // "createTime": "my_createTime",
* // "name": "my_name",
Expand Down

0 comments on commit 3d95738

Please sign in to comment.