google-api-client 0.46.1 → 0.46.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.gitignore +2 -0
  4. data/CHANGELOG.md +58 -0
  5. data/api_list_config.yaml +8 -0
  6. data/bin/generate-api +77 -15
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  9. data/generated/google/apis/admin_directory_v1.rb +1 -1
  10. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  11. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  12. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  13. data/generated/google/apis/admin_reports_v1.rb +1 -1
  14. data/generated/google/apis/admob_v1.rb +1 -1
  15. data/generated/google/apis/admob_v1/classes.rb +29 -29
  16. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  17. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +6 -6
  18. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +8 -9
  19. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  20. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1 -1
  21. data/generated/google/apis/analyticsdata_v1alpha/service.rb +7 -7
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
  24. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  25. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  26. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  27. data/generated/google/apis/bigquery_v2.rb +1 -1
  28. data/generated/google/apis/bigquery_v2/classes.rb +80 -5
  29. data/generated/google/apis/bigquery_v2/representations.rb +33 -0
  30. data/generated/google/apis/bigquery_v2/service.rb +46 -0
  31. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  32. data/generated/google/apis/billingbudgets_v1/classes.rb +1 -1
  33. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  34. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +1 -1
  35. data/generated/google/apis/civicinfo_v2.rb +1 -1
  36. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  37. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  38. data/generated/google/apis/classroom_v1.rb +1 -1
  39. data/generated/google/apis/classroom_v1/classes.rb +21 -21
  40. data/generated/google/apis/container_v1.rb +1 -1
  41. data/generated/google/apis/container_v1/classes.rb +22 -10
  42. data/generated/google/apis/container_v1beta1.rb +1 -1
  43. data/generated/google/apis/container_v1beta1/classes.rb +22 -10
  44. data/generated/google/apis/content_v2.rb +1 -1
  45. data/generated/google/apis/content_v2_1.rb +1 -1
  46. data/generated/google/apis/content_v2_1/classes.rb +6 -3
  47. data/generated/google/apis/displayvideo_v1.rb +1 -1
  48. data/generated/google/apis/displayvideo_v1/classes.rb +30 -30
  49. data/generated/google/apis/displayvideo_v1/service.rb +8 -8
  50. data/generated/google/apis/dlp_v2.rb +1 -1
  51. data/generated/google/apis/dlp_v2/classes.rb +4 -3
  52. data/generated/google/apis/dns_v1.rb +1 -1
  53. data/generated/google/apis/dns_v1/classes.rb +181 -0
  54. data/generated/google/apis/dns_v1/representations.rb +83 -0
  55. data/generated/google/apis/dns_v1beta2.rb +1 -1
  56. data/generated/google/apis/dns_v1beta2/classes.rb +181 -0
  57. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  58. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  59. data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
  60. data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
  61. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  62. data/generated/google/apis/domains_v1beta1.rb +34 -0
  63. data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
  64. data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
  65. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  66. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  67. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  68. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  69. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -1
  70. data/generated/google/apis/drive_v2.rb +1 -1
  71. data/generated/google/apis/drive_v2/classes.rb +2 -0
  72. data/generated/google/apis/drive_v3.rb +1 -1
  73. data/generated/google/apis/drive_v3/classes.rb +4 -2
  74. data/generated/google/apis/fitness_v1.rb +1 -1
  75. data/generated/google/apis/fitness_v1/service.rb +3 -1
  76. data/generated/google/apis/gameservices_v1.rb +1 -1
  77. data/generated/google/apis/gameservices_v1/classes.rb +15 -14
  78. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  79. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  80. data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
  81. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  82. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  83. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  84. data/generated/google/apis/healthcare_v1.rb +1 -1
  85. data/generated/google/apis/healthcare_v1/classes.rb +4 -4
  86. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  87. data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -6
  88. data/generated/google/apis/licensing_v1.rb +1 -1
  89. data/generated/google/apis/licensing_v1/service.rb +2 -2
  90. data/generated/google/apis/localservices_v1.rb +1 -1
  91. data/generated/google/apis/localservices_v1/service.rb +20 -20
  92. data/generated/google/apis/managedidentities_v1.rb +1 -1
  93. data/generated/google/apis/managedidentities_v1/classes.rb +1 -1
  94. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  95. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  96. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +80 -9
  97. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +33 -1
  98. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  99. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  100. data/generated/google/apis/managedidentities_v1beta1/classes.rb +81 -9
  101. data/generated/google/apis/managedidentities_v1beta1/representations.rb +33 -1
  102. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  103. data/generated/google/apis/monitoring_v3.rb +1 -1
  104. data/generated/google/apis/monitoring_v3/classes.rb +8 -8
  105. data/generated/google/apis/people_v1.rb +1 -1
  106. data/generated/google/apis/people_v1/classes.rb +45 -45
  107. data/generated/google/apis/playablelocations_v3.rb +1 -1
  108. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  109. data/generated/google/apis/poly_v1.rb +3 -4
  110. data/generated/google/apis/poly_v1/classes.rb +65 -79
  111. data/generated/google/apis/poly_v1/service.rb +50 -63
  112. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  113. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  114. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  115. data/generated/google/apis/realtimebidding_v1/classes.rb +33 -33
  116. data/generated/google/apis/realtimebidding_v1/service.rb +4 -4
  117. data/generated/google/apis/run_v1.rb +1 -1
  118. data/generated/google/apis/run_v1/classes.rb +7 -6
  119. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  120. data/generated/google/apis/servicenetworking_v1/classes.rb +107 -4
  121. data/generated/google/apis/servicenetworking_v1/representations.rb +34 -0
  122. data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
  123. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  124. data/generated/google/apis/servicenetworking_v1beta/classes.rb +107 -4
  125. data/generated/google/apis/servicenetworking_v1beta/representations.rb +34 -0
  126. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  127. data/generated/google/apis/storagetransfer_v1/classes.rb +8 -0
  128. data/generated/google/apis/storagetransfer_v1/representations.rb +1 -0
  129. data/generated/google/apis/storagetransfer_v1/service.rb +17 -18
  130. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  131. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  132. data/generated/google/apis/sts_v1beta.rb +1 -1
  133. data/generated/google/apis/sts_v1beta/classes.rb +12 -11
  134. data/generated/google/apis/tpu_v1.rb +1 -1
  135. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  136. data/generated/google/apis/tpu_v1/service.rb +8 -8
  137. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  138. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  139. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  140. data/generated/google/apis/vault_v1.rb +1 -1
  141. data/generated/google/apis/vault_v1/classes.rb +333 -0
  142. data/generated/google/apis/vault_v1/representations.rb +162 -0
  143. data/generated/google/apis/vault_v1/service.rb +151 -0
  144. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  145. data/generated/google/apis/youtube_v3.rb +1 -1
  146. data/generated/google/apis/youtube_v3/service.rb +2 -2
  147. data/google-api-client.gemspec +1 -1
  148. data/lib/google/apis/core/api_command.rb +1 -0
  149. data/lib/google/apis/version.rb +1 -1
  150. data/synth.py +40 -0
  151. metadata +13 -3
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200828'
29
+ REVISION = '20201007'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -579,7 +579,14 @@ module Google
579
579
  attr_accessor :location
