pub struct ManagementMethods<'a, S>
where S: 'a,
{ /* private fields */ }
Expand description

A builder providing access to all methods supported on management resources. It is not used directly, but through the Analytics hub.

§Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate google_analytics3 as analytics3;
 
use std::default::Default;
use analytics3::{Analytics, oauth2, hyper, hyper_rustls, chrono, FieldMask};
 
let secret: oauth2::ApplicationSecret = Default::default();
let auth = oauth2::InstalledFlowAuthenticator::builder(
        secret,
        oauth2::InstalledFlowReturnMethod::HTTPRedirect,
    ).build().await.unwrap();
let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `account_summaries_list(...)`, `account_user_links_delete(...)`, `account_user_links_insert(...)`, `account_user_links_list(...)`, `account_user_links_update(...)`, `accounts_list(...)`, `client_id_hash_client_id(...)`, `custom_data_sources_list(...)`, `custom_dimensions_get(...)`, `custom_dimensions_insert(...)`, `custom_dimensions_list(...)`, `custom_dimensions_patch(...)`, `custom_dimensions_update(...)`, `custom_metrics_get(...)`, `custom_metrics_insert(...)`, `custom_metrics_list(...)`, `custom_metrics_patch(...)`, `custom_metrics_update(...)`, `experiments_delete(...)`, `experiments_get(...)`, `experiments_insert(...)`, `experiments_list(...)`, `experiments_patch(...)`, `experiments_update(...)`, `filters_delete(...)`, `filters_get(...)`, `filters_insert(...)`, `filters_list(...)`, `filters_patch(...)`, `filters_update(...)`, `goals_get(...)`, `goals_insert(...)`, `goals_list(...)`, `goals_patch(...)`, `goals_update(...)`, `profile_filter_links_delete(...)`, `profile_filter_links_get(...)`, `profile_filter_links_insert(...)`, `profile_filter_links_list(...)`, `profile_filter_links_patch(...)`, `profile_filter_links_update(...)`, `profile_user_links_delete(...)`, `profile_user_links_insert(...)`, `profile_user_links_list(...)`, `profile_user_links_update(...)`, `profiles_delete(...)`, `profiles_get(...)`, `profiles_insert(...)`, `profiles_list(...)`, `profiles_patch(...)`, `profiles_update(...)`, `remarketing_audience_delete(...)`, `remarketing_audience_get(...)`, `remarketing_audience_insert(...)`, `remarketing_audience_list(...)`, `remarketing_audience_patch(...)`, `remarketing_audience_update(...)`, `segments_list(...)`, `unsampled_reports_delete(...)`, `unsampled_reports_get(...)`, `unsampled_reports_insert(...)`, `unsampled_reports_list(...)`, `uploads_delete_upload_data(...)`, `uploads_get(...)`, `uploads_list(...)`, `uploads_upload_data(...)`, `web_property_ad_words_links_delete(...)`, `web_property_ad_words_links_get(...)`, `web_property_ad_words_links_insert(...)`, `web_property_ad_words_links_list(...)`, `web_property_ad_words_links_patch(...)`, `web_property_ad_words_links_update(...)`, `webproperties_get(...)`, `webproperties_insert(...)`, `webproperties_list(...)`, `webproperties_patch(...)`, `webproperties_update(...)`, `webproperty_user_links_delete(...)`, `webproperty_user_links_insert(...)`, `webproperty_user_links_list(...)` and `webproperty_user_links_update(...)`
// to build up your call.
let rb = hub.management();

Implementations§

source§

impl<'a, S> ManagementMethods<'a, S>

source

pub fn account_summaries_list(&self) -> ManagementAccountSummaryListCall<'a, S>

Create a builder to help you perform the following task:

Lists account summaries (lightweight tree comprised of accounts/properties/profiles) to which the user has access.

Create a builder to help you perform the following task:

Removes a user from the given account.

§Arguments
  • accountId - Account ID to delete the user link for.
  • linkId - Link ID to delete the user link for.

Create a builder to help you perform the following task:

Adds a new user to the given account.

§Arguments
  • request - No description provided.
  • accountId - Account ID to create the user link for.

Create a builder to help you perform the following task:

Lists account-user links for a given account.

§Arguments
  • accountId - Account ID to retrieve the user links for.

Create a builder to help you perform the following task:

Updates permissions for an existing user on the given account.

