google-api-client 0.51.0 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +23 -45
  3. data/CHANGELOG.md +100 -0
  4. data/README.md +2 -2
  5. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  6. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  7. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  8. data/generated/google/apis/admin_directory_v1.rb +2 -2
  9. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  10. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  11. data/generated/google/apis/admin_directory_v1/service.rb +323 -183
  12. data/generated/google/apis/admin_reports_v1.rb +2 -2
  13. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  14. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  15. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  16. data/generated/google/apis/analytics_v3/service.rb +1 -1
  17. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  18. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +2 -2
  19. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +5 -12
  20. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  21. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
  22. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  23. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  24. data/generated/google/apis/apigateway_v1beta/classes.rb +3 -9
  25. data/generated/google/apis/apigateway_v1beta/representations.rb +0 -1
  26. data/generated/google/apis/apigee_v1.rb +1 -1
  27. data/generated/google/apis/apigee_v1/classes.rb +71 -0
  28. data/generated/google/apis/apigee_v1/representations.rb +42 -0
  29. data/generated/google/apis/apigee_v1/service.rb +206 -0
  30. data/generated/google/apis/appengine_v1.rb +1 -1
  31. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  32. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  33. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  34. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -2
  35. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  36. data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
  37. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +2 -2
  38. data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
  39. data/generated/google/apis/cloudasset_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  41. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  42. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  43. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  45. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  46. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  47. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  48. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  49. data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
  50. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
  54. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  55. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  57. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  58. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  59. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  60. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
  61. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
  62. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  63. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
  64. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
  65. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  66. data/generated/google/apis/composer_v1beta1.rb +1 -1
  67. data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
  68. data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
  69. data/generated/google/apis/compute_alpha.rb +1 -1
  70. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  71. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  72. data/generated/google/apis/compute_alpha/service.rb +291 -15
  73. data/generated/google/apis/compute_beta.rb +1 -1
  74. data/generated/google/apis/compute_beta/classes.rb +926 -283
  75. data/generated/google/apis/compute_beta/representations.rb +221 -18
  76. data/generated/google/apis/compute_beta/service.rb +24 -15
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +419 -158
  79. data/generated/google/apis/compute_v1/representations.rb +55 -0
  80. data/generated/google/apis/compute_v1/service.rb +9 -7
  81. data/generated/google/apis/container_v1.rb +1 -1
  82. data/generated/google/apis/container_v1/classes.rb +48 -9
  83. data/generated/google/apis/container_v1/representations.rb +17 -0
  84. data/generated/google/apis/container_v1/service.rb +4 -2
  85. data/generated/google/apis/container_v1beta1.rb +1 -1
  86. data/generated/google/apis/container_v1beta1/classes.rb +24 -13
  87. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  88. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  89. data/generated/google/apis/content_v2_1.rb +1 -1
  90. data/generated/google/apis/content_v2_1/classes.rb +16 -7
  91. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  92. data/generated/google/apis/datamigration_v1beta1.rb +1 -1
  93. data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
  94. data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
  95. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  96. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  97. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  98. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  99. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  100. data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
  101. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
  103. data/generated/google/apis/dialogflow_v2.rb +1 -1
  104. data/generated/google/apis/dialogflow_v2/classes.rb +692 -0
  105. data/generated/google/apis/dialogflow_v2/representations.rb +326 -0
  106. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +692 -0
  108. data/generated/google/apis/dialogflow_v2beta1/representations.rb +326 -0
  109. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  110. data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
  111. data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
  112. data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
  113. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  114. data/generated/google/apis/dialogflow_v3beta1/classes.rb +784 -0
  115. data/generated/google/apis/dialogflow_v3beta1/representations.rb +360 -0
  116. data/generated/google/apis/dialogflow_v3beta1/service.rb +173 -0
  117. data/generated/google/apis/dlp_v2.rb +1 -1
  118. data/generated/google/apis/dlp_v2/service.rb +294 -1
  119. data/generated/google/apis/dns_v1.rb +1 -1
  120. data/generated/google/apis/dns_v1/classes.rb +65 -0
  121. data/generated/google/apis/dns_v1/representations.rb +32 -0
  122. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  123. data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
  124. data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
  125. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  126. data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
  127. data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
  128. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  129. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  130. data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
  131. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  132. data/generated/google/apis/file_v1.rb +1 -1
  133. data/generated/google/apis/file_v1/classes.rb +61 -0
  134. data/generated/google/apis/file_v1/representations.rb +19 -0
  135. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  136. data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
  137. data/generated/google/apis/healthcare_v1.rb +1 -1
  138. data/generated/google/apis/healthcare_v1/classes.rb +0 -6
  139. data/generated/google/apis/healthcare_v1/representations.rb +0 -1
  140. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  141. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  142. data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
  143. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
  144. data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
  145. data/generated/google/apis/iap_v1.rb +1 -1
  146. data/generated/google/apis/iap_v1/classes.rb +0 -6
  147. data/generated/google/apis/iap_v1/representations.rb +0 -1
  148. data/generated/google/apis/iap_v1beta1.rb +1 -1
  149. data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
  150. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  151. data/generated/google/apis/metastore_v1beta.rb +35 -0
  152. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  153. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  154. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  155. data/generated/google/apis/ml_v1.rb +1 -1
  156. data/generated/google/apis/ml_v1/classes.rb +51 -18
  157. data/generated/google/apis/ml_v1/representations.rb +16 -0
  158. data/generated/google/apis/monitoring_v3.rb +1 -1
  159. data/generated/google/apis/monitoring_v3/classes.rb +8 -4
  160. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  161. data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
  162. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  163. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
  164. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
  165. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  166. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  167. data/generated/google/apis/redis_v1.rb +1 -1
  168. data/generated/google/apis/redis_v1/classes.rb +2 -2
  169. data/generated/google/apis/redis_v1beta1.rb +1 -1
  170. data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
  171. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  172. data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
  173. data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
  174. data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
  175. data/generated/google/apis/searchconsole_v1.rb +1 -1
  176. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  177. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  178. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  179. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
  180. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  181. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  182. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  183. data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
  184. data/generated/google/apis/servicedirectory_v1.rb +35 -0
  185. data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
  186. data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
  187. data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
  188. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  189. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
  190. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  191. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  192. data/generated/google/apis/serviceusage_v1.rb +1 -1
  193. data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
  194. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  195. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
  196. data/generated/google/apis/slides_v1.rb +1 -1
  197. data/generated/google/apis/slides_v1/classes.rb +9 -3
  198. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  199. data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
  200. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
  201. data/generated/google/apis/testing_v1.rb +1 -1
  202. data/generated/google/apis/testing_v1/classes.rb +1 -1
  203. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  204. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  205. data/generated/google/apis/transcoder_v1beta1.rb +1 -1
  206. data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
  207. data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
  208. data/generated/google/apis/translate_v3.rb +1 -1
  209. data/generated/google/apis/translate_v3/classes.rb +1 -1
  210. data/generated/google/apis/translate_v3beta1.rb +1 -1
  211. data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
  212. data/generated/google/apis/workflows_v1beta.rb +1 -1
  213. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  214. data/lib/google/apis/version.rb +1 -1
  215. metadata +15 -7
  216. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  217. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  218. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
@@ -1090,7 +1090,6 @@ module Google
1090
1090
  class Binding
1091
1091
  # @private
1092
1092
  class Representation < Google::Apis::Core::JsonRepresentation
1093
- property :binding_id, as: 'bindingId'
1094
1093
  property :condition, as: 'condition', class: Google::Apis::HealthcareV1beta1::Expr, decorator: Google::Apis::HealthcareV1beta1::Expr::Representation
1095
1094
 
1096
1095
  collection :members, as: 'members'
@@ -1152,6 +1151,7 @@ module Google
1152
1151
  class Representation < Google::Apis::Core::JsonRepresentation
1153
1152
  property :consent_artifact, as: 'consentArtifact'
1154
1153
  property :expire_time, as: 'expireTime'
1154
+ hash :metadata, as: 'metadata'
1155
1155
  property :name, as: 'name'
1156
1156
  collection :policies, as: 'policies', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentPolicy, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentPolicy::Representation
1157
1157
 
@@ -1459,6 +1459,8 @@ module Google
1459
1459
  class ExportResourcesRequest
1460
1460
  # @private
1461
1461
  class Representation < Google::Apis::Core::JsonRepresentation
1462
+ property :_since, as: '_since'
1463
+ property :_type, as: '_type'
1462
1464
  property :bigquery_destination, as: 'bigqueryDestination', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination::Representation
1463
1465
 
1464
1466
  property :gcs_destination, as: 'gcsDestination', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination::Representation
@@ -307,7 +307,7 @@ module Google
307
307
  # The name of the project whose datasets should be listed. For example, `
308
308
  # projects/`project_id`/locations/`location_id``.
309
309
  # @param [Fixnum] page_size
310
- # The maximum number of items to return. Capped to 100 if not specified. May not
310
+ # The maximum number of items to return. If not specified, 100 is used. May not
311
311
  # be larger than 1000.
312
312
  # @param [String] page_token
313
313
  # The next_page_token value returned from a previous List request, if any.
@@ -718,7 +718,7 @@ module Google
718
718
  # on labels is supported, for example `labels.key=value`.
719
719
  # @param [Fixnum] page_size
720
720
  # Limit on the number of Annotation stores to return in a single response. If
721
- # zero the default page size of 100 is used.
721
+ # not specified, 100 is used. May not be larger than 1000.
722
722
  # @param [String] page_token
723
723
  # The next_page_token value returned from the previous List request, if any.
724
724
  # @param [String] fields
@@ -974,8 +974,8 @@ module Google
974
974
  # matches("annotation", "some-content")`. - `type("text")`, `type("image")`, `
975
975
  # type("resource")`. Filter on the type of annotation `data`.
976
976
  # @param [Fixnum] page_size
977
- # Limit on the number of Annotations to return in a single response. If zero the
978
- # default page size of 100 is used.
977
+ # Limit on the number of Annotations to return in a single response. If not
978
+ # specified, 100 is used. May not be larger than 1000.
979
979
  # @param [String] page_token
980
980
  # The next_page_token value returned from the previous List request, if any.
981
981
  # @param [String] view
@@ -1272,8 +1272,8 @@ module Google
1272
1272
  # cloud.google.com/appengine/docs/standard/python/search/query_strings. Only
1273
1273
  # filtering on labels is supported. For example, `labels.key=value`.
1274
1274
  # @param [Fixnum] page_size
1275
- # Limit on the number of Consent stores to return in a single response. If zero
1276
- # the default page size of 100 is used.
1275
+ # Limit on the number of Consent stores to return in a single response. If not
1276
+ # specified, 100 is used. May not be larger than 1000.
1277
1277
  # @param [String] page_token
1278
1278
  # Token to retrieve the next page of results or empty to get the first page.
1279
1279
  # @param [String] fields
@@ -1581,7 +1581,7 @@ module Google
1581
1581
  # field available for filtering is `category`.
1582
1582
  # @param [Fixnum] page_size
1583
1583
  # Limit on the number of attribute definitions to return in a single response.
1584
- # If zero the default page size of 100 is used.
1584
+ # If not specified, 100 is used. May not be larger than 1000.
1585
1585
  # @param [String] page_token
1586
1586
  # Token to retrieve the next page of results or empty to get the first page.
1587
1587
  # @param [String] fields
@@ -1760,7 +1760,7 @@ module Google
1760
1760
  # fields available for filtering are: - user_id - consent_content_version
1761
1761
  # @param [Fixnum] page_size
1762
1762
  # Limit on the number of consent artifacts to return in a single response. If
1763
- # zero the default page size of 100 is used.
1763
+ # not specified, 100 is used. May not be larger than 1000.
1764
1764
  # @param [String] page_token
1765
1765
  # The next_page_token value returned from the previous List request, if any.
1766
1766
  # @param [String] fields
@@ -1980,10 +1980,11 @@ module Google
1980
1980
  # Restricts the consents returned to those matching a filter. Syntax: https://
1981
1981
  # cloud.google.com/appengine/docs/standard/python/search/query_strings The
1982
1982
  # fields available for filtering are: - user_id - consent_artifact - state -
1983
- # revision_create_time
1983
+ # revision_create_time - metadata. For example, `Metadata("key")="value"` or `
1984
+ # HasMetadata("key")`.
1984
1985
  # @param [Fixnum] page_size
1985
- # Limit on the number of consents to return in a single response. If zero the
1986
- # default page size of 100 is used.
1986
+ # Limit on the number of consents to return in a single response. If not
1987
+ # specified, 100 is used. May not be larger than 1000.
1987
1988
  # @param [String] page_token
1988
1989
  # The next_page_token value returned from the previous List request, if any.
1989
1990
  # @param [String] fields
@@ -2025,8 +2026,8 @@ module Google
2025
2026
  # functions available for filtering are: - user_id - consent_artifact - state -
2026
2027
  # revision_create_time
2027
2028
  # @param [Fixnum] page_size
2028
- # Limit on the number of revisions to return in a single response. If zero the
2029
- # default page size of 100 is used.
2029
+ # Limit on the number of revisions to return in a single response. If not
2030
+ # specified, 100 is used. May not be larger than 1000.
2030
2031
  # @param [String] page_token
2031
2032
  # Token to retrieve the next page of results or empty if there are no more
2032
2033
  # results in the list.
@@ -2319,7 +2320,7 @@ module Google
2319
2320
  # archive_time
2320
2321
  # @param [Fixnum] page_size
2321
2322
  # Limit on the number of user data mappings to return in a single response. If
2322
- # zero the default page size of 100 is used.
2323
+ # not specified, 100 is used. May not be larger than 1000.
2323
2324
  # @param [String] page_token
2324
2325
  # Token to retrieve the next page of results or empty to get the first page.
2325
2326
  # @param [String] fields
@@ -2655,8 +2656,8 @@ module Google
2655
2656
  # google.com/appengine/docs/standard/python/search/query_strings Only filtering
2656
2657
  # on labels is supported. For example, `labels.key=value`.
2657
2658
  # @param [Fixnum] page_size
2658
- # Limit on the number of DICOM stores to return in a single response. If zero
2659
- # the default page size of 100 is used.
2659
+ # Limit on the number of DICOM stores to return in a single response. If not
2660
+ # specified, 100 is used. May not be larger than 1000.
2660
2661
  # @param [String] page_token
2661
2662
  # The next_page_token value returned from the previous List request, if any.
2662
2663
  # @param [String] fields
@@ -2978,13 +2979,12 @@ module Google
2978
2979
  execute_or_queue_command(command, &block)
2979
2980
  end
2980
2981
 
2981
- # DeleteStudyAsync deletes all instances within the given study using an
2982
- # operation. Delete requests are equivalent to the GET requests specified in the
2983
- # Retrieve transaction. The method returns an Operation which will be marked
2984
- # successful when the deletion is complete. Warning: Inserting instances into a
2985
- # study while a delete operation is running for that study could result in the
2986
- # new instances not appearing in search results until the deletion operation
2987
- # finishes.
2982
+ # DeleteStudyAsync deletes all instances within the given study using a long
2983
+ # running operation. The method returns an Operation which will be marked
2984
+ # successful when the deletion is complete. Warning: If you insert instances
2985
+ # into a study while a delete operation is running for that study, the instances
2986
+ # you insert might not appear in search results until after the deletion
2987
+ # operation finishes.
2988
2988
  # @param [String] parent
2989
2989
  # @param [String] dicom_web_path
2990
2990
  # The path of the DeleteStudy request. For example, `studies/`study_uid``.
@@ -3237,11 +3237,10 @@ module Google
3237
3237
  end
3238
3238
 
3239
3239
  # DeleteSeriesAsync deletes all instances within the given study and series
3240
- # using an operation. Delete requests are equivalent to the GET requests
3241
- # specified in the Retrieve transaction. The method returns an Operation which
3242
- # will be marked successful when the deletion is complete. Warning: Inserting
3243
- # instances into a series while a delete operation is running for that series
3244
- # could result in the new instances not appearing in search results until the
3240
+ # using a long running operation. The method returns an Operation which will be
3241
+ # marked successful when the deletion is complete. Warning: If you insert
3242
+ # instances into a series while a delete operation is running for that series,
3243
+ # the instances you insert might not appear in search results until after the
3245
3244
  # deletion operation finishes.
3246
3245
  # @param [String] parent
3247
3246
  # The name of the DICOM store that is being accessed. For example, `projects/`
@@ -3981,8 +3980,8 @@ module Google
3981
3980
  # google.com/appengine/docs/standard/python/search/query_strings Only filtering
3982
3981
  # on labels is supported, for example `labels.key=value`.
3983
3982
  # @param [Fixnum] page_size