580
580
 
581
581
  # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
582
- # docs/zones#available) in which the cluster's nodes should be located.
582
+ # docs/zones#available) in which the cluster's nodes should be located. This
583
+ # field provides a default value if [NodePool.Locations](https://cloud.google.
584
+ # com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.
585
+ # nodePools#NodePool.FIELDS.locations) are not specified during node pool
586
+ # creation. Warning: changing cluster locations will update the [NodePool.
587
+ # Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/
588
+ # projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node
589
+ # pools and will result in nodes being added and/or removed.
583
590
  # Corresponds to the JSON property `locations`
584
591
  # @return [Array<String>]
585
592
  attr_accessor :locations
@@ -905,9 +912,9 @@ module Google
905
912
 
906
913
  # The desired list of Google Compute Engine [zones](https://cloud.google.com/
907
914
  # compute/docs/zones#available) in which the cluster's nodes should be located.
908
- # Changing the locations a cluster is in will result in nodes being either
909
- # created or removed from the cluster, depending on whether locations are being
910
- # added or removed. This list must always include the cluster's primary zone.
915
+ # This list must always include the cluster's primary zone. Warning: changing
916
+ # cluster locations will update the locations of all node pools and will result
917
+ # in nodes being added and/or removed.
911
918
  # Corresponds to the JSON property `desiredLocations`
