SwiftstructPrivateMLClient
Tie_CloudGuardrailsInputPolicy
struct PrivateMLClient.Tie_CloudGuardrailsInputPolicy
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolInternalSwiftProtobuf.Message
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 14
- var
static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get } - var
static var protoMessageName: String { get } - field
var _contentSafetyEnabled: Bool? - field
var _promptInjectionUntrustedContent: PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedContent? - field
var unknownFields: InternalSwiftProtobuf.UnknownStorage - func
clearContentSafetyEnabled() -> () - func
clearPromptInjectionUntrustedContent() -> () - func
decodeMessage<A where A: InternalSwiftProtobuf.Decoder>(decoder: inout A) throws -> () - func
traverse<A where A: InternalSwiftProtobuf.Visitor>(visitor: inout A) throws -> () - init
init() -> PrivateMLClient.Tie_CloudGuardrailsInputPolicy - var
var contentSafetyEnabled: Bool { get set } - var
var hasContentSafetyEnabled: Bool { get } - var
var hasPromptInjectionUntrustedContent: Bool { get } - var
var promptInjectionUntrustedContent: PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedContent { get set }
Header
struct Tie_CloudGuardrailsInputPolicy { struct UntrustedToolResultContent { enum OneOf_Scope { case fullOutput(PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedToolResultContent.FullOutput) case specificKeys(PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedToolResultContent.SpecificKeys) } struct FullOutput { var unknownFields: InternalSwiftProtobuf.UnknownStorage init() func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get } static var protoMessageName: Swift.String { get } } struct SpecificKeys { var keys: [Swift.String] var unknownFields: InternalSwiftProtobuf.UnknownStorage init() func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get } static var protoMessageName: Swift.String { get } } var scope: PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedToolResultContent.OneOf_Scope? var unknownFields: InternalSwiftProtobuf.UnknownStorage init() var fullOutput: PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedToolResultContent.FullOutput { get set } var specificKeys: PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedToolResultContent.SpecificKeys { get set } func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get } static var protoMessageName: Swift.String { get } } struct UntrustedContent { enum OneOf_Content { case disabled(PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedContent.Disabled) case toolResults(PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedContent.ToolResults) } struct Disabled { var unknownFields: InternalSwiftProtobuf.UnknownStorage init() func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get } static var protoMessageName: Swift.String { get } } struct ToolResults { var results: [Swift.String : PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedToolResultContent] var unknownFields: InternalSwiftProtobuf.UnknownStorage init() func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get } static var protoMessageName: Swift.String { get } } var content: PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedContent.OneOf_Content? var unknownFields: InternalSwiftProtobuf.UnknownStorage init() var disabled: PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedContent.Disabled { get set } var toolResults: PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedContent.ToolResults { get set } func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get } static var protoMessageName: Swift.String { get } } var unknownFields: InternalSwiftProtobuf.UnknownStorage var _contentSafetyEnabled: Swift.Bool? var _promptInjectionUntrustedContent: PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedContent? init() var contentSafetyEnabled: Swift.Bool { get set } var hasContentSafetyEnabled: Swift.Bool { get } var hasPromptInjectionUntrustedContent: Swift.Bool { get } var promptInjectionUntrustedContent: PrivateMLClient.Tie_CloudGuardrailsInputPolicy.UntrustedContent { get set } func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder func clearContentSafetyEnabled() func clearPromptInjectionUntrustedContent() func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get } static var protoMessageName: Swift.String { get } }