Class: Google::Apis::RunV1::OwnerReference
- Inherits:
-
Object
- Object
- Google::Apis::RunV1::OwnerReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v1/classes.rb,
lib/google/apis/run_v1/representations.rb,
lib/google/apis/run_v1/representations.rb
Overview
This is not supported or used by Cloud Run.
Instance Attribute Summary collapse
-
#api_version ⇒ String
This is not supported or used by Cloud Run.
-
#block_owner_deletion ⇒ Boolean
(also: #block_owner_deletion?)
This is not supported or used by Cloud Run.
-
#controller ⇒ Boolean
(also: #controller?)
This is not supported or used by Cloud Run.
-
#kind ⇒ String
This is not supported or used by Cloud Run.
-
#name ⇒ String
This is not supported or used by Cloud Run.
-
#uid ⇒ String
This is not supported or used by Cloud Run.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OwnerReference
constructor
A new instance of OwnerReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OwnerReference
Returns a new instance of OwnerReference.
2308 2309 2310 |
# File 'lib/google/apis/run_v1/classes.rb', line 2308 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_version ⇒ String
This is not supported or used by Cloud Run.
Corresponds to the JSON property apiVersion
2279 2280 2281 |
# File 'lib/google/apis/run_v1/classes.rb', line 2279 def api_version @api_version end |
#block_owner_deletion ⇒ Boolean Also known as: block_owner_deletion?
This is not supported or used by Cloud Run.
Corresponds to the JSON property blockOwnerDeletion
2284 2285 2286 |
# File 'lib/google/apis/run_v1/classes.rb', line 2284 def block_owner_deletion @block_owner_deletion end |
#controller ⇒ Boolean Also known as: controller?
This is not supported or used by Cloud Run.
Corresponds to the JSON property controller
2290 2291 2292 |
# File 'lib/google/apis/run_v1/classes.rb', line 2290 def controller @controller end |
#kind ⇒ String
This is not supported or used by Cloud Run.
Corresponds to the JSON property kind
2296 2297 2298 |
# File 'lib/google/apis/run_v1/classes.rb', line 2296 def kind @kind end |
#name ⇒ String
This is not supported or used by Cloud Run.
Corresponds to the JSON property name
2301 2302 2303 |
# File 'lib/google/apis/run_v1/classes.rb', line 2301 def name @name end |
#uid ⇒ String
This is not supported or used by Cloud Run.
Corresponds to the JSON property uid
2306 2307 2308 |
# File 'lib/google/apis/run_v1/classes.rb', line 2306 def uid @uid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2313 2314 2315 2316 2317 2318 2319 2320 |
# File 'lib/google/apis/run_v1/classes.rb', line 2313 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 |