google-api-client 0.46.1 → 0.46.2

Sign up to get free protection for your applications and to get access to all the features.
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/artifacts/docs/
27
27
  module ArtifactregistryV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200903'
29
+ REVISION = '20201009'
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'
@@ -260,6 +260,12 @@ module Google
260
260
  # @return [Array<String>]
261
261
  attr_accessor :uris
262
262
 
263
+ # Supports URI wildcards for matching multiple objects from a single URI.
264
+ # Corresponds to the JSON property `useWildcards`
265
+ # @return [Boolean]
266
+ attr_accessor :use_wildcards
267
+ alias_method :use_wildcards?, :use_wildcards
268
+
263
269
  def initialize(**args)
264
270
  update!(**args)
265
271
  end
@@ -267,6 +273,7 @@ module Google
267
273
  # Update properties of this object
268
274
  def update!(**args)
269
275
  @uris = args[:uris] if args.key?(:uris)
276
+ @use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
270
277
  end
271
278
  end
272
279
 
@@ -238,6 +238,7 @@ module Google
238
238
  # @private
239
239
  class Representation < Google::Apis::Core::JsonRepresentation
240
240
  collection :uris, as: 'uris'
241
+ property :use_wildcards, as: 'useWildcards'
241
242
  end
242
243
  end
243
244
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryV2
27
27
  VERSION = 'V2'
28
- REVISION = '20200925'
28
+ REVISION = '20201007'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -4069,6 +4069,31 @@ module Google
4069
4069
  end
4070
4070
  end
4071
4071
 
4072
+ # Response message for the ListRowAccessPolicies method.
4073
+ class ListRowAccessPoliciesResponse
4074
+ include Google::Apis::Core::Hashable
4075
+
4076
+ # A token to request the next page of results.
4077
+ # Corresponds to the JSON property `nextPageToken`
4078
+ # @return [String]
4079
+ attr_accessor :next_page_token
4080
+
4081
+ # Row access policies on the requested table.
4082
+ # Corresponds to the JSON property `rowAccessPolicies`
4083
+ # @return [Array<Google::Apis::BigqueryV2::RowAccessPolicy>]
4084
+ attr_accessor :row_access_policies
4085
+
4086
+ def initialize(**args)
4087
+ update!(**args)
4088
+ end
4089
+
4090
+ # Update properties of this object
4091
+ def update!(**args)
4092
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4093
+ @row_access_policies = args[:row_access_policies] if args.key?(:row_access_policies)
4094
+ end
4095
+ end
4096
+
4072
4097
  # BigQuery-specific metadata about a location. This will be set on google.cloud.
4073
4098
  # location.Location.metadata in Cloud Location API responses.
4074
4099
  class LocationMetadata
@@ -5294,6 +5319,56 @@ module Google
5294
5319
  end
5295
5320
  end
5296
5321
 
5322
+ # Represents access on a subset of rows on the specified table, defined by its
5323
+ # filter predicate. Access to the subset of rows is controlled by its IAM policy.
5324
+ class RowAccessPolicy
5325
+ include Google::Apis::Core::Hashable
5326
+
5327
+ # Output only. The time when this row access policy was created, in milliseconds
5328
+ # since the epoch.
5329
+ # Corresponds to the JSON property `creationTime`
5330
+ # @return [String]
5331
+ attr_accessor :creation_time
5332
+
5333
+ # Output only. A hash of this resource.
5334
+ # Corresponds to the JSON property `etag`
5335
+ # @return [String]
5336
+ attr_accessor :etag
5337
+
5338
+ # Required. A SQL boolean expression that represents the rows defined by this
5339
+ # row access policy, similar to the boolean expression in a WHERE clause of a
5340
+ # SELECT query on a table. References to other tables, routines, and temporary
5341
+ # functions are not supported. Examples: region="EU" date_field = CAST('2019-9-
5342
+ # 27' as DATE) nullable_field is not NULL numeric_field BETWEEN 1.0 AND 5.0
5343
+ # Corresponds to the JSON property `filterPredicate`
5344
+ # @return [String]
5345
+ attr_accessor :filter_predicate
5346
+
5347
+ # Output only. The time when this row access policy was last modified, in
5348
+ # milliseconds since the epoch.
5349
+ # Corresponds to the JSON property `lastModifiedTime`
5350
+ # @return [String]
5351
+ attr_accessor :last_modified_time
5352
+
5353
+ # Required. Reference describing the ID of this row access policy.
5354
+ # Corresponds to the JSON property `rowAccessPolicyReference`
5355
+ # @return [Google::Apis::BigqueryV2::RowAccessPolicyReference]
5356
+ attr_accessor :row_access_policy_reference
5357
+
5358
+ def initialize(**args)
5359
+ update!(**args)
5360
+ end
5361
+
5362
+ # Update properties of this object
5363
+ def update!(**args)
5364
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
5365
+ @etag = args[:etag] if args.key?(:etag)
5366
+ @filter_predicate = args[:filter_predicate] if args.key?(:filter_predicate)
5367
+ @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
5368
+ @row_access_policy_reference = args[:row_access_policy_reference] if args.key?(:row_access_policy_reference)
5369
+ end
5370
+ end
5371
+
5297
5372
  #
