google-api-client 0.36.2 → 0.36.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72abd264f0279c3c32f29cdca91379bc289738ac517311ff95f200a81905e3b7
4
- data.tar.gz: c2d92e25eb32c4bc834e2489132b3e6badb88e7019f5ea7f085634bb8c6979eb
3
+ metadata.gz: ac8abfef0889e726c91049f01c73e9c4cf4fa951525dbd1c25ffd3d494fc2fdf
4
+ data.tar.gz: 92adeb71a76d3bea7d1288163f9f73db07326f81945e6f900ae3906d466afa97
5
5
  SHA512:
6
- metadata.gz: 76892ddc859c0a570b8bee0250cc186a03ad20274fe3686f181a88845d6d887e1655f589cfd9c36ddcba4786f984081863e995be30fec783ad9d24558c7da09d
7
- data.tar.gz: bb865b8246eab864f9e8fedf817b873a3fb94fdd4c069e7fa6b30b78f0b9fd815436a3755db36c64b401e253d8a7197d3be6d65e0d45079a8cf662c1a6065895
6
+ metadata.gz: d42f7495bf35537127efd1c7733698d60d925963354c3bc5140d8fb0833f50b399c610ef0d0779a12953510a833f412ff7ec013264a30f86310c33df5d9f0598
7
+ data.tar.gz: cd75b418c1e2143cfbc925c1f300a235e82a686ead51d97a11bee771f7eae82b72d4dda1021f6cfaf0cd43a900946b6afb803eeb26737d2d832fa7959546bfb1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 0.36.3
2
+ * Backwards compatible changes:
3
+ * Updated `healthcare_v1beta1`
4
+ * Updated `sql_v1beta4`
5
+
1
6
  # 0.36.2
2
7
  * Backwards compatible changes:
3
8
  * Added `cloudbuild_v1alpha1`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/healthcare
26
26
  module HealthcareV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20191121'
28
+ REVISION = '20191213'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -162,6 +162,23 @@ module Google
162
162
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
163
163
  # * `group:`emailid``: An email address that represents a Google group.
164
164
  # For example, `admins@example.com`.
165
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
166
+ # identifier) representing a user that has been recently deleted. For
167
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
168
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
169
+ # retains the role in the binding.
170
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
171
+ # unique identifier) representing a service account that has been recently
172
+ # deleted. For example,
173
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
174
+ # If the service account is undeleted, this value reverts to
175
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
176
+ # role in the binding.
177
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
178
+ # identifier) representing a Google group that has been recently
179
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
180
+ # the group is recovered, this value reverts to `group:`emailid`` and the
181
+ # recovered group retains the role in the binding.
165
182
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
166
183
  # users of that domain. For example, `google.com` or `example.com`.
167
184
  # Corresponds to the JSON property `members`
@@ -912,6 +929,14 @@ module Google
912
929
  # @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
913
930
  attr_accessor :notification_config
914
931
 
932
+ # The FHIR specification version that this FHIR store supports natively. This
933
+ # field is immutable after store creation. Requests are rejected if they
934
+ # contain FHIR resources of a different version.
935
+ # An empty value is treated as STU3.
936
+ # Corresponds to the JSON property `version`
937
+ # @return [String]
938
+ attr_accessor :version
939
+
915
940
  def initialize(**args)
916
941
  update!(**args)
917
942
  end
@@ -924,6 +949,7 @@ module Google
924
949
  @labels = args[:labels] if args.key?(:labels)
925
950
  @name = args[:name] if args.key?(:name)
926
951
  @notification_config = args[:notification_config] if args.key?(:notification_config)
952
+ @version = args[:version] if args.key?(:version)
927
953
  end
928
954
  end
929
955
 
@@ -2177,16 +2203,18 @@ module Google
2177
2203
  end
2178
2204
  end
2179
2205
 
2180
- # Defines an Identity and Access Management (IAM) policy. It is used to
2181
- # specify access control policies for Cloud Platform resources.
2206
+ # An Identity and Access Management (IAM) policy, which specifies access
2207
+ # controls for Google Cloud resources.
2182
2208
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2183
2209
  # `members` to a single `role`. Members can be user accounts, service accounts,
2184
2210
  # Google groups, and domains (such as G Suite). A `role` is a named list of
2185
- # permissions (defined by IAM or configured by users). A `binding` can
2186
- # optionally specify a `condition`, which is a logic expression that further
2187
- # constrains the role binding based on attributes about the request and/or
2188
- # target resource.
2189
- # **JSON Example**
2211
+ # permissions; each `role` can be an IAM predefined role or a user-created
2212
+ # custom role.
2213
+ # Optionally, a `binding` can specify a `condition`, which is a logical
2214
+ # expression that allows access to a resource only if the expression evaluates
2215
+ # to `true`. A condition can add constraints based on attributes of the
2216
+ # request, the resource, or both.
2217
+ # **JSON example:**
2190
2218
  # `
2191
2219
  # "bindings": [
2192
2220
  # `
@@ -2204,13 +2232,15 @@ module Google
2204
2232
  # "condition": `
2205
2233
  # "title": "expirable access",
2206
2234
  # "description": "Does not grant access after Sep 2020",
2207
- # "expression": "request.time <
2208
- # timestamp('2020-10-01T00:00:00.000Z')",
2235
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
2236
+ # ",
2209
2237
  # `
2210
2238
  # `
2211
- # ]
2239
+ # ],
2240
+ # "etag": "BwWWja0YfJA=",
2241
+ # "version": 3
2212
2242
  # `
2213
- # **YAML Example**
2243
+ # **YAML example:**
2214
2244
  # bindings:
2215
2245
  # - members:
2216
2246
  # - user:mike@example.com
@@ -2225,8 +2255,10 @@ module Google
2225
2255
  # title: expirable access
2226
2256
  # description: Does not grant access after Sep 2020
2227
2257
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2258
+ # - etag: BwWWja0YfJA=
2259
+ # - version: 3
2228
2260
  # For a description of IAM and its features, see the
2229
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
2261
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
2230
2262
  class Policy
2231
2263
  include Google::Apis::Core::Hashable
2232
2264
 
@@ -2235,9 +2267,9 @@ module Google
2235
2267
  # @return [Array<Google::Apis::HealthcareV1beta1::AuditConfig>]
2236
2268
  attr_accessor :audit_configs
2237
2269
 
2238
- # Associates a list of `members` to a `role`. Optionally may specify a
2239
- # `condition` that determines when binding is in effect.
2240
- # `bindings` with no members will result in an error.
2270
+ # Associates a list of `members` to a `role`. Optionally, may specify a
2271
+ # `condition` that determines how and when the `bindings` are applied. Each
2272
+ # of the `bindings` must contain at least one member.
2241
2273
  # Corresponds to the JSON property `bindings`
2242
2274
  # @return [Array<Google::Apis::HealthcareV1beta1::Binding>]
2243
2275
  attr_accessor :bindings
@@ -2249,26 +2281,31 @@ module Google
2249
2281
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
2250
2282
  # systems are expected to put that etag in the request to `setIamPolicy` to
2251
2283
  # ensure that their change will be applied to the same version of the policy.
2252
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
2253
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
2254
- # 'setIamPolicy' will not fail even if the incoming policy version does not
2255
- # meet the requirements for modifying the stored policy.
2284
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
2285
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
2286
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
2287
+ # the conditions in the version `3` policy are lost.
2256
2288
  # Corresponds to the JSON property `etag`
2257
2289
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2258
2290
  # @return [String]
2259
2291
  attr_accessor :etag
2260
2292
 
2261
2293
  # Specifies the format of the policy.
2262
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2263
- # rejected.
2264
- # Operations affecting conditional bindings must specify version 3. This can
2265
- # be either setting a conditional policy, modifying a conditional binding,
2266
- # or removing a binding (conditional or unconditional) from the stored
2267
- # conditional policy.
2268
- # Operations on non-conditional policies may specify any valid value or
2269
- # leave the field unset.
2270
- # If no etag is provided in the call to `setIamPolicy`, version compliance
2271
- # checks against the stored policy is skipped.
2294
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
2295
+ # are rejected.
2296
+ # Any operation that affects conditional role bindings must specify version
2297
+ # `3`. This requirement applies to the following operations:
2298
+ # * Getting a policy that includes a conditional role binding
2299
+ # * Adding a conditional role binding to a policy
2300
+ # * Changing a conditional role binding in a policy
2301
+ # * Removing any role binding, with or without a condition, from a policy
2302
+ # that includes conditions
2303
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
2304
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
2305
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
2306
+ # the conditions in the version `3` policy are lost.
2307
+ # If a policy does not include any conditions, operations on that policy may
2308
+ # specify any valid version or leave the field unset.
2272
2309
  # Corresponds to the JSON property `version`
2273
2310
  # @return [Fixnum]
2274
2311
  attr_accessor :version
@@ -2402,8 +2439,9 @@ module Google
2402
2439
  include Google::Apis::Core::Hashable
2403
2440
 
2404
2441
  # The FHIR resource type to search, such as Patient or Observation. For a
2405
- # complete list, see the [FHIR Resource
2406
- # Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
2442
+ # complete list, see the FHIR Resource Index
2443
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2444
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
2407
2445
  # Corresponds to the JSON property `resourceType`
2408
2446
  # @return [String]
2409
2447
  attr_accessor :resource_type
@@ -2465,16 +2503,18 @@ module Google
2465
2503
  class SetIamPolicyRequest
2466
2504
  include Google::Apis::Core::Hashable
2467
2505
 
2468
- # Defines an Identity and Access Management (IAM) policy. It is used to
2469
- # specify access control policies for Cloud Platform resources.
2506
+ # An Identity and Access Management (IAM) policy, which specifies access
2507
+ # controls for Google Cloud resources.
2470
2508
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2471
2509
  # `members` to a single `role`. Members can be user accounts, service accounts,
2472
2510
  # Google groups, and domains (such as G Suite). A `role` is a named list of
2473
- # permissions (defined by IAM or configured by users). A `binding` can
2474
- # optionally specify a `condition`, which is a logic expression that further
2475
- # constrains the role binding based on attributes about the request and/or
2476
- # target resource.
2477
- # **JSON Example**
2511
+ # permissions; each `role` can be an IAM predefined role or a user-created
2512
+ # custom role.
2513
+ # Optionally, a `binding` can specify a `condition`, which is a logical
2514
+ # expression that allows access to a resource only if the expression evaluates
2515
+ # to `true`. A condition can add constraints based on attributes of the
2516
+ # request, the resource, or both.
2517
+ # **JSON example:**
2478
2518
  # `
2479
2519
  # "bindings": [
2480
2520
  # `
@@ -2492,13 +2532,15 @@ module Google
2492
2532
  # "condition": `
2493
2533
  # "title": "expirable access",
2494
2534
  # "description": "Does not grant access after Sep 2020",
2495
- # "expression": "request.time <
2496
- # timestamp('2020-10-01T00:00:00.000Z')",
2535
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
2536
+ # ",
2497
2537
  # `
2498
2538
  # `
2499
- # ]
2539
+ # ],
2540
+ # "etag": "BwWWja0YfJA=",
2541
+ # "version": 3
2500
2542
  # `
2501
- # **YAML Example**
2543
+ # **YAML example:**
2502
2544
  # bindings:
2503
2545
  # - members:
2504
2546
  # - user:mike@example.com
@@ -2513,8 +2555,10 @@ module Google
2513
2555
  # title: expirable access
2514
2556
  # description: Does not grant access after Sep 2020
2515
2557
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2558
+ # - etag: BwWWja0YfJA=
2559
+ # - version: 3
2516
2560
  # For a description of IAM and its features, see the
2517
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
2561
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
2518
2562
  # Corresponds to the JSON property `policy`
2519
2563
  # @return [Google::Apis::HealthcareV1beta1::Policy]
2520
2564
  attr_accessor :policy
@@ -706,6 +706,7 @@ module Google
706
706
  property :name, as: 'name'
707
707
  property :notification_config, as: 'notificationConfig', class: Google::Apis::HealthcareV1beta1::NotificationConfig, decorator: Google::Apis::HealthcareV1beta1::NotificationConfig::Representation
708
708
 
709
+ property :version, as: 'version'
709
710
  end
710
711
  end
711
712
 
@@ -463,6 +463,122 @@ module Google
463
463
  execute_or_queue_command(command, &block)
464
464
  end
465
465
 
