Class: Google::Apis::RunV1alpha1::ListJobsResponse
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::ListJobsResponse
- 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
ListJobsResponse is a list of Jobs resources.
Instance Attribute Summary collapse
-
#api_version ⇒ String
The API version for this call such as "run.googleapis.com/v1alpha1".
-
#items ⇒ Array<Google::Apis::RunV1alpha1::Job>
List of Jobs.
-
#kind ⇒ String
The kind of this resource, in this case "JobsList".
-
#metadata ⇒ Google::Apis::RunV1alpha1::ListMeta
ListMeta describes metadata that synthetic resources must have, including lists and various status objects.
-
#next_page_token ⇒ String
This field is equivalent to the metadata.continue field and is provided as a convenience for compatibility with https://google.aip.dev/158.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListJobsResponse
constructor
A new instance of ListJobsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListJobsResponse
Returns a new instance of ListJobsResponse.
1948 1949 1950 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 1948 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_version ⇒ String
The API version for this call such as "run.googleapis.com/v1alpha1".
Corresponds to the JSON property apiVersion
1913 1914 1915 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 1913 def api_version @api_version end |
#items ⇒ Array<Google::Apis::RunV1alpha1::Job>
List of Jobs.
Corresponds to the JSON property items
1918 1919 1920 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 1918 def items @items end |
#kind ⇒ String
The kind of this resource, in this case "JobsList".
Corresponds to the JSON property kind
1923 1924 1925 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 1923 def kind @kind end |
#metadata ⇒ Google::Apis::RunV1alpha1::ListMeta
ListMeta describes metadata that synthetic resources must have, including
lists and various status objects. A resource may have only one of ObjectMeta,
ListMeta.
Corresponds to the JSON property metadata
1930 1931 1932 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 1930 def @metadata end |
#next_page_token ⇒ String
This field is equivalent to the metadata.continue field and is provided as a
convenience for compatibility with https://google.aip.dev/158. 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 metadata.resourceVersion field returned when using
this field will be identical to the value in the first response.
Corresponds to the JSON property nextPageToken
1941 1942 1943 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 1941 def next_page_token @next_page_token end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
1946 1947 1948 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 1946 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1953 1954 1955 1956 1957 1958 1959 1960 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 1953 def update!(**args) @api_version = args[:api_version] if args.key?(:api_version) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @metadata = args[:metadata] if args.key?(:metadata) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) end |