Skip to content

Commit cdd13cb

Browse files
feat(deploymentmanager): update the api
#### deploymentmanager:alpha The following keys were added: - schemas.BulkInsertOperationStatus (Total Keys: 11) - schemas.InstancesBulkInsertOperationMetadata (Total Keys: 4) - schemas.Operation.properties.instancesBulkInsertOperationMetadata.$ref (Total Keys: 1) - schemas.Operation.properties.setCommonInstanceMetadataOperationMetadata.$ref (Total Keys: 1) - schemas.SetCommonInstanceMetadataOperationMetadata (Total Keys: 9) - schemas.Status (Total Keys: 8)
1 parent a0493d7 commit cdd13cb

8 files changed

+1135
-75
lines changed

docs/dyn/deploymentmanager_alpha.compositeTypes.html

Lines changed: 270 additions & 18 deletions
Large diffs are not rendered by default.

docs/dyn/deploymentmanager_alpha.deployments.html

Lines changed: 333 additions & 25 deletions
Large diffs are not rendered by default.

docs/dyn/deploymentmanager_alpha.operations.html

Lines changed: 60 additions & 4 deletions
Large diffs are not rendered by default.

docs/dyn/deploymentmanager_alpha.typeProviders.html

Lines changed: 270 additions & 18 deletions
Large diffs are not rendered by default.

docs/dyn/deploymentmanager_alpha.types.html

Lines changed: 60 additions & 4 deletions
Large diffs are not rendered by default.

googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json