466
+ # Gets the access control policy for a resource.
467
+ # Returns an empty policy if the resource exists and does not have a policy
468
+ # set.
469
+ # @param [String] resource
470
+ # REQUIRED: The resource for which the policy is being requested.
471
+ # See the operation documentation for the appropriate value for this field.
472
+ # @param [Fixnum] options_requested_policy_version
473
+ # Optional. The policy format version to be returned.
474
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
475
+ # rejected.
476
+ # Requests for policies with any conditional bindings must specify version 3.
477
+ # Policies without any conditional bindings may specify any valid value or
478
+ # leave the field unset.
479
+ # @param [String] fields
480
+ # Selector specifying which fields to include in a partial response.
481
+ # @param [String] quota_user
482
+ # Available to use for quota purposes for server-side applications. Can be any
483
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
484
+ # @param [Google::Apis::RequestOptions] options
485
+ # Request-specific options
486
+ #
487
+ # @yield [result, err] Result & error if block supplied
488
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
489
+ # @yieldparam err [StandardError] error object if request failed
490
+ #
491
+ # @return [Google::Apis::HealthcareV1beta1::Policy]
492
+ #
493
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
494
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
495
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
496
+ def get_project_location_dataset_annotation_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
497
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
498
+ command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
499
+ command.response_class = Google::Apis::HealthcareV1beta1::Policy
500
+ command.params['resource'] = resource unless resource.nil?
501
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
502
+ command.query['fields'] = fields unless fields.nil?
503
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
504
+ execute_or_queue_command(command, &block)
505
+ end
506
+
507
+ # Sets the access control policy on the specified resource. Replaces any
508
+ # existing policy.
509
+ # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
510
+ # @param [String] resource
511
+ # REQUIRED: The resource for which the policy is being specified.
512
+ # See the operation documentation for the appropriate value for this field.
513
+ # @param [Google::Apis::HealthcareV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
514
+ # @param [String] fields
515
+ # Selector specifying which fields to include in a partial response.
516
+ # @param [String] quota_user
517
+ # Available to use for quota purposes for server-side applications. Can be any
518
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
519
+ # @param [Google::Apis::RequestOptions] options
520
+ # Request-specific options
521
+ #
522
+ # @yield [result, err] Result & error if block supplied
523
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
524
+ # @yieldparam err [StandardError] error object if request failed
525
+ #
526
+ # @return [Google::Apis::HealthcareV1beta1::Policy]
527
+ #
528
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
529
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
530
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
531
+ def set_annotation_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
532
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
533
+ command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation
534
+ command.request_object = set_iam_policy_request_object
535
+ command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
536
+ command.response_class = Google::Apis::HealthcareV1beta1::Policy
537
+ command.params['resource'] = resource unless resource.nil?
538
+ command.query['fields'] = fields unless fields.nil?
539
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
540
+ execute_or_queue_command(command, &block)
541
+ end
542
+
543
+ # Returns permissions that a caller has on the specified resource.
544
+ # If the resource does not exist, this will return an empty set of
545
+ # permissions, not a NOT_FOUND error.
546
+ # Note: This operation is designed to be used for building permission-aware
547
+ # UIs and command-line tools, not for authorization checking. This operation
548
+ # may "fail open" without warning.
549
+ # @param [String] resource
550
+ # REQUIRED: The resource for which the policy detail is being requested.
551
+ # See the operation documentation for the appropriate value for this field.
552
+ # @param [Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
553
+ # @param [String] fields
554
+ # Selector specifying which fields to include in a partial response.
555
+ # @param [String] quota_user
556
+ # Available to use for quota purposes for server-side applications. Can be any
557
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
558
+ # @param [Google::Apis::RequestOptions] options
559
+ # Request-specific options
560
+ #
561
+ # @yield [result, err] Result & error if block supplied
562
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse] parsed result object
563
+ # @yieldparam err [StandardError] error object if request failed
564
+ #
565
+ # @return [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse]
566
+ #
567
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
568
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
569
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
570
+ def test_annotation_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
571
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
572
+ command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation
573
+ command.request_object = test_iam_permissions_request_object
574
+ command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation
575
+ command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
576
+ command.params['resource'] = resource unless resource.nil?
577
+ command.query['fields'] = fields unless fields.nil?
578
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
579
+ execute_or_queue_command(command, &block)
580
+ end
581
+
466
582
  # Creates a new DICOM store within the parent dataset.
467
583
  # @param [String] parent
468
584
  # The name of the dataset this DICOM store belongs to.
