Class: Google::Apis::ManagedidentitiesV1alpha1::ListPeeringsResponse

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

Overview

ListPeeringsResponse is the response message for ListPeerings method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPeeringsResponse

Returns a new instance of ListPeeringsResponse.



1554
1555
1556
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1554

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

Instance Attribute Details

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1542
1543
1544
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1542

def next_page_token
  @next_page_token
end

#peeringsArray<Google::Apis::ManagedidentitiesV1alpha1::Peering>

A list of Managed Identities Service Peerings in the project. Corresponds to the JSON property peerings



1547
1548
1549
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1547

def peerings
  @peerings
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)


1552
1553
1554
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1552

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1559
1560
1561
1562
1563
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1559

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @peerings = args[:peerings] if args.key?(:peerings)
  @unreachable = args[:unreachable] if args.key?(:unreachable)
end