Class: Google::Apis::CesV1::ListGuardrailsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::ListGuardrailsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Response message for AgentService.ListGuardrails.
Instance Attribute Summary collapse
-
#guardrails ⇒ Array<Google::Apis::CesV1::Guardrail>
The list of guardrails.
-
#next_page_token ⇒ String
A token that can be sent as ListGuardrailsRequest.page_token to retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListGuardrailsResponse
constructor
A new instance of ListGuardrailsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListGuardrailsResponse
Returns a new instance of ListGuardrailsResponse.
5838 5839 5840 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5838 def initialize(**args) update!(**args) end |
Instance Attribute Details
#guardrails ⇒ Array<Google::Apis::CesV1::Guardrail>
The list of guardrails.
Corresponds to the JSON property guardrails
5830 5831 5832 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5830 def guardrails @guardrails end |
#next_page_token ⇒ String
A token that can be sent as ListGuardrailsRequest.page_token to retrieve the
next page. Absence of this field indicates there are no subsequent pages.
Corresponds to the JSON property nextPageToken
5836 5837 5838 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5836 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5843 5844 5845 5846 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5843 def update!(**args) @guardrails = args[:guardrails] if args.key?(:guardrails) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |