Class: Google::Apis::ApihubV1::GoogleCloudApihubV1CurationConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1CurationConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb
Overview
The curation information for this plugin instance.
Instance Attribute Summary collapse
-
#curation_type ⇒ String
Required.
-
#custom_curation ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1CustomCuration
Custom curation information for this plugin instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1CurationConfig
constructor
A new instance of GoogleCloudApihubV1CurationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1CurationConfig
Returns a new instance of GoogleCloudApihubV1CurationConfig.
1445 1446 1447 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1445 def initialize(**args) update!(**args) end |
Instance Attribute Details
#curation_type ⇒ String
Required. The curation type for this plugin instance.
Corresponds to the JSON property curationType
1438 1439 1440 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1438 def curation_type @curation_type end |
#custom_curation ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1CustomCuration
Custom curation information for this plugin instance.
Corresponds to the JSON property customCuration
1443 1444 1445 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1443 def custom_curation @custom_curation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1450 1451 1452 1453 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1450 def update!(**args) @curation_type = args[:curation_type] if args.key?(:curation_type) @custom_curation = args[:custom_curation] if args.key?(:custom_curation) end |