public class Dfareporting.Sites extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Dfareporting.Sites.Get |
class |
Dfareporting.Sites.Insert |
class |
Dfareporting.Sites.List |
class |
Dfareporting.Sites.Patch |
class |
Dfareporting.Sites.Update |
| Constructor and Description |
|---|
Sites() |
| Modifier and Type | Method and Description |
|---|---|
Dfareporting.Sites.Get |
get(Long profileId,
Long id)
Gets one site by ID.
|
Dfareporting.Sites.Insert |
insert(Long profileId,
Site content)
Inserts a new site.
|
Dfareporting.Sites.List |
list(Long profileId)
Retrieves a list of sites, possibly filtered.
|
Dfareporting.Sites.Patch |
patch(Long profileId,
Long id,
Site content)
Updates an existing site.
|
Dfareporting.Sites.Update |
update(Long profileId,
Site content)
Updates an existing site.
|
public Dfareporting.Sites.Get get(Long profileId, Long id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.profileId - User profile ID associated with this request.id - Site ID.IOExceptionpublic Dfareporting.Sites.Insert insert(Long profileId, Site content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.profileId - User profile ID associated with this request.content - the SiteIOExceptionpublic Dfareporting.Sites.List list(Long profileId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.profileId - User profile ID associated with this request.IOExceptionpublic Dfareporting.Sites.Patch patch(Long profileId, Long id, Site content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.profileId - User profile ID associated with this request.id - Required. Site ID.content - the SiteIOExceptionpublic Dfareporting.Sites.Update update(Long profileId, Site content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.profileId - User profile ID associated with this request.content - the SiteIOExceptionCopyright © 2011–2023 Google. All rights reserved.