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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SchemaSchemaProperty

Returns a new instance of GoogleCloudApigeeV1SchemaSchemaProperty.


4736
4737
4738
# File 'generated/google/apis/apigee_v1/classes.rb', line 4736

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

Instance Attribute Details

#create_timeString

Creation time of the field Corresponds to the JSON property createTime

Returns:

  • (String)

4723
4724
4725
# File 'generated/google/apis/apigee_v1/classes.rb', line 4723

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)

4729
4730
4731
# File 'generated/google/apis/apigee_v1/classes.rb', line 4729

def custom
  @custom
end

#typeString

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

Returns:

  • (String)

4734
4735
4736
# File 'generated/google/apis/apigee_v1/classes.rb', line 4734

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4741
4742
4743
4744
4745
# File 'generated/google/apis/apigee_v1/classes.rb', line 4741

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