§Arguments
  • request - No description provided.
  • accountId - Account ID to update the account-user link for.
  • linkId - Link ID to update the account-user link for.
source

pub fn accounts_list(&self) -> ManagementAccountListCall<'a, S>

Create a builder to help you perform the following task:

Lists all accounts to which the user has access.

source

pub fn client_id_hash_client_id( &self, request: HashClientIdRequest ) -> ManagementClientIdHashClientIdCall<'a, S>

Create a builder to help you perform the following task:

Hashes the given Client ID.

§Arguments
  • request - No description provided.
source

pub fn custom_data_sources_list( &self, account_id: &str, web_property_id: &str ) -> ManagementCustomDataSourceListCall<'a, S>

Create a builder to help you perform the following task:

List custom data sources to which the user has access.

§Arguments
  • accountId - Account Id for the custom data sources to retrieve.
  • webPropertyId - Web property Id for the custom data sources to retrieve.
source

pub fn custom_dimensions_get( &self, account_id: &str, web_property_id: &str, custom_dimension_id: &str ) -> ManagementCustomDimensionGetCall<'a, S>

Create a builder to help you perform the following task:

Get a custom dimension to which the user has access.

§Arguments
  • accountId - Account ID for the custom dimension to retrieve.
  • webPropertyId - Web property ID for the custom dimension to retrieve.
  • customDimensionId - The ID of the custom dimension to retrieve.
source

pub fn custom_dimensions_insert( &self, request: CustomDimension, account_id: &str, web_property_id: &str ) -> ManagementCustomDimensionInsertCall<'a, S>

Create a builder to help you perform the following task:

Create a new custom dimension.

§Arguments
  • request - No description provided.
  • accountId - Account ID for the custom dimension to create.
  • webPropertyId - Web property ID for the custom dimension to create.
source

pub fn custom_dimensions_list( &self, account_id: &str, web_property_id: &str ) -> ManagementCustomDimensionListCall<'a, S>

Create a builder to help you perform the following task:

Lists custom dimensions to which the user has access.

§Arguments
  • accountId - Account ID for the custom dimensions to retrieve.
  • webPropertyId - Web property ID for the custom dimensions to retrieve.
source

pub fn custom_dimensions_patch( &self, request: CustomDimension, account_id: &str, web_property_id: &str, custom_dimension_id: &str ) -> ManagementCustomDimensionPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates an existing custom dimension. This method supports patch semantics.

§Arguments
  • request - No description provided.
  • accountId - Account ID for the custom dimension to update.
  • webPropertyId - Web property ID for the custom dimension to update.
  • customDimensionId - Custom dimension ID for the custom dimension to update.
source

pub fn custom_dimensions_update( &self, request: CustomDimension, account_id: &str, web_property_id: &str, custom_dimension_id: &str ) -> ManagementCustomDimensionUpdateCall<'a, S>

Create a builder to help you perform the following task:

Updates an existing custom dimension.

§Arguments
  • request - No description provided.
  • accountId - Account ID for the custom dimension to update.
  • webPropertyId - Web property ID for the custom dimension to update.
  • customDimensionId - Custom dimension ID for the custom dimension to update.
source

pub fn custom_metrics_get( &self, account_id: &str, web_property_id: &str, custom_metric_id: &str ) -> ManagementCustomMetricGetCall<'a, S>

Create a builder to help you perform the following task:

Get a custom metric to which the user has access.

§Arguments
  • accountId - Account ID for the custom metric to retrieve.
  • webPropertyId - Web property ID for the custom metric to retrieve.
  • customMetricId - The ID of the custom metric to retrieve.
source

pub fn custom_metrics_insert( &self, request: CustomMetric, account_id: &str, web_property_id: &str ) -> ManagementCustomMetricInsertCall<'a, S>

Create a builder to help you perform the following task:

Create a new custom metric.

§Arguments
  • request - No description provided.
  • accountId - Account ID for the custom metric to create.
  • webPropertyId - Web property ID for the custom dimension to create.
source

pub fn custom_metrics_list( &self, account_id: &str, web_property_id: &str ) -> ManagementCustomMetricListCall<'a, S>

Create a builder to help you perform the following task:

Lists custom metrics to which the user has access.

§Arguments
  • accountId - Account ID for the custom metrics to retrieve.
  • webPropertyId - Web property ID for the custom metrics to retrieve.
