class Google::Apis::RunV1::OwnerReference
OwnerReference
contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.
Attributes
API version of the referent. Corresponds to the JSON property `apiVersion` @return [String]
If true, AND if the owner has the “foregroundDeletion” finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs “delete” permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. +optional Corresponds to the JSON property `blockOwnerDeletion` @return [Boolean]
If true, AND if the owner has the “foregroundDeletion” finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs “delete” permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. +optional Corresponds to the JSON property `blockOwnerDeletion` @return [Boolean]
If true, this reference points to the managing controller. +optional Corresponds to the JSON property `controller` @return [Boolean]
If true, this reference points to the managing controller. +optional Corresponds to the JSON property `controller` @return [Boolean]
Kind of the referent. More info: git.k8s.io/community/contributors/ devel/sig-architecture/api-conventions.md#types-kinds Corresponds to the JSON property `kind` @return [String]
Name of the referent. More info: kubernetes.io/docs/user-guide/ identifiers#names Corresponds to the JSON property `name` @return [String]
UID of the referent. More info: kubernetes.io/docs/user-guide/ identifiers#uids Corresponds to the JSON property `uid` @return [String]
Public Class Methods
# File lib/google/apis/run_v1/classes.rb, line 1718 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/run_v1/classes.rb, line 1723 def update!(**args) @api_version = args[:api_version] if args.key?(:api_version) @block_owner_deletion = args[:block_owner_deletion] if args.key?(:block_owner_deletion) @controller = args[:controller] if args.key?(:controller) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @uid = args[:uid] if args.key?(:uid) end