5298
5373
  class RowAccessPolicyReference
5299
5374
  include Google::Apis::Core::Hashable
@@ -5798,11 +5873,11 @@ module Google
5798
5873
  attr_accessor :time_partitioning
5799
5874
 
5800
5875
  # [Output-only] Describes the table type. The following values are supported:
5801
- # TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. [
5802
- # TrustedTester] SNAPSHOT: An immutable, read-only table that is a copy of
5803
- # another table. [TrustedTester] MATERIALIZED_VIEW: SQL query whose result is
5804
- # persisted. EXTERNAL: A table that references data stored in an external
5805
- # storage system, such as Google Cloud Storage. The default value is TABLE.
5876
+ # TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query.
5877
+ # SNAPSHOT: An immutable, read-only table that is a copy of another table. [
5878
+ # TrustedTester] MATERIALIZED_VIEW: SQL query whose result is persisted.
5879
+ # EXTERNAL: A table that references data stored in an external storage system,
5880
+ # such as Google Cloud Storage. The default value is TABLE.
5806
5881
  # Corresponds to the JSON property `type`
5807
5882
  # @return [String]
5808
5883
  attr_accessor :type
@@ -454,6 +454,12 @@ module Google
454
454
  include Google::Apis::Core::JsonObjectSupport
455
455
  end
456
456
 
457
+ class ListRowAccessPoliciesResponse
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
457
463
  class LocationMetadata
458
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
465
 
@@ -604,6 +610,12 @@ module Google
604
610
  include Google::Apis::Core::JsonObjectSupport
605
611
  end
606
612
 
613
+ class RowAccessPolicy
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
607
619
  class RowAccessPolicyReference
608
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
621
 
@@ -1763,6 +1775,15 @@ module Google
1763
1775
  end
1764
1776
  end
1765
1777
 
1778
+ class ListRowAccessPoliciesResponse
1779
+ # @private
1780
+ class Representation < Google::Apis::Core::JsonRepresentation
1781
+ property :next_page_token, as: 'nextPageToken'
1782
+ collection :row_access_policies, as: 'rowAccessPolicies', class: Google::Apis::BigqueryV2::RowAccessPolicy, decorator: Google::Apis::BigqueryV2::RowAccessPolicy::Representation
1783
+
1784
+ end
1785
+ end
1786
+
1766
1787
  class LocationMetadata
1767
1788
  # @private
1768
1789
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2064,6 +2085,18 @@ module Google
2064
2085
  end
2065
2086
  end
2066
2087
 
2088
+ class RowAccessPolicy
2089
+ # @private
2090
+ class Representation < Google::Apis::Core::JsonRepresentation
2091
+ property :creation_time, as: 'creationTime'
2092
+ property :etag, as: 'etag'
2093
+ property :filter_predicate, as: 'filterPredicate'
2094
+ property :last_modified_time, as: 'lastModifiedTime'
2095
+ property :row_access_policy_reference, as: 'rowAccessPolicyReference', class: Google::Apis::BigqueryV2::RowAccessPolicyReference, decorator: Google::Apis::BigqueryV2::RowAccessPolicyReference::Representation
2096
+
2097
+ end
2098
+ end
2099
+
2067
2100
  class RowAccessPolicyReference
