google-apis-dns_v1 0.27.0 → 0.43.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: 358a57ec6d35615c88d06ca1b061dac5d2726f503f15f6e7d104fd616c6d5434
4
- data.tar.gz: 0c84b4e175e9b351ca0ab477e8592f7099712cddb7a866ab3fc894a13a636c52
3
+ metadata.gz: 77aca6b3292d8fa6a073a84c1e87441d88bd80ab7dbae49984f2e46372b69ff9
4
+ data.tar.gz: cc6e7737f70bdb75cca20476920fc7ebcd31111a6b5c74b4d06f8fee8b3ee401
5
5
  SHA512:
6
- metadata.gz: eb86d048b9b82b34a0d2f4a9e81755459063a88fee6cafc5bf27df860f696beb3632232a8778a9108a5c4e6c1b529d6318769e3a3f14ecc1c6da2441414eacc7
7
- data.tar.gz: badfdb5c1d7f986f2edbfd717cde032c4cc4ccb29ef2fa047e409ac53fb691df55bcdf626ffa800d87b10c68dc9d5f4fb92ee21216f4235044673bb03a95fc97
6
+ metadata.gz: 84e76b46c8b5c911ac4d4728ae377488d7b238f1496197f5e1f3991a3f95ea1754fa0f85ce70cff6cb3e88a5ac481580a45f3475a0f88b4130c2ea270138fdc6
7
+ data.tar.gz: ff7a7cc695d0e3d441a34d1220a0680ec42470f11b046511afed6ff565ccefabc4670a4ac546019b76019fbdd18c304b7af3ef1aea35a2ffb32d62777e480ea0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,73 @@
1
1
  # Release history for google-apis-dns_v1
2
2
 
3
+ ### v0.43.0 (2024-06-09)
4
+
5
+ * Regenerated from discovery document revision 20240531
6
+
7
+ ### v0.42.0 (2024-05-19)
8
+
9
+ * Regenerated using generator version 0.15.0
10
+
11
+ ### v0.41.0 (2024-04-28)
12
+
13
+ * Regenerated from discovery document revision 20240419
14
+
15
+ ### v0.40.0 (2024-03-03)
16
+
17
+ * Regenerated from discovery document revision 20240222
18
+
19
+ ### v0.39.0 (2024-02-23)
20
+
21
+ * Regenerated using generator version 0.14.0
22
+
23
+ ### v0.38.0 (2024-01-28)
24
+
25
+ * Regenerated from discovery document revision 20240118
26
+ * Regenerated using generator version 0.13.1
27
+
28
+ ### v0.37.0 (2024-01-23)
29
+
30
+ * Regenerated using generator version 0.13.0
31
+
32
+ ### v0.36.0 (2023-12-24)
33
+
34
+ * Regenerated from discovery document revision 20231218
35
+
36
+ ### v0.35.0 (2023-12-10)
37
+
38
+ * Regenerated from discovery document revision 20231130
39
+
40
+ ### v0.34.0 (2023-09-10)
41
+
42
+ * Regenerated from discovery document revision 20230831
43
+
44
+ ### v0.33.0 (2023-08-27)
45
+
46
+ * Regenerated from discovery document revision 20230807
47
+
48
+ ### v0.32.0 (2023-04-16)
49
+
50
+ * Regenerated from discovery document revision 20230330
51
+
52
+ ### v0.31.0 (2023-02-19)
53
+
54
+ * Regenerated using generator version 0.12.0
55
+
56
+ ### v0.30.0 (2023-02-05)
57
+
58
+ * Regenerated from discovery document revision 20230126
59
+ * Regenerated using generator version 0.11.1
60
+
61
+ ### v0.29.0 (2022-11-19)
62
+
63
+ * Regenerated from discovery document revision 20221110
64
+ * Regenerated using generator version 0.11.0
65
+
66
+ ### v0.28.0 (2022-09-25)
67
+
68
+ * Regenerated from discovery document revision 20220915
69
+ * Regenerated using generator version 0.10.0
70
+
3
71
  ### v0.27.0 (2022-09-16)
4
72
 
5
73
  * Unspecified changes
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/dns/docs) may provide guida
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -22,13 +22,13 @@ module Google
22
22
  module Apis
23
23
  module DnsV1
24
24
 
25
- # A Change represents a set of ResourceRecordSet additions and deletions applied
26
- # atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are
27
- # modified by creating a new Change element in the Changes collection. In turn
28
- # the Changes collection also records the past modifications to the
29
- # ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is
30
- # the sum effect of applying all Change elements in the Changes collection in
31
- # sequence.
25
+ # A Change represents a set of `ResourceRecordSet` additions and deletions
26
+ # applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone
27
+ # are modified by creating a new Change element in the Changes collection. In
28
+ # turn the Changes collection also records the past modifications to the `
29
+ # ResourceRecordSets` in a `ManagedZone`. The current state of the `ManagedZone`
30
+ # is the sum effect of applying all `Change` elements in the `Changes`
31
+ # collection in sequence.
32
32
  class Change
33
33
  include Google::Apis::Core::Hashable
34
34
 
@@ -97,24 +97,19 @@ module Google
97
97
  # @return [Array<Google::Apis::DnsV1::Change>]
98
98
  attr_accessor :changes
99
99
 
100
- # Elements common to every response.
101
- # Corresponds to the JSON property `header`
102
- # @return [Google::Apis::DnsV1::ResponseHeader]
103
- attr_accessor :header
104
-
105
100
  # Type of resource.
106
101
  # Corresponds to the JSON property `kind`
107
102
  # @return [String]
108
103
  attr_accessor :kind
109
104
 
110
- # The presence of this field indicates that there exist more results following
111
- # your last page of results in pagination order. To fetch them, make another
112
- # list request using this value as your pagination token. This lets you retrieve
113
- # the complete contents of even very large collections one page at a time.
114
- # However, if the contents of the collection change between the first and last
115
- # paginated list request, the set of all elements returned are an inconsistent
116
- # view of the collection. You cannot retrieve a "snapshot" of collections larger
117
- # than the maximum page size.
105
+ # This field indicates that more results are available beyond the last page
106
+ # displayed. To fetch the results, make another list request and use this value
107
+ # as your page token. This lets you retrieve the complete contents of a very
108
+ # large collection one page at a time. However, if the contents of the
109
+ # collection change between the first and last paginated list request, the set
110
+ # of all elements returned are an inconsistent view of the collection. You can't
111
+ # retrieve a consistent snapshot of a collection larger than the maximum page
112
+ # size.
118
113
  # Corresponds to the JSON property `nextPageToken`
119
114
  # @return [String]
120
115
  attr_accessor :next_page_token
@@ -126,7 +121,6 @@ module Google
126
121
  # Update properties of this object
127
122
  def update!(**args)
128
123
  @changes = args[:changes] if args.key?(:changes)
129
- @header = args[:header] if args.key?(:header)
130
124
  @kind = args[:kind] if args.key?(:kind)
131
125
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
132
126
  end
@@ -305,24 +299,19 @@ module Google
305
299
  # @return [Array<Google::Apis::DnsV1::DnsKey>]
306
300
  attr_accessor :dns_keys
307
301
 
