Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Geolocation
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Geolocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#region_code ⇒ String
Corresponds to the JSON property
regionCode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Geolocation
constructor
A new instance of GoogleCloudSecuritycenterV2Geolocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Geolocation
Returns a new instance of GoogleCloudSecuritycenterV2Geolocation.
6874 6875 6876 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6874 def initialize(**args) update!(**args) end |
Instance Attribute Details
#region_code ⇒ String
Corresponds to the JSON property regionCode
6872 6873 6874 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6872 def region_code @region_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6879 6880 6881 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6879 def update!(**args) @region_code = args[:region_code] if args.key?(:region_code) end |