912
919
  # @return [Array<String>]
913
920
  attr_accessor :desired_locations
@@ -2240,11 +2247,12 @@ module Google
2240
2247
  # - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
2241
2248
  # instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
2242
2249
  # address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
2243
- # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" - "serial-port-logging-
2244
- # enable" Values are free-form strings, and only have meaning as interpreted by
2245
- # the image running in the instance. The only restriction placed on them is that
2246
- # each value's size must be less than or equal to 32 KB. The total size of all
2247
- # keys and values must be less than 512 KB.
2250
+ # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" The following keys are
2251
+ # reserved for Windows nodes: - "serial-port-logging-enable" Values are free-
2252
+ # form strings, and only have meaning as interpreted by the image running in the
2253
+ # instance. The only restriction placed on them is that each value's size must
2254
+ # be less than or equal to 32 KB. The total size of all keys and values must be
2255
+ # less than 512 KB.
2248
2256
  # Corresponds to the JSON property `metadata`
2249
2257
  # @return [Hash<String,String>]
2250
2258
  attr_accessor :metadata
@@ -2442,7 +2450,11 @@ module Google
2442
2450
  attr_accessor :instance_group_urls
2443
2451
 
2444
2452
  # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
2445
- # docs/zones#available) in which the NodePool's nodes should be located.
2453
+ # docs/zones#available) in which the NodePool's nodes should be located. If this
2454
+ # value is unspecified during node pool creation, the [Cluster.Locations](https:/
2455
+ # /cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.
2456
+ # clusters#Cluster.FIELDS.locations) value will be used, instead. Warning:
2457
+ # changing node pool locations will result in nodes being added and/or removed.
2446
2458
  # Corresponds to the JSON property `locations`
2447
2459
  # @return [Array<String>]
2448
2460
  attr_accessor :locations
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200928'
29
+ REVISION = '20201007'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -645,7 +645,14 @@ module Google
645
645
  attr_accessor :location
646
646
 
647
647
  # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
648
- # docs/zones#available) in which the cluster's nodes should be located.
648
+ # docs/zones#available) in which the cluster's nodes should be located. This
649
+ # field provides a default value if [NodePool.Locations](https://cloud.google.
650
+ # com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.
651
+ # nodePools#NodePool.FIELDS.locations) are not specified during node pool
652
+ # creation. Warning: changing cluster locations will update the [NodePool.
653
+ # Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/
654
+ # projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node
655
+ # pools and will result in nodes being added and/or removed.
649
656
  # Corresponds to the JSON property `locations`
650
657
  # @return [Array<String>]
651
658
  attr_accessor :locations
@@ -1053,9 +1060,9 @@ module Google
1053
1060
 
1054
1061
  # The desired list of Google Compute Engine [zones](https://cloud.google.com/
1055
1062
  # compute/docs/zones#available) in which the cluster's nodes should be located.
1056
- # Changing the locations a cluster is in will result in nodes being either
1057
- # created or removed from the cluster, depending on whether locations are being
1058
- # added or removed. This list must always include the cluster's primary zone.
1063
+ # This list must always include the cluster's primary zone. Warning: changing
1064
+ # cluster locations will update the locations of all node pools and will result
1065
+ # in nodes being added and/or removed.
1059
1066
  # Corresponds to the JSON property `desiredLocations`
