public sealed class AccessLocations : IMessage<AccessLocations>, IEquatable<AccessLocations>, IDeepCloneable<AccessLocations>, IBufferMessage, IMessage
Home office and physical location of the principal.
public string PrincipalOfficeCountry { get; set; }
The "home office" location of the principal. A two-letter country code
(ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some
limited situations Google systems may refer refer to a region code instead
of a country code.
Possible Region Codes:
ASI: Asia
EUR: Europe
OCE: Oceania
AFR: Africa
NAM: North America
SAM: South America
ANT: Antarctica
ANY: Any location
Property Value
Type
Description
System.String
PrincipalPhysicalLocationCountry
public string PrincipalPhysicalLocationCountry { get; set; }
Physical location of the principal at the time of the access. A
two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or
a region code. In some limited situations Google systems may refer refer to
a region code instead of a country code.
Possible Region Codes:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eAccessLocations\u003c/code\u003e class, which is part of the \u003ccode\u003eGoogle.Cloud.AccessApproval.V1\u003c/code\u003e namespace, found within the \u003ccode\u003eGoogle.Cloud.AccessApproval.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccessLocations\u003c/code\u003e class is used to define the home office and physical location of a principal and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two properties, \u003ccode\u003ePrincipalOfficeCountry\u003c/code\u003e and \u003ccode\u003ePrincipalPhysicalLocationCountry\u003c/code\u003e, both of which are strings that represent a two-letter country code or a region code, such as ASI for Asia or EUR for Europe.\u003c/p\u003e\n"],["\u003cp\u003eThe document provides access to the different versions of this API, ranging from the latest version, 2.5.0, all the way to the initial version, 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: \u003ccode\u003eAccessLocations()\u003c/code\u003e, which does not take any parameters, and \u003ccode\u003eAccessLocations(AccessLocations other)\u003c/code\u003e, which takes another \u003ccode\u003eAccessLocations\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]