resource.v1beta2.deviceAttribute
"DeviceAttribute must have exactly one field set."
Index
fn withBool(bool)fn withBools(bools)fn withBoolsMixin(bools)fn withInt(int)fn withInts(ints)fn withIntsMixin(ints)fn withString(string)fn withStrings(strings)fn withStringsMixin(strings)fn withVersion(version)fn withVersions(versions)fn withVersionsMixin(versions)
Fields
fn withBool
withBool(bool)
"BoolValue is a true/false value."
fn withBools
withBools(bools)
"BoolValues is a non-empty list of true/false values."
fn withBoolsMixin
withBoolsMixin(bools)
"BoolValues is a non-empty list of true/false values."
Note: This function appends passed data to existing values
fn withInt
withInt(int)
"IntValue is a number."
fn withInts
withInts(ints)
"IntValues is a non-empty list of numbers.\n\nThis is an alpha field and requires enabling the DRAListTypeAttributes feature gate."
fn withIntsMixin
withIntsMixin(ints)
"IntValues is a non-empty list of numbers.\n\nThis is an alpha field and requires enabling the DRAListTypeAttributes feature gate."
Note: This function appends passed data to existing values
fn withString
withString(string)
"StringValue is a string. Must not be longer than 64 characters."
fn withStrings
withStrings(strings)
"StringValues is a non-empty list of strings. Each string must not be longer than 64 characters.\n\nThis is an alpha field and requires enabling the DRAListTypeAttributes feature gate."
fn withStringsMixin
withStringsMixin(strings)
"StringValues is a non-empty list of strings. Each string must not be longer than 64 characters.\n\nThis is an alpha field and requires enabling the DRAListTypeAttributes feature gate."
Note: This function appends passed data to existing values
fn withVersion
withVersion(version)
"VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters."
fn withVersions
withVersions(versions)
"VersionValues is a non-empty list of semantic versions according to semver.org spec 2.0.0. Each version string must not be longer than 64 characters.\n\nThis is an alpha field and requires enabling the DRAListTypeAttributes feature gate."
fn withVersionsMixin
withVersionsMixin(versions)
"VersionValues is a non-empty list of semantic versions according to semver.org spec 2.0.0. Each version string must not be longer than 64 characters.\n\nThis is an alpha field and requires enabling the DRAListTypeAttributes feature gate."
Note: This function appends passed data to existing values