Class: Google::Apis::OsconfigV1::ListPatchDeploymentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1::ListPatchDeploymentsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/osconfig_v1/classes.rb,
lib/google/apis/osconfig_v1/representations.rb,
lib/google/apis/osconfig_v1/representations.rb
Overview
A response message for listing patch deployments.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A pagination token that can be used to get the next page of patch deployments.
-
#patch_deployments ⇒ Array<Google::Apis::OsconfigV1::PatchDeployment>
The list of patch deployments.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPatchDeploymentsResponse
constructor
A new instance of ListPatchDeploymentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPatchDeploymentsResponse
Returns a new instance of ListPatchDeploymentsResponse.
1153 1154 1155 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1153 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A pagination token that can be used to get the next page of patch deployments.
Corresponds to the JSON property nextPageToken
1146 1147 1148 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1146 def next_page_token @next_page_token end |
#patch_deployments ⇒ Array<Google::Apis::OsconfigV1::PatchDeployment>
The list of patch deployments.
Corresponds to the JSON property patchDeployments
1151 1152 1153 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1151 def patch_deployments @patch_deployments end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1158 1159 1160 1161 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1158 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @patch_deployments = args[:patch_deployments] if args.key?(:patch_deployments) end |