google-api-client 0.46.2 → 0.47.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.
Files changed (158) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/trampoline.sh +0 -0
  3. data/CHANGELOG.md +370 -192
  4. data/Gemfile +1 -0
  5. data/Rakefile +31 -3
  6. data/generated/google/apis/accessapproval_v1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
  8. data/generated/google/apis/admob_v1.rb +1 -1
  9. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  10. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +26 -12
  11. data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -1
  12. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  13. data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
  14. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  15. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
  16. data/generated/google/apis/apigee_v1.rb +1 -1
  17. data/generated/google/apis/apigee_v1/classes.rb +16 -54
  18. data/generated/google/apis/apigee_v1/representations.rb +1 -18
  19. data/generated/google/apis/apigee_v1/service.rb +21 -13
  20. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  21. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  22. data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
  23. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  24. data/generated/google/apis/bigquery_v2.rb +1 -1
  25. data/generated/google/apis/bigquery_v2/classes.rb +72 -0
  26. data/generated/google/apis/bigquery_v2/representations.rb +33 -0
  27. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  28. data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -2
  29. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  30. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
  31. data/generated/google/apis/books_v1.rb +1 -1
  32. data/generated/google/apis/books_v1/service.rb +52 -52
  33. data/generated/google/apis/chat_v1.rb +1 -1
  34. data/generated/google/apis/chat_v1/classes.rb +8 -0
  35. data/generated/google/apis/chat_v1/representations.rb +1 -0
  36. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  37. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  38. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
  40. data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
  41. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  42. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  43. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  44. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  45. data/generated/google/apis/compute_v1.rb +1 -1
  46. data/generated/google/apis/compute_v1/classes.rb +15 -8
  47. data/generated/google/apis/content_v2.rb +2 -3
  48. data/generated/google/apis/content_v2/classes.rb +508 -1216
  49. data/generated/google/apis/content_v2/service.rb +373 -646
  50. data/generated/google/apis/dataproc_v1.rb +1 -1
  51. data/generated/google/apis/dataproc_v1/classes.rb +15 -3
  52. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  53. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  54. data/generated/google/apis/dataproc_v1beta2/classes.rb +15 -3
  55. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  56. data/generated/google/apis/dialogflow_v2.rb +1 -1
  57. data/generated/google/apis/dialogflow_v2/classes.rb +651 -374
  58. data/generated/google/apis/dialogflow_v2/representations.rb +284 -185
  59. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  60. data/generated/google/apis/dialogflow_v2beta1/classes.rb +651 -374
  61. data/generated/google/apis/dialogflow_v2beta1/representations.rb +288 -189
  62. data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
  63. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  64. data/generated/google/apis/dialogflow_v3beta1/classes.rb +682 -374
  65. data/generated/google/apis/dialogflow_v3beta1/representations.rb +303 -188
  66. data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
  67. data/generated/google/apis/dlp_v2.rb +1 -1
  68. data/generated/google/apis/dlp_v2/classes.rb +29 -29
  69. data/generated/google/apis/dns_v1.rb +2 -2
  70. data/generated/google/apis/dns_v1/service.rb +1 -1
  71. data/generated/google/apis/dns_v1beta2.rb +2 -2
  72. data/generated/google/apis/dns_v1beta2/classes.rb +1 -1
  73. data/generated/google/apis/dns_v1beta2/service.rb +1 -1
  74. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  75. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
  76. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  77. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
  78. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  79. data/generated/google/apis/eventarc_v1beta1/classes.rb +933 -0
  80. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  81. data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
  82. data/generated/google/apis/games_v1.rb +1 -1
  83. data/generated/google/apis/healthcare_v1.rb +1 -1
  84. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  85. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  86. data/generated/google/apis/healthcare_v1beta1/classes.rb +79 -0
  87. data/generated/google/apis/healthcare_v1beta1/representations.rb +31 -0
  88. data/generated/google/apis/healthcare_v1beta1/service.rb +53 -11
  89. data/generated/google/apis/licensing_v1.rb +1 -1
  90. data/generated/google/apis/licensing_v1/service.rb +2 -2
  91. data/generated/google/apis/localservices_v1.rb +1 -1
  92. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  93. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  94. data/generated/google/apis/logging_v2.rb +1 -1
  95. data/generated/google/apis/logging_v2/classes.rb +4 -5
  96. data/generated/google/apis/ml_v1.rb +1 -1
  97. data/generated/google/apis/ml_v1/classes.rb +238 -77
  98. data/generated/google/apis/ml_v1/representations.rb +17 -0
  99. data/generated/google/apis/monitoring_v3.rb +1 -1
  100. data/generated/google/apis/monitoring_v3/classes.rb +11 -5
  101. data/generated/google/apis/monitoring_v3/service.rb +50 -1
  102. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  103. data/generated/google/apis/pubsub_v1.rb +1 -1
  104. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  105. data/generated/google/apis/recommender_v1.rb +1 -1
  106. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  107. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  108. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  109. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  110. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  111. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  112. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
  113. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  114. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  115. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
  116. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  117. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  118. data/generated/google/apis/servicecontrol_v1/classes.rb +32 -2
  119. data/generated/google/apis/servicecontrol_v1/representations.rb +4 -0
  120. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  121. data/generated/google/apis/servicecontrol_v2/classes.rb +17 -0
  122. data/generated/google/apis/servicecontrol_v2/representations.rb +2 -0
  123. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  124. data/generated/google/apis/servicemanagement_v1/classes.rb +4 -3
  125. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  126. data/generated/google/apis/servicenetworking_v1/classes.rb +78 -60
  127. data/generated/google/apis/servicenetworking_v1/representations.rb +29 -14
  128. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  129. data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -60
  130. data/generated/google/apis/servicenetworking_v1beta/representations.rb +12 -14
  131. data/generated/google/apis/serviceusage_v1.rb +1 -1
  132. data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
  133. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  134. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  135. data/generated/google/apis/serviceusage_v1beta1/classes.rb +5 -63
  136. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -18
  137. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  138. data/generated/google/apis/storagetransfer_v1/classes.rb +29 -29
  139. data/generated/google/apis/tagmanager_v2.rb +1 -1
  140. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  141. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  142. data/generated/google/apis/testing_v1.rb +1 -1
  143. data/generated/google/apis/testing_v1/classes.rb +45 -33
  144. data/generated/google/apis/testing_v1/representations.rb +1 -0
  145. data/generated/google/apis/testing_v1/service.rb +4 -4
  146. data/generated/google/apis/videointelligence_v1.rb +1 -1
  147. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  148. data/generated/google/apis/youtube_v3.rb +1 -1
  149. data/generated/google/apis/youtube_v3/service.rb +2 -2
  150. data/google-api-client.gemspec +25 -25
  151. data/lib/google/apis/core/http_command.rb +2 -1
  152. data/lib/google/apis/options.rb +8 -5
  153. data/lib/google/apis/version.rb +1 -1
  154. metadata +12 -8
  155. data/generated/google/apis/safebrowsing_v4.rb +0 -35
  156. data/generated/google/apis/safebrowsing_v4/classes.rb +0 -909
  157. data/generated/google/apis/safebrowsing_v4/representations.rb +0 -445
  158. data/generated/google/apis/safebrowsing_v4/service.rb +0 -286
@@ -418,13 +418,13 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
- class Service
421
+ class SecondaryIpRange
422
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
423
 
424
424
  include Google::Apis::Core::JsonObjectSupport
425
425
  end
426
426
 
427
- class ServiceIdentity
427
+ class Service
428
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
429
 
430
430
  include Google::Apis::Core::JsonObjectSupport
@@ -850,7 +850,6 @@ module Google
850
850
  class Representation < Google::Apis::Core::JsonRepresentation
851
851
  collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServicenetworkingV1beta::HttpRule, decorator: Google::Apis::ServicenetworkingV1beta::HttpRule::Representation
852
852
 
853
- property :allow_half_duplex, as: 'allowHalfDuplex'
854
853
  property :body, as: 'body'
855
854
  property :custom, as: 'custom', class: Google::Apis::ServicenetworkingV1beta::CustomHttpPattern, decorator: Google::Apis::ServicenetworkingV1beta::CustomHttpPattern::Representation
856
855
 
@@ -1143,6 +1142,14 @@ module Google
1143
1142
  end
1144
1143
  end
1145
1144
 
1145
+ class SecondaryIpRange
1146
+ # @private
1147
+ class Representation < Google::Apis::Core::JsonRepresentation
1148
+ property :ip_cidr_range, as: 'ipCidrRange'
1149
+ property :range_name, as: 'rangeName'
1150
+ end
1151
+ end
1152
+
1146
1153
  class Service
