Class: Google::Apis::RunV1::OwnerReference

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OwnerReference

Returns a new instance of OwnerReference.



2549
2550
2551
# File 'lib/google/apis/run_v1/classes.rb', line 2549

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#api_versionString

This is not supported or used by Cloud Run. Corresponds to the JSON property apiVersion

Returns:

  • (String)


2520
2521
2522
# File 'lib/google/apis/run_v1/classes.rb', line 2520

def api_version
  @api_version
end

#block_owner_deletionBoolean Also known as: block_owner_deletion?

This is not supported or used by Cloud Run. Corresponds to the JSON property blockOwnerDeletion

Returns:

  • (Boolean)


2525
2526
2527
# File 'lib/google/apis/run_v1/classes.rb', line 2525

def block_owner_deletion
  @block_owner_deletion
end

#controllerBoolean Also known as: controller?

This is not supported or used by Cloud Run. Corresponds to the JSON property controller

Returns:

  • (Boolean)


2531
2532
2533
# File 'lib/google/apis/run_v1/classes.rb', line 2531

def controller
  @controller
end

#kindString

This is not supported or used by Cloud Run. Corresponds to the JSON property kind

Returns:

  • (String)


2537
2538
2539
# File 'lib/google/apis/run_v1/classes.rb', line 2537

def kind
  @kind
end

#nameString

This is not supported or used by Cloud Run. Corresponds to the JSON property name

Returns:

  • (String)


2542
2543
2544
# File 'lib/google/apis/run_v1/classes.rb', line 2542

def name
  @name
end

#uidString

This is not supported or used by Cloud Run. Corresponds to the JSON property uid

Returns:

  • (String)


2547
2548
2549
# File 'lib/google/apis/run_v1/classes.rb', line 2547

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2554
2555
2556
2557
2558
2559
2560
2561
# File 'lib/google/apis/run_v1/classes.rb', line 2554

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