Class: Google::Apis::KmsinventoryV1::GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::KmsinventoryV1::GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/kmsinventory_v1/classes.rb,
lib/google/apis/kmsinventory_v1/representations.rb,
lib/google/apis/kmsinventory_v1/representations.rb
Overview
Response message for KeyTrackingService.SearchProtectedResources.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token that can be sent as
page_tokento retrieve the next page. -
#protected_resources ⇒ Array<Google::Apis::KmsinventoryV1::GoogleCloudKmsInventoryV1ProtectedResource>
Protected resources for this page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse
constructor
A new instance of GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse
Returns a new instance of GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse.
212 213 214 |
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 212 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token that can be sent as page_token to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
205 206 207 |
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 205 def next_page_token @next_page_token end |
#protected_resources ⇒ Array<Google::Apis::KmsinventoryV1::GoogleCloudKmsInventoryV1ProtectedResource>
Protected resources for this page.
Corresponds to the JSON property protectedResources
210 211 212 |
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 210 def protected_resources @protected_resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
217 218 219 220 |
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 217 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @protected_resources = args[:protected_resources] if args.key?(:protected_resources) end |