Class: Google::Apis::MonitoringV3::ListGroupMembersResponse

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

Overview

The ListGroupMembers response.

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) ⇒ ListGroupMembersResponse

Returns a new instance of ListGroupMembersResponse.


1700
1701
1702
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1700

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

Instance Attribute Details

#membersArray<Google::Apis::MonitoringV3::MonitoredResource>

A set of monitored resources in the group. Corresponds to the JSON property members


1686
1687
1688
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1686

def members
  @members
end

#next_page_tokenString

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method. Corresponds to the JSON property nextPageToken

Returns:

  • (String)

1693
1694
1695
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1693

def next_page_token
  @next_page_token
end

#total_sizeFixnum

The total number of elements matching this request. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)

1698
1699
1700
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1698

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1705
1706
1707
1708
1709
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1705

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