google-apis-networkservices_v1beta1 0.74.0 → 0.75.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/networkservices_v1beta1/classes.rb +537 -0
- data/lib/google/apis/networkservices_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/networkservices_v1beta1/representations.rb +222 -0
- data/lib/google/apis/networkservices_v1beta1/service.rb +329 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 76bbe8a0f4d126c11c7c9cbeaa3eedc7045de6b2cc5bdad1c0ba2d1c298b0697
|
|
4
|
+
data.tar.gz: 52b5f572c7f5177fd924fccb1bd3e5877349c158eac7d3bc6bce0eb6da5ee96e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66f59ad45384e13ecb8433453013c79ef23bbd5df626bed4e9802ac0a6100680bc04d5849d381749a4014f25a5ec3a00ce041b537119c22b61f41514f35b5654
|
|
7
|
+
data.tar.gz: d942ac7ab850abd9d5be841aab628b7ffe74de87dd91e5da0bcdf2a97a1cb12304af378e6017e1362f3d3881aaeb3bd3c6ed5f452e4b635b65ae0f1bacba4846
|
data/CHANGELOG.md
CHANGED
|
@@ -40,11 +40,22 @@ module Google
|
|
|
40
40
|
# @return [Array<String>]
|
|
41
41
|
attr_accessor :access_types
|
|
42
42
|
|
|
43
|
+
# Optional. The compute environment where the agent is hosted. Exactly one type
|
|
44
|
+
# of compute must be chosen.
|
|
45
|
+
# Corresponds to the JSON property `agentCompute`
|
|
46
|
+
# @return [String]
|
|
47
|
+
attr_accessor :agent_compute
|
|
48
|
+
|
|
43
49
|
# Output only. The timestamp when the resource was created.
|
|
44
50
|
# Corresponds to the JSON property `createTime`
|
|
45
51
|
# @return [String]
|
|
46
52
|
attr_accessor :create_time
|
|
47
53
|
|
|
54
|
+
# Required. The deployment model for the gateway.
|
|
55
|
+
# Corresponds to the JSON property `deploymentModel`
|
|
56
|
+
# @return [String]
|
|
57
|
+
attr_accessor :deployment_model
|
|
58
|
+
|
|
48
59
|
# Optional. A free-text description of the resource. Max length 1024 characters.
|
|
49
60
|
# Corresponds to the JSON property `description`
|
|
50
61
|
# @return [String]
|
|
@@ -87,7 +98,9 @@ module Google
|
|
|
87
98
|
def update!(**args)
|
|
88
99
|
@access_path = args[:access_path] if args.key?(:access_path)
|
|
89
100
|
@access_types = args[:access_types] if args.key?(:access_types)
|
|
101
|
+
@agent_compute = args[:agent_compute] if args.key?(:agent_compute)
|
|
90
102
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
103
|
+
@deployment_model = args[:deployment_model] if args.key?(:deployment_model)
|
|
91
104
|
@description = args[:description] if args.key?(:description)
|
|
92
105
|
@egress_network_config = args[:egress_network_config] if args.key?(:egress_network_config)
|
|
93
106
|
@etag = args[:etag] if args.key?(:etag)
|
|
@@ -724,6 +737,352 @@ module Google
|
|
|
724
737
|
end
|
|
725
738
|
end
|
|
726
739
|
|
|
740
|
+
# `ExtensionBinding` is a resource representing the attachment of an extension
|
|
741
|
+
# to a service.
|
|
742
|
+
class ExtensionBinding
|
|
743
|
+
include Google::Apis::Core::Hashable
|
|
744
|
+
|
|
745
|
+
# Output only. The timestamp when the resource was created.
|
|
746
|
+
# Corresponds to the JSON property `createTime`
|
|
747
|
+
# @return [String]
|
|
748
|
+
attr_accessor :create_time
|
|
749
|
+
|
|
750
|
+
# Optional. A human-readable description of the resource.
|
|
751
|
+
# Corresponds to the JSON property `description`
|
|
752
|
+
# @return [String]
|
|
753
|
+
attr_accessor :description
|
|
754
|
+
|
|
755
|
+
# Optional. Etag of the resource. If provided, it must match the server's etag.
|
|
756
|
+
# If the provided etag does not match the server's etag, the request will fail
|
|
757
|
+
# with a 409 ABORTED error.
|
|
758
|
+
# Corresponds to the JSON property `etag`
|
|
759
|
+
# @return [String]
|
|
760
|
+
attr_accessor :etag
|
|
761
|
+
|
|
762
|
+
# Optional. Determines the behavior of the extension binding when the call to
|
|
763
|
+
# the extension fails or times out. Default value is `FALSE`. When set to `TRUE`,
|
|
764
|
+
# failures of the extension are silently ignored.
|
|
765
|
+
# Corresponds to the JSON property `failOpen`
|
|
766
|
+
# @return [Boolean]
|
|
767
|
+
attr_accessor :fail_open
|
|
768
|
+
alias_method :fail_open?, :fail_open
|
|
769
|
+
|
|
770
|
+
# Optional. Set of labels associated with the `ExtensionBinding` resource. The
|
|
771
|
+
# format must comply with [the following requirements](https://cloud.google.com/
|
|
772
|
+
# compute/docs/labeling-resources#requirements).
|
|
773
|
+
# Corresponds to the JSON property `labels`
|
|
774
|
+
# @return [Hash<String,String>]
|
|
775
|
+
attr_accessor :labels
|
|
776
|
+
|
|
777
|
+
# Optional. A list of match conditions to match against the incoming request.
|
|
778
|
+
# The extension will be invoked if at least one condition matches the request,
|
|
779
|
+
# or if no match conditions are specified. Limited to 5 conditions.
|
|
780
|
+
# Corresponds to the JSON property `matchConditions`
|
|
781
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchCondition>]
|
|
782
|
+
attr_accessor :match_conditions
|
|
783
|
+
|
|
784
|
+
# Identifier. Name of the `ExtensionBinding` resource in the following format: `
|
|
785
|
+
# projects/`project`/locations/`location`/extensionBindings/`extension_binding``.
|
|
786
|
+
# Corresponds to the JSON property `name`
|
|
787
|
+
# @return [String]
|
|
788
|
+
attr_accessor :name
|
|
789
|
+
|
|
790
|
+
# Optional. Priority of the extension binding. Lower numbers indicate higher
|
|
791
|
+
# priority. Priority of extension bindings are used to determine the order in
|
|
792
|
+
# which extension bindings are applied to a request.
|
|
793
|
+
# Corresponds to the JSON property `priority`
|
|
794
|
+
# @return [Fixnum]
|
|
795
|
+
attr_accessor :priority
|
|
796
|
+
|
|
797
|
+
# Required. The name of the extension that this binding should attach to target
|
|
798
|
+
# resources. Format: For Google-provided extensions, specify the service
|
|
799
|
+
# endpoint (see [Model Armor integration](https://docs.cloud.google.com/model-
|
|
800
|
+
# armor/integrations))
|
|
801
|
+
# Corresponds to the JSON property `producerExtension`
|
|
802
|
+
# @return [String]
|
|
803
|
+
attr_accessor :producer_extension
|
|
804
|
+
|
|
805
|
+
# Optional. Additional metadata that should be passed to the attached extension
|
|
806
|
+
# with each request.
|
|
807
|
+
# Corresponds to the JSON property `producerMetadata`
|
|
808
|
+
# @return [Hash<String,String>]
|
|
809
|
+
attr_accessor :producer_metadata
|
|
810
|
+
|
|
811
|
+
# Specifies a list of targets to which this `ExtensionBinding` should attach.
|
|
812
|
+
# Corresponds to the JSON property `target`
|
|
813
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ExtensionBindingTarget]
|
|
814
|
+
attr_accessor :target
|
|
815
|
+
|
|
816
|
+
# Output only. The timestamp when the resource was updated.
|
|
817
|
+
# Corresponds to the JSON property `updateTime`
|
|
818
|
+
# @return [String]
|
|
819
|
+
attr_accessor :update_time
|
|
820
|
+
|
|
821
|
+
def initialize(**args)
|
|
822
|
+
update!(**args)
|
|
823
|
+
end
|
|
824
|
+
|
|
825
|
+
# Update properties of this object
|
|
826
|
+
def update!(**args)
|
|
827
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
828
|
+
@description = args[:description] if args.key?(:description)
|
|
829
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
830
|
+
@fail_open = args[:fail_open] if args.key?(:fail_open)
|
|
831
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
832
|
+
@match_conditions = args[:match_conditions] if args.key?(:match_conditions)
|
|
833
|
+
@name = args[:name] if args.key?(:name)
|
|
834
|
+
@priority = args[:priority] if args.key?(:priority)
|
|
835
|
+
@producer_extension = args[:producer_extension] if args.key?(:producer_extension)
|
|
836
|
+
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
|
|
837
|
+
@target = args[:target] if args.key?(:target)
|
|
838
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
839
|
+
end
|
|
840
|
+
end
|
|
841
|
+
|
|
842
|
+
# Conditions to match against the incoming request.
|
|
843
|
+
class ExtensionBindingMatchCondition
|
|
844
|
+
include Google::Apis::Core::Hashable
|
|
845
|
+
|
|
846
|
+
# Describes properties of one or more destinations of a request.
|
|
847
|
+
# Corresponds to the JSON property `to`
|
|
848
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionTo]
|
|
849
|
+
attr_accessor :to
|
|
850
|
+
|
|
851
|
+
def initialize(**args)
|
|
852
|
+
update!(**args)
|
|
853
|
+
end
|
|
854
|
+
|
|
855
|
+
# Update properties of this object
|
|
856
|
+
def update!(**args)
|
|
857
|
+
@to = args[:to] if args.key?(:to)
|
|
858
|
+
end
|
|
859
|
+
end
|
|
860
|
+
|
|
861
|
+
# Determines how an HTTP header should be matched.
|
|
862
|
+
class ExtensionBindingMatchConditionHeaderMatch
|
|
863
|
+
include Google::Apis::Core::Hashable
|
|
864
|
+
|
|
865
|
+
# Required. Specifies the name of the header in the request.
|
|
866
|
+
# Corresponds to the JSON property `name`
|
|
867
|
+
# @return [String]
|
|
868
|
+
attr_accessor :name
|
|
869
|
+
|
|
870
|
+
# Specifies matching logic for string values.
|
|
871
|
+
# Corresponds to the JSON property `value`
|
|
872
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionStringMatch]
|
|
873
|
+
attr_accessor :value
|
|
874
|
+
|
|
875
|
+
def initialize(**args)
|
|
876
|
+
update!(**args)
|
|
877
|
+
end
|
|
878
|
+
|
|
879
|
+
# Update properties of this object
|
|
880
|
+
def update!(**args)
|
|
881
|
+
@name = args[:name] if args.key?(:name)
|
|
882
|
+
@value = args[:value] if args.key?(:value)
|
|
883
|
+
end
|
|
884
|
+
end
|
|
885
|
+
|
|
886
|
+
# Specifies matching logic for string values.
|
|
887
|
+
class ExtensionBindingMatchConditionStringMatch
|
|
888
|
+
include Google::Apis::Core::Hashable
|
|
889
|
+
|
|
890
|
+
# Optional. The input string must have the substring specified here. Note: empty
|
|
891
|
+
# contains match is not allowed, please use regex instead. Examples: * ``abc``
|
|
892
|
+
# matches the value ``xyz.abc.def``
|
|
893
|
+
# Corresponds to the JSON property `contains`
|
|
894
|
+
# @return [String]
|
|
895
|
+
attr_accessor :contains
|
|
896
|
+
|
|
897
|
+
# Optional. The input string must match exactly the string specified here.
|
|
898
|
+
# Examples: * ``abc`` only matches the value ``abc``.
|
|
899
|
+
# Corresponds to the JSON property `exact`
|
|
900
|
+
# @return [String]
|
|
901
|
+
attr_accessor :exact
|
|
902
|
+
|
|
903
|
+
# Optional. If true, indicates the exact/prefix/suffix/contains matching should
|
|
904
|
+
# be case insensitive. For example, the matcher ``data`` will match both input
|
|
905
|
+
# string ``Data`` and ``data`` if set to true.
|
|
906
|
+
# Corresponds to the JSON property `ignoreCase`
|
|
907
|
+
# @return [Boolean]
|
|
908
|
+
attr_accessor :ignore_case
|
|
909
|
+
alias_method :ignore_case?, :ignore_case
|
|
910
|
+
|
|
911
|
+
# Optional. The input string must have the prefix specified here. Note: empty
|
|
912
|
+
# prefix is not allowed. Examples: * ``abc`` matches the value ``abc.xyz``
|
|
913
|
+
# Corresponds to the JSON property `prefix`
|
|
914
|
+
# @return [String]
|
|
915
|
+
attr_accessor :prefix
|
|
916
|
+
|
|
917
|
+
# Optional. The input string must have the suffix specified here. Note: empty
|
|
918
|
+
# prefix is not allowed, please use regex instead. Examples: * ``abc`` matches
|
|
919
|
+
# the value ``xyz.abc``
|
|
920
|
+
# Corresponds to the JSON property `suffix`
|
|
921
|
+
# @return [String]
|
|
922
|
+
attr_accessor :suffix
|
|
923
|
+
|
|
924
|
+
def initialize(**args)
|
|
925
|
+
update!(**args)
|
|
926
|
+
end
|
|
927
|
+
|
|
928
|
+
# Update properties of this object
|
|
929
|
+
def update!(**args)
|
|
930
|
+
@contains = args[:contains] if args.key?(:contains)
|
|
931
|
+
@exact = args[:exact] if args.key?(:exact)
|
|
932
|
+
@ignore_case = args[:ignore_case] if args.key?(:ignore_case)
|
|
933
|
+
@prefix = args[:prefix] if args.key?(:prefix)
|
|
934
|
+
@suffix = args[:suffix] if args.key?(:suffix)
|
|
935
|
+
end
|
|
936
|
+
end
|
|
937
|
+
|
|
938
|
+
# Describes properties of one or more destinations of a request.
|
|
939
|
+
class ExtensionBindingMatchConditionTo
|
|
940
|
+
include Google::Apis::Core::Hashable
|
|
941
|
+
|
|
942
|
+
# Describes properties of a single destination.
|
|
943
|
+
# Corresponds to the JSON property `destination`
|
|
944
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionToDestination]
|
|
945
|
+
attr_accessor :destination
|
|
946
|
+
|
|
947
|
+
# Describes properties of a single destination.
|
|
948
|
+
# Corresponds to the JSON property `notDestination`
|
|
949
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionToDestination]
|
|
950
|
+
attr_accessor :not_destination
|
|
951
|
+
|
|
952
|
+
def initialize(**args)
|
|
953
|
+
update!(**args)
|
|
954
|
+
end
|
|
955
|
+
|
|
956
|
+
# Update properties of this object
|
|
957
|
+
def update!(**args)
|
|
958
|
+
@destination = args[:destination] if args.key?(:destination)
|
|
959
|
+
@not_destination = args[:not_destination] if args.key?(:not_destination)
|
|
960
|
+
end
|
|
961
|
+
end
|
|
962
|
+
|
|
963
|
+
# Describes properties of a single destination.
|
|
964
|
+
class ExtensionBindingMatchConditionToDestination
|
|
965
|
+
include Google::Apis::Core::Hashable
|
|
966
|
+
|
|
967
|
+
# Describes a set of HTTP headers to match against.
|
|
968
|
+
# Corresponds to the JSON property `headerSet`
|
|
969
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionToDestinationHeaderSet]
|
|
970
|
+
attr_accessor :header_set
|
|
971
|
+
|
|
972
|
+
# Optional. A list of HTTP Hosts to match against. Limited to 10 hosts. If not
|
|
973
|
+
# specified, any host is allowed. If specified, a match occurs if any of the
|
|
974
|
+
# hosts matches the host value in the request.
|
|
975
|
+
# Corresponds to the JSON property `hosts`
|
|
976
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionStringMatch>]
|
|
977
|
+
attr_accessor :hosts
|
|
978
|
+
|
|
979
|
+
# Optional. A list of paths to match against. Limited to 10 paths. If not
|
|
980
|
+
# specified, any path is allowed. Note that this path match includes the query
|
|
981
|
+
# parameters. For gRPC services, this should be a fully-qualified name of the
|
|
982
|
+
# form /package.service/method.
|
|
983
|
+
# Corresponds to the JSON property `paths`
|
|
984
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionStringMatch>]
|
|
985
|
+
attr_accessor :paths
|
|
986
|
+
|
|
987
|
+
# Optional. A list of non-empty strings whose value is matched against the
|
|
988
|
+
# resource value. If not specified, any resource is allowed. If specified, a
|
|
989
|
+
# match occurs if any of the resources matches the resource value in the request.
|
|
990
|
+
# Limited to 5 resources.
|
|
991
|
+
# Corresponds to the JSON property `resources`
|
|
992
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionStringMatch>]
|
|
993
|
+
attr_accessor :resources
|
|
994
|
+
|
|
995
|
+
def initialize(**args)
|
|
996
|
+
update!(**args)
|
|
997
|
+
end
|
|
998
|
+
|
|
999
|
+
# Update properties of this object
|
|
1000
|
+
def update!(**args)
|
|
1001
|
+
@header_set = args[:header_set] if args.key?(:header_set)
|
|
1002
|
+
@hosts = args[:hosts] if args.key?(:hosts)
|
|
1003
|
+
@paths = args[:paths] if args.key?(:paths)
|
|
1004
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
1005
|
+
end
|
|
1006
|
+
end
|
|
1007
|
+
|
|
1008
|
+
# Describes a set of HTTP headers to match against.
|
|
1009
|
+
class ExtensionBindingMatchConditionToDestinationHeaderSet
|
|
1010
|
+
include Google::Apis::Core::Hashable
|
|
1011
|
+
|
|
1012
|
+
# Required. A list of headers to match against in http header. If multiple
|
|
1013
|
+
# header matches are provided, they will be evaluated as an AND, i.e. all header
|
|
1014
|
+
# matches must match for the request to match.
|
|
1015
|
+
# Corresponds to the JSON property `headers`
|
|
1016
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionHeaderMatch>]
|
|
1017
|
+
attr_accessor :headers
|
|
1018
|
+
|
|
1019
|
+
def initialize(**args)
|
|
1020
|
+
update!(**args)
|
|
1021
|
+
end
|
|
1022
|
+
|
|
1023
|
+
# Update properties of this object
|
|
1024
|
+
def update!(**args)
|
|
1025
|
+
@headers = args[:headers] if args.key?(:headers)
|
|
1026
|
+
end
|
|
1027
|
+
end
|
|
1028
|
+
|
|
1029
|
+
# Specifies a list of targets to which this `ExtensionBinding` should attach.
|
|
1030
|
+
class ExtensionBindingTarget
|
|
1031
|
+
include Google::Apis::Core::Hashable
|
|
1032
|
+
|
|
1033
|
+
# Optional. The reference to the target resource, to which this binding should
|
|
1034
|
+
# attach. Exactly one of `resources` or `scope` must be set. For Agent Gateway,
|
|
1035
|
+
# this would be the full resource name, in the format: `projects/`project`/
|
|
1036
|
+
# locations/`location`/agentGateways/`agent_gateway``. For AI App, this would be
|
|
1037
|
+
# the full resource name, in the format: `projects/`project`/locations/`location`
|
|
1038
|
+
# /applications/`application``.
|
|
1039
|
+
# Corresponds to the JSON property `resources`
|
|
1040
|
+
# @return [Array<String>]
|
|
1041
|
+
attr_accessor :resources
|
|
1042
|
+
|
|
1043
|
+
# Specifies the scope of resources to which this binding should attach.
|
|
1044
|
+
# Corresponds to the JSON property `scope`
|
|
1045
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ExtensionBindingTargetScope]
|
|
1046
|
+
attr_accessor :scope
|
|
1047
|
+
|
|
1048
|
+
def initialize(**args)
|
|
1049
|
+
update!(**args)
|
|
1050
|
+
end
|
|
1051
|
+
|
|
1052
|
+
# Update properties of this object
|
|
1053
|
+
def update!(**args)
|
|
1054
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
1055
|
+
@scope = args[:scope] if args.key?(:scope)
|
|
1056
|
+
end
|
|
1057
|
+
end
|
|
1058
|
+
|
|
1059
|
+
# Specifies the scope of resources to which this binding should attach.
|
|
1060
|
+
class ExtensionBindingTargetScope
|
|
1061
|
+
include Google::Apis::Core::Hashable
|
|
1062
|
+
|
|
1063
|
+
# Required. Parent resource name specification, in the format: `projects/`
|
|
1064
|
+
# project_number``.
|
|
1065
|
+
# Corresponds to the JSON property `parent`
|
|
1066
|
+
# @return [String]
|
|
1067
|
+
attr_accessor :parent
|
|
1068
|
+
|
|
1069
|
+
# Required. Type of the resource to which the binding should attach. Limited to
|
|
1070
|
+
# 1 resource type.
|
|
1071
|
+
# Corresponds to the JSON property `resourceTypes`
|
|
1072
|
+
# @return [Array<String>]
|
|
1073
|
+
attr_accessor :resource_types
|
|
1074
|
+
|
|
1075
|
+
def initialize(**args)
|
|
1076
|
+
update!(**args)
|
|
1077
|
+
end
|
|
1078
|
+
|
|
1079
|
+
# Update properties of this object
|
|
1080
|
+
def update!(**args)
|
|
1081
|
+
@parent = args[:parent] if args.key?(:parent)
|
|
1082
|
+
@resource_types = args[:resource_types] if args.key?(:resource_types)
|
|
1083
|
+
end
|
|
1084
|
+
end
|
|
1085
|
+
|
|
727
1086
|
# A single extension chain wrapper that contains the match conditions and
|
|
728
1087
|
# extensions to execute.
|
|
729
1088
|
class ExtensionChain
|
|
@@ -3036,6 +3395,42 @@ module Google
|
|
|
3036
3395
|
end
|
|
3037
3396
|
end
|
|
3038
3397
|
|
|
3398
|
+
# Response returned by the `ListExtensionBindings` method.
|
|
3399
|
+
class ListExtensionBindingsResponse
|
|
3400
|
+
include Google::Apis::Core::Hashable
|
|
3401
|
+
|
|
3402
|
+
# List of `ExtensionBinding` resources.
|
|
3403
|
+
# Corresponds to the JSON property `extensionBindings`
|
|
3404
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::ExtensionBinding>]
|
|
3405
|
+
attr_accessor :extension_bindings
|
|
3406
|
+
|
|
3407
|
+
# If there might be more results than those appearing in this response, then `
|
|
3408
|
+
# next_page_token` is included. To get the next set of results, call this method
|
|
3409
|
+
# again using the value of `next_page_token` as `page_token`.
|
|
3410
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3411
|
+
# @return [String]
|
|
3412
|
+
attr_accessor :next_page_token
|
|
3413
|
+
|
|
3414
|
+
# Unordered list. Unreachable resources. Populated when the request attempts to
|
|
3415
|
+
# list all resources across all supported locations, while some locations are
|
|
3416
|
+
# temporarily unavailable. The resource names are in the format `projects/`
|
|
3417
|
+
# project`/locations/`location`/extensionBindings/`extension_binding``.
|
|
3418
|
+
# Corresponds to the JSON property `unreachable`
|
|
3419
|
+
# @return [Array<String>]
|
|
3420
|
+
attr_accessor :unreachable
|
|
3421
|
+
|
|
3422
|
+
def initialize(**args)
|
|
3423
|
+
update!(**args)
|
|
3424
|
+
end
|
|
3425
|
+
|
|
3426
|
+
# Update properties of this object
|
|
3427
|
+
def update!(**args)
|
|
3428
|
+
@extension_bindings = args[:extension_bindings] if args.key?(:extension_bindings)
|
|
3429
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3430
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
3431
|
+
end
|
|
3432
|
+
end
|
|
3433
|
+
|
|
3039
3434
|
# Response returned by the ListGatewayRouteViews method.
|
|
3040
3435
|
class ListGatewayRouteViewsResponse
|
|
3041
3436
|
include Google::Apis::Core::Hashable
|
|
@@ -3425,6 +3820,42 @@ module Google
|
|
|
3425
3820
|
end
|
|
3426
3821
|
end
|
|
3427
3822
|
|
|
3823
|
+
# Response returned by the `ListProducerExtensions` method.
|
|
3824
|
+
class ListProducerExtensionsResponse
|
|
3825
|
+
include Google::Apis::Core::Hashable
|
|
3826
|
+
|
|
3827
|
+
# If there might be more results than those appearing in this response, then `
|
|
3828
|
+
# next_page_token` is included. To get the next set of results, call this method
|
|
3829
|
+
# again using the value of `next_page_token` as `page_token`.
|
|
3830
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3831
|
+
# @return [String]
|
|
3832
|
+
attr_accessor :next_page_token
|
|
3833
|
+
|
|
3834
|
+
# List of `ProducerExtension` resources.
|
|
3835
|
+
# Corresponds to the JSON property `producerExtensions`
|
|
3836
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::ProducerExtension>]
|
|
3837
|
+
attr_accessor :producer_extensions
|
|
3838
|
+
|
|
3839
|
+
# Unordered list. Unreachable resources. Populated when the request attempts to
|
|
3840
|
+
# list all resources across all supported locations, while some locations are
|
|
3841
|
+
# temporarily unavailable. The resource names are in the format: `projects/`
|
|
3842
|
+
# project`/locations/`location`/producerExtensions/`producer_extension``.
|
|
3843
|
+
# Corresponds to the JSON property `unreachable`
|
|
3844
|
+
# @return [Array<String>]
|
|
3845
|
+
attr_accessor :unreachable
|
|
3846
|
+
|
|
3847
|
+
def initialize(**args)
|
|
3848
|
+
update!(**args)
|
|
3849
|
+
end
|
|
3850
|
+
|
|
3851
|
+
# Update properties of this object
|
|
3852
|
+
def update!(**args)
|
|
3853
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3854
|
+
@producer_extensions = args[:producer_extensions] if args.key?(:producer_extensions)
|
|
3855
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
3856
|
+
end
|
|
3857
|
+
end
|
|
3858
|
+
|
|
3428
3859
|
# Response returned by the ListServiceBindings method.
|
|
3429
3860
|
class ListServiceBindingsResponse
|
|
3430
3861
|
include Google::Apis::Core::Hashable
|
|
@@ -4005,6 +4436,112 @@ module Google
|
|
|
4005
4436
|
end
|
|
4006
4437
|
end
|
|
4007
4438
|
|
|
4439
|
+
# `ProducerExtension` is a resource representing producer defined configuration
|
|
4440
|
+
# for their service extension.
|
|
4441
|
+
class ProducerExtension
|
|
4442
|
+
include Google::Apis::Core::Hashable
|
|
4443
|
+
|
|
4444
|
+
# Output only. The timestamp when the resource was created.
|
|
4445
|
+
# Corresponds to the JSON property `createTime`
|
|
4446
|
+
# @return [String]
|
|
4447
|
+
attr_accessor :create_time
|
|
4448
|
+
|
|
4449
|
+
# Optional. A human-readable description of the resource.
|
|
4450
|
+
# Corresponds to the JSON property `description`
|
|
4451
|
+
# @return [String]
|
|
4452
|
+
attr_accessor :description
|
|
4453
|
+
|
|
4454
|
+
# Optional. Etag of the resource. If this is provided, it must match the server'
|
|
4455
|
+
# s etag. If the provided etag does not match the server's etag, the request
|
|
4456
|
+
# will fail with a 409 ABORTED error.
|
|
4457
|
+
# Corresponds to the JSON property `etag`
|
|
4458
|
+
# @return [String]
|
|
4459
|
+
attr_accessor :etag
|
|
4460
|
+
|
|
4461
|
+
# The configuration for the service that this `ProducerExtension` offers.
|
|
4462
|
+
# Corresponds to the JSON property `extensionSettings`
|
|
4463
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ProducerExtensionExtensionSettings]
|
|
4464
|
+
attr_accessor :extension_settings
|
|
4465
|
+
|
|
4466
|
+
# Optional. Set of labels associated with the `ProducerExtension` resource. The
|
|
4467
|
+
# format must comply with [the following requirements]((https://cloud.google.com/
|
|
4468
|
+
# compute/docs/labeling-resources#requirements).
|
|
4469
|
+
# Corresponds to the JSON property `labels`
|
|
4470
|
+
# @return [Hash<String,String>]
|
|
4471
|
+
attr_accessor :labels
|
|
4472
|
+
|
|
4473
|
+
# Identifier. Name of the `ProducerExtension` resource in the following format: `
|
|
4474
|
+
# projects/`project`/locations/`location`/producerExtensions/`producer_extension`
|
|
4475
|
+
# `.
|
|
4476
|
+
# Corresponds to the JSON property `name`
|
|
4477
|
+
# @return [String]
|
|
4478
|
+
attr_accessor :name
|
|
4479
|
+
|
|
4480
|
+
# Required. The phase in which this `ProducerExtension` should execute.
|
|
4481
|
+
# Corresponds to the JSON property `phase`
|
|
4482
|
+
# @return [String]
|
|
4483
|
+
attr_accessor :phase
|
|
4484
|
+
|
|
4485
|
+
# Output only. The timestamp when the resource was updated.
|
|
4486
|
+
# Corresponds to the JSON property `updateTime`
|
|
4487
|
+
# @return [String]
|
|
4488
|
+
attr_accessor :update_time
|
|
4489
|
+
|
|
4490
|
+
def initialize(**args)
|
|
4491
|
+
update!(**args)
|
|
4492
|
+
end
|
|
4493
|
+
|
|
4494
|
+
# Update properties of this object
|
|
4495
|
+
def update!(**args)
|
|
4496
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
4497
|
+
@description = args[:description] if args.key?(:description)
|
|
4498
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
4499
|
+
@extension_settings = args[:extension_settings] if args.key?(:extension_settings)
|
|
4500
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
4501
|
+
@name = args[:name] if args.key?(:name)
|
|
4502
|
+
@phase = args[:phase] if args.key?(:phase)
|
|
4503
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
4504
|
+
end
|
|
4505
|
+
end
|
|
4506
|
+
|
|
4507
|
+
# The configuration for the service that this `ProducerExtension` offers.
|
|
4508
|
+
class ProducerExtensionExtensionSettings
|
|
4509
|
+
include Google::Apis::Core::Hashable
|
|
4510
|
+
|
|
4511
|
+
# Optional. The `:authority` header in the request sent to the extension service.
|
|
4512
|
+
# Corresponds to the JSON property `authority`
|
|
4513
|
+
# @return [String]
|
|
4514
|
+
attr_accessor :authority
|
|
4515
|
+
|
|
4516
|
+
# Optional. Whether the extension should function in observability mode.
|
|
4517
|
+
# Corresponds to the JSON property `observabilityMode`
|
|
4518
|
+
# @return [Boolean]
|
|
4519
|
+
attr_accessor :observability_mode
|
|
4520
|
+
alias_method :observability_mode?, :observability_mode
|
|
4521
|
+
|
|
4522
|
+
# Required. URI of the PSC attachment.
|
|
4523
|
+
# Corresponds to the JSON property `service`
|
|
4524
|
+
# @return [String]
|
|
4525
|
+
attr_accessor :service
|
|
4526
|
+
|
|
4527
|
+
# Required. The event types supported by the extension.
|
|
4528
|
+
# Corresponds to the JSON property `supportedEvents`
|
|
4529
|
+
# @return [Array<String>]
|
|
4530
|
+
attr_accessor :supported_events
|
|
4531
|
+
|
|
4532
|
+
def initialize(**args)
|
|
4533
|
+
update!(**args)
|
|
4534
|
+
end
|
|
4535
|
+
|
|
4536
|
+
# Update properties of this object
|
|
4537
|
+
def update!(**args)
|
|
4538
|
+
@authority = args[:authority] if args.key?(:authority)
|
|
4539
|
+
@observability_mode = args[:observability_mode] if args.key?(:observability_mode)
|
|
4540
|
+
@service = args[:service] if args.key?(:service)
|
|
4541
|
+
@supported_events = args[:supported_events] if args.key?(:supported_events)
|
|
4542
|
+
end
|
|
4543
|
+
end
|
|
4544
|
+
|
|
4008
4545
|
#
|
|
4009
4546
|
class RetryFilterPerRouteConfig
|
|
4010
4547
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module NetworkservicesV1beta1
|
|
18
18
|
# Version of the google-apis-networkservices_v1beta1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.75.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260807"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -112,6 +112,60 @@ module Google
|
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
+
class ExtensionBinding
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
class ExtensionBindingMatchCondition
|
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
class ExtensionBindingMatchConditionHeaderMatch
|
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
class ExtensionBindingMatchConditionStringMatch
|
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
|
+
|
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
class ExtensionBindingMatchConditionTo
|
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
+
|
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
class ExtensionBindingMatchConditionToDestination
|
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
class ExtensionBindingMatchConditionToDestinationHeaderSet
|
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
class ExtensionBindingTarget
|
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
+
|
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
class ExtensionBindingTargetScope
|
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
+
|
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
167
|
+
end
|
|
168
|
+
|
|
115
169
|
class ExtensionChain
|
|
116
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
171
|
|
|
@@ -376,6 +430,12 @@ module Google
|
|
|
376
430
|
include Google::Apis::Core::JsonObjectSupport
|
|
377
431
|
end
|
|
378
432
|
|
|
433
|
+
class ListExtensionBindingsResponse
|
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
435
|
+
|
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
437
|
+
end
|
|
438
|
+
|
|
379
439
|
class ListGatewayRouteViewsResponse
|
|
380
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
441
|
|
|
@@ -448,6 +508,12 @@ module Google
|
|
|
448
508
|
include Google::Apis::Core::JsonObjectSupport
|
|
449
509
|
end
|
|
450
510
|
|
|
511
|
+
class ListProducerExtensionsResponse
|
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
513
|
+
|
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
515
|
+
end
|
|
516
|
+
|
|
451
517
|
class ListServiceBindingsResponse
|
|
452
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
519
|
|
|
@@ -532,6 +598,18 @@ module Google
|
|
|
532
598
|
include Google::Apis::Core::JsonObjectSupport
|
|
533
599
|
end
|
|
534
600
|
|
|
601
|
+
class ProducerExtension
|
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
603
|
+
|
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
605
|
+
end
|
|
606
|
+
|
|
607
|
+
class ProducerExtensionExtensionSettings
|
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
609
|
+
|
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
611
|
+
end
|
|
612
|
+
|
|
535
613
|
class RetryFilterPerRouteConfig
|
|
536
614
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
537
615
|
|
|
@@ -675,7 +753,9 @@ module Google
|
|
|
675
753
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
676
754
|
property :access_path, as: 'accessPath'
|
|
677
755
|
collection :access_types, as: 'accessTypes'
|
|
756
|
+
property :agent_compute, as: 'agentCompute'
|
|
678
757
|
property :create_time, as: 'createTime'
|
|
758
|
+
property :deployment_model, as: 'deploymentModel'
|
|
679
759
|
property :description, as: 'description'
|
|
680
760
|
property :egress_network_config, as: 'egressNetworkConfig', class: Google::Apis::NetworkservicesV1beta1::EgressNetworkConfig, decorator: Google::Apis::NetworkservicesV1beta1::EgressNetworkConfig::Representation
|
|
681
761
|
|
|
@@ -838,6 +918,103 @@ module Google
|
|
|
838
918
|
end
|
|
839
919
|
end
|
|
840
920
|
|
|
921
|
+
class ExtensionBinding
|
|
922
|
+
# @private
|
|
923
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
924
|
+
property :create_time, as: 'createTime'
|
|
925
|
+
property :description, as: 'description'
|
|
926
|
+
property :etag, as: 'etag'
|
|
927
|
+
property :fail_open, as: 'failOpen'
|
|
928
|
+
hash :labels, as: 'labels'
|
|
929
|
+
collection :match_conditions, as: 'matchConditions', class: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchCondition, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchCondition::Representation
|
|
930
|
+
|
|
931
|
+
property :name, as: 'name'
|
|
932
|
+
property :priority, as: 'priority'
|
|
933
|
+
property :producer_extension, as: 'producerExtension'
|
|
934
|
+
hash :producer_metadata, as: 'producerMetadata'
|
|
935
|
+
property :target, as: 'target', class: Google::Apis::NetworkservicesV1beta1::ExtensionBindingTarget, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionBindingTarget::Representation
|
|
936
|
+
|
|
937
|
+
property :update_time, as: 'updateTime'
|
|
938
|
+
end
|
|
939
|
+
end
|
|
940
|
+
|
|
941
|
+
class ExtensionBindingMatchCondition
|
|
942
|
+
# @private
|
|
943
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
944
|
+
property :to, as: 'to', class: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionTo, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionTo::Representation
|
|
945
|
+
|
|
946
|
+
end
|
|
947
|
+
end
|
|
948
|
+
|
|
949
|
+
class ExtensionBindingMatchConditionHeaderMatch
|
|
950
|
+
# @private
|
|
951
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
952
|
+
property :name, as: 'name'
|
|
953
|
+
property :value, as: 'value', class: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionStringMatch, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionStringMatch::Representation
|
|
954
|
+
|
|
955
|
+
end
|
|
956
|
+
end
|
|
957
|
+
|
|
958
|
+
class ExtensionBindingMatchConditionStringMatch
|
|
959
|
+
# @private
|
|
960
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
961
|
+
property :contains, as: 'contains'
|
|
962
|
+
property :exact, as: 'exact'
|
|
963
|
+
property :ignore_case, as: 'ignoreCase'
|
|
964
|
+
property :prefix, as: 'prefix'
|
|
965
|
+
property :suffix, as: 'suffix'
|
|
966
|
+
end
|
|
967
|
+
end
|
|
968
|
+
|
|
969
|
+
class ExtensionBindingMatchConditionTo
|
|
970
|
+
# @private
|
|
971
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
972
|
+
property :destination, as: 'destination', class: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionToDestination, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionToDestination::Representation
|
|
973
|
+
|
|
974
|
+
property :not_destination, as: 'notDestination', class: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionToDestination, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionToDestination::Representation
|
|
975
|
+
|
|
976
|
+
end
|
|
977
|
+
end
|
|
978
|
+
|
|
979
|
+
class ExtensionBindingMatchConditionToDestination
|
|
980
|
+
# @private
|
|
981
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
982
|
+
property :header_set, as: 'headerSet', class: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionToDestinationHeaderSet, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionToDestinationHeaderSet::Representation
|
|
983
|
+
|
|
984
|
+
collection :hosts, as: 'hosts', class: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionStringMatch, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionStringMatch::Representation
|
|
985
|
+
|
|
986
|
+
collection :paths, as: 'paths', class: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionStringMatch, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionStringMatch::Representation
|
|
987
|
+
|
|
988
|
+
collection :resources, as: 'resources', class: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionStringMatch, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionStringMatch::Representation
|
|
989
|
+
|
|
990
|
+
end
|
|
991
|
+
end
|
|
992
|
+
|
|
993
|
+
class ExtensionBindingMatchConditionToDestinationHeaderSet
|
|
994
|
+
# @private
|
|
995
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
996
|
+
collection :headers, as: 'headers', class: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionHeaderMatch, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionBindingMatchConditionHeaderMatch::Representation
|
|
997
|
+
|
|
998
|
+
end
|
|
999
|
+
end
|
|
1000
|
+
|
|
1001
|
+
class ExtensionBindingTarget
|
|
1002
|
+
# @private
|
|
1003
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1004
|
+
collection :resources, as: 'resources'
|
|
1005
|
+
property :scope, as: 'scope', class: Google::Apis::NetworkservicesV1beta1::ExtensionBindingTargetScope, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionBindingTargetScope::Representation
|
|
1006
|
+
|
|
1007
|
+
end
|
|
1008
|
+
end
|
|
1009
|
+
|
|
1010
|
+
class ExtensionBindingTargetScope
|
|
1011
|
+
# @private
|
|
1012
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1013
|
+
property :parent, as: 'parent'
|
|
1014
|
+
collection :resource_types, as: 'resourceTypes'
|
|
1015
|
+
end
|
|
1016
|
+
end
|
|
1017
|
+
|
|
841
1018
|
class ExtensionChain
|
|
842
1019
|
# @private
|
|
843
1020
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1355,6 +1532,16 @@ module Google
|
|
|
1355
1532
|
end
|
|
1356
1533
|
end
|
|
1357
1534
|
|
|
1535
|
+
class ListExtensionBindingsResponse
|
|
1536
|
+
# @private
|
|
1537
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1538
|
+
collection :extension_bindings, as: 'extensionBindings', class: Google::Apis::NetworkservicesV1beta1::ExtensionBinding, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionBinding::Representation
|
|
1539
|
+
|
|
1540
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1541
|
+
collection :unreachable, as: 'unreachable'
|
|
1542
|
+
end
|
|
1543
|
+
end
|
|
1544
|
+
|
|
1358
1545
|
class ListGatewayRouteViewsResponse
|
|
1359
1546
|
# @private
|
|
1360
1547
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1474,6 +1661,16 @@ module Google
|
|
|
1474
1661
|
end
|
|
1475
1662
|
end
|
|
1476
1663
|
|
|
1664
|
+
class ListProducerExtensionsResponse
|
|
1665
|
+
# @private
|
|
1666
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1667
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1668
|
+
collection :producer_extensions, as: 'producerExtensions', class: Google::Apis::NetworkservicesV1beta1::ProducerExtension, decorator: Google::Apis::NetworkservicesV1beta1::ProducerExtension::Representation
|
|
1669
|
+
|
|
1670
|
+
collection :unreachable, as: 'unreachable'
|
|
1671
|
+
end
|
|
1672
|
+
end
|
|
1673
|
+
|
|
1477
1674
|
class ListServiceBindingsResponse
|
|
1478
1675
|
# @private
|
|
1479
1676
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1619,6 +1816,31 @@ module Google
|
|
|
1619
1816
|
end
|
|
1620
1817
|
end
|
|
1621
1818
|
|
|
1819
|
+
class ProducerExtension
|
|
1820
|
+
# @private
|
|
1821
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1822
|
+
property :create_time, as: 'createTime'
|
|
1823
|
+
property :description, as: 'description'
|
|
1824
|
+
property :etag, as: 'etag'
|
|
1825
|
+
property :extension_settings, as: 'extensionSettings', class: Google::Apis::NetworkservicesV1beta1::ProducerExtensionExtensionSettings, decorator: Google::Apis::NetworkservicesV1beta1::ProducerExtensionExtensionSettings::Representation
|
|
1826
|
+
|
|
1827
|
+
hash :labels, as: 'labels'
|
|
1828
|
+
property :name, as: 'name'
|
|
1829
|
+
property :phase, as: 'phase'
|
|
1830
|
+
property :update_time, as: 'updateTime'
|
|
1831
|
+
end
|
|
1832
|
+
end
|
|
1833
|
+
|
|
1834
|
+
class ProducerExtensionExtensionSettings
|
|
1835
|
+
# @private
|
|
1836
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1837
|
+
property :authority, as: 'authority'
|
|
1838
|
+
property :observability_mode, as: 'observabilityMode'
|
|
1839
|
+
property :service, as: 'service'
|
|
1840
|
+
collection :supported_events, as: 'supportedEvents'
|
|
1841
|
+
end
|
|
1842
|
+
end
|
|
1843
|
+
|
|
1622
1844
|
class RetryFilterPerRouteConfig
|
|
1623
1845
|
# @private
|
|
1624
1846
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -917,6 +917,191 @@ module Google
|
|
|
917
917
|
execute_or_queue_command(command, &block)
|
|
918
918
|
end
|
|
919
919
|
|
|
920
|
+
# Creates a new `ExtensionBinding` resource in a given project and location.
|
|
921
|
+
# @param [String] parent
|
|
922
|
+
# Required. The parent resource of the `ExtensionBinding` resource. Must be in
|
|
923
|
+
# the format `projects/`project`/locations/`location``.
|
|
924
|
+
# @param [Google::Apis::NetworkservicesV1beta1::ExtensionBinding] extension_binding_object
|
|
925
|
+
# @param [String] extension_binding_id
|
|
926
|
+
# Required. Short name of the `ExtensionBinding` resource to be created.
|
|
927
|
+
# @param [String] fields
|
|
928
|
+
# Selector specifying which fields to include in a partial response.
|
|
929
|
+
# @param [String] quota_user
|
|
930
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
931
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
932
|
+
# @param [Google::Apis::RequestOptions] options
|
|
933
|
+
# Request-specific options
|
|
934
|
+
#
|
|
935
|
+
# @yield [result, err] Result & error if block supplied
|
|
936
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
|
937
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
938
|
+
#
|
|
939
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
|
940
|
+
#
|
|
941
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
942
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
943
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
944
|
+
def create_project_location_extension_binding(parent, extension_binding_object = nil, extension_binding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
945
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/extensionBindings', options)
|
|
946
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::ExtensionBinding::Representation
|
|
947
|
+
command.request_object = extension_binding_object
|
|
948
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
|
949
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
|
950
|
+
command.params['parent'] = parent unless parent.nil?
|
|
951
|
+
command.query['extensionBindingId'] = extension_binding_id unless extension_binding_id.nil?
|
|
952
|
+
command.query['fields'] = fields unless fields.nil?
|
|
953
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
954
|
+
execute_or_queue_command(command, &block)
|
|
955
|
+
end
|
|
956
|
+
|
|
957
|
+
# Deletes the specified `ExtensionBinding` resource.
|
|
958
|
+
# @param [String] name
|
|
959
|
+
# Required. A name of the `ExtensionBinding` resource to delete. Must be in the
|
|
960
|
+
# format `projects/`project`/locations/`location`/extensionBindings/`
|
|
961
|
+
# extension_binding``.
|
|
962
|
+
# @param [String] etag
|
|
963
|
+
# Optional. The etag of the ExtensionBinding to delete.
|
|
964
|
+
# @param [String] fields
|
|
965
|
+
# Selector specifying which fields to include in a partial response.
|
|
966
|
+
# @param [String] quota_user
|
|
967
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
968
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
969
|
+
# @param [Google::Apis::RequestOptions] options
|
|
970
|
+
# Request-specific options
|
|
971
|
+
#
|
|
972
|
+
# @yield [result, err] Result & error if block supplied
|
|
973
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
|
974
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
975
|
+
#
|
|
976
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
|
977
|
+
#
|
|
978
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
979
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
980
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
981
|
+
def delete_project_location_extension_binding(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
982
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
983
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
|
984
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
|
985
|
+
command.params['name'] = name unless name.nil?
|
|
986
|
+
command.query['etag'] = etag unless etag.nil?
|
|
987
|
+
command.query['fields'] = fields unless fields.nil?
|
|
988
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
989
|
+
execute_or_queue_command(command, &block)
|
|
990
|
+
end
|
|
991
|
+
|
|
992
|
+
# Gets details of the specified `ExtensionBinding` resource.
|
|
993
|
+
# @param [String] name
|
|
994
|
+
# Required. A name of the `ExtensionBinding` resource to get. Must be in the
|
|
995
|
+
# format `projects/`project`/locations/`location`/extensionBindings/`
|
|
996
|
+
# extension_binding``.
|
|
997
|
+
# @param [String] fields
|
|
998
|
+
# Selector specifying which fields to include in a partial response.
|
|
999
|
+
# @param [String] quota_user
|
|
1000
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1001
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1002
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1003
|
+
# Request-specific options
|
|
1004
|
+
#
|
|
1005
|
+
# @yield [result, err] Result & error if block supplied
|
|
1006
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::ExtensionBinding] parsed result object
|
|
1007
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1008
|
+
#
|
|
1009
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ExtensionBinding]
|
|
1010
|
+
#
|
|
1011
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1012
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1013
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1014
|
+
def get_project_location_extension_binding(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1015
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
1016
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::ExtensionBinding::Representation
|
|
1017
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::ExtensionBinding
|
|
1018
|
+
command.params['name'] = name unless name.nil?
|
|
1019
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1020
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1021
|
+
execute_or_queue_command(command, &block)
|
|
1022
|
+
end
|
|
1023
|
+
|
|
1024
|
+
# Lists `ExtensionBinding` resources in a given project and location.
|
|
1025
|
+
# @param [String] parent
|
|
1026
|
+
# Required. The project and location from which the `ExtensionBinding` resources
|
|
1027
|
+
# should be listed, specified in the format `projects/`project`/locations/`
|
|
1028
|
+
# location``.
|
|
1029
|
+
# @param [Fixnum] page_size
|
|
1030
|
+
# Optional. Maximum number of `ExtensionBinding` resources to return per call.
|
|
1031
|
+
# @param [String] page_token
|
|
1032
|
+
# Optional. The value returned by the last `ListExtensionBindingsResponse`
|
|
1033
|
+
# Indicates that this is a continuation of a prior `ListExtensionBindings` call,
|
|
1034
|
+
# and that the system should return the next page of data.
|
|
1035
|
+
# @param [String] fields
|
|
1036
|
+
# Selector specifying which fields to include in a partial response.
|
|
1037
|
+
# @param [String] quota_user
|
|
1038
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1039
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1040
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1041
|
+
# Request-specific options
|
|
1042
|
+
#
|
|
1043
|
+
# @yield [result, err] Result & error if block supplied
|
|
1044
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::ListExtensionBindingsResponse] parsed result object
|
|
1045
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1046
|
+
#
|
|
1047
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ListExtensionBindingsResponse]
|
|
1048
|
+
#
|
|
1049
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1050
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1051
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1052
|
+
def list_project_location_extension_bindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1053
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/extensionBindings', options)
|
|
1054
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::ListExtensionBindingsResponse::Representation
|
|
1055
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::ListExtensionBindingsResponse
|
|
1056
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1057
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1058
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1059
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1060
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1061
|
+
execute_or_queue_command(command, &block)
|
|
1062
|
+
end
|
|
1063
|
+
|
|
1064
|
+
# Updates the parameters of the specified `ExtensionBinding` resource.
|
|
1065
|
+
# @param [String] name
|
|
1066
|
+
# Identifier. Name of the `ExtensionBinding` resource in the following format: `
|
|
1067
|
+
# projects/`project`/locations/`location`/extensionBindings/`extension_binding``.
|
|
1068
|
+
# @param [Google::Apis::NetworkservicesV1beta1::ExtensionBinding] extension_binding_object
|
|
1069
|
+
# @param [String] update_mask
|
|
1070
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the `
|
|
1071
|
+
# ExtensionBinding` resource by the update. The fields specified in the
|
|
1072
|
+
# update_mask are relative to the resource, not the full request. A field will
|
|
1073
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
|
1074
|
+
# all fields will be overwritten.
|
|
1075
|
+
# @param [String] fields
|
|
1076
|
+
# Selector specifying which fields to include in a partial response.
|
|
1077
|
+
# @param [String] quota_user
|
|
1078
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1079
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1080
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1081
|
+
# Request-specific options
|
|
1082
|
+
#
|
|
1083
|
+
# @yield [result, err] Result & error if block supplied
|
|
1084
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
|
1085
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1086
|
+
#
|
|
1087
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
|
1088
|
+
#
|
|
1089
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1090
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1091
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1092
|
+
def patch_project_location_extension_binding(name, extension_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1093
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
1094
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::ExtensionBinding::Representation
|
|
1095
|
+
command.request_object = extension_binding_object
|
|
1096
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
|
1097
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
|
1098
|
+
command.params['name'] = name unless name.nil?
|
|
1099
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1100
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1101
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1102
|
+
execute_or_queue_command(command, &block)
|
|
1103
|
+
end
|
|
1104
|
+
|
|
920
1105
|
# Creates a new Gateway in a given project and location.
|
|
921
1106
|
# @param [String] parent
|
|
922
1107
|
# Required. The parent resource of the Gateway. Must be in the format `projects/*
|
|
@@ -2833,6 +3018,150 @@ module Google
|
|
|
2833
3018
|
execute_or_queue_command(command, &block)
|
|
2834
3019
|
end
|
|
2835
3020
|
|
|
3021
|
+
# Creates a new `ProducerExtension` resource in a given project and location.
|
|
3022
|
+
# @param [String] parent
|
|
3023
|
+
# Required. The parent resource of the `ProducerExtension` resource. Must be in
|
|
3024
|
+
# the format `projects/`project`/locations/`location``.
|
|
3025
|
+
# @param [Google::Apis::NetworkservicesV1beta1::ProducerExtension] producer_extension_object
|
|
3026
|
+
# @param [String] producer_extension_id
|
|
3027
|
+
# Required. Short name of the `ProducerExtension` resource to be created.
|
|
3028
|
+
# @param [String] fields
|
|
3029
|
+
# Selector specifying which fields to include in a partial response.
|
|
3030
|
+
# @param [String] quota_user
|
|
3031
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3032
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3033
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3034
|
+
# Request-specific options
|
|
3035
|
+
#
|
|
3036
|
+
# @yield [result, err] Result & error if block supplied
|
|
3037
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
|
3038
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3039
|
+
#
|
|
3040
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
|
3041
|
+
#
|
|
3042
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3043
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3044
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3045
|
+
def create_project_location_producer_extension(parent, producer_extension_object = nil, producer_extension_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3046
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/producerExtensions', options)
|
|
3047
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::ProducerExtension::Representation
|
|
3048
|
+
command.request_object = producer_extension_object
|
|
3049
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
|
3050
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
|
3051
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3052
|
+
command.query['producerExtensionId'] = producer_extension_id unless producer_extension_id.nil?
|
|
3053
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3054
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3055
|
+
execute_or_queue_command(command, &block)
|
|
3056
|
+
end
|
|
3057
|
+
|
|
3058
|
+
# Deletes the specified `ProducerExtension` resource.
|
|
3059
|
+
# @param [String] name
|
|
3060
|
+
# Required. A name of the `ProducerExtension` resource to delete. Must be in the
|
|
3061
|
+
# format `projects/`project`/locations/`location`/producerExtensions/`
|
|
3062
|
+
# producer_extension``.
|
|
3063
|
+
# @param [String] etag
|
|
3064
|
+
# Optional. The etag of the ProducerExtension to delete.
|
|
3065
|
+
# @param [String] fields
|
|
3066
|
+
# Selector specifying which fields to include in a partial response.
|
|
3067
|
+
# @param [String] quota_user
|
|
3068
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3069
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3070
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3071
|
+
# Request-specific options
|
|
3072
|
+
#
|
|
3073
|
+
# @yield [result, err] Result & error if block supplied
|
|
3074
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
|
3075
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3076
|
+
#
|
|
3077
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
|
3078
|
+
#
|
|
3079
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3080
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3081
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3082
|
+
def delete_project_location_producer_extension(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3083
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
3084
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
|
3085
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
|
3086
|
+
command.params['name'] = name unless name.nil?
|
|
3087
|
+
command.query['etag'] = etag unless etag.nil?
|
|
3088
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3089
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3090
|
+
execute_or_queue_command(command, &block)
|
|
3091
|
+
end
|
|
3092
|
+
|
|
3093
|
+
# Gets details of the specified `ProducerExtension` resource.
|
|
3094
|
+
# @param [String] name
|
|
3095
|
+
# Required. A name of the `ProducerExtension` resource to get. Must be in the
|
|
3096
|
+
# format `projects/`project`/locations/`location`/producerExtensions/`
|
|
3097
|
+
# producer_extension``.
|
|
3098
|
+
# @param [String] fields
|
|
3099
|
+
# Selector specifying which fields to include in a partial response.
|
|
3100
|
+
# @param [String] quota_user
|
|
3101
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3102
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3103
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3104
|
+
# Request-specific options
|
|
3105
|
+
#
|
|
3106
|
+
# @yield [result, err] Result & error if block supplied
|
|
3107
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::ProducerExtension] parsed result object
|
|
3108
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3109
|
+
#
|
|
3110
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ProducerExtension]
|
|
3111
|
+
#
|
|
3112
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3113
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3114
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3115
|
+
def get_project_location_producer_extension(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3116
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
3117
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::ProducerExtension::Representation
|
|
3118
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::ProducerExtension
|
|
3119
|
+
command.params['name'] = name unless name.nil?
|
|
3120
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3121
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3122
|
+
execute_or_queue_command(command, &block)
|
|
3123
|
+
end
|
|
3124
|
+
|
|
3125
|
+
# Lists `ProducerExtension` resources in a given project and location.
|
|
3126
|
+
# @param [String] parent
|
|
3127
|
+
# Required. The project and location from which the `ProducerExtension`
|
|
3128
|
+
# resources should be listed, specified in the format `projects/`project`/
|
|
3129
|
+
# locations/`location``.
|
|
3130
|
+
# @param [Fixnum] page_size
|
|
3131
|
+
# Optional. Maximum number of `ProducerExtension` resources to return per call.
|
|
3132
|
+
# @param [String] page_token
|
|
3133
|
+
# Optional. The value returned by the last `ListProducerExtensionsResponse`
|
|
3134
|
+
# Indicates that this is a continuation of a prior `ListProducerExtensions` call,
|
|
3135
|
+
# and that the system should return the next page of data.
|
|
3136
|
+
# @param [String] fields
|
|
3137
|
+
# Selector specifying which fields to include in a partial response.
|
|
3138
|
+
# @param [String] quota_user
|
|
3139
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3140
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3141
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3142
|
+
# Request-specific options
|
|
3143
|
+
#
|
|
3144
|
+
# @yield [result, err] Result & error if block supplied
|
|
3145
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::ListProducerExtensionsResponse] parsed result object
|
|
3146
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3147
|
+
#
|
|
3148
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ListProducerExtensionsResponse]
|
|
3149
|
+
#
|
|
3150
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3151
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3152
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3153
|
+
def list_project_location_producer_extensions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3154
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/producerExtensions', options)
|
|
3155
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::ListProducerExtensionsResponse::Representation
|
|
3156
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::ListProducerExtensionsResponse
|
|
3157
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3158
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3159
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3160
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3161
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3162
|
+
execute_or_queue_command(command, &block)
|
|
3163
|
+
end
|
|
3164
|
+
|
|
2836
3165
|
# Creates a new ServiceBinding in a given project and location.
|
|
2837
3166
|
# @param [String] parent
|
|
2838
3167
|
# Required. The parent resource of the ServiceBinding. Must be in the format `
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-networkservices_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.75.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.75.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|