3984
- # Limit on the number of FHIR stores to return in a single response. If zero the
3985
- # default page size of 100 is used.
3983
+ # Limit on the number of FHIR stores to return in a single response. If not
3984
+ # specified, 100 is used. May not be larger than 1000.
3986
3985
  # @param [String] page_token
3987
3986
  # The next_page_token value returned from the previous List request, if any.
3988
3987
  # @param [String] fields
@@ -4317,7 +4316,8 @@ module Google
4317
4316
  # @param [String] name
4318
4317
  # Name of the `Patient` resource for which the information is required.
4319
4318
  # @param [Fixnum] _count
4320
- # Maximum number of resources in a page. Defaults to 100.
4319
+ # Maximum number of resources in a page. If not specified, 100 is used. May not
4320
+ # be larger than 1000.
4321
4321
  # @param [String] _page_token
4322
4322
  # Used to retrieve the next or previous page of results when using pagination.
4323
4323
  # Set `_page_token` to the value of _page_token set in next or previous page
@@ -4806,8 +4806,8 @@ module Google
4806
4806
  # entire year: `_at=2019` * An entire month: `_at=2019-01` * A specific day: `
4807
4807
  # _at=2019-01-20` * A specific second: `_at=2018-12-31T23:59:58Z`
4808
4808
  # @param [Fixnum] _count
4809
- # The maximum number of search results on a page. Default value is 100. Maximum
4810
- # value is 1,000.
4809
+ # The maximum number of search results on a page. If not specified, 100 is used.
4810
+ # May not be larger than 1000.
4811
4811
  # @param [String] _page_token
4812
4812
  # Used to retrieve the first, previous, next, or last page of resource versions
4813
4813
  # when using pagination. Value should be set to the value of `_page_token` set
@@ -5343,8 +5343,8 @@ module Google
5343
5343
  # google.com/appengine/docs/standard/python/search/query_strings Only filtering
5344
5344
  # on labels is supported. For example, `labels.key=value`.
5345
5345
  # @param [Fixnum] page_size
5346
- # Limit on the number of HL7v2 stores to return in a single response. If zero
5347
- # the default page size of 100 is used.
5346
+ # Limit on the number of HL7v2 stores to return in a single response. If not
5347
+ # specified, 100 is used. May not be larger than 1000.
5348
5348
  # @param [String] page_token
5349
5349
  # The next_page_token value returned from the previous List request, if any.
5350
5350
  # @param [String] fields
@@ -5660,8 +5660,8 @@ module Google
5660
5660
  # cloud.google.com/apis/design/design_patterns#sorting_order Fields available
5661
5661
  # for ordering are: * `send_time`
5662
5662
  # @param [Fixnum] page_size
5663
- # Limit on the number of messages to return in a single response. If zero the
5664
- # default page size of 100 is used.
5663
+ # Limit on the number of messages to return in a single response. If not
5664
+ # specified, 100 is used. May not be larger than 1000.
5665
5665
  # @param [String] page_token
5666
5666
  # The next_page_token value returned from the previous List request, if any.
5667
5667
  # @param [String] view
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iap
26
26
  module IapV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201030'
28
+ REVISION = '20201204'
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'
@@ -129,11 +129,6 @@ module Google
129
129
  class Binding
130
130
  include Google::Apis::Core::Hashable
131
131
 
132
- #
133
- # Corresponds to the JSON property `bindingId`
134
- # @return [String]
135
- attr_accessor :binding_id
136
-
137
132
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
138
133
  # CEL is a C-like expression language. The syntax and semantics of CEL are
139
134
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -195,7 +190,6 @@ module Google
195
190
 
196
191
  # Update properties of this object
197
192
  def update!(**args)
198
- @binding_id = args[:binding_id] if args.key?(:binding_id)
199
193
  @condition = args[:condition] if args.key?(:condition)
200
194
  @members = args[:members] if args.key?(:members)
201
195
  @role = args[:role] if args.key?(:role)
@@ -207,7 +207,6 @@ module Google
207
207
  class Binding
208
208
  # @private
209
209
  class Representation < Google::Apis::Core::JsonRepresentation
210
- property :binding_id, as: 'bindingId'
211
210
  property :condition, as: 'condition', class: Google::Apis::IapV1::Expr, decorator: Google::Apis::IapV1::Expr::Representation
212
211
 
213
212
  collection :members, as: 'members'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iap
26
26
  module IapV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20201030'
28
+ REVISION = '20201204'
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'
@@ -26,11 +26,6 @@ module Google
26
26
  class Binding
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- #
30
- # Corresponds to the JSON property `bindingId`
31
- # @return [String]
32
- attr_accessor :binding_id
33
-
34
29
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
35
30
  # CEL is a C-like expression language. The syntax and semantics of CEL are
36
31
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -92,7 +87,6 @@ module Google
92
87
 
93
88
  # Update properties of this object
94
89
  def update!(**args)
95
- @binding_id = args[:binding_id] if args.key?(:binding_id)
96
90
  @condition = args[:condition] if args.key?(:condition)
97
91
  @members = args[:members] if args.key?(:members)
98
92
  @role = args[:role] if args.key?(:role)
@@ -73,7 +73,6 @@ module Google
73
73
  class Binding
74
74
  # @private
75
75
  class Representation < Google::Apis::Core::JsonRepresentation
76
- property :binding_id, as: 'bindingId'
77
76
  property :condition, as: 'condition', class: Google::Apis::IapV1beta1::Expr, decorator: Google::Apis::IapV1beta1::Expr::Representation
78
77
 
79
78
  collection :members, as: 'members'
