Ejemplo n.º 1
0
 /// <summary>Snippet for DeleteProperty</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void DeletePropertyRequestObject()
 {
     // Create client
     AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
     // Initialize request argument(s)
     DeletePropertyRequest request = new DeletePropertyRequest
     {
         PropertyName = PropertyName.FromProperty("[PROPERTY]"),
     };
     // Make the request
     Property response = analyticsAdminServiceClient.DeleteProperty(request);
 }
Ejemplo n.º 2
0
        public override async Task <DeletePropertyResponse> DeleteProperty(DeletePropertyRequest request, ServerCallContext context)
        {
            await _propertyService.DeleteAsync(request.AgencyId, request.Id);

            return(new DeletePropertyResponse());
        }
 /// <summary>
 /// Delete a property given its parent resource and name.
 /// </summary>
 public DeletePropertyResponse DeletePropertyForResource(DeletePropertyRequest request, IRequestOptions options = null)
 {
     return WebClient.Send(request, options);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Delete a property given its parent resource and name.
 /// </summary>
 public DeletePropertyResponse DeletePropertyForResource(DeletePropertyRequest request, IRequestOptions options = null)
 {
     return(WebClient.Send(request, options));
 }