1060
1067
  # @return [Array<String>]
1061
1068
  attr_accessor :desired_locations
@@ -2631,11 +2638,12 @@ module Google
2631
2638
  # - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
2632
2639
  # instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
2633
2640
  # address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
2634
- # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" - "serial-port-logging-
2635
- # enable" Values are free-form strings, and only have meaning as interpreted by
2636
- # the image running in the instance. The only restriction placed on them is that
2637
- # each value's size must be less than or equal to 32 KB. The total size of all
2638
- # keys and values must be less than 512 KB.
2641
+ # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" The following keys are
2642
+ # reserved for Windows nodes: - "serial-port-logging-enable" Values are free-
2643
+ # form strings, and only have meaning as interpreted by the image running in the
2644
+ # instance. The only restriction placed on them is that each value's size must
2645
+ # be less than or equal to 32 KB. The total size of all keys and values must be
2646
+ # less than 512 KB.
2639
2647
  # Corresponds to the JSON property `metadata`
2640
2648
  # @return [Hash<String,String>]
2641
2649
  attr_accessor :metadata
@@ -2876,7 +2884,11 @@ module Google
2876
2884
  attr_accessor :instance_group_urls
2877
2885
 
2878
2886
  # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
2879
- # docs/zones#available) in which the NodePool's nodes should be located.
2887
+ # docs/zones#available) in which the NodePool's nodes should be located. If this
2888
+ # value is unspecified during node pool creation, the [Cluster.Locations](https:/
2889
+ # /cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.
2890
+ # clusters#Cluster.FIELDS.locations) value will be used, instead. Warning:
2891
+ # changing node pool locations will result in nodes being added and/or removed.
2880
2892
  # Corresponds to the JSON property `locations`
2881
2893
  # @return [Array<String>]
2882
2894
  attr_accessor :locations
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2
28
28
  VERSION = 'V2'
29
- REVISION = '20201007'
29
+ REVISION = '20201014'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2_1
28
28
  VERSION = 'V2_1'
29
- REVISION = '20201006'
29
+ REVISION = '20201015'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -3571,7 +3571,8 @@ module Google
3571
3571
  class LocalInventory
3572
3572
  include Google::Apis::Core::Hashable
3573
3573
 
3574
- # Availability of the product.
3574
+ # Availability of the product. For accepted attribute values, see the local
3575
+ # product inventory feed specification.
3575
3576
  # Corresponds to the JSON property `availability`
3576
3577
  # @return [String]
3577
3578
  attr_accessor :availability
@@ -3588,13 +3589,15 @@ module Google
3588
3589
  attr_accessor :kind
3589
3590
 
3590
3591
  # Supported pickup method for this offer. Unless the value is "not supported",
3591
- # this field must be submitted together with `pickupSla`.
3592
+ # this field must be submitted together with `pickupSla`. For accepted attribute
3593
+ # values, see the local product inventory feed specification.
3592
3594
  # Corresponds to the JSON property `pickupMethod`
3593
3595
  # @return [String]
3594
3596
  attr_accessor :pickup_method
3595
3597
 
3596
3598
  # Expected date that an order will be ready for pickup relative to the order
3597
- # date. Must be submitted together with `pickupMethod`.
3599
+ # date. Must be submitted together with `pickupMethod`. For accepted attribute
3600
+ # values, see the local product inventory feed specification.
3598
3601
  # Corresponds to the JSON property `pickupSla`
3599
3602
  # @return [String]
3600
3603
  attr_accessor :pickup_sla
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/display-video/
27
27
  module DisplayvideoV1
28
28
  VERSION = 'V1'
29
- REVISION = '20201006'
29
+ REVISION = '20201015'
30
30
 
31
31
  # Create, see, edit, and permanently delete your Display & Video 360 entities and reports
32
32
  AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video'
@@ -3113,31 +3113,31 @@ module Google
3113
3113
  end
3114
3114
  end
3115
3115
 
3116
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
3117
- # and time zone are either specified elsewhere or are not significant. The date
3118
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
3119
- # date, with non-zero year, month and day values * A month and day value, with a
3120
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
3121
- # values * A year and month value, with a zero day, e.g. a credit card
3122
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
3123
- # Timestamp`.
3116
+ # Represents a whole or partial calendar date, such as a birthday. The time of
3117
+ # day and time zone are either specified elsewhere or are insignificant. The
3118
+ # date is relative to the Gregorian Calendar. This can represent one of the
3119
+ # following: * A full date, with non-zero year, month, and day values * A month
3120
+ # and day value, with a zero year, such as an anniversary * A year on its own,
3121
+ # with zero month and day values * A year and month value, with a zero day, such
3122
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
3123
+ # google.protobuf.Timestamp`.
3124
3124
  class Date
3125
3125
  include Google::Apis::Core::Hashable
3126
3126
 
3127
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
3128
- # specifying a year by itself or a year and month where the day is not
3129
- # significant.
3127
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
3128
+ # specify a year by itself or a year and month where the day isn't significant.
3130
3129
  # Corresponds to the JSON property `day`
3131
3130
  # @return [Fixnum]
3132
3131
  attr_accessor :day
3133
3132
 
3134
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
3133
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
3135
3134
  # and day.
3136
3135
  # Corresponds to the JSON property `month`
3137
3136
  # @return [Fixnum]
3138
3137
  attr_accessor :month
3139
3138
 
3140
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
3139
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
3140
+ # year.
3141
3141
  # Corresponds to the JSON property `year`
3142
3142
  # @return [Fixnum]
3143
3143
  attr_accessor :year
@@ -3158,26 +3158,26 @@ module Google
3158
3158
  class DateRange
3159
3159
  include Google::Apis::Core::Hashable
3160
3160
 
3161
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
3162
- # and time zone are either specified elsewhere or are not significant. The date
3163
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
3164
- # date, with non-zero year, month and day values * A month and day value, with a
3165
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
3166
- # values * A year and month value, with a zero day, e.g. a credit card
3167
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
3168
- # Timestamp`.
3161
+ # Represents a whole or partial calendar date, such as a birthday. The time of
3162
+ # day and time zone are either specified elsewhere or are insignificant. The
3163
+ # date is relative to the Gregorian Calendar. This can represent one of the
3164
+ # following: * A full date, with non-zero year, month, and day values * A month
3165
+ # and day value, with a zero year, such as an anniversary * A year on its own,
3166
+ # with zero month and day values * A year and month value, with a zero day, such
3167
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
3168
+ # google.protobuf.Timestamp`.
3169
3169
  # Corresponds to the JSON property `endDate`
3170
3170
  # @return [Google::Apis::DisplayvideoV1::Date]
3171
3171
  attr_accessor :end_date
3172
3172
 
3173
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
3174
- # and time zone are either specified elsewhere or are not significant. The date
3175
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
3176
- # date, with non-zero year, month and day values * A month and day value, with a
3177
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
3178
- # values * A year and month value, with a zero day, e.g. a credit card
3179
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
3180
- # Timestamp`.
3173
+ # Represents a whole or partial calendar date, such as a birthday. The time of
3174
+ # day and time zone are either specified elsewhere or are insignificant. The
3175
+ # date is relative to the Gregorian Calendar. This can represent one of the
3176
+ # following: * A full date, with non-zero year, month, and day values * A month
3177
+ # and day value, with a zero year, such as an anniversary * A year on its own,
3178
+ # with zero month and day values * A year and month value, with a zero day, such
3179
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
3180
+ # google.protobuf.Timestamp`.
3181
3181
  # Corresponds to the JSON property `startDate`
3182
3182
  # @return [Google::Apis::DisplayvideoV1::Date]
