Skip to main content

network_profiles

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

Overview

Namenetwork_profiles
TypeResource
Idgoogle.compute.network_profiles

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
idstring (uint64)[Output Only] The unique identifier for the resource. This identifier is defined by the server.
namestring[Output Only] Name of the resource. (pattern: a-z?)
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
descriptionstring[Output Only] An optional description of this resource.
featuresobject[Output Only] Features supported by the network. (id: NetworkProfileNetworkFeatures)
kindstring[Output Only] Type of the resource. Always compute#networkProfile for network profiles. (default: compute#networkProfile)
locationobject[Output Only] Location to which the network is restricted. (id: NetworkProfileLocation)
selfLinkstring[Output Only] Server-defined URL for the resource.
selfLinkWithIdstring[Output Only] Server-defined URL for this resource with the resource id.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectproject, networkProfileReturns the specified network profile.
listselectprojectfilter, maxResults, orderBy, pageToken, returnPartialSuccessRetrieves a list of network profiles available to the specified project.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
networkProfilestring
projectstring
filterstring
maxResultsinteger (uint32)
orderBystring
pageTokenstring
returnPartialSuccessboolean

SELECT examples

Returns the specified network profile.

SELECT
id,
name,
creationTimestamp,
description,
features,
kind,
location,
selfLink,
selfLinkWithId
FROM google.compute.network_profiles
WHERE project = '{{ project }}' -- required
AND networkProfile = '{{ networkProfile }}' -- required;