Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector
- 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
Data collector configuration.
Instance Attribute Summary collapse
-
#created_at ⇒ Fixnum
Output only.
-
#description ⇒ String
A description of the data collector.
-
#last_modified_at ⇒ Fixnum
Output only.
-
#name ⇒ String
ID of the data collector.
-
#type ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1DataCollector
constructor
A new instance of GoogleCloudApigeeV1DataCollector.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1DataCollector
Returns a new instance of GoogleCloudApigeeV1DataCollector.
1818 1819 1820 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1818 def initialize(**args) update!(**args) end |
Instance Attribute Details
#created_at ⇒ Fixnum
Output only. The time at which the data collector was created in milliseconds
since the epoch.
Corresponds to the JSON property createdAt
1795 1796 1797 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1795 def created_at @created_at end |
#description ⇒ String
A description of the data collector.
Corresponds to the JSON property description
1800 1801 1802 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1800 def description @description end |
#last_modified_at ⇒ Fixnum
Output only. The time at which the Data Collector was last updated in
milliseconds since the epoch.
Corresponds to the JSON property lastModifiedAt
1806 1807 1808 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1806 def last_modified_at @last_modified_at end |
#name ⇒ String
ID of the data collector. Must begin with dc_.
Corresponds to the JSON property name
1811 1812 1813 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1811 def name @name end |
#type ⇒ String
Immutable. The type of data this data collector will collect.
Corresponds to the JSON property type
1816 1817 1818 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1816 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1823 1824 1825 1826 1827 1828 1829 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1823 def update!(**args) @created_at = args[:created_at] if args.key?(:created_at) @description = args[:description] if args.key?(:description) @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end |