Class: Google::Apis::RunV1alpha1::ListMeta
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::ListMeta
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v1alpha1/classes.rb,
lib/google/apis/run_v1alpha1/representations.rb,
lib/google/apis/run_v1alpha1/representations.rb
Overview
ListMeta describes metadata that synthetic resources must have, including
lists and various status objects. A resource may have only one of ObjectMeta,
ListMeta.
Instance Attribute Summary collapse
-
#continue ⇒ String
continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available.
-
#resource_version ⇒ String
String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.
-
#self_link ⇒ String
SelfLink is a URL representing this object.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListMeta
constructor
A new instance of ListMeta.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListMeta
Returns a new instance of ListMeta.
2021 2022 2023 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2021 def initialize(**args) update!(**args) end |
Instance Attribute Details
#continue ⇒ String
continue may be set if the user set a limit on the number of items returned,
and indicates that the server has more data available. The value is opaque and
may be used to issue another request to the endpoint that served this list to
retrieve the next set of available objects. Continuing a list may not be
possible if the server configuration has changed or more than a few minutes
have passed. The resourceVersion field returned when using this continue value
will be identical to the value in the first response.
Corresponds to the JSON property continue
2003 2004 2005 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2003 def continue @continue end |
#resource_version ⇒ String
String that identifies the server's internal version of this object that can
be used by clients to determine when objects have changed. Value must be
treated as opaque by clients and passed unmodified back to the server.
Populated by the system. Read-only. More info: https://git.k8s.io/community/
contributors/devel/api-conventions.md#concurrency-control-and-consistency +
optional
Corresponds to the JSON property resourceVersion
2013 2014 2015 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2013 def resource_version @resource_version end |
#self_link ⇒ String
SelfLink is a URL representing this object. Populated by the system. Read-only.
+optional
Corresponds to the JSON property selfLink
2019 2020 2021 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2019 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2026 2027 2028 2029 2030 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2026 def update!(**args) @continue = args[:continue] if args.key?(:continue) @resource_version = args[:resource_version] if args.key?(:resource_version) @self_link = args[:self_link] if args.key?(:self_link) end |