feat: Add new gcloud commands, API clients, and third-party libraries across various services.

This commit is contained in:
2026-01-01 20:26:35 +01:00
parent 5e23cbece0
commit a19e592eb7
25221 changed files with 8324611 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
$schema: "http://json-schema.org/draft-06/schema#"
title: authztoolkit v1 AnthosServiceMesh export schema
description: A gcloud export/import command YAML validation schema.
type: object
additionalProperties: false
properties:
COMMENT:
type: object
description: User specified info ignored by gcloud import.
additionalProperties: false
properties:
template-id:
type: string
region:
type: string
description:
type: string
date:
type: string
version:
type: string
UNKNOWN:
type: array
description: Unknown API fields that cannot be imported.
items:
type: string
serviceAccount:
description: Immutable. workload ID = IAM Service account
type: string

View File

@@ -0,0 +1,32 @@
$schema: "http://json-schema.org/draft-06/schema#"
title: authztoolkit v1 CELPolicy export schema
description: A gcloud export/import command YAML validation schema.
type: object
additionalProperties: false
properties:
COMMENT:
type: object
description: User specified info ignored by gcloud import.
additionalProperties: false
properties:
template-id:
type: string
region:
type: string
description:
type: string
date:
type: string
version:
type: string
UNKNOWN:
type: array
description: Unknown API fields that cannot be imported.
items:
type: string
ruleBlocks:
description: List of rule blocks.
type: array
items:
$ref: RuleBlock.yaml

View File

@@ -0,0 +1,32 @@
$schema: "http://json-schema.org/draft-06/schema#"
title: authztoolkit v1 From export schema
description: A gcloud export/import command YAML validation schema.
type: object
additionalProperties: false
properties:
COMMENT:
type: object
description: User specified info ignored by gcloud import.
additionalProperties: false
properties:
template-id:
type: string
region:
type: string
description:
type: string
date:
type: string
version:
type: string
UNKNOWN:
type: array
description: Unknown API fields that cannot be imported.
items:
type: string
principals:
description: List of requesting principal identifiers.
type: array
items:
type: string

View File

@@ -0,0 +1,40 @@
$schema: "http://json-schema.org/draft-06/schema#"
title: authztoolkit v1 Policy export schema
description: A gcloud export/import command YAML validation schema.
type: object
additionalProperties: false
properties:
COMMENT:
type: object
description: User specified info ignored by gcloud import.
additionalProperties: false
properties:
template-id:
type: string
region:
type: string
description:
type: string
date:
type: string
version:
type: string
UNKNOWN:
type: array
description: Unknown API fields that cannot be imported.
items:
type: string
celPolicy:
description: CEL-based authorization policy schema
$ref: CELPolicy.yaml
displayName:
description: |-
An arbitrary user-provided name for policy. The display name should adhere
to the following format. * Must be 6 to 63 characters in length. * Can
only contain lowercase letters, numbers, and hyphens. * Must start with a
letter.
type: string
name:
description: Name of resource
type: string

View File

@@ -0,0 +1,34 @@
$schema: "http://json-schema.org/draft-06/schema#"
title: authztoolkit v1 PolicyConfig export schema
description: A gcloud export/import command YAML validation schema.
type: object
required:
- policy
additionalProperties: false
properties:
COMMENT:
type: object
description: User specified info ignored by gcloud import.
additionalProperties: false
properties:
template-id:
type: string
region:
type: string
description:
type: string
date:
type: string
version:
type: string
UNKNOWN:
type: array
description: Unknown API fields that cannot be imported.
items:
type: string
policy:
description: |-
Full policy name. Example:
projects/{project}/locations/{location}/policies/{policy}
type: string

View File

