Cloud Asset V1 API - Class Google::Cloud::Asset::V1::CreateFeedRequest (v0.32.0)

Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::CreateFeedRequest.

Create asset feed request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#feed

def feed() -> ::Google::Cloud::Asset::V1::Feed
Returns
  • (::Google::Cloud::Asset::V1::Feed) — Required. The feed details. The field name must be empty and it will be generated in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id

#feed=

def feed=(value) -> ::Google::Cloud::Asset::V1::Feed
Parameter
  • value (::Google::Cloud::Asset::V1::Feed) — Required. The feed details. The field name must be empty and it will be generated in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id
Returns
  • (::Google::Cloud::Asset::V1::Feed) — Required. The feed details. The field name must be empty and it will be generated in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id

#feed_id

def feed_id() -> ::String
Returns
  • (::String) — Required. This is the client-assigned asset feed identifier and it needs to be unique under a specific parent project/folder/organization.

#feed_id=

def feed_id=(value) -> ::String
Parameter
  • value (::String) — Required. This is the client-assigned asset feed identifier and it needs to be unique under a specific parent project/folder/organization.
Returns
  • (::String) — Required. This is the client-assigned asset feed identifier and it needs to be unique under a specific parent project/folder/organization.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The name of the project/folder/organization where this feed should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the project/folder/organization where this feed should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").
Returns
  • (::String) — Required. The name of the project/folder/organization where this feed should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").