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

Message type for schema property

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SchemaSchemaProperty

Returns a new instance of GoogleCloudApigeeV1SchemaSchemaProperty.



5502
5503
5504
# File 'lib/google/apis/apigee_v1/classes.rb', line 5502

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

Instance Attribute Details

#create_timeString

Creation time of the field Corresponds to the JSON property createTime

Returns:

  • (String)


5489
5490
5491
# File 'lib/google/apis/apigee_v1/classes.rb', line 5489

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)


5495
5496
5497
# File 'lib/google/apis/apigee_v1/classes.rb', line 5495

def custom
  @custom
end

#typeString

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

Returns:

  • (String)


5500
5501
5502
# File 'lib/google/apis/apigee_v1/classes.rb', line 5500

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5507
5508
5509
5510
5511
# File 'lib/google/apis/apigee_v1/classes.rb', line 5507

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