# Access Approval V1 API - Class Google::Cloud::AccessApproval::V1::AccessLocations (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.2 0.12.0 0.11.2 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.5 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

    def principal_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=

    def principal_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:

  - ASI: Asia
  - EUR: Europe
  - OCE: Oceania
  - AFR: Africa
  - NAM: North America
  - SAM: South America
  - ANT: Antarctica
  - ANY: Any location

### #principal_physical_location_country

    def principal_physical_location_country() -> ::String

**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:

  - ASI: Asia
  - EUR: Europe
  - OCE: Oceania
  - AFR: Africa
  - NAM: North America
  - SAM: South America
  - ANT: Antarctica
  - ANY: Any location

### #principal_physical_location_country=

    def principal_physical_location_country=(value) -> ::String

**Parameter**

- **value** (::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:
  - 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:

  - ASI: Asia
  - EUR: Europe
  - OCE: Oceania
  - AFR: Africa
  - NAM: North America
  - SAM: South America
  - ANT: Antarctica
  - ANY: Any location