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

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

Overview

Message type for schema property

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SchemaSchemaProperty

Returns a new instance of GoogleCloudApigeeV1SchemaSchemaProperty.



5451
5452
5453
# File 'generated/google/apis/apigee_v1/classes.rb', line 5451

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

Instance Attribute Details

#create_timeString

Creation time of the field Corresponds to the JSON property createTime

Returns:

  • (String)


5438
5439
5440
# File 'generated/google/apis/apigee_v1/classes.rb', line 5438

def create_time
  @create_time
end

#customString

Custom is a flag signifying if the field was provided as part of the standard dataset or a custom field created by the customer Corresponds to the JSON property custom

Returns:

  • (String)


5444
5445
5446
# File 'generated/google/apis/apigee_v1/classes.rb', line 5444

def custom
  @custom
end

#typeString

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

Returns:

  • (String)


5449
5450
5451
# File 'generated/google/apis/apigee_v1/classes.rb', line 5449

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5456
5457
5458
5459
5460
# File 'generated/google/apis/apigee_v1/classes.rb', line 5456

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