google-api-client 0.30.3 → 0.30.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +43 -0
  3. data/generated/google/apis/admin_directory_v1/classes.rb +1 -1
  4. data/generated/google/apis/admin_reports_v1/classes.rb +1 -1
  5. data/generated/google/apis/bigquery_v2.rb +1 -1
  6. data/generated/google/apis/bigquery_v2/classes.rb +22 -7
  7. data/generated/google/apis/bigquery_v2/representations.rb +3 -0
  8. data/generated/google/apis/bigquery_v2/service.rb +4 -2
  9. data/generated/google/apis/calendar_v3.rb +1 -1
  10. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  11. data/generated/google/apis/cloudasset_v1.rb +1 -1
  12. data/generated/google/apis/cloudasset_v1/classes.rb +345 -0
  13. data/generated/google/apis/cloudasset_v1/representations.rb +66 -0
  14. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  15. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -22
  16. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -14
  17. data/generated/google/apis/cloudkms_v1.rb +1 -1
  18. data/generated/google/apis/cloudkms_v1/classes.rb +239 -1
  19. data/generated/google/apis/cloudkms_v1/representations.rb +71 -0
  20. data/generated/google/apis/cloudkms_v1/service.rb +215 -7
  21. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  22. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  23. data/generated/google/apis/compute_alpha.rb +1 -1
  24. data/generated/google/apis/compute_alpha/classes.rb +15 -13
  25. data/generated/google/apis/compute_alpha/service.rb +3 -2
  26. data/generated/google/apis/compute_beta.rb +1 -1
  27. data/generated/google/apis/compute_beta/classes.rb +15 -13
  28. data/generated/google/apis/compute_beta/service.rb +2 -1
  29. data/generated/google/apis/compute_v1.rb +1 -1
  30. data/generated/google/apis/compute_v1/classes.rb +15 -13
  31. data/generated/google/apis/compute_v1/service.rb +2 -1
  32. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  33. data/generated/google/apis/dialogflow_v2.rb +1 -1
  34. data/generated/google/apis/dialogflow_v2/classes.rb +16 -0
  35. data/generated/google/apis/dialogflow_v2/representations.rb +1 -0
  36. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  37. data/generated/google/apis/dialogflow_v2beta1/classes.rb +16 -0
  38. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
  39. data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
  40. data/generated/google/apis/dns_v1.rb +1 -1
  41. data/generated/google/apis/dns_v1/classes.rb +2 -2
  42. data/generated/google/apis/dns_v1/service.rb +1 -1
  43. data/generated/google/apis/dns_v1beta2.rb +1 -1
  44. data/generated/google/apis/dns_v1beta2/classes.rb +6 -7
  45. data/generated/google/apis/dns_v2beta1.rb +1 -1
  46. data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
  47. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  48. data/generated/google/apis/drive_v2.rb +1 -1
  49. data/generated/google/apis/drive_v2/classes.rb +1 -1
  50. data/generated/google/apis/drive_v2/service.rb +1 -1
  51. data/generated/google/apis/drive_v3.rb +1 -1
  52. data/generated/google/apis/drive_v3/classes.rb +1 -1
  53. data/generated/google/apis/drive_v3/service.rb +1 -1
  54. data/generated/google/apis/fcm_v1.rb +1 -1
  55. data/generated/google/apis/fcm_v1/classes.rb +3 -3
  56. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  57. data/generated/google/apis/firebase_v1beta1/classes.rb +117 -24
  58. data/generated/google/apis/firebase_v1beta1/representations.rb +41 -0
  59. data/generated/google/apis/firebase_v1beta1/service.rb +139 -0
  60. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  61. data/generated/google/apis/genomics_v2alpha1/classes.rb +1 -0
  62. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  63. data/generated/google/apis/healthcare_v1alpha2/classes.rb +28 -0
  64. data/generated/google/apis/healthcare_v1alpha2/representations.rb +15 -0
  65. data/generated/google/apis/healthcare_v1alpha2/service.rb +35 -5
  66. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  67. data/generated/google/apis/healthcare_v1beta1/service.rb +28 -4
  68. data/generated/google/apis/jobs_v3.rb +1 -1
  69. data/generated/google/apis/jobs_v3/classes.rb +10 -10
  70. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  71. data/generated/google/apis/jobs_v3p1beta1/classes.rb +34 -98
  72. data/generated/google/apis/monitoring_v3.rb +1 -1
  73. data/generated/google/apis/monitoring_v3/classes.rb +30 -12
  74. data/generated/google/apis/pubsub_v1.rb +1 -1
  75. data/generated/google/apis/pubsub_v1/classes.rb +6 -10
  76. data/generated/google/apis/redis_v1.rb +1 -1
  77. data/generated/google/apis/redis_v1/classes.rb +8 -1
  78. data/generated/google/apis/redis_v1beta1.rb +1 -1
  79. data/generated/google/apis/redis_v1beta1/classes.rb +22 -2
  80. data/generated/google/apis/redis_v1beta1/representations.rb +13 -0
  81. data/generated/google/apis/redis_v1beta1/service.rb +36 -0
  82. data/generated/google/apis/run_v1alpha1.rb +1 -1
  83. data/generated/google/apis/run_v1alpha1/classes.rb +32 -4
  84. data/generated/google/apis/run_v1alpha1/representations.rb +3 -0
  85. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  86. data/generated/google/apis/sourcerepo_v1/classes.rb +48 -75
  87. data/generated/google/apis/sourcerepo_v1/representations.rb +16 -0
  88. data/generated/google/apis/speech_v1.rb +1 -1
  89. data/generated/google/apis/speech_v1/service.rb +0 -32
  90. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  91. data/generated/google/apis/speech_v1p1beta1/service.rb +0 -32
  92. data/generated/google/apis/storage_v1.rb +1 -1
  93. data/generated/google/apis/storage_v1/classes.rb +41 -6
  94. data/generated/google/apis/storage_v1/representations.rb +17 -0
  95. data/generated/google/apis/storage_v1beta2.rb +1 -1
  96. data/generated/google/apis/storage_v1beta2/classes.rb +1 -1
  97. data/generated/google/apis/texttospeech_v1.rb +1 -1
  98. data/generated/google/apis/texttospeech_v1/classes.rb +3 -3
  99. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  100. data/generated/google/apis/texttospeech_v1beta1/classes.rb +3 -3
  101. data/generated/google/apis/vault_v1.rb +1 -1
  102. data/generated/google/apis/vault_v1/classes.rb +8 -74
  103. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  104. data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -35
  105. data/generated/google/apis/websecurityscanner_v1.rb +31 -0
  106. data/generated/google/apis/websecurityscanner_v1/classes.rb +26 -0
  107. data/generated/google/apis/websecurityscanner_v1/representations.rb +26 -0
  108. data/generated/google/apis/websecurityscanner_v1/service.rb +59 -0
  109. data/lib/google/apis/version.rb +1 -1
  110. metadata +6 -2