3183
3183
  attr_accessor :start_date
@@ -6242,7 +6242,7 @@ module Google
6242
6242
  class Money
6243
6243
  include Google::Apis::Core::Hashable
6244
6244
 
6245
- # The 3-letter currency code defined in ISO 4217.
6245
+ # The three-letter currency code defined in ISO 4217.
6246
6246
  # Corresponds to the JSON property `currencyCode`
6247
6247
  # @return [String]
6248
6248
  attr_accessor :currency_code
@@ -4617,14 +4617,14 @@ module Google
4617
4617
  # expressions are made up of one or more restrictions. * Restrictions can be
4618
4618
  # combined by `OR` logical operators. * A restriction has the form of ``field` `
4619
4619
  # operator` `value``. * The operator must be "=" (equal sign). * Supported
4620
- # fields: - `carrier_and_isp_details.type` - `geo_region_details.geo_region_type`
4621
- # - `targetingOptionId` Examples: * All `GEO REGION` targeting options that
4622
- # belong to sub type `GEO_REGION_TYPE_COUNTRY` or `GEO_REGION_TYPE_STATE`: `
4623
- # geo_region_details.geo_region_type="GEO_REGION_TYPE_COUNTRY" OR
4624
- # geo_region_details.geo_region_type="GEO_REGION_TYPE_STATE"` * All `CARRIER AND
4625
- # ISP` targeting options that belong to sub type `CARRIER_AND_ISP_TYPE_CARRIER`:
4626
- # `carrier_and_isp_details.type="CARRIER_AND_ISP_TYPE_CARRIER"`. The length of
4627
- # this field should be no more than 500 characters.
4620
+ # fields: - `carrierAndIspDetails.type` - `geoRegionDetails.geoRegionType` - `
4621
+ # targetingOptionId` Examples: * All `GEO REGION` targeting options that belong
4622
+ # to sub type `GEO_REGION_TYPE_COUNTRY` or `GEO_REGION_TYPE_STATE`: `
4623
+ # geoRegionDetails.geoRegionType="GEO_REGION_TYPE_COUNTRY" OR geoRegionDetails.
4624
+ # geoRegionType="GEO_REGION_TYPE_STATE"` * All `CARRIER AND ISP` targeting
4625
+ # options that belong to sub type `CARRIER_AND_ISP_TYPE_CARRIER`: `
4626
+ # carrierAndIspDetails.type="CARRIER_AND_ISP_TYPE_CARRIER"`. The length of this
4627
+ # field should be no more than 500 characters.
4628
4628
  # @param [String] order_by
4629
4629
  # Field by which to sort the list. Acceptable values are: * `targetingOptionId` (
4630
4630
  # default) The default sorting order is ascending. To specify descending order
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/dlp/docs/
28
28
  module DlpV2
29
29
  VERSION = 'V2'
30
- REVISION = '20200919'
30
+ REVISION = '20201009'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -5995,13 +5995,14 @@ module Google
5995
5995
  attr_accessor :enable_auto_population_of_timespan_config
5996
5996
  alias_method :enable_auto_population_of_timespan_config?, :enable_auto_population_of_timespan_config
5997
5997
 
5998
- # Exclude files or rows newer than this value. If set to zero, no upper time
5999
- # limit is applied.
5998
+ # Exclude files, tables, or rows newer than this value. If not set, no upper
5999
+ # time limit is applied.
6000
6000
  # Corresponds to the JSON property `endTime`
6001
6001
  # @return [String]
6002
6002
  attr_accessor :end_time
6003
6003
 
6004
- # Exclude files or rows older than this value.
6004
+ # Exclude files, tables, or rows older than this value. If not set, no lower
6005
+ # time limit is applied.
6005
6006
  # Corresponds to the JSON property `startTime`
6006
6007
  # @return [String]
6007
6008
  attr_accessor :start_time
@@ -25,7 +25,7 @@ module Google
25
25
  # @see http://developers.google.com/cloud-dns
