google-api-client 0.30.1 → 0.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +64 -0
  3. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  4. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +8 -74
  5. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  6. data/generated/google/apis/androidenterprise_v1/classes.rb +156 -0
  7. data/generated/google/apis/androidenterprise_v1/representations.rb +68 -0
  8. data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
  9. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  10. data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
  11. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  12. data/generated/google/apis/appengine_v1.rb +1 -1
  13. data/generated/google/apis/appengine_v1/classes.rb +8 -64
  14. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  15. data/generated/google/apis/appengine_v1alpha/classes.rb +8 -64
  16. data/generated/google/apis/appengine_v1beta.rb +1 -1
  17. data/generated/google/apis/appengine_v1beta/classes.rb +8 -64
  18. data/generated/google/apis/bigquery_v2.rb +1 -1
  19. data/generated/google/apis/bigquery_v2/classes.rb +12 -4
  20. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  21. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  22. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -74
  23. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  24. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +8 -74
  25. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  26. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -74
  27. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  28. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +8 -74
  29. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  30. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +8 -74
  31. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  32. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -74
  33. data/generated/google/apis/cloudtasks_v2/service.rb +1 -2
  34. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  35. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -74
  36. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  37. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +8 -82
  38. data/generated/google/apis/cloudtasks_v2beta3/service.rb +1 -2
  39. data/generated/google/apis/container_v1.rb +1 -1
  40. data/generated/google/apis/container_v1/classes.rb +6 -0
  41. data/generated/google/apis/container_v1beta1.rb +1 -1
  42. data/generated/google/apis/container_v1beta1/classes.rb +6 -0
  43. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  44. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +12 -111
  45. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  46. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +8 -74
  47. data/generated/google/apis/content_v2.rb +1 -1
  48. data/generated/google/apis/content_v2/classes.rb +6 -0
  49. data/generated/google/apis/content_v2/representations.rb +2 -0
  50. data/generated/google/apis/content_v2_1.rb +1 -1
  51. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  52. data/generated/google/apis/content_v2_1/representations.rb +2 -0
  53. data/generated/google/apis/dialogflow_v2.rb +1 -1
  54. data/generated/google/apis/dialogflow_v2/classes.rb +12 -111
  55. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  56. data/generated/google/apis/dialogflow_v2beta1/classes.rb +27 -117
  57. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
  58. data/generated/google/apis/dlp_v2.rb +1 -1
  59. data/generated/google/apis/dlp_v2/classes.rb +8 -74
  60. data/generated/google/apis/docs_v1.rb +1 -1
  61. data/generated/google/apis/docs_v1/classes.rb +10 -0
  62. data/generated/google/apis/fcm_v1.rb +1 -1
  63. data/generated/google/apis/fcm_v1/classes.rb +56 -0
  64. data/generated/google/apis/fcm_v1/representations.rb +31 -0
  65. data/generated/google/apis/file_v1.rb +1 -1
  66. data/generated/google/apis/file_v1/classes.rb +6 -6
  67. data/generated/google/apis/file_v1/representations.rb +1 -1
  68. data/generated/google/apis/file_v1beta1.rb +1 -1
  69. data/generated/google/apis/file_v1beta1/classes.rb +6 -6
  70. data/generated/google/apis/file_v1beta1/representations.rb +1 -1
  71. data/generated/google/apis/genomics_v1.rb +1 -1
  72. data/generated/google/apis/genomics_v1/classes.rb +8 -74
  73. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  74. data/generated/google/apis/genomics_v1alpha2/classes.rb +8 -74
  75. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  76. data/generated/google/apis/genomics_v2alpha1/classes.rb +14 -113
  77. data/generated/google/apis/gmail_v1.rb +1 -1
  78. data/generated/google/apis/gmail_v1/classes.rb +10 -2
  79. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  80. data/generated/google/apis/healthcare_v1alpha2/classes.rb +62 -113
  81. data/generated/google/apis/healthcare_v1alpha2/representations.rb +17 -0
  82. data/generated/google/apis/healthcare_v1alpha2/service.rb +2 -0
  83. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  84. data/generated/google/apis/healthcare_v1beta1/classes.rb +14 -113
  85. data/generated/google/apis/healthcare_v1beta1/service.rb +2 -0
  86. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  87. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -3
  88. data/generated/google/apis/language_v1.rb +1 -1
  89. data/generated/google/apis/language_v1/classes.rb +4 -37
  90. data/generated/google/apis/language_v1beta1.rb +1 -1
  91. data/generated/google/apis/language_v1beta1/classes.rb +4 -37
  92. data/generated/google/apis/language_v1beta2.rb +1 -1
  93. data/generated/google/apis/language_v1beta2/classes.rb +4 -37
  94. data/generated/google/apis/logging_v2.rb +5 -2
  95. data/generated/google/apis/logging_v2/service.rb +4 -1
  96. data/generated/google/apis/ml_v1.rb +1 -1
  97. data/generated/google/apis/ml_v1/classes.rb +27 -77
  98. data/generated/google/apis/ml_v1/representations.rb +2 -0
  99. data/generated/google/apis/monitoring_v3.rb +5 -2
  100. data/generated/google/apis/monitoring_v3/classes.rb +13 -97
  101. data/generated/google/apis/monitoring_v3/service.rb +4 -1
  102. data/generated/google/apis/redis_v1.rb +1 -1
  103. data/generated/google/apis/redis_v1/classes.rb +12 -78
  104. data/generated/google/apis/redis_v1/service.rb +2 -2
  105. data/generated/google/apis/redis_v1beta1.rb +1 -1
  106. data/generated/google/apis/redis_v1beta1/classes.rb +12 -78
  107. data/generated/google/apis/redis_v1beta1/service.rb +2 -2
  108. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  109. data/generated/google/apis/remotebuildexecution_v1/classes.rb +20 -185
  110. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  111. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +20 -185
  112. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  113. data/generated/google/apis/remotebuildexecution_v2/classes.rb +28 -259
  114. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  115. data/generated/google/apis/runtimeconfig_v1/classes.rb +8 -74
  116. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  117. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +12 -111
  118. data/generated/google/apis/securitycenter_v1p1alpha1.rb +35 -0
  119. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +223 -0
  120. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +114 -0
  121. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +211 -0
  122. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  123. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
  124. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  125. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -0
  126. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  127. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -0
  128. data/generated/google/apis/serviceusage_v1.rb +1 -1
  129. data/generated/google/apis/serviceusage_v1/classes.rb +1 -0
  130. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  131. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -0
  132. data/generated/google/apis/storage_v1.rb +1 -1
  133. data/generated/google/apis/storage_v1/classes.rb +0 -7
  134. data/generated/google/apis/storage_v1/representations.rb +0 -1
  135. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  136. data/generated/google/apis/storagetransfer_v1/classes.rb +14 -78
  137. data/generated/google/apis/vision_v1.rb +1 -1
  138. data/generated/google/apis/vision_v1/classes.rb +36 -333
  139. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  140. data/generated/google/apis/vision_v1p1beta1/classes.rb +32 -296
  141. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  142. data/generated/google/apis/vision_v1p2beta1/classes.rb +32 -296
  143. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  144. data/generated/google/apis/youtube_partner_v1.rb +2 -2
  145. data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
  146. data/lib/google/apis/version.rb +1 -1
  147. metadata +6 -2
@@ -1347,6 +1347,7 @@ module Google
1347
1347
  # @private
1348
1348
  class Representation < Google::Apis::Core::JsonRepresentation
1349
1349
  property :audio_encoding, as: 'audioEncoding'
1350
+ property :enable_word_info, as: 'enableWordInfo'
1350
1351
  property :language_code, as: 'languageCode'
1351
1352
  property :model, as: 'model'
1352
1353
  property :model_variant, as: 'modelVariant'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/dlp/docs/
28
28
  module DlpV2
29
29
  VERSION = 'V2'
30
- REVISION = '20190526'
30
+ REVISION = '20190604'
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'
@@ -2105,43 +2105,10 @@ module Google
2105
2105
 
2106
2106
  # The `Status` type defines a logical error model that is suitable for
2107
2107
  # different programming environments, including REST APIs and RPC APIs. It is
2108
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
2109
- # - Simple to use and understand for most users
2110
- # - Flexible enough to meet unexpected needs
2111
- # # Overview
2112
- # The `Status` message contains three pieces of data: error code, error
2113
- # message, and error details. The error code should be an enum value of
2114
- # google.rpc.Code, but it may accept additional error codes if needed. The
2115
- # error message should be a developer-facing English message that helps
2116
- # developers *understand* and *resolve* the error. If a localized user-facing
2117
- # error message is needed, put the localized message in the error details or
2118
- # localize it in the client. The optional error details may contain arbitrary
2119
- # information about the error. There is a predefined set of error detail types
2120
- # in the package `google.rpc` that can be used for common error conditions.
2121
- # # Language mapping
2122
- # The `Status` message is the logical representation of the error model, but it
2123
- # is not necessarily the actual wire format. When the `Status` message is
2124
- # exposed in different client libraries and different wire protocols, it can be
2125
- # mapped differently. For example, it will likely be mapped to some exceptions
2126
- # in Java, but more likely mapped to some error codes in C.
2127
- # # Other uses
2128
- # The error model and the `Status` message can be used in a variety of
2129
- # environments, either with or without APIs, to provide a
2130
- # consistent developer experience across different environments.
2131
- # Example uses of this error model include:
2132
- # - Partial errors. If a service needs to return partial errors to the client,
2133
- # it may embed the `Status` in the normal response to indicate the partial
2134
- # errors.
2135
- # - Workflow errors. A typical workflow has multiple steps. Each step may
2136
- # have a `Status` message for error reporting.
2137
- # - Batch operations. If a client uses batch request and batch response, the
2138
- # `Status` message should be used directly inside batch response, one for
2139
- # each error sub-response.
2140
- # - Asynchronous operations. If an API call embeds asynchronous operation
2141
- # results in its response, the status of those operations should be
2142
- # represented directly using the `Status` message.
2143
- # - Logging. If some API errors are stored in logs, the message `Status` could
2144
- # be used directly after any stripping needed for security/privacy reasons.
2108
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2109
+ # three pieces of data: error code, error message, and error details.
2110
+ # You can find out more about this error model and how to work with it in the
2111
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
2145
2112
  # Corresponds to the JSON property `details`
2146
2113
  # @return [Google::Apis::DlpV2::GoogleRpcStatus]
2147
2114
  attr_accessor :details
@@ -5962,43 +5929,10 @@ module Google
5962
5929
 
5963
5930
  # The `Status` type defines a logical error model that is suitable for
5964
5931
  # different programming environments, including REST APIs and RPC APIs. It is
5965
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
5966
- # - Simple to use and understand for most users
5967
- # - Flexible enough to meet unexpected needs
5968
- # # Overview
5969
- # The `Status` message contains three pieces of data: error code, error
5970
- # message, and error details. The error code should be an enum value of
5971
- # google.rpc.Code, but it may accept additional error codes if needed. The
5972
- # error message should be a developer-facing English message that helps
5973
- # developers *understand* and *resolve* the error. If a localized user-facing
5974
- # error message is needed, put the localized message in the error details or
5975
- # localize it in the client. The optional error details may contain arbitrary
5976
- # information about the error. There is a predefined set of error detail types
5977
- # in the package `google.rpc` that can be used for common error conditions.
5978
- # # Language mapping
5979
- # The `Status` message is the logical representation of the error model, but it
5980
- # is not necessarily the actual wire format. When the `Status` message is
5981
- # exposed in different client libraries and different wire protocols, it can be
5982
- # mapped differently. For example, it will likely be mapped to some exceptions
5983
- # in Java, but more likely mapped to some error codes in C.
5984
- # # Other uses
5985
- # The error model and the `Status` message can be used in a variety of
5986
- # environments, either with or without APIs, to provide a
5987
- # consistent developer experience across different environments.
5988
- # Example uses of this error model include:
5989
- # - Partial errors. If a service needs to return partial errors to the client,
5990
- # it may embed the `Status` in the normal response to indicate the partial
5991
- # errors.
5992
- # - Workflow errors. A typical workflow has multiple steps. Each step may
5993
- # have a `Status` message for error reporting.
5994
- # - Batch operations. If a client uses batch request and batch response, the
5995
- # `Status` message should be used directly inside batch response, one for
5996
- # each error sub-response.
5997
- # - Asynchronous operations. If an API call embeds asynchronous operation
5998
- # results in its response, the status of those operations should be
5999
- # represented directly using the `Status` message.
6000
- # - Logging. If some API errors are stored in logs, the message `Status` could
6001
- # be used directly after any stripping needed for security/privacy reasons.
5932
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
5933
+ # three pieces of data: error code, error message, and error details.
5934
+ # You can find out more about this error model and how to work with it in the
5935
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
6002
5936
  class GoogleRpcStatus
6003
5937
  include Google::Apis::Core::Hashable
6004
5938
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/docs/
26
26
  module DocsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190523'
28
+ REVISION = '20190530'
29
29
 
30
30
  # View and manage your Google Docs documents
31
31
  AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'
@@ -4623,6 +4623,8 @@ module Google
4623
4623
  end
4624
4624
 
4625
4625
  # A border around a table cell.
4626
+ # Table cell borders cannot be transparent. To hide a table cell border, make
4627
+ # its width 0.
4626
4628
  class TableCellBorder
4627
4629
  include Google::Apis::Core::Hashable
4628
4630
 
@@ -4698,21 +4700,29 @@ module Google
4698
4700
  attr_accessor :background_color
4699
4701
 
4700
4702
  # A border around a table cell.
4703
+ # Table cell borders cannot be transparent. To hide a table cell border, make
4704
+ # its width 0.
4701
4705
  # Corresponds to the JSON property `borderBottom`
4702
4706
  # @return [Google::Apis::DocsV1::TableCellBorder]
4703
4707
  attr_accessor :border_bottom
4704
4708
 
4705
4709
  # A border around a table cell.
4710
+ # Table cell borders cannot be transparent. To hide a table cell border, make
4711
+ # its width 0.
4706
4712
  # Corresponds to the JSON property `borderLeft`
4707
4713
  # @return [Google::Apis::DocsV1::TableCellBorder]
4708
4714
  attr_accessor :border_left
4709
4715
 
4710
4716
  # A border around a table cell.
4717
+ # Table cell borders cannot be transparent. To hide a table cell border, make
4718
+ # its width 0.
4711
4719
  # Corresponds to the JSON property `borderRight`
4712
4720
  # @return [Google::Apis::DocsV1::TableCellBorder]
4713
4721
  attr_accessor :border_right
4714
4722
 
4715
4723
  # A border around a table cell.
4724
+ # Table cell borders cannot be transparent. To hide a table cell border, make
4725
+ # its width 0.
4716
4726
  # Corresponds to the JSON property `borderTop`
4717
4727
  # @return [Google::Apis::DocsV1::TableCellBorder]
4718
4728
  attr_accessor :border_top
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://firebase.google.com/docs/cloud-messaging
27
27
  module FcmV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190524'
29
+ REVISION = '20190605'
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'
@@ -40,6 +40,11 @@ module Google
40
40
  # @return [Hash<String,String>]
41
41
  attr_accessor :data
42
42
 
43
+ # Options for features provided by the FCM SDK for Android.
44
+ # Corresponds to the JSON property `fcmOptions`
45
+ # @return [Google::Apis::FcmV1::AndroidFcmOptions]
46
+ attr_accessor :fcm_options
47
+
43
48
  # Notification to send to android devices.
44
49
  # Corresponds to the JSON property `notification`
45
50
  # @return [Google::Apis::FcmV1::AndroidNotification]
@@ -81,6 +86,7 @@ module Google
81
86
  def update!(**args)
82
87
  @collapse_key = args[:collapse_key] if args.key?(:collapse_key)
83
88
  @data = args[:data] if args.key?(:data)
89
+ @fcm_options = args[:fcm_options] if args.key?(:fcm_options)
84
90
  @notification = args[:notification] if args.key?(:notification)
85
91
  @priority = args[:priority] if args.key?(:priority)
86
92
  @restricted_package_name = args[:restricted_package_name] if args.key?(:restricted_package_name)
@@ -88,6 +94,25 @@ module Google
88
94
  end
89
95
  end
90
96
 
97
+ # Options for features provided by the FCM SDK for Android.
98
+ class AndroidFcmOptions
99
+ include Google::Apis::Core::Hashable
100
+
101
+ # Label that the message's analytics data will be associated with.
102
+ # Corresponds to the JSON property `analyticsLabel`
103
+ # @return [String]
104
+ attr_accessor :analytics_label
105
+
106
+ def initialize(**args)
107
+ update!(**args)
108
+ end
109
+
110
+ # Update properties of this object
111
+ def update!(**args)
112
+ @analytics_label = args[:analytics_label] if args.key?(:analytics_label)
113
+ end
114
+ end
115
+
91
116
  # Notification to send to android devices.
92
117
  class AndroidNotification
93
118
  include Google::Apis::Core::Hashable
@@ -243,12 +268,37 @@ module Google
243
268
  class ApnsFcmOptions
244
269
  include Google::Apis::Core::Hashable
245
270
 
271
+ # Label that the message's analytics data will be associated with.
272
+ # Corresponds to the JSON property `analyticsLabel`
273
+ # @return [String]
274
+ attr_accessor :analytics_label
275
+
276
+ def initialize(**args)
277
+ update!(**args)
278
+ end
279
+
280
+ # Update properties of this object
281
+ def update!(**args)
282
+ @analytics_label = args[:analytics_label] if args.key?(:analytics_label)
283
+ end
284
+ end
285
+
286
+ # Platform independent options for features provided by the FCM SDKs.
287
+ class FcmOptions
288
+ include Google::Apis::Core::Hashable
289
+
290
+ # Label that the message's analytics data will be associated with.
291
+ # Corresponds to the JSON property `analyticsLabel`
292
+ # @return [String]
293
+ attr_accessor :analytics_label
294
+
246
295
  def initialize(**args)
247
296
  update!(**args)
248
297
  end
249
298
 
250
299
  # Update properties of this object
251
300
  def update!(**args)
301
+ @analytics_label = args[:analytics_label] if args.key?(:analytics_label)
252
302
  end
253
303
  end
254
304
 
@@ -278,6 +328,11 @@ module Google
278
328
  # @return [Hash<String,String>]
279
329
  attr_accessor :data
280
330
 
331
+ # Platform independent options for features provided by the FCM SDKs.
332
+ # Corresponds to the JSON property `fcmOptions`
333
+ # @return [Google::Apis::FcmV1::FcmOptions]
334
+ attr_accessor :fcm_options
335
+
281
336
  # Output Only. The identifier of the message sent, in the format of
282
337
  # `projects/*/messages/`message_id``.
283
338
  # Corresponds to the JSON property `name`
@@ -315,6 +370,7 @@ module Google
315
370
  @apns = args[:apns] if args.key?(:apns)
316
371
  @condition = args[:condition] if args.key?(:condition)
317
372
  @data = args[:data] if args.key?(:data)
373
+ @fcm_options = args[:fcm_options] if args.key?(:fcm_options)
318
374
  @name = args[:name] if args.key?(:name)
319
375
  @notification = args[:notification] if args.key?(:notification)
320
376
  @token = args[:token] if args.key?(:token)
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AndroidFcmOptions
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AndroidNotification
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -46,6 +52,12 @@ module Google
46
52
  include Google::Apis::Core::JsonObjectSupport
47
53
  end
48
54
 
55
+ class FcmOptions
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
49
61
  class Message
50
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
63
 
@@ -81,6 +93,8 @@ module Google
81
93
  class Representation < Google::Apis::Core::JsonRepresentation
82
94
  property :collapse_key, as: 'collapseKey'
83
95
  hash :data, as: 'data'
96
+ property :fcm_options, as: 'fcmOptions', class: Google::Apis::FcmV1::AndroidFcmOptions, decorator: Google::Apis::FcmV1::AndroidFcmOptions::Representation
97
+
84
98
  property :notification, as: 'notification', class: Google::Apis::FcmV1::AndroidNotification, decorator: Google::Apis::FcmV1::AndroidNotification::Representation
85
99
 
86
100
  property :priority, as: 'priority'
@@ -89,6 +103,13 @@ module Google
89
103
  end
90
104
  end
91
105
 
106
+ class AndroidFcmOptions
107
+ # @private
108
+ class Representation < Google::Apis::Core::JsonRepresentation
109
+ property :analytics_label, as: 'analyticsLabel'
110
+ end
111
+ end
112
+
92
113
  class AndroidNotification
93
114
  # @private
94
115
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -120,6 +141,14 @@ module Google
120
141
  class ApnsFcmOptions
121
142
  # @private
122
143
  class Representation < Google::Apis::Core::JsonRepresentation
144
+ property :analytics_label, as: 'analyticsLabel'
145
+ end
146
+ end
147
+
148
+ class FcmOptions
149
+ # @private
150
+ class Representation < Google::Apis::Core::JsonRepresentation
151
+ property :analytics_label, as: 'analyticsLabel'
123
152
  end
124
153
  end
125
154
 
@@ -132,6 +161,8 @@ module Google
132
161
 
133
162
  property :condition, as: 'condition'
134
163
  hash :data, as: 'data'
164
+ property :fcm_options, as: 'fcmOptions', class: Google::Apis::FcmV1::FcmOptions, decorator: Google::Apis::FcmV1::FcmOptions::Representation
165
+
135
166
  property :name, as: 'name'
136
167
  property :notification, as: 'notification', class: Google::Apis::FcmV1::Notification, decorator: Google::Apis::FcmV1::Notification::Representation
137
168
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/filestore/
26
26
  module FileV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190516'
28
+ REVISION = '20190605'
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'
@@ -426,7 +426,7 @@ module Google
426
426
  end
427
427
  end
428
428
 
429
- # A temporal SLO exclusion specification.
429
+ # SloExclusion represents an excusion in SLI calculation applies to all SLOs.
430
430
  class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
431
431
  include Google::Apis::Core::Hashable
432
432
 
@@ -454,12 +454,12 @@ module Google
454
454
  # @return [String]
455
455
  attr_accessor :reason
456
456
 
457
- # Name of an SLI/SLO that this exclusion applies to. Can be left empty,
458
- # signaling that the instance should be excluded from all SLI/SLOs defined
457
+ # Name of an SLI that this exclusion applies to. Can be left empty,
458
+ # signaling that the instance should be excluded from all SLIs defined
459
459
  # in the service SLO configuration.
460
- # Corresponds to the JSON property `sloName`
460
+ # Corresponds to the JSON property `sliName`
461
461
  # @return [String]
462
- attr_accessor :slo_name
462
+ attr_accessor :sli_name
463
463
 
464
464
  def initialize(**args)
465
465
  update!(**args)
@@ -470,7 +470,7 @@ module Google
470
470
  @exclusion_duration = args[:exclusion_duration] if args.key?(:exclusion_duration)
471
471
  @exclusion_start_time = args[:exclusion_start_time] if args.key?(:exclusion_start_time)
472
472
  @reason = args[:reason] if args.key?(:reason)
473
- @slo_name = args[:slo_name] if args.key?(:slo_name)
473
+ @sli_name = args[:sli_name] if args.key?(:sli_name)
474
474
  end
475
475
  end
476
476
 
@@ -236,7 +236,7 @@ module Google
236
236
  property :exclusion_duration, as: 'exclusionDuration'
237
237
  property :exclusion_start_time, as: 'exclusionStartTime'
238
238
  property :reason, as: 'reason'
239
- property :slo_name, as: 'sloName'
239
+ property :sli_name, as: 'sliName'
240
240
  end
241
241
  end
242
242
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/filestore/
26
26
  module FileV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190516'
28
+ REVISION = '20190605'
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'
@@ -426,7 +426,7 @@ module Google
426
426
  end
427
427
  end
428
428
 
429
- # A temporal SLO exclusion specification.
429
+ # SloExclusion represents an excusion in SLI calculation applies to all SLOs.
430
430
  class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
431
431
  include Google::Apis::Core::Hashable
432
432
 
@@ -454,12 +454,12 @@ module Google
454
454
  # @return [String]
455
455
  attr_accessor :reason
456
456
 
457
- # Name of an SLI/SLO that this exclusion applies to. Can be left empty,
458
- # signaling that the instance should be excluded from all SLI/SLOs defined
457
+ # Name of an SLI that this exclusion applies to. Can be left empty,
458
+ # signaling that the instance should be excluded from all SLIs defined
459
459
  # in the service SLO configuration.
460
- # Corresponds to the JSON property `sloName`
460
+ # Corresponds to the JSON property `sliName`
461
461
  # @return [String]
462
- attr_accessor :slo_name
462
+ attr_accessor :sli_name
463
463
 
464
464
  def initialize(**args)
465
465
  update!(**args)
@@ -470,7 +470,7 @@ module Google
470
470
  @exclusion_duration = args[:exclusion_duration] if args.key?(:exclusion_duration)
471
471
  @exclusion_start_time = args[:exclusion_start_time] if args.key?(:exclusion_start_time)
472
472
  @reason = args[:reason] if args.key?(:reason)
473
- @slo_name = args[:slo_name] if args.key?(:slo_name)
473
+ @sli_name = args[:sli_name] if args.key?(:sli_name)
474
474
  end
475
475
  end
476
476
 
@@ -236,7 +236,7 @@ module Google
236
236
  property :exclusion_duration, as: 'exclusionDuration'
237
237
  property :exclusion_start_time, as: 'exclusionStartTime'
238
238
  property :reason, as: 'reason'
239
- property :slo_name, as: 'sloName'
239
+ property :sli_name, as: 'sliName'
240
240
  end
241
241
  end
242
242