google-apis-dns_v1 0.56.0 → 0.57.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b95df7511ceb18dbd618bec7565161d63906c2ccd89e33121347d94d561467e
4
- data.tar.gz: 2029b9efd1bd02a8d8803090104342a4c1d1be669c9dbb57af88a50e93fffcf3
3
+ metadata.gz: 9cff6d39fb8837e15562869f0d09485cd4d7db2be88c11d025b919dc9391fb18
4
+ data.tar.gz: 3932111e3da6e3ace7beb7235f6c05a357f1363e044d00ba3bfe2824359da769
5
5
  SHA512:
6
- metadata.gz: 170e7ed9b931c879ca81e310aa2a06735758535b8183d3eb03347f2ff5f601f8d707c235a74de44915f36d44fc5b97606d969ea924c905577c6f25cb5786336b
7
- data.tar.gz: d381d6aeb7e356d30f90c1149be68f05accf5e651337b3b9df2fe284666b35e59a5c45b03f7f203f17fd125f91290e6ba6b685c2b820397471a2034c5370ec9d
6
+ metadata.gz: 68c5468d493896bb2fbab0695665ac2d4b69568bd03c80d3d017904e6c7b5f34bdf7b05cb22f74b0eb54efdb482f00d7459cfc7f3bcaafc1aed9f8d07a9e0b8f
7
+ data.tar.gz: 72a227c4b2b4b3a4dc98d29a422fa2a9e661e4ac76c7f637f1de295c16adf1751ab7cb0a387f1f16f0c60adccbca25bf76f2d6a19697af48a9dda3b3e3388915
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dns_v1
2
2
 
3
+ ### v0.57.0 (2026-10-21)
4
+
5
+ * Regenerated from discovery document revision 20261009
6
+ * Regenerated using generator version 0.19.1
7
+
3
8
  ### v0.56.0 (2026-09-20)
4
9
 
5
10
  * Regenerated from discovery document revision 20260915
@@ -328,6 +328,22 @@ module Google
328
328
  end
329
329
  end
330
330
 
331
+ # A generic empty message that you can re-use to avoid defining duplicated empty
332
+ # messages in your APIs. A typical example is to use it as the request or the
333
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
334
+ # protobuf.Empty) returns (google.protobuf.Empty); `
335
+ class Empty
336
+ include Google::Apis::Core::Hashable
337
+
338
+ def initialize(**args)
339
+ update!(**args)
340
+ end
341
+
342
+ # Update properties of this object
343
+ def update!(**args)
344
+ end
345
+ end
346
+
331
347
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
332
348
  # CEL is a C-like expression language. The syntax and semantics of CEL are
333
349
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -789,6 +805,40 @@ module Google
789
805
  end
790
806
  end
791
807
 
808
+ # The response message for Operations.ListOperations.
809
+ class GoogleLongrunningListOperationsResponse
810
+ include Google::Apis::Core::Hashable
811
+
812
+ # The standard List next-page token.
813
+ # Corresponds to the JSON property `nextPageToken`
814
+ # @return [String]
815
+ attr_accessor :next_page_token
816
+
817
+ # A list of operations that matches the specified filter in the request.
818
+ # Corresponds to the JSON property `operations`
819
+ # @return [Array<Google::Apis::DnsV1::GoogleLongrunningOperation>]
820
+ attr_accessor :operations
821
+
822
+ # Unordered list. Unreachable resources. Populated when the request sets `
823
+ # ListOperationsRequest.return_partial_success` and reads across collections.
824
+ # For example, when attempting to list all resources across all supported
825
+ # locations.
826
+ # Corresponds to the JSON property `unreachable`
827
+ # @return [Array<String>]
828
+ attr_accessor :unreachable
829
+
830
+ def initialize(**args)
831
+ update!(**args)
832
+ end
833
+
834
+ # Update properties of this object
835
+ def update!(**args)
836
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
837
+ @operations = args[:operations] if args.key?(:operations)
838
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
839
+ end
840
+ end
841
+
792
842
  # This resource represents a long-running operation that is the result of a
793
843
  # network API call.
794
844
  class GoogleLongrunningOperation
@@ -851,6 +901,111 @@ module Google
851
901
  end
852
902
  end
853
903
 
904
+ # The response message for Locations.ListLocations.
905
+ class ListLocationsResponse
906
+ include Google::Apis::Core::Hashable
907
+
908
+ # A list of locations that matches the specified filter in the request.
909
+ # Corresponds to the JSON property `locations`
910
+ # @return [Array<Google::Apis::DnsV1::Location>]
911
+ attr_accessor :locations
912
+
913
+ # The standard List next-page token.
914
+ # Corresponds to the JSON property `nextPageToken`
915
+ # @return [String]
916
+ attr_accessor :next_page_token
917
+
918
+ def initialize(**args)
919
+ update!(**args)
920
+ end
921
+
922
+ # Update properties of this object
923
+ def update!(**args)
924
+ @locations = args[:locations] if args.key?(:locations)
925
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
926
+ end
927
+ end
928
+
929
+ # Response message for OutboundEndpointsService.ListOutboundEndpoints
930
+ class ListOutboundEndpointsResponse
931
+ include Google::Apis::Core::Hashable
932
+
933
+ # A token to retrieve the next page of results. Set to empty if there are no
934
+ # remaining results.
935
+ # Corresponds to the JSON property `nextPageToken`
936
+ # @return [String]
937
+ attr_accessor :next_page_token
938
+
939
+ # The list of OutboundEndpoints.
940
+ # Corresponds to the JSON property `outboundEndpoints`
941
+ # @return [Array<Google::Apis::DnsV1::OutboundEndpoint>]
942
+ attr_accessor :outbound_endpoints
943
+
944
+ # Unordered list. The resource names of the unreachable locations. Format: `
945
+ # projects/`project`/locations/`location``
946
+ # Corresponds to the JSON property `unreachable`
947
+ # @return [Array<String>]
948
+ attr_accessor :unreachable
949
+
950
+ def initialize(**args)
951
+ update!(**args)
952
+ end
953
+
954
+ # Update properties of this object
955
+ def update!(**args)
956
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
957
+ @outbound_endpoints = args[:outbound_endpoints] if args.key?(:outbound_endpoints)
958
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
959
+ end
960
+ end
961
+
962
+ # A resource that represents a Google Cloud location.
963
+ class Location
964
+ include Google::Apis::Core::Hashable
965
+
966
+ # The friendly name for this location, typically a nearby city name. For example,
967
+ # "Tokyo".
968
+ # Corresponds to the JSON property `displayName`
969
+ # @return [String]
970
+ attr_accessor :display_name
971
+
972
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
973
+ # region": "us-east1"`
974
+ # Corresponds to the JSON property `labels`
975
+ # @return [Hash<String,String>]
976
+ attr_accessor :labels
977
+
978
+ # The canonical id for this location. For example: `"us-east1"`.
979
+ # Corresponds to the JSON property `locationId`
980
+ # @return [String]
981
+ attr_accessor :location_id
982
+
983
+ # Service-specific metadata. For example the available capacity at the given
984
+ # location.
985
+ # Corresponds to the JSON property `metadata`
986
+ # @return [Hash<String,Object>]
987
+ attr_accessor :metadata
988
+
989
+ # Resource name for the location, which may vary between implementations. For
990
+ # example: `"projects/example-project/locations/us-east1"`
991
+ # Corresponds to the JSON property `name`
992
+ # @return [String]
993
+ attr_accessor :name
994
+
995
+ def initialize(**args)
996
+ update!(**args)
997
+ end
998
+
999
+ # Update properties of this object
1000
+ def update!(**args)
1001
+ @display_name = args[:display_name] if args.key?(:display_name)
1002
+ @labels = args[:labels] if args.key?(:labels)
1003
+ @location_id = args[:location_id] if args.key?(:location_id)
1004
+ @metadata = args[:metadata] if args.key?(:metadata)
1005
+ @name = args[:name] if args.key?(:name)
1006
+ end
1007
+ end
1008
+
854
1009
  # A zone is a subtree of the DNS namespace under one administrative