source

pub fn custom_metrics_patch( &self, request: CustomMetric, account_id: &str, web_property_id: &str, custom_metric_id: &str ) -> ManagementCustomMetricPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates an existing custom metric. This method supports patch semantics.

§Arguments
  • request - No description provided.
  • accountId - Account ID for the custom metric to update.
  • webPropertyId - Web property ID for the custom metric to update.
  • customMetricId - Custom metric ID for the custom metric to update.
source

pub fn custom_metrics_update( &self, request: CustomMetric, account_id: &str, web_property_id: &str, custom_metric_id: &str ) -> ManagementCustomMetricUpdateCall<'a, S>

Create a builder to help you perform the following task:

Updates an existing custom metric.

§Arguments
  • request - No description provided.
  • accountId - Account ID for the custom metric to update.
  • webPropertyId - Web property ID for the custom metric to update.
  • customMetricId - Custom metric ID for the custom metric to update.
source

pub fn experiments_delete( &self, account_id: &str, web_property_id: &str, profile_id: &str, experiment_id: &str ) -> ManagementExperimentDeleteCall<'a, S>

Create a builder to help you perform the following task:

Delete an experiment.

§Arguments
  • accountId - Account ID to which the experiment belongs
  • webPropertyId - Web property ID to which the experiment belongs
  • profileId - View (Profile) ID to which the experiment belongs
  • experimentId - ID of the experiment to delete
source

pub fn experiments_get( &self, account_id: &str, web_property_id: &str, profile_id: &str, experiment_id: &str ) -> ManagementExperimentGetCall<'a, S>

Create a builder to help you perform the following task:

Returns an experiment to which the user has access.

§Arguments
  • accountId - Account ID to retrieve the experiment for.
  • webPropertyId - Web property ID to retrieve the experiment for.
  • profileId - View (Profile) ID to retrieve the experiment for.
  • experimentId - Experiment ID to retrieve the experiment for.
source

pub fn experiments_insert( &self, request: Experiment, account_id: &str, web_property_id: &str, profile_id: &str ) -> ManagementExperimentInsertCall<'a, S>

Create a builder to help you perform the following task:

Create a new experiment.

§Arguments
  • request - No description provided.
  • accountId - Account ID to create the experiment for.
  • webPropertyId - Web property ID to create the experiment for.
  • profileId - View (Profile) ID to create the experiment for.
source

pub fn experiments_list( &self, account_id: &str, web_property_id: &str, profile_id: &str ) -> ManagementExperimentListCall<'a, S>

Create a builder to help you perform the following task:

Lists experiments to which the user has access.

§Arguments
  • accountId - Account ID to retrieve experiments for.
  • webPropertyId - Web property ID to retrieve experiments for.
  • profileId - View (Profile) ID to retrieve experiments for.
source

pub fn experiments_patch( &self, request: Experiment, account_id: &str, web_property_id: &str, profile_id: &str, experiment_id: &str ) -> ManagementExperimentPatchCall<'a, S>

Create a builder to help you perform the following task:

Update an existing experiment. This method supports patch semantics.

§Arguments
  • request - No description provided.
  • accountId - Account ID of the experiment to update.
  • webPropertyId - Web property ID of the experiment to update.
  • profileId - View (Profile) ID of the experiment to update.
  • experimentId - Experiment ID of the experiment to update.
source

pub fn experiments_update( &self, request: Experiment, account_id: &str, web_property_id: &str, profile_id: &str, experiment_id: &str ) -> ManagementExperimentUpdateCall<'a, S>

Create a builder to help you perform the following task:

Update an existing experiment.

§Arguments
  • request - No description provided.
  • accountId - Account ID of the experiment to update.
  • webPropertyId - Web property ID of the experiment to update.
  • profileId - View (Profile) ID of the experiment to update.
  • experimentId - Experiment ID of the experiment to update.
source

pub fn filters_delete( &self, account_id: &str, filter_id: &str ) -> ManagementFilterDeleteCall<'a, S>

Create a builder to help you perform the following task:

Delete a filter.

§Arguments
  • accountId - Account ID to delete the filter for.
  • filterId - ID of the filter to be deleted.
source

pub fn filters_get( &self, account_id: &str, filter_id: &str ) -> ManagementFilterGetCall<'a, S>

Create a builder to help you perform the following task:

Returns filters to which the user has access.

§Arguments
  • accountId - Account ID to retrieve filters for.
  • filterId - Filter ID to retrieve filters for.
source

pub fn filters_insert( &self, request: Filter, account_id: &str ) -> ManagementFilterInsertCall<'a, S>

Create a builder to help you perform the following task:

Create a new filter.

§Arguments
  • request - No description provided.
  • accountId - Account ID to create filter for.
source

pub fn filters_list(&self, account_id: &str) -> ManagementFilterListCall<'a, S>

Create a builder to help you perform the following task:

Lists all filters for an account

§Arguments
  • accountId - Account ID to retrieve filters for.
source

pub fn filters_patch( &self, request: Filter, account_id: &str, filter_id: &str ) -> ManagementFilterPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates an existing filter. This method supports patch semantics.

§Arguments
  • request - No description provided.
  • accountId - Account ID to which the filter belongs.
  • filterId - ID of the filter to be updated.
source

pub fn filters_update( &self, request: Filter, account_id: &str, filter_id: &str ) -> ManagementFilterUpdateCall<'a, S>

Create a builder to help you perform the following task:

Updates an existing filter.

§Arguments
  • request - No description provided.
  • accountId - Account ID to which the filter belongs.
  • filterId - ID of the filter to be updated.
source

pub fn goals_get( &self, account_id: &str, web_property_id: &str, profile_id: &str, goal_id: &str ) -> ManagementGoalGetCall<'a, S>

Create a builder to help you perform the following task:

Gets a goal to which the user has access.

§Arguments
  • accountId - Account ID to retrieve the goal for.
  • webPropertyId - Web property ID to retrieve the goal for.
  • profileId - View (Profile) ID to retrieve the goal for.
  • goalId - Goal ID to retrieve the goal for.
source

pub fn goals_insert( &self, request: Goal, account_id: &str, web_property_id: &str, profile_id: &str ) -> ManagementGoalInsertCall<'a, S>

Create a builder to help you perform the following task:

Create a new goal.

§Arguments
  • request - No description provided.
  • accountId - Account ID to create the goal for.
  • webPropertyId - Web property ID to create the goal for.
  • profileId - View (Profile) ID to create the goal for.
source

pub fn goals_list( &self, account_id: &str, web_property_id: &str, profile_id: &str ) -> ManagementGoalListCall<'a, S>

Create a builder to help you perform the following task:

Lists goals to which the user has access.

§Arguments
  • accountId - Account ID to retrieve goals for. Can either be a specific account ID or ‘~all’, which refers to all the accounts that user has access to.
  • webPropertyId - Web property ID to retrieve goals for. Can either be a specific web property ID or ‘~all’, which refers to all the web properties that user has access to.
  • profileId - View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or ‘~all’, which refers to all the views (profiles) that user has access to.
source

pub fn goals_patch( &self, request: Goal, account_id: &str, web_property_id: &str, profile_id: &str, goal_id: &str ) -> ManagementGoalPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates an existing goal. This method supports patch semantics.

§Arguments
  • request - No description provided.
  • accountId - Account ID to update the goal.
  • webPropertyId - Web property ID to update the goal.
  • profileId - View (Profile) ID to update the goal.
  • goalId - Index of the goal to be updated.
source

pub fn goals_update( &self, request: Goal, account_id: &str, web_property_id: &str, profile_id: &str, goal_id: &str ) -> ManagementGoalUpdateCall<'a, S>

Create a builder to help you perform the following task:

Updates an existing goal.

§Arguments
  • request - No description provided.
  • accountId - Account ID to update the goal.
  • webPropertyId - Web property ID to update the goal.
  • profileId - View (Profile) ID to update the goal.
  • goalId - Index of the goal to be updated.

Create a builder to help you perform the following task:

Delete a profile filter link.

§Arguments
  • accountId - Account ID to which the profile filter link belongs.
  • webPropertyId - Web property Id to which the profile filter link belongs.
  • profileId - Profile ID to which the filter link belongs.
  • linkId - ID of the profile filter link to delete.

Create a builder to help you perform the following task:

Returns a single profile filter link.

§Arguments
  • accountId - Account ID to retrieve profile filter link for.
  • webPropertyId - Web property Id to retrieve profile filter link for.
  • profileId - Profile ID to retrieve filter link for.
  • linkId - ID of the profile filter link.

