Class: Google::Apis::AccessapprovalV1::AccessLocations
- Inherits:
-
Object
- Object
- Google::Apis::AccessapprovalV1::AccessLocations
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/accessapproval_v1/classes.rb,
generated/google/apis/accessapproval_v1/representations.rb,
generated/google/apis/accessapproval_v1/representations.rb
Overview
Home office and physical location of the principal.
Instance Attribute Summary collapse
-
#principal_office_country ⇒ String
The "home office" location of the principal.
-
#principal_physical_location_country ⇒ String
Physical location of the principal at the time of the access.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccessLocations
constructor
A new instance of AccessLocations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccessLocations
Returns a new instance of AccessLocations.
126 127 128 |
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 126 def initialize(**args) update!(**args) end |
Instance Attribute Details
#principal_office_country ⇒ 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
Corresponds to the JSON property principalOfficeCountry
105 106 107 |
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 105 def principal_office_country @principal_office_country end |
#principal_physical_location_country ⇒ 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
Corresponds to the JSON property principalPhysicalLocationCountry
124 125 126 |
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 124 def principal_physical_location_country @principal_physical_location_country end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
131 132 133 134 |
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 131 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 |