Skip to content

Commit

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

The following keys were added:
- resources.billingAccounts.resources.skus.resources.prices.methods.list.description
- resources.billingAccounts.resources.skus.resources.prices.methods.list.flatPath
- resources.billingAccounts.resources.skus.resources.prices.methods.list.httpMethod
- resources.billingAccounts.resources.skus.resources.prices.methods.list.id
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameterOrder
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.currencyCode.description
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.currencyCode.location
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.currencyCode.type
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.pageSize.description
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.pageSize.format
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.pageSize.location
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.pageSize.type
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.pageToken.description
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.pageToken.location
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.pageToken.type
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.parent.description
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.parent.location
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.parent.pattern
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.parent.required
- resources.billingAccounts.resources.skus.resources.prices.methods.list.parameters.parent.type
- resources.billingAccounts.resources.skus.resources.prices.methods.list.path
- resources.billingAccounts.resources.skus.resources.prices.methods.list.response.$ref
- resources.billingAccounts.resources.skus.resources.prices.methods.list.scopes
- resources.skus.resources.prices.methods.list.description
- resources.skus.resources.prices.methods.list.flatPath
- resources.skus.resources.prices.methods.list.httpMethod
- resources.skus.resources.prices.methods.list.id
- resources.skus.resources.prices.methods.list.parameterOrder
- resources.skus.resources.prices.methods.list.parameters.currencyCode.description
- resources.skus.resources.prices.methods.list.parameters.currencyCode.location
- resources.skus.resources.prices.methods.list.parameters.currencyCode.type
- resources.skus.resources.prices.methods.list.parameters.pageSize.description
- resources.skus.resources.prices.methods.list.parameters.pageSize.format
- resources.skus.resources.prices.methods.list.parameters.pageSize.location
- resources.skus.resources.prices.methods.list.parameters.pageSize.type
- resources.skus.resources.prices.methods.list.parameters.pageToken.description
- resources.skus.resources.prices.methods.list.parameters.pageToken.location
- resources.skus.resources.prices.methods.list.parameters.pageToken.type
- resources.skus.resources.prices.methods.list.parameters.parent.description
- resources.skus.resources.prices.methods.list.parameters.parent.location
- resources.skus.resources.prices.methods.list.parameters.parent.pattern
- resources.skus.resources.prices.methods.list.parameters.parent.required
- resources.skus.resources.prices.methods.list.parameters.parent.type
- resources.skus.resources.prices.methods.list.path
- resources.skus.resources.prices.methods.list.response.$ref
- resources.skus.resources.prices.methods.list.scopes
- schemas.GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse.description
- schemas.GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse.id
- schemas.GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse.properties.billingAccountPrices.description
- schemas.GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse.properties.billingAccountPrices.items.$ref
- schemas.GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse.properties.billingAccountPrices.type
- schemas.GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse.properties.nextPageToken.description
- schemas.GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse.properties.nextPageToken.type
- schemas.GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse.type
- schemas.GoogleCloudBillingPricesV1betaListPricesResponse.description
- schemas.GoogleCloudBillingPricesV1betaListPricesResponse.id
- schemas.GoogleCloudBillingPricesV1betaListPricesResponse.properties.nextPageToken.description
- schemas.GoogleCloudBillingPricesV1betaListPricesResponse.properties.nextPageToken.type
- schemas.GoogleCloudBillingPricesV1betaListPricesResponse.properties.prices.description
- schemas.GoogleCloudBillingPricesV1betaListPricesResponse.properties.prices.items.$ref
- schemas.GoogleCloudBillingPricesV1betaListPricesResponse.properties.prices.type
- schemas.GoogleCloudBillingPricesV1betaListPricesResponse.type

