Exemplo n.º 1
0
 /// <summary>Snippet for AggregatedList</summary>
 public void AggregatedList()
 {
     // Snippet: AggregatedList(string, CallSettings)
     // Create client
     PacketMirroringsClient packetMirroringsClient = PacketMirroringsClient.Create();
     // Initialize request argument(s)
     string project = "";
     // Make the request
     PacketMirroringAggregatedList response = packetMirroringsClient.AggregatedList(project);
     // End snippet
 }
Exemplo n.º 2
0
        /// <summary>Snippet for AggregatedListAsync</summary>
        public async Task AggregatedListAsync()
        {
            // Snippet: AggregatedListAsync(string, CallSettings)
            // Additional: AggregatedListAsync(string, CancellationToken)
            // Create client
            PacketMirroringsClient packetMirroringsClient = await PacketMirroringsClient.CreateAsync();

            // Initialize request argument(s)
            string project = "";
            // Make the request
            PacketMirroringAggregatedList response = await packetMirroringsClient.AggregatedListAsync(project);

            // End snippet
        }
Exemplo n.º 3
0
 /// <summary>Snippet for AggregatedList</summary>
 public void AggregatedListRequestObject()
 {
     // Snippet: AggregatedList(AggregatedListPacketMirroringsRequest, CallSettings)
     // Create client
     PacketMirroringsClient packetMirroringsClient = PacketMirroringsClient.Create();
     // Initialize request argument(s)
     AggregatedListPacketMirroringsRequest request = new AggregatedListPacketMirroringsRequest
     {
         PageToken            = "",
         MaxResults           = 0U,
         OrderBy              = "",
         Project              = "",
         Filter               = "",
         IncludeAllScopes     = false,
         ReturnPartialSuccess = false,
     };
     // Make the request
     PacketMirroringAggregatedList response = packetMirroringsClient.AggregatedList(request);
     // End snippet
 }
Exemplo n.º 4
0
        /// <summary>Snippet for AggregatedListAsync</summary>
        public async Task AggregatedListRequestObjectAsync()
        {
            // Snippet: AggregatedListAsync(AggregatedListPacketMirroringsRequest, CallSettings)
            // Additional: AggregatedListAsync(AggregatedListPacketMirroringsRequest, CancellationToken)
            // Create client
            PacketMirroringsClient packetMirroringsClient = await PacketMirroringsClient.CreateAsync();

            // Initialize request argument(s)
            AggregatedListPacketMirroringsRequest request = new AggregatedListPacketMirroringsRequest
            {
                PageToken            = "",
                MaxResults           = 0U,
                OrderBy              = "",
                Project              = "",
                Filter               = "",
                IncludeAllScopes     = false,
                ReturnPartialSuccess = false,
            };
            // Make the request
            PacketMirroringAggregatedList response = await packetMirroringsClient.AggregatedListAsync(request);

            // End snippet
        }