Class: Google::Apis::RunV1beta1::CustomResourceColumnDefinition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/run_v1beta1/classes.rb,
generated/google/apis/run_v1beta1/representations.rb,
generated/google/apis/run_v1beta1/representations.rb

Overview

CustomResourceColumnDefinition specifies a column for server side printing.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomResourceColumnDefinition

Returns a new instance of CustomResourceColumnDefinition.



66
67
68
# File 'generated/google/apis/run_v1beta1/classes.rb', line 66

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

Instance Attribute Details

#descriptionString

description is a human readable description of this column. +optional Corresponds to the JSON property description

Returns:

  • (String)


32
33
34
# File 'generated/google/apis/run_v1beta1/classes.rb', line 32

def description
  @description
end

#formatString

format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI- Specification/blob/master/versions/2.0.md#data-types for more. +optional Corresponds to the JSON property format

Returns:

  • (String)


40
41
42
# File 'generated/google/apis/run_v1beta1/classes.rb', line 40

def format
  @format
end

#json_pathString

JSONPath is a simple JSON path, i.e. with array notation. Corresponds to the JSON property jsonPath

Returns:

  • (String)


45
46
47
# File 'generated/google/apis/run_v1beta1/classes.rb', line 45

def json_path
  @json_path
end

#nameString

name is a human readable name for the column. Corresponds to the JSON property name

Returns:

  • (String)


50
51
52
# File 'generated/google/apis/run_v1beta1/classes.rb', line 50

def name
  @name
end

#priorityFixnum

priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority. + optional Corresponds to the JSON property priority

Returns:

  • (Fixnum)


58
59
60
# File 'generated/google/apis/run_v1beta1/classes.rb', line 58

def priority
  @priority
end

#typeString

type is an OpenAPI type definition for this column. See https://github.com/OAI/ OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. Corresponds to the JSON property type

Returns:

  • (String)


64
65
66
# File 'generated/google/apis/run_v1beta1/classes.rb', line 64

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



71
72
73
74
75
76
77
78
# File 'generated/google/apis/run_v1beta1/classes.rb', line 71

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @format = args[:format] if args.key?(:format)
  @json_path = args[:json_path] if args.key?(:json_path)
  @name = args[:name] if args.key?(:name)
  @priority = args[:priority] if args.key?(:priority)
  @type = args[:type] if args.key?(:type)
end