/// <summary>Snippet for GetPropertyAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task GetPropertyResourceNamesAsync() { // Create client AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync(); // Initialize request argument(s) PropertyName name = PropertyName.FromProperty("[PROPERTY]"); // Make the request Property response = await analyticsAdminServiceClient.GetPropertyAsync(name); }
/// <summary>Snippet for GetPropertyAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task GetPropertyAsync() { // Create client AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync(); // Initialize request argument(s) string name = "properties/[PROPERTY]"; // Make the request Property response = await analyticsAdminServiceClient.GetPropertyAsync(name); }
/// <summary>Snippet for GetPropertyAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task GetPropertyRequestObjectAsync() { // Create client AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync(); // Initialize request argument(s) GetPropertyRequest request = new GetPropertyRequest { PropertyName = PropertyName.FromProperty("[PROPERTY]"), }; // Make the request Property response = await analyticsAdminServiceClient.GetPropertyAsync(request); }