Create a builder to help you perform the following task:

Create a new profile filter link.

§Arguments
  • request - No description provided.
  • accountId - Account ID to create profile filter link for.
  • webPropertyId - Web property Id to create profile filter link for.
  • profileId - Profile ID to create filter link for.

Create a builder to help you perform the following task:

Lists all profile filter links for a profile.

§Arguments
  • accountId - Account ID to retrieve profile filter links for.
  • webPropertyId - Web property Id for profile filter links for. Can either be a specific web property ID or ‘~all’, which refers to all the web properties that user has access to.
  • profileId - Profile ID to retrieve filter links for. Can either be a specific profile ID or ‘~all’, which refers to all the profiles that user has access to.

Create a builder to help you perform the following task:

Update an existing profile filter link. This method supports patch semantics.

§Arguments
  • request - No description provided.
  • accountId - Account ID to which profile filter link belongs.
  • webPropertyId - Web property Id to which profile filter link belongs
  • profileId - Profile ID to which filter link belongs
  • linkId - ID of the profile filter link to be updated.

Create a builder to help you perform the following task:

Update an existing profile filter link.

§Arguments
  • request - No description provided.
  • accountId - Account ID to which profile filter link belongs.
  • webPropertyId - Web property Id to which profile filter link belongs
  • profileId - Profile ID to which filter link belongs
  • linkId - ID of the profile filter link to be updated.

Create a builder to help you perform the following task:

Removes a user from the given view (profile).

§Arguments
  • accountId - Account ID to delete the user link for.
  • webPropertyId - Web Property ID to delete the user link for.
  • profileId - View (Profile) ID to delete the user link for.
  • linkId - Link ID to delete the user link for.

Create a builder to help you perform the following task:

Adds a new user to the given view (profile).

§Arguments
  • request - No description provided.
  • accountId - Account ID to create the user link for.
  • webPropertyId - Web Property ID to create the user link for.
  • profileId - View (Profile) ID to create the user link for.

Create a builder to help you perform the following task:

Lists profile-user links for a given view (profile).

§Arguments
  • accountId - Account ID which the given view (profile) belongs to.
  • webPropertyId - Web Property ID which the given view (profile) belongs to. Can either be a specific web property ID or ‘~all’, which refers to all the web properties that user has access to.
  • profileId - View (Profile) ID to retrieve the profile-user links for. Can either be a specific profile ID or ‘~all’, which refers to all the profiles that user has access to.

Create a builder to help you perform the following task:

Updates permissions for an existing user on the given view (profile).

§Arguments
  • request - No description provided.
  • accountId - Account ID to update the user link for.
  • webPropertyId - Web Property ID to update the user link for.
  • profileId - View (Profile ID) to update the user link for.
  • linkId - Link ID to update the user link for.
source

pub fn profiles_delete( &self, account_id: &str, web_property_id: &str, profile_id: &str ) -> ManagementProfileDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes a view (profile).

§Arguments
  • accountId - Account ID to delete the view (profile) for.
  • webPropertyId - Web property ID to delete the view (profile) for.
  • profileId - ID of the view (profile) to be deleted.
source

pub fn profiles_get( &self, account_id: &str, web_property_id: &str, profile_id: &str ) -> ManagementProfileGetCall<'a, S>

Create a builder to help you perform the following task:

Gets a view (profile) to which the user has access.

§Arguments
  • accountId - Account ID to retrieve the view (profile) for.
  • webPropertyId - Web property ID to retrieve the view (profile) for.
  • profileId - View (Profile) ID to retrieve the view (profile) for.
source

pub fn profiles_insert( &self, request: Profile, account_id: &str, web_property_id: &str ) -> ManagementProfileInsertCall<'a, S>

Create a builder to help you perform the following task:

Create a new view (profile).

§Arguments
  • request - No description provided.
  • accountId - Account ID to create the view (profile) for.
  • webPropertyId - Web property ID to create the view (profile) for.
source

pub fn profiles_list( &self, account_id: &str, web_property_id: &str ) -> ManagementProfileListCall<'a, S>

Create a builder to help you perform the following task:

Lists views (profiles) to which the user has access.

§Arguments
  • accountId - Account ID for the view (profiles) to retrieve. Can either be a specific account ID or ‘~all’, which refers to all the accounts to which the user has access.
  • webPropertyId - Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID or ‘~all’, which refers to all the web properties to which the user has access.
