Class: Google::Apis::ManagedkafkaV1::CreateVersionResponse

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

Overview

Response for CreateVersion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateVersionResponse

Returns a new instance of CreateVersionResponse.



878
879
880
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 878

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

Instance Attribute Details

#idFixnum

The unique identifier of the schema created. Corresponds to the JSON property id

Returns:

  • (Fixnum)


876
877
878
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 876

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



883
884
885
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 883

def update!(**args)
  @id = args[:id] if args.key?(:id)
end