Class: Google::Apis::PlusDomainsV1::AudiencesFeed

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

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

Returns a new instance of AudiencesFeed



1136
1137
1138
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1136

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

Instance Attribute Details

#etagString

ETag of this response for caching purposes. Corresponds to the JSON property etag

Returns:

  • (String)


1111
1112
1113
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1111

def etag
  @etag
end

#itemsArray<Google::Apis::PlusDomainsV1::Audience>

The audiences in this result. Corresponds to the JSON property items



1116
1117
1118
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1116

def items
  @items
end

#kindString

Identifies this resource as a collection of audiences. Value: "plus# audienceFeed". Corresponds to the JSON property kind

Returns:

  • (String)


1122
1123
1124
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1122

def kind
  @kind
end

#next_page_tokenString

The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1128
1129
1130
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1128

def next_page_token
  @next_page_token
end

#total_itemsFixnum

The total number of ACL entries. The number of entries in this response may be smaller due to paging. Corresponds to the JSON property totalItems

Returns:

  • (Fixnum)


1134
1135
1136
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1134

def total_items
  @total_items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1141
1142
1143
1144
1145
1146
1147
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1141

def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @total_items = args[:total_items] if args.key?(:total_items)
end