GeoTargetConstant

  • A geo target constant is a resource with several fields including resource name, status, ID, name, country code, target type, canonical name, and parent geo target.

  • Key information for a geo target constant such as its name, ID, country code, and status are output only fields.

  • The resource name and parent geo target resource name follow the formatgeoTargetConstants/{id}.

A geo target constant.

Proto definition

Fields

canonical_name

string

Output only. The fully qualified English name, consisting of the target's name and that of its parent and country.

country_code

string

Output only. The ISO-3166-1 alpha-2 country code that is associated with the target.

id

int64

Output only. The ID of the geo target constant.

name

string

Output only. Geo target constant English name.

parent_geo_target

string

Output only. The resource name of the parent geo target constant. Geo target constant resource names have the form:

geoTargetConstants/{parent_geo_target_constant_id}

resource_name

string

Output only. The resource name of the geo target constant. Geo target constant resource names have the form:

geoTargetConstants/{geo_target_constant_id}

status

GeoTargetConstantStatus

Output only. Geo target constant status.

target_type

string

Output only. Geo target constant target type.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-12 UTC.