Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata

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

Metadata common to many entities in this API.

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) ⇒ GoogleCloudApigeeV1EntityMetadata

Returns a new instance of GoogleCloudApigeeV1EntityMetadata.



1921
1922
1923
# File 'generated/google/apis/apigee_v1/classes.rb', line 1921

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

Instance Attribute Details

#created_atFixnum

Time at which the API proxy was created, in milliseconds since epoch. Corresponds to the JSON property createdAt

Returns:

  • (Fixnum)


1908
1909
1910
# File 'generated/google/apis/apigee_v1/classes.rb', line 1908

def created_at
  @created_at
end

#last_modified_atFixnum

Time at which the API proxy was most recently modified, in milliseconds since epoch. Corresponds to the JSON property lastModifiedAt

Returns:

  • (Fixnum)


1914
1915
1916
# File 'generated/google/apis/apigee_v1/classes.rb', line 1914

def last_modified_at
  @last_modified_at
end

#sub_typeString

The type of entity described Corresponds to the JSON property subType

Returns:

  • (String)


1919
1920
1921
# File 'generated/google/apis/apigee_v1/classes.rb', line 1919

def sub_type
  @sub_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1926
1927
1928
1929
1930
# File 'generated/google/apis/apigee_v1/classes.rb', line 1926

def update!(**args)
  @created_at = args[:created_at] if args.key?(:created_at)
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
  @sub_type = args[:sub_type] if args.key?(:sub_type)
end