def sample_create_feed(): """Snippet for create_feed""" # Create a client client = asset_v1.AssetServiceClient() # Initialize request argument(s) request = asset_v1.CreateFeedRequest() # Make the request response = client.create_feed(request=request) # Handle response print("{}".format(response))
def sample_create_feed(): # Create a client client = asset_v1.AssetServiceClient() # Initialize request argument(s) feed = asset_v1.Feed() feed.name = "name_value" request = asset_v1.CreateFeedRequest( parent="parent_value", feed_id="feed_id_value", feed=feed, ) # Make the request response = client.create_feed(request=request) # Handle the response print(response)