# Class ResourceOptions (1.25.0)

1.25.0 (latest) 1.24.0 1.23.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.3 1.16.0 1.15.1 1.14.2 1.13.1 1.12.1 1.11.0 1.10.2 1.9.0 1.8.1 1.7.1 1.6.0 1.5.3 1.4.3 1.3.0 1.2.0 1.1.0 1.0.0 0.2.2 0.1.2

    ResourceOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ResourceOptions represent options for Kubernetes resource
generation.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `connect_version` | `str` Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected. |
| `v1beta1_crd` | `bool` Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for CustomResourceDefinition resources. This option should be set for clusters with Kubernetes apiserver versions \<1.16.\> |
| `k8s_version` | `str` Optional. Major and minor version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, `apiextensions/v1beta1` or\\ `apiextensions/v1`. |
| `k8s_git_version` | `str` Optional. Git version of the Kubernetes cluster. This is only used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 patch and above. |