855
1010
  # responsibility. A ManagedZone is a resource that represents a DNS zone hosted
856
1011
  # by the Cloud DNS service.
@@ -1059,6 +1214,11 @@ module Google
1059
1214
  # @return [String]
1060
1215
  attr_accessor :kind
1061
1216
 
1217
+ # The list of outbound endpoints to use for queries.
1218
+ # Corresponds to the JSON property `outboundEndpoints`
1219
+ # @return [Array<Google::Apis::DnsV1::ManagedZoneForwardingConfigOutboundEndpoint>]
1220
+ attr_accessor :outbound_endpoints
1221
+
1062
1222
  # List of target name servers to forward to. Cloud DNS selects the best
1063
1223
  # available name server if more than one target is given.
1064
1224
  # Corresponds to the JSON property `targetNameServers`
@@ -1072,6 +1232,7 @@ module Google
1072
1232
  # Update properties of this object
1073
1233
  def update!(**args)
1074
1234
  @kind = args[:kind] if args.key?(:kind)
1235
+ @outbound_endpoints = args[:outbound_endpoints] if args.key?(:outbound_endpoints)
1075
1236
  @target_name_servers = args[:target_name_servers] if args.key?(:target_name_servers)
1076
1237
  end
1077
1238
  end
@@ -1124,6 +1285,33 @@ module Google
1124
1285
  end
1125
1286
  end
1126
1287
 
1288
+ #
1289
+ class ManagedZoneForwardingConfigOutboundEndpoint
1290
+ include Google::Apis::Core::Hashable
1291
+
1292
+ #
1293
+ # Corresponds to the JSON property `kind`
1294
+ # @return [String]
1295
+ attr_accessor :kind
1296
+
1297
+ # Specified as a resource path including project and region. This should be
1298
+ # formatted like projects/`project`/locations/`location`/outboundEndpoints/`
1299
+ # endpoint`
1300
+ # Corresponds to the JSON property `name`
1301
+ # @return [String]
1302
+ attr_accessor :name
1303
+
1304
+ def initialize(**args)
1305
+ update!(**args)
1306
+ end
1307
+
1308
+ # Update properties of this object
1309
+ def update!(**args)
1310
+ @kind = args[:kind] if args.key?(:kind)
1311
+ @name = args[:name] if args.key?(:name)
1312
+ end
1313
+ end
1314
+
1127
1315
  #
1128
1316
  class ManagedZoneOperationsListResponse
1129
1317
  include Google::Apis::Core::Hashable
@@ -1551,6 +1739,144 @@ module Google
1551
1739
  end
1552
1740
  end
1553
1741
 
