def Args(parser): flags.AddParentArgs(parser, 'project of the feed.', 'Organization of the feed.', 'Folder of the feed.') flags.AddFeedIdArgs( parser, ('Identifier of the asset feed to update, which must be unique in its ' 'parent resource. Parent resource can be a project, ' 'folder, or an organization. ')) repeated.AddPrimitiveArgs( parser, 'Feed', 'asset-names', 'assetNames', additional_help=( 'See ' 'https://cloud.google.com/apis/design/resource_names#full_resource_name' ' for more information.'), include_set=False) repeated.AddPrimitiveArgs( parser, 'Feed', 'asset-types', 'assetTypes', additional_help=('See https://cloud.google.com/resource-manager/docs/' 'cloud-asset-inventory/overview for all supported ' 'asset types.'), include_set=False) flags.AddUpdateFeedContentTypeArgs(parser) flags.AddFeedPubSubTopicArgs(parser, False) flags.AddUpdateFeedConditionExpressionArgs(parser) flags.AddUpdateFeedConditionTitleArgs(parser) flags.AddUpdateFeedConditionDescriptionArgs(parser)
def Args(parser): flags.AddParentArgs(parser, 'project of the feed.', 'Organization of the feed.', 'Folder of the feed.') flags.AddFeedIdArgs( parser, ('Asset feed identifier being created, it must be unique under the' ' specified parent resource project/folder/organization.')) flags.AddFeedCriteriaArgs(parser) flags.AddFeedContentTypeArgs(parser) flags.AddFeedPubSubTopicArgs(parser, True)
def Args(parser): flags.AddParentArgs(parser, 'project of the feed.', 'Organization of the feed.', 'Folder of the feed.') flags.AddFeedIdArgs(parser, 'Asset feed identifier to describe.')