Class: Google::Apis::RunV1::ListMeta
- Inherits:
-
Object
- Object
- Google::Apis::RunV1::ListMeta
- 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
Metadata for synthetic resources like List. In Cloud Run, all List Resources Responses will have a ListMeta instead of ObjectMeta.
Instance Attribute Summary collapse
-
#continue ⇒ String
Continuation token is a value emitted when the count of items is larger than the user/system limit.
-
#resource_version ⇒ String
Opaque string that identifies the server's internal version of this object.
-
#self_link ⇒ String
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.
1804 1805 1806 |
# File 'lib/google/apis/run_v1/classes.rb', line 1804 def initialize(**args) update!(**args) end |
Instance Attribute Details
#continue ⇒ String
Continuation token is a value emitted when the count of items is larger than
the user/system limit. To retrieve the next page of items, pass the value of
continue
as the next request's page_token
.
Corresponds to the JSON property continue
1788 1789 1790 |
# File 'lib/google/apis/run_v1/classes.rb', line 1788 def continue @continue end |
#resource_version ⇒ String
Opaque string that identifies the server's internal version of this object. It
can be used by clients to determine when objects have changed. If the message
is passed back to the server, it must be left unmodified. https://git.k8s.io/
community/contributors/devel/api-conventions.md#concurrency-control-and-
consistency
Corresponds to the JSON property resourceVersion
1797 1798 1799 |
# File 'lib/google/apis/run_v1/classes.rb', line 1797 def resource_version @resource_version end |
#self_link ⇒ String
URL representing this object.
Corresponds to the JSON property selfLink
1802 1803 1804 |
# File 'lib/google/apis/run_v1/classes.rb', line 1802 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1809 1810 1811 1812 1813 |
# File 'lib/google/apis/run_v1/classes.rb', line 1809 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 |