@@ -0,0 +1,35 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/metastore_v1beta/service.rb'
16
+ require 'google/apis/metastore_v1beta/classes.rb'
17
+ require 'google/apis/metastore_v1beta/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Dataproc Metastore API
22
+ #
23
+ # The Dataproc Metastore API is used to manage the lifecycle and configuration
24
+ # of metastore services.
25
+ #
26
+ # @see https://cloud.google.com/dataproc-metastore/docs
27
+ module MetastoreV1beta
28
+ VERSION = 'V1beta'
29
+ REVISION = '20201212'
30
+
31
+ # View and manage your data across Google Cloud Platform services
32
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,1151 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module MetastoreV1beta
24
+
25
+ # Specifies the audit configuration for a service. The configuration determines
26
+ # which permission types are logged, and what identities, if any, are exempted
27
+ # from logging. An AuditConfig must have one or more AuditLogConfigs.If there
28
+ # are AuditConfigs for both allServices and a specific service, the union of the
29
+ # two AuditConfigs is used for that service: the log_types specified in each
30
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
31
+ # exempted.Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
32
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
33
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
34
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
35
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
36
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
37
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
38
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
39
+ # DATA_WRITE logging.
40
+ class AuditConfig
41
+ include Google::Apis::Core::Hashable
42
+
43
+ # The configuration for logging of each type of permission.
44
+ # Corresponds to the JSON property `auditLogConfigs`
45
+ # @return [Array<Google::Apis::MetastoreV1beta::AuditLogConfig>]
46
+ attr_accessor :audit_log_configs
47
+
48
+ # Specifies a service that will be enabled for audit logging. For example,
49
+ # storage.googleapis.com, cloudsql.googleapis.com. allServices is a special
50
+ # value that covers all services.
51
+ # Corresponds to the JSON property `service`
52
+ # @return [String]
53
+ attr_accessor :service
54
+
55
+ def initialize(**args)
56
+ update!(**args)
57
+ end
58
+
59
+ # Update properties of this object
60
+ def update!(**args)
61
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
62
+ @service = args[:service] if args.key?(:service)
63
+ end
64
+ end
65
+
66
+ # Provides the configuration for logging a type of permissions. Example: ` "
67
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
68
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
69
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
70
+ # DATA_READ logging.
71
+ class AuditLogConfig
72
+ include Google::Apis::Core::Hashable
73
+
74
+ # Specifies the identities that do not cause logging for this type of permission.
75
+ # Follows the same format of Binding.members.
76
+ # Corresponds to the JSON property `exemptedMembers`
77
+ # @return [Array<String>]
78
+ attr_accessor :exempted_members
79
+
80
+ # The log type that this config enables.
81
+ # Corresponds to the JSON property `logType`
82
+ # @return [String]
83
+ attr_accessor :log_type
84
+
85
+ def initialize(**args)
86
+ update!(**args)
87
+ end
88
+
89
+ # Update properties of this object
90
+ def update!(**args)
91
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
92
+ @log_type = args[:log_type] if args.key?(:log_type)
93
+ end
94
+ end
95
+
96
+ # Associates members with a role.
97
+ class Binding
98
+ include Google::Apis::Core::Hashable
99
+
100
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
101
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
102
+ # documented at https://github.com/google/cel-spec.Example (Comparison): title: "
103
+ # Summary size limit" description: "Determines if a summary is less than 100
104
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
105
+ # Requestor is owner" description: "Determines if requestor is the document
106
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
107
+ # Logic): title: "Public documents" description: "Determine whether the document
108
+ # should be publicly visible" expression: "document.type != 'private' &&
109
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
110
+ # string" description: "Create a notification string with a timestamp."
111
+ # expression: "'New message received at ' + string(document.create_time)" The
112
+ # exact variables and functions that may be referenced within an expression are
113
+ # determined by the service that evaluates it. See the service documentation for
114
+ # additional information.
115
+ # Corresponds to the JSON property `condition`
116
+ # @return [Google::Apis::MetastoreV1beta::Expr]
117
+ attr_accessor :condition
118
+
119
+ # Specifies the identities requesting access for a Cloud Platform resource.
120
+ # members can have the following values: allUsers: A special identifier that
121
+ # represents anyone who is on the internet; with or without a Google account.
122
+ # allAuthenticatedUsers: A special identifier that represents anyone who is
123
+ # authenticated with a Google account or a service account. user:`emailid`: An
124
+ # email address that represents a specific Google account. For example, alice@
125
+ # example.com . serviceAccount:`emailid`: An email address that represents a
126
+ # service account. For example, my-other-app@appspot.gserviceaccount.com. group:`
127
+ # emailid`: An email address that represents a Google group. For example, admins@
128
+ # example.com. deleted:user:`emailid`?uid=`uniqueid`: An email address (plus
129
+ # unique identifier) representing a user that has been recently deleted. For
130
+ # example, alice@example.com?uid=123456789012345678901. If the user is recovered,
131
+ # this value reverts to user:`emailid` and the recovered user retains the role
132
+ # in the binding. deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email
133
+ # address (plus unique identifier) representing a service account that has been
134
+ # recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
135
+ # 123456789012345678901. If the service account is undeleted, this value reverts
136
+ # to serviceAccount:`emailid` and the undeleted service account retains the role
137
+ # in the binding. deleted:group:`emailid`?uid=`uniqueid`: An email address (plus
138
+ # unique identifier) representing a Google group that has been recently deleted.
139
+ # For example, admins@example.com?uid=123456789012345678901. If the group is
140
+ # recovered, this value reverts to group:`emailid` and the recovered group
141
+ # retains the role in the binding. domain:`domain`: The G Suite domain (primary)
142
+ # that represents all the users of that domain. For example, google.com or
143
+ # example.com.
144
+ # Corresponds to the JSON property `members`
145
+ # @return [Array<String>]
146
+ attr_accessor :members
147
+
148
+ # Role that is assigned to members. For example, roles/viewer, roles/editor, or
149
+ # roles/owner.
150
+ # Corresponds to the JSON property `role`
151
+ # @return [String]
152
+ attr_accessor :role
153
+
154
+ def initialize(**args)
155
+ update!(**args)
156
+ end
157
+
158
+ # Update properties of this object
159
+ def update!(**args)
160
+ @condition = args[:condition] if args.key?(:condition)
161
+ @members = args[:members] if args.key?(:members)
162
+ @role = args[:role] if args.key?(:role)
163
+ end
164
+ end
165
+
166
+ # A specification of the location of and metadata about a database dump from a
167
+ # relational database management system.
168
+ class DatabaseDump
169
+ include Google::Apis::Core::Hashable
170
+
171
+ # The type of the database.
172
+ # Corresponds to the JSON property `databaseType`
173
+ # @return [String]
174
+ attr_accessor :database_type
175
+
176
+ # A Cloud Storage object URI that specifies the source from which to import
177
+ # metadata. It must begin with gs://.
178
+ # Corresponds to the JSON property `gcsUri`
179
+ # @return [String]
180
+ attr_accessor :gcs_uri
181
+
182
+ # The name of the source database.
183
+ # Corresponds to the JSON property `sourceDatabase`
184
+ # @return [String]
185
+ attr_accessor :source_database
186
+
187
+ def initialize(**args)
188
+ update!(**args)
189
+ end
190
+
191
+ # Update properties of this object
192
+ def update!(**args)
193
+ @database_type = args[:database_type] if args.key?(:database_type)
194
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
195
+ @source_database = args[:source_database] if args.key?(:source_database)
196
+ end
197
+ end
198
+
199
+ # A generic empty message that you can re-use to avoid defining duplicated empty
200
+ # messages in your APIs. A typical example is to use it as the request or the
201
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
202
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
203
+ # Empty is empty JSON object ``.
204
+ class Empty
205
+ include Google::Apis::Core::Hashable
206
+
207
+ def initialize(**args)
208
+ update!(**args)
209
+ end
210
+
211
+ # Update properties of this object
212
+ def update!(**args)
213
+ end
214
+ end
215
+
216
+ # Request message for DataprocMetastore.ExportMetadata.
217
+ class ExportMetadataRequest
218
+ include Google::Apis::Core::Hashable
219
+
220
+ # Required. A Cloud Storage URI of a folder that metadata are exported to, in
221
+ # the format gs:///. A sub-folder containing exported files will be created
222
+ # below it.
223
+ # Corresponds to the JSON property `destinationGcsFolder`
224
+ # @return [String]
225
+ attr_accessor :destination_gcs_folder
226
+
227
+ # Optional. A request ID. Specify a unique request ID to allow the server to
228
+ # ignore the request if it has completed. The server will ignore subsequent
229
+ # requests that provide a duplicate request ID for at least 60 minutes after the
230
+ # first request.For example, if an initial request times out, followed by
231
+ # another request with the same request ID, the server ignores the second
232
+ # request to prevent the creation of duplicate commitments.The request ID must
233
+ # be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#
234
+ # Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
235
+ # Corresponds to the JSON property `requestId`
236
+ # @return [String]
237
+ attr_accessor :request_id
238
+
239
+ def initialize(**args)
240
+ update!(**args)
241
+ end
242
+
243
+ # Update properties of this object
244
+ def update!(**args)
245
+ @destination_gcs_folder = args[:destination_gcs_folder] if args.key?(:destination_gcs_folder)
246
+ @request_id = args[:request_id] if args.key?(:request_id)
247
+ end
248
+ end
249
+
250
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
251
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
252
+ # documented at https://github.com/google/cel-spec.Example (Comparison): title: "
253
+ # Summary size limit" description: "Determines if a summary is less than 100
254
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
255
+ # Requestor is owner" description: "Determines if requestor is the document
256
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
257
+ # Logic): title: "Public documents" description: "Determine whether the document
258
+ # should be publicly visible" expression: "document.type != 'private' &&
259
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
260
+ # string" description: "Create a notification string with a timestamp."
261
+ # expression: "'New message received at ' + string(document.create_time)" The
262
+ # exact variables and functions that may be referenced within an expression are
263
+ # determined by the service that evaluates it. See the service documentation for
264
+ # additional information.
265
+ class Expr
266
+ include Google::Apis::Core::Hashable
267
+
268
+ # Optional. Description of the expression. This is a longer text which describes
269
+ # the expression, e.g. when hovered over it in a UI.
270
+ # Corresponds to the JSON property `description`
271
+ # @return [String]
272
+ attr_accessor :description
273
+
274
+ # Textual representation of an expression in Common Expression Language syntax.
275
+ # Corresponds to the JSON property `expression`
276
+ # @return [String]
277
+ attr_accessor :expression
278
+
279
+ # Optional. String indicating the location of the expression for error reporting,
280
+ # e.g. a file name and a position in the file.
281
+ # Corresponds to the JSON property `location`
282
+ # @return [String]
283
+ attr_accessor :location
284
+
285
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
286
+ # This can be used e.g. in UIs which allow to enter the expression.
287
+ # Corresponds to the JSON property `title`
288
+ # @return [String]
289
+ attr_accessor :title
290
+
291
+ def initialize(**args)
292
+ update!(**args)
293
+ end
294
+
295
+ # Update properties of this object
296
+ def update!(**args)
297
+ @description = args[:description] if args.key?(:description)
298
+ @expression = args[:expression] if args.key?(:expression)
299
+ @location = args[:location] if args.key?(:location)
300
+ @title = args[:title] if args.key?(:title)
301
+ end
302
+ end
303
+
304
+ # Specifies configuration information specific to running Hive metastore
305
+ # software as the metastore service.
306
+ class HiveMetastoreConfig
307
+ include Google::Apis::Core::Hashable
308
+
309
+ # A mapping of Hive metastore configuration key-value pairs to apply to the Hive
310
+ # metastore (configured in hive-site.xml). The mappings override system defaults
311
+ # (some keys cannot be overridden).
312
+ # Corresponds to the JSON property `configOverrides`
313
+ # @return [Hash<String,String>]
314
+ attr_accessor :config_overrides
315
+
316
+ # Configuration information for a Kerberos principal.
317
+ # Corresponds to the JSON property `kerberosConfig`
318
+ # @return [Google::Apis::MetastoreV1beta::KerberosConfig]
319
+ attr_accessor :kerberos_config
320
+
321
+ # Immutable. The Hive metastore schema version.
322
+ # Corresponds to the JSON property `version`
323
+ # @return [String]
324
+ attr_accessor :version
325
+
326
+ def initialize(**args)
327
+ update!(**args)
328
+ end
329
+
330
+ # Update properties of this object
331
+ def update!(**args)
332
+ @config_overrides = args[:config_overrides] if args.key?(:config_overrides)
333
+ @kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config)
334
+ @version = args[:version] if args.key?(:version)
335
+ end
336
+ end
337
+
338
+ # A specification of a supported version of the Hive Metastore software.
339
+ class HiveMetastoreVersion
340
+ include Google::Apis::Core::Hashable
341
+
342
+ # Whether version will be chosen by the server if a metastore service is created
343
+ # with a HiveMetastoreConfig that omits the version.
344
+ # Corresponds to the JSON property `isDefault`
345
+ # @return [Boolean]
346
+ attr_accessor :is_default
347
+ alias_method :is_default?, :is_default
348
+
349
+ # The semantic version of the Hive Metastore software.
350
+ # Corresponds to the JSON property `version`
351
+ # @return [String]
352
+ attr_accessor :version
353
+
354
+ def initialize(**args)
355
+ update!(**args)
356
+ end
357
+
358
+ # Update properties of this object
359
+ def update!(**args)
360
+ @is_default = args[:is_default] if args.key?(:is_default)
361
+ @version = args[:version] if args.key?(:version)
362
+ end
363
+ end
364
+
365
+ # Configuration information for a Kerberos principal.
366
+ class KerberosConfig
367
+ include Google::Apis::Core::Hashable
368
+
369
+ # A securely stored value.
370
+ # Corresponds to the JSON property `keytab`
371
+ # @return [Google::Apis::MetastoreV1beta::Secret]
372
+ attr_accessor :keytab
373
+
374
+ # A Cloud Storage URI that specifies the path to a krb5.conf file. It is of the
375
+ # form gs://`bucket_name`/path/to/krb5.conf, although the file does not need to
376
+ # be named krb5.conf explicitly.
377
+ # Corresponds to the JSON property `krb5ConfigGcsUri`
378
+ # @return [String]
379
+ attr_accessor :krb5_config_gcs_uri
380
+
381
+ # A Kerberos principal that exists in the both the keytab the KDC to
382
+ # authenticate as. A typical principal is of the form "primary/instance@REALM",
383
+ # but there is no exact format.
384
+ # Corresponds to the JSON property `principal`
385
+ # @return [String]
386
+ attr_accessor :principal
387
+
388
+ def initialize(**args)
389
+ update!(**args)
390
+ end
391
+
392
+ # Update properties of this object
393
+ def update!(**args)
394
+ @keytab = args[:keytab] if args.key?(:keytab)
395
+ @krb5_config_gcs_uri = args[:krb5_config_gcs_uri] if args.key?(:krb5_config_gcs_uri)
396
+ @principal = args[:principal] if args.key?(:principal)
397
+ end
398
+ end
399
+
400
+ # The response message for Locations.ListLocations.
401
+ class ListLocationsResponse
402
+ include Google::Apis::Core::Hashable
403
+
404
+ # A list of locations that matches the specified filter in the request.
405
+ # Corresponds to the JSON property `locations`
406
+ # @return [Array<Google::Apis::MetastoreV1beta::Location>]
407
+ attr_accessor :locations
408
+
409
+ # The standard List next-page token.
410
+ # Corresponds to the JSON property `nextPageToken`
411
+ # @return [String]
412
+ attr_accessor :next_page_token
413
+
414
+ def initialize(**args)
415
+ update!(**args)
416
+ end
417
+
418
+ # Update properties of this object
419
+ def update!(**args)
420
+ @locations = args[:locations] if args.key?(:locations)
421
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
422
+ end
423
+ end
424
+
425
+ # Response message for DataprocMetastore.ListMetadataImports.
426
+ class ListMetadataImportsResponse
427
+ include Google::Apis::Core::Hashable
428
+
429
+ # The imports in the specified service.
430
+ # Corresponds to the JSON property `metadataImports`
431
+ # @return [Array<Google::Apis::MetastoreV1beta::MetadataImport>]
432
+ attr_accessor :metadata_imports
433
+
434
+ # A token that can be sent as page_token to retrieve the next page. If this
435
+ # field is omitted, there are no subsequent pages.
436
+ # Corresponds to the JSON property `nextPageToken`
437
+ # @return [String]
438
+ attr_accessor :next_page_token
439
+
440
+ # Locations that could not be reached.
441
+ # Corresponds to the JSON property `unreachable`
442
+ # @return [Array<String>]
443
+ attr_accessor :unreachable
444
+
445
+ def initialize(**args)
446
+ update!(**args)
447
+ end
448
+
449
+ # Update properties of this object
450
+ def update!(**args)
451
+ @metadata_imports = args[:metadata_imports] if args.key?(:metadata_imports)
452
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
453
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
454
+ end
455
+ end
456
+
457
+ # The response message for Operations.ListOperations.
458
+ class ListOperationsResponse
459
+ include Google::Apis::Core::Hashable
460
+
461
+ # The standard List next-page token.
462
+ # Corresponds to the JSON property `nextPageToken`
463
+ # @return [String]
464
+ attr_accessor :next_page_token
465
+
466
+ # A list of operations that matches the specified filter in the request.
467
+ # Corresponds to the JSON property `operations`
468
+ # @return [Array<Google::Apis::MetastoreV1beta::Operation>]
469
+ attr_accessor :operations
470
+
471
+ def initialize(**args)
472
+ update!(**args)
473
+ end
474
+
475
+ # Update properties of this object
476
+ def update!(**args)
477
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
478
+ @operations = args[:operations] if args.key?(:operations)
479
+ end
480
+ end
481
+
482
+ # Response message for DataprocMetastore.ListServices.
483
+ class ListServicesResponse
484
+ include Google::Apis::Core::Hashable
485
+
486
+ # A token that can be sent as page_token to retrieve the next page. If this
487
+ # field is omitted, there are no subsequent pages.
488
+ # Corresponds to the JSON property `nextPageToken`
489
+ # @return [String]
490
+ attr_accessor :next_page_token
491
+
492
+ # The services in the specified location.
493
+ # Corresponds to the JSON property `services`
494
+ # @return [Array<Google::Apis::MetastoreV1beta::Service>]
495
+ attr_accessor :services
496
+
497
+ # Locations that could not be reached.
498
+ # Corresponds to the JSON property `unreachable`
499
+ # @return [Array<String>]
500
+ attr_accessor :unreachable
501
+
502
+ def initialize(**args)
503
+ update!(**args)
504
+ end
505
+
506
+ # Update properties of this object
507
+ def update!(**args)
508
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
509
+ @services = args[:services] if args.key?(:services)
510
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
511
+ end
512
+ end
513
+
514
+ # A resource that represents Google Cloud Platform location.
515
+ class Location
516
+ include Google::Apis::Core::Hashable
517
+
518
+ # The friendly name for this location, typically a nearby city name. For example,
519
+ # "Tokyo".
520
+ # Corresponds to the JSON property `displayName`
521
+ # @return [String]
522
+ attr_accessor :display_name
523
+
524
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
525
+ # region": "us-east1"`
526
+ # Corresponds to the JSON property `labels`
527
+ # @return [Hash<String,String>]
528
+ attr_accessor :labels
529
+
530
+ # The canonical id for this location. For example: "us-east1".
531
+ # Corresponds to the JSON property `locationId`
532
+ # @return [String]
533
+ attr_accessor :location_id
534
+
535
+ # Service-specific metadata. For example the available capacity at the given
536
+ # location.
537
+ # Corresponds to the JSON property `metadata`
538
+ # @return [Hash<String,Object>]
539
+ attr_accessor :metadata
540
+
541
+ # Resource name for the location, which may vary between implementations. For
542
+ # example: "projects/example-project/locations/us-east1"
543
+ # Corresponds to the JSON property `name`
544
+ # @return [String]
545
+ attr_accessor :name
546
+
547
+ def initialize(**args)
548
+ update!(**args)
549
+ end
550
+
551
+ # Update properties of this object
552
+ def update!(**args)
553
+ @display_name = args[:display_name] if args.key?(:display_name)
554
+ @labels = args[:labels] if args.key?(:labels)
555
+ @location_id = args[:location_id] if args.key?(:location_id)
556
+ @metadata = args[:metadata] if args.key?(:metadata)
557
+ @name = args[:name] if args.key?(:name)
558
+ end
559
+ end
560
+
561
+ # Metadata about the service in a location.
562
+ class LocationMetadata
563
+ include Google::Apis::Core::Hashable
564
+
565
+ # The versions of Hive Metastore that can be used when creating a new metastore
566
+ # service in this location. The server guarantees that exactly one
567
+ # HiveMetastoreVersion in the list will set is_default.
568
+ # Corresponds to the JSON property `supportedHiveMetastoreVersions`
569
+ # @return [Array<Google::Apis::MetastoreV1beta::HiveMetastoreVersion>]
570
+ attr_accessor :supported_hive_metastore_versions
571
+
572
+ def initialize(**args)
573
+ update!(**args)
574
+ end
575
+
576
+ # Update properties of this object
577
+ def update!(**args)
578
+ @supported_hive_metastore_versions = args[:supported_hive_metastore_versions] if args.key?(:supported_hive_metastore_versions)
579
+ end
580
+ end
581
+
582
+ # Maintenance window. This specifies when Dataproc Metastore may perform system
583
+ # maintenance operation to the service.
584
+ class MaintenanceWindow
585
+ include Google::Apis::Core::Hashable
586
+
587
+ # The day of week, when the window starts.
588
+ # Corresponds to the JSON property `dayOfWeek`
589
+ # @return [String]
590
+ attr_accessor :day_of_week
591
+
592
+ # The hour of day (0-23) when the window starts.
593
+ # Corresponds to the JSON property `hourOfDay`
594
+ # @return [Fixnum]
595
+ attr_accessor :hour_of_day
596
+
597
+ def initialize(**args)
598
+ update!(**args)
599
+ end
600
+
601
+ # Update properties of this object
602
+ def update!(**args)
603
+ @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
604
+ @hour_of_day = args[:hour_of_day] if args.key?(:hour_of_day)
605
+ end
606
+ end
607
+
608
+ # The details of a metadata export operation.
609
+ class MetadataExport
610
+ include Google::Apis::Core::Hashable
611
+
612
+ # Output only. A Cloud Storage URI of a folder that metadata are exported to, in
613
+ # the form of gs:////, where ` is automatically generated.
614
+ # Corresponds to the JSON property `destinationGcsUri`
615
+ # @return [String]
616
+ attr_accessor :destination_gcs_uri
617
+
618
+ # Output only. The time when the export ended.
619
+ # Corresponds to the JSON property `endTime`
620
+ # @return [String]
621
+ attr_accessor :end_time
622
+
623
+ # Output only. The time when the export started.
624
+ # Corresponds to the JSON property `startTime`
625
+ # @return [String]
626
+ attr_accessor :start_time
627
+
628
+ # Output only. The current state of the export.
629
+ # Corresponds to the JSON property `state`
630
+ # @return [String]
631
+ attr_accessor :state
632
+
633
+ def initialize(**args)
634
+ update!(**args)
635
+ end
636
+
637
+ # Update properties of this object
638
+ def update!(**args)
639
+ @destination_gcs_uri = args[:destination_gcs_uri] if args.key?(:destination_gcs_uri)
640
+ @end_time = args[:end_time] if args.key?(:end_time)
641
+ @start_time = args[:start_time] if args.key?(:start_time)
642
+ @state = args[:state] if args.key?(:state)
643
+ end
644
+ end
645
+
646
+ # A metastore resource that imports metadata.
647
+ class MetadataImport
648
+ include Google::Apis::Core::Hashable
649
+
650
+ # Output only. The time when the metadata import was created.
651
+ # Corresponds to the JSON property `createTime`
652
+ # @return [String]
653
+ attr_accessor :create_time
654
+
655
+ # A specification of the location of and metadata about a database dump from a
656
+ # relational database management system.
657
+ # Corresponds to the JSON property `databaseDump`
658
+ # @return [Google::Apis::MetastoreV1beta::DatabaseDump]
659
+ attr_accessor :database_dump
660
+
661
+ # The description of the metadata import.
662
+ # Corresponds to the JSON property `description`
663
+ # @return [String]
664
+ attr_accessor :description
665
+
666
+ # Immutable. The relative resource name of the metadata import, of the form:"
667
+ # projects/`project_number`/locations/`location_id`/services/`service_id`/
668
+ # metadataImports/`metadata_import_id`".
669
+ # Corresponds to the JSON property `name`
670
+ # @return [String]
671
+ attr_accessor :name
672
+
673
+ # Output only. The current state of the metadata import.
674
+ # Corresponds to the JSON property `state`
675
+ # @return [String]
676
+ attr_accessor :state
677
+
678
+ # Output only. The time when the metadata import was last updated.
679
+ # Corresponds to the JSON property `updateTime`
680
+ # @return [String]
681
+ attr_accessor :update_time
682
+
683
+ def initialize(**args)
684
+ update!(**args)
685
+ end
686
+
687
+ # Update properties of this object
688
+ def update!(**args)
689
+ @create_time = args[:create_time] if args.key?(:create_time)
690
+ @database_dump = args[:database_dump] if args.key?(:database_dump)
691
+ @description = args[:description] if args.key?(:description)
692
+ @name = args[:name] if args.key?(:name)
693
+ @state = args[:state] if args.key?(:state)
694
+ @update_time = args[:update_time] if args.key?(:update_time)
695
+ end
696
+ end
697
+
698
+ # Specifies how metastore metadata should be integrated with external services.
699
+ class MetadataIntegration
700
+ include Google::Apis::Core::Hashable
701
+
702
+ def initialize(**args)
703
+ update!(**args)
704
+ end
705
+
706
+ # Update properties of this object
707
+ def update!(**args)
708
+ end
709
+ end
710
+
711
+ # The metadata management activities of the metastore service.
712
+ class MetadataManagementActivity
713
+ include Google::Apis::Core::Hashable
714
+
715
+ # Output only. The latest metadata exports of the metastore service.
716
+ # Corresponds to the JSON property `metadataExports`
717
+ # @return [Array<Google::Apis::MetastoreV1beta::MetadataExport>]
718
+ attr_accessor :metadata_exports
719
+
720
+ def initialize(**args)
721
+ update!(**args)
722
+ end
723
+
724
+ # Update properties of this object
725
+ def update!(**args)
726
+ @metadata_exports = args[:metadata_exports] if args.key?(:metadata_exports)
727
+ end
728
+ end
729
+
730
+ # This resource represents a long-running operation that is the result of a
731
+ # network API call.
732
+ class Operation
733
+ include Google::Apis::Core::Hashable
734
+
735
+ # If the value is false, it means the operation is still in progress. If true,
736
+ # the operation is completed, and either error or response is available.
737
+ # Corresponds to the JSON property `done`
738
+ # @return [Boolean]
739
+ attr_accessor :done
740
+ alias_method :done?, :done
741
+
742
+ # The Status type defines a logical error model that is suitable for different
743
+ # programming environments, including REST APIs and RPC APIs. It is used by gRPC
744
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
745
+ # error code, error message, and error details.You can find out more about this
746
+ # error model and how to work with it in the API Design Guide (https://cloud.
747
+ # google.com/apis/design/errors).
748
+ # Corresponds to the JSON property `error`
749
+ # @return [Google::Apis::MetastoreV1beta::Status]
750
+ attr_accessor :error
751
+
752
+ # Service-specific metadata associated with the operation. It typically contains
753
+ # progress information and common metadata such as create time. Some services
754
+ # might not provide such metadata. Any method that returns a long-running
755
+ # operation should document the metadata type, if any.
756
+ # Corresponds to the JSON property `metadata`
757
+ # @return [Hash<String,Object>]
758
+ attr_accessor :metadata
759
+
760
+ # The server-assigned name, which is only unique within the same service that
761
+ # originally returns it. If you use the default HTTP mapping, the name should be
762
+ # a resource name ending with operations/`unique_id`.
763
+ # Corresponds to the JSON property `name`
764
+ # @return [String]
765
+ attr_accessor :name
766
+
767
+ # The normal response of the operation in case of success. If the original
768
+ # method returns no data on success, such as Delete, the response is google.
769
+ # protobuf.Empty. If the original method is standard Get/Create/Update, the
770
+ # response should be the resource. For other methods, the response should have
771
+ # the type XxxResponse, where Xxx is the original method name. For example, if
772
+ # the original method name is TakeSnapshot(), the inferred response type is
773
+ # TakeSnapshotResponse.
774
+ # Corresponds to the JSON property `response`
775
+ # @return [Hash<String,Object>]
776
+ attr_accessor :response
777
+
778
+ def initialize(**args)
779
+ update!(**args)
780
+ end
781
+
782
+ # Update properties of this object
783
+ def update!(**args)
784
+ @done = args[:done] if args.key?(:done)
785
+ @error = args[:error] if args.key?(:error)
786
+ @metadata = args[:metadata] if args.key?(:metadata)
787
+ @name = args[:name] if args.key?(:name)
788
+ @response = args[:response] if args.key?(:response)
789
+ end
790
+ end
791
+
792
+ # An Identity and Access Management (IAM) policy, which specifies access
793
+ # controls for Google Cloud resources.A Policy is a collection of bindings. A
794
+ # binding binds one or more members to a single role. Members can be user
795
+ # accounts, service accounts, Google groups, and domains (such as G Suite). A
796
+ # role is a named list of permissions; each role can be an IAM predefined role
797
+ # or a user-created custom role.For some types of Google Cloud resources, a
798
+ # binding can also specify a condition, which is a logical expression that
799
+ # allows access to a resource only if the expression evaluates to true. A
800
+ # condition can add constraints based on attributes of the request, the resource,
801
+ # or both. To learn which resources support conditions in their IAM policies,
802
+ # see the IAM documentation (https://cloud.google.com/iam/help/conditions/
803
+ # resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
804
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
805
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
806
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
807
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
808
+ # title": "expirable access", "description": "Does not grant access after Sep
809
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
810
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` YAML example: bindings: - members:
811
+ # - user:mike@example.com - group:admins@example.com - domain:google.com -
812
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
813
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
814
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
815
+ # description: Does not grant access after Sep 2020 expression: request.time <
816
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
817
+ # description of IAM and its features, see the IAM documentation (https://cloud.
818
+ # google.com/iam/docs/).
819
+ class Policy
820
+ include Google::Apis::Core::Hashable
821
+
822
+ # Specifies cloud audit logging configuration for this policy.
823
+ # Corresponds to the JSON property `auditConfigs`
824
+ # @return [Array<Google::Apis::MetastoreV1beta::AuditConfig>]
825
+ attr_accessor :audit_configs
826
+
827
+ # Associates a list of members to a role. Optionally, may specify a condition
828
+ # that determines how and when the bindings are applied. Each of the bindings
829
+ # must contain at least one member.
830
+ # Corresponds to the JSON property `bindings`
831
+ # @return [Array<Google::Apis::MetastoreV1beta::Binding>]
832
+ attr_accessor :bindings
833
+
834
+ # etag is used for optimistic concurrency control as a way to help prevent
835
+ # simultaneous updates of a policy from overwriting each other. It is strongly
836
+ # suggested that systems make use of the etag in the read-modify-write cycle to
837
+ # perform policy updates in order to avoid race conditions: An etag is returned
838
+ # in the response to getIamPolicy, and systems are expected to put that etag in
839
+ # the request to setIamPolicy to ensure that their change will be applied to the
840
+ # same version of the policy.Important: If you use IAM Conditions, you must
841
+ # include the etag field whenever you call setIamPolicy. If you omit this field,
842
+ # then IAM allows you to overwrite a version 3 policy with a version 1 policy,
843
+ # and all of the conditions in the version 3 policy are lost.
844
+ # Corresponds to the JSON property `etag`
845
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
846
+ # @return [String]
847
+ attr_accessor :etag
848
+
849
+ # Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that
850
+ # specify an invalid value are rejected.Any operation that affects conditional
851
+ # role bindings must specify version 3. This requirement applies to the
852
+ # following operations: Getting a policy that includes a conditional role
853
+ # binding Adding a conditional role binding to a policy Changing a conditional
854
+ # role binding in a policy Removing any role binding, with or without a
855
+ # condition, from a policy that includes conditionsImportant: If you use IAM
856
+ # Conditions, you must include the etag field whenever you call setIamPolicy. If
857
+ # you omit this field, then IAM allows you to overwrite a version 3 policy with
858
+ # a version 1 policy, and all of the conditions in the version 3 policy are lost.
859
+ # If a policy does not include any conditions, operations on that policy may
860
+ # specify any valid version or leave the field unset.To learn which resources
861
+ # support conditions in their IAM policies, see the IAM documentation (https://
862
+ # cloud.google.com/iam/help/conditions/resource-policies).
863
+ # Corresponds to the JSON property `version`
864
+ # @return [Fixnum]
865
+ attr_accessor :version
866
+
867
+ def initialize(**args)
868
+ update!(**args)
869
+ end
870
+
871
+ # Update properties of this object
872
+ def update!(**args)
873
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
874
+ @bindings = args[:bindings] if args.key?(:bindings)
875
+ @etag = args[:etag] if args.key?(:etag)
876
+ @version = args[:version] if args.key?(:version)
877
+ end
878
+ end
879
+
880
+ # A securely stored value.
881
+ class Secret
882
+ include Google::Apis::Core::Hashable
883
+
884
+ # The relative resource name of a Secret Manager secret version, in the
885
+ # following form:"projects/`project_number`/secrets/`secret_id`/versions/`
886
+ # version_id`".
887
+ # Corresponds to the JSON property `cloudSecret`
888
+ # @return [String]
889
+ attr_accessor :cloud_secret
890
+
891
+ def initialize(**args)
892
+ update!(**args)
893
+ end
894
+
895
+ # Update properties of this object
896
+ def update!(**args)
897
+ @cloud_secret = args[:cloud_secret] if args.key?(:cloud_secret)
898
+ end
899
+ end
900
+
901
+ # A managed metastore service that serves metadata queries.
902
+ class Service
903
+ include Google::Apis::Core::Hashable
904
+
905
+ # Output only. A Cloud Storage URI (starting with gs://) that specifies where
906
+ # artifacts related to the metastore service are stored.
907
+ # Corresponds to the JSON property `artifactGcsUri`
908
+ # @return [String]
909
+ attr_accessor :artifact_gcs_uri
910
+
911
+ # Output only. The time when the metastore service was created.
912
+ # Corresponds to the JSON property `createTime`
913
+ # @return [String]
914
+ attr_accessor :create_time
915
+
916
+ # Output only. The URI of the endpoint used to access the metastore service.
917
+ # Corresponds to the JSON property `endpointUri`
918
+ # @return [String]
919
+ attr_accessor :endpoint_uri
920
+
921
+ # Specifies configuration information specific to running Hive metastore
922
+ # software as the metastore service.
923
+ # Corresponds to the JSON property `hiveMetastoreConfig`
924
+ # @return [Google::Apis::MetastoreV1beta::HiveMetastoreConfig]
925
+ attr_accessor :hive_metastore_config
926
+
927
+ # User-defined labels for the metastore service.
928
+ # Corresponds to the JSON property `labels`
929
+ # @return [Hash<String,String>]
930
+ attr_accessor :labels
931
+
932
+ # Maintenance window. This specifies when Dataproc Metastore may perform system
933
+ # maintenance operation to the service.
934
+ # Corresponds to the JSON property `maintenanceWindow`
935
+ # @return [Google::Apis::MetastoreV1beta::MaintenanceWindow]
936
+ attr_accessor :maintenance_window
937
+
938
+ # Specifies how metastore metadata should be integrated with external services.
939
+ # Corresponds to the JSON property `metadataIntegration`
940
+ # @return [Google::Apis::MetastoreV1beta::MetadataIntegration]
941
+ attr_accessor :metadata_integration
942
+
943
+ # The metadata management activities of the metastore service.
944
+ # Corresponds to the JSON property `metadataManagementActivity`
945
+ # @return [Google::Apis::MetastoreV1beta::MetadataManagementActivity]
946
+ attr_accessor :metadata_management_activity
947
+
948
+ # Immutable. The relative resource name of the metastore service, of the form:"
949
+ # projects/`project_number`/locations/`location_id`/services/`service_id`".
950
+ # Corresponds to the JSON property `name`
951
+ # @return [String]
952
+ attr_accessor :name
953
+
954
+ # Immutable. The relative resource name of the VPC network on which the instance
955
+ # can be accessed. The network must belong to the same project as the metastore
956
+ # instance. It is specified in the following form:"projects/`project_number`/
957
+ # global/networks/`network_id`".
958
+ # Corresponds to the JSON property `network`
959
+ # @return [String]
960
+ attr_accessor :network
961
+
962
+ # The TCP port at which the metastore service is reached. Default: 9083.
963
+ # Corresponds to the JSON property `port`
964
+ # @return [Fixnum]
965
+ attr_accessor :port
966
+
967
+ # Output only. The current state of the metastore service.
968
+ # Corresponds to the JSON property `state`
969
+ # @return [String]
970
+ attr_accessor :state
971
+
972
+ # Output only. Additional information about the current state of the metastore
973
+ # service, if available.
974
+ # Corresponds to the JSON property `stateMessage`
975
+ # @return [String]
976
+ attr_accessor :state_message
977
+
978
+ # The tier of the service.
979
+ # Corresponds to the JSON property `tier`
980
+ # @return [String]
981
+ attr_accessor :tier
982
+
983
+ # Output only. The globally unique resource identifier of the metastore service.
984
+ # Corresponds to the JSON property `uid`
985
+ # @return [String]
986
+ attr_accessor :uid
987
+
988
+ # Output only. The time when the metastore service was last updated.
989
+ # Corresponds to the JSON property `updateTime`
990
+ # @return [String]
991
+ attr_accessor :update_time
992
+
993
+ def initialize(**args)
994
+ update!(**args)
995
+ end
996
+
997
+ # Update properties of this object
998
+ def update!(**args)
999
+ @artifact_gcs_uri = args[:artifact_gcs_uri] if args.key?(:artifact_gcs_uri)
1000
+ @create_time = args[:create_time] if args.key?(:create_time)
1001
+ @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
1002
+ @hive_metastore_config = args[:hive_metastore_config] if args.key?(:hive_metastore_config)
1003
+ @labels = args[:labels] if args.key?(:labels)
1004
+ @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
1005
+ @metadata_integration = args[:metadata_integration] if args.key?(:metadata_integration)
1006
+ @metadata_management_activity = args[:metadata_management_activity] if args.key?(:metadata_management_activity)
1007
+ @name = args[:name] if args.key?(:name)
1008
+ @network = args[:network] if args.key?(:network)
1009
+ @port = args[:port] if args.key?(:port)
1010
+ @state = args[:state] if args.key?(:state)
1011
+ @state_message = args[:state_message] if args.key?(:state_message)
1012
+ @tier = args[:tier] if args.key?(:tier)
1013
+ @uid = args[:uid] if args.key?(:uid)
1014
+ @update_time = args[:update_time] if args.key?(:update_time)
1015
+ end
1016
+ end
1017
+
1018
+ # Request message for SetIamPolicy method.
1019
+ class SetIamPolicyRequest
1020
+ include Google::Apis::Core::Hashable
1021
+
1022
+ # An Identity and Access Management (IAM) policy, which specifies access
1023
+ # controls for Google Cloud resources.A Policy is a collection of bindings. A
1024
+ # binding binds one or more members to a single role. Members can be user
1025
+ # accounts, service accounts, Google groups, and domains (such as G Suite). A
1026
+ # role is a named list of permissions; each role can be an IAM predefined role
1027
+ # or a user-created custom role.For some types of Google Cloud resources, a
1028
+ # binding can also specify a condition, which is a logical expression that
1029
+ # allows access to a resource only if the expression evaluates to true. A
1030
+ # condition can add constraints based on attributes of the request, the resource,
1031
+ # or both. To learn which resources support conditions in their IAM policies,
1032
+ # see the IAM documentation (https://cloud.google.com/iam/help/conditions/
1033
+ # resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
1034
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1035
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1036
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1037
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1038
+ # title": "expirable access", "description": "Does not grant access after Sep
1039
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1040
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` YAML example: bindings: - members:
1041
+ # - user:mike@example.com - group:admins@example.com - domain:google.com -
1042
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1043
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1044
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1045
+ # description: Does not grant access after Sep 2020 expression: request.time <
1046
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1047
+ # description of IAM and its features, see the IAM documentation (https://cloud.
1048
+ # google.com/iam/docs/).
1049
+ # Corresponds to the JSON property `policy`
1050
+ # @return [Google::Apis::MetastoreV1beta::Policy]
1051
+ attr_accessor :policy
1052
+
1053
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
1054
+ # the fields in the mask will be modified. If no mask is provided, the following
1055
+ # default mask is used:paths: "bindings, etag"
1056
+ # Corresponds to the JSON property `updateMask`
1057
+ # @return [String]
1058
+ attr_accessor :update_mask
1059
+
1060
+ def initialize(**args)
1061
+ update!(**args)
1062
+ end
1063
+
1064
+ # Update properties of this object
1065
+ def update!(**args)
1066
+ @policy = args[:policy] if args.key?(:policy)
1067
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
1068
+ end
1069
+ end
1070
+
1071
+ # The Status type defines a logical error model that is suitable for different
1072
+ # programming environments, including REST APIs and RPC APIs. It is used by gRPC
1073
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
1074
+ # error code, error message, and error details.You can find out more about this
1075
+ # error model and how to work with it in the API Design Guide (https://cloud.
1076
+ # google.com/apis/design/errors).
1077
+ class Status
1078
+ include Google::Apis::Core::Hashable
1079
+
1080
+ # The status code, which should be an enum value of google.rpc.Code.
1081
+ # Corresponds to the JSON property `code`
1082
+ # @return [Fixnum]
1083
+ attr_accessor :code
1084
+
1085
+ # A list of messages that carry the error details. There is a common set of
1086
+ # message types for APIs to use.
1087
+ # Corresponds to the JSON property `details`
1088
+ # @return [Array<Hash<String,Object>>]
1089
+ attr_accessor :details
1090
+
1091
+ # A developer-facing error message, which should be in English. Any user-facing
1092
+ # error message should be localized and sent in the google.rpc.Status.details
1093
+ # field, or localized by the client.
1094
+ # Corresponds to the JSON property `message`
1095
+ # @return [String]
1096
+ attr_accessor :message
1097
+
1098
+ def initialize(**args)
1099
+ update!(**args)
1100
+ end
1101
+
1102
+ # Update properties of this object
1103
+ def update!(**args)
1104
+ @code = args[:code] if args.key?(:code)
1105
+ @details = args[:details] if args.key?(:details)
1106
+ @message = args[:message] if args.key?(:message)
1107
+ end
1108
+ end
1109
+
1110
+ # Request message for TestIamPermissions method.
1111
+ class TestIamPermissionsRequest
1112
+ include Google::Apis::Core::Hashable
1113
+
1114
+ # The set of permissions to check for the resource. Permissions with wildcards (
1115
+ # such as '*' or 'storage.*') are not allowed. For more information see IAM
1116
+ # Overview (https://cloud.google.com/iam/docs/overview#permissions).
1117
+ # Corresponds to the JSON property `permissions`
1118
+ # @return [Array<String>]
1119
+ attr_accessor :permissions
1120
+
1121
+ def initialize(**args)
1122
+ update!(**args)
1123
+ end
1124
+
1125
+ # Update properties of this object
1126
+ def update!(**args)
1127
+ @permissions = args[:permissions] if args.key?(:permissions)
1128
+ end
1129
+ end
1130
+
1131
+ # Response message for TestIamPermissions method.
1132
+ class TestIamPermissionsResponse
1133
+ include Google::Apis::Core::Hashable
1134
+
1135
+ # A subset of TestPermissionsRequest.permissions that the caller is allowed.
1136
+ # Corresponds to the JSON property `permissions`
1137
+ # @return [Array<String>]
1138
+ attr_accessor :permissions
1139
+
1140
+ def initialize(**args)
1141
+ update!(**args)
1142
+ end
1143
+
1144
+ # Update properties of this object
1145
+ def update!(**args)
1146
+ @permissions = args[:permissions] if args.key?(:permissions)
1147
+ end
1148
+ end
1149
+ end
1150
+ end
1151
+ end