Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Playbooks::Rest::ServiceStub.
REST service stub for the Playbooks service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_playbook
def create_playbook(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::PlaybookBaseline implementation for the create_playbook REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::CreatePlaybookRequest) — 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::Playbook)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::Playbook) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_playbook_version
def create_playbook_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::PlaybookVersionBaseline implementation for the create_playbook_version REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::CreatePlaybookVersionRequest) — 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::PlaybookVersion)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::PlaybookVersion) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_playbook
def delete_playbook(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::EmptyBaseline implementation for the delete_playbook REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::DeletePlaybookRequest) — 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)
#delete_playbook_version
def delete_playbook_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::EmptyBaseline implementation for the delete_playbook_version REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::DeletePlaybookVersionRequest) — 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() -> StringThe effective endpoint
- (String)
#export_playbook
def export_playbook(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the export_playbook REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::ExportPlaybookRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_playbook
def get_playbook(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::PlaybookBaseline implementation for the get_playbook REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::GetPlaybookRequest) — 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::Playbook)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::Playbook) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_playbook_version
def get_playbook_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::PlaybookVersionBaseline implementation for the get_playbook_version REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::GetPlaybookVersionRequest) — 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::PlaybookVersion)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::PlaybookVersion) — A result object deserialized from the server's reply
- (::ArgumentError)
#import_playbook
def import_playbook(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the import_playbook REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::ImportPlaybookRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_playbook_versions
def list_playbook_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::ListPlaybookVersionsResponseBaseline implementation for the list_playbook_versions REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::ListPlaybookVersionsRequest) — 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::ListPlaybookVersionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::ListPlaybookVersionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_playbooks
def list_playbooks(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::ListPlaybooksResponseBaseline implementation for the list_playbooks REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::ListPlaybooksRequest) — 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::ListPlaybooksResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::ListPlaybooksResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#restore_playbook_version
def restore_playbook_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::RestorePlaybookVersionResponseBaseline implementation for the restore_playbook_version REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::RestorePlaybookVersionRequest) — 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::RestorePlaybookVersionResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::RestorePlaybookVersionResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
#update_playbook
def update_playbook(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dialogflow::CX::V3::PlaybookBaseline implementation for the update_playbook REST call
- request_pb (::Google::Cloud::Dialogflow::CX::V3::UpdatePlaybookRequest) — 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::Playbook)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dialogflow::CX::V3::Playbook) — A result object deserialized from the server's reply
- (::ArgumentError)