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



1794
1795
1796
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1794

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

Instance Attribute Details

#api_versionString

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

Returns:

  • (String)


1769
1770
1771
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1769

def api_version
  @api_version
end

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

List of DomainMappings. Corresponds to the JSON property items



1774
1775
1776
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1774

def items
  @items
end

#kindString

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

Returns:

  • (String)


1779
1780
1781
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1779

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



1786
1787
1788
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1786

def 
  @metadata
end

#region_detailsHash<String,Google::Apis::RunV1alpha1::RegionDetails>

Details for the regions used during a global call including any failures. This is not populated when targeting a specific region. Corresponds to the JSON property regionDetails



1792
1793
1794
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1792

def region_details
  @region_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1799
1800
1801
1802
1803
1804
1805
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1799

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)
  @region_details = args[:region_details] if args.key?(:region_details)
end