Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ListContentPoliciesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb

Overview

Response message for ListContentPolicies.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2ListContentPoliciesResponse

Returns a new instance of GooglePrivacyDlpV2ListContentPoliciesResponse.



8179
8180
8181
# File 'lib/google/apis/dlp_v2/classes.rb', line 8179

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

Instance Attribute Details

#content_policiesArray<Google::Apis::DlpV2::GooglePrivacyDlpV2ContentPolicy>

List of content policies. Corresponds to the JSON property contentPolicies



8171
8172
8173
# File 'lib/google/apis/dlp_v2/classes.rb', line 8171

def content_policies
  @content_policies
end

#next_page_tokenString

Token to retrieve the next page of results. An empty value means there are no more results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


8177
8178
8179
# File 'lib/google/apis/dlp_v2/classes.rb', line 8177

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8184
8185
8186
8187
# File 'lib/google/apis/dlp_v2/classes.rb', line 8184

def update!(**args)
  @content_policies = args[:content_policies] if args.key?(:content_policies)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end