Class: Google::Apis::AdmobV1beta::ListMediationGroupsResponse

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

Overview

Response for the mediation groups list request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListMediationGroupsResponse

Returns a new instance of ListMediationGroupsResponse.



1062
1063
1064
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1062

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

Instance Attribute Details

#mediation_groupsArray<Google::Apis::AdmobV1beta::MediationGroup>

The resulting mediation groups for the requested account. Corresponds to the JSON property mediationGroups



1054
1055
1056
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1054

def mediation_groups
  @mediation_groups
end

#next_page_tokenString

If not empty, indicates that there may be more mediation groups for the request; this value should be passed in a new ListMediationGroupsRequest. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1060
1061
1062
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1060

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1067
1068
1069
1070
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1067

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