
                             S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  SSK	Jr  SS	KJr   " S
 S\R                  5      rg)z9Command to update an existing Cloud Asset Inventory Feed.    )absolute_import)division)unicode_literals)client_util)base)flags)utils)repeatedc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Update   z.Update an existing Cloud Asset Inventory Feed.z;      Update an existing Cloud Asset Inventory Feed.
      z        To add an asset-type to an existing feed, run:

          $ {command} feed1 --project=p1
          --add-asset-types=pubsub.googleapis.com/Topic
      )DESCRIPTIONEXAMPLESc           	         [         R                  " U SSS5        [         R                  " U S5        [        R                  " U SSSSS	S
9  [        R                  " U SSSSS	S
9  [        R                  " U SSSSS	S
9  [         R
                  " U 5        [         R                  " U S	5        [         R                  " U 5        [         R                  " U 5        [         R                  " U 5        g )Nzproject of the feed.zOrganization of the feed.zFolder of the feed.zIdentifier of the asset feed to update, which must be unique in its parent resource. Parent resource can be a project, folder, or an organization. Feedzasset-names
assetNamesz`See https://cloud.google.com/apis/design/resource_names#full_resource_name for more information.F)additional_helpinclude_setzasset-types
assetTypeszpSee https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview for all supported asset types.zrelationship-typesrelationshipTypeszwSee https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview for all supported relationship types.)
r   AddParentArgsAddFeedIdArgsr
   AddPrimitiveArgsAddUpdateFeedContentTypeArgsAddFeedPubSubTopicArgs$AddUpdateFeedConditionExpressionArgsAddUpdateFeedConditionTitleArgs%AddUpdateFeedConditionDescriptionArgs)parsers    !lib/surface/asset/feeds/update.pyArgsUpdate.Args-   s    	 635JL	
(*
 % 	 (  /  
&&v.	  /	..v6	))&1	//7    c                     [         R                  " UR                  UR                  UR                  5      n[
        R                  " U5      nUR                  U5      $ )N)asset_utilsGetFeedParentorganizationprojectfolderr   AssetFeedClientr   )selfargsparentclients       r    Run
Update.RunX   sF    &&t'8'8$,,'+{{4F((0F==r#    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr!   r/   __static_attributes__r1   r#   r    r   r      s0    6

- (8 (8Tr#   r   N)r6   
__future__r   r   r   googlecloudsdk.api_lib.assetr   googlecloudsdk.callioper    googlecloudsdk.command_lib.assetr   r	   r%   $googlecloudsdk.command_lib.util.argsr
   Commandr   r1   r#   r    <module>r@      s5    @ &  ' 4 ( 2 A 9@T\\ @r#   