source

pub fn profiles_patch( &self, request: Profile, account_id: &str, web_property_id: &str, profile_id: &str ) -> ManagementProfilePatchCall<'a, S>

Create a builder to help you perform the following task:

Updates an existing view (profile). This method supports patch semantics.

§Arguments
  • request - No description provided.
  • accountId - Account ID to which the view (profile) belongs
  • webPropertyId - Web property ID to which the view (profile) belongs
  • profileId - ID of the view (profile) to be updated.
source

pub fn profiles_update( &self, request: Profile, account_id: &str, web_property_id: &str, profile_id: &str ) -> ManagementProfileUpdateCall<'a, S>

Create a builder to help you perform the following task:

Updates an existing view (profile).

§Arguments
  • request - No description provided.
  • accountId - Account ID to which the view (profile) belongs
  • webPropertyId - Web property ID to which the view (profile) belongs
  • profileId - ID of the view (profile) to be updated.
source

pub fn remarketing_audience_delete( &self, account_id: &str, web_property_id: &str, remarketing_audience_id: &str ) -> ManagementRemarketingAudienceDeleteCall<'a, S>

Create a builder to help you perform the following task:

Delete a remarketing audience.

§Arguments
  • accountId - Account ID to which the remarketing audience belongs.
  • webPropertyId - Web property ID to which the remarketing audience belongs.
  • remarketingAudienceId - The ID of the remarketing audience to delete.
source

pub fn remarketing_audience_get( &self, account_id: &str, web_property_id: &str, remarketing_audience_id: &str ) -> ManagementRemarketingAudienceGetCall<'a, S>

Create a builder to help you perform the following task:

Gets a remarketing audience to which the user has access.

§Arguments
  • accountId - The account ID of the remarketing audience to retrieve.
  • webPropertyId - The web property ID of the remarketing audience to retrieve.
  • remarketingAudienceId - The ID of the remarketing audience to retrieve.
source

pub fn remarketing_audience_insert( &self, request: RemarketingAudience, account_id: &str, web_property_id: &str ) -> ManagementRemarketingAudienceInsertCall<'a, S>

Create a builder to help you perform the following task:

Creates a new remarketing audience.

§Arguments
  • request - No description provided.
  • accountId - The account ID for which to create the remarketing audience.
  • webPropertyId - Web property ID for which to create the remarketing audience.
source

pub fn remarketing_audience_list( &self, account_id: &str, web_property_id: &str ) -> ManagementRemarketingAudienceListCall<'a, S>

Create a builder to help you perform the following task:

Lists remarketing audiences to which the user has access.

§Arguments
  • accountId - The account ID of the remarketing audiences to retrieve.
  • webPropertyId - The web property ID of the remarketing audiences to retrieve.
source

pub fn remarketing_audience_patch( &self, request: RemarketingAudience, account_id: &str, web_property_id: &str, remarketing_audience_id: &str ) -> ManagementRemarketingAudiencePatchCall<'a, S>

Create a builder to help you perform the following task:

Updates an existing remarketing audience. This method supports patch semantics.

§Arguments
  • request - No description provided.
  • accountId - The account ID of the remarketing audience to update.
  • webPropertyId - The web property ID of the remarketing audience to update.
  • remarketingAudienceId - The ID of the remarketing audience to update.
source

pub fn remarketing_audience_update( &self, request: RemarketingAudience, account_id: &str, web_property_id: &str, remarketing_audience_id: &str ) -> ManagementRemarketingAudienceUpdateCall<'a, S>

Create a builder to help you perform the following task:

Updates an existing remarketing audience.

§Arguments
  • request - No description provided.
  • accountId - The account ID of the remarketing audience to update.
  • webPropertyId - The web property ID of the remarketing audience to update.
  • remarketingAudienceId - The ID of the remarketing audience to update.
source

pub fn segments_list(&self) -> ManagementSegmentListCall<'a, S>

Create a builder to help you perform the following task:

Lists segments to which the user has access.

source

pub fn unsampled_reports_delete( &self, account_id: &str, web_property_id: &str, profile_id: &str, unsampled_report_id: &str ) -> ManagementUnsampledReportDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes an unsampled report.