308
- # Elements common to every response.
309
- # Corresponds to the JSON property `header`
310
- # @return [Google::Apis::DnsV1::ResponseHeader]
311
- attr_accessor :header
312
-
313
302
  # Type of resource.
314
303
  # Corresponds to the JSON property `kind`
315
304
  # @return [String]
316
305
  attr_accessor :kind
317
306
 
318
- # The presence of this field indicates that there exist more results following
319
- # your last page of results in pagination order. To fetch them, make another
320
- # list request using this value as your pagination token. In this way you can
321
- # retrieve the complete contents of even very large collections one page at a
322
- # time. However, if the contents of the collection change between the first and
323
- # last paginated list request, the set of all elements returned are an
324
- # inconsistent view of the collection. There is no way to retrieve a "snapshot"
325
- # of collections larger than the maximum page size.
307
+ # This field indicates that more results are available beyond the last page
308
+ # displayed. To fetch the results, make another list request and use this value
309
+ # as your page token. This lets you retrieve the complete contents of a very
310
+ # large collection one page at a time. However, if the contents of the
311
+ # collection change between the first and last paginated list request, the set
312
+ # of all elements returned are an inconsistent view of the collection. You can't
313
+ # retrieve a consistent snapshot of a collection larger than the maximum page
314
+ # size.
326
315
  # Corresponds to the JSON property `nextPageToken`
327
316
  # @return [String]
328
317
  attr_accessor :next_page_token
@@ -334,7 +323,6 @@ module Google
334
323
  # Update properties of this object
335
324
  def update!(**args)
336
325
  @dns_keys = args[:dns_keys] if args.key?(:dns_keys)
337
- @header = args[:header] if args.key?(:header)
338
326
  @kind = args[:kind] if args.key?(:kind)
339
327
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
340
328
  end
@@ -503,7 +491,27 @@ module Google
503
491
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
504
492
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
505
493
  # email address that represents a Google group. For example, `admins@example.com`
506
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
494
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
495
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
496
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
497
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
498
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
499
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
500
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
501
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
502
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
503
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
504
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
505
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
506
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
507
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
508
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
509
+ # googleapis.com/projects/`project_number`/locations/global/
510
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
511
+ # All identities in a workload identity pool with a certain attribute. * `
512
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
513
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
514
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
507
515
  # identifier) representing a user that has been recently deleted. For example, `
508
516
  # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
509
517
  # value reverts to `user:`emailid`` and the recovered user retains the role in
@@ -517,14 +525,19 @@ module Google
517
525
  # been recently deleted. For example, `admins@example.com?uid=
518
526
  # 123456789012345678901`. If the group is recovered, this value reverts to `
519
527
  # group:`emailid`` and the recovered group retains the role in the binding. * `
520
- # domain:`domain``: The G Suite domain (primary) that represents all the users
521
- # of that domain. For example, `google.com` or `example.com`.
528
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
529
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
530
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
531
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
522
532
  # Corresponds to the JSON property `members`
523
533
  # @return [Array<String>]
524
534
  attr_accessor :members
525
535
 
526
536
  # Role that is assigned to the list of `members`, or principals. For example, `
527
- # roles/viewer`, `roles/editor`, or `roles/owner`.
537
+ # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
538
+ # roles and permissions, see the [IAM documentation](https://cloud.google.com/
539
+ # iam/docs/roles-overview). For a list of the available pre-defined roles, see [
540
+ # here](https://cloud.google.com/iam/docs/understanding-roles).
528
541
  # Corresponds to the JSON property `role`
529
542
  # @return [String]
530
543
  attr_accessor :role
@@ -599,22 +612,22 @@ module Google
599
612
  # evaluates to `true`. A condition can add constraints based on attributes of
600
613
  # the request, the resource, or both. To learn which resources support
601
614
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
602
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
615
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
603
616
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
604
617
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
605
618
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
606
619
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
607
620
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
608
621
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
609
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
610
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
611
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
612
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
613
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
614
- # access description: Does not grant access after Sep 2020 expression: request.
615
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
616
- # a description of IAM and its features, see the [IAM documentation](https://
617
- # cloud.google.com/iam/docs/).
622
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
623
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
624
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
625
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
626
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
627
+ # title: expirable access description: Does not grant access after Sep 2020
628
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
629
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
630
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
618
631
  class GoogleIamV1Policy
619
632
  include Google::Apis::Core::Hashable
620
633
 
@@ -698,22 +711,22 @@ module Google
698
711
  # evaluates to `true`. A condition can add constraints based on attributes of
699
712
  # the request, the resource, or both. To learn which resources support
700
713
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
701
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
714
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
702
715
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
703
716
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
704
717
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
705
718
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
706
719
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
707
720
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
708
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
709
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
710
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
711
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
712
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
713
- # access description: Does not grant access after Sep 2020 expression: request.
714
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
715
- # a description of IAM and its features, see the [IAM documentation](https://
716
- # cloud.google.com/iam/docs/).
721
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
722
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
723
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
724
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
725
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
726
+ # title: expirable access description: Does not grant access after Sep 2020
727
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
728
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
729
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
717
730
  # Corresponds to the JSON property `policy`
718
731
  # @return [Google::Apis::DnsV1::GoogleIamV1Policy]
719
732
  attr_accessor :policy
@@ -1019,6 +1032,12 @@ module Google
1019
1032
  # @return [String]
1020
1033
  attr_accessor :ipv4_address
1021
1034
 
1035
+ # IPv6 address of a target name server. Does not accept both fields (ipv4 & ipv6)
1036
+ # being populated. Public preview as of November 2022.
1037
+ # Corresponds to the JSON property `ipv6Address`
1038
+ # @return [String]
1039
+ attr_accessor :ipv6_address
1040
+
1022
1041
  #
1023
1042
  # Corresponds to the JSON property `kind`
1024
1043
  # @return [String]
@@ -1032,6 +1051,7 @@ module Google
1032
1051
  def update!(**args)
1033
1052
  @forwarding_path = args[:forwarding_path] if args.key?(:forwarding_path)
1034
1053
  @ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address)
1054
+ @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
1035
1055
  @kind = args[:kind] if args.key?(:kind)
1036
1056
  end
1037
1057
  end
@@ -1040,24 +1060,19 @@ module Google
1040
1060
  class ManagedZoneOperationsListResponse
1041
1061
  include Google::Apis::Core::Hashable
1042
1062
 
1043
- # Elements common to every response.
1044
- # Corresponds to the JSON property `header`
1045
- # @return [Google::Apis::DnsV1::ResponseHeader]
1046
- attr_accessor :header
1047
-
1048
1063
  # Type of resource.
1049
1064
  # Corresponds to the JSON property `kind`
1050
1065
  # @return [String]
1051
1066
  attr_accessor :kind
1052
1067
 
