google-api-client 0.36.0 → 0.36.1

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 (187) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +69 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +7 -4
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v3/classes.rb +32 -32
  9. data/generated/google/apis/androidpublisher_v3/representations.rb +17 -17
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +2 -1
  12. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  13. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +81 -41
  14. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  15. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +8 -8
  16. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  17. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +60 -30
  18. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  19. data/generated/google/apis/bigtableadmin_v2/classes.rb +75 -40
  20. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  21. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  22. data/generated/google/apis/binaryauthorization_v1/classes.rb +75 -41
  23. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  24. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +75 -41
  25. data/generated/google/apis/chat_v1.rb +1 -1
  26. data/generated/google/apis/chat_v1/service.rb +5 -2
  27. data/generated/google/apis/cloudasset_v1.rb +1 -1
  28. data/generated/google/apis/cloudasset_v1/classes.rb +206 -0
  29. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  30. data/generated/google/apis/cloudasset_v1/service.rb +174 -0
  31. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  32. data/generated/google/apis/cloudbilling_v1/classes.rb +59 -41
  33. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1/classes.rb +9 -5
  35. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  36. data/generated/google/apis/cloudfunctions_v1/classes.rb +75 -41
  37. data/generated/google/apis/cloudiot_v1.rb +1 -1
  38. data/generated/google/apis/cloudiot_v1/classes.rb +75 -41
  39. data/generated/google/apis/cloudkms_v1.rb +1 -1
  40. data/generated/google/apis/cloudkms_v1/classes.rb +104 -41
  41. data/generated/google/apis/cloudkms_v1/representations.rb +15 -0
  42. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  43. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +75 -41
  44. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  45. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +75 -41
  46. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  47. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  48. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +75 -41
  49. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +75 -41
  51. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  52. data/generated/google/apis/cloudsearch_v1/classes.rb +3 -2
  53. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  54. data/generated/google/apis/cloudtasks_v2/classes.rb +81 -47
  55. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  56. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +75 -41
  57. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  58. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +81 -47
  59. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  60. data/generated/google/apis/cloudtrace_v2/classes.rb +5 -3
  61. data/generated/google/apis/compute_alpha.rb +1 -1
  62. data/generated/google/apis/compute_alpha/classes.rb +68 -47
  63. data/generated/google/apis/compute_alpha/representations.rb +2 -1
  64. data/generated/google/apis/compute_alpha/service.rb +54 -0
  65. data/generated/google/apis/compute_beta.rb +1 -1
  66. data/generated/google/apis/compute_beta/classes.rb +597 -40
  67. data/generated/google/apis/compute_beta/representations.rb +164 -0
  68. data/generated/google/apis/compute_beta/service.rb +343 -1
  69. data/generated/google/apis/compute_v1.rb +1 -1
  70. data/generated/google/apis/compute_v1/classes.rb +54 -39
  71. data/generated/google/apis/compute_v1/representations.rb +1 -0
  72. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  73. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +75 -41
  74. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  75. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +77 -43
  76. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  77. data/generated/google/apis/content_v2.rb +1 -1
  78. data/generated/google/apis/content_v2/classes.rb +46 -42
  79. data/generated/google/apis/content_v2_1.rb +1 -1
  80. data/generated/google/apis/content_v2_1/classes.rb +46 -42
  81. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  82. data/generated/google/apis/datacatalog_v1beta1/classes.rb +75 -41
  83. data/generated/google/apis/datastore_v1.rb +1 -1
  84. data/generated/google/apis/datastore_v1/classes.rb +16 -22
  85. data/generated/google/apis/datastore_v1/service.rb +10 -10
  86. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  87. data/generated/google/apis/datastore_v1beta3/classes.rb +5 -4
  88. data/generated/google/apis/datastore_v1beta3/service.rb +8 -8
  89. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  90. data/generated/google/apis/dfareporting_v3_4/classes.rb +88 -88
  91. data/generated/google/apis/dfareporting_v3_4/representations.rb +39 -39
  92. data/generated/google/apis/dialogflow_v2.rb +1 -1
  93. data/generated/google/apis/dialogflow_v2/classes.rb +1 -1
  94. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  95. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1 -1
  96. data/generated/google/apis/dlp_v2.rb +1 -1
  97. data/generated/google/apis/dlp_v2/classes.rb +77 -0
  98. data/generated/google/apis/dlp_v2/representations.rb +42 -0
  99. data/generated/google/apis/file_v1.rb +1 -1
  100. data/generated/google/apis/file_v1/classes.rb +59 -12
  101. data/generated/google/apis/file_v1/representations.rb +19 -2
  102. data/generated/google/apis/file_v1/service.rb +8 -4
  103. data/generated/google/apis/file_v1beta1.rb +1 -1
  104. data/generated/google/apis/file_v1beta1/classes.rb +59 -12
  105. data/generated/google/apis/file_v1beta1/representations.rb +19 -2
  106. data/generated/google/apis/file_v1beta1/service.rb +8 -4
  107. data/generated/google/apis/firebaserules_v1.rb +1 -1
  108. data/generated/google/apis/firebaserules_v1/classes.rb +75 -0
  109. data/generated/google/apis/firebaserules_v1/representations.rb +35 -0
  110. data/generated/google/apis/gmail_v1.rb +1 -1
  111. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  112. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  113. data/generated/google/apis/iamcredentials_v1/classes.rb +7 -4
  114. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  115. data/generated/google/apis/iap_v1.rb +1 -1
  116. data/generated/google/apis/iap_v1/classes.rb +225 -40
  117. data/generated/google/apis/iap_v1/representations.rb +84 -0
  118. data/generated/google/apis/iap_v1/service.rb +292 -0
  119. data/generated/google/apis/iap_v1beta1.rb +1 -1
  120. data/generated/google/apis/iap_v1beta1/classes.rb +75 -40
  121. data/generated/google/apis/logging_v2.rb +1 -1
  122. data/generated/google/apis/logging_v2/classes.rb +29 -41
  123. data/generated/google/apis/ml_v1.rb +1 -1
  124. data/generated/google/apis/ml_v1/classes.rb +14 -21
  125. data/generated/google/apis/ml_v1/service.rb +15 -18
  126. data/generated/google/apis/monitoring_v1.rb +1 -1
  127. data/generated/google/apis/monitoring_v1/classes.rb +15 -11
  128. data/generated/google/apis/monitoring_v3.rb +1 -1
  129. data/generated/google/apis/monitoring_v3/classes.rb +6 -10
  130. data/generated/google/apis/monitoring_v3/representations.rb +0 -1
  131. data/generated/google/apis/{fusiontables_v1.rb → policytroubleshooter_v1.rb} +10 -13
  132. data/generated/google/apis/policytroubleshooter_v1/classes.rb +700 -0
  133. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  134. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  135. data/generated/google/apis/pubsub_v1.rb +1 -1
  136. data/generated/google/apis/pubsub_v1/classes.rb +75 -41
  137. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  138. data/generated/google/apis/pubsub_v1beta2/classes.rb +75 -41
  139. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  140. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  141. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  142. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  143. data/generated/google/apis/run_v1.rb +1 -1
  144. data/generated/google/apis/run_v1/classes.rb +75 -41
  145. data/generated/google/apis/run_v1alpha1.rb +1 -1
  146. data/generated/google/apis/run_v1alpha1/classes.rb +82 -41
  147. data/generated/google/apis/run_v1alpha1/representations.rb +2 -0
  148. data/generated/google/apis/{fusiontables_v2.rb → secretmanager_v1beta1.rb} +11 -14
  149. data/generated/google/apis/secretmanager_v1beta1/classes.rb +936 -0
  150. data/generated/google/apis/secretmanager_v1beta1/representations.rb +388 -0
  151. data/generated/google/apis/secretmanager_v1beta1/service.rb +674 -0
  152. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  153. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +85 -1
  154. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
  155. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  156. data/generated/google/apis/servicecontrol_v1/classes.rb +4 -3
  157. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  158. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  159. data/generated/google/apis/servicenetworking_v1/classes.rb +38 -1
  160. data/generated/google/apis/servicenetworking_v1/representations.rb +14 -0
  161. data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
  162. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  163. data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -1
  164. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  165. data/generated/google/apis/serviceusage_v1.rb +1 -1
  166. data/generated/google/apis/serviceusage_v1/classes.rb +16 -1
  167. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  168. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  169. data/generated/google/apis/serviceusage_v1beta1/classes.rb +16 -1
  170. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  171. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  172. data/generated/google/apis/storagetransfer_v1/service.rb +4 -2
  173. data/generated/google/apis/testing_v1.rb +1 -1
  174. data/generated/google/apis/testing_v1/classes.rb +2 -2
  175. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  176. data/generated/google/apis/toolresults_v1beta3/classes.rb +374 -2
  177. data/generated/google/apis/toolresults_v1beta3/representations.rb +109 -0
  178. data/generated/google/apis/toolresults_v1beta3/service.rb +98 -0
  179. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  180. data/lib/google/apis/version.rb +1 -1
  181. metadata +11 -11
  182. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  183. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  184. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  185. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  186. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  187. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
@@ -136,12 +136,6 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
- class AnnotateClickEvent
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
141
-
142
- include Google::Apis::Core::JsonObjectSupport
143
- end
144
-
145
139
  class AudienceSegment
146
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
141
 
@@ -460,12 +454,24 @@ module Google
460
454
  include Google::Apis::Core::JsonObjectSupport
461
455
  end
462
456
 
457
+ class CustomEventClickAnnotation
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
463
  class CustomEventError
464
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
465
 
466
466
  include Google::Apis::Core::JsonObjectSupport
467
467
  end
468
468
 
469
+ class CustomEventInsert
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
469
475
  class CustomEventStatus
470
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
477
 
@@ -496,7 +502,7 @@ module Google
496
502
  include Google::Apis::Core::JsonObjectSupport
497
503
  end
498
504
 
499
- class CustomVariables
505
+ class CustomVariable
500
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
507
 
502
508
  include Google::Apis::Core::JsonObjectSupport
@@ -742,12 +748,6 @@ module Google
742
748
  include Google::Apis::Core::JsonObjectSupport
743
749
  end
744
750
 
745
- class InsertEvent
746
- class Representation < Google::Apis::Core::JsonRepresentation; end
747
-
748
- include Google::Apis::Core::JsonObjectSupport
749
- end
750
-
751
751
  class InventoryItem
752
752
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
753
 
@@ -1734,14 +1734,6 @@ module Google
1734
1734
  end
1735
1735
  end
1736
1736
 
1737
- class AnnotateClickEvent
1738
- # @private
1739
- class Representation < Google::Apis::Core::JsonRepresentation
1740
- property :gclid, as: 'gclid'
1741
- property :kind, as: 'kind'
1742
- end
1743
- end
1744
-
1745
1737
  class AudienceSegment
1746
1738
  # @private
1747
1739
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2507,13 +2499,13 @@ module Google
2507
2499
  class CustomEvent
2508
2500
  # @private
2509
2501
  class Representation < Google::Apis::Core::JsonRepresentation
2510
- property :annotate_click_event, as: 'annotateClickEvent', class: Google::Apis::DfareportingV3_4::AnnotateClickEvent, decorator: Google::Apis::DfareportingV3_4::AnnotateClickEvent::Representation
2502
+ property :annotate_click_event, as: 'annotateClickEvent', class: Google::Apis::DfareportingV3_4::CustomEventClickAnnotation, decorator: Google::Apis::DfareportingV3_4::CustomEventClickAnnotation::Representation
2511
2503
 
2512
- collection :custom_variables, as: 'customVariables', class: Google::Apis::DfareportingV3_4::CustomVariables, decorator: Google::Apis::DfareportingV3_4::CustomVariables::Representation
2504
+ collection :custom_variables, as: 'customVariables', class: Google::Apis::DfareportingV3_4::CustomVariable, decorator: Google::Apis::DfareportingV3_4::CustomVariable::Representation
2513
2505
 
2514
2506
  property :event_type, as: 'eventType'
2515
2507
  property :floodlight_configuration_id, :numeric_string => true, as: 'floodlightConfigurationId'
2516
- property :insert_event, as: 'insertEvent', class: Google::Apis::DfareportingV3_4::InsertEvent, decorator: Google::Apis::DfareportingV3_4::InsertEvent::Representation
2508
+ property :insert_event, as: 'insertEvent', class: Google::Apis::DfareportingV3_4::CustomEventInsert, decorator: Google::Apis::DfareportingV3_4::CustomEventInsert::Representation
2517
2509
 
2518
2510
  property :kind, as: 'kind'
2519
2511
  property :ordinal, as: 'ordinal'
@@ -2521,6 +2513,14 @@ module Google
2521
2513
  end
2522
2514
  end
2523
2515
 
2516
+ class CustomEventClickAnnotation
2517
+ # @private
2518
+ class Representation < Google::Apis::Core::JsonRepresentation
2519
+ property :gclid, as: 'gclid'
2520
+ property :kind, as: 'kind'
2521
+ end
2522
+ end
2523
+
2524
2524
  class CustomEventError
2525
2525
  # @private
2526
2526
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2530,6 +2530,20 @@ module Google
2530
2530
  end
2531
2531
  end
2532
2532
 
2533
+ class CustomEventInsert
2534
+ # @private
2535
+ class Representation < Google::Apis::Core::JsonRepresentation
2536
+ property :cm_dimensions, as: 'cmDimensions', class: Google::Apis::DfareportingV3_4::CampaignManagerIds, decorator: Google::Apis::DfareportingV3_4::CampaignManagerIds::Representation
2537
+
2538
+ property :dv3_dimensions, as: 'dv3Dimensions', class: Google::Apis::DfareportingV3_4::Dv3Ids, decorator: Google::Apis::DfareportingV3_4::Dv3Ids::Representation
2539
+
2540
+ property :insert_event_type, as: 'insertEventType'
2541
+ property :kind, as: 'kind'
2542
+ property :match_id, as: 'matchId'
2543
+ property :mobile_device_id, as: 'mobileDeviceId'
2544
+ end
2545
+ end
2546
+
2533
2547
  class CustomEventStatus
2534
2548
  # @private
2535
2549
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2578,7 +2592,7 @@ module Google
2578
2592
  end
2579
2593
  end
2580
2594
 
2581
- class CustomVariables
2595
+ class CustomVariable
2582
2596
  # @private
2583
2597
  class Representation < Google::Apis::Core::JsonRepresentation
2584
2598
  property :index, :numeric_string => true, as: 'index'
@@ -3097,20 +3111,6 @@ module Google
3097
3111
  end
3098
3112
  end
3099
3113
 
3100
- class InsertEvent
3101
- # @private
3102
- class Representation < Google::Apis::Core::JsonRepresentation
3103
- property :cm_dimensions, as: 'cmDimensions', class: Google::Apis::DfareportingV3_4::CampaignManagerIds, decorator: Google::Apis::DfareportingV3_4::CampaignManagerIds::Representation
3104
-
3105
- property :dv3_dimensions, as: 'dv3Dimensions', class: Google::Apis::DfareportingV3_4::Dv3Ids, decorator: Google::Apis::DfareportingV3_4::Dv3Ids::Representation
3106
-
3107
- property :insert_event_type, as: 'insertEventType'
3108
- property :kind, as: 'kind'
3109
- property :match_id, as: 'matchId'
3110
- property :mobile_device_id, as: 'mobileDeviceId'
3111
- end
3112
- end
3113
-
3114
3114
  class InventoryItem
3115
3115
  # @private
3116
3116
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2
28
28
  VERSION = 'V2'
29
- REVISION = '20191118'
29
+ REVISION = '20191203'
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'
@@ -983,7 +983,7 @@ module Google
983
983
  attr_accessor :messages
984
984
 
985
985
  # Optional. Indicates whether Machine Learning is disabled for the intent.
986
- # Note: If `ml_diabled` setting is set to true, then this intent is not
986
+ # Note: If `ml_disabled` setting is set to true, then this intent is not
987
987
  # taken into account during inference in `ML ONLY` match mode. Also,
988
988
  # auto-markup in the UI is turned off.
989
989
  # Corresponds to the JSON property `mlDisabled`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20191118'
29
+ REVISION = '20191203'
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'
@@ -403,7 +403,7 @@ module Google
403
403
  attr_accessor :messages
404
404
 
405
405
  # Optional. Indicates whether Machine Learning is disabled for the intent.
406
- # Note: If `ml_diabled` setting is set to true, then this intent is not
406
+ # Note: If `ml_disabled` setting is set to true, then this intent is not
407
407
  # taken into account during inference in `ML ONLY` match mode. Also,
408
408
  # auto-markup in the UI is turned off.
409
409
  # Corresponds to the JSON property `mlDisabled`
@@ -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 = '20191202'
30
+ REVISION = '20191206'
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'
@@ -1682,6 +1682,18 @@ module Google
1682
1682
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformations]
1683
1683
  attr_accessor :record_transformations
1684
1684
 
1685
+ # How to handle transformation errors during de-identification. A
1686
+ # transformation error occurs when the requested transformation is incompatible
1687
+ # with the data. For example, trying to de-identify an IP address using a
1688
+ # `DateShift` transformation would result in a transformation error, since date
1689
+ # info cannot be extracted from an IP address.
1690
+ # Information about any incompatible transformations, and how they were
1691
+ # handled, is returned in the response as part of the
1692
+ # `TransformationOverviews`.
1693
+ # Corresponds to the JSON property `transformationErrorHandling`
1694
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationErrorHandling]
1695
+ attr_accessor :transformation_error_handling
1696
+
1685
1697
  def initialize(**args)
1686
1698
  update!(**args)
1687
1699
  end
@@ -1690,6 +1702,7 @@ module Google
1690
1702
  def update!(**args)
1691
1703
  @info_type_transformations = args[:info_type_transformations] if args.key?(:info_type_transformations)
1692
1704
  @record_transformations = args[:record_transformations] if args.key?(:record_transformations)
1705
+ @transformation_error_handling = args[:transformation_error_handling] if args.key?(:transformation_error_handling)
1693
1706
  end
1694
1707
  end
1695
1708
 
@@ -3808,6 +3821,22 @@ module Google
3808
3821
  end
3809
3822
  end
3810
3823
 
3824
+ # Skips the data without modifying it if the requested transformation would
3825
+ # cause an error. For example, if a `DateShift` transformation were applied
3826
+ # an an IP address, this mode would leave the IP address unchanged in the
3827
+ # response.
3828
+ class GooglePrivacyDlpV2LeaveUntransformed
3829
+ include Google::Apis::Core::Hashable
3830
+
3831
+ def initialize(**args)
3832
+ update!(**args)
3833
+ end
3834
+
3835
+ # Update properties of this object
3836
+ def update!(**args)
3837
+ end
3838
+ end
3839
+
3811
3840
  # Message for specifying an adjustment to the likelihood of a finding as
3812
3841
  # part of a detection rule.
3813
3842
  class GooglePrivacyDlpV2LikelihoodAdjustment
@@ -5575,6 +5604,19 @@ module Google
5575
5604
  end
5576
5605
  end
5577
5606
 
5607
+ # Throw an error and fail the request when a transformation error occurs.
5608
+ class GooglePrivacyDlpV2ThrowError
5609
+ include Google::Apis::Core::Hashable
5610
+
5611
+ def initialize(**args)
5612
+ update!(**args)
5613
+ end
5614
+
5615
+ # Update properties of this object
5616
+ def update!(**args)
5617
+ end
5618
+ end
5619
+
5578
5620
  # For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a
5579
5621
  # portion of the value.
5580
5622
  class GooglePrivacyDlpV2TimePartConfig
@@ -5658,6 +5700,41 @@ module Google
5658
5700
  end
5659
5701
  end
5660
5702
 
5703
+ # How to handle transformation errors during de-identification. A
5704
+ # transformation error occurs when the requested transformation is incompatible
5705
+ # with the data. For example, trying to de-identify an IP address using a
5706
+ # `DateShift` transformation would result in a transformation error, since date
5707
+ # info cannot be extracted from an IP address.
5708
+ # Information about any incompatible transformations, and how they were
5709
+ # handled, is returned in the response as part of the
5710
+ # `TransformationOverviews`.
5711
+ class GooglePrivacyDlpV2TransformationErrorHandling
5712
+ include Google::Apis::Core::Hashable
5713
+
5714
+ # Skips the data without modifying it if the requested transformation would
5715
+ # cause an error. For example, if a `DateShift` transformation were applied
5716
+ # an an IP address, this mode would leave the IP address unchanged in the
5717
+ # response.
5718
+ # Corresponds to the JSON property `leaveUntransformed`
5719
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LeaveUntransformed]
5720
+ attr_accessor :leave_untransformed
5721
+
5722
+ # Throw an error and fail the request when a transformation error occurs.
5723
+ # Corresponds to the JSON property `throwError`
5724
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ThrowError]
5725
+ attr_accessor :throw_error
5726
+
5727
+ def initialize(**args)
5728
+ update!(**args)
5729
+ end
5730
+
5731
+ # Update properties of this object
5732
+ def update!(**args)
5733
+ @leave_untransformed = args[:leave_untransformed] if args.key?(:leave_untransformed)
5734
+ @throw_error = args[:throw_error] if args.key?(:throw_error)
5735
+ end
5736
+ end
5737
+
5661
5738
  # Overview of the modifications that occurred.
5662
5739
  class GooglePrivacyDlpV2TransformationOverview
5663
5740
  include Google::Apis::Core::Hashable
@@ -628,6 +628,12 @@ module Google
628
628
  include Google::Apis::Core::JsonObjectSupport
629
629
  end
630
630
 
631
+ class GooglePrivacyDlpV2LeaveUntransformed
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
631
637
  class GooglePrivacyDlpV2LikelihoodAdjustment
632
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
633
639
 
@@ -964,6 +970,12 @@ module Google
964
970
  include Google::Apis::Core::JsonObjectSupport
965
971
  end
966
972
 
973
+ class GooglePrivacyDlpV2ThrowError
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
967
979
  class GooglePrivacyDlpV2TimePartConfig
968
980
  class Representation < Google::Apis::Core::JsonRepresentation; end
969
981
 
@@ -982,6 +994,12 @@ module Google
982
994
  include Google::Apis::Core::JsonObjectSupport
983
995
  end
984
996
 
997
+ class GooglePrivacyDlpV2TransformationErrorHandling
998
+ class Representation < Google::Apis::Core::JsonRepresentation; end
999
+
1000
+ include Google::Apis::Core::JsonObjectSupport
1001
+ end
1002
+
985
1003
  class GooglePrivacyDlpV2TransformationOverview
986
1004
  class Representation < Google::Apis::Core::JsonRepresentation; end
987
1005
 
@@ -1529,6 +1547,8 @@ module Google
1529
1547
 
1530
1548
  property :record_transformations, as: 'recordTransformations', class: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformations, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformations::Representation
1531
1549
 
1550
+ property :transformation_error_handling, as: 'transformationErrorHandling', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationErrorHandling, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationErrorHandling::Representation
1551
+
1532
1552
  end
1533
1553
  end
1534
1554
 
@@ -2144,6 +2164,12 @@ module Google
2144
2164
  end
2145
2165
  end
2146
2166
 
2167
+ class GooglePrivacyDlpV2LeaveUntransformed
2168
+ # @private
2169
+ class Representation < Google::Apis::Core::JsonRepresentation
2170
+ end
2171
+ end
2172
+
2147
2173
  class GooglePrivacyDlpV2LikelihoodAdjustment
2148
2174
  # @private
2149
2175
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2692,6 +2718,12 @@ module Google
2692
2718
  end
2693
2719
  end
2694
2720
 
2721
+ class GooglePrivacyDlpV2ThrowError
2722
+ # @private
2723
+ class Representation < Google::Apis::Core::JsonRepresentation
2724
+ end
2725
+ end
2726
+
2695
2727
  class GooglePrivacyDlpV2TimePartConfig
2696
2728
  # @private
2697
2729
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2717,6 +2749,16 @@ module Google
2717
2749
  end
2718
2750
  end
2719
2751
 
2752
+ class GooglePrivacyDlpV2TransformationErrorHandling
2753
+ # @private
2754
+ class Representation < Google::Apis::Core::JsonRepresentation
2755
+ property :leave_untransformed, as: 'leaveUntransformed', class: Google::Apis::DlpV2::GooglePrivacyDlpV2LeaveUntransformed, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2LeaveUntransformed::Representation
2756
+
2757
+ property :throw_error, as: 'throwError', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ThrowError, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ThrowError::Representation
2758
+
2759
+ end
2760
+ end
2761
+
2720
2762
  class GooglePrivacyDlpV2TransformationOverview
2721
2763
  # @private
2722
2764
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/filestore/
26
26
  module FileV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190917'
28
+ REVISION = '20191213'
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'
@@ -224,6 +224,14 @@ module Google
224
224
  # @return [Hash<String,Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata>]
225
225
  attr_accessor :rollout_metadata
226
226
 
227
+ # Link to the SLM instance template. Only populated when updating SLM
228
+ # instances via SSA's Actuation service adaptor.
229
+ # Service producers with custom control plane (e.g. Cloud SQL) doesn't
230
+ # need to populate this field. Instead they should use software_versions.
231
+ # Corresponds to the JSON property `slmInstanceTemplate`
232
+ # @return [String]
233
+ attr_accessor :slm_instance_template
234
+
227
235
  # SloMetadata contains resources required for proper SLO classification of the
228
236
  # instance.
229
237
  # Corresponds to the JSON property `sloMetadata`
@@ -268,6 +276,7 @@ module Google
268
276
  @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
269
277
  @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
270
278
  @rollout_metadata = args[:rollout_metadata] if args.key?(:rollout_metadata)
279
+ @slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
271
280
  @slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata)
272
281
  @software_versions = args[:software_versions] if args.key?(:software_versions)
273
282
  @state = args[:state] if args.key?(:state)
@@ -460,7 +469,37 @@ module Google
460
469
  end
461
470
  end
462
471
 
463
- # SloExclusion represents an excusion in SLI calculation applies to all SLOs.
472
+ # SloEligibility is a tuple containing eligibility value: true if an instance
473
+ # is eligible for SLO calculation or false if it should be excluded from all
474
+ # SLO-related calculations along with a user-defined reason.
475
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
476
+ include Google::Apis::Core::Hashable
477
+
478
+ # Whether an instance is eligible or ineligible.
479
+ # Corresponds to the JSON property `eligible`
480
+ # @return [Boolean]
481
+ attr_accessor :eligible
482
+ alias_method :eligible?, :eligible
483
+
484
+ # User-defined reason for the current value of instance eligibility. Usually,
485
+ # this can be directly mapped to the internal state. An empty reason is
486
+ # allowed.
487
+ # Corresponds to the JSON property `reason`
488
+ # @return [String]
489
+ attr_accessor :reason
490
+
491
+ def initialize(**args)
492
+ update!(**args)
493
+ end
494
+
495
+ # Update properties of this object
496
+ def update!(**args)
497
+ @eligible = args[:eligible] if args.key?(:eligible)
498
+ @reason = args[:reason] if args.key?(:reason)
499
+ end
500
+ end
501
+
502
+ # SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
464
503
  class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
465
504
  include Google::Apis::Core::Hashable
466
505
 
@@ -471,14 +510,9 @@ module Google
471
510
  # as long as such extension is committed at least 10 minutes before the
472
511
  # original exclusion expiration - otherwise it is possible that there will
473
512
  # be "gaps" in the exclusion application in the exported timeseries.
474
- # Corresponds to the JSON property `exclusionDuration`
513
+ # Corresponds to the JSON property `duration`
475
514
  # @return [String]
476
- attr_accessor :exclusion_duration
477
-
478
- # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
479
- # Corresponds to the JSON property `exclusionStartTime`
480
- # @return [String]
481
- attr_accessor :exclusion_start_time
515
+ attr_accessor :duration
482
516
 
483
517
  # Human-readable reason for the exclusion.
484
518
  # This should be a static string (e.g. "Disruptive update in progress")
@@ -495,16 +529,21 @@ module Google
495
529
  # @return [String]
496
530
  attr_accessor :sli_name
497
531
 
532
+ # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
533
+ # Corresponds to the JSON property `startTime`
534
+ # @return [String]
535
+ attr_accessor :start_time
536
+
498
537
  def initialize(**args)
499
538
  update!(**args)
500
539
  end
501
540
 
502
541
  # Update properties of this object
503
542
  def update!(**args)
504
- @exclusion_duration = args[:exclusion_duration] if args.key?(:exclusion_duration)
505
- @exclusion_start_time = args[:exclusion_start_time] if args.key?(:exclusion_start_time)
543
+ @duration = args[:duration] if args.key?(:duration)
506
544
  @reason = args[:reason] if args.key?(:reason)
507
545
  @sli_name = args[:sli_name] if args.key?(:sli_name)
546
+ @start_time = args[:start_time] if args.key?(:start_time)
508
547
  end
509
548
  end
510
549
 
@@ -513,6 +552,13 @@ module Google
513
552
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
514
553
  include Google::Apis::Core::Hashable
515
554
 
555
+ # SloEligibility is a tuple containing eligibility value: true if an instance
556
+ # is eligible for SLO calculation or false if it should be excluded from all
557
+ # SLO-related calculations along with a user-defined reason.
558
+ # Corresponds to the JSON property `eligibility`
559
+ # @return [Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
560
+ attr_accessor :eligibility
561
+
516
562
  # List of SLO exclusion windows. When multiple entries in the list match
517
563
  # (matching the exclusion time-window against current time point)
518
564
  # the exclusion reason used in the first matching entry will be published.
@@ -522,8 +568,8 @@ module Google
522
568
  # in the historically produced timeseries regardless of the current state).
523
569
  # This field can be used to mark the instance as temporary ineligible
524
570
  # for the purpose of SLO calculation. For permanent instance SLO exclusion,
525
- # a dedicated tier name can be used that does not have targets specified
526
- # in the service SLO configuration.
571
+ # use of custom instance eligibility is recommended. See 'eligibility' field
572
+ # below.
527
573
  # Corresponds to the JSON property `exclusions`
528
574
  # @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
529
575
  attr_accessor :exclusions
@@ -550,6 +596,7 @@ module Google
550
596
 
551
597
  # Update properties of this object
552
598
  def update!(**args)
599
+ @eligibility = args[:eligibility] if args.key?(:eligibility)
553
600
  @exclusions = args[:exclusions] if args.key?(:exclusions)
554
601
  @nodes = args[:nodes] if args.key?(:nodes)
555
602
  @tier = args[:tier] if args.key?(:tier)