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.



8175
8176
8177
# File 'lib/google/apis/dlp_v2/classes.rb', line 8175

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



8167
8168
8169
# File 'lib/google/apis/dlp_v2/classes.rb', line 8167

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)


8173
8174
8175
# File 'lib/google/apis/dlp_v2/classes.rb', line 8173

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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