...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/bigquery.cnrm.cloud.google.com_bigquerydatasetaccesses.yaml

Documentation: edge-infra.dev/test/fixtures/crds/gcp

     1---
     2apiVersion: apiextensions.k8s.io/v1
     3kind: CustomResourceDefinition
     4metadata:
     5  annotations:
     6    controller-gen.kubebuilder.io/version: (unknown)
     7  name: bigquerydatasetaccesses.bigquery.cnrm.cloud.google.com
     8spec:
     9  group: bigquery.cnrm.cloud.google.com
    10  names:
    11    kind: BigQueryDatasetAccess
    12    listKind: BigQueryDatasetAccessList
    13    plural: bigquerydatasetaccesses
    14    singular: bigquerydatasetaccess
    15  scope: Namespaced
    16  versions:
    17  - name: v1alpha1
    18    schema:
    19      openAPIV3Schema:
    20        description: BigQueryDatasetAccess is the Schema for the bigquery API
    21        properties:
    22          apiVersion:
    23            description: |-
    24              APIVersion defines the versioned schema of this representation of an object.
    25              Servers should convert recognized schemas to the latest internal value, and
    26              may reject unrecognized values.
    27              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    28            type: string
    29          kind:
    30            description: |-
    31              Kind is a string value representing the REST resource this object represents.
    32              Servers may infer this from the endpoint the client submits requests to.
    33              Cannot be updated.
    34              In CamelCase.
    35              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    36            type: string
    37          metadata:
    38            type: object
    39          spec:
    40            properties:
    41              dataset:
    42                description: Immutable. Grants all resources of particular types in
    43                  a particular dataset read access to the current dataset.
    44                properties:
    45                  datasetId:
    46                    description: Immutable. The ID of the dataset containing this
    47                      table.
    48                    type: string
    49                  projectId:
    50                    description: Immutable. The ID of the project containing this
    51                      table.
    52                    type: string
    53                required:
    54                - datasetId
    55                - projectId
    56                type: object
    57              datasetId:
    58                description: |-
    59                  Immutable. A unique ID for this dataset, without the project name. The ID
    60                  must contain only letters (a-z, A-Z), numbers (0-9), or
    61                  underscores (_). The maximum length is 1,024 characters.
    62                type: string
    63              domain:
    64                description: |-
    65                  Immutable. A domain to grant access to. Any users signed in with the
    66                  domain specified will be granted the specified access.
    67                type: string
    68              groupByEmail:
    69                description: Immutable. An email address of a Google Group to grant
    70                  access to.
    71                type: string
    72              iamMember:
    73                description: |-
    74                  Immutable. Some other type of member that appears in the IAM Policy but isn't a user,
    75                  group, domain, or special group. For example: 'allUsers'.
    76                type: string
    77              projectRef:
    78                description: The project that this resource belongs to.
    79                properties:
    80                  external:
    81                    description: The external name of the referenced resource
    82                    type: string
    83                  kind:
    84                    description: Kind of the referent.
    85                    type: string
    86                  name:
    87                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    88                    type: string
    89                  namespace:
    90                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    91                    type: string
    92                type: object
    93              resourceID:
    94                description: Immutable. Optional. The routine of the resource. Used
    95                  for creation and acquisition. When unset, the value of `metadata.name`
    96                  is used as the default.
    97                type: string
    98              role:
    99                description: |-
   100                  Immutable. Describes the rights granted to the user specified by the other
   101                  member of the access object. Basic, predefined, and custom roles are
   102                  supported. Predefined roles that have equivalent basic roles are
   103                  swapped by the API to their basic counterparts, and will show a diff
   104                  post-create. See
   105                  [official docs](https://cloud.google.com/bigquery/docs/access-control).
   106                type: string
   107              specialGroup:
   108                description: |-
   109                  Immutable. A special group to grant access to. Possible values include:
   110
   111
   112                  * 'projectOwners': Owners of the enclosing project.
   113
   114
   115                  * 'projectReaders': Readers of the enclosing project.
   116
   117
   118                  * 'projectWriters': Writers of the enclosing project.
   119
   120
   121                  * 'allAuthenticatedUsers': All authenticated BigQuery users.
   122                type: string
   123              userByEmail:
   124                description: |-
   125                  Immutable. An email address of a user to grant access to. For example:
   126                  fred@example.com.
   127                type: string
   128              view:
   129                description: |-
   130                  Immutable. A view from a different dataset to grant access to. Queries
   131                  executed against that view will have read access to tables in
   132                  this dataset. The role field is not required when this field is
   133                  set. If that view is updated by any user, access to the view
   134                  needs to be granted again via an update operation.
   135                properties:
   136                  datasetId:
   137                    description: Immutable. The ID of the dataset containing this
   138                      table.
   139                    type: string
   140                  projectId:
   141                    description: Immutable. The ID of the project containing this
   142                      table.
   143                    type: string
   144                  tableId:
   145                    description: |-
   146                      Immutable. The ID of the table. The ID must contain only letters (a-z,
   147                      A-Z), numbers (0-9), or underscores (_). The maximum length
   148                      is 1,024 characters.
   149                    type: string
   150                required:
   151                - datasetId
   152                - projectId
   153                - tableId
   154                type: object
   155            required:
   156            - datasetId
   157            - projectRef
   158            type: object
   159          status:
   160            properties:
   161              apiUpdatedMember:
   162                description: If true, represents that that the iam_member in the config
   163                  was translated to a different member type by the API, and is stored
   164                  in state as a different member type.
   165                type: boolean
   166              conditions:
   167                description: |-
   168                  Conditions represent the latest available observations of the
   169                  BigQueryDatasetAccess's current state.
   170                items:
   171                  properties:
   172                    lastTransitionTime:
   173                      description: Last time the condition transitioned from one status
   174                        to another.
   175                      type: string
   176                    message:
   177                      description: Human-readable message indicating details about
   178                        last transition.
   179                      type: string
   180                    reason:
   181                      description: |-
   182                        Unique, one-word, CamelCase reason for the condition's last
   183                        transition.
   184                      type: string
   185                    status:
   186                      description: Status is the status of the condition. Can be True,
   187                        False, Unknown.
   188                      type: string
   189                    type:
   190                      description: Type is the type of the condition.
   191                      type: string
   192                  type: object
   193                type: array
   194              observedGeneration:
   195                description: ObservedGeneration is the generation of the resource
   196                  that was most recently observed by the Config Connector controller.
   197                  If this is equal to metadata.generation, then that means that the
   198                  current reported status reflects the most recent desired state of
   199                  the resource.
   200                type: integer
   201            type: object
   202        type: object
   203    served: true
   204    storage: true

View as plain text