26
26
  module DnsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200927'
28
+ REVISION = '20201003'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1304,6 +1304,179 @@ module Google
1304
1304
  end
1305
1305
  end
1306
1306
 
1307
+ # A RRSetRoutingPolicy represents ResourceRecordSet data that will be returned
1308
+ # dynamically with the response varying based on configured properties such as
1309
+ # geolocation or by weighted random selection.
1310
+ class RrSetRoutingPolicy
1311
+ include Google::Apis::Core::Hashable
1312
+
1313
+ #
1314
+ # Corresponds to the JSON property `geoPolicy`
1315
+ # @return [Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy]
1316
+ attr_accessor :geo_policy
1317
+
1318
+ #
1319
+ # Corresponds to the JSON property `kind`
1320
+ # @return [String]
1321
+ attr_accessor :kind
1322
+
1323
+ #
1324
+ # Corresponds to the JSON property `wrrPolicy`
1325
+ # @return [Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicy]
1326
+ attr_accessor :wrr_policy
1327
+
1328
+ def initialize(**args)
1329
+ update!(**args)
1330
+ end
1331
+
1332
+ # Update properties of this object
1333
+ def update!(**args)
1334
+ @geo_policy = args[:geo_policy] if args.key?(:geo_policy)
1335
+ @kind = args[:kind] if args.key?(:kind)
1336
+ @wrr_policy = args[:wrr_policy] if args.key?(:wrr_policy)
1337
+ end
1338
+ end
1339
+
1340
+ #
1341
+ class RrSetRoutingPolicyGeoPolicy
1342
+ include Google::Apis::Core::Hashable
1343
+
1344
+ # If the health check for the primary target for a geo location returns an
1345
+ # unhealthy status, the failover target is returned instead. This failover
1346
+ # configuration is not mandatory. If a failover is not provided, the primary
1347
+ # target won't be healthchecked - we'll return the primarily configured rrdata
1348
+ # irrespective of whether it is healthy or not.
1349
+ # Corresponds to the JSON property `failovers`
1350
+ # @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
1351
+ attr_accessor :failovers
1352
+
1353
+ # The primary geo routing configuration. If there are multiple items with the
1354
+ # same location, an error is returned instead.
1355
+ # Corresponds to the JSON property `items`
1356
+ # @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
1357
+ attr_accessor :items
1358
+
1359
+ #
1360
+ # Corresponds to the JSON property `kind`
1361
+ # @return [String]
1362
+ attr_accessor :kind
1363
+
1364
+ def initialize(**args)
1365
+ update!(**args)
1366
+ end
1367
+
1368
+ # Update properties of this object
1369
+ def update!(**args)
1370
+ @failovers = args[:failovers] if args.key?(:failovers)
1371
+ @items = args[:items] if args.key?(:items)
1372
+ @kind = args[:kind] if args.key?(:kind)
1373
+ end
1374
+ end
1375
+
1376
+ #
1377
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
1378
+ include Google::Apis::Core::Hashable
1379
+
1380
+ #
1381
+ # Corresponds to the JSON property `kind`
1382
+ # @return [String]
1383
+ attr_accessor :kind
1384
+
1385
+ # The geo-location granularity is a GCP region. This location string should
1386
+ # correspond to a GCP region. e.g "us-east1", "southamerica-east1", "asia-east1",
1387
+ # etc.
1388
+ # Corresponds to the JSON property `location`
1389
+ # @return [String]
1390
+ attr_accessor :location
1391
+
1392
+ #
1393
+ # Corresponds to the JSON property `rrdatas`
1394
+ # @return [Array<String>]
1395
+ attr_accessor :rrdatas
1396
+
1397
+ # DNSSEC generated signatures for the above geo_rrdata.
1398
+ # Corresponds to the JSON property `signatureRrdatas`
1399
+ # @return [Array<String>]
1400
+ attr_accessor :signature_rrdatas
1401
+
1402
+ def initialize(**args)
1403
+ update!(**args)
1404
+ end
1405
+
1406
+ # Update properties of this object
1407
+ def update!(**args)
1408
+ @kind = args[:kind] if args.key?(:kind)
1409
+ @location = args[:location] if args.key?(:location)
1410
+ @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1411
+ @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1412
+ end
1413
+ end
1414
+
1415
+ #
1416
+ class RrSetRoutingPolicyWrrPolicy
1417
+ include Google::Apis::Core::Hashable
1418
+
1419
+ #
1420
+ # Corresponds to the JSON property `items`
1421
+ # @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem>]
1422
+ attr_accessor :items
1423
+
1424
+ #
1425
+ # Corresponds to the JSON property `kind`
1426
+ # @return [String]
1427
+ attr_accessor :kind
1428
+
1429
+ def initialize(**args)
1430
+ update!(**args)
1431
+ end
1432
+
1433
+ # Update properties of this object
1434
+ def update!(**args)
1435
+ @items = args[:items] if args.key?(:items)
1436
+ @kind = args[:kind] if args.key?(:kind)
1437
+ end
1438
+ end
1439
+
1440
+ #
1441
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
1442
+ include Google::Apis::Core::Hashable
1443
+
1444
+ #
1445
+ # Corresponds to the JSON property `kind`
1446
+ # @return [String]
1447
+ attr_accessor :kind
1448
+
1449
+ #
1450
+ # Corresponds to the JSON property `rrdatas`
1451
+ # @return [Array<String>]
1452
+ attr_accessor :rrdatas
1453
+
1454
+ # DNSSEC generated signatures for the above wrr_rrdata.
1455
+ # Corresponds to the JSON property `signatureRrdatas`
1456
+ # @return [Array<String>]
1457
+ attr_accessor :signature_rrdatas
1458
+
1459
+ # The weight corresponding to this subset of rrdata. When multiple
1460
+ # WeightedRoundRobinPolicyItems are configured, the probability of returning an
1461
+ # rrset is proportional to its weight relative to the sum of weights configured
1462
+ # for all items. This weight should be a decimal in the range [0,1].
1463
+ # Corresponds to the JSON property `weight`
1464
+ # @return [Float]
1465
+ attr_accessor :weight
1466
+
1467
+ def initialize(**args)
1468
+ update!(**args)
1469
+ end
1470
+
1471
+ # Update properties of this object
1472
+ def update!(**args)
1473
+ @kind = args[:kind] if args.key?(:kind)
1474
+ @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1475
+ @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1476
+ @weight = args[:weight] if args.key?(:weight)
1477
+ end
1478
+ end
1479
+
1307
1480
  # A unit of data that will be returned by the DNS servers.
1308
1481
  class ResourceRecordSet
1309
1482
  include Google::Apis::Core::Hashable
@@ -1318,6 +1491,13 @@ module Google
1318
1491
  # @return [String]
1319
1492
  attr_accessor :name
1320
1493
 
1494
+ # A RRSetRoutingPolicy represents ResourceRecordSet data that will be returned
1495
+ # dynamically with the response varying based on configured properties such as
1496
+ # geolocation or by weighted random selection.
1497
+ # Corresponds to the JSON property `routingPolicy`
1498
+ # @return [Google::Apis::DnsV1::RrSetRoutingPolicy]
1499
+ attr_accessor :routing_policy
1500
+
1321
1501
  # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
1322
1502
  # examples.
1323
1503
  # Corresponds to the JSON property `rrdatas`
@@ -1348,6 +1528,7 @@ module Google
1348
1528
  def update!(**args)
1349
1529
  @kind = args[:kind] if args.key?(:kind)
1350
1530
  @name = args[:name] if args.key?(:name)
1531
+ @routing_policy = args[:routing_policy] if args.key?(:routing_policy)
1351
1532
  @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1352
1533
  @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1353
1534
  @ttl = args[:ttl] if args.key?(:ttl)