§Arguments
  • accountId - Account ID to delete the unsampled report for.
  • webPropertyId - Web property ID to delete the unsampled reports for.
  • profileId - View (Profile) ID to delete the unsampled report for.
  • unsampledReportId - ID of the unsampled report to be deleted.
source

pub fn unsampled_reports_get( &self, account_id: &str, web_property_id: &str, profile_id: &str, unsampled_report_id: &str ) -> ManagementUnsampledReportGetCall<'a, S>

Create a builder to help you perform the following task:

Returns a single unsampled report.

§Arguments
  • accountId - Account ID to retrieve unsampled report for.
  • webPropertyId - Web property ID to retrieve unsampled reports for.
  • profileId - View (Profile) ID to retrieve unsampled report for.
  • unsampledReportId - ID of the unsampled report to retrieve.
source

pub fn unsampled_reports_insert( &self, request: UnsampledReport, account_id: &str, web_property_id: &str, profile_id: &str ) -> ManagementUnsampledReportInsertCall<'a, S>

Create a builder to help you perform the following task:

Create a new unsampled report.

§Arguments
  • request - No description provided.
  • accountId - Account ID to create the unsampled report for.
  • webPropertyId - Web property ID to create the unsampled report for.
  • profileId - View (Profile) ID to create the unsampled report for.
source

pub fn unsampled_reports_list( &self, account_id: &str, web_property_id: &str, profile_id: &str ) -> ManagementUnsampledReportListCall<'a, S>

Create a builder to help you perform the following task:

Lists unsampled reports to which the user has access.

§Arguments
  • accountId - Account ID to retrieve unsampled reports for. Must be a specific account ID, ~all is not supported.
  • webPropertyId - Web property ID to retrieve unsampled reports for. Must be a specific web property ID, ~all is not supported.
  • profileId - View (Profile) ID to retrieve unsampled reports for. Must be a specific view (profile) ID, ~all is not supported.
source

pub fn uploads_delete_upload_data( &self, request: AnalyticsDataimportDeleteUploadDataRequest, account_id: &str, web_property_id: &str, custom_data_source_id: &str ) -> ManagementUploadDeleteUploadDataCall<'a, S>

Create a builder to help you perform the following task:

Delete data associated with a previous upload.

§Arguments
  • request - No description provided.
  • accountId - Account Id for the uploads to be deleted.
  • webPropertyId - Web property Id for the uploads to be deleted.
  • customDataSourceId - Custom data source Id for the uploads to be deleted.
source

pub fn uploads_get( &self, account_id: &str, web_property_id: &str, custom_data_source_id: &str, upload_id: &str ) -> ManagementUploadGetCall<'a, S>

Create a builder to help you perform the following task:

List uploads to which the user has access.

§Arguments
  • accountId - Account Id for the upload to retrieve.
  • webPropertyId - Web property Id for the upload to retrieve.
  • customDataSourceId - Custom data source Id for upload to retrieve.
  • uploadId - Upload Id to retrieve.
source

pub fn uploads_list( &self, account_id: &str, web_property_id: &str, custom_data_source_id: &str ) -> ManagementUploadListCall<'a, S>

Create a builder to help you perform the following task:

List uploads to which the user has access.

§Arguments
  • accountId - Account Id for the uploads to retrieve.
  • webPropertyId - Web property Id for the uploads to retrieve.
  • customDataSourceId - Custom data source Id for uploads to retrieve.
source

pub fn uploads_upload_data( &self, account_id: &str, web_property_id: &str, custom_data_source_id: &str ) -> ManagementUploadUploadDataCall<'a, S>

Create a builder to help you perform the following task:

Upload data for a custom data source.

§Arguments
  • accountId - Account Id associated with the upload.
  • webPropertyId - Web property UA-string associated with the upload.
  • customDataSourceId - Custom data source Id to which the data being uploaded belongs.

Create a builder to help you perform the following task:

Deletes a web property-Google Ads link.

§Arguments
  • accountId - ID of the account which the given web property belongs to.
  • webPropertyId - Web property ID to delete the Google Ads link for.
  • webPropertyAdWordsLinkId - Web property Google Ads link ID.

Create a builder to help you perform the following task:

Returns a web property-Google Ads link to which the user has access.

§Arguments
  • accountId - ID of the account which the given web property belongs to.
  • webPropertyId - Web property ID to retrieve the Google Ads link for.
  • webPropertyAdWordsLinkId - Web property-Google Ads link ID.

