Class: Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse

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

ListCloudSchedulerSourcesResponse is a list of CloudSchedulerSource resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_versionString

The API version for this call such as "events.cloud.google.com/v1alpha1". Corresponds to the JSON property apiVersion

Returns:

  • (String)


2220
2221
2222
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2220

def api_version
  @api_version
end

#itemsArray<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

#kindString

The kind of this resource, in this case "CloudSchedulerSourceList". Corresponds to the JSON property kind

Returns:

  • (String)


2230
2231
2232
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2230

def kind
  @kind
end

#metadataGoogle::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

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


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