Class: Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse
- 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
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.
2644 2645 2646 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2644 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
2620 2621 2622 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2620 def api_version @api_version end |
#items ⇒ Array<Google::Apis::RunV1alpha1::CloudSchedulerSource>
List of CloudSchedulerSources.
Corresponds to the JSON property items
2625 2626 2627 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2625 def items @items end |
#kind ⇒ String
The kind of this resource, in this case "CloudSchedulerSourceList".
Corresponds to the JSON property kind
2630 2631 2632 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2630 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
2637 2638 2639 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2637 def @metadata end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
2642 2643 2644 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2642 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2649 2650 2651 2652 2653 2654 2655 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2649 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 |