1053
- # The presence of this field indicates that there exist more results following
1054
- # your last page of results in pagination order. To fetch them, make another
1055
- # list request using this value as your page token. This lets you retrieve the
1056
- # complete contents of even very large collections one page at a time. However,
1057
- # if the contents of the collection change between the first and last paginated
1058
- # list request, the set of all elements returned are an inconsistent view of the
1059
- # collection. You cannot retrieve a consistent snapshot of a collection larger
1060
- # than the maximum page size.
1068
+ # This field indicates that more results are available beyond the last page
1069
+ # displayed. To fetch the results, make another list request and use this value
1070
+ # as your page token. This lets you retrieve the complete contents of a very
1071
+ # large collection one page at a time. However, if the contents of the
1072
+ # collection change between the first and last paginated list request, the set
1073
+ # of all elements returned are an inconsistent view of the collection. You can't
1074
+ # retrieve a consistent snapshot of a collection larger than the maximum page
1075
+ # size.
1061
1076
  # Corresponds to the JSON property `nextPageToken`
1062
1077
  # @return [String]
1063
1078
  attr_accessor :next_page_token
@@ -1073,7 +1088,6 @@ module Google
1073
1088
 
1074
1089
  # Update properties of this object
1075
1090
  def update!(**args)
1076
- @header = args[:header] if args.key?(:header)
1077
1091
  @kind = args[:kind] if args.key?(:kind)
1078
1092
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1079
1093
  @operations = args[:operations] if args.key?(:operations)
@@ -1123,8 +1137,8 @@ module Google
1123
1137
  attr_accessor :kind
1124
1138
 
1125
1139
  # The fully qualified URL of the VPC network to forward queries to. This should
1126
- # be formatted like https://www.googleapis.com/compute/v1/projects/`project`/
1127
- # global/networks/`network`
1140
+ # be formatted like `https://www.googleapis.com/compute/v1/projects/`project`/
1141
+ # global/networks/`network``
1128
1142
  # Corresponds to the JSON property `networkUrl`
1129
1143
  # @return [String]
1130
1144
  attr_accessor :network_url
@@ -1209,9 +1223,9 @@ module Google
1209
1223
  # @return [String]
1210
1224
  attr_accessor :kind
1211
1225
 
1212
- # The fully qualified URL of the VPC network to bind to. Format this URL like
1226
+ # The fully qualified URL of the VPC network to bind to. Format this URL like `
1213
1227
  # https://www.googleapis.com/compute/v1/projects/`project`/global/networks/`
1214
- # network`
1228
+ # network``
1215
1229
  # Corresponds to the JSON property `networkUrl`
1216
1230
  # @return [String]
1217
1231
  attr_accessor :network_url
@@ -1287,8 +1301,8 @@ module Google
1287
1301
  attr_accessor :kind
1288
1302
 
1289
1303
  # The fully qualified URL of the namespace associated with the zone. Format must
1290
- # be https://servicedirectory.googleapis.com/v1/projects/`project`/locations/`
1291
- # location`/namespaces/`namespace`
1304
+ # be `https://servicedirectory.googleapis.com/v1/projects/`project`/locations/`
1305
+ # location`/namespaces/`namespace``
1292
1306
  # Corresponds to the JSON property `namespaceUrl`
1293
1307
  # @return [String]
1294
1308
  attr_accessor :namespace_url
@@ -1309,11 +1323,6 @@ module Google
1309
1323
  class ListManagedZonesResponse
1310
1324
  include Google::Apis::Core::Hashable
1311
1325
 
1312
- # Elements common to every response.
1313
- # Corresponds to the JSON property `header`
1314
- # @return [Google::Apis::DnsV1::ResponseHeader]
1315
- attr_accessor :header
1316
-
1317
1326
  # Type of resource.
1318
1327
  # Corresponds to the JSON property `kind`
1319
1328
  # @return [String]
@@ -1324,14 +1333,14 @@ module Google
1324
1333
  # @return [Array<Google::Apis::DnsV1::ManagedZone>]
1325
1334
  attr_accessor :managed_zones
1326
1335
 
1327
- # The presence of this field indicates that there exist more results following
1328
- # your last page of results in pagination order. To fetch them, make another
1329
- # list request using this value as your page token. This lets you the complete
1330
- # contents of even very large collections one page at a time. However, if the
1331
- # contents of the collection change between the first and last paginated list
1332
- # request, the set of all elements returned are an inconsistent view of the
1333
- # collection. You cannot retrieve a consistent snapshot of a collection larger
1334
- # than the maximum page size.
1336
+ # This field indicates that more results are available beyond the last page
1337
+ # displayed. To fetch the results, make another list request and use this value
1338
+ # as your page token. This lets you retrieve the complete contents of a very
1339
+ # large collection one page at a time. However, if the contents of the
1340
+ # collection change between the first and last paginated list request, the set
1341
+ # of all elements returned are an inconsistent view of the collection. You can't
1342
+ # retrieve a consistent snapshot of a collection larger than the maximum page
1343
+ # size.
1335
1344
  # Corresponds to the JSON property `nextPageToken`
1336
1345
  # @return [String]
1337
1346
  attr_accessor :next_page_token
@@ -1342,7 +1351,6 @@ module Google
1342
1351
 
1343
1352
  # Update properties of this object
1344
1353
  def update!(**args)
1345
- @header = args[:header] if args.key?(:header)
1346
1354
  @kind = args[:kind] if args.key?(:kind)
1347
1355
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
1348
1356
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@@ -1479,24 +1487,19 @@ module Google
1479
1487
  class PoliciesListResponse
1480
1488
  include Google::Apis::Core::Hashable
1481
1489
 
1482
- # Elements common to every response.
1483
- # Corresponds to the JSON property `header`
1484
- # @return [Google::Apis::DnsV1::ResponseHeader]
1485
- attr_accessor :header
1486
-
1487
1490
  # Type of resource.
1488
1491
  # Corresponds to the JSON property `kind`
1489
1492
  # @return [String]
1490
1493
  attr_accessor :kind
1491
1494
 
1492
- # The presence of this field indicates that there exist more results following
1493
- # your last page of results in pagination order. To fetch them, make another
1494
- # list request using this value as your page token. This lets you the complete
1495
- # contents of even very large collections one page at a time. However, if the
1496
- # contents of the collection change between the first and last paginated list
1497
- # request, the set of all elements returned are an inconsistent view of the
1498
- # collection. You cannot retrieve a consistent snapshot of a collection larger
1499
- # than the maximum page size.
1495
+ # This field indicates that more results are available beyond the last page
1496
+ # displayed. To fetch the results, make another list request and use this value
1497
+ # as your page token. This lets you retrieve the complete contents of a very
1498
+ # large collection one page at a time. However, if the contents of the
1499
+ # collection change between the first and last paginated list request, the set
1500
+ # of all elements returned are an inconsistent view of the collection. You can't
1501
+ # retrieve a consistent snapshot of a collection larger than the maximum page
1502
+ # size.
1500
1503
  # Corresponds to the JSON property `nextPageToken`
1501
1504
  # @return [String]
1502
1505
  attr_accessor :next_page_token
@@ -1512,7 +1515,6 @@ module Google
1512
1515
 
1513
1516
  # Update properties of this object
1514
1517
  def update!(**args)
1515
- @header = args[:header] if args.key?(:header)
1516
1518
  @kind = args[:kind] if args.key?(:kind)
1517
1519
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1518
1520
  @policies = args[:policies] if args.key?(:policies)
@@ -1523,11 +1525,6 @@ module Google
1523
1525
  class PoliciesPatchResponse
1524
1526
  include Google::Apis::Core::Hashable
1525
1527
 
