...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/documentai_v1alpha1_documentaiprocessor.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/crds

     1# Copyright 2020 Google LLC
     2#
     3# Licensed under the Apache License, Version 2.0 (the "License");
     4# you may not use this file except in compliance with the License.
     5# You may obtain a copy of the License at
     6#
     7#     http://www.apache.org/licenses/LICENSE-2.0
     8#
     9# Unless required by applicable law or agreed to in writing, software
    10# distributed under the License is distributed on an "AS IS" BASIS,
    11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12# See the License for the specific language governing permissions and
    13# limitations under the License.
    14
    15apiVersion: apiextensions.k8s.io/v1
    16kind: CustomResourceDefinition
    17metadata:
    18  annotations:
    19    cnrm.cloud.google.com/version: 1.106.0
    20  creationTimestamp: null
    21  labels:
    22    cnrm.cloud.google.com/managed-by-kcc: "true"
    23    cnrm.cloud.google.com/stability-level: alpha
    24    cnrm.cloud.google.com/system: "true"
    25    cnrm.cloud.google.com/tf2crd: "true"
    26  name: documentaiprocessors.documentai.cnrm.cloud.google.com
    27spec:
    28  group: documentai.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: DocumentAIProcessor
    33    plural: documentaiprocessors
    34    shortNames:
    35    - gcpdocumentaiprocessor
    36    - gcpdocumentaiprocessors
    37    singular: documentaiprocessor
    38  scope: Namespaced
    39  versions:
    40  - additionalPrinterColumns:
    41    - jsonPath: .metadata.creationTimestamp
    42      name: Age
    43      type: date
    44    - description: When 'True', the most recent reconcile of the resource succeeded
    45      jsonPath: .status.conditions[?(@.type=='Ready')].status
    46      name: Ready
    47      type: string
    48    - description: The reason for the value in 'Ready'
    49      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    50      name: Status
    51      type: string
    52    - description: The last transition time for the value in 'Status'
    53      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    54      name: Status Age
    55      type: date
    56    name: v1alpha1
    57    schema:
    58      openAPIV3Schema:
    59        properties:
    60          apiVersion:
    61            description: 'apiVersion defines the versioned schema of this representation
    62              of an object. Servers should convert recognized schemas to the latest
    63              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    64            type: string
    65          kind:
    66            description: 'kind is a string value representing the REST resource this
    67              object represents. Servers may infer this from the endpoint the client
    68              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    69            type: string
    70          metadata:
    71            type: object
    72          spec:
    73            properties:
    74              displayName:
    75                description: Immutable. The display name. Must be unique.
    76                type: string
    77              kmsKeyName:
    78                description: Immutable. The KMS key used for encryption/decryption
    79                  in CMEK scenarios. See https://cloud.google.com/security-key-management.
    80                type: string
    81              location:
    82                description: Immutable. The location of the resource.
    83                type: string
    84              projectRef:
    85                description: The project that this resource belongs to.
    86                oneOf:
    87                - not:
    88                    required:
    89                    - external
    90                  required:
    91                  - name
    92                - not:
    93                    anyOf:
    94                    - required:
    95                      - name
    96                    - required:
    97                      - namespace
    98                  required:
    99                  - external
   100                properties:
   101                  external:
   102                    description: 'Allowed value: The `name` field of a `Project` resource.'
   103                    type: string
   104                  name:
   105                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   106                    type: string
   107                  namespace:
   108                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   109                    type: string
   110                type: object
   111              resourceID:
   112                description: Immutable. Optional. The service-generated name of the
   113                  resource. Used for acquisition only. Leave unset to create a new
   114                  resource.
   115                type: string
   116              type:
   117                description: Immutable. The type of processor. For possible types
   118                  see the [official list](https://cloud.google.com/document-ai/docs/reference/rest/v1/projects.locations/fetchProcessorTypes#google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes).
   119                type: string
   120            required:
   121            - displayName
   122            - location
   123            - projectRef
   124            - type
   125            type: object
   126          status:
   127            properties:
   128              conditions:
   129                description: Conditions represent the latest available observation
   130                  of the resource's current state.
   131                items:
   132                  properties:
   133                    lastTransitionTime:
   134                      description: Last time the condition transitioned from one status
   135                        to another.
   136                      type: string
   137                    message:
   138                      description: Human-readable message indicating details about
   139                        last transition.
   140                      type: string
   141                    reason:
   142                      description: Unique, one-word, CamelCase reason for the condition's
   143                        last transition.
   144                      type: string
   145                    status:
   146                      description: Status is the status of the condition. Can be True,
   147                        False, Unknown.
   148                      type: string
   149                    type:
   150                      description: Type is the type of the condition.
   151                      type: string
   152                  type: object
   153                type: array
   154              name:
   155                description: The resource name of the processor.
   156                type: string
   157              observedGeneration:
   158                description: ObservedGeneration is the generation of the resource
   159                  that was most recently observed by the Config Connector controller.
   160                  If this is equal to metadata.generation, then that means that the
   161                  current reported status reflects the most recent desired state of
   162                  the resource.
   163                type: integer
   164            type: object
   165        required:
   166        - spec
   167        type: object
   168    served: true
   169    storage: true
   170    subresources:
   171      status: {}
   172status:
   173  acceptedNames:
   174    kind: ""
   175    plural: ""
   176  conditions: []
   177  storedVersions: []

View as plain text