1147
1154
  # @private
1148
1155
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1198,15 +1205,6 @@ module Google
1198
1205
  end
1199
1206
  end
1200
1207
 
1201
- class ServiceIdentity
1202
- # @private
1203
- class Representation < Google::Apis::Core::JsonRepresentation
1204
- property :description, as: 'description'
1205
- property :display_name, as: 'displayName'
1206
- property :service_account_parent, as: 'serviceAccountParent'
1207
- end
1208
- end
1209
-
1210
1208
  class SourceContext
1211
1209
  # @private
1212
1210
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1237,6 +1235,8 @@ module Google
1237
1235
  property :name, as: 'name'
1238
1236
  property :network, as: 'network'
1239
1237
  property :outside_allocation, as: 'outsideAllocation'
1238
+ collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ServicenetworkingV1beta::SecondaryIpRange, decorator: Google::Apis::ServicenetworkingV1beta::SecondaryIpRange::Representation
1239
+
1240
1240
  end
1241
1241
  end
1242
1242
 
@@ -1294,8 +1294,6 @@ module Google
1294
1294
  collection :requirements, as: 'requirements'
1295
1295
  collection :rules, as: 'rules', class: Google::Apis::ServicenetworkingV1beta::UsageRule, decorator: Google::Apis::ServicenetworkingV1beta::UsageRule::Representation
1296
1296
 
1297
- property :service_identity, as: 'serviceIdentity', class: Google::Apis::ServicenetworkingV1beta::ServiceIdentity, decorator: Google::Apis::ServicenetworkingV1beta::ServiceIdentity::Representation
1298
-
1299
1297
  end
1300
1298
  end
1301
1299
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1
29
29
  VERSION = 'V1'
30
- REVISION = '20200821'
30
+ REVISION = '20201021'
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'
@@ -311,7 +311,8 @@ module Google
311
311
  class AuthenticationRule
312
312
  include Google::Apis::Core::Hashable
313
313
 
314
- # If true, the service accepts API keys without any other credential.
314
+ # If true, the service accepts API keys without any other credential. This flag
315
+ # only applies to HTTP and gRPC requests.
315
316
  # Corresponds to the JSON property `allowWithoutCredential`
316
317
  # @return [Boolean]
317
318
  attr_accessor :allow_without_credential
@@ -659,7 +660,7 @@ module Google
659
660
  # context.OriginContext The above specifies that all methods in the API request `
660
661
  # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
661
662
  # Available context types are defined in package `google.rpc.context`. This also
662
- # provides mechanism to whitelist any protobuf message extension that can be
663
+ # provides mechanism to allowlist any protobuf message extension that can be
663
664
  # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
664
665
  # For example, list any service specific protobuf types that can appear in grpc
665
666
  # metadata as follows in your yaml file: Example: context: rules: - selector: "
@@ -1368,10 +1369,7 @@ module Google
1368
1369
  # @return [Google::Apis::ServiceusageV1::Billing]
1369
1370
  attr_accessor :billing
1370
1371
 
1371
- # The semantic version of the service configuration. The config version affects
1372
- # the interpretation of the service configuration. For example, certain features
1373
- # are enabled by default for certain config versions. The latest config version
1374
- # is `3`.
1372
+ # This field is obsolete. Its value must be set to `3`.
1375
1373
  # Corresponds to the JSON property `configVersion`
1376
1374
  # @return [Fixnum]
1377
1375
  attr_accessor :config_version
@@ -1381,7 +1379,7 @@ module Google
1381
1379
  # context.OriginContext The above specifies that all methods in the API request `
1382
1380
  # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
1383
1381
  # Available context types are defined in package `google.rpc.context`. This also
1384
- # provides mechanism to whitelist any protobuf message extension that can be
1382
+ # provides mechanism to allowlist any protobuf message extension that can be
1385
1383
  # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
1386
1384
  # For example, list any service specific protobuf types that can appear in grpc
1387
1385
  # metadata as follows in your yaml file: Example: context: rules: - selector: "
@@ -1636,44 +1634,6 @@ module Google
1636
1634
  end
1637
1635
  end
1638
1636
 
1639
- # The per-product per-project service identity for a service. Use this field to
1640
- # configure per-product per-project service identity. Example of a service
1641
- # identity configuration. usage: service_identity: - service_account_parent: "
1642
- # projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
1643
- # as the identity of Cloud XXX to access resources"
1644
- class GoogleApiServiceIdentity
1645
- include Google::Apis::Core::Hashable
1646
-
1647
- # Optional. A user-specified opaque description of the service account. Must be
1648
- # less than or equal to 256 UTF-8 bytes.
1649
- # Corresponds to the JSON property `description`
1650
- # @return [String]
1651
- attr_accessor :description
1652
-
1653
- # Optional. A user-specified name for the service account. Must be less than or
1654
- # equal to 100 UTF-8 bytes.
1655
- # Corresponds to the JSON property `displayName`
1656
- # @return [String]
1657
- attr_accessor :display_name
1658
-
1659
- # A service account project that hosts the service accounts. An example name
1660
- # would be: `projects/123456789`
1661
- # Corresponds to the JSON property `serviceAccountParent`
1662
- # @return [String]
1663
- attr_accessor :service_account_parent
1664
-
1665
- def initialize(**args)
1666
- update!(**args)
1667
- end
1668
-
1669
- # Update properties of this object
1670
- def update!(**args)
1671
- @description = args[:description] if args.key?(:description)
1672
- @display_name = args[:display_name] if args.key?(:display_name)
1673
- @service_account_parent = args[:service_account_parent] if args.key?(:service_account_parent)
1674
- end
1675
- end
1676
-
1677
1637
  # The operation metadata returned for the batchend services operation.
1678
1638
  class GoogleApiServiceusageV1OperationMetadata
1679
1639
  include Google::Apis::Core::Hashable
@@ -2101,13 +2061,6 @@ module Google
2101
2061
  # @return [Array<Google::Apis::ServiceusageV1::HttpRule>]
2102
2062
  attr_accessor :additional_bindings
2103
2063
 
2104
- # When this flag is set to true, HTTP requests will be allowed to invoke a half-
2105
- # duplex streaming method.
2106
- # Corresponds to the JSON property `allowHalfDuplex`
2107
- # @return [Boolean]
2108
- attr_accessor :allow_half_duplex
2109
- alias_method :allow_half_duplex?, :allow_half_duplex
2110
-
2111
2064
  # The name of the request field whose value is mapped to the HTTP request body,
2112
2065
  # or `*` for mapping all request fields not captured by the path pattern to the
2113
2066
  # HTTP body, or omitted for not having any HTTP request body. NOTE: the referred
@@ -2167,7 +2120,6 @@ module Google
2167
2120
  # Update properties of this object
2168
2121
  def update!(**args)
2169
2122
  @additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
2170
- @allow_half_duplex = args[:allow_half_duplex] if args.key?(:allow_half_duplex)
2171
2123
  @body = args[:body] if args.key?(:body)
2172
2124
  @custom = args[:custom] if args.key?(:custom)
2173
2125
  @delete = args[:delete] if args.key?(:delete)
@@ -3628,15 +3580,6 @@ module Google
3628
3580
  # @return [Array<Google::Apis::ServiceusageV1::UsageRule>]
3629
3581
  attr_accessor :rules
3630
3582
 
3631
- # The per-product per-project service identity for a service. Use this field to
3632
- # configure per-product per-project service identity. Example of a service
3633
- # identity configuration. usage: service_identity: - service_account_parent: "
3634
- # projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
3635
- # as the identity of Cloud XXX to access resources"
3636
- # Corresponds to the JSON property `serviceIdentity`
3637
- # @return [Google::Apis::ServiceusageV1::GoogleApiServiceIdentity]
3638
- attr_accessor :service_identity
3639
-
3640
3583
  def initialize(**args)
3641
3584
  update!(**args)
3642
3585
  end
@@ -3646,7 +3589,6 @@ module Google
3646
3589
  @producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
3647
3590
  @requirements = args[:requirements] if args.key?(:requirements)
3648
3591
  @rules = args[:rules] if args.key?(:rules)
3649
- @service_identity = args[:service_identity] if args.key?(:service_identity)
3650
3592
  end
3651
3593
  end
3652
3594
 
@@ -238,12 +238,6 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
- class GoogleApiServiceIdentity
242
- class Representation < Google::Apis::Core::JsonRepresentation; end
243
-
244
- include Google::Apis::Core::JsonObjectSupport
245
- end
246
-
247
241
  class GoogleApiServiceusageV1OperationMetadata
248
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
243
 
@@ -893,15 +887,6 @@ module Google
893
887
  end
894
888
  end
895
889
 
896
- class GoogleApiServiceIdentity
897
- # @private
898
- class Representation < Google::Apis::Core::JsonRepresentation
899
- property :description, as: 'description'
900
- property :display_name, as: 'displayName'
901
- property :service_account_parent, as: 'serviceAccountParent'
902
- end
903
- end
904
-
905
890
  class GoogleApiServiceusageV1OperationMetadata
906
891
  # @private
907
892
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -975,7 +960,6 @@ module Google
975
960
  class Representation < Google::Apis::Core::JsonRepresentation
976
961
  collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceusageV1::HttpRule, decorator: Google::Apis::ServiceusageV1::HttpRule::Representation
977
962
 
978
- property :allow_half_duplex, as: 'allowHalfDuplex'
979
963
  property :body, as: 'body'
980
964
  property :custom, as: 'custom', class: Google::Apis::ServiceusageV1::CustomHttpPattern, decorator: Google::Apis::ServiceusageV1::CustomHttpPattern::Representation
981
965
 
@@ -1328,8 +1312,6 @@ module Google
1328
1312
  collection :requirements, as: 'requirements'
1329
1313
  collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::UsageRule, decorator: Google::Apis::ServiceusageV1::UsageRule::Representation
1330
1314
 
1331
- property :service_identity, as: 'serviceIdentity', class: Google::Apis::ServiceusageV1::GoogleApiServiceIdentity, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceIdentity::Representation
1332
-
1333
1315
  end
1334
1316
  end
1335
1317
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20200821'
30
+ REVISION = '20201021'
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'
@@ -311,7 +311,8 @@ module Google
311
311
  class AuthenticationRule
312
312
  include Google::Apis::Core::Hashable
313
313
 
314
- # If true, the service accepts API keys without any other credential.
314
+ # If true, the service accepts API keys without any other credential. This flag
315
+ # only applies to HTTP and gRPC requests.
315
316
  # Corresponds to the JSON property `allowWithoutCredential`
316
317
  # @return [Boolean]
317
318
  attr_accessor :allow_without_credential
@@ -736,7 +737,7 @@ module Google
736
737
  # context.OriginContext The above specifies that all methods in the API request `
737
738
  # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
738
739
  # Available context types are defined in package `google.rpc.context`. This also
739
- # provides mechanism to whitelist any protobuf message extension that can be
740
+ # provides mechanism to allowlist any protobuf message extension that can be
740
741
  # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
741
742
  # For example, list any service specific protobuf types that can appear in grpc
742
743
  # metadata as follows in your yaml file: Example: context: rules: - selector: "
@@ -1429,10 +1430,7 @@ module Google
1429
1430
  # @return [Google::Apis::ServiceusageV1beta1::Billing]
1430
1431
  attr_accessor :billing
1431
1432
 
1432
- # The semantic version of the service configuration. The config version affects
1433
- # the interpretation of the service configuration. For example, certain features
1434
- # are enabled by default for certain config versions. The latest config version
1435
- # is `3`.
1433
+ # This field is obsolete. Its value must be set to `3`.
1436
1434
  # Corresponds to the JSON property `configVersion`
1437
1435
  # @return [Fixnum]
1438
1436
  attr_accessor :config_version
@@ -1442,7 +1440,7 @@ module Google
1442
1440
  # context.OriginContext The above specifies that all methods in the API request `
1443
1441
  # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
1444
1442
  # Available context types are defined in package `google.rpc.context`. This also
1445
- # provides mechanism to whitelist any protobuf message extension that can be
1443
+ # provides mechanism to allowlist any protobuf message extension that can be
1446
1444
  # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
1447
1445
  # For example, list any service specific protobuf types that can appear in grpc
1448
1446
  # metadata as follows in your yaml file: Example: context: rules: - selector: "
@@ -1697,44 +1695,6 @@ module Google
1697
1695
  end
1698
1696
  end
1699
1697
 
1700
- # The per-product per-project service identity for a service. Use this field to
1701
- # configure per-product per-project service identity. Example of a service
1702
- # identity configuration. usage: service_identity: - service_account_parent: "
1703
- # projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
1704
- # as the identity of Cloud XXX to access resources"
1705
- class GoogleApiServiceIdentity
1706
- include Google::Apis::Core::Hashable
1707
-
1708
- # Optional. A user-specified opaque description of the service account. Must be
1709
- # less than or equal to 256 UTF-8 bytes.
1710
- # Corresponds to the JSON property `description`
1711
- # @return [String]
1712
- attr_accessor :description
1713
-
1714
- # Optional. A user-specified name for the service account. Must be less than or
1715
- # equal to 100 UTF-8 bytes.
1716
- # Corresponds to the JSON property `displayName`
1717
- # @return [String]
1718
- attr_accessor :display_name
1719
-
1720
- # A service account project that hosts the service accounts. An example name
1721
- # would be: `projects/123456789`
1722
- # Corresponds to the JSON property `serviceAccountParent`
1723
- # @return [String]
1724
- attr_accessor :service_account_parent
1725
-
1726
- def initialize(**args)
1727
- update!(**args)
1728
- end
1729
-
1730
- # Update properties of this object
1731
- def update!(**args)
1732
- @description = args[:description] if args.key?(:description)
1733
- @display_name = args[:display_name] if args.key?(:display_name)
1734
- @service_account_parent = args[:service_account_parent] if args.key?(:service_account_parent)
1735
- end
1736
- end
1737
-
1738
1698
  # The operation metadata returned for the batchend services operation.
1739
1699
  class GoogleApiServiceusageV1OperationMetadata
1740
1700
  include Google::Apis::Core::Hashable
@@ -2162,13 +2122,6 @@ module Google
2162
2122
  # @return [Array<Google::Apis::ServiceusageV1beta1::HttpRule>]
2163
2123
  attr_accessor :additional_bindings
2164
2124
 
2165
- # When this flag is set to true, HTTP requests will be allowed to invoke a half-
2166
- # duplex streaming method.
2167
- # Corresponds to the JSON property `allowHalfDuplex`
2168
- # @return [Boolean]
2169
- attr_accessor :allow_half_duplex
2170
- alias_method :allow_half_duplex?, :allow_half_duplex
2171
-
2172
2125
  # The name of the request field whose value is mapped to the HTTP request body,
2173
2126
  # or `*` for mapping all request fields not captured by the path pattern to the
2174
2127
  # HTTP body, or omitted for not having any HTTP request body. NOTE: the referred
@@ -2228,7 +2181,6 @@ module Google
2228
2181
  # Update properties of this object
2229
2182
  def update!(**args)
2230
2183
  @additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
2231
- @allow_half_duplex = args[:allow_half_duplex] if args.key?(:allow_half_duplex)
2232
2184
  @body = args[:body] if args.key?(:body)
2233
2185
  @custom = args[:custom] if args.key?(:custom)
2234
2186
  @delete = args[:delete] if args.key?(:delete)
@@ -4055,15 +4007,6 @@ module Google
4055
4007
  # @return [Array<Google::Apis::ServiceusageV1beta1::UsageRule>]
4056
4008
  attr_accessor :rules
4057
4009
 
4058
- # The per-product per-project service identity for a service. Use this field to
4059
- # configure per-product per-project service identity. Example of a service
4060
- # identity configuration. usage: service_identity: - service_account_parent: "
4061
- # projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
4062
- # as the identity of Cloud XXX to access resources"
4063
- # Corresponds to the JSON property `serviceIdentity`
4064
- # @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceIdentity]
4065
- attr_accessor :service_identity
4066
-
4067
4010
  def initialize(**args)
4068
4011
  update!(**args)
4069
4012
  end
@@ -4073,7 +4016,6 @@ module Google
4073
4016
  @producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
4074
4017
  @requirements = args[:requirements] if args.key?(:requirements)
4075
4018
  @rules = args[:rules] if args.key?(:rules)
4076
- @service_identity = args[:service_identity] if args.key?(:service_identity)
4077
4019
  end
4078
4020
  end
4079
4021
 
@@ -238,12 +238,6 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
- class GoogleApiServiceIdentity
242
- class Representation < Google::Apis::Core::JsonRepresentation; end
243
-
244
- include Google::Apis::Core::JsonObjectSupport
245
- end
246
-
247
241
  class GoogleApiServiceusageV1OperationMetadata
248
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
243
 
@@ -950,15 +944,6 @@ module Google
950
944
  end
951
945
  end
952
946
 
953
- class GoogleApiServiceIdentity
954
- # @private
955
- class Representation < Google::Apis::Core::JsonRepresentation
956
- property :description, as: 'description'
957
- property :display_name, as: 'displayName'
958
- property :service_account_parent, as: 'serviceAccountParent'
959
- end
960
- end
961
-
962
947
  class GoogleApiServiceusageV1OperationMetadata
963
948
  # @private
964
949
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1032,7 +1017,6 @@ module Google
1032
1017
  class Representation < Google::Apis::Core::JsonRepresentation
1033
1018
  collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceusageV1beta1::HttpRule, decorator: Google::Apis::ServiceusageV1beta1::HttpRule::Representation
1034
1019
 
1035
- property :allow_half_duplex, as: 'allowHalfDuplex'
1036
1020
  property :body, as: 'body'
1037
1021
  property :custom, as: 'custom', class: Google::Apis::ServiceusageV1beta1::CustomHttpPattern, decorator: Google::Apis::ServiceusageV1beta1::CustomHttpPattern::Representation
1038
1022
 
@@ -1479,8 +1463,6 @@ module Google
1479
1463
  collection :requirements, as: 'requirements'
1480
1464
  collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::UsageRule, decorator: Google::Apis::ServiceusageV1beta1::UsageRule::Representation
1481
1465
 
1482
- property :service_identity, as: 'serviceIdentity', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceIdentity, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceIdentity::Representation
1483
-
1484
1466
  end
1485
1467
  end
1486
1468
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/storage-transfer/docs
27
27
  module StoragetransferV1
28
28
  VERSION = 'V1'
29
- REVISION = '20201013'
29
+ REVISION = '20201016'
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'
@@ -147,31 +147,31 @@ module Google
147
147
  end
148
148
  end
149
149
 
150
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
151
- # and time zone are either specified elsewhere or are not significant. The date
152
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
153
- # date, with non-zero year, month and day values * A month and day value, with a
154
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
155
- # values * A year and month value, with a zero day, e.g. a credit card
156
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
157
- # Timestamp`.
150
+ # Represents a whole or partial calendar date, such as a birthday. The time of
151
+ # day and time zone are either specified elsewhere or are insignificant. The
152
+ # date is relative to the Gregorian Calendar. This can represent one of the
153
+ # following: * A full date, with non-zero year, month, and day values * A month
154
+ # and day value, with a zero year, such as an anniversary * A year on its own,
155
+ # with zero month and day values * A year and month value, with a zero day, such
156
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
157
+ # google.protobuf.Timestamp`.
158
158
  class Date
159
159
  include Google::Apis::Core::Hashable
160
160
 
161
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
162
- # specifying a year by itself or a year and month where the day is not
163
- # significant.
161
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
162
+ # specify a year by itself or a year and month where the day isn't significant.
164
163
  # Corresponds to the JSON property `day`
165
164
  # @return [Fixnum]
166
165
  attr_accessor :day
167
166
 
168
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
167
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
169
168
  # and day.
170
169
  # Corresponds to the JSON property `month`
171
170
  # @return [Fixnum]
172
171
  attr_accessor :month
173
172
 
174
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
173
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
174
+ # year.
175
175
  # Corresponds to the JSON property `year`
176
176
  # @return [Fixnum]
177
177
  attr_accessor :year
@@ -617,26 +617,26 @@ module Google
617
617
  class Schedule
618
618
  include Google::Apis::Core::Hashable
619
619
 
620
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
621
- # and time zone are either specified elsewhere or are not significant. The date
622
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
623
- # date, with non-zero year, month and day values * A month and day value, with a
624
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
625
- # values * A year and month value, with a zero day, e.g. a credit card
626
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
627
- # Timestamp`.
620
+ # Represents a whole or partial calendar date, such as a birthday. The time of
621
+ # day and time zone are either specified elsewhere or are insignificant. The
622
+ # date is relative to the Gregorian Calendar. This can represent one of the
623
+ # following: * A full date, with non-zero year, month, and day values * A month
624
+ # and day value, with a zero year, such as an anniversary * A year on its own,
625
+ # with zero month and day values * A year and month value, with a zero day, such
626
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
627
+ # google.protobuf.Timestamp`.
628
628
  # Corresponds to the JSON property `scheduleEndDate`
629
629
  # @return [Google::Apis::StoragetransferV1::Date]
630
630
  attr_accessor :schedule_end_date
631
631
 
632
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
633
- # and time zone are either specified elsewhere or are not significant. The date
634
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
635
- # date, with non-zero year, month and day values * A month and day value, with a
636
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
637
- # values * A year and month value, with a zero day, e.g. a credit card
638
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
639
- # Timestamp`.
632
+ # Represents a whole or partial calendar date, such as a birthday. The time of
633
+ # day and time zone are either specified elsewhere or are insignificant. The
634
+ # date is relative to the Gregorian Calendar. This can represent one of the
635
+ # following: * A full date, with non-zero year, month, and day values * A month
636
+ # and day value, with a zero year, such as an anniversary * A year on its own,
637
+ # with zero month and day values * A year and month value, with a zero day, such
638
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
639
+ # google.protobuf.Timestamp`.
640
640
  # Corresponds to the JSON property `scheduleStartDate`
641
641
  # @return [Google::Apis::StoragetransferV1::Date]
642
642
  attr_accessor :schedule_start_date