Esempio n. 1
0
 /// <summary>Snippet for GetDataSharingSettings</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetDataSharingSettingsResourceNames()
 {
     // Create client
     AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
     // Initialize request argument(s)
     DataSharingSettingsName name = DataSharingSettingsName.FromAccount("[ACCOUNT]");
     // Make the request
     DataSharingSettings response = analyticsAdminServiceClient.GetDataSharingSettings(name);
 }
 /// <summary>Snippet for GetDataSharingSettings</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetDataSharingSettingsRequestObject()
 {
     // Create client
     AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
     // Initialize request argument(s)
     GetDataSharingSettingsRequest request = new GetDataSharingSettingsRequest
     {
         DataSharingSettingsName = DataSharingSettingsName.FromAccount("[ACCOUNT]"),
     };
     // Make the request
     DataSharingSettings response = analyticsAdminServiceClient.GetDataSharingSettings(request);
 }