Class: Google::Apis::BigtableadminV2::SchemaBundle
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::SchemaBundle
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigtableadmin_v2/classes.rb,
lib/google/apis/bigtableadmin_v2/representations.rb,
lib/google/apis/bigtableadmin_v2/representations.rb
Overview
A named collection of related schemas.
Instance Attribute Summary collapse
-
#etag ⇒ String
Optional.
-
#name ⇒ String
Identifier.
-
#proto_schema ⇒ Google::Apis::BigtableadminV2::ProtoSchema
Represents a protobuf schema.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SchemaBundle
constructor
A new instance of SchemaBundle.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SchemaBundle
Returns a new instance of SchemaBundle.
3910 3911 3912 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3910 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
Optional. The etag for this schema bundle. This may be sent on update and
delete requests to ensure the client has an up-to-date value before proceeding.
The server returns an ABORTED error on a mismatched etag.
Corresponds to the JSON property etag
3896 3897 3898 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3896 def etag @etag end |
#name ⇒ String
Identifier. The unique name identifying this schema bundle. Values are of the
form projects/project/instances/instance/tables/table/schemaBundles/
schema_bundle`
Corresponds to the JSON propertyname`
3903 3904 3905 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3903 def name @name end |
#proto_schema ⇒ Google::Apis::BigtableadminV2::ProtoSchema
Represents a protobuf schema.
Corresponds to the JSON property protoSchema
3908 3909 3910 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3908 def proto_schema @proto_schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3915 3916 3917 3918 3919 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3915 def update!(**args) @etag = args[:etag] if args.key?(:etag) @name = args[:name] if args.key?(:name) @proto_schema = args[:proto_schema] if args.key?(:proto_schema) end |