1526
- # Elements common to every response.
1527
- # Corresponds to the JSON property `header`
1528
- # @return [Google::Apis::DnsV1::ResponseHeader]
1529
- attr_accessor :header
1530
-
1531
1528
  # A policy is a collection of DNS rules applied to one or more Virtual Private
1532
1529
  # Cloud resources.
1533
1530
  # Corresponds to the JSON property `policy`
@@ -1540,7 +1537,6 @@ module Google
1540
1537
 
1541
1538
  # Update properties of this object
1542
1539
  def update!(**args)
1543
- @header = args[:header] if args.key?(:header)
1544
1540
  @policy = args[:policy] if args.key?(:policy)
1545
1541
  end
1546
1542
  end
@@ -1549,11 +1545,6 @@ module Google
1549
1545
  class PoliciesUpdateResponse
1550
1546
  include Google::Apis::Core::Hashable
1551
1547
 
1552
- # Elements common to every response.
1553
- # Corresponds to the JSON property `header`
1554
- # @return [Google::Apis::DnsV1::ResponseHeader]
1555
- attr_accessor :header
1556
-
1557
1548
  # A policy is a collection of DNS rules applied to one or more Virtual Private
1558
1549
  # Cloud resources.
1559
1550
  # Corresponds to the JSON property `policy`
@@ -1566,7 +1557,6 @@ module Google
1566
1557
 
1567
1558
  # Update properties of this object
1568
1559
  def update!(**args)
1569
- @header = args[:header] if args.key?(:header)
1570
1560
  @policy = args[:policy] if args.key?(:policy)
1571
1561
  end
1572
1562
  end
@@ -1681,11 +1671,17 @@ module Google
1681
1671
  # @return [String]
1682
1672
  attr_accessor :forwarding_path
1683
1673
 
1684
- # IPv4 address to forward to.
1674
+ # IPv4 address to forward queries to.
1685
1675
  # Corresponds to the JSON property `ipv4Address`
1686
1676
  # @return [String]
1687
1677
  attr_accessor :ipv4_address
1688
1678
 
1679
+ # IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being
1680
+ # populated. Public preview as of November 2022.
1681
+ # Corresponds to the JSON property `ipv6Address`
1682
+ # @return [String]
1683
+ attr_accessor :ipv6_address
1684
+
1689
1685
  #
1690
1686
  # Corresponds to the JSON property `kind`
1691
1687
  # @return [String]
@@ -1699,6 +1695,7 @@ module Google
1699
1695
  def update!(**args)
1700
1696
  @forwarding_path = args[:forwarding_path] if args.key?(:forwarding_path)
1701
1697
  @ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address)
1698
+ @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
1702
1699
  @kind = args[:kind] if args.key?(:kind)
1703
1700
  end
1704
1701
  end
@@ -1732,7 +1729,7 @@ module Google
1732
1729
 
1733
1730
  # A project resource. The project is a top level container for resources
1734
1731
  # including Cloud DNS ManagedZones. Projects can be created only in the APIs
1735
- # console. Next tag: 7.
1732
+ # console.
1736
1733
  class Project
1737
1734
  include Google::Apis::Core::Hashable
1738
1735
 
@@ -1820,6 +1817,11 @@ module Google
1820
1817
  # @return [Fixnum]
1821
1818
  attr_accessor :managed_zones_per_network
1822
1819
 
1820
+ # Maximum number of nameservers per delegation, meant to prevent abuse
1821
+ # Corresponds to the JSON property `nameserversPerDelegation`
1822
+ # @return [Fixnum]
1823
+ attr_accessor :nameservers_per_delegation
1824
+
1823
1825
  # Maximum allowed number of networks to which a privately scoped zone can be
1824
1826
  # attached.
1825
1827
  # Corresponds to the JSON property `networksPerManagedZone`
@@ -1913,6 +1915,7 @@ module Google
1913
1915
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
1914
1916
  @managed_zones_per_gke_cluster = args[:managed_zones_per_gke_cluster] if args.key?(:managed_zones_per_gke_cluster)
1915
1917
  @managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network)
1918
+ @nameservers_per_delegation = args[:nameservers_per_delegation] if args.key?(:nameservers_per_delegation)
1916
1919
  @networks_per_managed_zone = args[:networks_per_managed_zone] if args.key?(:networks_per_managed_zone)
1917
1920
  @networks_per_policy = args[:networks_per_policy] if args.key?(:networks_per_policy)
1918
1921
  @networks_per_response_policy = args[:networks_per_response_policy] if args.key?(:networks_per_response_policy)
@@ -1937,7 +1940,7 @@ module Google
1937
1940
  class RrSetRoutingPolicy
1938
1941
  include Google::Apis::Core::Hashable
1939
1942
 
1940
- # Configures a RRSetRoutingPolicy that routes based on the geo location of the
1943
+ # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the
1941
1944
  # querying user.
1942
1945
  # Corresponds to the JSON property `geo`
1943
1946
  # @return [Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy]
@@ -1973,17 +1976,17 @@ module Google
1973
1976
  end
1974
1977
  end
1975
1978
 
1976
- # Configures a RRSetRoutingPolicy that routes based on the geo location of the
1979
+ # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the
1977
1980
  # querying user.
1978
1981
  class RrSetRoutingPolicyGeoPolicy
1979
1982
  include Google::Apis::Core::Hashable
1980
1983
 
1981
1984
  # Without fencing, if health check fails for all configured items in the current
1982
- # geo bucket, we'll failover to the next nearest geo bucket. With fencing, if
1983
- # health check is enabled, as long as some targets in the current geo bucket are
1984
- # healthy, we'll return only the healthy targets. However, if they're all
1985
- # unhealthy, we won't failover to the next nearest bucket, we'll simply return
1986
- # all the items in the current bucket even though they're unhealthy.
1985
+ # geo bucket, we failover to the next nearest geo bucket. With fencing, if
1986
+ # health checking is enabled, as long as some targets in the current geo bucket
1987
+ # are healthy, we return only the healthy targets. However, if all targets are
1988
+ # unhealthy, we don't failover to the next nearest bucket; instead, we return
1989
+ # all the items in the current bucket even when all targets are unhealthy.
1987
1990
  # Corresponds to the JSON property `enableFencing`
1988
1991
  # @return [Boolean]
1989
1992
  attr_accessor :enable_fencing
@@ -2040,9 +2043,9 @@ module Google
2040
2043
  # @return [Array<String>]
2041
2044
  attr_accessor :rrdatas
2042
2045
 
2043
- # DNSSEC generated signatures for all the rrdata within this item. Note that if
2044
- # health checked targets are provided for DNSSEC enabled zones, there's a
2045
- # restriction of 1 ip per item. .
2046
+ # DNSSEC generated signatures for all the `rrdata` within this item. If health
2047
+ # checked targets are provided for DNSSEC enabled zones, there's a restriction
2048
+ # of 1 IP address per item.
2046
2049
  # Corresponds to the JSON property `signatureRrdatas`
2047
2050
  # @return [Array<String>]
2048
2051
  attr_accessor :signature_rrdatas
@@ -2067,7 +2070,7 @@ module Google
2067
2070
  class RrSetRoutingPolicyHealthCheckTargets
2068
2071
  include Google::Apis::Core::Hashable
2069
2072
 