Lines changed: 140 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@
15881588
}
15891589
}
15901590
},
1591-
"revision": "20230711",
1591+
"revision": "20230829",
15921592
"rootUrl": "https://deploymentmanager.googleapis.com/",
15931593
"schemas": {
15941594
"AsyncOptions": {
@@ -1715,6 +1715,48 @@
17151715
},
17161716
"type": "object"
17171717
},
1718+
"BulkInsertOperationStatus": {
1719+
"id": "BulkInsertOperationStatus",
1720+
"properties": {
1721+
"createdVmCount": {
1722+
"description": "[Output Only] Count of VMs successfully created so far.",
1723+
"format": "int32",
1724+
"type": "integer"
1725+
},
1726+
"deletedVmCount": {
1727+
"description": "[Output Only] Count of VMs that got deleted during rollback.",
1728+
"format": "int32",
1729+
"type": "integer"
1730+
},
1731+
"failedToCreateVmCount": {
1732+
"description": "[Output Only] Count of VMs that started creating but encountered an error.",
1733+
"format": "int32",
1734+
"type": "integer"
1735+
},
1736+
"status": {
1737+
"description": "[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back.",
1738+
"enum": [
1739+
"STATUS_UNSPECIFIED",
1740+
"CREATING",
1741+
"ROLLING_BACK",
1742+
"DONE"
1743+
],
1744+
"enumDescriptions": [
1745+
"",
1746+
"Rolling forward - creating VMs.",
1747+
"Rolling back - cleaning up after an error.",
1748+
"Done"
1749+
],
1750+
"type": "string"
1751+
},
1752+
"targetVmCount": {
1753+
"description": "[Output Only] Count of VMs originally planned to be created.",
1754+
"format": "int32",
1755+
"type": "integer"
1756+
}
1757+
},
1758+
"type": "object"
1759+
},
17181760
"CollectionOverride": {
17191761
"description": "CollectionOverride allows resource handling overrides for specific resources within a BaseType",
17201762
"id": "CollectionOverride",
@@ -2154,6 +2196,19 @@
21542196
},
21552197
"type": "object"
21562198
},
2199+
"InstancesBulkInsertOperationMetadata": {
2200+
"id": "InstancesBulkInsertOperationMetadata",
2201+
"properties": {
2202+
"perLocationStatus": {
2203+
"additionalProperties": {
2204+
"$ref": "BulkInsertOperationStatus"
2205+
},
2206+
"description": "Status information per location (location name is key). Example key: zones/us-central1-a",
2207+
"type": "object"
2208+
}
2209+
},
2210+
"type": "object"
2211+
},
21572212
"Manifest": {
21582213
"id": "Manifest",
21592214
"properties": {
@@ -2251,7 +2306,7 @@
22512306
"type": "object"
22522307
},
22532308
"Operation": {
2254-
"description": "Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources.",
2309+
"description": "Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zoneOperations` resource. For more information, read Global, Regional, and Zonal Resources.",
22552310
"id": "Operation",
22562311
"properties": {
22572312
"clientOperationId": {
@@ -2315,6 +2370,9 @@
23152370
"description": "[Output Only] The time that this operation was requested. This value is in RFC3339 text format.",
23162371
"type": "string"
23172372
},
2373+
"instancesBulkInsertOperationMetadata": {
2374+
"$ref": "InstancesBulkInsertOperationMetadata"
2375+
},
23182376
"kind": {
23192377
"default": "compute#operation",
23202378
"description": "[Output Only] Type of the resource. Always `compute#operation` for Operation resources.",
@@ -2345,6 +2403,10 @@
23452403
"description": "[Output Only] Server-defined URL for the resource.",
23462404
"type": "string"
23472405
},
2406+
"setCommonInstanceMetadataOperationMetadata": {
2407+
"$ref": "SetCommonInstanceMetadataOperationMetadata",
2408+
"description": "[Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state."
2409+
},
23482410
"startTime": {
23492411
"description": "[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.",
23502412
"type": "string"
@@ -2377,7 +2439,7 @@
23772439
"type": "string"
23782440
},
23792441
"user": {
2380-
"description": "[Output Only] User who requested the operation, for example: `[email protected]`.",
2442+
"description": "[Output Only] User who requested the operation, for example: `[email protected]` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.",
23812443
"type": "string"
23822444
},
23832445
"warnings": {
@@ -2559,7 +2621,7 @@
25592621
"type": "object"
25602622
},
25612623
"Policy": {
2562-
"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/).",
2624+
"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/).",
25632625
"id": "Policy",
25642626
"properties": {
25652627
"auditConfigs": {
@@ -3089,6 +3151,80 @@
30893151
},
30903152
"type": "object"
30913153
},
3154+
"SetCommonInstanceMetadataOperationMetadata": {
3155+
"id": "SetCommonInstanceMetadataOperationMetadata",
3156+
"properties": {
3157+
"clientOperationId": {
3158+
"description": "[Output Only] The client operation id.",
3159+
"type": "string"
3160+
},
3161+
"perLocationOperations": {
3162+
"additionalProperties": {
3163+
"$ref": "SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo"
3164+
},
3165+
"description": "[Output Only] Status information per location (location name is key). Example key: zones/us-central1-a",
3166+
"type": "object"
3167+
}
3168+
},
3169+
"type": "object"
3170+
},
3171+
"SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo": {
3172+
"id": "SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo",
3173+
"properties": {
3174+
"error": {
3175+
"$ref": "Status",
3176+
"description": "[Output Only] If state is `ABANDONED` or `FAILED`, this field is populated."
3177+
},
3178+
"state": {
3179+
"description": "[Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.",
3180+
"enum": [
3181+
"UNSPECIFIED",
3182+
"PROPAGATING",
3183+
"PROPAGATED",
3184+
"ABANDONED",
3185+
"FAILED",
3186+
"DONE"
3187+
],
3188+
"enumDescriptions": [
3189+
"",
3190+
"Operation is not yet confirmed to have been created in the location.",
3191+
"Operation is confirmed to be in the location.",
3192+
"Operation not tracked in this location e.g. zone is marked as DOWN.",
3193+
"Operation is in an error state.",
3194+
"Operation has completed successfully."
3195+
],
3196+
"type": "string"
3197+
}
3198+
},
3199+
"type": "object"
3200+
},
3201+
"Status": {
3202+
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
3203+
"id": "Status",
3204+
"properties": {
3205+
"code": {
3206+
"description": "The status code, which should be an enum value of google.rpc.Code.",
3207+
"format": "int32",
3208+
"type": "integer"
3209+
},
3210+
"details": {
3211+
"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
3212+
"items": {
3213+
"additionalProperties": {
3214+
"description": "Properties of the object. Contains field @type with type URL.",
3215+
"type": "any"
3216+
},
3217+
"type": "object"
3218+
},
3219+
"type": "array"
3220+
},
3221+
"message": {
3222+
"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
3223+
"type": "string"
3224+
}
3225+
},
3226+
"type": "object"
3227+
},
30923228
"TargetConfiguration": {
30933229
"id": "TargetConfiguration",
30943230
"properties": {

googleapiclient/discovery_cache/documents/deploymentmanager.v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@
988988
}
989989
}
990990
},
991-
"revision": "20230821",
991+
"revision": "20230829",
992992
"rootUrl": "https://deploymentmanager.googleapis.com/",
993993
"schemas": {
994994
"AuditConfig": {

googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,7 @@
15521552
}
15531553
}
15541554
},
1555-
"revision": "20230821",
1555+
"revision": "20230829",
15561556
"rootUrl": "https://deploymentmanager.googleapis.com/",
15571557
"schemas": {
15581558
"AsyncOptions": {

0 commit comments

Comments
 (0)