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
@@ -364,12 +364,6 @@ module Google
364
364
  include Google::Apis::Core::JsonObjectSupport
365
365
  end
366
366
 
367
- class ServiceIdentity
368
- class Representation < Google::Apis::Core::JsonRepresentation; end
369
-
370
- include Google::Apis::Core::JsonObjectSupport
371
- end
372
-
373
367
  class SourceContext
374
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
369
 
@@ -866,7 +860,6 @@ module Google
866
860
  class Representation < Google::Apis::Core::JsonRepresentation
867
861
  collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceconsumermanagementV1::HttpRule, decorator: Google::Apis::ServiceconsumermanagementV1::HttpRule::Representation
868
862
 
869
- property :allow_half_duplex, as: 'allowHalfDuplex'
870
863
  property :body, as: 'body'
871
864
  property :custom, as: 'custom', class: Google::Apis::ServiceconsumermanagementV1::CustomHttpPattern, decorator: Google::Apis::ServiceconsumermanagementV1::CustomHttpPattern::Representation
872
865
 
@@ -1184,15 +1177,6 @@ module Google
1184
1177
  end
1185
1178
  end
1186
1179
 
1187
- class ServiceIdentity
1188
- # @private
1189
- class Representation < Google::Apis::Core::JsonRepresentation
1190
- property :description, as: 'description'
1191
- property :display_name, as: 'displayName'
1192
- property :service_account_parent, as: 'serviceAccountParent'
1193
- end
1194
- end
1195
-
1196
1180
  class SourceContext
1197
1181
  # @private
1198
1182
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1315,8 +1299,6 @@ module Google
1315
1299
  collection :requirements, as: 'requirements'
1316
1300
  collection :rules, as: 'rules', class: Google::Apis::ServiceconsumermanagementV1::UsageRule, decorator: Google::Apis::ServiceconsumermanagementV1::UsageRule::Representation
1317
1301
 
1318
- property :service_identity, as: 'serviceIdentity', class: Google::Apis::ServiceconsumermanagementV1::ServiceIdentity, decorator: Google::Apis::ServiceconsumermanagementV1::ServiceIdentity::Representation
1319
-
1320
1302
  end
1321
1303
  end
1322
1304
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/service-consumer-management/docs/overview
26
26
  module ServiceconsumermanagementV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200818'
28
+ REVISION = '20201021'
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'
@@ -246,7 +246,8 @@ module Google
246
246
  class AuthenticationRule
247
247
  include Google::Apis::Core::Hashable
248
248
 
249
- # If true, the service accepts API keys without any other credential.
249
+ # If true, the service accepts API keys without any other credential. This flag
250
+ # only applies to HTTP and gRPC requests.
250
251
  # Corresponds to the JSON property `allowWithoutCredential`
251
252
  # @return [Boolean]
252
253
  attr_accessor :allow_without_credential
@@ -473,7 +474,7 @@ module Google
473
474
  # context.OriginContext The above specifies that all methods in the API request `
474
475
  # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
475
476
  # Available context types are defined in package `google.rpc.context`. This also
476
- # provides mechanism to whitelist any protobuf message extension that can be
477
+ # provides mechanism to allowlist any protobuf message extension that can be
477
478
  # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
478
479
  # For example, list any service specific protobuf types that can appear in grpc
479
480
  # metadata as follows in your yaml file: Example: context: rules: - selector: "
@@ -1163,13 +1164,6 @@ module Google
1163
1164
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::HttpRule>]
1164
1165
  attr_accessor :additional_bindings
1165
1166
 
1166
- # When this flag is set to true, HTTP requests will be allowed to invoke a half-
1167
- # duplex streaming method.
1168
- # Corresponds to the JSON property `allowHalfDuplex`
1169
- # @return [Boolean]
1170
- attr_accessor :allow_half_duplex
1171
- alias_method :allow_half_duplex?, :allow_half_duplex
1172
-
1173
1167
  # The name of the request field whose value is mapped to the HTTP request body,
1174
1168
  # or `*` for mapping all request fields not captured by the path pattern to the
1175
1169
  # HTTP body, or omitted for not having any HTTP request body. NOTE: the referred
@@ -1229,7 +1223,6 @@ module Google
1229
1223
  # Update properties of this object
1230
1224
  def update!(**args)
1231
1225
  @additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
1232
- @allow_half_duplex = args[:allow_half_duplex] if args.key?(:allow_half_duplex)
1233
1226
  @body = args[:body] if args.key?(:body)