The following keys were changed:
- schemas.CloudCdnEgressWorkload.description
- schemas.CloudCdnEgressWorkload.properties.cacheEgressDestination.description
- schemas.CloudCdnEgressWorkload.properties.cacheEgressRate.description
- schemas.CloudInterconnectEgressWorkload.description
- schemas.CloudInterconnectEgressWorkload.properties.egressRate.description
- schemas.CloudInterconnectEgressWorkload.properties.interconnectConnectionLocation.description
- schemas.CloudStorageEgressWorkload.description
- schemas.CloudStorageEgressWorkload.properties.egressRate.description
- schemas.CloudStorageWorkload.properties.dataRetrieval.description
- schemas.CloudStorageWorkload.properties.dataStored.description
- schemas.InterRegionEgress.description
- schemas.InterRegionEgress.properties.destinationRegion.description
- schemas.InterRegionEgress.properties.egressRate.description
- schemas.InterRegionEgress.properties.sourceRegion.description
- schemas.IntraRegionEgress.description
- schemas.IntraRegionEgress.properties.egressRate.description
- schemas.PremiumTierEgressWorkload.description
- schemas.PremiumTierEgressWorkload.properties.egressRate.description
- schemas.PremiumTierEgressWorkload.properties.sourceRegion.description
- schemas.StandardTierEgressWorkload.description
- schemas.StandardTierEgressWorkload.properties.egressRate.description
- schemas.StandardTierEgressWorkload.properties.sourceRegion.description
- schemas.VmToVmEgressWorkload.description
- schemas.Workload.properties.cloudCdnEgressWorkload.description
- schemas.Workload.properties.cloudInterconnectEgressWorkload.description
- schemas.Workload.properties.cloudStorageEgressWorkload.description
- schemas.Workload.properties.premiumTierEgressWorkload.description
- schemas.Workload.properties.standardTierEgressWorkload.description
- schemas.Workload.properties.vmToVmEgressWorkload.description

#### cloudbilling:v1

The following keys were changed:
- resources.billingAccounts.methods.create.parameters.parent.description
- resources.billingAccounts.methods.list.parameters.filter.description
- resources.billingAccounts.methods.list.parameters.parent.description
- resources.billingAccounts.resources.subAccounts.methods.create.parameters.parent.description
- resources.billingAccounts.resources.subAccounts.methods.list.parameters.filter.description
- resources.billingAccounts.resources.subAccounts.methods.list.parameters.parent.description
- resources.organizations.resources.billingAccounts.methods.create.parameters.parent.description
- resources.organizations.resources.billingAccounts.methods.list.parameters.filter.description
- resources.organizations.resources.billingAccounts.methods.list.parameters.parent.description
- resources.organizations.resources.billingAccounts.methods.move.parameters.destinationParent.description
- schemas.BillingAccount.properties.open.description
- schemas.BillingAccount.properties.parent.description
- schemas.Binding.properties.members.description
- schemas.MoveBillingAccountRequest.properties.destinationParent.description
  • Loading branch information