2070
- #
2073
+ # Configuration for internal load balancers to be health checked.
2071
2074
  # Corresponds to the JSON property `internalLoadBalancers`
2072
2075
  # @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyLoadBalancerTarget>]
2073
2076
  attr_accessor :internal_load_balancers
@@ -2082,16 +2085,16 @@ module Google
2082
2085
  end
2083
2086
  end
2084
2087
 
2085
- #
2088
+ # The configuration for an individual load balancer to health check.
2086
2089
  class RrSetRoutingPolicyLoadBalancerTarget
2087
2090
  include Google::Apis::Core::Hashable
2088
2091
 
2089
- # The frontend IP address of the
2092
+ # The frontend IP address of the load balancer to health check.
2090
2093
  # Corresponds to the JSON property `ipAddress`
2091
2094
  # @return [String]
2092
2095
  attr_accessor :ip_address
2093
2096
 
2094
- #
2097
+ # The protocol of the load balancer to health check.
2095
2098
  # Corresponds to the JSON property `ipProtocol`
2096
2099
  # @return [String]
2097
2100
  attr_accessor :ip_protocol
@@ -2101,29 +2104,34 @@ module Google
2101
2104
  # @return [String]
2102
2105
  attr_accessor :kind
2103
2106
 
2104
- #
2107
+ # The type of load balancer specified by this target. This value must match the
2108
+ # configuration of the load balancer located at the LoadBalancerTarget's IP
2109
+ # address, port, and region. Use the following: - *regionalL4ilb*: for a
2110
+ # regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a
2111
+ # regional internal Application Load Balancer. - *globalL7ilb*: for a global
2112
+ # internal Application Load Balancer.
2105
2113
  # Corresponds to the JSON property `loadBalancerType`
2106
2114
  # @return [String]
2107
2115
  attr_accessor :load_balancer_type
2108
2116
 
2109
- # The fully qualified url of the network on which the ILB is
2117
+ # The fully qualified URL of the network that the load balancer is attached to.
2118
+ # This should be formatted like `https://www.googleapis.com/compute/v1/projects/`
2119
+ # project`/global/networks/`network``.
2110
2120
  # Corresponds to the JSON property `networkUrl`
2111
2121
  # @return [String]
2112
2122
  attr_accessor :network_url
2113
2123
 
2114
- # Load Balancer to health check. The configured port of the Load Balancer.
2124
+ # The configured port of the load balancer.
2115
2125
  # Corresponds to the JSON property `port`
2116
2126
  # @return [String]
2117
2127
  attr_accessor :port
2118
2128
 
2119
- # present. This should be formatted like https://www.googleapis.com/compute/v1/
2120
- # projects/`project`/global/networks/`network` The project ID in which the ILB
2121
- # exists.
2129
+ # The project ID in which the load balancer is located.
2122
2130
  # Corresponds to the JSON property `project`
2123
2131
  # @return [String]
2124
2132
  attr_accessor :project
2125
2133
 
2126
- # The region for regional ILBs.
2134
+ # The region in which the load balancer is located.
2127
2135
  # Corresponds to the JSON property `region`
2128
2136
  # @return [String]
2129
2137
  attr_accessor :region
@@ -2151,7 +2159,7 @@ module Google
2151
2159
  class RrSetRoutingPolicyPrimaryBackupPolicy
2152
2160
  include Google::Apis::Core::Hashable
2153
2161
 
2154
- # Configures a RRSetRoutingPolicy that routes based on the geo location of the
2162
+ # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the
2155
2163
  # querying user.
2156
2164
  # Corresponds to the JSON property `backupGeoTargets`
2157
2165
  # @return [Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy]
@@ -2169,7 +2177,7 @@ module Google
2169
2177
  # @return [Google::Apis::DnsV1::RrSetRoutingPolicyHealthCheckTargets]
2170
2178
  attr_accessor :primary_targets
2171
2179
 
2172
- # When serving state is PRIMARY, this field provides the option of sending a
2180
+ # When serving state is `PRIMARY`, this field provides the option of sending a
2173
2181
  # small percentage of the traffic to the backup targets.
2174
2182
  # Corresponds to the JSON property `trickleTraffic`
2175
2183
  # @return [Float]
@@ -2234,17 +2242,17 @@ module Google
2234
2242
  # @return [Array<String>]
2235
2243
  attr_accessor :rrdatas
2236
2244
 
2237
- # DNSSEC generated signatures for all the rrdata within this item. Note that if
2238
- # health checked targets are provided for DNSSEC enabled zones, there's a
2239
- # restriction of 1 ip per item. .
2245
+ # DNSSEC generated signatures for all the `rrdata` within this item. Note that
2246
+ # if health checked targets are provided for DNSSEC enabled zones, there's a
2247
+ # restriction of 1 IP address per item.
2240
2248
  # Corresponds to the JSON property `signatureRrdatas`
2241
2249
  # @return [Array<String>]
2242
2250
  attr_accessor :signature_rrdatas
2243
2251
 
2244
- # The weight corresponding to this subset of rrdata. When multiple
2245
- # WeightedRoundRobinPolicyItems are configured, the probability of returning an
2246
- # rrset is proportional to its weight relative to the sum of weights configured
2247
- # for all items. This weight should be non-negative.
2252
+ # The weight corresponding to this `WrrPolicyItem` object. When multiple `
2253
+ # WrrPolicyItem` objects are configured, the probability of returning an `
2254
+ # WrrPolicyItem` object's data is proportional to its weight relative to the sum
2255
+ # of weights configured for all items. This weight must be non-negative.
2248
2256
  # Corresponds to the JSON property `weight`
2249
2257
  # @return [Float]
2250
2258
  attr_accessor :weight
@@ -2295,7 +2303,7 @@ module Google
2295
2303
  # @return [Array<String>]
2296
2304
  attr_accessor :signature_rrdatas
2297
2305
 
2298
- # Number of seconds that this ResourceRecordSet can be cached by resolvers.
2306
+ # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
2299
2307
  # Corresponds to the JSON property `ttl`
2300
2308
  # @return [Fixnum]
2301
2309
  attr_accessor :ttl
@@ -2339,24 +2347,19 @@ module Google
2339
2347
  class ListResourceRecordSetsResponse
2340
2348
  include Google::Apis::Core::Hashable
2341
2349
 
2342
- # Elements common to every response.
2343
- # Corresponds to the JSON property `header`
2344
- # @return [Google::Apis::DnsV1::ResponseHeader]
2345
- attr_accessor :header
2346
-
2347
2350
  # Type of resource.
2348
2351
  # Corresponds to the JSON property `kind`
2349
2352
  # @return [String]
2350
2353
  attr_accessor :kind
2351
2354
 
2352
- # The presence of this field indicates that there exist more results following
2353
- # your last page of results in pagination order. To fetch them, make another
2354
- # list request using this value as your pagination token. This lets you retrieve
2355
- # complete contents of even larger collections, one page at a time. However, if
2356
- # the contents of the collection change between the first and last paginated
2357
- # list request, the set of elements returned are an inconsistent view of the
2358
- # collection. You cannot retrieve a consistent snapshot of a collection larger
2359
- # than the maximum page size.
2355
+ # This field indicates that more results are available beyond the last page
2356
+ # displayed. To fetch the results, make another list request and use this value
2357
+ # as your page token. This lets you retrieve the complete contents of a very
2358
+ # large collection one page at a time. However, if the contents of the
2359
+ # collection change between the first and last paginated list request, the set
2360
+ # of all elements returned are an inconsistent view of the collection. You can't
2361
+ # retrieve a consistent snapshot of a collection larger than the maximum page
2362
+ # size.
2360
2363
  # Corresponds to the JSON property `nextPageToken`
