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.



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

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



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

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)


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

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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