v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1363121226.6 KB
projects

Creates a new address group in a given project and location.

post/v1/{+parent}/addressGroups

Path parameters

parentstring required

Required. The parent resource of the AddressGroup. Must be in the format projects/*/locations/{location}.

Query parameters

addressGroupIdstring

Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy".

requestIdstring

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Request body

labelsobject

Optional. Set of label tags associated with the AddressGroup resource.

descriptionstring

Optional. Free-text description of the resource.

purposestring[]

Optional. List of supported purposes of the Address Group.

createTimestring google-datetime

Output only. The timestamp when the resource was created.

type'TYPE_UNSPECIFIED' | 'IPV4' | 'IPV6'

Required. The type of the Address Group. Possible values are "IPv4" or "IPV6".

itemsstring[]

Optional. List of items.

capacityinteger

Required. Capacity of the Address Group

selfLinkstring

Output only. Server-defined fully-qualified URL for this resource.

updateTimestring google-datetime

Output only. The timestamp when the resource was updated.

namestring

Required. Name of the AddressGroup resource. It matches pattern projects/*/locations/{location}/addressGroups/.

Response

Successful response