yoshi-automation authored and sofisl committed Jan 3, 2024
1 parent 20a91d5 commit 857a51e
Show file tree
Hide file tree
Showing 4 changed files with 492 additions and 88 deletions.
30 changes: 15 additions & 15 deletions discovery/cloudbilling-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"parameterOrder": [],
"parameters": {
"parent": {
"description": "Optional. The parent to create a billing account from. Format: - organizations/{organization_id} eg organizations/12345678 - billingAccounts/{billing_account_id} eg `billingAccounts/012345-567890-ABCDEF`",
"description": "Optional. The parent to create a billing account from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`",
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -206,7 +206,7 @@
"parameterOrder": [],
"parameters": {
"filter": {
"description": "Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (e.g. \"master_billing_account=billingAccounts/012345-678901-ABCDEF\"). Boolean algebra and other fields are not currently supported.",
"description": "Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (for example, `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean algebra and other fields are not currently supported.",
"location": "query",
"type": "string"
},
Expand All @@ -222,7 +222,7 @@
"type": "string"
},
"parent": {
"description": "Optional. The parent resource to list billing accounts from. Format: - organizations/{organization_id} eg organizations/12345678 - billingAccounts/{billing_account_id} eg `billingAccounts/012345-567890-ABCDEF`",
"description": "Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`",
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -416,7 +416,7 @@
],
"parameters": {
"parent": {
"description": "Optional. The parent to create a billing account from. Format: - organizations/{organization_id} eg organizations/12345678 - billingAccounts/{billing_account_id} eg `billingAccounts/012345-567890-ABCDEF`",
"description": "Optional. The parent to create a billing account from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`",
"location": "path",
"pattern": "^billingAccounts/[^/]+$",
"required": true,
Expand Down Expand Up @@ -445,7 +445,7 @@
],
"parameters": {
"filter": {
"description": "Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (e.g. \"master_billing_account=billingAccounts/012345-678901-ABCDEF\"). Boolean algebra and other fields are not currently supported.",
"description": "Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (for example, `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean algebra and other fields are not currently supported.",
"location": "query",
"type": "string"
},
Expand All @@ -461,7 +461,7 @@
"type": "string"
},
"parent": {
"description": "Optional. The parent resource to list billing accounts from. Format: - organizations/{organization_id} eg organizations/12345678 - billingAccounts/{billing_account_id} eg `billingAccounts/012345-567890-ABCDEF`",
"description": "Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`",
"location": "path",
"pattern": "^billingAccounts/[^/]+$",
"required": true,
Expand Down Expand Up @@ -496,7 +496,7 @@
],
"parameters": {
"parent": {
"description": "Optional. The parent to create a billing account from. Format: - organizations/{organization_id} eg organizations/12345678 - billingAccounts/{billing_account_id} eg `billingAccounts/012345-567890-ABCDEF`",
"description": "Optional. The parent to create a billing account from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -525,7 +525,7 @@
],
"parameters": {
"filter": {
"description": "Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (e.g. \"master_billing_account=billingAccounts/012345-678901-ABCDEF\"). Boolean algebra and other fields are not currently supported.",
"description": "Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (for example, `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean algebra and other fields are not currently supported.",
"location": "query",
"type": "string"
},
Expand All @@ -541,7 +541,7 @@
"type": "string"
},
"parent": {
"description": "Optional. The parent resource to list billing accounts from. Format: - organizations/{organization_id} eg organizations/12345678 - billingAccounts/{billing_account_id} eg `billingAccounts/012345-567890-ABCDEF`",
"description": "Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -569,7 +569,7 @@
],
"parameters": {
"destinationParent": {
"description": "Required. The resource name of the Organization to reparent the billing account under. Must be of the form `organizations/{organization_id}`.",
"description": "Required. The resource name of the Organization to move the billing account under. Must be of the form `organizations/{organization_id}`.",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -751,7 +751,7 @@
}
}
},
"revision": "20231120",
"revision": "20231215",
"rootUrl": "https://cloudbilling.googleapis.com/",
"schemas": {
"AggregationInfo": {
Expand Down Expand Up @@ -858,12 +858,12 @@
"type": "string"
},
"open": {
"description": "Output only. True if the billing account is open, and will therefore be charged for any usage on associated projects. False if the billing account is closed, and therefore projects associated with it will be unable to use paid services.",
"description": "Output only. True if the billing account is open, and will therefore be charged for any usage on associated projects. False if the billing account is closed, and therefore projects associated with it are unable to use paid services.",
"readOnly": true,
"type": "boolean"
},
"parent": {
"description": "Output only. The billing account's parent resource identifier. Use the `MoveBillingAccount` method to update the account's parent resource if it is a organization. Format: - organizations/{organization_id}, for example: organizations/12345678 - billingAccounts/{billing_account_id}, for example: `billingAccounts/012345-567890-ABCDEF`",
"description": "Output only. The billing account's parent resource identifier. Use the `MoveBillingAccount` method to update the account's parent resource if it is a organization. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`",
"readOnly": true,
"type": "string"
}
Expand All @@ -879,7 +879,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`. * `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.",
"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`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `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. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -1066,7 +1066,7 @@
"id": "MoveBillingAccountRequest",
"properties": {
"destinationParent": {
"description": "Required. The resource name of the Organization to reparent the billing account under. Must be of the form `organizations/{organization_id}`.",
"description": "Required. The resource name of the Organization to move the billing account under. Must be of the form `organizations/{organization_id}`.",
"type": "string"
}
},
Expand Down
Loading

0 comments on commit 857a51e

Please sign in to comment.