Class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ListRuleSetsResponse

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

Overview

Response message for RuleSetService.ListRuleSets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContentwarehouseV1ListRuleSetsResponse

Returns a new instance of GoogleCloudContentwarehouseV1ListRuleSetsResponse.



2355
2356
2357
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2355

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

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2348
2349
2350
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2348

def next_page_token
  @next_page_token
end

#rule_setsArray<Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RuleSet>

The rule sets from the specified parent. Corresponds to the JSON property ruleSets



2353
2354
2355
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2353

def rule_sets
  @rule_sets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2360
2361
2362
2363
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 2360

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