Class: Google::Apis::RunV1beta1::ListCustomResourceDefinitionsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/run_v1beta1/classes.rb,
generated/google/apis/run_v1beta1/representations.rb,
generated/google/apis/run_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListCustomResourceDefinitionsResponse

Returns a new instance of ListCustomResourceDefinitionsResponse.



806
807
808
# File 'generated/google/apis/run_v1beta1/classes.rb', line 806

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

Instance Attribute Details

#api_versionString

The API version for this call such as "k8s.apiextensions.io/v1beta1". Corresponds to the JSON property apiVersion

Returns:

  • (String)


782
783
784
# File 'generated/google/apis/run_v1beta1/classes.rb', line 782

def api_version
  @api_version
end

#itemsArray<Google::Apis::RunV1beta1::CustomResourceDefinition>

List of CustomResourceDefinitions. Corresponds to the JSON property items



787
788
789
# File 'generated/google/apis/run_v1beta1/classes.rb', line 787

def items
  @items
end

#kindString

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

Returns:

  • (String)


792
793
794
# File 'generated/google/apis/run_v1beta1/classes.rb', line 792

def kind
  @kind
end

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



799
800
801
# File 'generated/google/apis/run_v1beta1/classes.rb', line 799

def 
  @metadata
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)


804
805
806
# File 'generated/google/apis/run_v1beta1/classes.rb', line 804

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



811
812
813
814
815
816
817
# File 'generated/google/apis/run_v1beta1/classes.rb', line 811

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