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.



1533
1534
1535
# File 'lib/google/apis/apihub_v1/classes.rb', line 1533

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)


1531
1532
1533
# File 'lib/google/apis/apihub_v1/classes.rb', line 1531

def curation
  @curation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1538
1539
1540
# File 'lib/google/apis/apihub_v1/classes.rb', line 1538

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