public sealed class ResourceOptions : IMessage<ResourceOptions>, IEquatable<ResourceOptions>, IDeepCloneable<ResourceOptions>, IBufferMessage, IMessage
ResourceOptions represent options for Kubernetes resource generation.
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.
Property Value
Type
Description
System.String
K8SVersion
public string K8SVersion { get; set; }
Optional. Major version of the Kubernetes cluster. This is only used to determine
which version to use for the CustomResourceDefinition resources,
apiextensions/v1beta1 orapiextensions/v1.
Property Value
Type
Description
System.String
V1Beta1Crd
public bool V1Beta1Crd { get; set; }
Optional. Use apiextensions/v1beta1 instead of apiextensions/v1 for
CustomResourceDefinition resources.
This option should be set for clusters with Kubernetes apiserver versions
<1.16.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eResourceOptions\u003c/code\u003e class represents configuration options for Kubernetes resource generation within the Google.Cloud.GkeHub.V1 namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers versions 1.0.0 through 2.5.0, with version 2.5.0 being the latest and version 2.0.0 the one highlighted in detail.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eResourceOptions\u003c/code\u003e implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within \u003ccode\u003eResourceOptions\u003c/code\u003e include \u003ccode\u003eConnectVersion\u003c/code\u003e, \u003ccode\u003eK8SVersion\u003c/code\u003e, and \u003ccode\u003eV1Beta1Crd\u003c/code\u003e, which control aspects of resource versioning and CustomResourceDefinition usage.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available: a parameterless constructor, and one that takes another \u003ccode\u003eResourceOptions\u003c/code\u003e instance, allowing creating new objects based on existing ones.\u003c/p\u003e\n"]]],[],null,[]]