Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Pages::Rest::ServiceStub.
REST service stub for the Pages service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_page
def create_page(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::Page
Baseline implementation for the create_page REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::CreatePageRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dialogflow::CX::V3::Page)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::Page) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_page
def delete_page(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_page REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::DeletePageRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_page
def get_page(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::Page
Baseline implementation for the get_page REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::GetPageRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dialogflow::CX::V3::Page)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::Page) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_pages
def list_pages(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::ListPagesResponse
Baseline implementation for the list_pages REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::ListPagesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dialogflow::CX::V3::ListPagesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::ListPagesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_page
def update_page(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::Page
Baseline implementation for the update_page REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::UpdatePageRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dialogflow::CX::V3::Page)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::Page) — A result object deserialized from the server's reply
- (::ArgumentError)