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.



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

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



8160
8161
8162
# File 'lib/google/apis/dlp_v2/classes.rb', line 8160

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)


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

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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