Class: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1alpha::OsPolicyAssignmentOperationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/osconfig_v1alpha/classes.rb,
lib/google/apis/osconfig_v1alpha/representations.rb,
lib/google/apis/osconfig_v1alpha/representations.rb
Overview
OS policy assignment operation metadata provided by OS policy assignment API methods that return long running operations.
Instance Attribute Summary collapse
-
#api_method ⇒ String
The OS policy assignment API method.
-
#os_policy_assignment ⇒ String
Reference to the
OSPolicyAssignmentAPI resource. -
#rollout_start_time ⇒ String
Rollout start time Corresponds to the JSON property
rolloutStartTime. -
#rollout_state ⇒ String
State of the rollout Corresponds to the JSON property
rolloutState. -
#rollout_update_time ⇒ String
Rollout update time Corresponds to the JSON property
rolloutUpdateTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OsPolicyAssignmentOperationMetadata
constructor
A new instance of OsPolicyAssignmentOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OsPolicyAssignmentOperationMetadata
Returns a new instance of OsPolicyAssignmentOperationMetadata.
1119 1120 1121 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1119 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_method ⇒ String
The OS policy assignment API method.
Corresponds to the JSON property apiMethod
1095 1096 1097 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1095 def api_method @api_method end |
#os_policy_assignment ⇒ String
Reference to the OSPolicyAssignment API resource. Format: projects/
project_number/locations/location/osPolicyAssignments/
os_policy_assignment_id@revision_id`
Corresponds to the JSON propertyosPolicyAssignment`
1102 1103 1104 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1102 def os_policy_assignment @os_policy_assignment end |
#rollout_start_time ⇒ String
Rollout start time
Corresponds to the JSON property rolloutStartTime
1107 1108 1109 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1107 def rollout_start_time @rollout_start_time end |
#rollout_state ⇒ String
State of the rollout
Corresponds to the JSON property rolloutState
1112 1113 1114 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1112 def rollout_state @rollout_state end |
#rollout_update_time ⇒ String
Rollout update time
Corresponds to the JSON property rolloutUpdateTime
1117 1118 1119 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1117 def rollout_update_time @rollout_update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1124 1125 1126 1127 1128 1129 1130 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1124 def update!(**args) @api_method = args[:api_method] if args.key?(:api_method) @os_policy_assignment = args[:os_policy_assignment] if args.key?(:os_policy_assignment) @rollout_start_time = args[:rollout_start_time] if args.key?(:rollout_start_time) @rollout_state = args[:rollout_state] if args.key?(:rollout_state) @rollout_update_time = args[:rollout_update_time] if args.key?(:rollout_update_time) end |