@@ -2134,9 +2250,11 @@ module Google
2134
2250
  # Retrieves the N most recent `Observation` resources for a subject matching
2135
2251
  # search criteria specified as query parameters, grouped by
2136
2252
  # `Observation.code`, sorted from most recent to oldest.
2137
- # Implements the FHIR extended operation
2138
- # [Observation-lastn](http://hl7.org/implement/standards/fhir/STU3/observation-
2139
- # operations.html#lastn).
2253
+ # Implements the FHIR extended operation Observation-lastn
2254
+ # ([STU3](http://hl7.org/implement/standards/fhir/STU3/observation-operations.
2255
+ # html#lastn)).
2256
+ # DSTU2 doesn't define the Observation-lastn method, but the server supports
2257
+ # it the same way it supports STU3.
2140
2258
  # Search terms are provided as query parameters following the same pattern as
2141
2259
  # the search method. The following search parameters must
2142
2260
  # be provided:
@@ -2275,14 +2393,19 @@ module Google
2275
2393
  execute_or_queue_command(command, &block)
2276
2394
  end
2277
2395
 
2278
- # Gets the FHIR [capability
2279
- # statement](http://hl7.org/implement/standards/fhir/STU3/capabilitystatement.
2280
- # html)
2281
- # for the store, which contains a description of functionality supported by
2282
- # the server.
2283
- # Implements the FHIR standard [capabilities
2284
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#
2285
- # capabilities).
2396
+ # Gets the FHIR capability statement
2397
+ # ([STU3](http://hl7.org/implement/standards/fhir/STU3/capabilitystatement.html))
2398
+ # ,
2399
+ # or the [conformance
2400
+ # statement](http://hl7.org/implement/standards/fhir/DSTU2/conformance.html)
2401
+ # in the DSTU2 case for the store, which contains a description of
2402
+ # functionality supported by the server.
2403
+ # Implements the FHIR standard capabilities interaction
2404
+ # ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#capabilities)),
2405
+ # or the [conformance
2406
+ # interaction](http://hl7.org/implement/standards/fhir/DSTU2/http.html#
2407
+ # conformance)
2408
+ # in the DSTU2 case.
2286
2409
  # On success, the response body will contain a JSON-encoded representation
2287
2410
  # of a `CapabilityStatement` resource.
2288
2411
  # @param [String] name
@@ -2315,9 +2438,9 @@ module Google
2315
2438
  end
2316
2439
 
2317
2440
  # Deletes FHIR resources that match a search query.
2318
- # Implements the FHIR standard [conditional delete
2319
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.13.
2320
- # 1).
2441
+ # Implements the FHIR standard conditional delete interaction
2442
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.12.1),
2443
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.13.1)).
2321
2444
  # If multiple resources match, all of them will be deleted.
2322
2445
  # Search terms are provided as query parameters following the same pattern as
2323
2446
  # the search method.
@@ -2331,8 +2454,9 @@ module Google
2331
2454
  # The name of the FHIR store this resource belongs to.
2332
2455
  # @param [String] type
2333
2456
  # The FHIR resource type to delete, such as Patient or Observation. For a
2334
- # complete list, see the [FHIR Resource
2335
- # Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
2457
+ # complete list, see the FHIR Resource Index
2458
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2459
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
2336
2460
  # @param [String] fields
2337
2461
  # Selector specifying which fields to include in a partial response.
2338
2462
  # @param [String] quota_user
@@ -2364,8 +2488,10 @@ module Google
2364
2488
  # If a resource is found based on the search criteria specified in the query
2365
2489
  # parameters, updates part of that resource by applying the operations
2366
2490
  # specified in a [JSON Patch](http://jsonpatch.com/) document.
2367
- # Implements the FHIR standard [conditional patch
2368
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#patch).
2491
+ # Implements the FHIR standard conditional patch interaction
2492
+ # ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#patch)).
2493
+ # DSTU2 doesn't define a conditional patch method, but the server supports it
2494
+ # in the same way it supports STU3.
2369
2495
  # Search terms are provided as query parameters following the same pattern as
2370
2496
  # the search method.
2371
2497
  # If the search criteria identify more than one match, the request will
@@ -2382,8 +2508,9 @@ module Google
2382
2508
  # The name of the FHIR store this resource belongs to.
2383
2509
  # @param [String] type
