class Google::Apis::AccessapprovalV1::AccessLocations

Home office and physical location of the principal.

Attributes

principal_office_country[RW]

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 Corresponds to the JSON property `principalOfficeCountry` @return [String]

principal_physical_location_country[RW]

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 Corresponds to the JSON property `principalPhysicalLocationCountry` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/accessapproval_v1/classes.rb, line 104
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/accessapproval_v1/classes.rb, line 109
def update!(**args)
  @principal_office_country = args[:principal_office_country] if args.key?(:principal_office_country)
  @principal_physical_location_country = args[:principal_physical_location_country] if args.key?(:principal_physical_location_country)
end