Reference documentation and code samples for the Access Approval V1 API class Google::Cloud::AccessApproval::V1::AccessLocations.
Home office and physical location of the principal.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#principal_office_country
defprincipal_office_country()->::String
Returns
(::String) —
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
#principal_office_country=
defprincipal_office_country=(value)->::String
Parameter
value (::String) —
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
Returns
(::String) —
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:
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:
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:
ASI: Asia
EUR: Europe
OCE: Oceania
AFR: Africa
NAM: North America
SAM: South America
ANT: Antarctica
ANY: Any location
Returns
(::String) —
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Access Approval V1 API - Class Google::Cloud::AccessApproval::V1::AccessLocations (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Cloud-AccessApproval-V1-AccessLocations)\n- [1.2.1](/ruby/docs/reference/google-cloud-access_approval-v1/1.2.1/Google-Cloud-AccessApproval-V1-AccessLocations)\n- [1.1.0](/ruby/docs/reference/google-cloud-access_approval-v1/1.1.0/Google-Cloud-AccessApproval-V1-AccessLocations)\n- [1.0.2](/ruby/docs/reference/google-cloud-access_approval-v1/1.0.2/Google-Cloud-AccessApproval-V1-AccessLocations)\n- [0.12.0](/ruby/docs/reference/google-cloud-access_approval-v1/0.12.0/Google-Cloud-AccessApproval-V1-AccessLocations)\n- [0.11.2](/ruby/docs/reference/google-cloud-access_approval-v1/0.11.2/Google-Cloud-AccessApproval-V1-AccessLocations)\n- [0.10.0](/ruby/docs/reference/google-cloud-access_approval-v1/0.10.0/Google-Cloud-AccessApproval-V1-AccessLocations)\n- [0.9.0](/ruby/docs/reference/google-cloud-access_approval-v1/0.9.0/Google-Cloud-AccessApproval-V1-AccessLocations)\n- [0.8.0](/ruby/docs/reference/google-cloud-access_approval-v1/0.8.0/Google-Cloud-AccessApproval-V1-AccessLocations)\n- [0.7.1](/ruby/docs/reference/google-cloud-access_approval-v1/0.7.1/Google-Cloud-AccessApproval-V1-AccessLocations)\n- [0.6.0](/ruby/docs/reference/google-cloud-access_approval-v1/0.6.0/Google-Cloud-AccessApproval-V1-AccessLocations)\n- [0.5.0](/ruby/docs/reference/google-cloud-access_approval-v1/0.5.0/Google-Cloud-AccessApproval-V1-AccessLocations)\n- [0.4.5](/ruby/docs/reference/google-cloud-access_approval-v1/0.4.5/Google-Cloud-AccessApproval-V1-AccessLocations) \nReference documentation and code samples for the Access Approval V1 API class Google::Cloud::AccessApproval::V1::AccessLocations.\n\nHome office and physical location of the principal. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #principal_office_country\n\n def principal_office_country() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The \"home office\" location of the principal. A two-letter country code\n (ISO 3166-1 alpha-2), such as \"US\", \"DE\" or \"GB\" or a region code. In some\n limited situations Google systems may refer refer to a region code instead\n of a country code.\n Possible Region Codes:\n\n - ASI: Asia\n - EUR: Europe\n - OCE: Oceania\n - AFR: Africa\n - NAM: North America\n - SAM: South America\n - ANT: Antarctica\n - ANY: Any location\n\n### #principal_office_country=\n\n def principal_office_country=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n The \"home office\" location of the principal. A two-letter country code\n (ISO 3166-1 alpha-2), such as \"US\", \"DE\" or \"GB\" or a region code. In some\n limited situations Google systems may refer refer to a region code instead\n of a country code.\n Possible Region Codes:\n - ASI: Asia\n - EUR: Europe\n - OCE: Oceania\n - AFR: Africa\n - NAM: North America\n - SAM: South America\n - ANT: Antarctica\n- ANY: Any location \n**Returns**\n\n- (::String) --- The \"home office\" location of the principal. A two-letter country code\n (ISO 3166-1 alpha-2), such as \"US\", \"DE\" or \"GB\" or a region code. In some\n limited situations Google systems may refer refer to a region code instead\n of a country code.\n Possible Region Codes:\n\n - ASI: Asia\n - EUR: Europe\n - OCE: Oceania\n - AFR: Africa\n - NAM: North America\n - SAM: South America\n - ANT: Antarctica\n - ANY: Any location\n\n### #principal_physical_location_country\n\n def principal_physical_location_country() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Physical location of the principal at the time of the access. A\n two-letter country code (ISO 3166-1 alpha-2), such as \"US\", \"DE\" or \"GB\" or\n a region code. In some limited situations Google systems may refer refer to\n a region code instead of a country code.\n Possible Region Codes:\n\n - ASI: Asia\n - EUR: Europe\n - OCE: Oceania\n - AFR: Africa\n - NAM: North America\n - SAM: South America\n - ANT: Antarctica\n - ANY: Any location\n\n### #principal_physical_location_country=\n\n def principal_physical_location_country=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Physical location of the principal at the time of the access. A\n two-letter country code (ISO 3166-1 alpha-2), such as \"US\", \"DE\" or \"GB\" or\n a region code. In some limited situations Google systems may refer refer to\n a region code instead of a country code.\n Possible Region Codes:\n - ASI: Asia\n - EUR: Europe\n - OCE: Oceania\n - AFR: Africa\n - NAM: North America\n - SAM: South America\n - ANT: Antarctica\n- ANY: Any location \n**Returns**\n\n- (::String) --- Physical location of the principal at the time of the access. A\n two-letter country code (ISO 3166-1 alpha-2), such as \"US\", \"DE\" or \"GB\" or\n a region code. In some limited situations Google systems may refer refer to\n a region code instead of a country code.\n Possible Region Codes:\n\n - ASI: Asia\n - EUR: Europe\n - OCE: Oceania\n - AFR: Africa\n - NAM: North America\n - SAM: South America\n - ANT: Antarctica\n - ANY: Any location"]]