@@ -709,6 +709,145 @@ module Google
709
709
  execute_or_queue_command(command, &block)
710
710
  end
711
711
 
712
+ # Returns a list of valid Google Cloud Platform (GCP) resource locations for
713
+ # the specified Project (including a FirebaseProject).
714
+ # <br>
715
+ # <br>The default GCP resource location of a project defines the geographical
716
+ # location where project resources, such as Cloud Firestore, will be
717
+ # provisioned by default.
718
+ # <br>
719
+ # <br>The returned list are the available
720
+ # [GCP resource
721
+ # locations](https://firebase.google.com/docs/projects/locations). <br>
722
+ # <br>This call checks for any location restrictions for the specified
723
+ # Project and, thus, might return a subset of all possible GCP resource
724
+ # locations. To list all GCP resource locations (regardless of any
725
+ # restrictions), call the endpoint without specifying a `projectId` (that is,
726
+ # `/v1beta1/`parent=projects/-`/listAvailableLocations`).
727
+ # <br>
728
+ # <br>To call `ListAvailableLocations` with a specified project, a member
729
+ # must be at minimum a Viewer of the project. Calls without a specified
730
+ # project do not require any specific project permissions.
731
+ # @param [String] parent
732
+ # The Project for which to list GCP resource locations, in the format:
733
+ # <br><code>projects/<var>projectId</var></code>
734
+ # <br>If no project is specified (that is, `projects/-`), the returned list
735
+ # does not take into account org-specific or project-specific location
736
+ # restrictions.
737
+ # @param [Fixnum] page_size
738
+ # The maximum number of locations to return in the response.
739
+ # <br>
740
+ # <br>The server may return fewer than this value at its discretion.
741
+ # If no value is specified (or too large a value is specified), then the
742
+ # server will impose its own limit.
743
+ # <br>
744
+ # <br>This value cannot be negative.
745
+ # @param [String] page_token
746
+ # Token returned from a previous call to `ListAvailableLocations` indicating
747
+ # where in the list of locations to resume listing.
748
+ # @param [String] fields
749
+ # Selector specifying which fields to include in a partial response.
750
+ # @param [String] quota_user
751
+ # Available to use for quota purposes for server-side applications. Can be any
752
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
753
+ # @param [Google::Apis::RequestOptions] options
754
+ # Request-specific options
755
+ #
756
+ # @yield [result, err] Result & error if block supplied
757
+ # @yieldparam result [Google::Apis::FirebaseV1beta1::ListAvailableLocationsResponse] parsed result object
758
+ # @yieldparam err [StandardError] error object if request failed
759
+ #
760
+ # @return [Google::Apis::FirebaseV1beta1::ListAvailableLocationsResponse]
761
+ #
762
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
763
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
764
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
765
+ def list_project_available_locations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
766
+ command = make_simple_command(:get, 'v1beta1/{+parent}/availableLocations', options)
767
+ command.response_representation = Google::Apis::FirebaseV1beta1::ListAvailableLocationsResponse::Representation
768
+ command.response_class = Google::Apis::FirebaseV1beta1::ListAvailableLocationsResponse
769
+ command.params['parent'] = parent unless parent.nil?
770
+ command.query['pageSize'] = page_size unless page_size.nil?
771
+ command.query['pageToken'] = page_token unless page_token.nil?
772
+ command.query['fields'] = fields unless fields.nil?
773
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
774
+ execute_or_queue_command(command, &block)
775
+ end
776
+
777
+ # Sets the default Google Cloud Platform (GCP) resource location for the
778
+ # specified FirebaseProject.
779
+ # <br>
780
+ # <br>This method creates an App Engine application with a
781
+ # [default Cloud Storage
782
+ # bucket](https://cloud.google.com/appengine/docs/standard/python/
783
+ # googlecloudstorageclient/setting-up-cloud-storage#
784
+ # activating_a_cloud_storage_bucket),
785
+ # located in the specified
786
+ # [`location_id`](#body.request_body.FIELDS.location_id).
787
+ # This location must be one of the available
788
+ # [GCP resource
789
+ # locations](https://firebase.google.com/docs/projects/locations). <br>
790
+ # <br>After the default GCP resource location is finalized, or if it was
791
+ # already set, it cannot be changed. The default GCP resource location for
792
+ # the specified FirebaseProject might already be set because either the
793
+ # GCP `Project` already has an App Engine application or
794
+ # `FinalizeDefaultLocation` was previously called with a specified
795
+ # `location_id`. Any new calls to `FinalizeDefaultLocation` with a
796
+ # <em>different</em> specified `location_id` will return a 409 error.
797
+ # <br>
798
+ # <br>The result of this call is an [`Operation`](../../v1beta1/operations),
799
+ # which can be used to track the provisioning process. The
800
+ # [`response`](../../v1beta1/operations#Operation.FIELDS.response) type of
801
+ # the `Operation` is google.protobuf.Empty.
802
+ # <br>
803
+ # <br>The `Operation` can be polled by its `name` using
804
+ # GetOperation until `done` is
805
+ # true. When `done` is true, the `Operation` has either succeeded or failed.
806
+ # If the `Operation` has succeeded, its
807
+ # [`response`](../../v1beta1/operations#Operation.FIELDS.response) will be
808
+ # set to a google.protobuf.Empty; if the `Operation` has failed, its
809
+ # `error` will be set to a google.rpc.Status. The `Operation` is
810
+ # automatically deleted after completion, so there is no need to call
811
+ # DeleteOperation.
812
+ # <br>
813
+ # <br>All fields listed in the [request body](#request-body) are required.
814
+ # <br>
815
+ # <br>To call `FinalizeDefaultLocation`, a member must be an Owner
816
+ # of the project.
817
+ # @param [String] parent
818
+ # The resource name of the Project for which the default GCP resource
819
+ # location will be set, in the format:
820
+ # <br><code>projects/<var>projectId</var></code>
821
+ # @param [Google::Apis::FirebaseV1beta1::FinalizeDefaultLocationRequest] finalize_default_location_request_object
822
+ # @param [String] fields
823
+ # Selector specifying which fields to include in a partial response.
824
+ # @param [String] quota_user
825
+ # Available to use for quota purposes for server-side applications. Can be any
826
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
827
+ # @param [Google::Apis::RequestOptions] options
828
+ # Request-specific options
829
+ #
830
+ # @yield [result, err] Result & error if block supplied
831
+ # @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object
832
+ # @yieldparam err [StandardError] error object if request failed
833
+ #
834
+ # @return [Google::Apis::FirebaseV1beta1::Operation]
835
+ #
836
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
837
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
838
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
839
+ def finalize_default_location(parent, finalize_default_location_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
840
+ command = make_simple_command(:post, 'v1beta1/{+parent}/defaultLocation:finalize', options)
841
+ command.request_representation = Google::Apis::FirebaseV1beta1::FinalizeDefaultLocationRequest::Representation
842
+ command.request_object = finalize_default_location_request_object
843
+ command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation
844
+ command.response_class = Google::Apis::FirebaseV1beta1::Operation
845
+ command.params['parent'] = parent unless parent.nil?
846
+ command.query['fields'] = fields unless fields.nil?
847
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
848
+ execute_or_queue_command(command, &block)
849
+ end
850
+
712
851
  # Requests that a new IosApp be created.
713
852
  # <br>
714
853
  # <br>The result of this call is an `Operation` which can be used to track
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/genomics
26
26
  module GenomicsV2alpha1
27
27
  VERSION = 'V2alpha1'
28
- REVISION = '20190606'
28
+ REVISION = '20190626'
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'
@@ -1267,6 +1267,7 @@ module Google
1267
1267
  # Optional set of labels to apply to the VM and any attached disk resources.
1268
1268
  # These labels must adhere to the name and value restrictions on VM labels
1269
1269
  # imposed by Compute Engine.
1270
+ # Labels keys with the prefix 'google-' are reserved for use by Google.
1270
1271
  # Labels applied at creation time to the VM. Applied on a best-effort basis
1271
1272
  # to attached disk resources shortly after VM creation.
1272
1273
  # Corresponds to the JSON property `labels`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/healthcare
26
26
  module HealthcareV1alpha2
27
27
  VERSION = 'V1alpha2'
28
- REVISION = '20190615'
28
+ REVISION = '20190626'
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'
@@ -1037,12 +1037,40 @@ module Google
1037
1037
  class GetIamPolicyRequest
1038
1038
  include Google::Apis::Core::Hashable
1039
1039
 
1040
+ # Encapsulates settings provided to GetIamPolicy.
1041
+ # Corresponds to the JSON property `options`
1042
+ # @return [Google::Apis::HealthcareV1alpha2::GetPolicyOptions]
1043
+ attr_accessor :options
1044
+
1045
+ def initialize(**args)
1046
+ update!(**args)
1047
+ end
1048
+
1049
+ # Update properties of this object
1050
+ def update!(**args)
1051
+ @options = args[:options] if args.key?(:options)
1052
+ end
1053
+ end
1054
+
1055
+ # Encapsulates settings provided to GetIamPolicy.
1056
+ class GetPolicyOptions
1057
+ include Google::Apis::Core::Hashable
1058
+
1059
+ # Optional. The policy format version to be returned.
1060
+ # Acceptable values are 0 and 1.
1061
+ # If the value is 0, or the field is omitted, policy format version 1 will be
1062
+ # returned.
1063
+ # Corresponds to the JSON property `requestedPolicyVersion`
1064
+ # @return [Fixnum]
1065
+ attr_accessor :requested_policy_version
1066
+
1040
1067
  def initialize(**args)
1041
1068
  update!(**args)
1042
1069
  end
1043
1070
 
1044
1071
  # Update properties of this object
1045
1072
  def update!(**args)
1073
+ @requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
1046
1074
  end
1047
1075
  end
1048
1076
 
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class GetPolicyOptions
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class GoogleCloudHealthcareV1alpha2DicomBigQueryDestination
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -796,6 +802,15 @@ module Google
796
802
  class GetIamPolicyRequest
797
803
  # @private
798
804
  class Representation < Google::Apis::Core::JsonRepresentation
805
+ property :options, as: 'options', class: Google::Apis::HealthcareV1alpha2::GetPolicyOptions, decorator: Google::Apis::HealthcareV1alpha2::GetPolicyOptions::Representation
806
+
807
+ end
808
+ end
809
+
810
+ class GetPolicyOptions
811
+ # @private
812
+ class Representation < Google::Apis::Core::JsonRepresentation
813
+ property :requested_policy_version, as: 'requestedPolicyVersion'
799
814
  end
800
815
  end
801
816
 
@@ -272,6 +272,11 @@ module Google
272
272
  # @param [String] resource
273
273
  # REQUIRED: The resource for which the policy is being requested.
274
274
  # See the operation documentation for the appropriate value for this field.
275
+ # @param [Fixnum] options_requested_policy_version
276
+ # Optional. The policy format version to be returned.
277
+ # Acceptable values are 0 and 1.
278
+ # If the value is 0, or the field is omitted, policy format version 1 will be
279
+ # returned.
275
280
  # @param [String] fields
276
281
  # Selector specifying which fields to include in a partial response.
277
282
  # @param [String] quota_user
@@ -289,11 +294,12 @@ module Google
289
294
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
290
295
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
291
296
  # @raise [Google::Apis::AuthorizationError] Authorization is required
292
- def get_project_location_dataset_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
297
+ def get_project_location_dataset_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
293
298
  command = make_simple_command(:get, 'v1alpha2/{+resource}:getIamPolicy', options)
294
299
  command.response_representation = Google::Apis::HealthcareV1alpha2::Policy::Representation
295
300
  command.response_class = Google::Apis::HealthcareV1alpha2::Policy
296
301
  command.params['resource'] = resource unless resource.nil?
302
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
297
303
  command.query['fields'] = fields unless fields.nil?
298
304
  command.query['quotaUser'] = quota_user unless quota_user.nil?
299
305
  execute_or_queue_command(command, &block)
@@ -1072,6 +1078,11 @@ module Google
1072
1078
  # @param [String] resource
1073
1079
  # REQUIRED: The resource for which the policy is being requested.
1074
1080
  # See the operation documentation for the appropriate value for this field.
1081
+ # @param [Fixnum] options_requested_policy_version
1082
+ # Optional. The policy format version to be returned.
1083
+ # Acceptable values are 0 and 1.
1084
+ # If the value is 0, or the field is omitted, policy format version 1 will be
1085
+ # returned.
1075
1086
  # @param [String] fields
1076
1087
  # Selector specifying which fields to include in a partial response.
1077
1088
  # @param [String] quota_user
@@ -1089,11 +1100,12 @@ module Google
1089
1100
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1090
1101
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1091
1102
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1092
- def get_project_location_dataset_dicom_store_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
1103
+ def get_project_location_dataset_dicom_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1093
1104
  command = make_simple_command(:get, 'v1alpha2/{+resource}:getIamPolicy', options)
1094
1105
  command.response_representation = Google::Apis::HealthcareV1alpha2::Policy::Representation
1095
1106
  command.response_class = Google::Apis::HealthcareV1alpha2::Policy
1096
1107
  command.params['resource'] = resource unless resource.nil?
1108
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1097
1109
  command.query['fields'] = fields unless fields.nil?
1098
1110
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1099
1111
  execute_or_queue_command(command, &block)
@@ -2249,6 +2261,11 @@ module Google
2249
2261
  # @param [String] resource
2250
2262
  # REQUIRED: The resource for which the policy is being requested.
2251
2263
  # See the operation documentation for the appropriate value for this field.
2264
+ # @param [Fixnum] options_requested_policy_version
2265
+ # Optional. The policy format version to be returned.
2266
+ # Acceptable values are 0 and 1.
2267
+ # If the value is 0, or the field is omitted, policy format version 1 will be
2268
+ # returned.
2252
2269
  # @param [String] fields
2253
2270
  # Selector specifying which fields to include in a partial response.
2254
2271
  # @param [String] quota_user
@@ -2266,11 +2283,12 @@ module Google
2266
2283
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2267
2284
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2268
2285
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2269
- def get_project_location_dataset_fhir_store_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
2286
+ def get_project_location_dataset_fhir_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2270
2287
  command = make_simple_command(:get, 'v1alpha2/{+resource}:getIamPolicy', options)
2271
2288
  command.response_representation = Google::Apis::HealthcareV1alpha2::Policy::Representation
2272
2289
  command.response_class = Google::Apis::HealthcareV1alpha2::Policy
2273
2290
  command.params['resource'] = resource unless resource.nil?
2291
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2274
2292
  command.query['fields'] = fields unless fields.nil?
2275
2293
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2276
2294
  execute_or_queue_command(command, &block)
@@ -3285,6 +3303,11 @@ module Google
3285
3303
  # @param [String] resource
3286
3304
  # REQUIRED: The resource for which the policy is being requested.
3287
3305
  # See the operation documentation for the appropriate value for this field.
3306
+ # @param [Fixnum] options_requested_policy_version
3307
+ # Optional. The policy format version to be returned.
3308
+ # Acceptable values are 0 and 1.
3309
+ # If the value is 0, or the field is omitted, policy format version 1 will be
3310
+ # returned.
3288
3311
  # @param [String] fields
3289
3312
  # Selector specifying which fields to include in a partial response.
3290
3313
  # @param [String] quota_user
@@ -3302,11 +3325,12 @@ module Google
3302
3325
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3303
3326
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3304
3327
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3305
- def get_project_location_dataset_fhir_store_security_label_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
3328
+ def get_project_location_dataset_fhir_store_security_label_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
3306
3329
  command = make_simple_command(:get, 'v1alpha2/{+resource}:getIamPolicy', options)
3307
3330
  command.response_representation = Google::Apis::HealthcareV1alpha2::Policy::Representation
3308
3331
  command.response_class = Google::Apis::HealthcareV1alpha2::Policy
3309
3332
  command.params['resource'] = resource unless resource.nil?
3333
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
3310
3334
  command.query['fields'] = fields unless fields.nil?
3311
3335
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3312
3336
  execute_or_queue_command(command, &block)
@@ -3454,6 +3478,11 @@ module Google
3454
3478
  # @param [String] resource
3455
3479
  # REQUIRED: The resource for which the policy is being requested.
3456
3480
  # See the operation documentation for the appropriate value for this field.
3481
+ # @param [Fixnum] options_requested_policy_version
3482
+ # Optional. The policy format version to be returned.
3483
+ # Acceptable values are 0 and 1.
3484
+ # If the value is 0, or the field is omitted, policy format version 1 will be
3485
+ # returned.
3457
3486
  # @param [String] fields
3458
3487
  # Selector specifying which fields to include in a partial response.
3459
3488
  # @param [String] quota_user
@@ -3471,11 +3500,12 @@ module Google
3471
3500
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3472
3501
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3473
3502
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3474
- def get_project_location_dataset_hl7_v2_store_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
3503
+ def get_project_location_dataset_hl7_v2_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
3475
3504
  command = make_simple_command(:get, 'v1alpha2/{+resource}:getIamPolicy', options)
3476
3505
  command.response_representation = Google::Apis::HealthcareV1alpha2::Policy::Representation
3477
3506
  command.response_class = Google::Apis::HealthcareV1alpha2::Policy
3478
3507
  command.params['resource'] = resource unless resource.nil?
3508
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
3479
3509
  command.query['fields'] = fields unless fields.nil?
3480
3510
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3481
3511
  execute_or_queue_command(command, &block)
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/healthcare
26
26
  module HealthcareV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190615'
28
+ REVISION = '20190626'
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'
@@ -272,6 +272,11 @@ module Google
272
272
  # @param [String] resource
273
273
  # REQUIRED: The resource for which the policy is being requested.
274
274
  # See the operation documentation for the appropriate value for this field.
275
+ # @param [Fixnum] options_requested_policy_version
276
+ # Optional. The policy format version to be returned.
277
+ # Acceptable values are 0 and 1.
278
+ # If the value is 0, or the field is omitted, policy format version 1 will be
279
+ # returned.
275
280
  # @param [String] fields
276
281
  # Selector specifying which fields to include in a partial response.
277
282
  # @param [String] quota_user
@@ -289,11 +294,12 @@ module Google
289
294
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
290
295
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
291
296
  # @raise [Google::Apis::AuthorizationError] Authorization is required
292
- def get_project_location_dataset_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
297
+ def get_project_location_dataset_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
293
298
  command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
294
299
  command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
295
300
  command.response_class = Google::Apis::HealthcareV1beta1::Policy
296
301
  command.params['resource'] = resource unless resource.nil?
302
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
297
303
  command.query['fields'] = fields unless fields.nil?
298
304
  command.query['quotaUser'] = quota_user unless quota_user.nil?
299
305
  execute_or_queue_command(command, &block)
@@ -593,6 +599,11 @@ module Google
593
599
  # @param [String] resource
594
600
  # REQUIRED: The resource for which the policy is being requested.
595
601
  # See the operation documentation for the appropriate value for this field.
602
+ # @param [Fixnum] options_requested_policy_version
603
+ # Optional. The policy format version to be returned.
604
+ # Acceptable values are 0 and 1.
605
+ # If the value is 0, or the field is omitted, policy format version 1 will be
606
+ # returned.
596
607
  # @param [String] fields
597
608
  # Selector specifying which fields to include in a partial response.
598
609
  # @param [String] quota_user
@@ -610,11 +621,12 @@ module Google
610
621
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
611
622
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
612
623
  # @raise [Google::Apis::AuthorizationError] Authorization is required
613
- def get_project_location_dataset_dicom_store_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
624
+ def get_project_location_dataset_dicom_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
614
625
  command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
615
626
  command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
616
627
  command.response_class = Google::Apis::HealthcareV1beta1::Policy
617
628
  command.params['resource'] = resource unless resource.nil?
629
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
618
630
  command.query['fields'] = fields unless fields.nil?
619
631
  command.query['quotaUser'] = quota_user unless quota_user.nil?
620
632
  execute_or_queue_command(command, &block)
@@ -1728,6 +1740,11 @@ module Google
1728
1740
  # @param [String] resource
1729
1741
  # REQUIRED: The resource for which the policy is being requested.
1730
1742
  # See the operation documentation for the appropriate value for this field.
1743
+ # @param [Fixnum] options_requested_policy_version
1744
+ # Optional. The policy format version to be returned.
1745
+ # Acceptable values are 0 and 1.
1746
+ # If the value is 0, or the field is omitted, policy format version 1 will be
1747
+ # returned.
1731
1748
  # @param [String] fields
1732
1749
  # Selector specifying which fields to include in a partial response.
1733
1750
  # @param [String] quota_user
@@ -1745,11 +1762,12 @@ module Google
1745
1762
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1746
1763
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1747
1764
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1748
- def get_project_location_dataset_fhir_store_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
1765
+ def get_project_location_dataset_fhir_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1749
1766
  command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
1750
1767
  command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
1751
1768
  command.response_class = Google::Apis::HealthcareV1beta1::Policy
1752
1769
  command.params['resource'] = resource unless resource.nil?
1770
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1753
1771
  command.query['fields'] = fields unless fields.nil?
1754
1772
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1755
1773
  execute_or_queue_command(command, &block)
@@ -2858,6 +2876,11 @@ module Google
2858
2876
  # @param [String] resource
2859
2877
  # REQUIRED: The resource for which the policy is being requested.
2860
2878
  # See the operation documentation for the appropriate value for this field.
2879
+ # @param [Fixnum] options_requested_policy_version
2880
+ # Optional. The policy format version to be returned.
2881
+ # Acceptable values are 0 and 1.
2882
+ # If the value is 0, or the field is omitted, policy format version 1 will be
2883
+ # returned.
2861
2884
  # @param [String] fields
2862
2885
  # Selector specifying which fields to include in a partial response.
2863
2886
  # @param [String] quota_user
@@ -2875,11 +2898,12 @@ module Google
2875
2898
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2876
2899
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2877
2900
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2878
- def get_project_location_dataset_hl7_v2_store_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
2901
+ def get_project_location_dataset_hl7_v2_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2879
2902
  command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
2880
2903
  command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
2881
2904
  command.response_class = Google::Apis::HealthcareV1beta1::Policy
2882
2905
  command.params['resource'] = resource unless resource.nil?
2906
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2883
2907
  command.query['fields'] = fields unless fields.nil?
2884
2908
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2885
2909
  execute_or_queue_command(command, &block)