Skip to main content

profiles_offline

Creates, updates, deletes, gets or lists a profiles_offline resource.

Overview

Nameprofiles_offline
TypeResource
Idgoogle.cloudprofiler.profiles_offline

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
create_offlineINSERTprojectsIdCreateOfflineProfile 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. Direct use of this API is discouraged, please use a supported profiler agent instead for profile collection.

INSERT example

Use the following StackQL query and manifest file to create a new profiles_offline resource.

/*+ create */
INSERT INTO google.cloudprofiler.profiles_offline (
projectsId,
profileType,
deployment,
duration,
profileBytes,
labels
)
SELECT
'{{ projectsId }}',
'{{ profileType }}',
'{{ deployment }}',
'{{ duration }}',
'{{ profileBytes }}',
'{{ labels }}'
;