Skip to main content

opt_ins

Creates, updates, deletes, gets or lists a opt_ins resource.

Overview

Nameopt_ins
TypeResource
Idconfluent.stream_sharing.opt_ins

Fields

NameDatatypeDescription
api_versionstringAPIVersion defines the schema version of this representation of a resource.
kindstringKind defines the object this REST resource represents.
stream_share_enabledbooleanEnable stream sharing for the organization

Methods

NameAccessible byRequired ParamsDescription
get_cdx_v1opt_inSELECTGeneral Availability Returns the organization's stream sharing opt-in settings.
update_cdx_v1opt_inUPDATEGeneral Availability Updates the organization's stream sharing opt-in settings.

SELECT examples

General Availability Returns the organization's stream sharing opt-in settings.

SELECT
api_version,
kind,
stream_share_enabled
FROM confluent.stream_sharing.opt_ins
;

UPDATE example

Updates a opt_ins resource.

/*+ update */
UPDATE confluent.stream_sharing.opt_ins
SET
stream_share_enabled = true|false
WHERE
;