Class: Google::Apis::OsconfigV1beta::ListPatchDeploymentsResponse

Inherits:
Object
  • Object
show all
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 response message for listing patch deployments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPatchDeploymentsResponse

Returns a new instance of ListPatchDeploymentsResponse.



1139
1140
1141
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1139

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

A pagination token that can be used to get the next page of patch deployments. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1132
1133
1134
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1132

def next_page_token
  @next_page_token
end

#patch_deploymentsArray<Google::Apis::OsconfigV1beta::PatchDeployment>

The list of patch deployments. Corresponds to the JSON property patchDeployments



1137
1138
1139
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1137

def patch_deployments
  @patch_deployments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1144
1145
1146
1147
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1144

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