network_profiles
Creates, updates, deletes, gets or lists a network_profiles
resource.
Overview
Name | network_profiles |
Type | Resource |
Id | google.compute.network_profiles |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
id | string (uint64) | [Output Only] The unique identifier for the resource. This identifier is defined by the server. |
name | string | [Output Only] Name of the resource. (pattern: a-z?) |
creationTimestamp | string | [Output Only] Creation timestamp in RFC3339 text format. |
description | string | [Output Only] An optional description of this resource. |
features | object | [Output Only] Features supported by the network. (id: NetworkProfileNetworkFeatures) |
kind | string | [Output Only] Type of the resource. Always compute#networkProfile for network profiles. (default: compute#networkProfile) |
location | object | [Output Only] Location to which the network is restricted. (id: NetworkProfileLocation) |
selfLink | string | [Output Only] Server-defined URL for the resource. |
selfLinkWithId | string | [Output Only] Server-defined URL for this resource with the resource id. |
Successful response
Name | Datatype | Description |
---|---|---|
id | string | [Output Only] Unique identifier for the resource; defined by the server. |
etag | string | |
items | array | A list of NetworkProfile resources. |
kind | string | [Output Only] Type of resource. Always compute#networkProfileList for network profiles. (default: compute#networkProfileList) |
nextPageToken | string | [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. |
selfLink | string | [Output Only] Server-defined URL for this resource. |
unreachables | array | [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder |
warning | object | [Output Only] Informational warning message. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | project , networkProfile | Returns the specified network profile. | |
list | select | project | filter , maxResults , orderBy , pageToken , returnPartialSuccess | Retrieves 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.
Name | Datatype | Description |
---|---|---|
networkProfile | string | |
project | string | |
filter | string | |
maxResults | integer (uint32) | |
orderBy | string | |
pageToken | string | |
returnPartialSuccess | boolean |
SELECT
examples
- get
- list
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;
Retrieves a list of network profiles available to the specified project.
SELECT
id,
etag,
items,
kind,
nextPageToken,
selfLink,
unreachables,
warning
FROM google.compute.network_profiles
WHERE project = '{{ project }}' -- required
AND filter = '{{ filter }}'
AND maxResults = '{{ maxResults }}'
AND orderBy = '{{ orderBy }}'
AND pageToken = '{{ pageToken }}'
AND returnPartialSuccess = '{{ returnPartialSuccess }}';