Skip to content

Commit

Permalink
Update discovery documents and generated code
Browse files Browse the repository at this point in the history
automatically_generated_update
  • Loading branch information
amanda-tarafa authored and jskeet committed Oct 30, 2023
1 parent 8cc1a76 commit 737ab5c
Show file tree
Hide file tree
Showing 59 changed files with 2,526 additions and 364 deletions.
10 changes: 9 additions & 1 deletion DiscoveryJson/appengine_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@
}
}
},
"revision": "20231016",
"revision": "20231024",
"rootUrl": "https://appengine.googleapis.com/",
"schemas": {
"ApiConfigHandler": {
Expand Down Expand Up @@ -3829,6 +3829,14 @@
"$ref": "FlexibleRuntimeSettings",
"description": "Settings for App Engine flexible runtimes."
},
"generatedCustomerMetadata": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetVersionRequest",
"type": "object"
},
"handlers": {
"description": "An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.Only returned in GET requests if view=FULL is set.",
"items": {
Expand Down
7 changes: 4 additions & 3 deletions DiscoveryJson/assuredworkloads_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@
}
}
},
"revision": "20231017",
"revision": "20231023",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": {
Expand Down Expand Up @@ -1121,7 +1121,7 @@
"readOnly": true
},
"compliantButDisallowedServices": {
"description": "Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.\"",
"description": "Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.",
"items": {
"type": "string"
},
Expand All @@ -1140,7 +1140,8 @@
},
"ekmProvisioningResponse": {
"$ref": "GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse",
"description": "Optional. Represents the Ekm Provisioning State of the given workload."
"description": "Output only. Represents the Ekm Provisioning State of the given workload.",
"readOnly": true
},
"enableSovereignControls": {
"description": "Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.",
Expand Down
7 changes: 4 additions & 3 deletions DiscoveryJson/assuredworkloads_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@
}
}
},
"revision": "20230914",
"revision": "20231023",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": {
Expand Down Expand Up @@ -1167,7 +1167,7 @@
"readOnly": true
},
"compliantButDisallowedServices": {
"description": "Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.\"",
"description": "Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.",
"items": {
"type": "string"
},
Expand All @@ -1186,7 +1186,8 @@
},
"ekmProvisioningResponse": {
"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse",
"description": "Optional. Represents the Ekm Provisioning State of the given workload."
"description": "Output only. Represents the Ekm Provisioning State of the given workload.",
"readOnly": true
},
"enableSovereignControls": {
"description": "Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.",
Expand Down
6 changes: 5 additions & 1 deletion DiscoveryJson/batch_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
}
}
},
"revision": "20231009",
"revision": "20231018",
"rootUrl": "https://batch.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -1835,6 +1835,10 @@
"$ref": "AgentTask"
},
"type": "array"
},
"useBatchMonitoredResource": {
"description": "If true, the cloud logging for batch agent will use batch.googleapis.com/Job as monitored resource for Batch job related logging.",
"type": "boolean"
}
},
"type": "object"
Expand Down
245 changes: 243 additions & 2 deletions DiscoveryJson/cloudbilling_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,13 @@
"httpMethod": "POST",
"id": "cloudbilling.billingAccounts.create",
"parameterOrder": [],
"parameters": {},
"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`",
"location": "query",
"type": "string"
}
},
"path": "v1/billingAccounts",
"request": {
"$ref": "BillingAccount"
Expand Down Expand Up @@ -214,6 +220,11 @@
"description": "A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.",
"location": "query",
"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`",
"location": "query",
"type": "string"
}
},
"path": "v1/billingAccounts",
Expand All @@ -226,6 +237,35 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"move": {
"description": "Changes which parent organization a billing account belongs to.",
"flatPath": "v1/billingAccounts/{billingAccountsId}:move",
"httpMethod": "POST",
"id": "cloudbilling.billingAccounts.move",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The resource name of the billing account to move. Must be of the form `billingAccounts/{billing_account_id}`. The specified billing account cannot be a subaccount, since a subaccount always belongs to the same organization as its parent account.",
"location": "path",
"pattern": "^billingAccounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:move",
"request": {
"$ref": "MoveBillingAccountRequest"
},
"response": {
"$ref": "BillingAccount"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-billing",
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a billing account's fields. Currently the only field that can be edited is `display_name`. The current authenticated user must have the `billing.accounts.update` IAM permission, which is typically given to the [administrator](https://cloud.google.com/billing/docs/how-to/billing-access) of the billing account.",
"flatPath": "v1/billingAccounts/{billingAccountsId}",
Expand Down Expand Up @@ -363,6 +403,196 @@
]
}
}
},
"subAccounts": {
"methods": {
"create": {
"description": "This method creates [billing subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts). Google Cloud resellers should use the Channel Services APIs, [accounts.customers.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create) and [accounts.customers.entitlements.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create). When creating a subaccount, the current authenticated user must have the `billing.accounts.update` IAM permission on the parent account, which is typically given to billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). This method will return an error if the parent account has not been provisioned for subaccounts.",
"flatPath": "v1/billingAccounts/{billingAccountsId}/subAccounts",
"httpMethod": "POST",
"id": "cloudbilling.billingAccounts.subAccounts.create",
"parameterOrder": [
"parent"
],
"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`",
"location": "path",
"pattern": "^billingAccounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/subAccounts",
"request": {
"$ref": "BillingAccount"
},
"response": {
"$ref": "BillingAccount"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-billing",
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists the billing accounts that the current authenticated user has permission to [view](https://cloud.google.com/billing/docs/how-to/billing-access).",
"flatPath": "v1/billingAccounts/{billingAccountsId}/subAccounts",
"httpMethod": "GET",
"id": "cloudbilling.billingAccounts.subAccounts.list",
"parameterOrder": [
"parent"
],
"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.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Requested page size. The maximum page size is 100; this is also the default.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.",
"location": "query",
"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`",
"location": "path",
"pattern": "^billingAccounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/subAccounts",
"response": {
"$ref": "ListBillingAccountsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-billing",
"https://www.googleapis.com/auth/cloud-billing.readonly",
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"organizations": {
"resources": {
"billingAccounts": {
"methods": {
"create": {
"description": "This method creates [billing subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts). Google Cloud resellers should use the Channel Services APIs, [accounts.customers.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create) and [accounts.customers.entitlements.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create). When creating a subaccount, the current authenticated user must have the `billing.accounts.update` IAM permission on the parent account, which is typically given to billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). This method will return an error if the parent account has not been provisioned for subaccounts.",
"flatPath": "v1/organizations/{organizationsId}/billingAccounts",
"httpMethod": "POST",
"id": "cloudbilling.organizations.billingAccounts.create",
"parameterOrder": [
"parent"
],
"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`",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/billingAccounts",
"request": {
"$ref": "BillingAccount"
},
"response": {
"$ref": "BillingAccount"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-billing",
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists the billing accounts that the current authenticated user has permission to [view](https://cloud.google.com/billing/docs/how-to/billing-access).",
"flatPath": "v1/organizations/{organizationsId}/billingAccounts",
"httpMethod": "GET",
"id": "cloudbilling.organizations.billingAccounts.list",
"parameterOrder": [
"parent"
],
"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.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Requested page size. The maximum page size is 100; this is also the default.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.",
"location": "query",
"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`",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/billingAccounts",
"response": {
"$ref": "ListBillingAccountsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-billing",
"https://www.googleapis.com/auth/cloud-billing.readonly",
"https://www.googleapis.com/auth/cloud-platform"
]
},
"move": {
"description": "Changes which parent organization a billing account belongs to.",
"flatPath": "v1/organizations/{organizationsId}/billingAccounts/{billingAccountsId}:move",
"httpMethod": "GET",
"id": "cloudbilling.organizations.billingAccounts.move",
"parameterOrder": [
"destinationParent",
"name"
],
"parameters": {
"destinationParent": {
"description": "Required. The resource name of the Organization to reparent the billing account under. Must be of the form `organizations/{organization_id}`.",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
"type": "string"
},
"name": {
"description": "Required. The resource name of the billing account to move. Must be of the form `billingAccounts/{billing_account_id}`. The specified billing account cannot be a subaccount, since a subaccount always belongs to the same organization as its parent account.",
"location": "path",
"pattern": "^billingAccounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+destinationParent}/{+name}:move",
"response": {
"$ref": "BillingAccount"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-billing",
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
Expand Down Expand Up @@ -521,7 +751,7 @@
}
}
},
"revision": "20230811",
"revision": "20231025",
"rootUrl": "https://cloudbilling.googleapis.com/",
"schemas": {
"AggregationInfo": {
Expand Down Expand Up @@ -826,6 +1056,17 @@
},
"type": "object"
},
"MoveBillingAccountRequest": {
"description": "Request message for `MoveBillingAccount` RPC.",
"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}`.",
"type": "string"
}
},
"type": "object"
},
"Policy": {
"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:[email protected]\", \"group:[email protected]\", \"domain:google.com\", \"serviceAccount:[email protected]\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:[email protected]\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
Expand Down
Loading

0 comments on commit 737ab5c

Please sign in to comment.