google-cloud-network_services-v1 2.9.0 → 2.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/network_services/v1/dep_service/client.rb +2 -0
  4. data/lib/google/cloud/network_services/v1/dep_service/operations.rb +2 -0
  5. data/lib/google/cloud/network_services/v1/dep_service/rest/client.rb +2 -0
  6. data/lib/google/cloud/network_services/v1/dep_service/rest/operations.rb +2 -0
  7. data/lib/google/cloud/network_services/v1/network_services/client.rb +551 -26
  8. data/lib/google/cloud/network_services/v1/network_services/operations.rb +2 -0
  9. data/lib/google/cloud/network_services/v1/network_services/paths.rb +38 -0
  10. data/lib/google/cloud/network_services/v1/network_services/rest/client.rb +516 -26
  11. data/lib/google/cloud/network_services/v1/network_services/rest/operations.rb +2 -0
  12. data/lib/google/cloud/network_services/v1/network_services/rest/service_stub.rb +307 -0
  13. data/lib/google/cloud/network_services/v1/version.rb +1 -1
  14. data/lib/google/cloud/networkservices/v1/agent_gateway_pb.rb +41 -0
  15. data/lib/google/cloud/networkservices/v1/dep_pb.rb +2 -1
  16. data/lib/google/cloud/networkservices/v1/gateway_pb.rb +1 -1
  17. data/lib/google/cloud/networkservices/v1/http_route_pb.rb +2 -1
  18. data/lib/google/cloud/networkservices/v1/mesh_pb.rb +1 -1
  19. data/lib/google/cloud/networkservices/v1/network_services_pb.rb +2 -1
  20. data/lib/google/cloud/networkservices/v1/network_services_services_pb.rb +10 -0
  21. data/lib/google/cloud/networkservices/v1/service_binding_pb.rb +2 -1
  22. data/lib/google/cloud/networkservices/v1/tls_route_pb.rb +1 -1
  23. data/proto_docs/google/api/client.rb +4 -0
  24. data/proto_docs/google/cloud/networkservices/v1/agent_gateway.rb +302 -0
  25. data/proto_docs/google/cloud/networkservices/v1/common.rb +4 -4
  26. data/proto_docs/google/cloud/networkservices/v1/dep.rb +110 -7
  27. data/proto_docs/google/cloud/networkservices/v1/endpoint_policy.rb +5 -5
  28. data/proto_docs/google/cloud/networkservices/v1/extensibility.rb +90 -33
  29. data/proto_docs/google/cloud/networkservices/v1/gateway.rb +11 -1
  30. data/proto_docs/google/cloud/networkservices/v1/grpc_route.rb +7 -7
  31. data/proto_docs/google/cloud/networkservices/v1/http_route.rb +13 -7
  32. data/proto_docs/google/cloud/networkservices/v1/mesh.rb +5 -5
  33. data/proto_docs/google/cloud/networkservices/v1/tcp_route.rb +7 -7
  34. data/proto_docs/google/cloud/networkservices/v1/tls_route.rb +15 -7
  35. metadata +5 -3
@@ -703,6 +703,7 @@ module Google
703
703
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
704
704
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
705
705
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
706
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
706
707
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
707
708
  # trigger a retry.
708
709
  # @return [::Hash]
@@ -786,6 +787,7 @@ module Google
786
787
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
787
788
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
788
789
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
790
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
789
791
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
790
792
  # trigger a retry.
791
793
  #
@@ -43,6 +43,25 @@ module Google
43
43
  "projects/#{project}/regions/#{region}/addresses/#{address}"
44
44
  end
45
45
 
46
+ ##
47
+ # Create a fully-qualified AgentGateway resource string.
48
+ #
49
+ # The resource will be in the following format:
50
+ #
51
+ # `projects/{project}/locations/{location}/agentGateways/{agent_gateway}`
52
+ #
53
+ # @param project [String]
54
+ # @param location [String]
55
+ # @param agent_gateway [String]
56
+ #
57
+ # @return [::String]
58
+ def agent_gateway_path project:, location:, agent_gateway:
59
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
60
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
61
+
62
+ "projects/#{project}/locations/#{location}/agentGateways/#{agent_gateway}"
63
+ end
64
+
46
65
  ##
47
66
  # Create a fully-qualified AuthorizationPolicy resource string.
48
67
  #
@@ -406,6 +425,25 @@ module Google
406
425
  "projects/#{project}/regions/#{region}/subnetworks/#{subnetwork}"
407
426
  end
408
427
 
428
+ ##
429
+ # Create a fully-qualified TargetTcpProxy resource string.
430
+ #
431
+ # The resource will be in the following format:
432
+ #
433
+ # `projects/{project}/locations/{location}/targetTcpProxies/{target_tcp_proxy}`
434
+ #
435
+ # @param project [String]
436
+ # @param location [String]
437
+ # @param target_tcp_proxy [String]
438
+ #
439
+ # @return [::String]
440
+ def target_tcp_proxy_path project:, location:, target_tcp_proxy:
441
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
442
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
443
+
444
+ "projects/#{project}/locations/#{location}/targetTcpProxies/#{target_tcp_proxy}"
445
+ end
446
+
409
447
  ##
410
448
  # Create a fully-qualified TcpRoute resource string.
411
449
  #