2361
2364
  # @return [String]
2362
2365
  attr_accessor :next_page_token
@@ -2372,51 +2375,24 @@ module Google
2372
2375
 
2373
2376
  # Update properties of this object
2374
2377
  def update!(**args)
2375
- @header = args[:header] if args.key?(:header)
2376
2378
  @kind = args[:kind] if args.key?(:kind)
2377
2379
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2378
2380
  @rrsets = args[:rrsets] if args.key?(:rrsets)
2379
2381
  end
2380
2382
  end
2381
2383
 
2382
- # Elements common to every response.
2383
- class ResponseHeader
2384
- include Google::Apis::Core::Hashable
2385
-
2386
- # For mutating operation requests that completed successfully. This is the
2387
- # client_operation_id if the client specified it, otherwise it is generated by
2388
- # the server (output only).
2389
- # Corresponds to the JSON property `operationId`
2390
- # @return [String]
2391
- attr_accessor :operation_id
2392
-
2393
- def initialize(**args)
2394
- update!(**args)
2395
- end
2396
-
2397
- # Update properties of this object
2398
- def update!(**args)
2399
- @operation_id = args[:operation_id] if args.key?(:operation_id)
2400
- end
2401
- end
2402
-
2403
2384
  #
2404
2385
  class ResponsePoliciesListResponse
2405
2386
  include Google::Apis::Core::Hashable
2406
2387
 
2407
- # Elements common to every response.
2408
- # Corresponds to the JSON property `header`
2409
- # @return [Google::Apis::DnsV1::ResponseHeader]
2410
- attr_accessor :header
2411
-
2412
- # The presence of this field indicates that there exist more results following
2413
- # your last page of results in pagination order. To fetch them, make another
2414
- # list request using this value as your page token. This lets you the complete
2415
- # contents of even very large collections one page at a time. However, if the
2416
- # contents of the collection change between the first and last paginated list
2417
- # request, the set of all elements returned are an inconsistent view of the
2418
- # collection. You cannot retrieve a consistent snapshot of a collection larger
2419
- # than the maximum page size.
2388
+ # This field indicates that more results are available beyond the last page
2389
+ # displayed. To fetch the results, make another list request and use this value
2390
+ # as your page token. This lets you retrieve the complete contents of a very
2391
+ # large collection one page at a time. However, if the contents of the
2392
+ # collection change between the first and last paginated list request, the set
2393
+ # of all elements returned are an inconsistent view of the collection. You can't
2394
+ # retrieve a consistent snapshot of a collection larger than the maximum page
2395
+ # size.
2420
2396
  # Corresponds to the JSON property `nextPageToken`
2421
2397
  # @return [String]
2422
2398
  attr_accessor :next_page_token
@@ -2432,7 +2408,6 @@ module Google
2432
2408
 
2433
2409
  # Update properties of this object
2434
2410
  def update!(**args)
2435
- @header = args[:header] if args.key?(:header)
2436
2411
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2437
2412
  @response_policies = args[:response_policies] if args.key?(:response_policies)
2438
2413
  end
@@ -2442,11 +2417,6 @@ module Google
2442
2417
  class ResponsePoliciesPatchResponse
2443
2418
  include Google::Apis::Core::Hashable
2444
2419
 
2445
- # Elements common to every response.
2446
- # Corresponds to the JSON property `header`
2447
- # @return [Google::Apis::DnsV1::ResponseHeader]
2448
- attr_accessor :header
2449
-
2450
2420
  # A Response Policy is a collection of selectors that apply to queries made
2451
2421
  # against one or more Virtual Private Cloud networks.
2452
2422
  # Corresponds to the JSON property `responsePolicy`
@@ -2459,7 +2429,6 @@ module Google
2459
2429
 
2460
2430
  # Update properties of this object
2461
2431
  def update!(**args)
2462
- @header = args[:header] if args.key?(:header)
2463
2432
  @response_policy = args[:response_policy] if args.key?(:response_policy)
2464
2433
  end
2465
2434
  end
@@ -2468,11 +2437,6 @@ module Google
2468
2437
  class ResponsePoliciesUpdateResponse
2469
2438
  include Google::Apis::Core::Hashable
2470
2439
 
2471
- # Elements common to every response.
2472
- # Corresponds to the JSON property `header`
2473
- # @return [Google::Apis::DnsV1::ResponseHeader]
2474
- attr_accessor :header
2475
-
2476
2440
  # A Response Policy is a collection of selectors that apply to queries made
2477
2441
  # against one or more Virtual Private Cloud networks.
2478
2442
  # Corresponds to the JSON property `responsePolicy`
@@ -2485,7 +2449,6 @@ module Google
2485
2449
 
2486
2450
  # Update properties of this object
2487
2451
  def update!(**args)
2488
- @header = args[:header] if args.key?(:header)
2489
2452
  @response_policy = args[:response_policy] if args.key?(:response_policy)
2490
2453
  end
2491
2454
  end
@@ -2516,6 +2479,11 @@ module Google
2516
2479
  # @return [String]
2517
2480
  attr_accessor :kind
2518
2481
 
2482
+ # User labels.
2483
+ # Corresponds to the JSON property `labels`
2484
+ # @return [Hash<String,String>]
2485
+ attr_accessor :labels
2486
+
2519
2487
  # List of network names specifying networks to which this policy is applied.
2520
2488
  # Corresponds to the JSON property `networks`
2521
2489
  # @return [Array<Google::Apis::DnsV1::ResponsePolicyNetwork>]
@@ -2536,6 +2504,7 @@ module Google
2536
2504
  @gke_clusters = args[:gke_clusters] if args.key?(:gke_clusters)
2537
2505
  @id = args[:id] if args.key?(:id)
2538
2506
  @kind = args[:kind] if args.key?(:kind)
2507
+ @labels = args[:labels] if args.key?(:labels)
2539
2508
  @networks = args[:networks] if args.key?(:networks)
2540
2509
  @response_policy_name = args[:response_policy_name] if args.key?(:response_policy_name)
2541
2510
  end
@@ -2579,8 +2548,8 @@ module Google
2579
2548
  attr_accessor :kind
2580
2549
 
2581
2550
  # The fully qualified URL of the VPC network to bind to. This should be
2582
- # formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/
2583
- # networks/`network`
2551
+ # formatted like `https://www.googleapis.com/compute/v1/projects/`project`/
2552
+ # global/networks/`network``
2584
2553
  # Corresponds to the JSON property `networkUrl`
2585
2554
  # @return [String]
2586
2555
  attr_accessor :network_url
@@ -2671,19 +2640,14 @@ module Google
2671
2640
  class ResponsePolicyRulesListResponse
2672
2641
  include Google::Apis::Core::Hashable
2673
2642
 
