google-apis-networkconnectivity_v1 0.69.0 → 0.71.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 +8 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +222 -11
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +63 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +178 -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: f94279db8dac2d70282eb47e1d0233342d7cfbccf8910cfa1e121c003e8a6fa6
|
|
4
|
+
data.tar.gz: f69731c371cd1773a016c806566f26dfe975fe061bf01eecf3e2967fc2611ba8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6fd2cee9e943cc1f1159a2213e4ccd115d73ec5422c7f72ed7ae6a1bfa142598c8e490d642a611d6376715f1ad885600754555f7775b00a6f2cb39fe0d0b5a5a
|
|
7
|
+
data.tar.gz: 486945ef619258bc6ac93bcb72cc99dd772fe99cad1d0c078c783765d256155b1a33201a1f4356add029762cf6e2b299b723e7d3a7d9162a8d71a8e3c81448f1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1
|
|
2
2
|
|
|
3
|
+
### v0.71.0 (2026-02-01)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260120
|
|
6
|
+
|
|
7
|
+
### v0.70.0 (2025-12-21)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251209
|
|
10
|
+
|
|
3
11
|
### v0.69.0 (2025-12-07)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20251113
|
|
@@ -251,6 +251,14 @@ module Google
|
|
|
251
251
|
class AutoCreatedSubnetworkInfo
|
|
252
252
|
include Google::Apis::Core::Hashable
|
|
253
253
|
|
|
254
|
+
# Output only. Indicates whether the subnetwork is delinked from the Service
|
|
255
|
+
# Connection Policy. Only set if the subnetwork mode is AUTO_CREATED during
|
|
256
|
+
# creation.
|
|
257
|
+
# Corresponds to the JSON property `delinked`
|
|
258
|
+
# @return [Boolean]
|
|
259
|
+
attr_accessor :delinked
|
|
260
|
+
alias_method :delinked?, :delinked
|
|
261
|
+
|
|
254
262
|
# Output only. URI of the automatically created Internal Range. Only set if the
|
|
255
263
|
# subnetwork mode is AUTO_CREATED during creation.
|
|
256
264
|
# Corresponds to the JSON property `internalRange`
|
|
@@ -281,6 +289,7 @@ module Google
|
|
|
281
289
|
|
|
282
290
|
# Update properties of this object
|
|
283
291
|
def update!(**args)
|
|
292
|
+
@delinked = args[:delinked] if args.key?(:delinked)
|
|
284
293
|
@internal_range = args[:internal_range] if args.key?(:internal_range)
|
|
285
294
|
@internal_range_ref = args[:internal_range_ref] if args.key?(:internal_range_ref)
|
|
286
295
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
|
@@ -326,6 +335,145 @@ module Google
|
|
|
326
335
|
end
|
|
327
336
|
end
|
|
328
337
|
|
|
338
|
+
# Represents a DNS record managed by the AutomatedDnsRecord API.
|
|
339
|
+
class AutomatedDnsRecord
|
|
340
|
+
include Google::Apis::Core::Hashable
|
|
341
|
+
|
|
342
|
+
# Required. Immutable. The full resource path of the consumer network this
|
|
343
|
+
# AutomatedDnsRecord is visible to. Example: "projects/`projectNumOrId`/global/
|
|
344
|
+
# networks/`networkName`".
|
|
345
|
+
# Corresponds to the JSON property `consumerNetwork`
|
|
346
|
+
# @return [String]
|
|
347
|
+
attr_accessor :consumer_network
|
|
348
|
+
|
|
349
|
+
# Output only. The timestamp of when the record was created.
|
|
350
|
+
# Corresponds to the JSON property `createTime`
|
|
351
|
+
# @return [String]
|
|
352
|
+
attr_accessor :create_time
|
|
353
|
+
|
|
354
|
+
# Required. Immutable. The creation mode of the AutomatedDnsRecord. This field
|
|
355
|
+
# is immutable.
|
|
356
|
+
# Corresponds to the JSON property `creationMode`
|
|
357
|
+
# @return [String]
|
|
358
|
+
attr_accessor :creation_mode
|
|
359
|
+
|
|
360
|
+
# Defines the configuration of a DNS record.
|
|
361
|
+
# Corresponds to the JSON property `currentConfig`
|
|
362
|
+
# @return [Google::Apis::NetworkconnectivityV1::Config]
|
|
363
|
+
attr_accessor :current_config
|
|
364
|
+
|
|
365
|
+
# A human-readable description of the record.
|
|
366
|
+
# Corresponds to the JSON property `description`
|
|
367
|
+
# @return [String]
|
|
368
|
+
attr_accessor :description
|
|
369
|
+
|
|
370
|
+
# Required. Immutable. The dns suffix for this record to use in longest-suffix
|
|
371
|
+
# matching. Requires a trailing dot. Example: "example.com."
|
|
372
|
+
# Corresponds to the JSON property `dnsSuffix`
|
|
373
|
+
# @return [String]
|
|
374
|
+
attr_accessor :dns_suffix
|
|
375
|
+
|
|
376
|
+
# Output only. DnsZone is the DNS zone managed by automation. Format: projects/`
|
|
377
|
+
# project`/managedZones/`managedZone`
|
|
378
|
+
# Corresponds to the JSON property `dnsZone`
|
|
379
|
+
# @return [String]
|
|
380
|
+
attr_accessor :dns_zone
|
|
381
|
+
|
|
382
|
+
# Optional. The etag is computed by the server, and may be sent on update and
|
|
383
|
+
# delete requests to ensure the client has an up-to-date value before proceeding.
|
|
384
|
+
# Corresponds to the JSON property `etag`
|
|
385
|
+
# @return [String]
|
|
386
|
+
attr_accessor :etag
|
|
387
|
+
|
|
388
|
+
# Output only. The FQDN created by combining the hostname and dns suffix. Should
|
|
389
|
+
# include a trailing dot.
|
|
390
|
+
# Corresponds to the JSON property `fqdn`
|
|
391
|
+
# @return [String]
|
|
392
|
+
attr_accessor :fqdn
|
|
393
|
+
|
|
394
|
+
# Required. Immutable. The hostname for the DNS record. This value will be
|
|
395
|
+
# prepended to the `dns_suffix` to create the full domain name (FQDN) for the
|
|
396
|
+
# record. For example, if `hostname` is "corp.db" and `dns_suffix` is "example.
|
|
397
|
+
# com.", the resulting record will be "corp.db.example.com.". Should not include
|
|
398
|
+
# a trailing dot.
|
|
399
|
+
# Corresponds to the JSON property `hostname`
|
|
400
|
+
# @return [String]
|
|
401
|
+
attr_accessor :hostname
|
|
402
|
+
|
|
403
|
+
# Optional. User-defined labels.
|
|
404
|
+
# Corresponds to the JSON property `labels`
|
|
405
|
+
# @return [Hash<String,String>]
|
|
406
|
+
attr_accessor :labels
|
|
407
|
+
|
|
408
|
+
# Immutable. Identifier. The name of an AutomatedDnsRecord. Format: projects/`
|
|
409
|
+
# project`/locations/`location`/automatedDnsRecords/`automated_dns_record` See:
|
|
410
|
+
# https://google.aip.dev/122#fields-representing-resource-names
|
|
411
|
+
# Corresponds to the JSON property `name`
|
|
412
|
+
# @return [String]
|
|
413
|
+
attr_accessor :name
|
|
414
|
+
|
|
415
|
+
# Defines the configuration of a DNS record.
|
|
416
|
+
# Corresponds to the JSON property `originalConfig`
|
|
417
|
+
# @return [Google::Apis::NetworkconnectivityV1::Config]
|
|
418
|
+
attr_accessor :original_config
|
|
419
|
+
|
|
420
|
+
# Required. Immutable. The identifier of a supported record type.
|
|
421
|
+
# Corresponds to the JSON property `recordType`
|
|
422
|
+
# @return [String]
|
|
423
|
+
attr_accessor :record_type
|
|
424
|
+
|
|
425
|
+
# Required. Immutable. The service class identifier which authorizes this
|
|
426
|
+
# AutomatedDnsRecord. Any API calls targeting this AutomatedDnsRecord must have `
|
|
427
|
+
# networkconnectivity.serviceclasses.use` IAM permission for the provided
|
|
428
|
+
# service class.
|
|
429
|
+
# Corresponds to the JSON property `serviceClass`
|
|
430
|
+
# @return [String]
|
|
431
|
+
attr_accessor :service_class
|
|
432
|
+
|
|
433
|
+
# Output only. The current operational state of this AutomatedDnsRecord as
|
|
434
|
+
# managed by Service Connectivity Automation.
|
|
435
|
+
# Corresponds to the JSON property `state`
|
|
436
|
+
# @return [String]
|
|
437
|
+
attr_accessor :state
|
|
438
|
+
|
|
439
|
+
# Output only. A human-readable message providing more context about the current
|
|
440
|
+
# state, such as an error description if the state is `FAILED_DEPROGRAMMING`.
|
|
441
|
+
# Corresponds to the JSON property `stateDetails`
|
|
442
|
+
# @return [String]
|
|
443
|
+
attr_accessor :state_details
|
|
444
|
+
|
|
445
|
+
# Output only. The timestamp of when the record was updated.
|
|
446
|
+
# Corresponds to the JSON property `updateTime`
|
|
447
|
+
# @return [String]
|
|
448
|
+
attr_accessor :update_time
|
|
449
|
+
|
|
450
|
+
def initialize(**args)
|
|
451
|
+
update!(**args)
|
|
452
|
+
end
|
|
453
|
+
|
|
454
|
+
# Update properties of this object
|
|
455
|
+
def update!(**args)
|
|
456
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
|
457
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
458
|
+
@creation_mode = args[:creation_mode] if args.key?(:creation_mode)
|
|
459
|
+
@current_config = args[:current_config] if args.key?(:current_config)
|
|
460
|
+
@description = args[:description] if args.key?(:description)
|
|
461
|
+
@dns_suffix = args[:dns_suffix] if args.key?(:dns_suffix)
|
|
462
|
+
@dns_zone = args[:dns_zone] if args.key?(:dns_zone)
|
|
463
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
464
|
+
@fqdn = args[:fqdn] if args.key?(:fqdn)
|
|
465
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
|
466
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
467
|
+
@name = args[:name] if args.key?(:name)
|
|
468
|
+
@original_config = args[:original_config] if args.key?(:original_config)
|
|
469
|
+
@record_type = args[:record_type] if args.key?(:record_type)
|
|
470
|
+
@service_class = args[:service_class] if args.key?(:service_class)
|
|
471
|
+
@state = args[:state] if args.key?(:state)
|
|
472
|
+
@state_details = args[:state_details] if args.key?(:state_details)
|
|
473
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
474
|
+
end
|
|
475
|
+
end
|
|
476
|
+
|
|
329
477
|
# Associates `members`, or principals, with a `role`.
|
|
330
478
|
class Binding
|
|
331
479
|
include Google::Apis::Core::Hashable
|
|
@@ -484,6 +632,37 @@ module Google
|
|
|
484
632
|
end
|
|
485
633
|
end
|
|
486
634
|
|
|
635
|
+
# Defines the configuration of a DNS record.
|
|
636
|
+
class Config
|
|
637
|
+
include Google::Apis::Core::Hashable
|
|
638
|
+
|
|
639
|
+
# Required. The list of resource record data strings. The content and format of
|
|
640
|
+
# these strings depend on the AutomatedDnsRecord.type. For many common record
|
|
641
|
+
# types, this list may contain multiple strings. As defined in RFC 1035 (section
|
|
642
|
+
# 5) and RFC 1034 (section 3.6.1) -- see examples. Examples: A record: ["192.0.2.
|
|
643
|
+
# 1"] or ["192.0.2.1", "192.0.2.2"] TXT record: ["This is a text record"] CNAME
|
|
644
|
+
# record: ["target.example.com."] AAAA record: ["::1"] or ["2001:0db8:85a3:0000:
|
|
645
|
+
# 0000:8a2e:0370:7334", "2001:0db8:85a3:0000:0000:8a2e:0370:7335"]
|
|
646
|
+
# Corresponds to the JSON property `rrdatas`
|
|
647
|
+
# @return [Array<String>]
|
|
648
|
+
attr_accessor :rrdatas
|
|
649
|
+
|
|
650
|
+
# Required. Number of seconds that this DNS record can be cached by resolvers.
|
|
651
|
+
# Corresponds to the JSON property `ttl`
|
|
652
|
+
# @return [String]
|
|
653
|
+
attr_accessor :ttl
|
|
654
|
+
|
|
655
|
+
def initialize(**args)
|
|
656
|
+
update!(**args)
|
|
657
|
+
end
|
|
658
|
+
|
|
659
|
+
# Update properties of this object
|
|
660
|
+
def update!(**args)
|
|
661
|
+
@rrdatas = args[:rrdatas] if args.key?(:rrdatas)
|
|
662
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
|
663
|
+
end
|
|
664
|
+
end
|
|
665
|
+
|
|
487
666
|
# Allow the producer to specify which consumers can connect to it.
|
|
488
667
|
class ConsumerPscConfig
|
|
489
668
|
include Google::Apis::Core::Hashable
|
|
@@ -533,9 +712,9 @@ module Google
|
|
|
533
712
|
# @return [String]
|
|
534
713
|
attr_accessor :project
|
|
535
714
|
|
|
536
|
-
#
|
|
537
|
-
# attachment.
|
|
538
|
-
#
|
|
715
|
+
# Optional. A map to store mapping between customer vip and target service
|
|
716
|
+
# attachment. This field can be used to specify a static IP address for a PSC
|
|
717
|
+
# connection.
|
|
539
718
|
# Corresponds to the JSON property `serviceAttachmentIpAddressMap`
|
|
540
719
|
# @return [Hash<String,String>]
|
|
541
720
|
attr_accessor :service_attachment_ip_address_map
|
|
@@ -1431,7 +1610,7 @@ module Google
|
|
|
1431
1610
|
# @return [Google::Apis::NetworkconnectivityV1::AllocationOptions]
|
|
1432
1611
|
attr_accessor :allocation_options
|
|
1433
1612
|
|
|
1434
|
-
# Time when the internal range was created.
|
|
1613
|
+
# Output only. Time when the internal range was created.
|
|
1435
1614
|
# Corresponds to the JSON property `createTime`
|
|
1436
1615
|
# @return [String]
|
|
1437
1616
|
attr_accessor :create_time
|
|
@@ -1521,7 +1700,7 @@ module Google
|
|
|
1521
1700
|
# @return [Array<String>]
|
|
1522
1701
|
attr_accessor :target_cidr_range
|
|
1523
1702
|
|
|
1524
|
-
# Time when the internal range was updated.
|
|
1703
|
+
# Output only. Time when the internal range was updated.
|
|
1525
1704
|
# Corresponds to the JSON property `updateTime`
|
|
1526
1705
|
# @return [String]
|
|
1527
1706
|
attr_accessor :update_time
|
|
@@ -1645,13 +1824,13 @@ module Google
|
|
|
1645
1824
|
attr_accessor :producer_network
|
|
1646
1825
|
|
|
1647
1826
|
# Output only. The proposed exclude export IP ranges waiting for hub
|
|
1648
|
-
#
|
|
1827
|
+
# administrator's approval.
|
|
1649
1828
|
# Corresponds to the JSON property `proposedExcludeExportRanges`
|
|
1650
1829
|
# @return [Array<String>]
|
|
1651
1830
|
attr_accessor :proposed_exclude_export_ranges
|
|
1652
1831
|
|
|
1653
1832
|
# Output only. The proposed include export IP ranges waiting for hub
|
|
1654
|
-
#
|
|
1833
|
+
# administrator's approval.
|
|
1655
1834
|
# Corresponds to the JSON property `proposedIncludeExportRanges`
|
|
1656
1835
|
# @return [Array<String>]
|
|
1657
1836
|
attr_accessor :proposed_include_export_ranges
|
|
@@ -1750,13 +1929,13 @@ module Google
|
|
|
1750
1929
|
attr_accessor :producer_vpc_spokes
|
|
1751
1930
|
|
|
1752
1931
|
# Output only. The proposed exclude export IP ranges waiting for hub
|
|
1753
|
-
#
|
|
1932
|
+
# administrator's approval.
|
|
1754
1933
|
# Corresponds to the JSON property `proposedExcludeExportRanges`
|
|
1755
1934
|
# @return [Array<String>]
|
|
1756
1935
|
attr_accessor :proposed_exclude_export_ranges
|
|
1757
1936
|
|
|
1758
1937
|
# Output only. The proposed include export IP ranges waiting for hub
|
|
1759
|
-
#
|
|
1938
|
+
# administrator's approval.
|
|
1760
1939
|
# Corresponds to the JSON property `proposedIncludeExportRanges`
|
|
1761
1940
|
# @return [Array<String>]
|
|
1762
1941
|
attr_accessor :proposed_include_export_ranges
|
|
@@ -1826,6 +2005,38 @@ module Google
|
|
|
1826
2005
|
end
|
|
1827
2006
|
end
|
|
1828
2007
|
|
|
2008
|
+
# Response for ListAutomatedDnsRecords.
|
|
2009
|
+
class ListAutomatedDnsRecordsResponse
|
|
2010
|
+
include Google::Apis::Core::Hashable
|
|
2011
|
+
|
|
2012
|
+
# AutomatedDnsRecords to be returned.
|
|
2013
|
+
# Corresponds to the JSON property `automatedDnsRecords`
|
|
2014
|
+
# @return [Array<Google::Apis::NetworkconnectivityV1::AutomatedDnsRecord>]
|
|
2015
|
+
attr_accessor :automated_dns_records
|
|
2016
|
+
|
|
2017
|
+
# The next pagination token in the List response. It should be used as
|
|
2018
|
+
# page_token for the following request. An empty value means no more result.
|
|
2019
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2020
|
+
# @return [String]
|
|
2021
|
+
attr_accessor :next_page_token
|
|
2022
|
+
|
|
2023
|
+
# Locations that could not be reached.
|
|
2024
|
+
# Corresponds to the JSON property `unreachable`
|
|
2025
|
+
# @return [Array<String>]
|
|
2026
|
+
attr_accessor :unreachable
|
|
2027
|
+
|
|
2028
|
+
def initialize(**args)
|
|
2029
|
+
update!(**args)
|
|
2030
|
+
end
|
|
2031
|
+
|
|
2032
|
+
# Update properties of this object
|
|
2033
|
+
def update!(**args)
|
|
2034
|
+
@automated_dns_records = args[:automated_dns_records] if args.key?(:automated_dns_records)
|
|
2035
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2036
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2037
|
+
end
|
|
2038
|
+
end
|
|
2039
|
+
|
|
1829
2040
|
# Response message to list `Destination` resources.
|
|
1830
2041
|
class ListDestinationsResponse
|
|
1831
2042
|
include Google::Apis::Core::Hashable
|
|
@@ -4162,7 +4373,7 @@ module Google
|
|
|
4162
4373
|
# @return [String]
|
|
4163
4374
|
attr_accessor :etag
|
|
4164
4375
|
|
|
4165
|
-
# Optional. The list of fields waiting for hub
|
|
4376
|
+
# Optional. The list of fields waiting for hub administrator's approval.
|
|
4166
4377
|
# Corresponds to the JSON property `fieldPathsPendingUpdate`
|
|
4167
4378
|
# @return [Array<String>]
|
|
4168
4379
|
attr_accessor :field_paths_pending_update
|
|
@@ -4424,7 +4635,7 @@ module Google
|
|
|
4424
4635
|
end
|
|
4425
4636
|
end
|
|
4426
4637
|
|
|
4427
|
-
# The reason
|
|
4638
|
+
# The reason for the current state of the spoke.
|
|
4428
4639
|
class StateReason
|
|
4429
4640
|
include Google::Apis::Core::Hashable
|
|
4430
4641
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module NetworkconnectivityV1
|
|
18
18
|
# Version of the google-apis-networkconnectivity_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.71.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260120"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -76,6 +76,12 @@ module Google
|
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
+
class AutomatedDnsRecord
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
79
85
|
class Binding
|
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
87
|
|
|
@@ -94,6 +100,12 @@ module Google
|
|
|
94
100
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
101
|
end
|
|
96
102
|
|
|
103
|
+
class Config
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
97
109
|
class ConsumerPscConfig
|
|
98
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
111
|
|
|
@@ -232,6 +244,12 @@ module Google
|
|
|
232
244
|
include Google::Apis::Core::JsonObjectSupport
|
|
233
245
|
end
|
|
234
246
|
|
|
247
|
+
class ListAutomatedDnsRecordsResponse
|
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
249
|
+
|
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
251
|
+
end
|
|
252
|
+
|
|
235
253
|
class ListDestinationsResponse
|
|
236
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
237
255
|
|
|
@@ -658,6 +676,7 @@ module Google
|
|
|
658
676
|
class AutoCreatedSubnetworkInfo
|
|
659
677
|
# @private
|
|
660
678
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
679
|
+
property :delinked, as: 'delinked'
|
|
661
680
|
property :internal_range, as: 'internalRange'
|
|
662
681
|
property :internal_range_ref, as: 'internalRangeRef'
|
|
663
682
|
property :subnetwork, as: 'subnetwork'
|
|
@@ -674,6 +693,32 @@ module Google
|
|
|
674
693
|
end
|
|
675
694
|
end
|
|
676
695
|
|
|
696
|
+
class AutomatedDnsRecord
|
|
697
|
+
# @private
|
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
699
|
+
property :consumer_network, as: 'consumerNetwork'
|
|
700
|
+
property :create_time, as: 'createTime'
|
|
701
|
+
property :creation_mode, as: 'creationMode'
|
|
702
|
+
property :current_config, as: 'currentConfig', class: Google::Apis::NetworkconnectivityV1::Config, decorator: Google::Apis::NetworkconnectivityV1::Config::Representation
|
|
703
|
+
|
|
704
|
+
property :description, as: 'description'
|
|
705
|
+
property :dns_suffix, as: 'dnsSuffix'
|
|
706
|
+
property :dns_zone, as: 'dnsZone'
|
|
707
|
+
property :etag, as: 'etag'
|
|
708
|
+
property :fqdn, as: 'fqdn'
|
|
709
|
+
property :hostname, as: 'hostname'
|
|
710
|
+
hash :labels, as: 'labels'
|
|
711
|
+
property :name, as: 'name'
|
|
712
|
+
property :original_config, as: 'originalConfig', class: Google::Apis::NetworkconnectivityV1::Config, decorator: Google::Apis::NetworkconnectivityV1::Config::Representation
|
|
713
|
+
|
|
714
|
+
property :record_type, as: 'recordType'
|
|
715
|
+
property :service_class, as: 'serviceClass'
|
|
716
|
+
property :state, as: 'state'
|
|
717
|
+
property :state_details, as: 'stateDetails'
|
|
718
|
+
property :update_time, as: 'updateTime'
|
|
719
|
+
end
|
|
720
|
+
end
|
|
721
|
+
|
|
677
722
|
class Binding
|
|
678
723
|
# @private
|
|
679
724
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -701,6 +746,14 @@ module Google
|
|
|
701
746
|
end
|
|
702
747
|
end
|
|
703
748
|
|
|
749
|
+
class Config
|
|
750
|
+
# @private
|
|
751
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
752
|
+
collection :rrdatas, as: 'rrdatas'
|
|
753
|
+
property :ttl, as: 'ttl'
|
|
754
|
+
end
|
|
755
|
+
end
|
|
756
|
+
|
|
704
757
|
class ConsumerPscConfig
|
|
705
758
|
# @private
|
|
706
759
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -987,6 +1040,16 @@ module Google
|
|
|
987
1040
|
end
|
|
988
1041
|
end
|
|
989
1042
|
|
|
1043
|
+
class ListAutomatedDnsRecordsResponse
|
|
1044
|
+
# @private
|
|
1045
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1046
|
+
collection :automated_dns_records, as: 'automatedDnsRecords', class: Google::Apis::NetworkconnectivityV1::AutomatedDnsRecord, decorator: Google::Apis::NetworkconnectivityV1::AutomatedDnsRecord::Representation
|
|
1047
|
+
|
|
1048
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1049
|
+
collection :unreachable, as: 'unreachable'
|
|
1050
|
+
end
|
|
1051
|
+
end
|
|
1052
|
+
|
|
990
1053
|
class ListDestinationsResponse
|
|
991
1054
|
# @private
|
|
992
1055
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -169,6 +169,184 @@ module Google
|
|
|
169
169
|
execute_or_queue_command(command, &block)
|
|
170
170
|
end
|
|
171
171
|
|
|
172
|
+
# Creates a new AutomatedDnsRecord in a given project and location.
|
|
173
|
+
# @param [String] parent
|
|
174
|
+
# Required. The parent resource's name of the AutomatedDnsRecord. ex. projects/
|
|
175
|
+
# 123/locations/us-east1
|
|
176
|
+
# @param [Google::Apis::NetworkconnectivityV1::AutomatedDnsRecord] automated_dns_record_object
|
|
177
|
+
# @param [String] automated_dns_record_id
|
|
178
|
+
# Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/
|
|
179
|
+
# automatedDnsRecords/foo') See https://google.aip.dev/122#resource-id-segments
|
|
180
|
+
# Unique per location. If one is not provided, one will be generated.
|
|
181
|
+
# @param [String] insert_mode
|
|
182
|
+
# Optional. The insert mode when creating AutomatedDnsRecord.
|
|
183
|
+
# @param [String] request_id
|
|
184
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
185
|
+
# request ID so that if you must retry your request, the server will know to
|
|
186
|
+
# ignore the request if it has already been completed. The server will guarantee
|
|
187
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
|
188
|
+
# situation where you make an initial request and the request times out. If you
|
|
189
|
+
# make the request again with the same request ID, the server can check if
|
|
190
|
+
# original operation with the same request ID was received, and if so, will
|
|
191
|
+
# ignore the second request. This prevents clients from accidentally creating
|
|
192
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
193
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
194
|
+
# @param [String] fields
|
|
195
|
+
# Selector specifying which fields to include in a partial response.
|
|
196
|
+
# @param [String] quota_user
|
|
197
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
198
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
199
|
+
# @param [Google::Apis::RequestOptions] options
|
|
200
|
+
# Request-specific options
|
|
201
|
+
#
|
|
202
|
+
# @yield [result, err] Result & error if block supplied
|
|
203
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
|
204
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
205
|
+
#
|
|
206
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
|
207
|
+
#
|
|
208
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
209
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
210
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
211
|
+
def create_project_location_automated_dns_record(parent, automated_dns_record_object = nil, automated_dns_record_id: nil, insert_mode: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
212
|
+
command = make_simple_command(:post, 'v1/{+parent}/automatedDnsRecords', options)
|
|
213
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::AutomatedDnsRecord::Representation
|
|
214
|
+
command.request_object = automated_dns_record_object
|
|
215
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
|
216
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
|
217
|
+
command.params['parent'] = parent unless parent.nil?
|
|
218
|
+
command.query['automatedDnsRecordId'] = automated_dns_record_id unless automated_dns_record_id.nil?
|
|
219
|
+
command.query['insertMode'] = insert_mode unless insert_mode.nil?
|
|
220
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
221
|
+
command.query['fields'] = fields unless fields.nil?
|
|
222
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
223
|
+
execute_or_queue_command(command, &block)
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# Deletes a single AutomatedDnsRecord.
|
|
227
|
+
# @param [String] name
|
|
228
|
+
# Required. The name of the AutomatedDnsRecord to delete.
|
|
229
|
+
# @param [String] delete_mode
|
|
230
|
+
# Optional. Delete mode when deleting AutomatedDnsRecord. If set to DEPROGRAM,
|
|
231
|
+
# the record will be deprogrammed in Cloud DNS. If set to SKIP_DEPROGRAMMING,
|
|
232
|
+
# the record will not be deprogrammed in Cloud DNS.
|
|
233
|
+
# @param [String] etag
|
|
234
|
+
# Optional. The etag is computed by the server, and may be sent on update and
|
|
235
|
+
# delete requests to ensure the client has an up-to-date value before proceeding.
|
|
236
|
+
# @param [String] request_id
|
|
237
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
238
|
+
# request ID so that if you must retry your request, the server will know to
|
|
239
|
+
# ignore the request if it has already been completed. The server will guarantee
|
|
240
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
|
241
|
+
# situation where you make an initial request and the request times out. If you
|
|
242
|
+
# make the request again with the same request ID, the server can check if
|
|
243
|
+
# original operation with the same request ID was received, and if so, will
|
|
244
|
+
# ignore the second request. This prevents clients from accidentally creating
|
|
245
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
246
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
247
|
+
# @param [String] fields
|
|
248
|
+
# Selector specifying which fields to include in a partial response.
|
|
249
|
+
# @param [String] quota_user
|
|
250
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
251
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
252
|
+
# @param [Google::Apis::RequestOptions] options
|
|
253
|
+
# Request-specific options
|
|
254
|
+
#
|
|
255
|
+
# @yield [result, err] Result & error if block supplied
|
|
256
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
|
257
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
258
|
+
#
|
|
259
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
|
260
|
+
#
|
|
261
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
262
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
263
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
264
|
+
def delete_project_location_automated_dns_record(name, delete_mode: nil, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
265
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
266
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
|
267
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
|
268
|
+
command.params['name'] = name unless name.nil?
|
|
269
|
+
command.query['deleteMode'] = delete_mode unless delete_mode.nil?
|
|
270
|
+
command.query['etag'] = etag unless etag.nil?
|
|
271
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
272
|
+
command.query['fields'] = fields unless fields.nil?
|
|
273
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
274
|
+
execute_or_queue_command(command, &block)
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
# Gets details of a single AutomatedDnsRecord.
|
|
278
|
+
# @param [String] name
|
|
279
|
+
# Required. Name of the AutomatedDnsRecord to get. Format: projects/`project`/
|
|
280
|
+
# locations/`location`/automatedDnsRecords/`automated_dns_record`
|
|
281
|
+
# @param [String] fields
|
|
282
|
+
# Selector specifying which fields to include in a partial response.
|
|
283
|
+
# @param [String] quota_user
|
|
284
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
285
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
286
|
+
# @param [Google::Apis::RequestOptions] options
|
|
287
|
+
# Request-specific options
|
|
288
|
+
#
|
|
289
|
+
# @yield [result, err] Result & error if block supplied
|
|
290
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::AutomatedDnsRecord] parsed result object
|
|
291
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
292
|
+
#
|
|
293
|
+
# @return [Google::Apis::NetworkconnectivityV1::AutomatedDnsRecord]
|
|
294
|
+
#
|
|
295
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
296
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
297
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
298
|
+
def get_project_location_automated_dns_record(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
299
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
300
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::AutomatedDnsRecord::Representation
|
|
301
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::AutomatedDnsRecord
|
|
302
|
+
command.params['name'] = name unless name.nil?
|
|
303
|
+
command.query['fields'] = fields unless fields.nil?
|
|
304
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
305
|
+
execute_or_queue_command(command, &block)
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
# Lists AutomatedDnsRecords in a given project and location.
|
|
309
|
+
# @param [String] parent
|
|
310
|
+
# Required. The parent resource's name. ex. projects/123/locations/us-east1
|
|
311
|
+
# @param [String] filter
|
|
312
|
+
# A filter expression that filters the results listed in the response.
|
|
313
|
+
# @param [String] order_by
|
|
314
|
+
# Sort the results by a certain order.
|
|
315
|
+
# @param [Fixnum] page_size
|
|
316
|
+
# The maximum number of results per page that should be returned.
|
|
317
|
+
# @param [String] page_token
|
|
318
|
+
# The page token.
|
|
319
|
+
# @param [String] fields
|
|
320
|
+
# Selector specifying which fields to include in a partial response.
|
|
321
|
+
# @param [String] quota_user
|
|
322
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
323
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
324
|
+
# @param [Google::Apis::RequestOptions] options
|
|
325
|
+
# Request-specific options
|
|
326
|
+
#
|
|
327
|
+
# @yield [result, err] Result & error if block supplied
|
|
328
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListAutomatedDnsRecordsResponse] parsed result object
|
|
329
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
330
|
+
#
|
|
331
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListAutomatedDnsRecordsResponse]
|
|
332
|
+
#
|
|
333
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
334
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
335
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
336
|
+
def list_project_location_automated_dns_records(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
337
|
+
command = make_simple_command(:get, 'v1/{+parent}/automatedDnsRecords', options)
|
|
338
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListAutomatedDnsRecordsResponse::Representation
|
|
339
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListAutomatedDnsRecordsResponse
|
|
340
|
+
command.params['parent'] = parent unless parent.nil?
|
|
341
|
+
command.query['filter'] = filter unless filter.nil?
|
|
342
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
343
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
344
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
345
|
+
command.query['fields'] = fields unless fields.nil?
|
|
346
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
347
|
+
execute_or_queue_command(command, &block)
|
|
348
|
+
end
|
|
349
|
+
|
|
172
350
|
# Accepts a proposal to attach a Network Connectivity Center spoke to a hub.
|
|
173
351
|
# @param [String] name
|
|
174
352
|
# Required. The name of the hub into which to accept the spoke.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-networkconnectivity_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.71.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-networkconnectivity_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.71.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|