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_token
to 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.
204 205 206 |
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 204 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
197 198 199 |
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 197 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
202 203 204 |
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 202 def protected_resources @protected_resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
209 210 211 212 |
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 209 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 |