2674
- # Elements common to every response.
2675
- # Corresponds to the JSON property `header`
2676
- # @return [Google::Apis::DnsV1::ResponseHeader]
2677
- attr_accessor :header
2678
-
2679
- # The presence of this field indicates that there exist more results following
2680
- # your last page of results in pagination order. To fetch them, make another
2681
- # list request using this value as your page token. This lets you the complete
2682
- # contents of even very large collections one page at a time. However, if the
2683
- # contents of the collection change between the first and last paginated list
2684
- # request, the set of all elements returned are an inconsistent view of the
2685
- # collection. You cannot retrieve a consistent snapshot of a collection larger
2686
- # than the maximum page size.
2643
+ # This field indicates that more results are available beyond the last page
2644
+ # displayed. To fetch the results, make another list request and use this value
2645
+ # as your page token. This lets you retrieve the complete contents of a very
2646
+ # large collection one page at a time. However, if the contents of the
2647
+ # collection change between the first and last paginated list request, the set
2648
+ # of all elements returned are an inconsistent view of the collection. You can't
2649
+ # retrieve a consistent snapshot of a collection larger than the maximum page
2650
+ # size.
2687
2651
  # Corresponds to the JSON property `nextPageToken`
2688
2652
  # @return [String]
2689
2653
  attr_accessor :next_page_token
@@ -2699,7 +2663,6 @@ module Google
2699
2663
 
2700
2664
  # Update properties of this object
2701
2665
  def update!(**args)
2702
- @header = args[:header] if args.key?(:header)
2703
2666
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2704
2667
  @response_policy_rules = args[:response_policy_rules] if args.key?(:response_policy_rules)
2705
2668
  end
@@ -2709,11 +2672,6 @@ module Google
2709
2672
  class ResponsePolicyRulesPatchResponse
2710
2673
  include Google::Apis::Core::Hashable
2711
2674
 
2712
- # Elements common to every response.
2713
- # Corresponds to the JSON property `header`
2714
- # @return [Google::Apis::DnsV1::ResponseHeader]
2715
- attr_accessor :header
2716
-
2717
2675
  # A Response Policy Rule is a selector that applies its behavior to queries that
2718
2676
  # match the selector. Selectors are DNS names, which may be wildcards or exact
2719
2677
  # matches. Each DNS query subject to a Response Policy matches at most one
@@ -2729,7 +2687,6 @@ module Google
2729
2687
 
2730
2688
  # Update properties of this object
2731
2689
  def update!(**args)
2732
- @header = args[:header] if args.key?(:header)
2733
2690
  @response_policy_rule = args[:response_policy_rule] if args.key?(:response_policy_rule)
2734
2691
  end
2735
2692
  end
@@ -2738,11 +2695,6 @@ module Google
2738
2695
  class ResponsePolicyRulesUpdateResponse
2739
2696
  include Google::Apis::Core::Hashable
2740
2697
 
2741
- # Elements common to every response.
2742
- # Corresponds to the JSON property `header`
2743
- # @return [Google::Apis::DnsV1::ResponseHeader]
2744
- attr_accessor :header
2745
-
2746
2698
  # A Response Policy Rule is a selector that applies its behavior to queries that
2747
2699
  # match the selector. Selectors are DNS names, which may be wildcards or exact
2748
2700
  # matches. Each DNS query subject to a Response Policy matches at most one
@@ -2758,7 +2710,6 @@ module Google
2758
2710
 
2759
2711
  # Update properties of this object
2760
2712
  def update!(**args)
2761
- @header = args[:header] if args.key?(:header)
2762
2713
  @response_policy_rule = args[:response_policy_rule] if args.key?(:response_policy_rule)
2763
2714
  end
2764
2715
  end
@@ -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.27.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220831"
25
+ REVISION = "20240531"
26
26
  end
27
27
  end
28
28
  end
@@ -346,12 +346,6 @@ module Google
346
346
  include Google::Apis::Core::JsonObjectSupport
347
347
  end
348
348
 
349
- class ResponseHeader
350
- class Representation < Google::Apis::Core::JsonRepresentation; end
351
-
352
- include Google::Apis::Core::JsonObjectSupport
353
- end
354
-
355
349
  class ResponsePoliciesListResponse
356
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
351
 
@@ -438,8 +432,6 @@ module Google
438
432
  class Representation < Google::Apis::Core::JsonRepresentation
439
433
  collection :changes, as: 'changes', class: Google::Apis::DnsV1::Change, decorator: Google::Apis::DnsV1::Change::Representation
440
434
 
441
- property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
442
-
443
435
  property :kind, as: 'kind'
444
436
  property :next_page_token, as: 'nextPageToken'
445
437
  end
@@ -486,8 +478,6 @@ module Google
486
478
  class Representation < Google::Apis::Core::JsonRepresentation
487
479
  collection :dns_keys, as: 'dnsKeys', class: Google::Apis::DnsV1::DnsKey, decorator: Google::Apis::DnsV1::DnsKey::Representation
488
480
 
489
- property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
490
-
491
481
  property :kind, as: 'kind'
492
482
  property :next_page_token, as: 'nextPageToken'
493
483
  end
@@ -643,6 +633,7 @@ module Google
643
633
  class Representation < Google::Apis::Core::JsonRepresentation
644
634
  property :forwarding_path, as: 'forwardingPath'
645
635
  property :ipv4_address, as: 'ipv4Address'
636
+ property :ipv6_address, as: 'ipv6Address'
646
637
  property :kind, as: 'kind'
647
638
  end
648
639
  end
@@ -650,8 +641,6 @@ module Google
650
641
  class ManagedZoneOperationsListResponse
651
642
  # @private
652
643
  class Representation < Google::Apis::Core::JsonRepresentation
653
- property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
654
-
655
644
  property :kind, as: 'kind'
656
645
  property :next_page_token, as: 'nextPageToken'
657
646
  collection :operations, as: 'operations', class: Google::Apis::DnsV1::Operation, decorator: Google::Apis::DnsV1::Operation::Representation
@@ -732,8 +721,6 @@ module Google
732
721
  class ListManagedZonesResponse
733
722
  # @private
734
723
  class Representation < Google::Apis::Core::JsonRepresentation
735
- property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
736
-
737
724
  property :kind, as: 'kind'
738
725
  collection :managed_zones, as: 'managedZones', class: Google::Apis::DnsV1::ManagedZone, decorator: Google::Apis::DnsV1::ManagedZone::Representation
739
726
 
@@ -780,8 +767,6 @@ module Google
780
767
  class PoliciesListResponse
781
768
  # @private
782
769
  class Representation < Google::Apis::Core::JsonRepresentation
783
- property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
784
-
785
770
  property :kind, as: 'kind'
786
771
  property :next_page_token, as: 'nextPageToken'
787
772
  collection :policies, as: 'policies', class: Google::Apis::DnsV1::Policy, decorator: Google::Apis::DnsV1::Policy::Representation
@@ -792,8 +777,6 @@ module Google
792
777
  class PoliciesPatchResponse
793
778
  # @private
794
779
  class Representation < Google::Apis::Core::JsonRepresentation
795
- property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
796
-
797
780
  property :policy, as: 'policy', class: Google::Apis::DnsV1::Policy, decorator: Google::Apis::DnsV1::Policy::Representation
