Class: Google::Apis::RunV1alpha1::ListDomainMappingsResponse

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

ListDomainMappingsResponse is a list of DomainMapping resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListDomainMappingsResponse

Returns a new instance of ListDomainMappingsResponse



1601
1602
1603
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1601

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

Instance Attribute Details

#api_versionString

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

Returns:

  • (String)


1582
1583
1584
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1582

def api_version
  @api_version
end

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

List of DomainMappings. Corresponds to the JSON property items



1587
1588
1589
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1587

def items
  @items
end

#kindString

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

Returns:

  • (String)


1592
1593
1594
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1592

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



1599
1600
1601
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1599

def 
  @metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1606
1607
1608
1609
1610
1611
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1606

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)
end