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.
1511 1512 1513 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1511 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
1504 1505 1506 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1504 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
1509 1510 1511 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1509 def custom_curation @custom_curation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1516 1517 1518 1519 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1516 def update!(**args) @curation_type = args[:curation_type] if args.key?(:curation_type) @custom_curation = args[:custom_curation] if args.key?(:custom_curation) end |