/// <summary>UpdateProfile updates the profile bytes and labels on the profile resource created in the /// online mode. Updating the bytes for profiles created in the offline mode is currently not supported: the /// profile content must be provided at the time of the profile creation.</summary> /// <param name="body">The body of the request.</param> /// <param name="name">Output only. Opaque, server-assigned, unique ID for this profile.</param> public virtual PatchRequest Patch(Google.Apis.CloudProfiler.v2.Data.Profile body, string name) { return(new PatchRequest(service, body, name)); }
/// <summary>CreateOfflineProfile creates a new profile resource in the offline mode. The client provides /// the profile to create along with the profile bytes, the server records it.</summary> /// <param name="body">The body of the request.</param> /// <param name="parent">Parent project to create the profile in.</param> public virtual CreateOfflineRequest CreateOffline(Google.Apis.CloudProfiler.v2.Data.Profile body, string parent) { return(new CreateOfflineRequest(service, body, parent)); }