Class: Google::Apis::RunV1alpha1::ListPubSubsResponse
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::ListPubSubsResponse
- 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
ListPubSubsResponse is a list of PubSub 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::PubSub>
List of PubSubs.
-
#kind ⇒ String
The kind of this resource, in this case "PubSubList".
-
#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) ⇒ ListPubSubsResponse
constructor
A new instance of ListPubSubsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListPubSubsResponse
Returns a new instance of ListPubSubsResponse
2038 2039 2040 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2038 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
2014 2015 2016 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2014 def api_version @api_version end |
#items ⇒ Array<Google::Apis::RunV1alpha1::PubSub>
List of PubSubs.
Corresponds to the JSON property items
2019 2020 2021 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2019 def items @items end |
#kind ⇒ String
The kind of this resource, in this case "PubSubList".
Corresponds to the JSON property kind
2024 2025 2026 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2024 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
2031 2032 2033 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2031 def @metadata end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
2036 2037 2038 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2036 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2043 2044 2045 2046 2047 2048 2049 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2043 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 |