mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Update all json files; make some fixes to make it work at all
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "See, edit, configure, and delete your Google Cloud Platform data"
|
||||
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,9 +12,9 @@
|
||||
"baseUrl": "https://orgpolicy.googleapis.com/",
|
||||
"batchPath": "batch",
|
||||
"canonicalName": "OrgPolicy API",
|
||||
"description": "The Org Policy API allows users to configure governance ruleson their GCP resources across the Cloud Resource Hierarchy.",
|
||||
"description": "The Org Policy API allows users to configure governance rules on their GCP resources across the Cloud Resource Hierarchy.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://cloud.google.com/resource-manager/docs/organization-policy/understanding-constraints",
|
||||
"documentationLink": "https://cloud.google.com/orgpolicy/docs/reference/rest/index.html",
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
@@ -751,11 +751,26 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20210330",
|
||||
"revision": "20220305",
|
||||
"rootUrl": "https://orgpolicy.googleapis.com/",
|
||||
"schemas": {
|
||||
"GoogleCloudOrgpolicyV2AlternatePolicySpec": {
|
||||
"description": "Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run/darklaunch.",
|
||||
"id": "GoogleCloudOrgpolicyV2AlternatePolicySpec",
|
||||
"properties": {
|
||||
"launch": {
|
||||
"description": "Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.",
|
||||
"type": "string"
|
||||
},
|
||||
"spec": {
|
||||
"$ref": "GoogleCloudOrgpolicyV2PolicySpec",
|
||||
"description": "Specify `Constraint` for configurations of Cloud Platform resources."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudOrgpolicyV2Constraint": {
|
||||
"description": "A `constraint` describes a way to restrict resource's configuration. For example, you could enforce a constraint that controls which cloud services can be activated across an organization, or whether a Compute Engine instance can have serial port connections established. `Constraints` can be configured by the organization's policy adminstrator to fit the needs of the organzation by setting a `policy` that includes `constraints` at different locations in the organization's resource hierarchy. Policies are inherited down the resource hierarchy from higher levels, but can also be overridden. For details about the inheritance rules please read about `policies`. `Constraints` have a default behavior determined by the `constraint_default` field, which is the enforcement behavior that is used in the absence of a `policy` being defined or inherited for the resource in question.",
|
||||
"description": "A `constraint` describes a way to restrict resource's configuration. For example, you could enforce a constraint that controls which cloud services can be activated across an organization, or whether a Compute Engine instance can have serial port connections established. `Constraints` can be configured by the organization's policy administrator to fit the needs of the organization by setting a `policy` that includes `constraints` at different locations in the organization's resource hierarchy. Policies are inherited down the resource hierarchy from higher levels, but can also be overridden. For details about the inheritance rules please read about `policies`. `Constraints` have a default behavior determined by the `constraint_default` field, which is the enforcement behavior that is used in the absence of a `policy` being defined or inherited for the resource in question.",
|
||||
"id": "GoogleCloudOrgpolicyV2Constraint",
|
||||
"properties": {
|
||||
"booleanConstraint": {
|
||||
@@ -856,6 +871,10 @@
|
||||
"description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints` for configurations of Cloud Platform resources.",
|
||||
"id": "GoogleCloudOrgpolicyV2Policy",
|
||||
"properties": {
|
||||
"alternate": {
|
||||
"$ref": "GoogleCloudOrgpolicyV2AlternatePolicySpec",
|
||||
"description": "Deprecated."
|
||||
},
|
||||
"name": {
|
||||
"description": "Immutable. The resource name of the Policy. Must be one of the following forms, where constraint_name is the name of the constraint which this Policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, \"projects/123/policies/compute.disableSerialPortAccess\". Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.",
|
||||
"type": "string"
|
||||
|
||||
Reference in New Issue
Block a user