2384
2510
  # The FHIR resource type to update, such as Patient or Observation. For a
2385
- # complete list, see the [FHIR Resource
2386
- # Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
2511
+ # complete list, see the FHIR Resource Index
2512
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2513
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
2387
2514
  # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
2388
2515
  # @param [String] fields
2389
2516
  # Selector specifying which fields to include in a partial response.
@@ -2417,9 +2544,9 @@ module Google
2417
2544
 
2418
2545
  # If a resource is found based on the search criteria specified in the query
2419
2546
  # parameters, updates the entire contents of that resource.
2420
- # Implements the FHIR standard [conditional update
2421
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#cond-
2422
- # update).
2547
+ # Implements the FHIR standard conditional update interaction
2548
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.10.2),
2549
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#cond-update)).
2423
2550
  # Search terms are provided as query parameters following the same pattern as
2424
2551
  # the search method.
2425
2552
  # If the search criteria identify more than one match, the request will
@@ -2443,8 +2570,9 @@ module Google
2443
2570
  # The name of the FHIR store this resource belongs to.
2444
2571
  # @param [String] type
2445
2572
  # The FHIR resource type to update, such as Patient or Observation. For a
2446
- # complete list, see the [FHIR Resource
2447
- # Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
2573
+ # complete list, see the FHIR Resource Index
2574
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2575
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
2448
2576
  # Must match the resource type in the provided content.
2449
2577
  # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
2450
2578
  # @param [String] fields
@@ -2478,11 +2606,13 @@ module Google
2478
2606
  end
2479
2607
 
2480
2608
  # Creates a FHIR resource.
2481
- # Implements the FHIR standard [create
2482
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#create),
2609
+ # Implements the FHIR standard create interaction
2610
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#create),
2611
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#create)),
2483
2612
  # which creates a new resource with a server-assigned resource ID.
2484
- # Also supports the FHIR standard [conditional create
2485
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#ccreate),
2613
+ # Also supports the FHIR standard conditional create interaction
2614
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#ccreate),
2615
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#ccreate)),
2486
2616
  # specified by supplying an `If-None-Exist` header containing a FHIR search
2487
2617
  # query. If no resources match this search query, the server processes the
2488
2618
  # create operation as normal.
@@ -2499,8 +2629,9 @@ module Google
2499
2629
  # The name of the FHIR store this resource belongs to.
2500
2630
  # @param [String] type
2501
2631
  # The FHIR resource type to create, such as Patient or Observation. For a
2502
- # complete list, see the [FHIR Resource
2503
- # Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
2632
+ # complete list, see the FHIR Resource Index
2633
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2634
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
2504
2635
  # Must match the resource type in the provided content.
2505
2636
  # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
2506
2637
  # @param [String] fields
@@ -2534,8 +2665,9 @@ module Google
2534
2665
  end
2535
2666
 
2536
2667
  # Deletes a FHIR resource.
2537
- # Implements the FHIR standard [delete
2538
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#delete).
2668
+ # Implements the FHIR standard delete interaction
2669
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#delete),
2670
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#delete)).
2539
2671
  # Note: Unless resource versioning is disabled by setting the
2540
2672
  # disable_resource_versioning flag
2541
2673
  # on the FHIR store, the deleted resources will be moved to a history
@@ -2572,15 +2704,17 @@ module Google
2572
2704
  end
2573
2705
 
2574
2706
  # Executes all the requests in the given Bundle.
2575
- # Implements the FHIR standard [batch/transaction
2576
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#
2577
- # transaction).
2707
+ # Implements the FHIR standard batch/transaction interaction
2708
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#transaction),
2709
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#transaction)).
2578
2710
  # Supports all interactions within a bundle, except search. This method
2579
2711
  # accepts Bundles of type `batch` and `transaction`, processing them
2580
- # according to the [batch processing
2581
- # rules](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.1)
2582
- # and [transaction processing
2583
- # rules](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.2).
2712
+ # according to the batch processing rules
2713
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.16.1),
2714
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.1))
2715
+ # and transaction processing rules
2716
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.16.2),
2717
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.2)).
2584
2718
  # The request body must contain a JSON-encoded FHIR `Bundle` resource, and
2585
2719
  # the request headers must contain `Content-Type: application/fhir+json`.
2586
2720
  # For a batch bundle or a successful transaction the response body will