798
781
 
799
782
  end
@@ -802,8 +785,6 @@ module Google
802
785
  class PoliciesUpdateResponse
803
786
  # @private
804
787
  class Representation < Google::Apis::Core::JsonRepresentation
805
- property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
806
-
807
788
  property :policy, as: 'policy', class: Google::Apis::DnsV1::Policy, decorator: Google::Apis::DnsV1::Policy::Representation
808
789
 
809
790
  end
@@ -839,6 +820,7 @@ module Google
839
820
  class Representation < Google::Apis::Core::JsonRepresentation
840
821
  property :forwarding_path, as: 'forwardingPath'
841
822
  property :ipv4_address, as: 'ipv4Address'
823
+ property :ipv6_address, as: 'ipv6Address'
842
824
  property :kind, as: 'kind'
843
825
  end
844
826
  end
@@ -874,6 +856,7 @@ module Google
874
856
  property :managed_zones, as: 'managedZones'
875
857
  property :managed_zones_per_gke_cluster, as: 'managedZonesPerGkeCluster'
876
858
  property :managed_zones_per_network, as: 'managedZonesPerNetwork'
859
+ property :nameservers_per_delegation, as: 'nameserversPerDelegation'
877
860
  property :networks_per_managed_zone, as: 'networksPerManagedZone'
878
861
  property :networks_per_policy, as: 'networksPerPolicy'
879
862
  property :networks_per_response_policy, as: 'networksPerResponsePolicy'
@@ -1006,8 +989,6 @@ module Google
1006
989
  class ListResourceRecordSetsResponse
1007
990
  # @private
1008
991
  class Representation < Google::Apis::Core::JsonRepresentation
1009
- property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
1010
-
1011
992
  property :kind, as: 'kind'
1012
993
  property :next_page_token, as: 'nextPageToken'
1013
994
  collection :rrsets, as: 'rrsets', class: Google::Apis::DnsV1::ResourceRecordSet, decorator: Google::Apis::DnsV1::ResourceRecordSet::Representation
@@ -1015,18 +996,9 @@ module Google
1015
996
  end
1016
997
  end
1017
998
 
1018
- class ResponseHeader
1019
- # @private
1020
- class Representation < Google::Apis::Core::JsonRepresentation
1021
- property :operation_id, as: 'operationId'
1022
- end
1023
- end
1024
-
1025
999
  class ResponsePoliciesListResponse
1026
1000
  # @private
1027
1001
  class Representation < Google::Apis::Core::JsonRepresentation
1028
- property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
1029
-
1030
1002
  property :next_page_token, as: 'nextPageToken'
1031
1003
  collection :response_policies, as: 'responsePolicies', class: Google::Apis::DnsV1::ResponsePolicy, decorator: Google::Apis::DnsV1::ResponsePolicy::Representation
1032
1004
 
@@ -1036,8 +1008,6 @@ module Google
1036
1008
  class ResponsePoliciesPatchResponse
1037
1009
  # @private
1038
1010
  class Representation < Google::Apis::Core::JsonRepresentation
1039
- property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
1040
-
1041
1011
  property :response_policy, as: 'responsePolicy', class: Google::Apis::DnsV1::ResponsePolicy, decorator: Google::Apis::DnsV1::ResponsePolicy::Representation
1042
1012
 
1043
1013
  end
@@ -1046,8 +1016,6 @@ module Google
1046
1016
  class ResponsePoliciesUpdateResponse
1047
1017
  # @private
1048
1018
  class Representation < Google::Apis::Core::JsonRepresentation
1049
- property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
1050
-
1051
1019
  property :response_policy, as: 'responsePolicy', class: Google::Apis::DnsV1::ResponsePolicy, decorator: Google::Apis::DnsV1::ResponsePolicy::Representation
1052
1020
 
1053
1021
  end
@@ -1061,6 +1029,7 @@ module Google
1061
1029
 
1062
1030
  property :id, :numeric_string => true, as: 'id'
1063
1031
  property :kind, as: 'kind'
1032
+ hash :labels, as: 'labels'
1064
1033
  collection :networks, as: 'networks', class: Google::Apis::DnsV1::ResponsePolicyNetwork, decorator: Google::Apis::DnsV1::ResponsePolicyNetwork::Representation
1065
1034
 
1066
1035
  property :response_policy_name, as: 'responsePolicyName'
@@ -1106,8 +1075,6 @@ module Google
1106
1075
  class ResponsePolicyRulesListResponse
1107
1076
  # @private
1108
1077
  class Representation < Google::Apis::Core::JsonRepresentation
1109
- property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
1110
-
1111
1078
  property :next_page_token, as: 'nextPageToken'
1112
1079
  collection :response_policy_rules, as: 'responsePolicyRules', class: Google::Apis::DnsV1::ResponsePolicyRule, decorator: Google::Apis::DnsV1::ResponsePolicyRule::Representation
1113
1080
 
@@ -1117,8 +1084,6 @@ module Google
1117
1084
  class ResponsePolicyRulesPatchResponse
1118
1085
  # @private
1119
1086
  class Representation < Google::Apis::Core::JsonRepresentation
1120
- property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
1121
-
1122
1087
  property :response_policy_rule, as: 'responsePolicyRule', class: Google::Apis::DnsV1::ResponsePolicyRule, decorator: Google::Apis::DnsV1::ResponsePolicyRule::Representation
1123
1088
 
1124
1089
  end
@@ -1127,8 +1092,6 @@ module Google
1127
1092
  class ResponsePolicyRulesUpdateResponse
1128
1093
  # @private
1129
1094
  class Representation < Google::Apis::Core::JsonRepresentation
1130
- property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
1131
-
1132
1095
  property :response_policy_rule, as: 'responsePolicyRule', class: Google::Apis::DnsV1::ResponsePolicyRule, decorator: Google::Apis::DnsV1::ResponsePolicyRule::Representation
1133
1096
 
1134
1097
  end
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/dns/docs
34
34
  class DnsService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://dns.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://dns.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-dns_v1',
48
50
  client_version: Google::Apis::DnsV1::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -624,7 +626,7 @@ module Google
624
626
  end
625
627
 
626
628
  # Returns permissions that a caller has on the specified resource. If the
627
- # resource does not exist, this will return an empty set of permissions, not a `
629
+ # resource does not exist, this returns an empty set of permissions, not a `
628
630
  # NOT_FOUND` error. Note: This operation is designed to be used for building
629
631
  # permission-aware UIs and command-line tools, not for authorization checking.
630
632
  # This operation may "fail open" without warning.
@@ -1343,7 +1345,7 @@ module Google
1343
1345
  # @param [String] project
1344
1346
  # Identifies the project addressed by this request.
1345
1347
  # @param [String] response_policy
1346
- # User assigned name of the Respones Policy addressed by this request.
1348
+ # User assigned name of the response policy addressed by this request.
1347
1349
  # @param [Google::Apis::DnsV1::ResponsePolicy] response_policy_object
1348
1350
  # @param [String] client_operation_id
1349
1351
  # For mutating operation requests only. An optional identifier specified by the
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dns_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.43.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-19 00:00:00.000000000 Z
11
+ date: 2024-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.7.2
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.7.2
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dns_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.43.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dns_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud DNS API V1