Class: Google::Apis::RunV1alpha1::ListMeta

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/run_v1alpha1/classes.rb,
generated/google/apis/run_v1alpha1/representations.rb,
generated/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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListMeta

Returns a new instance of ListMeta.



2255
2256
2257
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2255

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

Instance Attribute Details

#continueString

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

Returns:

  • (String)


2232
2233
2234
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2232

def continue
  @continue
end

#resource_versionString

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

Returns:

  • (String)


2245
2246
2247
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2245

def resource_version
  @resource_version
end

SelfLink is a URL representing this object. Populated by the system. Read-only. +optional Corresponds to the JSON property selfLink

Returns:

  • (String)


2253
2254
2255
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2253

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2260
2261
2262
2263
2264
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2260

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