2068
2101
  # @private
2069
2102
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1028,6 +1028,52 @@ module Google
1028
1028
  execute_or_queue_command(command, &block)
1029
1029
  end
1030
1030
 
1031
+ # Lists all row access policies on the specified table.
1032
+ # @param [String] project_id
1033
+ # Required. Project ID of the row access policies to list.
1034
+ # @param [String] dataset_id
1035
+ # Required. Dataset ID of row access policies to list.
1036
+ # @param [String] table_id
1037
+ # Required. Table ID of the table to list row access policies.
1038
+ # @param [Fixnum] page_size
1039
+ # The maximum number of results to return in a single response page. Leverage
1040
+ # the page tokens to iterate through the entire collection.
1041
+ # @param [String] page_token
1042
+ # Page token, returned by a previous call, to request the next page of results.
1043
+ # @param [String] fields
1044
+ # Selector specifying which fields to include in a partial response.
1045
+ # @param [String] quota_user
1046
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
1047
+ # characters.
1048
+ # @param [String] user_ip
1049
+ # Deprecated. Please use quotaUser instead.
1050
+ # @param [Google::Apis::RequestOptions] options
1051
+ # Request-specific options
1052
+ #
1053
+ # @yield [result, err] Result & error if block supplied
1054
+ # @yieldparam result [Google::Apis::BigqueryV2::ListRowAccessPoliciesResponse] parsed result object
1055
+ # @yieldparam err [StandardError] error object if request failed
1056
+ #
1057
+ # @return [Google::Apis::BigqueryV2::ListRowAccessPoliciesResponse]
1058
+ #
1059
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1060
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1061
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1062
+ def list_row_access_policies(project_id, dataset_id, table_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1063
+ command = make_simple_command(:get, 'projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies', options)
1064
+ command.response_representation = Google::Apis::BigqueryV2::ListRowAccessPoliciesResponse::Representation
1065
+ command.response_class = Google::Apis::BigqueryV2::ListRowAccessPoliciesResponse
1066
+ command.params['projectId'] = project_id unless project_id.nil?
1067
+ command.params['datasetId'] = dataset_id unless dataset_id.nil?
1068
+ command.params['tableId'] = table_id unless table_id.nil?
1069
+ command.query['pageSize'] = page_size unless page_size.nil?
1070
+ command.query['pageToken'] = page_token unless page_token.nil?
1071
+ command.query['fields'] = fields unless fields.nil?
1072
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1073
+ command.query['userIp'] = user_ip unless user_ip.nil?
1074
+ execute_or_queue_command(command, &block)
1075
+ end
1076
+
1031
1077
  # Streams data into BigQuery one record at a time without needing to run a load
1032
1078
  # job. Requires the WRITER dataset role.
1033
1079
  # @param [String] project_id
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/billing/docs/how-to/budget-api-overview
27
27
  module BillingbudgetsV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200919'
29
+ REVISION = '20201012'
30
30
 
31
31
  # View and manage your Google Cloud Platform billing accounts
32
32
  AUTH_CLOUD_BILLING = 'https://www.googleapis.com/auth/cloud-billing'
@@ -326,7 +326,7 @@ module Google
326
326
  class GoogleTypeMoney
327
327
  include Google::Apis::Core::Hashable
328
328
 
329
- # The 3-letter currency code defined in ISO 4217.
329
+ # The three-letter currency code defined in ISO 4217.
330
330
  # Corresponds to the JSON property `currencyCode`
331
331
  # @return [String]
332
332
  attr_accessor :currency_code
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/billing/docs/how-to/budget-api-overview
27
27
  module BillingbudgetsV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200912'
29
+ REVISION = '20201012'
30
30
 
31
31
  # View and manage your Google Cloud Platform billing accounts
32
32
  AUTH_CLOUD_BILLING = 'https://www.googleapis.com/auth/cloud-billing'
@@ -381,7 +381,7 @@ module Google
381
381
  class GoogleTypeMoney
382
382
  include Google::Apis::Core::Hashable
383
383
 
384
- # The 3-letter currency code defined in ISO 4217.
384
+ # The three-letter currency code defined in ISO 4217.
385
385
  # Corresponds to the JSON property `currencyCode`
386
386
  # @return [String]
387
387
  attr_accessor :currency_code
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/civic-information/
27
27
  module CivicinfoV2
28
28
  VERSION = 'V2'
29
- REVISION = '20200908'
29
+ REVISION = '20201012'
30
30
  end
31
31
  end
32
32
  end
@@ -32,13 +32,6 @@ module Google
32
32
  # @return [Google::Apis::CivicinfoV2::AdministrativeBody]
33
33
  attr_accessor :election_administration_body
34
34
 
35
- # An ID for this object. IDs may change in future requests and should not be
36
- # cached. Access to this field requires special access that can be requested
37
- # from the Request more link on the Quotas page.
38
- # Corresponds to the JSON property `id`
39
- # @return [String]
40
- attr_accessor :id
41
-
42
35
  # Describes information about a regional election administrative area.
43
36
  # Corresponds to the JSON property `local_jurisdiction`
44
37
  # @return [Google::Apis::CivicinfoV2::AdministrationRegion]
@@ -62,7 +55,6 @@ module Google
62
55
  # Update properties of this object
63
56
  def update!(**args)
64
57
  @election_administration_body = args[:election_administration_body] if args.key?(:election_administration_body)
65
- @id = args[:id] if args.key?(:id)
66
58
  @local_jurisdiction = args[:local_jurisdiction] if args.key?(:local_jurisdiction)
67
59
  @name = args[:name] if args.key?(:name)
68
60
  @sources = args[:sources] if args.key?(:sources)
@@ -300,13 +292,6 @@ module Google
300
292
  # @return [String]
301
293
  attr_accessor :electorate_specifications
302
294
 
303
- # An ID for this object. IDs may change in future requests and should not be
304
- # cached. Access to this field requires special access that can be requested
305
- # from the Request more link on the Quotas page.
306
- # Corresponds to the JSON property `id`
307
- # @return [String]
308
- attr_accessor :id
309
-
310
295
  # The levels of government of the office for this contest. There may be more
311
296
  # than one in cases where a jurisdiction effectively acts at two different
312
297
  # levels of government; for example, the mayor of the District of Columbia acts
@@ -441,7 +426,6 @@ module Google
441
426
  @candidates = args[:candidates] if args.key?(:candidates)
442
427
  @district = args[:district] if args.key?(:district)
443
428
  @electorate_specifications = args[:electorate_specifications] if args.key?(:electorate_specifications)
444
- @id = args[:id] if args.key?(:id)
445
429
  @level = args[:level] if args.key?(:level)
446
430
  @number_elected = args[:number_elected] if args.key?(:number_elected)
447
431
  @number_voting_for = args[:number_voting_for] if args.key?(:number_voting_for)
@@ -845,13 +829,6 @@ module Google
845
829
  # @return [String]
846
830
  attr_accessor :end_date
847
831
 
848
- # An ID for this object. IDs may change in future requests and should not be
849
- # cached. Access to this field requires special access that can be requested
850
- # from the Request more link on the Quotas page.
851
- # Corresponds to the JSON property `id`
852
- # @return [String]
853
- attr_accessor :id
854
-
855
832
  # Latitude of the location, in degrees north of the equator. Note this field may
856
833
  # not be available for some locations.
857
834
  # Corresponds to the JSON property `latitude`
@@ -906,7 +883,6 @@ module Google
906
883
  def update!(**args)
907
884
  @address = args[:address] if args.key?(:address)
908
885
  @end_date = args[:end_date] if args.key?(:end_date)
909
- @id = args[:id] if args.key?(:id)
910
886
  @latitude = args[:latitude] if args.key?(:latitude)
911
887
  @longitude = args[:longitude] if args.key?(:longitude)
912
888
  @name = args[:name] if args.key?(:name)
@@ -147,7 +147,6 @@ module Google
147
147
  class Representation < Google::Apis::Core::JsonRepresentation
148
148
  property :election_administration_body, as: 'electionAdministrationBody', class: Google::Apis::CivicinfoV2::AdministrativeBody, decorator: Google::Apis::CivicinfoV2::AdministrativeBody::Representation
149
149
 
150
- property :id, as: 'id'
151
150
  property :local_jurisdiction, as: 'local_jurisdiction', class: Google::Apis::CivicinfoV2::AdministrationRegion, decorator: Google::Apis::CivicinfoV2::AdministrationRegion::Representation
152
151
 
153
152
  property :name, as: 'name'
@@ -213,7 +212,6 @@ module Google
213
212
  property :district, as: 'district', class: Google::Apis::CivicinfoV2::ElectoralDistrict, decorator: Google::Apis::CivicinfoV2::ElectoralDistrict::Representation
214
213
 
215
214
  property :electorate_specifications, as: 'electorateSpecifications'
216
- property :id, as: 'id'
217
215
  collection :level, as: 'level'
218
216
  property :number_elected, :numeric_string => true, as: 'numberElected'
219
217
  property :number_voting_for, :numeric_string => true, as: 'numberVotingFor'
@@ -339,7 +337,6 @@ module Google
339
337
  property :address, as: 'address', class: Google::Apis::CivicinfoV2::SimpleAddressType, decorator: Google::Apis::CivicinfoV2::SimpleAddressType::Representation
340
338
 
341
339
  property :end_date, as: 'endDate'
342
- property :id, as: 'id'
343
340
  property :latitude, as: 'latitude'
344
341
  property :longitude, as: 'longitude'
345
342
  property :name, as: 'name'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/classroom/
26
26
  module ClassroomV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200915'
28
+ REVISION = '20201012'
29
29
 
30
30
  # View and manage announcements in Google Classroom
31
31
  AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
@@ -526,14 +526,14 @@ module Google
526
526
  # @return [String]
527
527
  attr_accessor :description
528
528
 
529
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
530
- # and time zone are either specified elsewhere or are not significant. The date
531
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
532
- # date, with non-zero year, month and day values * A month and day value, with a
533
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
534
- # values * A year and month value, with a zero day, e.g. a credit card
535
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
536
- # Timestamp`.
529
+ # Represents a whole or partial calendar date, such as a birthday. The time of
530
+ # day and time zone are either specified elsewhere or are insignificant. The
531
+ # date is relative to the Gregorian Calendar. This can represent one of the
532
+ # following: * A full date, with non-zero year, month, and day values * A month
533
+ # and day value, with a zero year, such as an anniversary * A year on its own,
534
+ # with zero month and day values * A year and month value, with a zero day, such
535
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
536
+ # google.protobuf.Timestamp`.
537
537
  # Corresponds to the JSON property `dueDate`
538
538
  # @return [Google::Apis::ClassroomV1::Date]
539
539
  attr_accessor :due_date
@@ -768,31 +768,31 @@ module Google
768
768
  end
769
769
  end
770
770
 
771
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
772
- # and time zone are either specified elsewhere or are not significant. The date
773
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
774
- # date, with non-zero year, month and day values * A month and day value, with a
775
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
776
- # values * A year and month value, with a zero day, e.g. a credit card
777
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
778
- # Timestamp`.
771
+ # Represents a whole or partial calendar date, such as a birthday. The time of
772
+ # day and time zone are either specified elsewhere or are insignificant. The
773
+ # date is relative to the Gregorian Calendar. This can represent one of the
774
+ # following: * A full date, with non-zero year, month, and day values * A month
775
+ # and day value, with a zero year, such as an anniversary * A year on its own,
776
+ # with zero month and day values * A year and month value, with a zero day, such
777
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
778
+ # google.protobuf.Timestamp`.
779
779
  class Date
780
780
  include Google::Apis::Core::Hashable
781
781
 
782
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
783
- # specifying a year by itself or a year and month where the day is not
784
- # significant.
782
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
783
+ # specify a year by itself or a year and month where the day isn't significant.
785
784
  # Corresponds to the JSON property `day`
786
785
  # @return [Fixnum]
787
786
  attr_accessor :day
788
787
 
789
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
788
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
790
789
  # and day.
791
790
  # Corresponds to the JSON property `month`
792
791
  # @return [Fixnum]
793
792
  attr_accessor :month
794
793
 
795
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
794
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
795
+ # year.
796
796
  # Corresponds to the JSON property `year`
797
797
  # @return [Fixnum]
798
798
  attr_accessor :year