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:

NameDatatypeDescription
idstring (uint64)Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
namestringOutput only. [Output Only] Name of the resource. (pattern: [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)
creationTimestampstringOutput only. [Output Only] Creation timestamp inRFC3339 text format.
descriptionstringOutput only. [Output Only] An optional description of this resource.
featuresobjectOutput only. [Output Only] Features supported by the network. (id: NetworkProfileNetworkFeatures)
kindstringOutput only. [Output Only] Type of the resource. Alwayscompute#networkProfile for network profiles. (default: compute#networkProfile)
locationobjectOutput only. [Output Only] Location to which the network is restricted. (id: NetworkProfileLocation)
profileTypeobjectOutput only. [Output Only] Type of the network profile. (id: NetworkProfileProfileType)
selfLinkstringOutput only. [Output Only] Server-defined URL for the resource.
selfLinkWithIdstringOutput only. [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,
profileType,
selfLink,
selfLinkWithId
FROM google.compute.network_profiles
WHERE project = '{{ project }}' -- required
AND networkProfile = '{{ networkProfile }}' -- required
;