Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollectorConfig

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

Data collector and its configuration.

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

Returns a new instance of GoogleCloudApigeeV1DataCollectorConfig.


1289
1290
1291
# File 'generated/google/apis/apigee_v1/classes.rb', line 1289

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

Instance Attribute Details

#nameString

Name of the data collector in the following format: organizations/org/ datacollectors/datacollector` Corresponds to the JSON propertyname`

Returns:

  • (String)

1282
1283
1284
# File 'generated/google/apis/apigee_v1/classes.rb', line 1282

def name
  @name
end

#typeString

Data type accepted by the data collector. Corresponds to the JSON property type

Returns:

  • (String)

1287
1288
1289
# File 'generated/google/apis/apigee_v1/classes.rb', line 1287

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1294
1295
1296
1297
# File 'generated/google/apis/apigee_v1/classes.rb', line 1294

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @type = args[:type] if args.key?(:type)
end