profiles_offline
Creates, updates, deletes, gets or lists a profiles_offline
resource.
Overview
Name | profiles_offline |
Type | Resource |
Id | google.cloudprofiler.profiles_offline |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create_offline | INSERT | projectsId | 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. 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.cloudprofiler.profiles_offline (
projectsId,
profileType,
deployment,
duration,
profileBytes,
labels
)
SELECT
'{{ projectsId }}',
'{{ profileType }}',
'{{ deployment }}',
'{{ duration }}',
'{{ profileBytes }}',
'{{ labels }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: profileType
value: string
- name: deployment
value:
- name: projectId
value: string
- name: target
value: string
- name: labels
value: object
- name: duration
value: string
- name: profileBytes
value: string
- name: labels
value: object
- name: startTime
value: string