Skip to content

Commit

Permalink
fix(deploymentmanager): update the API
Browse files Browse the repository at this point in the history
#### deploymentmanager:alpha

The following keys were changed:
- schemas.AuditConfig.description
- schemas.Operation.properties.warnings.items.properties.code.enum
- schemas.Operation.properties.warnings.items.properties.code.enumDescriptions
- schemas.Resource.properties.warnings.items.properties.code.enum
- schemas.Resource.properties.warnings.items.properties.code.enumDescriptions
- schemas.ResourceUpdate.properties.warnings.items.properties.code.enum
- schemas.ResourceUpdate.properties.warnings.items.properties.code.enumDescriptions

#### deploymentmanager:v2beta

The following keys were changed:
- schemas.AuditConfig.description
- schemas.Operation.properties.warnings.items.properties.code.enum
- schemas.Operation.properties.warnings.items.properties.code.enumDescriptions
- schemas.Resource.properties.warnings.items.properties.code.enum
- schemas.Resource.properties.warnings.items.properties.code.enumDescriptions
- schemas.ResourceUpdate.properties.warnings.items.properties.code.enum
- schemas.ResourceUpdate.properties.warnings.items.properties.code.enumDescriptions

#### deploymentmanager:v2

The following keys were changed:
- schemas.AuditConfig.description
- schemas.Operation.properties.warnings.items.properties.code.enum
- schemas.Operation.properties.warnings.items.properties.code.enumDescriptions
- schemas.Resource.properties.warnings.items.properties.code.enum
- schemas.Resource.properties.warnings.items.properties.code.enumDescriptions
- schemas.ResourceUpdate.properties.warnings.items.properties.code.enum
- schemas.ResourceUpdate.properties.warnings.items.properties.code.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed May 6, 2022
1 parent b60c35e commit 88e7972
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 27 deletions.
22 changes: 14 additions & 8 deletions discovery/deploymentmanager-alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -1588,7 +1588,7 @@
}
}
},
"revision": "20220407",
"revision": "20220429",
"rootUrl": "https://deploymentmanager.googleapis.com/",
"schemas": {
"AsyncOptions": {
Expand All @@ -1607,7 +1607,7 @@
"type": "object"
},
"AuditConfig": {
"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.",
"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
Expand Down Expand Up @@ -2411,7 +2411,8 @@
"EXPERIMENTAL_TYPE_USED",
"DEPRECATED_TYPE_USED",
"PARTIAL_SUCCESS",
"LARGE_DEPLOYMENT_WARNING"
"LARGE_DEPLOYMENT_WARNING",
"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
],
"enumDescriptions": [
"A link to a deprecated resource was created.",
Expand All @@ -2438,7 +2439,8 @@
"When deploying and at least one of the resources has a type marked as experimental",
"When deploying and at least one of the resources has a type marked as deprecated",
"Success is reported, but some results may be missing due to errors",
"When deploying a deployment with a exceedingly large number of resources"
"When deploying a deployment with a exceedingly large number of resources",
"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route."
],
"type": "string"
},
Expand Down Expand Up @@ -2683,7 +2685,8 @@
"EXPERIMENTAL_TYPE_USED",
"DEPRECATED_TYPE_USED",
"PARTIAL_SUCCESS",
"LARGE_DEPLOYMENT_WARNING"
"LARGE_DEPLOYMENT_WARNING",
"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
],
"enumDescriptions": [
"A link to a deprecated resource was created.",
Expand All @@ -2710,7 +2713,8 @@
"When deploying and at least one of the resources has a type marked as experimental",
"When deploying and at least one of the resources has a type marked as deprecated",
"Success is reported, but some results may be missing due to errors",
"When deploying a deployment with a exceedingly large number of resources"
"When deploying a deployment with a exceedingly large number of resources",
"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route."
],
"type": "string"
},
Expand Down Expand Up @@ -2892,7 +2896,8 @@
"EXPERIMENTAL_TYPE_USED",
"DEPRECATED_TYPE_USED",
"PARTIAL_SUCCESS",
"LARGE_DEPLOYMENT_WARNING"
"LARGE_DEPLOYMENT_WARNING",
"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
],
"enumDescriptions": [
"A link to a deprecated resource was created.",
Expand All @@ -2919,7 +2924,8 @@
"When deploying and at least one of the resources has a type marked as experimental",
"When deploying and at least one of the resources has a type marked as deprecated",
"Success is reported, but some results may be missing due to errors",
"When deploying a deployment with a exceedingly large number of resources"
"When deploying a deployment with a exceedingly large number of resources",
"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route."
],
"type": "string"
},
Expand Down
22 changes: 14 additions & 8 deletions discovery/deploymentmanager-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -988,11 +988,11 @@
}
}
},
"revision": "20220407",
"revision": "20220429",
"rootUrl": "https://deploymentmanager.googleapis.com/",
"schemas": {
"AuditConfig": {
"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.",
"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
Expand Down Expand Up @@ -1509,7 +1509,8 @@
"EXPERIMENTAL_TYPE_USED",
"DEPRECATED_TYPE_USED",
"PARTIAL_SUCCESS",
"LARGE_DEPLOYMENT_WARNING"
"LARGE_DEPLOYMENT_WARNING",
"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
],
"enumDescriptions": [
"A link to a deprecated resource was created.",
Expand All @@ -1536,7 +1537,8 @@
"When deploying and at least one of the resources has a type marked as experimental",
"When deploying and at least one of the resources has a type marked as deprecated",
"Success is reported, but some results may be missing due to errors",
"When deploying a deployment with a exceedingly large number of resources"
"When deploying a deployment with a exceedingly large number of resources",
"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route."
],
"type": "string"
},
Expand Down Expand Up @@ -1700,7 +1702,8 @@
"EXPERIMENTAL_TYPE_USED",
"DEPRECATED_TYPE_USED",
"PARTIAL_SUCCESS",
"LARGE_DEPLOYMENT_WARNING"
"LARGE_DEPLOYMENT_WARNING",
"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
],
"enumDescriptions": [
"A link to a deprecated resource was created.",
Expand All @@ -1727,7 +1730,8 @@
"When deploying and at least one of the resources has a type marked as experimental",
"When deploying and at least one of the resources has a type marked as deprecated",
"Success is reported, but some results may be missing due to errors",
"When deploying a deployment with a exceedingly large number of resources"
"When deploying a deployment with a exceedingly large number of resources",
"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route."
],
"type": "string"
},
Expand Down Expand Up @@ -1886,7 +1890,8 @@
"EXPERIMENTAL_TYPE_USED",
"DEPRECATED_TYPE_USED",
"PARTIAL_SUCCESS",
"LARGE_DEPLOYMENT_WARNING"
"LARGE_DEPLOYMENT_WARNING",
"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
],
"enumDescriptions": [
"A link to a deprecated resource was created.",
Expand All @@ -1913,7 +1918,8 @@
"When deploying and at least one of the resources has a type marked as experimental",
"When deploying and at least one of the resources has a type marked as deprecated",
"Success is reported, but some results may be missing due to errors",
"When deploying a deployment with a exceedingly large number of resources"
"When deploying a deployment with a exceedingly large number of resources",
"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route."
],
"type": "string"
},
Expand Down
22 changes: 14 additions & 8 deletions discovery/deploymentmanager-v2beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,7 @@
}
}
},
"revision": "20220407",
"revision": "20220429",
"rootUrl": "https://deploymentmanager.googleapis.com/",
"schemas": {
"AsyncOptions": {
Expand All @@ -1571,7 +1571,7 @@
"type": "object"
},
"AuditConfig": {
"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.",
"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
Expand Down Expand Up @@ -2314,7 +2314,8 @@
"EXPERIMENTAL_TYPE_USED",
"DEPRECATED_TYPE_USED",
"PARTIAL_SUCCESS",
"LARGE_DEPLOYMENT_WARNING"
"LARGE_DEPLOYMENT_WARNING",
"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
],
"enumDescriptions": [
"A link to a deprecated resource was created.",
Expand All @@ -2341,7 +2342,8 @@
"When deploying and at least one of the resources has a type marked as experimental",
"When deploying and at least one of the resources has a type marked as deprecated",
"Success is reported, but some results may be missing due to errors",
"When deploying a deployment with a exceedingly large number of resources"
"When deploying a deployment with a exceedingly large number of resources",
"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route."
],
"type": "string"
},
Expand Down Expand Up @@ -2563,7 +2565,8 @@
"EXPERIMENTAL_TYPE_USED",
"DEPRECATED_TYPE_USED",
"PARTIAL_SUCCESS",
"LARGE_DEPLOYMENT_WARNING"
"LARGE_DEPLOYMENT_WARNING",
"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
],
"enumDescriptions": [
"A link to a deprecated resource was created.",
Expand All @@ -2590,7 +2593,8 @@
"When deploying and at least one of the resources has a type marked as experimental",
"When deploying and at least one of the resources has a type marked as deprecated",
"Success is reported, but some results may be missing due to errors",
"When deploying a deployment with a exceedingly large number of resources"
"When deploying a deployment with a exceedingly large number of resources",
"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route."
],
"type": "string"
},
Expand Down Expand Up @@ -2749,7 +2753,8 @@
"EXPERIMENTAL_TYPE_USED",
"DEPRECATED_TYPE_USED",
"PARTIAL_SUCCESS",
"LARGE_DEPLOYMENT_WARNING"
"LARGE_DEPLOYMENT_WARNING",
"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
],
"enumDescriptions": [
"A link to a deprecated resource was created.",
Expand All @@ -2776,7 +2781,8 @@
"When deploying and at least one of the resources has a type marked as experimental",
"When deploying and at least one of the resources has a type marked as deprecated",
"Success is reported, but some results may be missing due to errors",
"When deploying a deployment with a exceedingly large number of resources"
"When deploying a deployment with a exceedingly large number of resources",
"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route."
],
"type": "string"
},
Expand Down
Loading

0 comments on commit 88e7972

Please sign in to comment.