def Args(cls, parser): flags.AddSubscriptionResourceArg(parser, 'to update.') flags.AddSubscriptionSettingsFlags(parser, cls.ReleaseTrack(), is_update=True) labels_util.AddUpdateLabelsFlags(parser)
def Args(parser): parser.display_info.AddFormat(""" table[box]( message.data.decode(base64), message.messageId, message.attributes.list(separator='\n'), ackId.if(NOT auto_ack) ) """) flags.AddSubscriptionResourceArg(parser, 'to pull messages from.') flags.AddPullFlags(parser)
def Args(parser): flags.AddSubscriptionResourceArg(parser, 'messages belong to.') flags.AddAckIdFlag(parser, 'modify the deadline for.') flags.AddAckDeadlineFlag(parser, required=True)
def Args(parser): flags.AddSubscriptionResourceArg(parser, 'to ACK messages on.') flags.AddAckIdFlag(parser, 'acknowledge.')
def Args(parser): flags.AddSubscriptionResourceArg(parser, 'to delete.', plural=True)
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(parser): flags.AddSubscriptionResourceArg(parser, 'to add an IAM policy binding to.') iam_util.AddArgsForAddIamPolicyBinding(parser)
def Args(parser): flags.AddSubscriptionResourceArg(parser, 'to remove an IAM policy binding from.') iam_util.AddArgsForRemoveIamPolicyBinding(parser)
def Args(parser): flags.AddSubscriptionResourceArg(parser, 'to affect.') flags.AddSeekFlags(parser)
def Args(parser): flags.AddSubscriptionResourceArg(parser, 'to get the IAM policy of.') base.URI_FLAG.RemoveFromParser(parser)
def Args(parser): flags.AddSubscriptionResourceArg(parser, 'to modify.') flags.AddPushEndpointFlag(parser, required=True)
def Args(parser): flags.AddSubscriptionResourceArg(parser, 'to set an IAM policy on.') flags.AddIamPolicyFileFlag(parser)