@@ -0,0 +1,39 @@
$schema: "http://json-schema.org/draft-06/schema#"
title: authztoolkit v1 Rule export schema
description: A gcloud export/import command YAML validation schema.
type: object
additionalProperties: false
properties:
COMMENT:
type: object
description: User specified info ignored by gcloud import.
additionalProperties: false
properties:
template-id:
type: string
region:
type: string
description:
type: string
date:
type: string
version:
type: string
UNKNOWN:
type: array
description: Unknown API fields that cannot be imported.
items:
type: string
displayName:
description: Display name of the rule
type: string
requestFrom:
description: Request origins this rule applies to.
$ref: From.yaml
requestTo:
description: Request destination this rule applies to.
$ref: To.yaml
when:
description: Custom condition for the request.
$ref: When.yaml

View File

@@ -0,0 +1,39 @@
$schema: "http://json-schema.org/draft-06/schema#"
title: authztoolkit v1 RuleBlock export schema
description: A gcloud export/import command YAML validation schema.
type: object
additionalProperties: false
properties:
COMMENT:
type: object
description: User specified info ignored by gcloud import.
additionalProperties: false
properties:
template-id:
type: string
region:
type: string
description:
type: string
date:
type: string
version:
type: string
UNKNOWN:
type: array
description: Unknown API fields that cannot be imported.
items:
type: string
action:
description: Action type of this policy.
type: string
enum:
- ACTION_UNSPECIFIED
- ALLOW
- DENY
rules:
description: Rules that must be evaluated for this policy action.
type: array
items:
$ref: Rule.yaml

View File

@@ -0,0 +1,60 @@
$schema: "http://json-schema.org/draft-06/schema#"
title: authztoolkit v1 TargetAssociation export schema
description: A gcloud export/import command YAML validation schema.
type: object
additionalProperties: false
properties:
COMMENT:
type: object
description: User specified info ignored by gcloud import.
additionalProperties: false
properties:
template-id:
type: string
region:
type: string
description:
type: string
date:
type: string
version:
type: string
UNKNOWN:
type: array
description: Unknown API fields that cannot be imported.
items:
type: string
asmWorkload:
description: |-
Immutable. AnthosServiceMesh based workload. Authorization Toolkit does
not auto configure the authorization settings on the workload.
$ref: AnthosServiceMesh.yaml
displayName:
description: |-
An arbitrary user-provided name for TargetAssociation. The display name
should adhere to the following format. * Must be 6 to 63 characters in
length. * Can only contain lowercase letters, numbers, and hyphens. * Must
start with a letter.
type: string
enableAuthorizationAuditLog:
description: |-
Enable the generation of authorization audit logs for the target.
type: boolean
enableAuthorizationDebugLog:
description: |-
Enable the generation of authorization debug logs for the target.
type: string
enum:
- LOG_ALL
- LOG_DENY_AND_ERROR
- LOG_ERROR
- LOG_NONE
name:
description: Identifier. name of resource
type: string
policies:
description: List of policies with full policy name and its configuration
type: array
items:
$ref: PolicyConfig.yaml

View File

@@ -0,0 +1,47 @@
$schema: "http://json-schema.org/draft-06/schema#"
title: authztoolkit v1 To export schema
description: A gcloud export/import command YAML validation schema.
type: object
additionalProperties: false
properties:
COMMENT:
type: object
description: User specified info ignored by gcloud import.
additionalProperties: false
properties:
template-id:
type: string
region:
type: string
description:
type: string
date:
type: string
version:
type: string
UNKNOWN:
type: array
description: Unknown API fields that cannot be imported.
items:
type: string
hosts:
description: List of hosts.
type: array
items:
type: string
methods:
description: List of HTTP request methods.
type: array
items:
type: string
paths:
description: List of request paths.
type: array
items:
type: string
ports:
description: List of host ports.
type: array
items:
type: integer

View File

@@ -0,0 +1,30 @@
$schema: "http://json-schema.org/draft-06/schema#"
title: authztoolkit v1 When export schema
description: A gcloud export/import command YAML validation schema.
type: object
additionalProperties: false
properties:
COMMENT:
type: object
description: User specified info ignored by gcloud import.
additionalProperties: false
properties:
template-id:
type: string
region:
type: string
description:
type: string
date:
type: string
version:
type: string
UNKNOWN:
type: array
description: Unknown API fields that cannot be imported.
items:
type: string
expr:
description: CEL expression to be evaluated.
type: string