Class: Google::Apis::PubsubV1::ConfluentCloud

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/pubsub_v1/classes.rb,
lib/google/apis/pubsub_v1/representations.rb,
lib/google/apis/pubsub_v1/representations.rb

Overview

Ingestion settings for Confluent Cloud.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfluentCloud

Returns a new instance of ConfluentCloud.



690
691
692
# File 'lib/google/apis/pubsub_v1/classes.rb', line 690

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bootstrap_serverString

Required. The address of the bootstrap server. The format is url:port. Corresponds to the JSON property bootstrapServer

Returns:

  • (String)


657
658
659
# File 'lib/google/apis/pubsub_v1/classes.rb', line 657

def bootstrap_server
  @bootstrap_server
end

#cluster_idString

Required. The id of the cluster. Corresponds to the JSON property clusterId

Returns:

  • (String)


662
663
664
# File 'lib/google/apis/pubsub_v1/classes.rb', line 662

def cluster_id
  @cluster_id
end

#gcp_service_accountString

Required. The GCP service account to be used for Federated Identity authentication with identity_pool_id. Corresponds to the JSON property gcpServiceAccount

Returns:

  • (String)


668
669
670
# File 'lib/google/apis/pubsub_v1/classes.rb', line 668

def 
  @gcp_service_account
end

#identity_pool_idString

Required. The id of the identity pool to be used for Federated Identity authentication with Confluent Cloud. See https://docs.confluent.io/cloud/ current/security/authenticate/workload-identities/identity-providers/oauth/ identity-pools.html#add-oauth-identity-pools. Corresponds to the JSON property identityPoolId

Returns:

  • (String)


676
677
678
# File 'lib/google/apis/pubsub_v1/classes.rb', line 676

def identity_pool_id
  @identity_pool_id
end

#stateString

Output only. An output-only field that indicates the state of the Confluent Cloud ingestion source. Corresponds to the JSON property state

Returns:

  • (String)


682
683
684
# File 'lib/google/apis/pubsub_v1/classes.rb', line 682

def state
  @state
end

#topicString

Required. The name of the topic in the Confluent Cloud cluster that Pub/Sub will import from. Corresponds to the JSON property topic

Returns:

  • (String)


688
689
690
# File 'lib/google/apis/pubsub_v1/classes.rb', line 688

def topic
  @topic
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



695
696
697
698
699
700
701
702
# File 'lib/google/apis/pubsub_v1/classes.rb', line 695

def update!(**args)
  @bootstrap_server = args[:bootstrap_server] if args.key?(:bootstrap_server)
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
  @gcp_service_account = args[:gcp_service_account] if args.key?(:gcp_service_account)
  @identity_pool_id = args[:identity_pool_id] if args.key?(:identity_pool_id)
  @state = args[:state] if args.key?(:state)
  @topic = args[:topic] if args.key?(:topic)
end