Class: Google::Apis::ApihubV1::GoogleCloudApihubV1CustomCuration

Inherits:
Object
  • Object
show all
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

Custom curation information for this plugin instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApihubV1CustomCuration

Returns a new instance of GoogleCloudApihubV1CustomCuration.



1467
1468
1469
# File 'lib/google/apis/apihub_v1/classes.rb', line 1467

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

Instance Attribute Details

#curationString

Required. The unique name of the curation resource. This will be the name of the curation resource in the format: projects/project/locations/location/ curations/curation` Corresponds to the JSON propertycuration`

Returns:

  • (String)


1465
1466
1467
# File 'lib/google/apis/apihub_v1/classes.rb', line 1465

def curation
  @curation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1472
1473
1474
# File 'lib/google/apis/apihub_v1/classes.rb', line 1472

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