Class: Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse
- 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
ListCloudSchedulerSourcesResponse is a list of CloudSchedulerSource resources.
Instance Attribute Summary collapse
-
#api_version ⇒ String
The API version for this call such as "events.cloud.google.com/v1alpha1".
-
#items ⇒ Array<Google::Apis::RunV1alpha1::CloudSchedulerSource>
List of CloudSchedulerSources.
-
#kind ⇒ String
The kind of this resource, in this case "CloudSchedulerSourceList".
-
#metadata ⇒ Google::Apis::RunV1alpha1::ListMeta
ListMeta describes metadata that synthetic resources must have, including lists and various status objects.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListCloudSchedulerSourcesResponse
constructor
A new instance of ListCloudSchedulerSourcesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListCloudSchedulerSourcesResponse
Returns a new instance of ListCloudSchedulerSourcesResponse.
2244 2245 2246 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2244 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_version ⇒ String
The API version for this call such as "events.cloud.google.com/v1alpha1".
Corresponds to the JSON property apiVersion
2220 2221 2222 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2220 def api_version @api_version end |
#items ⇒ Array<Google::Apis::RunV1alpha1::CloudSchedulerSource>
List of CloudSchedulerSources.
Corresponds to the JSON property items
2225 2226 2227 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2225 def items @items end |
#kind ⇒ String
The kind of this resource, in this case "CloudSchedulerSourceList".
Corresponds to the JSON property kind
2230 2231 2232 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2230 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
2237 2238 2239 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2237 def @metadata end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
2242 2243 2244 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2242 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2249 2250 2251 2252 2253 2254 2255 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2249 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) @unreachable = args[:unreachable] if args.key?(:unreachable) end |