Class: Google::Apis::BigquerydatapolicyV1::ListDataPoliciesResponse

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

Overview

Response message for the ListDataPolicies method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDataPoliciesResponse

Returns a new instance of ListDataPoliciesResponse.



377
378
379
# File 'lib/google/apis/bigquerydatapolicy_v1/classes.rb', line 377

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

Instance Attribute Details

#data_policiesArray<Google::Apis::BigquerydatapolicyV1::DataPolicy>

Data policies that belong to the requested project. Corresponds to the JSON property dataPolicies



369
370
371
# File 'lib/google/apis/bigquerydatapolicy_v1/classes.rb', line 369

def data_policies
  @data_policies
end

#next_page_tokenString

Token used to retrieve the next page of results, or empty if there are no more results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


375
376
377
# File 'lib/google/apis/bigquerydatapolicy_v1/classes.rb', line 375

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



382
383
384
385
# File 'lib/google/apis/bigquerydatapolicy_v1/classes.rb', line 382

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