public sealed class AccessLocations : IMessage<AccessLocations>, IEquatable<AccessLocations>, IDeepCloneable<AccessLocations>, IBufferMessage, IMessage
Reference documentation and code samples for the Access Approval v1 API class AccessLocations.
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:
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\u003eThe \u003ccode\u003eAccessLocations\u003c/code\u003e class, part of the Google Cloud Access Approval v1 API, represents the home office and physical location of a principal.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides properties for specifying the principal's office and physical location countries, using two-letter country codes or region codes, which includes such as "US", "DE" and "GB" or regions such as 'ASI', 'EUR' and 'NAM'.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAccessLocations\u003c/code\u003e implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and is built within the \u003ccode\u003eGoogle.Cloud.AccessApproval.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the AccessLocations API is \u003ccode\u003e2.5.0\u003c/code\u003e, and there are 10 other versions of the AccessLocations API that are available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccessLocations\u003c/code\u003e class has two constructors: one default and one that accepts another \u003ccode\u003eAccessLocations\u003c/code\u003e object as a parameter, and it inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]