1742
+ # Represents the metadata of the long-running operation.
1743
+ class OperationMetadata
1744
+ include Google::Apis::Core::Hashable
1745
+
1746
+ # Output only. API version used to start the operation.
1747
+ # Corresponds to the JSON property `apiVersion`
1748
+ # @return [String]
1749
+ attr_accessor :api_version
1750
+
1751
+ # Output only. The time the operation was created.
1752
+ # Corresponds to the JSON property `createTime`
1753
+ # @return [String]
1754
+ attr_accessor :create_time
1755
+
1756
+ # Output only. The time the operation finished running.
1757
+ # Corresponds to the JSON property `endTime`
1758
+ # @return [String]
1759
+ attr_accessor :end_time
1760
+
1761
+ # Output only. Identifies whether the user has requested cancellation of the
1762
+ # operation. Operations that have successfully been cancelled have Operation.
1763
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1764
+ # CANCELLED`.
1765
+ # Corresponds to the JSON property `requestedCancellation`
1766
+ # @return [Boolean]
1767
+ attr_accessor :requested_cancellation
1768
+ alias_method :requested_cancellation?, :requested_cancellation
1769
+
1770
+ # Output only. Human-readable status of the operation, if any.
1771
+ # Corresponds to the JSON property `statusMessage`
1772
+ # @return [String]
1773
+ attr_accessor :status_message
1774
+
1775
+ # Output only. Server-defined resource path for the target of the operation.
1776
+ # Corresponds to the JSON property `target`
1777
+ # @return [String]
1778
+ attr_accessor :target
1779
+
1780
+ # Output only. Name of the verb executed by the operation.
1781
+ # Corresponds to the JSON property `verb`
1782
+ # @return [String]
1783
+ attr_accessor :verb
1784
+
1785
+ def initialize(**args)
1786
+ update!(**args)
1787
+ end
1788
+
1789
+ # Update properties of this object
1790
+ def update!(**args)
1791
+ @api_version = args[:api_version] if args.key?(:api_version)
1792
+ @create_time = args[:create_time] if args.key?(:create_time)
1793
+ @end_time = args[:end_time] if args.key?(:end_time)
1794
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
1795
+ @status_message = args[:status_message] if args.key?(:status_message)
1796
+ @target = args[:target] if args.key?(:target)
1797
+ @verb = args[:verb] if args.key?(:verb)
1798
+ end
1799
+ end
1800
+
1801
+ # An OutboundEndpoint is a regional resource to enable outbound forwarding from
1802
+ # a private IP range in VPCs to on-premise or other networks.
1803
+ class OutboundEndpoint
1804
+ include Google::Apis::Core::Hashable
1805
+
1806
+ # Optional. Annotations as key value pairs
1807
+ # Corresponds to the JSON property `annotations`
1808
+ # @return [Hash<String,String>]
1809
+ attr_accessor :annotations
1810
+
1811
+ # Output only. [Output only] Create time stamp
1812
+ # Corresponds to the JSON property `createTime`
1813
+ # @return [String]
1814
+ attr_accessor :create_time
1815
+
1816
+ # Optional. User provided description.
1817
+ # Corresponds to the JSON property `description`
1818
+ # @return [String]
1819
+ attr_accessor :description
1820
+
1821
+ # Optional. Immutable. User provided IP address to use for outbound DNS
1822
+ # forwarding. This address must be a free address on the subnetwork. If omitted,
1823
+ # a free IP address from the subnetwork is automatically allocated.
1824
+ # Corresponds to the JSON property `endpointIp`
1825
+ # @return [String]
1826
+ attr_accessor :endpoint_ip
1827
+
1828
+ # Optional. Labels as key value pairs
1829
+ # Corresponds to the JSON property `labels`
1830
+ # @return [Hash<String,String>]
1831
+ attr_accessor :labels
1832
+
1833
+ # Identifier. The resource name of the OutboundEndpoint. Format: `projects/`
1834
+ # project`/locations/`location`/outboundEndpoints/`outboundEndpoint``
1835
+ # Corresponds to the JSON property `name`
1836
+ # @return [String]
1837
+ attr_accessor :name
1838
+
1839
+ # Required. Immutable. The VPC network containing the outbound endpoint,
1840
+ # specified as full path.
1841
+ # Corresponds to the JSON property `network`
1842
+ # @return [String]
1843
+ attr_accessor :network
1844
+
1845
+ # Required. Immutable. The subnetwork holding the endpoint_ip, specified as full
1846
+ # path.
1847
+ # Corresponds to the JSON property `subnetwork`
1848
+ # @return [String]
1849
+ attr_accessor :subnetwork
1850
+
1851
+ # Optional. Tag bindings as key value pairs
1852
+ # Corresponds to the JSON property `tags`
1853
+ # @return [Hash<String,String>]
1854
+ attr_accessor :tags
1855
+
1856
+ # Output only. [Output only] Update time stamp
1857
+ # Corresponds to the JSON property `updateTime`
1858
+ # @return [String]
1859
+ attr_accessor :update_time
1860
+
1861
+ def initialize(**args)
1862
+ update!(**args)
1863
+ end
1864
+
1865
+ # Update properties of this object
1866
+ def update!(**args)
1867
+ @annotations = args[:annotations] if args.key?(:annotations)
1868
+ @create_time = args[:create_time] if args.key?(:create_time)
1869
+ @description = args[:description] if args.key?(:description)
1870
+ @endpoint_ip = args[:endpoint_ip] if args.key?(:endpoint_ip)
1871
+ @labels = args[:labels] if args.key?(:labels)
1872
+ @name = args[:name] if args.key?(:name)
1873
+ @network = args[:network] if args.key?(:network)
1874
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
1875
+ @tags = args[:tags] if args.key?(:tags)
1876
+ @update_time = args[:update_time] if args.key?(:update_time)
1877
+ end
1878
+ end
1879
+
1554
1880
  #
1555
1881
  class PoliciesListResponse
1556
1882
  include Google::Apis::Core::Hashable
@@ -1714,6 +2040,11 @@ module Google
1714
2040
  # @return [String]
1715
2041
  attr_accessor :kind
1716
2042
 
2043
+ # The list of outbound endpoints to use for queries.
2044
+ # Corresponds to the JSON property `outboundEndpoints`
2045
+ # @return [Array<Google::Apis::DnsV1::PolicyAlternativeNameServerConfigOutboundEndpoint>]
2046
+ attr_accessor :outbound_endpoints
2047
+
1717
2048
  # Sets an alternative name server for the associated networks. When specified,
1718
2049
  # all DNS queries are forwarded to a name server that you choose. Names such as .
1719
2050
  # internal are not available when an alternative name server is specified.
@@ -1728,10 +2059,38 @@ module Google
1728
2059
  # Update properties of this object
1729
2060
  def update!(**args)
1730
2061
  @kind = args[:kind] if args.key?(:kind)
2062
+ @outbound_endpoints = args[:outbound_endpoints] if args.key?(:outbound_endpoints)
1731
2063
  @target_name_servers = args[:target_name_servers] if args.key?(:target_name_servers)
1732
2064
  end
1733
2065
  end
1734
2066
 
2067
+ #
2068
+ class PolicyAlternativeNameServerConfigOutboundEndpoint
2069
+ include Google::Apis::Core::Hashable
2070
+
2071
+ #
2072
+ # Corresponds to the JSON property `kind`
2073
+ # @return [String]
2074
+ attr_accessor :kind
2075
+
2076
+ # Specified as a resource path including project and region. This should be
2077
+ # formatted like projects/`project`/locations/`location`/outboundEndpoints/`
2078
+ # endpoint`
2079
+ # Corresponds to the JSON property `name`
2080
+ # @return [String]
2081
+ attr_accessor :name
2082
+
2083
+ def initialize(**args)
2084
+ update!(**args)
2085
+ end
2086
+
2087
+ # Update properties of this object
2088
+ def update!(**args)
2089
+ @kind = args[:kind] if args.key?(:kind)
2090
+ @name = args[:name] if args.key?(:name)
2091
+ end
2092
+ end
2093
+
1735
2094
  #
1736
2095
  class PolicyAlternativeNameServerConfigTargetNameServer
1737
2096
  include Google::Apis::Core::Hashable
