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.
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
#description ⇒ String
description is a human readable description of this column. +optional
Corresponds to the JSON property description
32 33 34 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 32 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
40 41 42 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 40 def format @format end |
#json_path ⇒ String
JSONPath is a simple JSON path, i.e. with array notation.
Corresponds to the JSON property jsonPath
45 46 47 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 45 def json_path @json_path end |
#name ⇒ String
name is a human readable name for the column.
Corresponds to the JSON property name
50 51 52 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 50 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
58 59 60 |
# File 'generated/google/apis/run_v1beta1/classes.rb', line 58 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
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 |