Create a builder to help you perform the following task:

Creates a webProperty-Google Ads link.

§Arguments
  • request - No description provided.
  • accountId - ID of the Google Analytics account to create the link for.
  • webPropertyId - Web property ID to create the link for.

Create a builder to help you perform the following task:

Lists webProperty-Google Ads links for a given web property.

§Arguments
  • accountId - ID of the account which the given web property belongs to.
  • webPropertyId - Web property ID to retrieve the Google Ads links for.

Create a builder to help you perform the following task:

Updates an existing webProperty-Google Ads link. This method supports patch semantics.

§Arguments
  • request - No description provided.
  • accountId - ID of the account which the given web property belongs to.
  • webPropertyId - Web property ID to retrieve the Google Ads link for.
  • webPropertyAdWordsLinkId - Web property-Google Ads link ID.

Create a builder to help you perform the following task:

Updates an existing webProperty-Google Ads link.

§Arguments
  • request - No description provided.
  • accountId - ID of the account which the given web property belongs to.
  • webPropertyId - Web property ID to retrieve the Google Ads link for.
  • webPropertyAdWordsLinkId - Web property-Google Ads link ID.
source

pub fn webproperties_get( &self, account_id: &str, web_property_id: &str ) -> ManagementWebpropertyGetCall<'a, S>

Create a builder to help you perform the following task:

Gets a web property to which the user has access.

§Arguments
  • accountId - Account ID to retrieve the web property for.
  • webPropertyId - ID to retrieve the web property for.
source

pub fn webproperties_insert( &self, request: Webproperty, account_id: &str ) -> ManagementWebpropertyInsertCall<'a, S>

Create a builder to help you perform the following task:

Create a new property if the account has fewer than 20 properties. Web properties are visible in the Google Analytics interface only if they have at least one profile.

§Arguments
  • request - No description provided.
  • accountId - Account ID to create the web property for.
source

pub fn webproperties_list( &self, account_id: &str ) -> ManagementWebpropertyListCall<'a, S>

Create a builder to help you perform the following task:

Lists web properties to which the user has access.

§Arguments
  • accountId - Account ID to retrieve web properties for. Can either be a specific account ID or ‘~all’, which refers to all the accounts that user has access to.
source

pub fn webproperties_patch( &self, request: Webproperty, account_id: &str, web_property_id: &str ) -> ManagementWebpropertyPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates an existing web property. This method supports patch semantics.

§Arguments
  • request - No description provided.
  • accountId - Account ID to which the web property belongs
  • webPropertyId - Web property ID
source

pub fn webproperties_update( &self, request: Webproperty, account_id: &str, web_property_id: &str ) -> ManagementWebpropertyUpdateCall<'a, S>

Create a builder to help you perform the following task:

Updates an existing web property.

§Arguments
  • request - No description provided.
  • accountId - Account ID to which the web property belongs
  • webPropertyId - Web property ID

Create a builder to help you perform the following task:

Removes a user from the given web property.

§Arguments
  • accountId - Account ID to delete the user link for.
  • webPropertyId - Web Property ID to delete the user link for.
  • linkId - Link ID to delete the user link for.

Create a builder to help you perform the following task:

Adds a new user to the given web property.

§Arguments
  • request - No description provided.
  • accountId - Account ID to create the user link for.
  • webPropertyId - Web Property ID to create the user link for.

Create a builder to help you perform the following task:

Lists webProperty-user links for a given web property.

§Arguments
  • accountId - Account ID which the given web property belongs to.
  • webPropertyId - Web Property ID for the webProperty-user links to retrieve. Can either be a specific web property ID or ‘~all’, which refers to all the web properties that user has access to.

Create a builder to help you perform the following task:

Updates permissions for an existing user on the given web property.

§Arguments
  • request - No description provided.
  • accountId - Account ID to update the account-user link for.
  • webPropertyId - Web property ID to update the account-user link for.
  • linkId - Link ID to update the account-user link for.

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for ManagementMethods<'a, S>

§

impl<'a, S> Send for ManagementMethods<'a, S>
where S: Sync,

§

impl<'a, S> Sync for ManagementMethods<'a, S>
where S: Sync,

§

impl<'a, S> Unpin for ManagementMethods<'a, S>

§

impl<'a, S> !UnwindSafe for ManagementMethods<'a, S>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more