Class: Google::Apis::CloudassetV1::CreateFeedRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::CreateFeedRequest
- Defined in:
- generated/google/apis/cloudasset_v1/classes.rb,
generated/google/apis/cloudasset_v1/representations.rb,
generated/google/apis/cloudasset_v1/representations.rb
Overview
Create asset feed request.
Instance Attribute Summary collapse
-
#feed ⇒ Google::Apis::CloudassetV1::Feed
An asset feed used to export asset updates to a destinations.
-
#feed_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateFeedRequest
constructor
A new instance of CreateFeedRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateFeedRequest
Returns a new instance of CreateFeedRequest.
451 452 453 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 451 def initialize(**args) update!(**args) end |
Instance Attribute Details
#feed ⇒ Google::Apis::CloudassetV1::Feed
An asset feed used to export asset updates to a destinations.
An asset feed filter controls what updates are exported.
The asset feed must be created within a project, organization, or
folder. Supported destinations are:
Cloud Pub/Sub topics.
Corresponds to the JSON property feed
443 444 445 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 443 def feed @feed end |
#feed_id ⇒ String
Required. This is the client-assigned asset feed identifier and it needs to
be unique under a specific parent project/folder/organization.
Corresponds to the JSON property feedId
449 450 451 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 449 def feed_id @feed_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
456 457 458 459 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 456 def update!(**args) @feed = args[:feed] if args.key?(:feed) @feed_id = args[:feed_id] if args.key?(:feed_id) end |