Class: Google::Apis::RunV1alpha1::ListConfigurationsResponse

Inherits:
Object
  • Object
show all
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

ListConfigurationsResponse is a list of Configuration resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListConfigurationsResponse

Returns a new instance of ListConfigurationsResponse.



2734
2735
2736
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2734

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#api_versionString

The API version for this call such as "serving.knative.dev/v1alpha1". Corresponds to the JSON property apiVersion

Returns:

  • (String)


2710
2711
2712
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2710

def api_version
  @api_version
end

#itemsArray<Google::Apis::RunV1alpha1::Configuration>

List of Configurations. Corresponds to the JSON property items



2715
2716
2717
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2715

def items
  @items
end

#kindString

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

Returns:

  • (String)


2720
2721
2722
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2720

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



2727
2728
2729
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2727

def 
  @metadata
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)


2732
2733
2734
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2732

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2739
2740
2741
2742
2743
2744
2745
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 2739

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