SitesResource class

Constructors

SitesResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(String profileId, String id, {String? $fields}) Future<Site>
Gets one site by ID.
insert(Site request, String profileId, {String? $fields}) Future<Site>
Inserts a new site.
list(String profileId, {bool? acceptsInStreamVideoPlacements, bool? acceptsInterstitialPlacements, bool? acceptsPublisherPaidPlacements, bool? adWordsSite, bool? approved, List<String>? campaignIds, List<String>? directorySiteIds, List<String>? ids, int? maxResults, String? pageToken, String? searchString, String? sortField, String? sortOrder, String? subaccountId, bool? unmappedSite, String? $fields}) Future<SitesListResponse>
Retrieves a list of sites, possibly filtered.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Site request, String profileId, String id, {String? $fields}) Future<Site>
Updates an existing site.
toString() String
A string representation of this object.
inherited
update(Site request, String profileId, {String? $fields}) Future<Site>
Updates an existing site.

Operators

operator ==(Object other) bool
The equality operator.
inherited