@@ -2625,8 +2759,9 @@ module Google
2625
2759
 
2626
2760
  # Lists all the versions of a resource (including the current version and
2627
2761
  # deleted versions) from the FHIR store.
2628
- # Implements the per-resource form of the FHIR standard [history
2629
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#history).
2762
+ # Implements the per-resource form of the FHIR standard history interaction
2763
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#history),
2764
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#history)).
2630
2765
  # On success, the response body will contain a JSON-encoded representation
2631
2766
  # of a `Bundle` resource of type `history`, containing the version history
2632
2767
  # sorted from most recent to oldest versions.
@@ -2693,8 +2828,10 @@ module Google
2693
2828
 
2694
2829
  # Updates part of an existing resource by applying the operations specified
2695
2830
  # in a [JSON Patch](http://jsonpatch.com/) document.
2696
- # Implements the FHIR standard [patch
2697
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#patch).
2831
+ # Implements the FHIR standard patch interaction
2832
+ # ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#patch)).
2833
+ # DSTU2 doesn't define a patch method, but the server supports it in the same
2834
+ # way it supports STU3.
2698
2835
  # The request body must contain a JSON Patch document, and the request
2699
2836
  # headers must contain `Content-Type: application/json-patch+json`.
2700
2837
  # On success, the response body will contain a JSON-encoded representation
@@ -2736,10 +2873,12 @@ module Google
2736
2873
  end
2737
2874
 
2738
2875
  # Gets the contents of a FHIR resource.
2739
- # Implements the FHIR standard [read
2740
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#read).
2741
- # Also supports the FHIR standard [conditional read
2742
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#cread)
2876
+ # Implements the FHIR standard read interaction
2877
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#read),
2878
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#read)).
2879
+ # Also supports the FHIR standard conditional read interaction
2880
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#cread),
2881
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#cread))
2743
2882
  # specified by supplying an `If-Modified-Since` header with a date/time value
2744
2883
  # or an `If-None-Match` header with an ETag value.
2745
2884
  # On success, the response body will contain a JSON-encoded representation
@@ -2779,10 +2918,12 @@ module Google
2779
2918
 
2780
2919
  # Searches for resources in the given FHIR store according to criteria
2781
2920
  # specified as query parameters.
2782
- # Implements the FHIR standard [search
2783
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#search)
2784
- # using the search semantics described in the [FHIR Search
2785
- # specification](http://hl7.org/implement/standards/fhir/STU3/search.html).
2921
+ # Implements the FHIR standard search interaction
2922
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search),
2923
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search))
2924
+ # using the search semantics described in the FHIR Search specification
2925
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html),
2926
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html)).
2786
2927
  # Supports three methods of search defined by the specification:
2787
2928
  # * `GET [base]?[parameters]` to search across all resources.
2788
2929
  # * `GET [base]/[type]?[parameters]` to search resources of a specified
@@ -2799,12 +2940,14 @@ module Google
2799
2940
  # request cannot be mapped to a valid API method on a FHIR store, a generic
2800
2941
  # GCP error might be returned instead.
2801
2942
  # The server's capability statement, retrieved through
2802
- # capabilities, indicates the search parameters
2803
- # that are supported on each FHIR resource. For the list of search
2804
- # parameters for STU3, see the
2805
- # [STU3 FHIR Search Parameter
2806
- # Registry](http://hl7.org/implement/standards/fhir/STU3/searchparameter-
2807
- # registry.html).
2943
+ # capabilities, indicates what search parameters
2944
+ # are supported on each FHIR resource. A list of all search parameters
2945
+ # defined by the specification can be found in the FHIR Search Parameter
2946
+ # Registry
2947
+ # ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.
2948
+ # html)).
2949
+ # FHIR search parameters for DSTU2 can be found on each resource's definition
2950
+ # page.
2808
2951
  # Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`,
2809
2952
  # `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`.
2810
2953
  # Supported search result parameters: `_sort`, `_count`, `_include`,
@@ -2852,8 +2995,9 @@ module Google
2852
2995
  end
2853
2996
 
2854
2997
  # Updates the entire contents of a resource.
2855
- # Implements the FHIR standard [update
2856
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#update).
2998
+ # Implements the FHIR standard update interaction
2999
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#update),
3000
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#update)).
2857
3001
  # If the specified resource does
