update dependencies

This commit is contained in:
Sebastian Thiel
2023-01-25 11:39:00 +01:00
parent 37ccd2238d
commit 3edefb7f01
357 changed files with 128026 additions and 16259 deletions

View File

@@ -303,6 +303,12 @@
"pattern": "^folders/[^/]+/policies/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v2/{+name}",
@@ -362,6 +368,152 @@
}
}
},
"customConstraints": {
"methods": {
"create": {
"description": "Creates a CustomConstraint. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the organization does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the constraint already exists on the given organization.",
"flatPath": "v2/organizations/{organizationsId}/customConstraints",
"httpMethod": "POST",
"id": "orgpolicy.organizations.customConstraints.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. Must be in the following form: * `organizations/{organization_id}`",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+parent}/customConstraints",
"request": {
"$ref": "GoogleCloudOrgpolicyV2CustomConstraint"
},
"response": {
"$ref": "GoogleCloudOrgpolicyV2CustomConstraint"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a Custom Constraint. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist.",
"flatPath": "v2/organizations/{organizationsId}/customConstraints/{customConstraintsId}",
"httpMethod": "DELETE",
"id": "orgpolicy.organizations.customConstraints.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. Name of the custom constraint to delete. See `CustomConstraint` for naming rules.",
"location": "path",
"pattern": "^organizations/[^/]+/customConstraints/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets a CustomConstraint. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the CustomConstraint does not exist.",
"flatPath": "v2/organizations/{organizationsId}/customConstraints/{customConstraintsId}",
"httpMethod": "GET",
"id": "orgpolicy.organizations.customConstraints.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. Resource name of the custom constraint. See `CustomConstraint` for naming requirements.",
"location": "path",
"pattern": "^organizations/[^/]+/customConstraints/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}",
"response": {
"$ref": "GoogleCloudOrgpolicyV2CustomConstraint"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Retrieves all of the `CustomConstraints` that exist on a particular organization resource.",
"flatPath": "v2/organizations/{organizationsId}/customConstraints",
"httpMethod": "GET",
"id": "orgpolicy.organizations.customConstraints.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The target Cloud resource that parents the set of custom constraints that will be returned from this call. Must be in one of the following forms: * `organizations/{organization_id}`",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+parent}/customConstraints",
"response": {
"$ref": "GoogleCloudOrgpolicyV2ListCustomConstraintsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a Custom Constraint. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist. Note: the supplied policy will perform a full overwrite of all fields.",
"flatPath": "v2/organizations/{organizationsId}/customConstraints/{customConstraintsId}",
"httpMethod": "PATCH",
"id": "orgpolicy.organizations.customConstraints.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Immutable. Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example : \"organizations/123/customConstraints/custom.createOnlyE2TypeVms\" The max length is 70 characters and the min length is 1. Note that the prefix \"organizations/{organization_id}/customConstraints/\" is not counted.",
"location": "path",
"pattern": "^organizations/[^/]+/customConstraints/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}",
"request": {
"$ref": "GoogleCloudOrgpolicyV2CustomConstraint"
},
"response": {
"$ref": "GoogleCloudOrgpolicyV2CustomConstraint"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"policies": {
"methods": {
"create": {
@@ -518,6 +670,12 @@
"pattern": "^organizations/[^/]+/policies/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v2/{+name}",
@@ -733,6 +891,12 @@
"pattern": "^projects/[^/]+/policies/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v2/{+name}",
@@ -751,7 +915,7 @@
}
}
},
"revision": "20220305",
"revision": "20230123",
"rootUrl": "https://orgpolicy.googleapis.com/",
"schemas": {
"GoogleCloudOrgpolicyV2AlternatePolicySpec": {
@@ -831,6 +995,75 @@
},
"type": "object"
},
"GoogleCloudOrgpolicyV2CustomConstraint": {
"description": "A custom constraint defined by customers which can *only* be applied to the given resource types and organization. By creating a custom constraint, customers can applied policies of this custom constraint. *Creating a custom constraint itself does NOT apply any policy enforcement*.",
"id": "GoogleCloudOrgpolicyV2CustomConstraint",
"properties": {
"actionType": {
"description": "Allow or deny type.",
"enum": [
"ACTION_TYPE_UNSPECIFIED",
"ALLOW",
"DENY"
],
"enumDescriptions": [
"Unspecified. Will results in user error.",
"Allowed action type.",
"Deny action type."
],
"type": "string"
},
"condition": {
"description": "Org policy condition/expression. For example: `resource.instanceName.matches(\"[production|test]_.*_(\\d)+\")'` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters.",
"type": "string"
},
"description": {
"description": "Detailed information about this custom policy constraint. The max length of the description is 2000 characters.",
"type": "string"
},
"displayName": {
"description": "One line display name for the UI. The max length of the display_name is 200 characters.",
"type": "string"
},
"methodTypes": {
"description": "All the operations being applied for this constraint.",
"items": {
"enum": [
"METHOD_TYPE_UNSPECIFIED",
"CREATE",
"UPDATE",
"DELETE"
],
"enumDescriptions": [
"Unspecified. Will results in user error.",
"Constraint applied when creating the resource.",
"Constraint applied when updating the resource.",
"Constraint applied when deleting the resource. Not supported yet."
],
"type": "string"
},
"type": "array"
},
"name": {
"description": "Immutable. Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example : \"organizations/123/customConstraints/custom.createOnlyE2TypeVms\" The max length is 70 characters and the min length is 1. Note that the prefix \"organizations/{organization_id}/customConstraints/\" is not counted.",
"type": "string"
},
"resourceTypes": {
"description": "Immutable. The Resource Instance type on which this policy applies to. Format will be of the form : \"/\" Example: * `compute.googleapis.com/Instance`.",
"items": {
"type": "string"
},
"type": "array"
},
"updateTime": {
"description": "Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` RPC was called",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudOrgpolicyV2ListConstraintsResponse": {
"description": "The response returned from the ListConstraints method.",
"id": "GoogleCloudOrgpolicyV2ListConstraintsResponse",
@@ -849,6 +1082,24 @@
},
"type": "object"
},
"GoogleCloudOrgpolicyV2ListCustomConstraintsResponse": {
"description": "The response returned from the ListCustomConstraints method. It will be empty if no `CustomConstraints` are set on the organization resource.",
"id": "GoogleCloudOrgpolicyV2ListCustomConstraintsResponse",
"properties": {
"customConstraints": {
"description": "All `CustomConstraints` that exist on the organization resource. It will be empty if no `CustomConstraints` are set.",
"items": {
"$ref": "GoogleCloudOrgpolicyV2CustomConstraint"
},
"type": "array"
},
"nextPageToken": {
"description": "Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudOrgpolicyV2ListPoliciesResponse": {
"description": "The response returned from the ListPolicies method. It will be empty if no `Policies` are set on the resource.",
"id": "GoogleCloudOrgpolicyV2ListPoliciesResponse",
@@ -875,6 +1126,10 @@
"$ref": "GoogleCloudOrgpolicyV2AlternatePolicySpec",
"description": "Deprecated."
},
"dryRunSpec": {
"$ref": "GoogleCloudOrgpolicyV2PolicySpec",
"description": "dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced."
},
"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"
@@ -967,7 +1222,7 @@
"type": "object"
},
"GoogleProtobufEmpty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
"id": "GoogleProtobufEmpty",
"properties": {},
"type": "object"