def Args(cls, parser): resource_args.AddSubscriptionResourceArg(parser, 'to update.') flags.AddSubscriptionSettingsFlags(parser, is_update=True, support_filtering=True, support_retry_policy=True) labels_util.AddUpdateLabelsFlags(parser)
def Args(cls, parser): resource_args.AddSubscriptionResourceArg(parser, 'to update.') flags.AddSubscriptionSettingsFlags(parser, cls.ReleaseTrack(), is_update=True) labels_util.AddUpdateLabelsFlags(parser)
def Args(cls, parser): topic_help_text = ( 'from which this subscription is receiving messages. ' 'Each subscription is attached to a single topic.') topic = resource_args.CreateTopicResourceArg(topic_help_text, positional=False) subscription = resource_args.CreateSubscriptionResourceArg( 'to create.', plural=True) resource_args.AddResourceArgs(parser, [topic, subscription]) flags.AddSubscriptionSettingsFlags(parser, cls.ReleaseTrack())
def Args(cls, parser): topic_help_text = ('from which this subscription is receiving messages. ' 'Each subscription is attached to a single topic.') topic = resource_args.CreateTopicResourceArg( topic_help_text, positional=False) subscription = resource_args.CreateSubscriptionResourceArg( 'to create.', plural=True) resource_args.AddResourceArgs(parser, [topic, subscription]) flags.AddSubscriptionSettingsFlags(parser, support_message_ordering=True) labels_util.AddCreateLabelsFlags(parser)
def Args(cls, parser): flags.AddSubscriptionResourceArg(parser, 'to create.', plural=True) flags.AddSubscriptionTopicResourceFlags(parser) flags.AddSubscriptionSettingsFlags(parser, cls.ReleaseTrack()) labels_util.AddCreateLabelsFlags(parser)
def Args(cls, parser): resource_args.AddSubscriptionResourceArg(parser, 'to update.') flags.AddSubscriptionSettingsFlags( parser, is_update=True, support_enable_exactly_once_delivery=True) labels_util.AddUpdateLabelsFlags(parser)
def Args(cls, parser): resource_args.AddSubscriptionResourceArg(parser, 'to update.') flags.AddSubscriptionSettingsFlags(parser, is_update=True, support_dead_letter_queues=True) labels_util.AddUpdateLabelsFlags(parser)