Skip to content

Commit

Permalink
feat(sts)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### sts:v1beta

The following keys were deleted:
- schemas.GoogleIdentityStsV1Options.properties.audiences.description
- schemas.GoogleIdentityStsV1Options.properties.audiences.items.type
- schemas.GoogleIdentityStsV1Options.properties.audiences.type
- schemas.GoogleIdentityStsV1betaOptions.properties.audiences.description
- schemas.GoogleIdentityStsV1betaOptions.properties.audiences.items.type
- schemas.GoogleIdentityStsV1betaOptions.properties.audiences.type

#### sts:v1

The following keys were deleted:
- schemas.GoogleIdentityStsV1Options.properties.audiences.description
- schemas.GoogleIdentityStsV1Options.properties.audiences.items.type
- schemas.GoogleIdentityStsV1Options.properties.audiences.type
- schemas.GoogleIdentityStsV1betaOptions.properties.audiences.description
- schemas.GoogleIdentityStsV1betaOptions.properties.audiences.items.type
- schemas.GoogleIdentityStsV1betaOptions.properties.audiences.type
  • Loading branch information
yoshi-automation authored and sofisl committed May 7, 2024
1 parent 5a509c1 commit 9f4b7de
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 46 deletions.
16 changes: 1 addition & 15 deletions discovery/sts-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
}
}
},
"revision": "20240417",
"revision": "20240425",
"rootUrl": "https://sts.googleapis.com/",
"schemas": {
"GoogleIamV1Binding": {
Expand Down Expand Up @@ -244,13 +244,6 @@
"$ref": "GoogleIdentityStsV1AccessBoundary",
"description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters."
},
"audiences": {
"description": "The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `[\"https://pubsub.googleapis.com/\", \"https://storage.googleapis.com/\"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.",
"items": {
"type": "string"
},
"type": "array"
},
"userProject": {
"description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.",
"type": "string"
Expand Down Expand Up @@ -302,13 +295,6 @@
"$ref": "GoogleIdentityStsV1betaAccessBoundary",
"description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters."
},
"audiences": {
"description": "The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `[\"https://pubsub.googleapis.com/\", \"https://storage.googleapis.com/\"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.",
"items": {
"type": "string"
},
"type": "array"
},
"userProject": {
"description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.",
"type": "string"
Expand Down
16 changes: 1 addition & 15 deletions discovery/sts-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
}
}
},
"revision": "20240129",
"revision": "20240425",
"rootUrl": "https://sts.googleapis.com/",
"schemas": {
"GoogleIamV1Binding": {
Expand Down Expand Up @@ -185,13 +185,6 @@
"$ref": "GoogleIdentityStsV1AccessBoundary",
"description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters."
},
"audiences": {
"description": "The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `[\"https://pubsub.googleapis.com/\", \"https://storage.googleapis.com/\"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.",
"items": {
"type": "string"
},
"type": "array"
},
"userProject": {
"description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.",
"type": "string"
Expand Down Expand Up @@ -302,13 +295,6 @@
"$ref": "GoogleIdentityStsV1betaAccessBoundary",
"description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters."
},
"audiences": {
"description": "The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `[\"https://pubsub.googleapis.com/\", \"https://storage.googleapis.com/\"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.",
"items": {
"type": "string"
},
"type": "array"
},
"userProject": {
"description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.",
"type": "string"
Expand Down
8 changes: 0 additions & 8 deletions src/apis/sts/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,6 @@ export namespace sts_v1 {
* An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters.
*/
accessBoundary?: Schema$GoogleIdentityStsV1betaAccessBoundary;
/**
* The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.
*/
audiences?: string[] | null;
/**
* A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.
*/
Expand Down Expand Up @@ -272,10 +268,6 @@ export namespace sts_v1 {
* An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters.
*/
accessBoundary?: Schema$GoogleIdentityStsV1AccessBoundary;
/**
* The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.
*/
audiences?: string[] | null;
/**
* A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.
*/
Expand Down
8 changes: 0 additions & 8 deletions src/apis/sts/v1beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,6 @@ export namespace sts_v1beta {
* An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters.
*/
accessBoundary?: Schema$GoogleIdentityStsV1betaAccessBoundary;
/**
* The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.
*/
audiences?: string[] | null;
/**
* A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.
*/
Expand All @@ -272,10 +268,6 @@ export namespace sts_v1beta {
* An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters.
*/
accessBoundary?: Schema$GoogleIdentityStsV1AccessBoundary;
/**
* The intended audience(s) of the credential. The audience value(s) should be the name(s) of services intended to receive the credential. Example: `["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]`. A maximum of 5 audiences can be included. For each provided audience, the maximum length is 262 characters.
*/
audiences?: string[] | null;
/**
* A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.
*/
Expand Down

0 comments on commit 9f4b7de

Please sign in to comment.