1234
1227
  @custom = args[:custom] if args.key?(:custom)
1235
1228
  @delete = args[:delete] if args.key?(:delete)
@@ -2266,10 +2259,7 @@ module Google
2266
2259
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::Billing]
2267
2260
  attr_accessor :billing
2268
2261
 
2269
- # The semantic version of the service configuration. The config version affects
2270
- # the interpretation of the service configuration. For example, certain features
2271
- # are enabled by default for certain config versions. The latest config version
2272
- # is `3`.
2262
+ # This field is obsolete. Its value must be set to `3`.
2273
2263
  # Corresponds to the JSON property `configVersion`
2274
2264
  # @return [Fixnum]
2275
2265
  attr_accessor :config_version
@@ -2279,7 +2269,7 @@ module Google
2279
2269
  # context.OriginContext The above specifies that all methods in the API request `
2280
2270
  # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
2281
2271
  # Available context types are defined in package `google.rpc.context`. This also
2282
- # provides mechanism to whitelist any protobuf message extension that can be
2272
+ # provides mechanism to allowlist any protobuf message extension that can be
2283
2273
  # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
2284
2274
  # For example, list any service specific protobuf types that can appear in grpc
2285
2275
  # metadata as follows in your yaml file: Example: context: rules: - selector: "
@@ -2534,44 +2524,6 @@ module Google
2534
2524
  end
2535
2525
  end
2536
2526
 
2537
- # The per-product per-project service identity for a service. Use this field to
2538
- # configure per-product per-project service identity. Example of a service
2539
- # identity configuration. usage: service_identity: - service_account_parent: "
2540
- # projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
2541
- # as the identity of Cloud XXX to access resources"
2542
- class ServiceIdentity
2543
- include Google::Apis::Core::Hashable
2544
-
2545
- # Optional. A user-specified opaque description of the service account. Must be
2546
- # less than or equal to 256 UTF-8 bytes.
2547
- # Corresponds to the JSON property `description`
2548
- # @return [String]
2549
- attr_accessor :description
2550
-
2551
- # Optional. A user-specified name for the service account. Must be less than or
2552
- # equal to 100 UTF-8 bytes.
2553
- # Corresponds to the JSON property `displayName`
2554
- # @return [String]
2555
- attr_accessor :display_name
2556
-
2557
- # A service account project that hosts the service accounts. An example name
2558
- # would be: `projects/123456789`
2559
- # Corresponds to the JSON property `serviceAccountParent`
2560
- # @return [String]
2561
- attr_accessor :service_account_parent
2562
-
2563
- def initialize(**args)
2564
- update!(**args)
2565
- end
2566
-
2567
- # Update properties of this object
2568
- def update!(**args)
2569
- @description = args[:description] if args.key?(:description)
2570
- @display_name = args[:display_name] if args.key?(:display_name)
2571
- @service_account_parent = args[:service_account_parent] if args.key?(:service_account_parent)
2572
- end
2573
- end
2574
-
2575
2527
  # `SourceContext` represents information about the source of a protobuf element,
2576
2528
  # like the file in which it is defined.
2577
2529
  class SourceContext
@@ -2822,15 +2774,6 @@ module Google
2822
2774
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::UsageRule>]
2823
2775
  attr_accessor :rules
2824
2776
 
2825
- # The per-product per-project service identity for a service. Use this field to
2826
- # configure per-product per-project service identity. Example of a service
2827
- # identity configuration. usage: service_identity: - service_account_parent: "
2828
- # projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
2829
- # as the identity of Cloud XXX to access resources"
2830
- # Corresponds to the JSON property `serviceIdentity`
2831
- # @return [Google::Apis::ServiceconsumermanagementV1beta1::ServiceIdentity]
2832
- attr_accessor :service_identity
2833
-
2834
2777
  def initialize(**args)
2835
2778
  update!(**args)
2836
2779
  end
@@ -2840,7 +2783,6 @@ module Google
2840
2783
  @producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
2841
2784
  @requirements = args[:requirements] if args.key?(:requirements)
2842
2785
  @rules = args[:rules] if args.key?(:rules)
2843
- @service_identity = args[:service_identity] if args.key?(:service_identity)
2844
2786
  end
2845
2787
  end
2846
2788
 
@@ -286,12 +286,6 @@ module Google
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
- class ServiceIdentity
290
- class Representation < Google::Apis::Core::JsonRepresentation; end
291
-
292
- include Google::Apis::Core::JsonObjectSupport
293
- end
294
-
295
289
  class SourceContext
296
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
291
 
@@ -746,7 +740,6 @@ module Google
746
740
  class Representation < Google::Apis::Core::JsonRepresentation
747
741
  collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceconsumermanagementV1beta1::HttpRule, decorator: Google::Apis::ServiceconsumermanagementV1beta1::HttpRule::Representation
748
742
 
749
- property :allow_half_duplex, as: 'allowHalfDuplex'
750
743
  property :body, as: 'body'
751
744
  property :custom, as: 'custom', class: Google::Apis::ServiceconsumermanagementV1beta1::CustomHttpPattern, decorator: Google::Apis::ServiceconsumermanagementV1beta1::CustomHttpPattern::Representation
752
745
 
@@ -1014,15 +1007,6 @@ module Google
1014
1007
  end
1015
1008
  end
1016
1009
 
1017
- class ServiceIdentity
1018
- # @private
1019
- class Representation < Google::Apis::Core::JsonRepresentation
1020
- property :description, as: 'description'
1021
- property :display_name, as: 'displayName'
1022
- property :service_account_parent, as: 'serviceAccountParent'
1023
- end
1024
- end
1025
-
1026
1010
  class SourceContext
1027
1011
  # @private
1028
1012
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1094,8 +1078,6 @@ module Google
1094
1078
  collection :requirements, as: 'requirements'
1095
1079
  collection :rules, as: 'rules', class: Google::Apis::ServiceconsumermanagementV1beta1::UsageRule, decorator: Google::Apis::ServiceconsumermanagementV1beta1::UsageRule::Representation
1096
1080
 
1097
- property :service_identity, as: 'serviceIdentity', class: Google::Apis::ServiceconsumermanagementV1beta1::ServiceIdentity, decorator: Google::Apis::ServiceconsumermanagementV1beta1::ServiceIdentity::Representation
1098
-
1099
1081
  end
1100
1082
  end
1101
1083
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-control/
27
27
  module ServicecontrolV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200917'
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'
@@ -1263,6 +1263,7 @@ module Google
1263
1263
  attr_accessor :double_value
1264
1264
 
1265
1265
  # The end of the time period over which this metric value's measurement applies.
1266
+ # If not specified, google.api.servicecontrol.v1.Operation.end_time will be used.
1266
1267
  # Corresponds to the JSON property `endTime`
1267
1268
  # @return [String]
1268
1269
  attr_accessor :end_time
@@ -1287,7 +1288,8 @@ module Google
1287
1288
  # The start of the time period over which this metric value's measurement
1288
1289
  # applies. The time period has different semantics for different metric types (
1289
1290
  # cumulative, delta, and gauge). See the metric definition documentation in the
1290
- # service configuration for details.
1291
+ # service configuration for details. If not specified, google.api.servicecontrol.
1292
+ # v1.Operation.start_time will be used.
1291
1293
  # Corresponds to the JSON property `startTime`
1292
1294
  # @return [String]
1293
1295
  attr_accessor :start_time
@@ -1345,7 +1347,7 @@ module Google
1345
1347
  class Money
1346
1348
  include Google::Apis::Core::Hashable
1347
1349
 
1348
- # The 3-letter currency code defined in ISO 4217.
1350
+ # The three-letter currency code defined in ISO 4217.
1349
1351
  # Corresponds to the JSON property `currencyCode`
1350
1352
  # @return [String]
1351
1353
  attr_accessor :currency_code
@@ -1569,6 +1571,16 @@ module Google
1569
1571
  # @return [String]
1570
1572
  attr_accessor :description
1571
1573
 
1574
+ # The `Status` type defines a logical error model that is suitable for different
1575
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1576
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1577
+ # data: error code, error message, and error details. You can find out more
1578
+ # about this error model and how to work with it in the [API Design Guide](https:
1579
+ # //cloud.google.com/apis/design/errors).
1580
+ # Corresponds to the JSON property `status`
1581
+ # @return [Google::Apis::ServicecontrolV1::Status]
1582
+ attr_accessor :status
1583
+
1572
1584
  # Subject to whom this error applies. See the specific enum for more details on
1573
1585
  # this field. For example, "clientip:" or "project:".
1574
1586
  # Corresponds to the JSON property `subject`
@@ -1583,6 +1595,7 @@ module Google
1583
1595
  def update!(**args)
1584
1596
  @code = args[:code] if args.key?(:code)
1585
1597
  @description = args[:description] if args.key?(:description)
1598
+ @status = args[:status] if args.key?(:status)
1586
1599
  @subject = args[:subject] if args.key?(:subject)
1587
1600
  end
1588
1601
  end
@@ -2063,6 +2076,15 @@ module Google
2063
2076
  # @return [String]
2064
2077
  attr_accessor :type
2065
2078
 
2079
+ # The unique identifier of the resource. UID is unique in the time and space for
2080
+ # this resource within the scope of the service. It is typically generated by
2081
+ # the server on successful creation of a resource and must not be changed. UID
2082
+ # is used to uniquely identify resources with resource name reuses. This should
2083
+ # be a UUID4.
2084
+ # Corresponds to the JSON property `uid`
2085
+ # @return [String]
2086
+ attr_accessor :uid
2087
+
2066
2088
  def initialize(**args)
2067
2089
  update!(**args)
2068
2090
  end
@@ -2073,6 +2095,7 @@ module Google
2073
2095
  @name = args[:name] if args.key?(:name)
2074
2096
  @service = args[:service] if args.key?(:service)
2075
2097
  @type = args[:type] if args.key?(:type)
2098
+ @uid = args[:uid] if args.key?(:uid)
2076
2099
  end
2077
2100
  end
2078
2101
 
@@ -2150,6 +2173,12 @@ module Google
2150
2173
  # @return [Google::Apis::ServicecontrolV1::FirstPartyPrincipal]
2151
2174
  attr_accessor :first_party_principal
2152
2175
 
2176
+ # A string representing the principal_subject associated with the identity. See
2177
+ # go/3pical for more info on how principal_subject is formatted.
2178
+ # Corresponds to the JSON property `principalSubject`
2179
+ # @return [String]
2180
+ attr_accessor :principal_subject
2181
+
2153
2182
  # Third party identity principal.
2154
2183
  # Corresponds to the JSON property `thirdPartyPrincipal`
2155
2184
  # @return [Google::Apis::ServicecontrolV1::ThirdPartyPrincipal]
@@ -2162,6 +2191,7 @@ module Google
2162
2191
  # Update properties of this object
2163
2192
  def update!(**args)
2164
2193
  @first_party_principal = args[:first_party_principal] if args.key?(:first_party_principal)
2194
+ @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
2165
2195
  @third_party_principal = args[:third_party_principal] if args.key?(:third_party_principal)
2166
2196
  end
2167
2197
  end
@@ -673,6 +673,8 @@ module Google
673
673
  class Representation < Google::Apis::Core::JsonRepresentation
674
674
  property :code, as: 'code'
675
675
  property :description, as: 'description'
676
+ property :status, as: 'status', class: Google::Apis::ServicecontrolV1::Status, decorator: Google::Apis::ServicecontrolV1::Status::Representation
677
+
676
678
  property :subject, as: 'subject'
677
679
  end
678
680
  end
@@ -785,6 +787,7 @@ module Google
785
787
  property :name, as: 'name'
786
788
  property :service, as: 'service'
787
789
  property :type, as: 'type'
790
+ property :uid, as: 'uid'
788
791
  end
789
792
  end
790
793
 
@@ -810,6 +813,7 @@ module Google
810
813
  class Representation < Google::Apis::Core::JsonRepresentation
811
814
  property :first_party_principal, as: 'firstPartyPrincipal', class: Google::Apis::ServicecontrolV1::FirstPartyPrincipal, decorator: Google::Apis::ServicecontrolV1::FirstPartyPrincipal::Representation
812
815
 
816
+ property :principal_subject, as: 'principalSubject'
813
817
  property :third_party_principal, as: 'thirdPartyPrincipal', class: Google::Apis::ServicecontrolV1::ThirdPartyPrincipal, decorator: Google::Apis::ServicecontrolV1::ThirdPartyPrincipal::Representation
814
818
 
815
819
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-control/
27
27
  module ServicecontrolV2
28
28
  VERSION = 'V2'
29
- REVISION = '20200917'
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'
@@ -848,6 +848,15 @@ module Google
848
848
  # @return [String]
849
849
  attr_accessor :type
850
850
 
851
+ # The unique identifier of the resource. UID is unique in the time and space for
852
+ # this resource within the scope of the service. It is typically generated by
853
+ # the server on successful creation of a resource and must not be changed. UID
854
+ # is used to uniquely identify resources with resource name reuses. This should
855
+ # be a UUID4.
856
+ # Corresponds to the JSON property `uid`
857
+ # @return [String]
858
+ attr_accessor :uid
859
+
851
860
  def initialize(**args)
852
861
  update!(**args)
853
862
  end
@@ -858,6 +867,7 @@ module Google
858
867
  @name = args[:name] if args.key?(:name)
859
868
  @service = args[:service] if args.key?(:service)
860
869
  @type = args[:type] if args.key?(:type)
870
+ @uid = args[:uid] if args.key?(:uid)
861
871
  end
862
872
  end
863
873
 
@@ -974,6 +984,12 @@ module Google
974
984
  # @return [Google::Apis::ServicecontrolV2::FirstPartyPrincipal]
975
985
  attr_accessor :first_party_principal
976
986
 
987
+ # A string representing the principal_subject associated with the identity. See
988
+ # go/3pical for more info on how principal_subject is formatted.
989
+ # Corresponds to the JSON property `principalSubject`
990
+ # @return [String]
991
+ attr_accessor :principal_subject
992
+
977
993
  # Third party identity principal.
978
994
  # Corresponds to the JSON property `thirdPartyPrincipal`
979
995
  # @return [Google::Apis::ServicecontrolV2::ThirdPartyPrincipal]
@@ -986,6 +1002,7 @@ module Google
986
1002
  # Update properties of this object
987
1003
  def update!(**args)
988
1004
  @first_party_principal = args[:first_party_principal] if args.key?(:first_party_principal)
1005
+ @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
989
1006
  @third_party_principal = args[:third_party_principal] if args.key?(:third_party_principal)
990
1007
  end
991
1008
  end
@@ -338,6 +338,7 @@ module Google
338
338
  property :name, as: 'name'
339
339
  property :service, as: 'service'
340
340
  property :type, as: 'type'
341
+ property :uid, as: 'uid'
341
342
  end
342
343
  end
343
344
 
@@ -373,6 +374,7 @@ module Google
373
374
  class Representation < Google::Apis::Core::JsonRepresentation
374
375
  property :first_party_principal, as: 'firstPartyPrincipal', class: Google::Apis::ServicecontrolV2::FirstPartyPrincipal, decorator: Google::Apis::ServicecontrolV2::FirstPartyPrincipal::Representation
375
376
 
377
+ property :principal_subject, as: 'principalSubject'
376
378
  property :third_party_principal, as: 'thirdPartyPrincipal', class: Google::Apis::ServicecontrolV2::ThirdPartyPrincipal, decorator: Google::Apis::ServicecontrolV2::ThirdPartyPrincipal::Representation
377
379
 
378
380
  end
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-management/
28
28
  module ServicemanagementV1
29
29
  VERSION = 'V1'
30
- REVISION = '20200918'
30
+ REVISION = '20201017'
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'
@@ -338,7 +338,8 @@ module Google
338
338
  class AuthenticationRule
339
339
  include Google::Apis::Core::Hashable
340
340
 
341
- # If true, the service accepts API keys without any other credential.
341
+ # If true, the service accepts API keys without any other credential. This flag
342
+ # only applies to HTTP and gRPC requests.
342
343
  # Corresponds to the JSON property `allowWithoutCredential`
343
344
  # @return [Boolean]
344
345
  attr_accessor :allow_without_credential
@@ -796,7 +797,7 @@ module Google
796
797
  # context.OriginContext The above specifies that all methods in the API request `
797
798
  # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
798
799
  # Available context types are defined in package `google.rpc.context`. This also
799
- # provides mechanism to whitelist any protobuf message extension that can be
800
+ # provides mechanism to allowlist any protobuf message extension that can be
800
801
  # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
801
802
  # For example, list any service specific protobuf types that can appear in grpc
802
803
  # metadata as follows in your yaml file: Example: context: rules: - selector: "
@@ -3235,7 +3236,7 @@ module Google
3235
3236
  # context.OriginContext The above specifies that all methods in the API request `
3236
3237
  # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
3237
3238
  # Available context types are defined in package `google.rpc.context`. This also
3238
- # provides mechanism to whitelist any protobuf message extension that can be
3239
+ # provides mechanism to allowlist any protobuf message extension that can be
3239
3240
  # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
3240
3241
  # For example, list any service specific protobuf types that can appear in grpc
3241
3242
  # metadata as follows in your yaml file: Example: context: rules: - selector: "