Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaProperty

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

Overview

Properties for the schema field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SchemaSchemaProperty

Returns a new instance of GoogleCloudApigeeV1SchemaSchemaProperty.



9343
9344
9345
# File 'lib/google/apis/apigee_v1/classes.rb', line 9343

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

Instance Attribute Details

#create_timeString

Time the field was created in RFC3339 string form. For example: 2016-02-26T10: 23:09.592Z. Corresponds to the JSON property createTime

Returns:

  • (String)


9330
9331
9332
# File 'lib/google/apis/apigee_v1/classes.rb', line 9330

def create_time
  @create_time
end

#customString

Flag that specifies whether the field is standard in the dataset or a custom field created by the customer. true indicates that it is a custom field. Corresponds to the JSON property custom

Returns:

  • (String)


9336
9337
9338
# File 'lib/google/apis/apigee_v1/classes.rb', line 9336

def custom
  @custom
end

#typeString

Data type of the field. Corresponds to the JSON property type

Returns:

  • (String)


9341
9342
9343
# File 'lib/google/apis/apigee_v1/classes.rb', line 9341

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9348
9349
9350
9351
9352
# File 'lib/google/apis/apigee_v1/classes.rb', line 9348

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