Class: Google::Apis::OsconfigV1beta::LookupEffectiveGuestPolicyRequest
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1beta::LookupEffectiveGuestPolicyRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/osconfig_v1beta/classes.rb,
generated/google/apis/osconfig_v1beta/representations.rb,
generated/google/apis/osconfig_v1beta/representations.rb
Overview
A request message for getting the effective guest policy assigned to the instance.
Instance Attribute Summary collapse
-
#os_architecture ⇒ String
Architecture of OS running on the instance.
-
#os_short_name ⇒ String
Short name of the OS running on the instance.
-
#os_version ⇒ String
Version of the OS running on the instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LookupEffectiveGuestPolicyRequest
constructor
A new instance of LookupEffectiveGuestPolicyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LookupEffectiveGuestPolicyRequest
Returns a new instance of LookupEffectiveGuestPolicyRequest.
1223 1224 1225 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1223 def initialize(**args) update!(**args) end |
Instance Attribute Details
#os_architecture ⇒ String
Architecture of OS running on the instance. The OS Config agent only provides
this field for targeting if OS Inventory is enabled for that instance.
Corresponds to the JSON property osArchitecture
1209 1210 1211 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1209 def os_architecture @os_architecture end |
#os_short_name ⇒ String
Short name of the OS running on the instance. The OS Config agent only
provides this field for targeting if OS Inventory is enabled for that instance.
Corresponds to the JSON property osShortName
1215 1216 1217 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1215 def os_short_name @os_short_name end |
#os_version ⇒ String
Version of the OS running on the instance. The OS Config agent only provides
this field for targeting if OS Inventory is enabled for that VM instance.
Corresponds to the JSON property osVersion
1221 1222 1223 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1221 def os_version @os_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1228 1229 1230 1231 1232 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1228 def update!(**args) @os_architecture = args[:os_architecture] if args.key?(:os_architecture) @os_short_name = args[:os_short_name] if args.key?(:os_short_name) @os_version = args[:os_version] if args.key?(:os_version) end |