2858
3002
  # not exist and the FHIR store has
2859
3003
  # enable_update_create set, creates the
@@ -2902,8 +3046,9 @@ module Google
2902
3046
 
2903
3047
  # Gets the contents of a version (current or historical) of a FHIR resource
2904
3048
  # by version ID.
2905
- # Implements the FHIR standard [vread
2906
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#vread).
3049
+ # Implements the FHIR standard vread interaction
3050
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#vread),
3051
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#vread).
2907
3052
  # On success, the response body will contain a JSON-encoded representation
2908
3053
  # of the resource.
2909
3054
  # Errors generated by the FHIR store will contain a JSON-encoded
@@ -3308,6 +3453,7 @@ module Google
3308
3453
  # The resource name of the HL7v2 message to retrieve.
3309
3454
  # @param [String] view
3310
3455
  # Specifies which parts of the Message resource to return in the response.
3456
+ # When unspecified, equivalent to FULL.
3311
3457
  # @param [String] fields
3312
3458
  # Selector specifying which fields to include in a partial response.
3313
3459
  # @param [String] quota_user
@@ -3338,9 +3484,7 @@ module Google
3338
3484
 
3339
3485
  # Ingests a new HL7v2 message from the hospital and sends a notification to
3340
3486
  # the Cloud Pub/Sub topic. Return is an HL7v2 ACK message if the message was
3341
- # successfully stored. Otherwise an error is returned. If an identical
3342
- # HL7v2 message is created twice only one resource is created on the server
3343
- # and no error is reported.
3487
+ # successfully stored. Otherwise an error is returned.
3344
3488
  # @param [String] parent
3345
3489
  # The name of the HL7v2 store this message belongs to.
3346
3490
  # @param [Google::Apis::HealthcareV1beta1::IngestMessageRequest] ingest_message_request_object
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/cloud-sql/
26
26
  module SqlV1beta4
27
27
  VERSION = 'V1beta4'
28
- REVISION = '20191205'
28
+ REVISION = '20191214'
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'
@@ -863,8 +863,7 @@ module Google
863
863
  execute_or_queue_command(command, &block)
864
864
  end
865
865
 
866
- # Lists instances under a given project in the alphabetical order of the
867
- # instance name.
866
+ # Lists instances under a given project.
868
867
  # @param [String] project
869
868
  # Project ID of the project for which to list Cloud SQL instances.
870
869
  # @param [String] filter
@@ -1347,6 +1346,9 @@ module Google
1347
1346
  # Project ID of the project that contains the instance.
1348
1347
  # @param [String] operation
1349
1348
  # Instance operation ID.
1349
+ # @param [String] resource_name
1350
+ # The name of the operation for Cloud SQL to get.
1351
+ # Format: projects/`project`/locations/`location`/operations/`operation`
1350
1352
  # @param [String] fields
1351
1353
  # Selector specifying which fields to include in a partial response.
1352
1354
  # @param [String] quota_user
@@ -1364,12 +1366,13 @@ module Google
1364
1366
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1365
1367
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1366
1368
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1367
- def get_operation(project, operation, fields: nil, quota_user: nil, options: nil, &block)
1369
+ def get_operation(project, operation, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block)
1368
1370
  command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/operations/{operation}', options)
1369
1371
  command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
1370
1372
  command.response_class = Google::Apis::SqlV1beta4::Operation
1371
1373
  command.params['project'] = project unless project.nil?
1372
1374
  command.params['operation'] = operation unless operation.nil?
1375
+ command.query['resourceName'] = resource_name unless resource_name.nil?
1373
1376
  command.query['fields'] = fields unless fields.nil?
1374
1377
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1375
1378
  execute_or_queue_command(command, &block)
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.36.2'.freeze
18
+ VERSION = '0.36.3'.freeze
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.2
4
+ version: 0.36.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-12-23 00:00:00.000000000 Z
14
+ date: 2019-12-30 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -1351,7 +1351,7 @@ homepage: https://github.com/google/google-api-ruby-client
1351
1351
  licenses:
1352
1352
  - Apache-2.0
1353
1353
  metadata:
1354
- documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.36.2
1354
+ documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.36.3
1355
1355
  post_install_message:
1356
1356
  rdoc_options: []
1357
1357
  require_paths: