google-api-client 0.36.0 → 0.36.1

Sign up to get free protection for your applications and to get access to all the features.
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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9cca0108617535f9f7dc029027e25d686a250764e1334d787e1237f3da576c9d
4
- data.tar.gz: 043ee7b66e3e5e279bc2080e9a61a436d55b909f367161c2f771ff6a87281414
3
+ metadata.gz: 8afba385044b47e0448f7ed890c9949a5c02489f7c91e9b4f979046aae3ba4f0
4
+ data.tar.gz: 503b2e317e6a7f74aeb0d4eef70c4c4b52e2967f4dbf88a4f08c02fdcc24311e
5
5
  SHA512:
6
- metadata.gz: 650c0d08058a352f82f255ea7677fd74d4b028f4a58804df164a74d90d30daba24b5e9ccdba56e8c1bf5ce5ab31f022f0e92650c74e1fa04d40cdf1652ffd218
7
- data.tar.gz: 8dffea2f03975bc6811b96a38895f5348a18db6e36545fb7277f84c852a04534a455a74efa97aec669104f34befb2483e0147979c3fd728b26c22199da1a4b04
6
+ metadata.gz: 3c1d47a12e5e49d22eb91487f751b8b54f1de4b1474ceb82914dad17793e8366bce27ce18a9458199ebd9e4e6fdb4f902629aa3743ac3ed19d8bf8549600cfb9
7
+ data.tar.gz: a11670ad33ac18298c8089f5aac60dc312a5e70ed6297fe0ead3b17da64c6eeb252fd592e59ec80a9cf7768325f186c45ff5f307c20e4ecbadfdfa9907fbd218
@@ -1,3 +1,72 @@
1
+ # 0.36.1
2
+ * Backwards compatible changes:
3
+ * Updated `androidenterprise_v1`
4
+ * Updated `androidmanagement_v1`
5
+ * Updated `androidpublisher_v3`
6
+ * Updated `bigquery_v2`
7
+ * Updated `bigqueryconnection_v1beta1`
8
+ * Updated `bigquerydatatransfer_v1`
9
+ * Updated `bigtableadmin_v2`
10
+ * Updated `binaryauthorization_v1`
11
+ * Updated `binaryauthorization_v1beta1`
12
+ * Updated `chat_v1`
13
+ * Updated `cloudasset_v1`
14
+ * Updated `cloudbilling_v1`
15
+ * Updated `cloudbuild_v1`
16
+ * Updated `cloudfunctions_v1`
17
+ * Updated `cloudiot_v1`
18
+ * Updated `cloudkms_v1`
19
+ * Updated `cloudresourcemanager_v1`
20
+ * Updated `cloudresourcemanager_v1beta1`
21
+ * Updated `cloudresourcemanager_v2`
22
+ * Updated `cloudresourcemanager_v2beta1`
23
+ * Updated `cloudsearch_v1`
24
+ * Updated `cloudtasks_v2`
25
+ * Updated `cloudtasks_v2beta2`
26
+ * Updated `cloudtasks_v2beta3`
27
+ * Updated `cloudtrace_v2`
28
+ * Updated `compute_alpha`
29
+ * Updated `compute_beta`
30
+ * Updated `compute_v1`
31
+ * Updated `containeranalysis_v1alpha1`
32
+ * Updated `containeranalysis_v1beta1`
33
+ * Updated `content_v2`
34
+ * Updated `content_v2_1`
35
+ * Updated `datacatalog_v1beta1`
36
+ * Updated `datastore_v1`
37
+ * Updated `datastore_v1beta3`
38
+ * Updated `dfareporting_v3_4`
39
+ * Updated `dialogflow_v2`
40
+ * Updated `dialogflow_v2beta1`
41
+ * Updated `dlp_v2`
42
+ * Updated `file_v1`
43
+ * Updated `file_v1beta1`
44
+ * Updated `firebaserules_v1`
45
+ * Updated `gmail_v1`
46
+ * Updated `iamcredentials_v1`
47
+ * Updated `iap_v1`
48
+ * Updated `iap_v1beta1`
49
+ * Updated `logging_v2`
50
+ * Updated `ml_v1`
51
+ * Updated `monitoring_v1`
52
+ * Updated `monitoring_v3`
53
+ * Updated `pubsub_v1`
54
+ * Updated `pubsub_v1beta2`
55
+ * Updated `remotebuildexecution_v1alpha`
56
+ * Updated `remotebuildexecution_v2`
57
+ * Updated `run_v1`
58
+ * Updated `run_v1alpha1`
59
+ * Updated `serviceconsumermanagement_v1`
60
+ * Updated `servicecontrol_v1`
61
+ * Updated `servicenetworking_v1`
62
+ * Updated `servicenetworking_v1beta`
63
+ * Updated `serviceusage_v1`
64
+ * Updated `serviceusage_v1beta1`
65
+ * Updated `storagetransfer_v1`
66
+ * Updated `testing_v1`
67
+ * Updated `toolresults_v1beta3`
68
+ * Updated `youtube_partner_v1`
69
+
1
70
  # 0.36.0
2
71
  * Breaking changes:
3
72
  * Deleted `cloudbuild_v1alpha1`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android/work/play/emm-api
26
26
  module AndroidenterpriseV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190908'
28
+ REVISION = '20191201'
29
29
 
30
30
  # Manage corporate Android devices
31
31
  AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
@@ -610,7 +610,8 @@ module Google
610
610
 
611
611
  # The minimum version of the app. If a lower version of the app is installed,
612
612
  # then the app will be auto-updated according to the auto-install constraints,
613
- # instead of waiting for the regular auto-update.
613
+ # instead of waiting for the regular auto-update. You can set a minimum version
614
+ # code for at most 20 apps per device.
614
615
  # Corresponds to the JSON property `minimumVersionCode`
615
616
  # @return [Fixnum]
616
617
  attr_accessor :minimum_version_code
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/android/management
27
27
  module AndroidmanagementV1
28
28
  VERSION = 'V1'
29
- REVISION = '20191113'
29
+ REVISION = '20191207'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -1093,7 +1093,7 @@ module Google
1093
1093
  # @return [String]
1094
1094
  attr_accessor :pubsub_topic
1095
1095
 
1096
- # Sign-in details of the enterprise. Maximum of 1 SigninDetail is supported.
1096
+ # Sign-in details of the enterprise.
1097
1097
  # Corresponds to the JSON property `signinDetails`
1098
1098
  # @return [Array<Google::Apis::AndroidmanagementV1::SigninDetail>]
1099
1099
  attr_accessor :signin_details
@@ -3007,13 +3007,15 @@ module Google
3007
3007
  attr_accessor :device_settings_enabled
3008
3008
  alias_method :device_settings_enabled?, :device_settings_enabled
3009
3009
 
3010
- # Whether displays reporting is enabled.
3010
+ # Whether displays reporting is enabled. Report data is not available for
3011
+ # personally owned devices with work profiles.
3011
3012
  # Corresponds to the JSON property `displayInfoEnabled`
3012
3013
  # @return [Boolean]
3013
3014
  attr_accessor :display_info_enabled
3014
3015
  alias_method :display_info_enabled?, :display_info_enabled
3015
3016
 
3016
- # Whether hardware status reporting is enabled.
3017
+ # Whether hardware status reporting is enabled. Report data is not available for
3018
+ # personally owned devices with work profiles.
3017
3019
  # Corresponds to the JSON property `hardwareStatusEnabled`
3018
3020
  # @return [Boolean]
3019
3021
  attr_accessor :hardware_status_enabled
@@ -3031,7 +3033,8 @@ module Google
3031
3033
  attr_accessor :network_info_enabled
3032
3034
  alias_method :network_info_enabled?, :network_info_enabled
3033
3035
 
3034
- # Whether power management event reporting is enabled.
3036
+ # Whether power management event reporting is enabled. Report data is not
3037
+ # available for personally owned devices with work profiles.
3035
3038
  # Corresponds to the JSON property `powerManagementEventsEnabled`
3036
3039
  # @return [Boolean]
3037
3040
  attr_accessor :power_management_events_enabled
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV3
27
27
  VERSION = 'V3'
28
- REVISION = '20191113'
28
+ REVISION = '20191202'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -1092,37 +1092,6 @@ module Google
1092
1092
  end
1093
1093
  end
1094
1094
 
1095
- #
1096
- class MendelSampling
1097
- include Google::Apis::Core::Hashable
1098
-
1099
- #
1100
- # Corresponds to the JSON property `modRanges`
1101
- # @return [Array<Google::Apis::AndroidpublisherV3::ModRange>]
1102
- attr_accessor :mod_ranges
1103
-
1104
- #
1105
- # Corresponds to the JSON property `modulus`
1106
- # @return [Fixnum]
1107
- attr_accessor :modulus
1108
-
1109
- #
1110
- # Corresponds to the JSON property `salt`
1111
- # @return [Fixnum]
1112
- attr_accessor :salt
1113
-
1114
- def initialize(**args)
1115
- update!(**args)
1116
- end
1117
-
1118
- # Update properties of this object
1119
- def update!(**args)
1120
- @mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
1121
- @modulus = args[:modulus] if args.key?(:modulus)
1122
- @salt = args[:salt] if args.key?(:salt)
1123
- end
1124
- end
1125
-
1126
1095
  #
1127
1096
  class ModRange
1128
1097
  include Google::Apis::Core::Hashable
@@ -1491,6 +1460,37 @@ module Google
1491
1460
  end
1492
1461
  end
1493
1462
 
1463
+ #
1464
+ class Sampling
1465
+ include Google::Apis::Core::Hashable
1466
+
1467
+ #
1468
+ # Corresponds to the JSON property `modRanges`
1469
+ # @return [Array<Google::Apis::AndroidpublisherV3::ModRange>]
1470
+ attr_accessor :mod_ranges
1471
+
1472
+ #
1473
+ # Corresponds to the JSON property `modulus`
1474
+ # @return [Fixnum]
1475
+ attr_accessor :modulus
1476
+
1477
+ #
1478
+ # Corresponds to the JSON property `salt`
1479
+ # @return [Fixnum]
1480
+ attr_accessor :salt
1481
+
1482
+ def initialize(**args)
1483
+ update!(**args)
1484
+ end
1485
+
1486
+ # Update properties of this object
1487
+ def update!(**args)
1488
+ @mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
1489
+ @modulus = args[:modulus] if args.key?(:modulus)
1490
+ @salt = args[:salt] if args.key?(:salt)
1491
+ end
1492
+ end
1493
+
1494
1494
  #
1495
1495
  class Season
1496
1496
  include Google::Apis::Core::Hashable
@@ -2007,7 +2007,7 @@ module Google
2007
2007
 
2008
2008
  #
2009
2009
  # Corresponds to the JSON property `sampling`
2010
- # @return [Google::Apis::AndroidpublisherV3::MendelSampling]
2010
+ # @return [Google::Apis::AndroidpublisherV3::Sampling]
2011
2011
  attr_accessor :sampling
2012
2012
 
2013
2013
  # The desired status of this release.
@@ -214,12 +214,6 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
- class MendelSampling
218
- class Representation < Google::Apis::Core::JsonRepresentation; end
219
-
220
- include Google::Apis::Core::JsonObjectSupport
221
- end
222
-
223
217
  class ModRange
224
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
219
 
@@ -292,6 +286,12 @@ module Google
292
286
  include Google::Apis::Core::JsonObjectSupport
293
287
  end
294
288
 
289
+ class Sampling
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
295
  class Season
296
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
297
 
@@ -710,16 +710,6 @@ module Google
710
710
  end
711
711
  end
712
712
 
713
- class MendelSampling
714
- # @private
715
- class Representation < Google::Apis::Core::JsonRepresentation
716
- collection :mod_ranges, as: 'modRanges', class: Google::Apis::AndroidpublisherV3::ModRange, decorator: Google::Apis::AndroidpublisherV3::ModRange::Representation
717
-
718
- property :modulus, :numeric_string => true, as: 'modulus'
719
- property :salt, as: 'salt'
720
- end
721
- end
722
-
723
713
  class ModRange
724
714
  # @private
725
715
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -832,6 +822,16 @@ module Google
832
822
  end
833
823
  end
834
824
 
825
+ class Sampling
826
+ # @private
827
+ class Representation < Google::Apis::Core::JsonRepresentation
828
+ collection :mod_ranges, as: 'modRanges', class: Google::Apis::AndroidpublisherV3::ModRange, decorator: Google::Apis::AndroidpublisherV3::ModRange::Representation
829
+
830
+ property :modulus, :numeric_string => true, as: 'modulus'
831
+ property :salt, as: 'salt'
832
+ end
833
+ end
834
+
835
835
  class Season
836
836
  # @private
837
837
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -966,7 +966,7 @@ module Google
966
966
  property :name, as: 'name'
967
967
  collection :release_notes, as: 'releaseNotes', class: Google::Apis::AndroidpublisherV3::LocalizedText, decorator: Google::Apis::AndroidpublisherV3::LocalizedText::Representation
968
968
 
969
- property :sampling, as: 'sampling', class: Google::Apis::AndroidpublisherV3::MendelSampling, decorator: Google::Apis::AndroidpublisherV3::MendelSampling::Representation
969
+ property :sampling, as: 'sampling', class: Google::Apis::AndroidpublisherV3::Sampling, decorator: Google::Apis::AndroidpublisherV3::Sampling::Representation
970
970
 
971
971
  property :status, as: 'status'
972
972
  property :user_fraction, as: 'userFraction'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryV2
27
27
  VERSION = 'V2'
28
- REVISION = '20191105'
28
+ REVISION = '20191201'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -3681,7 +3681,8 @@ module Google
3681
3681
 
3682
3682
  # Custom encryption configuration (e.g., Cloud KMS keys). This shows the
3683
3683
  # encryption configuration of the model data while stored in BigQuery
3684
- # storage.
3684
+ # storage. This field can be used with PatchModel to update encryption key
3685
+ # for an already encrypted model.
3685
3686
  # Corresponds to the JSON property `encryptionConfiguration`
3686
3687
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
3687
3688
  attr_accessor :encryption_configuration
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryconnectionV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20191113'
28
+ REVISION = '20191202'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -162,6 +162,23 @@ module Google
162
162
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
163
163
  # * `group:`emailid``: An email address that represents a Google group.
164
164
  # For example, `admins@example.com`.
165
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
166
+ # identifier) representing a user that has been recently deleted. For
167
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
168
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
169
+ # retains the role in the binding.
170
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
171
+ # unique identifier) representing a service account that has been recently
172
+ # deleted. For example,
173
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
174
+ # If the service account is undeleted, this value reverts to
175
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
176
+ # role in the binding.
177
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
178
+ # identifier) representing a Google group that has been recently
179
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
180
+ # the group is recovered, this value reverts to `group:`emailid`` and the
181
+ # recovered group retains the role in the binding.
165
182
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
166
183
  # users of that domain. For example, `google.com` or `example.com`.
167
184
  # Corresponds to the JSON property `members`
@@ -215,6 +232,11 @@ module Google
215
232
  class CloudSqlProperties
216
233
  include Google::Apis::Core::Hashable
217
234
 
235
+ # Credential info for the Cloud SQL.
236
+ # Corresponds to the JSON property `credential`
237
+ # @return [Google::Apis::BigqueryconnectionV1beta1::CloudSqlCredential]
238
+ attr_accessor :credential
239
+
218
240
  # Database name.
219
241
  # Corresponds to the JSON property `database`
220
242
  # @return [String]
@@ -236,6 +258,7 @@ module Google
236
258
 
237
259
  # Update properties of this object
238
260
  def update!(**args)
261
+ @credential = args[:credential] if args.key?(:credential)
239
262
  @database = args[:database] if args.key?(:database)
240
263
  @instance_id = args[:instance_id] if args.key?(:instance_id)
241
264
  @type = args[:type] if args.key?(:type)
@@ -453,16 +476,18 @@ module Google
453
476
  end
454
477
  end
455
478
 
456
- # Defines an Identity and Access Management (IAM) policy. It is used to
457
- # specify access control policies for Cloud Platform resources.
479
+ # An Identity and Access Management (IAM) policy, which specifies access
480
+ # controls for Google Cloud resources.
458
481
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
459
482
  # `members` to a single `role`. Members can be user accounts, service accounts,
460
483
  # Google groups, and domains (such as G Suite). A `role` is a named list of
461
- # permissions (defined by IAM or configured by users). A `binding` can
462
- # optionally specify a `condition`, which is a logic expression that further
463
- # constrains the role binding based on attributes about the request and/or
464
- # target resource.
465
- # **JSON Example**
484
+ # permissions; each `role` can be an IAM predefined role or a user-created
485
+ # custom role.
486
+ # Optionally, a `binding` can specify a `condition`, which is a logical
487
+ # expression that allows access to a resource only if the expression evaluates
488
+ # to `true`. A condition can add constraints based on attributes of the
489
+ # request, the resource, or both.
490
+ # **JSON example:**
466
491
  # `
467
492
  # "bindings": [
468
493
  # `
@@ -480,13 +505,15 @@ module Google
480
505
  # "condition": `
481
506
  # "title": "expirable access",
482
507
  # "description": "Does not grant access after Sep 2020",
483
- # "expression": "request.time <
484
- # timestamp('2020-10-01T00:00:00.000Z')",
508
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
509
+ # ",
485
510
  # `
486
511
  # `
487
- # ]
512
+ # ],
513
+ # "etag": "BwWWja0YfJA=",
514
+ # "version": 3
488
515
  # `
489
- # **YAML Example**
516
+ # **YAML example:**
490
517
  # bindings:
491
518
  # - members:
492
519
  # - user:mike@example.com
@@ -501,8 +528,10 @@ module Google
501
528
  # title: expirable access
502
529
  # description: Does not grant access after Sep 2020
503
530
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
531
+ # - etag: BwWWja0YfJA=
532
+ # - version: 3
504
533
  # For a description of IAM and its features, see the
505
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
534
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
506
535
  class Policy
507
536
  include Google::Apis::Core::Hashable
508
537
 
@@ -511,9 +540,9 @@ module Google
511
540
  # @return [Array<Google::Apis::BigqueryconnectionV1beta1::AuditConfig>]
512
541
  attr_accessor :audit_configs
513
542
 
514
- # Associates a list of `members` to a `role`. Optionally may specify a
515
- # `condition` that determines when binding is in effect.
516
- # `bindings` with no members will result in an error.
543
+ # Associates a list of `members` to a `role`. Optionally, may specify a
544
+ # `condition` that determines how and when the `bindings` are applied. Each
545
+ # of the `bindings` must contain at least one member.
517
546
  # Corresponds to the JSON property `bindings`
518
547
  # @return [Array<Google::Apis::BigqueryconnectionV1beta1::Binding>]
519
548
  attr_accessor :bindings
@@ -525,26 +554,31 @@ module Google
525
554
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
526
555
  # systems are expected to put that etag in the request to `setIamPolicy` to
527
556
  # ensure that their change will be applied to the same version of the policy.
528
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
529
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
530
- # 'setIamPolicy' will not fail even if the incoming policy version does not
531
- # meet the requirements for modifying the stored policy.
557
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
558
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
559
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
560
+ # the conditions in the version `3` policy are lost.
532
561
  # Corresponds to the JSON property `etag`
533
562
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
534
563
  # @return [String]
535
564
  attr_accessor :etag
536
565
 
537
566
  # Specifies the format of the policy.
538
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
539
- # rejected.
540
- # Operations affecting conditional bindings must specify version 3. This can
541
- # be either setting a conditional policy, modifying a conditional binding,
542
- # or removing a binding (conditional or unconditional) from the stored
543
- # conditional policy.
544
- # Operations on non-conditional policies may specify any valid value or
545
- # leave the field unset.
546
- # If no etag is provided in the call to `setIamPolicy`, version compliance
547
- # checks against the stored policy is skipped.
567
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
568
+ # are rejected.
569
+ # Any operation that affects conditional role bindings must specify version
570
+ # `3`. This requirement applies to the following operations:
571
+ # * Getting a policy that includes a conditional role binding
572
+ # * Adding a conditional role binding to a policy
573
+ # * Changing a conditional role binding in a policy
574
+ # * Removing any role binding, with or without a condition, from a policy
575
+ # that includes conditions
576
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
577
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
578
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
579
+ # the conditions in the version `3` policy are lost.
580
+ # If a policy does not include any conditions, operations on that policy may
581
+ # specify any valid version or leave the field unset.
548
582
  # Corresponds to the JSON property `version`
549
583
  # @return [Fixnum]
550
584
  attr_accessor :version
@@ -566,16 +600,18 @@ module Google
566
600
  class SetIamPolicyRequest
567
601
  include Google::Apis::Core::Hashable
568
602
 
569
- # Defines an Identity and Access Management (IAM) policy. It is used to
570
- # specify access control policies for Cloud Platform resources.
603
+ # An Identity and Access Management (IAM) policy, which specifies access
604
+ # controls for Google Cloud resources.
571
605
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
572
606
  # `members` to a single `role`. Members can be user accounts, service accounts,
573
607
  # Google groups, and domains (such as G Suite). A `role` is a named list of
574
- # permissions (defined by IAM or configured by users). A `binding` can
575
- # optionally specify a `condition`, which is a logic expression that further
576
- # constrains the role binding based on attributes about the request and/or
577
- # target resource.
578
- # **JSON Example**
608
+ # permissions; each `role` can be an IAM predefined role or a user-created
609
+ # custom role.
610
+ # Optionally, a `binding` can specify a `condition`, which is a logical
611
+ # expression that allows access to a resource only if the expression evaluates
612
+ # to `true`. A condition can add constraints based on attributes of the
613
+ # request, the resource, or both.
614
+ # **JSON example:**
579
615
  # `
580
616
  # "bindings": [
581
617
  # `
@@ -593,13 +629,15 @@ module Google
593
629
  # "condition": `
594
630
  # "title": "expirable access",
595
631
  # "description": "Does not grant access after Sep 2020",
596
- # "expression": "request.time <
597
- # timestamp('2020-10-01T00:00:00.000Z')",
632
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
633
+ # ",
598
634
  # `
599
635
  # `
600
- # ]
636
+ # ],
637
+ # "etag": "BwWWja0YfJA=",
638
+ # "version": 3
601
639
  # `
602
- # **YAML Example**
640
+ # **YAML example:**
603
641
  # bindings:
604
642
  # - members:
605
643
  # - user:mike@example.com
@@ -614,8 +652,10 @@ module Google
614
652
  # title: expirable access
615
653
  # description: Does not grant access after Sep 2020
616
654
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
655
+ # - etag: BwWWja0YfJA=
656
+ # - version: 3
617
657
  # For a description of IAM and its features, see the
618
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
658
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
619
659
  # Corresponds to the JSON property `policy`
620
660
  # @return [Google::Apis::BigqueryconnectionV1beta1::Policy]
621
661
  attr_accessor :policy