@@ -1969,6 +2328,16 @@ module Google
1969
2328
  # @return [Fixnum]
1970
2329
  attr_accessor :networks_per_response_policy
1971
2330
 
2331
+ # Maximum allowed number of outbound endpoints per managed zone.
2332
+ # Corresponds to the JSON property `outboundEndpointsPerManagedZone`
2333
+ # @return [Fixnum]
2334
+ attr_accessor :outbound_endpoints_per_managed_zone
2335
+
2336
+ # Maximum allowed number of outbound endpoints per policy.
2337
+ # Corresponds to the JSON property `outboundEndpointsPerPolicy`
2338
+ # @return [Fixnum]
2339
+ attr_accessor :outbound_endpoints_per_policy
2340
+
1972
2341
  # Maximum allowed number of consumer peering zones per target network owned by
1973
2342
  # this producer project
1974
2343
  # Corresponds to the JSON property `peeringZonesPerTargetNetwork`
@@ -2051,6 +2420,8 @@ module Google
2051
2420
  @networks_per_managed_zone = args[:networks_per_managed_zone] if args.key?(:networks_per_managed_zone)
2052
2421
  @networks_per_policy = args[:networks_per_policy] if args.key?(:networks_per_policy)
2053
2422
  @networks_per_response_policy = args[:networks_per_response_policy] if args.key?(:networks_per_response_policy)
2423
+ @outbound_endpoints_per_managed_zone = args[:outbound_endpoints_per_managed_zone] if args.key?(:outbound_endpoints_per_managed_zone)
2424
+ @outbound_endpoints_per_policy = args[:outbound_endpoints_per_policy] if args.key?(:outbound_endpoints_per_policy)
2054
2425
  @peering_zones_per_target_network = args[:peering_zones_per_target_network] if args.key?(:peering_zones_per_target_network)
2055
2426
  @policies = args[:policies] if args.key?(:policies)
2056
2427
  @resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DnsV1
18
18
  # Version of the google-apis-dns_v1 gem
19
- GEM_VERSION = "0.56.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260915"
25
+ REVISION = "20261009"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class Empty
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class Expr
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -118,12 +124,36 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
126
 
127
+ class GoogleLongrunningListOperationsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
121
133
  class GoogleLongrunningOperation
122
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
135
 
124
136
  include Google::Apis::Core::JsonObjectSupport
125
137
  end
126
138
 
139
+ class ListLocationsResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ListOutboundEndpointsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class Location
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
127
157
  class ManagedZone
128
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
159
 
@@ -154,6 +184,12 @@ module Google
154
184
  include Google::Apis::Core::JsonObjectSupport
155
185
  end
156
186
 
187
+ class ManagedZoneForwardingConfigOutboundEndpoint
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
157
193
  class ManagedZoneOperationsListResponse
158
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
195
 
@@ -232,6 +268,18 @@ module Google
232
268
  include Google::Apis::Core::JsonObjectSupport
233
269
  end
234
270
 
271
+ class OperationMetadata
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class OutboundEndpoint
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
235
283
  class PoliciesListResponse
236
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
285
 
@@ -262,6 +310,12 @@ module Google
262
310
  include Google::Apis::Core::JsonObjectSupport
263
311
  end
264
312
 
313
+ class PolicyAlternativeNameServerConfigOutboundEndpoint
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
265
319
  class PolicyAlternativeNameServerConfigTargetNameServer
266
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
321
 
@@ -507,6 +561,12 @@ module Google
507
561
  end
508
562
  end
509
563
 
564
+ class Empty
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ end
568
+ end
569
+
510
570
  class Expr
511
571
  # @private
512
572
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -594,6 +654,16 @@ module Google
594
654
  end
595
655
  end
596
656
 
657
+ class GoogleLongrunningListOperationsResponse
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ property :next_page_token, as: 'nextPageToken'
661
+ collection :operations, as: 'operations', class: Google::Apis::DnsV1::GoogleLongrunningOperation, decorator: Google::Apis::DnsV1::GoogleLongrunningOperation::Representation
662
+
663
+ collection :unreachable, as: 'unreachable'
664
+ end
665
+ end
666
+
597
667
  class GoogleLongrunningOperation
598
668
  # @private
599
669
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -606,6 +676,36 @@ module Google
606
676
  end
607
677
  end
608
678
 
679
+ class ListLocationsResponse
680
+ # @private
681
+ class Representation < Google::Apis::Core::JsonRepresentation
682
+ collection :locations, as: 'locations', class: Google::Apis::DnsV1::Location, decorator: Google::Apis::DnsV1::Location::Representation
683
+
684
+ property :next_page_token, as: 'nextPageToken'
685
+ end
686
+ end
687
+
688
+ class ListOutboundEndpointsResponse
689
+ # @private
690
+ class Representation < Google::Apis::Core::JsonRepresentation
691
+ property :next_page_token, as: 'nextPageToken'
692
+ collection :outbound_endpoints, as: 'outboundEndpoints', class: Google::Apis::DnsV1::OutboundEndpoint, decorator: Google::Apis::DnsV1::OutboundEndpoint::Representation
693
+
694
+ collection :unreachable, as: 'unreachable'
695
+ end
696
+ end
697
+
698
+ class Location
699
+ # @private
700
+ class Representation < Google::Apis::Core::JsonRepresentation
701
+ property :display_name, as: 'displayName'
702
+ hash :labels, as: 'labels'
703
+ property :location_id, as: 'locationId'
704
+ hash :metadata, as: 'metadata'
705
+ property :name, as: 'name'
706
+ end
707
+ end
708
+
609
709
  class ManagedZone
610
710
  # @private
611
711
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -659,6 +759,8 @@ module Google
659
759
  # @private
660
760
  class Representation < Google::Apis::Core::JsonRepresentation
661
761
  property :kind, as: 'kind'
762
+ collection :outbound_endpoints, as: 'outboundEndpoints', class: Google::Apis::DnsV1::ManagedZoneForwardingConfigOutboundEndpoint, decorator: Google::Apis::DnsV1::ManagedZoneForwardingConfigOutboundEndpoint::Representation
763
+
662
764
  collection :target_name_servers, as: 'targetNameServers', class: Google::Apis::DnsV1::ManagedZoneForwardingConfigNameServerTarget, decorator: Google::Apis::DnsV1::ManagedZoneForwardingConfigNameServerTarget::Representation
663
765
 
664
766
  end
@@ -675,6 +777,14 @@ module Google
675
777
  end
676
778
  end
677
779
 
780
+ class ManagedZoneForwardingConfigOutboundEndpoint
781
+ # @private
782
+ class Representation < Google::Apis::Core::JsonRepresentation
783
+ property :kind, as: 'kind'
784
+ property :name, as: 'name'
785
+ end
786
+ end
787
+
678
788
  class ManagedZoneOperationsListResponse
679
789
  # @private
680
790
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -801,6 +911,35 @@ module Google
801
911
  end
802
912
  end
803
913
 
914
+ class OperationMetadata
915
+ # @private
916
+ class Representation < Google::Apis::Core::JsonRepresentation
917
+ property :api_version, as: 'apiVersion'
918
+ property :create_time, as: 'createTime'
919
+ property :end_time, as: 'endTime'
920
+ property :requested_cancellation, as: 'requestedCancellation'
921
+ property :status_message, as: 'statusMessage'
922
+ property :target, as: 'target'
923
+ property :verb, as: 'verb'
924
+ end
925
+ end
926
+
927
+ class OutboundEndpoint
928
+ # @private
929
+ class Representation < Google::Apis::Core::JsonRepresentation
930
+ hash :annotations, as: 'annotations'
931
+ property :create_time, as: 'createTime'
932
+ property :description, as: 'description'
933
+ property :endpoint_ip, as: 'endpointIp'
934
+ hash :labels, as: 'labels'
935
+ property :name, as: 'name'
936
+ property :network, as: 'network'
937
+ property :subnetwork, as: 'subnetwork'
938
+ hash :tags, as: 'tags'
939
+ property :update_time, as: 'updateTime'
940
+ end
941
+ end
942
+
804
943
  class PoliciesListResponse
805
944
  # @private
806
945
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -849,11 +988,21 @@ module Google
849
988
  # @private
850
989
  class Representation < Google::Apis::Core::JsonRepresentation
851
990
  property :kind, as: 'kind'
991
+ collection :outbound_endpoints, as: 'outboundEndpoints', class: Google::Apis::DnsV1::PolicyAlternativeNameServerConfigOutboundEndpoint, decorator: Google::Apis::DnsV1::PolicyAlternativeNameServerConfigOutboundEndpoint::Representation
992
+
852
993
  collection :target_name_servers, as: 'targetNameServers', class: Google::Apis::DnsV1::PolicyAlternativeNameServerConfigTargetNameServer, decorator: Google::Apis::DnsV1::PolicyAlternativeNameServerConfigTargetNameServer::Representation
853
994
 
854
995
  end
855
996
  end
856
997
 
998
+ class PolicyAlternativeNameServerConfigOutboundEndpoint
999
+ # @private
1000
+ class Representation < Google::Apis::Core::JsonRepresentation
1001
+ property :kind, as: 'kind'
1002
+ property :name, as: 'name'
1003
+ end
1004
+ end
1005
+
857
1006
  class PolicyAlternativeNameServerConfigTargetNameServer
858
1007
  # @private
859
1008
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -917,6 +1066,8 @@ module Google
917
1066
  property :networks_per_managed_zone, as: 'networksPerManagedZone'
918
1067
  property :networks_per_policy, as: 'networksPerPolicy'
919
1068
  property :networks_per_response_policy, as: 'networksPerResponsePolicy'
1069
+ property :outbound_endpoints_per_managed_zone, as: 'outboundEndpointsPerManagedZone'
1070
+ property :outbound_endpoints_per_policy, as: 'outboundEndpointsPerPolicy'
920
1071
  property :peering_zones_per_target_network, as: 'peeringZonesPerTargetNetwork'
921
1072
  property :policies, as: 'policies'
922
1073
  property :resource_records_per_rrset, as: 'resourceRecordsPerRrset'
@@ -278,6 +278,92 @@ module Google
278
278
  execute_or_queue_command(command, &block)
279
279
  end
280
280
 
281
+ # Gets information about a location.
282
+ # @param [String] name
283
+ # Resource name for the location.
284
+ # @param [String] fields
285
+ # Selector specifying which fields to include in a partial response.
286
+ # @param [String] quota_user
287
+ # Available to use for quota purposes for server-side applications. Can be any
288
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
289
+ # @param [Google::Apis::RequestOptions] options
290
+ # Request-specific options
291
+ #
292
+ # @yield [result, err] Result & error if block supplied
293
+ # @yieldparam result [Google::Apis::DnsV1::Location] parsed result object
294
+ # @yieldparam err [StandardError] error object if request failed
295
+ #
296
+ # @return [Google::Apis::DnsV1::Location]
297
+ #
298
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
299
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
300
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
301
+ def get_location(name, fields: nil, quota_user: nil, options: nil, &block)
302
+ command = make_simple_command(:get, 'dns/v1/{+name}', options)
303
+ command.response_representation = Google::Apis::DnsV1::Location::Representation
304
+ command.response_class = Google::Apis::DnsV1::Location
305
+ command.params['name'] = name unless name.nil?
306
+ command.query['fields'] = fields unless fields.nil?
307
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
308
+ execute_or_queue_command(command, &block)
309
+ end
310
+
311
+ # Lists information about the supported locations for this service. This method
312
+ # lists locations based on the resource scope provided in the
313
+ # ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
314
+ # the method lists the public locations available to all projects. * **Project-
315
+ # specific locations**: If `name` follows the format `projects/`project``, the
316
+ # method lists locations visible to that specific project. This includes public,
317
+ # private, or other project-specific locations enabled for the project. For gRPC
318
+ # and client library implementations, the resource name is passed as the `name`
319
+ # field. For direct service calls, the resource name is incorporated into the
320
+ # request path based on the specific service implementation and version.
321
+ # @param [String] name
322
+ # The resource that owns the locations collection, if applicable.
323
+ # @param [Array<String>, String] extra_location_types
324
+ # Optional. Do not use this field unless explicitly documented otherwise. This
325
+ # is primarily for internal usage.
326
+ # @param [String] filter
327
+ # A filter to narrow down results to a preferred subset. The filtering language
328
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
329
+ # in [AIP-160](https://google.aip.dev/160).
330
+ # @param [Fixnum] page_size
331
+ # The maximum number of results to return. If not set, the service selects a
332
+ # default.
333
+ # @param [String] page_token
334
+ # A page token received from the `next_page_token` field in the response. Send
335
+ # that page token to receive the subsequent page.
336
+ # @param [String] fields
337
+ # Selector specifying which fields to include in a partial response.
338
+ # @param [String] quota_user
339
+ # Available to use for quota purposes for server-side applications. Can be any
340
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
341
+ # @param [Google::Apis::RequestOptions] options
342
+ # Request-specific options
343
+ #
344
+ # @yield [result, err] Result & error if block supplied
345
+ # @yieldparam result [Google::Apis::DnsV1::ListLocationsResponse] parsed result object
346
+ # @yieldparam err [StandardError] error object if request failed
347
+ #
348
+ # @return [Google::Apis::DnsV1::ListLocationsResponse]
349
+ #
350
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
351
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
352
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
353
+ def list_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
354
+ command = make_simple_command(:get, 'dns/v1/{+name}/locations', options)
355
+ command.response_representation = Google::Apis::DnsV1::ListLocationsResponse::Representation
356
+ command.response_class = Google::Apis::DnsV1::ListLocationsResponse
357
+ command.params['name'] = name unless name.nil?
358
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
359
+ command.query['filter'] = filter unless filter.nil?
360
+ command.query['pageSize'] = page_size unless page_size.nil?
361
+ command.query['pageToken'] = page_token unless page_token.nil?
362
+ command.query['fields'] = fields unless fields.nil?
363
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
364
+ execute_or_queue_command(command, &block)
365
+ end
366
+
281
367
  # Fetches the representation of an existing Operation.
282
368
  # @param [String] project
283
369
  # Identifies the project addressed by this request.
@@ -710,6 +796,357 @@ module Google
710
796
  execute_or_queue_command(command, &block)
711
797
  end
712
798
 
799
+ # Starts asynchronous cancellation on a long-running operation. The server makes
800
+ # a best effort to cancel the operation, but success is not guaranteed. If the
801
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
802
+ # Clients can use Operations.GetOperation or other methods to check whether the
803
+ # cancellation succeeded or whether the operation completed despite cancellation.
804
+ # On successful cancellation, the operation is not deleted; instead, it becomes
805
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
806
+ # , corresponding to `Code.CANCELLED`.
807
+ # @param [String] name
808
+ # The name of the operation resource to be cancelled.
809
+ # @param [String] fields
810
+ # Selector specifying which fields to include in a partial response.
811
+ # @param [String] quota_user
812
+ # Available to use for quota purposes for server-side applications. Can be any
813
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
814
+ # @param [Google::Apis::RequestOptions] options
815
+ # Request-specific options
816
+ #
817
+ # @yield [result, err] Result & error if block supplied
818
+ # @yieldparam result [Google::Apis::DnsV1::Empty] parsed result object
819
+ # @yieldparam err [StandardError] error object if request failed
820
+ #
821
+ # @return [Google::Apis::DnsV1::Empty]
822
+ #
823
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
824
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
825
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
826
+ def cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block)
827
+ command = make_simple_command(:post, 'dns/v1/{+name}:cancel', options)
828
+ command.response_representation = Google::Apis::DnsV1::Empty::Representation
829
+ command.response_class = Google::Apis::DnsV1::Empty
830
+ command.params['name'] = name unless name.nil?
831
+ command.query['fields'] = fields unless fields.nil?
832
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
833
+ execute_or_queue_command(command, &block)
834
+ end
835
+
836
+ # Deletes a long-running operation. This method indicates that the client is no
837
+ # longer interested in the operation result. It does not cancel the operation.
838
+ # If the server doesn't support this method, it returns `google.rpc.Code.
839
+ # UNIMPLEMENTED`.
840
+ # @param [String] name
841
+ # The name of the operation resource to be deleted.
842
+ # @param [String] fields
843
+ # Selector specifying which fields to include in a partial response.
844
+ # @param [String] quota_user
845
+ # Available to use for quota purposes for server-side applications. Can be any
846
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
847
+ # @param [Google::Apis::RequestOptions] options
848
+ # Request-specific options
849
+ #
850
+ # @yield [result, err] Result & error if block supplied
851
+ # @yieldparam result [Google::Apis::DnsV1::Empty] parsed result object
852
+ # @yieldparam err [StandardError] error object if request failed
853
+ #
854
+ # @return [Google::Apis::DnsV1::Empty]
855
+ #
856
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
857
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
858
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
859
+ def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
860
+ command = make_simple_command(:delete, 'dns/v1/{+name}', options)
861
+ command.response_representation = Google::Apis::DnsV1::Empty::Representation
862
+ command.response_class = Google::Apis::DnsV1::Empty
863
+ command.params['name'] = name unless name.nil?
864
+ command.query['fields'] = fields unless fields.nil?
865
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
866
+ execute_or_queue_command(command, &block)
867
+ end
868
+
869
+ # Gets the latest state of a long-running operation. Clients can use this method
870
+ # to poll the operation result at intervals as recommended by the API service.
871
+ # @param [String] name
872
+ # The name of the operation resource.
873
+ # @param [String] fields
874
+ # Selector specifying which fields to include in a partial response.
875
+ # @param [String] quota_user
876
+ # Available to use for quota purposes for server-side applications. Can be any
877
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
878
+ # @param [Google::Apis::RequestOptions] options
879
+ # Request-specific options
880
+ #
881
+ # @yield [result, err] Result & error if block supplied
882
+ # @yieldparam result [Google::Apis::DnsV1::GoogleLongrunningOperation] parsed result object
883
+ # @yieldparam err [StandardError] error object if request failed
884
+ #
885
+ # @return [Google::Apis::DnsV1::GoogleLongrunningOperation]
886
+ #
887
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
888
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
889
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
890
+ def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
891
+ command = make_simple_command(:get, 'dns/v1/{+name}', options)
892
+ command.response_representation = Google::Apis::DnsV1::GoogleLongrunningOperation::Representation
893
+ command.response_class = Google::Apis::DnsV1::GoogleLongrunningOperation
894
+ command.params['name'] = name unless name.nil?
895
+ command.query['fields'] = fields unless fields.nil?
896
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
897
+ execute_or_queue_command(command, &block)
898
+ end
899
+
900
+ # Lists operations that match the specified filter in the request. If the server
901
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
902
+ # @param [String] name
903
+ # The name of the operation's parent resource.
904
+ # @param [String] filter
905
+ # The standard list filter.
906
+ # @param [Fixnum] page_size
907
+ # The standard list page size.
908
+ # @param [String] page_token
909
+ # The standard list page token.
910
+ # @param [Boolean] return_partial_success
911
+ # When set to `true`, operations that are reachable are returned as normal, and
912
+ # those that are unreachable are returned in the ListOperationsResponse.
913
+ # unreachable field. This can only be `true` when reading across collections.
914
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
915
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
916
+ # if set unless explicitly documented otherwise in service or product specific
917
+ # documentation.
918
+ # @param [String] fields
919
+ # Selector specifying which fields to include in a partial response.
920
+ # @param [String] quota_user
921
+ # Available to use for quota purposes for server-side applications. Can be any
922
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
923
+ # @param [Google::Apis::RequestOptions] options
924
+ # Request-specific options
925
+ #
926
+ # @yield [result, err] Result & error if block supplied
927
+ # @yieldparam result [Google::Apis::DnsV1::GoogleLongrunningListOperationsResponse] parsed result object
928
+ # @yieldparam err [StandardError] error object if request failed
929
+ #
930
+ # @return [Google::Apis::DnsV1::GoogleLongrunningListOperationsResponse]
931
+ #
932
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
933
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
934
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
935
+ def list_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
936
+ command = make_simple_command(:get, 'dns/v1/{+name}/operations', options)
937
+ command.response_representation = Google::Apis::DnsV1::GoogleLongrunningListOperationsResponse::Representation
938
+ command.response_class = Google::Apis::DnsV1::GoogleLongrunningListOperationsResponse
939
+ command.params['name'] = name unless name.nil?
940
+ command.query['filter'] = filter unless filter.nil?
941
+ command.query['pageSize'] = page_size unless page_size.nil?
942
+ command.query['pageToken'] = page_token unless page_token.nil?
943
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
944
+ command.query['fields'] = fields unless fields.nil?
945
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
946
+ execute_or_queue_command(command, &block)
947
+ end
948
+
949
+ # Creates a new Outbound Endpoint.
950
+ # @param [String] parent
951
+ # Required. The parent project and location where this OutboundEndpoint will be
952
+ # created. Format: projects/`project`/locations/`location`
953
+ # @param [Google::Apis::DnsV1::OutboundEndpoint] outbound_endpoint_object
954
+ # @param [String] client_operation_id
955
+ # For mutating operation requests only. An optional identifier specified by the
956
+ # client. Must be unique for operation resources in the Operations collection.
957
+ # @param [String] outbound_endpoint_id
958
+ # Required. The ID to use for the OutboundEndpoint, which will become the final
959
+ # component of the OutboundEndpoint's resource name.
960
+ # @param [String] request_id
961
+ # Optional. An optional request ID to identify requests.
962
+ # @param [String] fields
963
+ # Selector specifying which fields to include in a partial response.
964
+ # @param [String] quota_user
965
+ # Available to use for quota purposes for server-side applications. Can be any
966
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
967
+ # @param [Google::Apis::RequestOptions] options
968
+ # Request-specific options
969
+ #
970
+ # @yield [result, err] Result & error if block supplied
971
+ # @yieldparam result [Google::Apis::DnsV1::GoogleLongrunningOperation] parsed result object
972
+ # @yieldparam err [StandardError] error object if request failed
973
+ #
974
+ # @return [Google::Apis::DnsV1::GoogleLongrunningOperation]
975
+ #
976
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
977
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
978
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
979
+ def create_outbound_endpoint(parent, outbound_endpoint_object = nil, client_operation_id: nil, outbound_endpoint_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
980
+ command = make_simple_command(:post, 'dns/v1/{+parent}/outboundEndpoints', options)
981
+ command.request_representation = Google::Apis::DnsV1::OutboundEndpoint::Representation
982
+ command.request_object = outbound_endpoint_object
983
+ command.response_representation = Google::Apis::DnsV1::GoogleLongrunningOperation::Representation
984
+ command.response_class = Google::Apis::DnsV1::GoogleLongrunningOperation
985
+ command.params['parent'] = parent unless parent.nil?
986
+ command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
987
+ command.query['outboundEndpointId'] = outbound_endpoint_id unless outbound_endpoint_id.nil?
988
+ command.query['requestId'] = request_id unless request_id.nil?
989
+ command.query['fields'] = fields unless fields.nil?
990
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
991
+ execute_or_queue_command(command, &block)
992
+ end
993
+
994
+ # Deletes a previously created Outbound Endpoint.
995
+ # @param [String] name
996
+ # Required. The name of the OutboundEndpoint to delete. Format: projects/`
997
+ # project`/locations/`location`/outboundEndpoints/`outboundEndpoint`
998
+ # @param [String] client_operation_id
999
+ # For mutating operation requests only. An optional identifier specified by the
1000
+ # client. Must be unique for operation resources in the Operations collection.
1001
+ # @param [String] request_id
1002
+ # Optional. An optional request ID to identify requests.
1003
+ # @param [String] fields
1004
+ # Selector specifying which fields to include in a partial response.
1005
+ # @param [String] quota_user
1006
+ # Available to use for quota purposes for server-side applications. Can be any
1007
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1008
+ # @param [Google::Apis::RequestOptions] options
1009
+ # Request-specific options
1010
+ #
1011
+ # @yield [result, err] Result & error if block supplied
1012
+ # @yieldparam result [Google::Apis::DnsV1::GoogleLongrunningOperation] parsed result object
1013
+ # @yieldparam err [StandardError] error object if request failed
1014
+ #
1015
+ # @return [Google::Apis::DnsV1::GoogleLongrunningOperation]
1016
+ #
1017
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1018
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1019
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1020
+ def delete_outbound_endpoint(name, client_operation_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1021
+ command = make_simple_command(:delete, 'dns/v1/{+name}', options)
1022
+ command.response_representation = Google::Apis::DnsV1::GoogleLongrunningOperation::Representation
1023
+ command.response_class = Google::Apis::DnsV1::GoogleLongrunningOperation
1024
+ command.params['name'] = name unless name.nil?
1025
+ command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
1026
+ command.query['requestId'] = request_id unless request_id.nil?
1027
+ command.query['fields'] = fields unless fields.nil?
1028
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1029
+ execute_or_queue_command(command, &block)
1030
+ end
1031
+
1032
+ # Fetches the representation of an existing Outbound Endpoint.
1033
+ # @param [String] name
1034
+ # Required. The name of the OutboundEndpoint to retrieve. Format: projects/`
1035
+ # project`/locations/`location`/outboundEndpoints/`outboundEndpoint`
1036
+ # @param [String] client_operation_id
1037
+ # For mutating operation requests only. An optional identifier specified by the
1038
+ # client. Must be unique for operation resources in the Operations collection.
1039
+ # @param [String] fields
1040
+ # Selector specifying which fields to include in a partial response.
1041
+ # @param [String] quota_user
1042
+ # Available to use for quota purposes for server-side applications. Can be any
1043
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1044
+ # @param [Google::Apis::RequestOptions] options
1045
+ # Request-specific options
1046
+ #
1047
+ # @yield [result, err] Result & error if block supplied
1048
+ # @yieldparam result [Google::Apis::DnsV1::OutboundEndpoint] parsed result object
1049
+ # @yieldparam err [StandardError] error object if request failed
1050
+ #
1051
+ # @return [Google::Apis::DnsV1::OutboundEndpoint]
1052
+ #
1053
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1054
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1055
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1056
+ def get_outbound_endpoint(name, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1057
+ command = make_simple_command(:get, 'dns/v1/{+name}', options)
1058
+ command.response_representation = Google::Apis::DnsV1::OutboundEndpoint::Representation
1059
+ command.response_class = Google::Apis::DnsV1::OutboundEndpoint
1060
+ command.params['name'] = name unless name.nil?
1061
+ command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
1062
+ command.query['fields'] = fields unless fields.nil?
1063
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1064
+ execute_or_queue_command(command, &block)
1065
+ end
1066
+
1067
+ # Enumerates all Outbound Endpoints associated with a project.
1068
+ # @param [String] parent
1069
+ # Required. The parent project and location from which to list resources. Format:
1070
+ # projects/`project`/locations/`location`
1071
+ # @param [String] client_operation_id
1072
+ # @param [Fixnum] page_size
1073
+ # Optional. The maximum number of results to return.
1074
+ # @param [String] page_token
1075
+ # Optional. A page token received from a previous List call.
1076
+ # @param [String] fields
1077
+ # Selector specifying which fields to include in a partial response.
1078
+ # @param [String] quota_user
1079
+ # Available to use for quota purposes for server-side applications. Can be any
1080
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1081
+ # @param [Google::Apis::RequestOptions] options
1082
+ # Request-specific options
1083
+ #
1084
+ # @yield [result, err] Result & error if block supplied
1085
+ # @yieldparam result [Google::Apis::DnsV1::ListOutboundEndpointsResponse] parsed result object
1086
+ # @yieldparam err [StandardError] error object if request failed
1087
+ #
1088
+ # @return [Google::Apis::DnsV1::ListOutboundEndpointsResponse]
1089
+ #
1090
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1091
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1092
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1093
+ def list_outbound_endpoints(parent, client_operation_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1094
+ command = make_simple_command(:get, 'dns/v1/{+parent}/outboundEndpoints', options)
1095
+ command.response_representation = Google::Apis::DnsV1::ListOutboundEndpointsResponse::Representation
1096
+ command.response_class = Google::Apis::DnsV1::ListOutboundEndpointsResponse
1097
+ command.params['parent'] = parent unless parent.nil?
1098
+ command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
1099
+ command.query['pageSize'] = page_size unless page_size.nil?
1100
+ command.query['pageToken'] = page_token unless page_token.nil?
1101
+ command.query['fields'] = fields unless fields.nil?
1102
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1103
+ execute_or_queue_command(command, &block)
1104
+ end
1105
+
1106
+ # Updates an existing Outbound Endpoint.
1107
+ # @param [String] name
1108
+ # Identifier. The resource name of the OutboundEndpoint. Format: `projects/`
1109
+ # project`/locations/`location`/outboundEndpoints/`outboundEndpoint``
1110
+ # @param [Google::Apis::DnsV1::OutboundEndpoint] outbound_endpoint_object
1111
+ # @param [String] client_operation_id
1112
+ # For mutating operation requests only. An optional identifier specified by the
1113
+ # client. Must be unique for operation resources in the Operations collection.
1114
+ # @param [String] request_id
1115
+ # Optional. An optional request ID to identify requests.
1116
+ # @param [String] update_mask
1117
+ # Required. The list of fields to be updated.
1118
+ # @param [String] fields
1119
+ # Selector specifying which fields to include in a partial response.
1120
+ # @param [String] quota_user
1121
+ # Available to use for quota purposes for server-side applications. Can be any
1122
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1123
+ # @param [Google::Apis::RequestOptions] options
1124
+ # Request-specific options
1125
+ #
1126
+ # @yield [result, err] Result & error if block supplied
1127
+ # @yieldparam result [Google::Apis::DnsV1::GoogleLongrunningOperation] parsed result object
1128
+ # @yieldparam err [StandardError] error object if request failed
1129
+ #
1130
+ # @return [Google::Apis::DnsV1::GoogleLongrunningOperation]
1131
+ #
1132
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1133
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1134
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1135
+ def patch_outbound_endpoint(name, outbound_endpoint_object = nil, client_operation_id: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1136
+ command = make_simple_command(:patch, 'dns/v1/{+name}', options)
1137
+ command.request_representation = Google::Apis::DnsV1::OutboundEndpoint::Representation
1138
+ command.request_object = outbound_endpoint_object
1139
+ command.response_representation = Google::Apis::DnsV1::GoogleLongrunningOperation::Representation
1140
+ command.response_class = Google::Apis::DnsV1::GoogleLongrunningOperation
1141
+ command.params['name'] = name unless name.nil?
1142
+ command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
1143
+ command.query['requestId'] = request_id unless request_id.nil?
1144
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1145
+ command.query['fields'] = fields unless fields.nil?
1146
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1147
+ execute_or_queue_command(command, &block)
1148
+ end
1149
+
713
1150
  # Creates a new policy.
714
1151
  # @param [String] project
715
1152
  # Identifies the project addressed by this request.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dns_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.57.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-dns_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.56.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.57.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dns_v1
62
62
  rdoc_options: []
63
63
  require_paths: