Class: Google::Apis::RunV1beta1::CustomResourceColumnDefinition
- Inherits:
-
Object
- Object
- Google::Apis::RunV1beta1::CustomResourceColumnDefinition
- 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
-
#description ⇒ String
description is a human readable description of this column.
-
#format ⇒ String
format is an optional OpenAPI type definition for this column.
-
#json_path ⇒ String
JSONPath is a simple JSON path, i.e.
-
#name ⇒ String
name is a human readable name for the column.
-
#priority ⇒ Fixnum
priority is an integer defining the relative importance of this column compared to others.
-
#type ⇒ String
type is an OpenAPI type definition for this column.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomResourceColumnDefinition
constructor
A new instance of CustomResourceColumnDefinition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CustomResourceColumnDefinition
Returns a new instance of CustomResourceColumnDefinition.
72 73 74 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 72 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
description is a human readable description of this column.
+optional
Corresponds to the JSON property description
33 34 35 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 33 def description @description end |
#format ⇒ String
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
43 44 45 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 43 def format @format end |
#json_path ⇒ String
JSONPath is a simple JSON path, i.e. with array notation.
Corresponds to the JSON property jsonPath
48 49 50 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 48 def json_path @json_path end |
#name ⇒ String
name is a human readable name for the column.
Corresponds to the JSON property name
53 54 55 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 53 def name @name end |
#priority ⇒ Fixnum
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
61 62 63 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 61 def priority @priority end |
#type ⇒ String
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
70 71 72 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 70 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
77 78 79 80 81 82 83 84 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 77 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 |