google-api-client 0.19.4 → 0.19.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -0
  3. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  4. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +3 -3
  5. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +4 -3
  6. data/generated/google/apis/appengine_v1beta.rb +1 -1
  7. data/generated/google/apis/appengine_v1beta/classes.rb +53 -0
  8. data/generated/google/apis/appengine_v1beta/representations.rb +19 -0
  9. data/generated/google/apis/appsactivity_v1.rb +1 -13
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +4 -4
  12. data/generated/google/apis/cloudiot_v1.rb +1 -1
  13. data/generated/google/apis/cloudiot_v1/classes.rb +0 -136
  14. data/generated/google/apis/cloudiot_v1/representations.rb +0 -33
  15. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  16. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  17. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  18. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
  19. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  20. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  21. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  22. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +197 -165
  23. data/generated/google/apis/cloudtasks_v2beta2/service.rb +86 -75
  24. data/generated/google/apis/content_v2.rb +1 -1
  25. data/generated/google/apis/content_v2/classes.rb +194 -2
  26. data/generated/google/apis/content_v2/representations.rb +72 -0
  27. data/generated/google/apis/content_v2/service.rb +35 -0
  28. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  29. data/generated/google/apis/dataproc_v1beta2/service.rb +22 -28
  30. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  31. data/generated/google/apis/deploymentmanager_alpha/classes.rb +8 -5
  32. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  33. data/generated/google/apis/deploymentmanager_v2/classes.rb +8 -5
  34. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  35. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +8 -5
  36. data/generated/google/apis/dlp_v2beta2.rb +1 -1
  37. data/generated/google/apis/dlp_v2beta2/service.rb +25 -13
  38. data/generated/google/apis/dns_v1beta2.rb +1 -1
  39. data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
  40. data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
  41. data/generated/google/apis/drive_v2.rb +1 -1
  42. data/generated/google/apis/drive_v2/classes.rb +7 -0
  43. data/generated/google/apis/drive_v2/representations.rb +1 -0
  44. data/generated/google/apis/drive_v3.rb +1 -1
  45. data/generated/google/apis/drive_v3/classes.rb +7 -0
  46. data/generated/google/apis/drive_v3/representations.rb +1 -0
  47. data/generated/google/apis/firebaseremoteconfig_v1.rb +1 -1
  48. data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +1 -1
  49. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  50. data/generated/google/apis/gmail_v1.rb +1 -1
  51. data/generated/google/apis/gmail_v1/classes.rb +52 -0
  52. data/generated/google/apis/gmail_v1/representations.rb +16 -0
  53. data/generated/google/apis/iam_v1.rb +1 -1
  54. data/generated/google/apis/iam_v1/classes.rb +69 -0
  55. data/generated/google/apis/iam_v1/representations.rb +41 -0
  56. data/generated/google/apis/iam_v1/service.rb +31 -0
  57. data/generated/google/apis/ml_v1.rb +1 -1
  58. data/generated/google/apis/ml_v1/classes.rb +7 -0
  59. data/generated/google/apis/ml_v1/representations.rb +1 -0
  60. data/generated/google/apis/monitoring_v3.rb +1 -1
  61. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  62. data/generated/google/apis/partners_v2.rb +1 -1
  63. data/generated/google/apis/partners_v2/classes.rb +0 -31
  64. data/generated/google/apis/partners_v2/representations.rb +0 -15
  65. data/generated/google/apis/partners_v2/service.rb +0 -55
  66. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  67. data/generated/google/apis/safebrowsing_v4/classes.rb +7 -0
  68. data/generated/google/apis/safebrowsing_v4/representations.rb +1 -0
  69. data/generated/google/apis/sheets_v4.rb +1 -1
  70. data/generated/google/apis/speech_v1.rb +1 -1
  71. data/generated/google/apis/speech_v1/classes.rb +14 -7
  72. data/generated/google/apis/speech_v1/representations.rb +1 -0
  73. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  74. data/generated/google/apis/tpu_v1alpha1/classes.rb +95 -11
  75. data/generated/google/apis/tpu_v1alpha1/representations.rb +54 -0
  76. data/generated/google/apis/tpu_v1alpha1/service.rb +139 -1
  77. data/generated/google/apis/vision_v1.rb +1 -1
  78. data/generated/google/apis/vision_v1/classes.rb +128 -0
  79. data/generated/google/apis/vision_v1/representations.rb +43 -0
  80. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  81. data/generated/google/apis/youtube_v3.rb +1 -1
  82. data/generated/google/apis/youtube_v3/classes.rb +0 -2
  83. data/lib/google/apis/version.rb +1 -1
  84. metadata +2 -2
@@ -334,6 +334,18 @@ module Google
334
334
  include Google::Apis::Core::JsonObjectSupport
335
335
  end
336
336
 
337
+ class HolidayCutoff
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class HolidaysHoliday
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
337
349
  class Installment
338
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
351
 
@@ -886,6 +898,12 @@ module Google
886
898
  include Google::Apis::Core::JsonObjectSupport
887
899
  end
888
900
 
901
+ class ProductStatusItemLevelIssue
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
889
907
  class ProductTax
890
908
  class Representation < Google::Apis::Core::JsonRepresentation; end
891
909
 
@@ -1018,6 +1036,12 @@ module Google
1018
1036
  include Google::Apis::Core::JsonObjectSupport
1019
1037
  end
1020
1038
 
1039
+ class ShippingsettingsGetSupportedHolidaysResponse
1040
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1041
+
1042
+ include Google::Apis::Core::JsonObjectSupport
1043
+ end
1044
+
1021
1045
  class ShippingsettingsListResponse
1022
1046
  class Representation < Google::Apis::Core::JsonRepresentation; end
1023
1047
 
@@ -1592,6 +1616,8 @@ module Google
1592
1616
  class DeliveryTime
1593
1617
  # @private
1594
1618
  class Representation < Google::Apis::Core::JsonRepresentation
1619
+ collection :holiday_cutoffs, as: 'holidayCutoffs', class: Google::Apis::ContentV2::HolidayCutoff, decorator: Google::Apis::ContentV2::HolidayCutoff::Representation
1620
+
1595
1621
  property :max_transit_time_in_days, as: 'maxTransitTimeInDays'
1596
1622
  property :min_transit_time_in_days, as: 'minTransitTimeInDays'
1597
1623
  end
@@ -1630,6 +1656,29 @@ module Google
1630
1656
  end
1631
1657
  end
1632
1658
 
1659
+ class HolidayCutoff
1660
+ # @private
1661
+ class Representation < Google::Apis::Core::JsonRepresentation
1662
+ property :deadline_date, as: 'deadlineDate'
1663
+ property :deadline_hour, as: 'deadlineHour'
1664
+ property :deadline_timezone, as: 'deadlineTimezone'
1665
+ property :holiday_id, as: 'holidayId'
1666
+ property :visible_from_date, as: 'visibleFromDate'
1667
+ end
1668
+ end
1669
+
1670
+ class HolidaysHoliday
1671
+ # @private
1672
+ class Representation < Google::Apis::Core::JsonRepresentation
1673
+ property :country_code, as: 'countryCode'
1674
+ property :date, as: 'date'
1675
+ property :delivery_guarantee_date, as: 'deliveryGuaranteeDate'
1676
+ property :delivery_guarantee_hour, :numeric_string => true, as: 'deliveryGuaranteeHour'
1677
+ property :id, as: 'id'
1678
+ property :type, as: 'type'
1679
+ end
1680
+ end
1681
+
1633
1682
  class Installment
1634
1683
  # @private
1635
1684
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2733,6 +2782,8 @@ module Google
2733
2782
  collection :destination_statuses, as: 'destinationStatuses', class: Google::Apis::ContentV2::ProductStatusDestinationStatus, decorator: Google::Apis::ContentV2::ProductStatusDestinationStatus::Representation
2734
2783
 
2735
2784
  property :google_expiration_date, as: 'googleExpirationDate'
2785
+ collection :item_level_issues, as: 'itemLevelIssues', class: Google::Apis::ContentV2::ProductStatusItemLevelIssue, decorator: Google::Apis::ContentV2::ProductStatusItemLevelIssue::Representation
2786
+
2736
2787
  property :kind, as: 'kind'
2737
2788
  property :last_update_date, as: 'lastUpdateDate'
2738
2789
  property :link, as: 'link'
@@ -2760,12 +2811,24 @@ module Google
2760
2811
  class ProductStatusDestinationStatus
2761
2812
  # @private
2762
2813
  class Representation < Google::Apis::Core::JsonRepresentation
2814
+ property :approval_pending, as: 'approvalPending'
2763
2815
  property :approval_status, as: 'approvalStatus'
2764
2816
  property :destination, as: 'destination'
2765
2817
  property :intention, as: 'intention'
2766
2818
  end
2767
2819
  end
2768
2820
 
2821
+ class ProductStatusItemLevelIssue
2822
+ # @private
2823
+ class Representation < Google::Apis::Core::JsonRepresentation
2824
+ property :attribute_name, as: 'attributeName'
2825
+ property :code, as: 'code'
2826
+ property :destination, as: 'destination'
2827
+ property :resolution, as: 'resolution'
2828
+ property :servability, as: 'servability'
2829
+ end
2830
+ end
2831
+
2769
2832
  class ProductTax
2770
2833
  # @private
2771
2834
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2995,6 +3058,15 @@ module Google
2995
3058
  end
2996
3059
  end
2997
3060
 
3061
+ class ShippingsettingsGetSupportedHolidaysResponse
3062
+ # @private
3063
+ class Representation < Google::Apis::Core::JsonRepresentation
3064
+ collection :holidays, as: 'holidays', class: Google::Apis::ContentV2::HolidaysHoliday, decorator: Google::Apis::ContentV2::HolidaysHoliday::Representation
3065
+
3066
+ property :kind, as: 'kind'
3067
+ end
3068
+ end
3069
+
2998
3070
  class ShippingsettingsListResponse
2999
3071
  # @private
3000
3072
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2570,6 +2570,41 @@ module Google
2570
2570
  execute_or_queue_command(command, &block)
2571
2571
  end
2572
2572
 
2573
+ # Retrieves supported holidays for an account.
2574
+ # @param [Fixnum] merchant_id
2575
+ # The ID of the account for which to retrieve the supported holidays.
2576
+ # @param [String] fields
2577
+ # Selector specifying which fields to include in a partial response.
2578
+ # @param [String] quota_user
2579
+ # Available to use for quota purposes for server-side applications. Can be any
2580
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2581
+ # Overrides userIp if both are provided.
2582
+ # @param [String] user_ip
2583
+ # IP address of the site where the request originates. Use this if you want to
2584
+ # enforce per-user limits.
2585
+ # @param [Google::Apis::RequestOptions] options
2586
+ # Request-specific options
2587
+ #
2588
+ # @yield [result, err] Result & error if block supplied
2589
+ # @yieldparam result [Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse] parsed result object
2590
+ # @yieldparam err [StandardError] error object if request failed
2591
+ #
2592
+ # @return [Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse]
2593
+ #
2594
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2595
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2596
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2597
+ def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2598
+ command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
2599
+ command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse::Representation
2600
+ command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse
2601
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2602
+ command.query['fields'] = fields unless fields.nil?
2603
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2604
+ command.query['userIp'] = user_ip unless user_ip.nil?
2605
+ execute_or_queue_command(command, &block)
2606
+ end
2607
+
2573
2608
  # Lists the shipping settings of the sub-accounts in your Merchant Center
2574
2609
  # account.
2575
2610
  # @param [Fixnum] merchant_id
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20180116'
28
+ REVISION = '20180122'
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'
@@ -157,13 +157,12 @@ module Google
157
157
  end
158
158
 
159
159
  # Instantiates a template and begins execution.The returned Operation can be
160
- # used to track execution of workflow by polling google.cloud.dataproc.v1beta2.
161
- # OperationService.GetOperation. The Operation will complete when entire
162
- # workflow is finished.The running workflow can be aborted via google.cloud.
163
- # dataproc.v1beta2.OperationService.CancelOperation.The google.cloud.dataproc.
164
- # v1beta2.Operation.metadata will always be google.cloud.dataproc.v1beta2.
165
- # WorkflowMetadata.The google.cloud.dataproc.v1beta2.Operation.result will
166
- # always be google.protobuf.Empty.
160
+ # used to track execution of workflow by polling operations.get. The Operation
161
+ # will complete when entire workflow is finished.The running workflow can be
162
+ # aborted via operations.cancel. This will cause any inflight jobs to be
163
+ # cancelled and workflow-owned clusters to be deleted.The Operation.metadata
164
+ # will be WorkflowMetadata.On successful completion, Operation.response will be
165
+ # Empty.
167
166
  # @param [String] name
168
167
  # Required. The "resource name" of the workflow template, as described in https:/
169
168
  # /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
@@ -201,13 +200,11 @@ module Google
201
200
  # Instantiates a template and begins execution.This method is equivalent to
202
201
  # executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate,
203
202
  # DeleteWorkflowTemplate.The returned Operation can be used to track execution
204
- # of workflow by polling google.cloud.dataproc.v1beta2.OperationService.
205
- # GetOperation. The Operation will complete when entire workflow is finished.The
206
- # running workflow can be aborted via google.cloud.dataproc.v1beta2.
207
- # OperationService.CancelOperation.The google.cloud.dataproc.v1beta2.Operation.
208
- # metadata will always be google.cloud.dataproc.v1beta2.WorkflowMetadata.The
209
- # google.cloud.dataproc.v1beta2.Operation.result will always be google.protobuf.
210
- # Empty.
203
+ # of workflow by polling operations.get. The Operation will complete when entire
204
+ # workflow is finished.The running workflow can be aborted via operations.cancel.
205
+ # This will cause any inflight jobs to be cancelled and workflow-owned clusters
206
+ # to be deleted.The Operation.metadata will be WorkflowMetadata.On successful
207
+ # completion, Operation.response will be Empty.
211
208
  # @param [String] parent
212
209
  # Required. The "resource name" of the workflow template region, as described in
213
210
  # https://cloud.google.com/apis/design/resource_names of the form projects/`
@@ -1224,13 +1221,12 @@ module Google
1224
1221
  end
1225
1222
 
1226
1223
  # Instantiates a template and begins execution.The returned Operation can be
1227
- # used to track execution of workflow by polling google.cloud.dataproc.v1beta2.
1228
- # OperationService.GetOperation. The Operation will complete when entire
1229
- # workflow is finished.The running workflow can be aborted via google.cloud.
1230
- # dataproc.v1beta2.OperationService.CancelOperation.The google.cloud.dataproc.
1231
- # v1beta2.Operation.metadata will always be google.cloud.dataproc.v1beta2.
1232
- # WorkflowMetadata.The google.cloud.dataproc.v1beta2.Operation.result will
1233
- # always be google.protobuf.Empty.
1224
+ # used to track execution of workflow by polling operations.get. The Operation
1225
+ # will complete when entire workflow is finished.The running workflow can be
1226
+ # aborted via operations.cancel. This will cause any inflight jobs to be
1227
+ # cancelled and workflow-owned clusters to be deleted.The Operation.metadata
1228
+ # will be WorkflowMetadata.On successful completion, Operation.response will be
1229
+ # Empty.
1234
1230
  # @param [String] name
1235
1231
  # Required. The "resource name" of the workflow template, as described in https:/
1236
1232
  # /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
@@ -1268,13 +1264,11 @@ module Google
1268
1264
  # Instantiates a template and begins execution.This method is equivalent to
1269
1265
  # executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate,
1270
1266
  # DeleteWorkflowTemplate.The returned Operation can be used to track execution
1271
- # of workflow by polling google.cloud.dataproc.v1beta2.OperationService.
1272
- # GetOperation. The Operation will complete when entire workflow is finished.The
1273
- # running workflow can be aborted via google.cloud.dataproc.v1beta2.
1274
- # OperationService.CancelOperation.The google.cloud.dataproc.v1beta2.Operation.
1275
- # metadata will always be google.cloud.dataproc.v1beta2.WorkflowMetadata.The
1276
- # google.cloud.dataproc.v1beta2.Operation.result will always be google.protobuf.
1277
- # Empty.
1267
+ # of workflow by polling operations.get. The Operation will complete when entire
1268
+ # workflow is finished.The running workflow can be aborted via operations.cancel.
1269
+ # This will cause any inflight jobs to be cancelled and workflow-owned clusters
1270
+ # to be deleted.The Operation.metadata will be WorkflowMetadata.On successful
1271
+ # completion, Operation.response will be Empty.
1278
1272
  # @param [String] parent
1279
1273
  # Required. The "resource name" of the workflow template region, as described in
1280
1274
  # https://cloud.google.com/apis/design/resource_names of the form projects/`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/deployment-manager/
27
27
  module DeploymentmanagerAlpha
28
28
  VERSION = 'Alpha'
29
- REVISION = '20171214'
29
+ REVISION = '20180119'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -53,7 +53,7 @@ module Google
53
53
  # If there are AuditConfigs for both `allServices` and a specific service, the
54
54
  # union of the two AuditConfigs is used for that service: the log_types
55
55
  # specified in each AuditConfig are enabled, and the exempted_members in each
56
- # AuditConfig are exempted.
56
+ # AuditLogConfig are exempted.
57
57
  # Example Policy with multiple AuditConfigs:
58
58
  # ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
59
59
  # log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
@@ -1318,7 +1318,9 @@ module Google
1318
1318
  attr_accessor :progress
1319
1319
 
1320
1320
  # [Output Only] The URL of the region where the operation resides. Only
1321
- # available when performing regional operations.
1321
+ # available when performing regional operations. You must specify this field as
1322
+ # part of the HTTP request URL. It is not settable as a field in the request
1323
+ # body.
1322
1324
  # Corresponds to the JSON property `region`
1323
1325
  # @return [String]
1324
1326
  attr_accessor :region
@@ -1371,7 +1373,8 @@ module Google
1371
1373
  attr_accessor :warnings
1372
1374
 
1373
1375
  # [Output Only] The URL of the zone where the operation resides. Only available
1374
- # when performing per-zone operations.
1376
+ # when performing per-zone operations. You must specify this field as part of
1377
+ # the HTTP request URL. It is not settable as a field in the request body.
1375
1378
  # Corresponds to the JSON property `zone`
1376
1379
  # @return [String]
1377
1380
  attr_accessor :zone
@@ -1601,7 +1604,7 @@ module Google
1601
1604
  # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
1602
1605
  # sean@example.com"] ` ] `
1603
1606
  # For a description of IAM and its features, see the [IAM developer's guide](
1604
- # https://cloud.google.com/iam).
1607
+ # https://cloud.google.com/iam/docs).
1605
1608
  class Policy
1606
1609
  include Google::Apis::Core::Hashable
1607
1610
 
@@ -1647,7 +1650,7 @@ module Google
1647
1650
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::Rule>]
1648
1651
  attr_accessor :rules
1649
1652
 
1650
- # Version of the `Policy`. The default version is 0.
1653
+ # Deprecated.
1651
1654
  # Corresponds to the JSON property `version`
1652
1655
  # @return [Fixnum]
1653
1656
  attr_accessor :version
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/deployment-manager/
26
26
  module DeploymentmanagerV2
27
27
  VERSION = 'V2'
28
- REVISION = '20171201'
28
+ REVISION = '20180119'
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'
@@ -28,7 +28,7 @@ module Google
28
28
  # If there are AuditConfigs for both `allServices` and a specific service, the
29
29
  # union of the two AuditConfigs is used for that service: the log_types
30
30
  # specified in each AuditConfig are enabled, and the exempted_members in each
31
- # AuditConfig are exempted.
31
+ # AuditLogConfig are exempted.
32
32
  # Example Policy with multiple AuditConfigs:
33
33
  # ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
34
34
  # log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
@@ -881,7 +881,9 @@ module Google
881
881
  attr_accessor :progress
882
882
 
883
883
  # [Output Only] The URL of the region where the operation resides. Only
884
- # available when performing regional operations.
884
+ # available when performing regional operations. You must specify this field as
885
+ # part of the HTTP request URL. It is not settable as a field in the request
886
+ # body.
885
887
  # Corresponds to the JSON property `region`
886
888
  # @return [String]
887
889
  attr_accessor :region
@@ -934,7 +936,8 @@ module Google
934
936
  attr_accessor :warnings
935
937
 
936
938
  # [Output Only] The URL of the zone where the operation resides. Only available
937
- # when performing per-zone operations.
939
+ # when performing per-zone operations. You must specify this field as part of
940
+ # the HTTP request URL. It is not settable as a field in the request body.
938
941
  # Corresponds to the JSON property `zone`
939
942
  # @return [String]
940
943
  attr_accessor :zone
@@ -1125,7 +1128,7 @@ module Google
1125
1128
  # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
1126
1129
  # sean@example.com"] ` ] `
1127
1130
  # For a description of IAM and its features, see the [IAM developer's guide](
1128
- # https://cloud.google.com/iam).
1131
+ # https://cloud.google.com/iam/docs).
1129
1132
  class Policy
1130
1133
  include Google::Apis::Core::Hashable
1131
1134
 
@@ -1171,7 +1174,7 @@ module Google
1171
1174
  # @return [Array<Google::Apis::DeploymentmanagerV2::Rule>]
1172
1175
  attr_accessor :rules
1173
1176
 
1174
- # Version of the `Policy`. The default version is 0.
1177
+ # Deprecated.
1175
1178
  # Corresponds to the JSON property `version`
1176
1179
  # @return [Fixnum]
1177
1180
  attr_accessor :version
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/deployment-manager/
27
27
  module DeploymentmanagerV2beta
28
28
  VERSION = 'V2beta'
29
- REVISION = '20171201'
29
+ REVISION = '20180119'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -28,7 +28,7 @@ module Google
28
28
  # If there are AuditConfigs for both `allServices` and a specific service, the
29
29
  # union of the two AuditConfigs is used for that service: the log_types
30
30
  # specified in each AuditConfig are enabled, and the exempted_members in each
31
- # AuditConfig are exempted.
31
+ # AuditLogConfig are exempted.
32
32
  # Example Policy with multiple AuditConfigs:
33
33
  # ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
34
34
  # log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
@@ -1170,7 +1170,9 @@ module Google
1170
1170
  attr_accessor :progress
1171
1171
 
1172
1172
  # [Output Only] The URL of the region where the operation resides. Only
1173
- # available when performing regional operations.
1173
+ # available when performing regional operations. You must specify this field as
1174
+ # part of the HTTP request URL. It is not settable as a field in the request
1175
+ # body.
1174
1176
  # Corresponds to the JSON property `region`
1175
1177
  # @return [String]
1176
1178
  attr_accessor :region
@@ -1223,7 +1225,8 @@ module Google
1223
1225
  attr_accessor :warnings
1224
1226
 
1225
1227
  # [Output Only] The URL of the zone where the operation resides. Only available
1226
- # when performing per-zone operations.
1228
+ # when performing per-zone operations. You must specify this field as part of
1229
+ # the HTTP request URL. It is not settable as a field in the request body.
1227
1230
  # Corresponds to the JSON property `zone`
1228
1231
  # @return [String]
1229
1232
  attr_accessor :zone
@@ -1451,7 +1454,7 @@ module Google
1451
1454
  # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
1452
1455
  # sean@example.com"] ` ] `
1453
1456
  # For a description of IAM and its features, see the [IAM developer's guide](
1454
- # https://cloud.google.com/iam).
1457
+ # https://cloud.google.com/iam/docs).
1455
1458
  class Policy
1456
1459
  include Google::Apis::Core::Hashable
1457
1460
 
@@ -1497,7 +1500,7 @@ module Google
1497
1500
  # @return [Array<Google::Apis::DeploymentmanagerV2beta::Rule>]
1498
1501
  attr_accessor :rules
1499
1502
 
1500
- # Version of the `Policy`. The default version is 0.
1503
+ # Deprecated.
1501
1504
  # Corresponds to the JSON property `version`
1502
1505
  # @return [Fixnum]
1503
1506
  attr_accessor :version
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/dlp/docs/
28
28
  module DlpV2beta2
29
29
  VERSION = 'V2beta2'
30
- REVISION = '20180109'
30
+ REVISION = '20180123'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -123,7 +123,8 @@ module Google
123
123
  # Deletes inspect templates.
124
124
  # @param [String] name
125
125
  # Resource name of the organization and deidentify template to be deleted,
126
- # for example `organizations/433245324/deidentifyTemplates/432452342`.
126
+ # for example `organizations/433245324/deidentifyTemplates/432452342` or
127
+ # projects/project-id/deidentifyTemplates/432452342.
127
128
  # @param [String] fields
128
129
  # Selector specifying which fields to include in a partial response.
129
130
  # @param [String] quota_user
@@ -154,7 +155,8 @@ module Google
154
155
  # Gets an inspect template.
155
156
  # @param [String] name
156
157
  # Resource name of the organization and deidentify template to be read, for
157
- # example `organizations/433245324/deidentifyTemplates/432452342`.
158
+ # example `organizations/433245324/deidentifyTemplates/432452342` or
159
+ # projects/project-id/deidentifyTemplates/432452342.
158
160
  # @param [String] fields
159
161
  # Selector specifying which fields to include in a partial response.
160
162
  # @param [String] quota_user
@@ -224,7 +226,8 @@ module Google
224
226
  # Updates the inspect template.
225
227
  # @param [String] name
226
228
  # Resource name of organization and deidentify template to be updated, for
227
- # example `organizations/433245324/deidentifyTemplates/432452342`.
229
+ # example `organizations/433245324/deidentifyTemplates/432452342` or
230
+ # projects/project-id/deidentifyTemplates/432452342.
228
231
  # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest] google_privacy_dlp_v2beta2_update_deidentify_template_request_object
229
232
  # @param [String] fields
230
233
  # Selector specifying which fields to include in a partial response.
@@ -293,7 +296,8 @@ module Google
293
296
  # Deletes inspect templates.
294
297
  # @param [String] name
295
298
  # Resource name of the organization and inspectTemplate to be deleted, for
296
- # example `organizations/433245324/inspectTemplates/432452342`.
299
+ # example `organizations/433245324/inspectTemplates/432452342` or
300
+ # projects/project-id/inspectTemplates/432452342.
297
301
  # @param [String] fields
298
302
  # Selector specifying which fields to include in a partial response.
299
303
  # @param [String] quota_user
@@ -324,7 +328,8 @@ module Google
324
328
  # Gets an inspect template.
325
329
  # @param [String] name
326
330
  # Resource name of the organization and inspectTemplate to be read, for
327
- # example `organizations/433245324/inspectTemplates/432452342`.
331
+ # example `organizations/433245324/inspectTemplates/432452342` or
332
+ # projects/project-id/inspectTemplates/432452342.
328
333
  # @param [String] fields
329
334
  # Selector specifying which fields to include in a partial response.
330
335
  # @param [String] quota_user
@@ -394,7 +399,8 @@ module Google
394
399
  # Updates the inspect template.
395
400
  # @param [String] name
396
401
  # Resource name of organization and inspectTemplate to be updated, for
397
- # example `organizations/433245324/inspectTemplates/432452342`.
402
+ # example `organizations/433245324/inspectTemplates/432452342` or
403
+ # projects/project-id/inspectTemplates/432452342.
398
404
  # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateInspectTemplateRequest] google_privacy_dlp_v2beta2_update_inspect_template_request_object
399
405
  # @param [String] fields
400
406
  # Selector specifying which fields to include in a partial response.
@@ -530,7 +536,7 @@ module Google
530
536
  end
531
537
 
532
538
  # Schedules a job to compute risk analysis metrics over content in a Google
533
- # Cloud Platform repository. [How-to guide`(/dlp/docs/compute-risk-analysis)
539
+ # Cloud Platform repository. [How-to guide](/dlp/docs/compute-risk-analysis)
534
540
  # @param [String] parent
535
541
  # The parent resource name, for example projects/my-project-id.
536
542
  # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest] google_privacy_dlp_v2beta2_analyze_data_source_risk_request_object
@@ -635,7 +641,8 @@ module Google
635
641
  # Deletes inspect templates.
636
642
  # @param [String] name
637
643
  # Resource name of the organization and deidentify template to be deleted,
638
- # for example `organizations/433245324/deidentifyTemplates/432452342`.
644
+ # for example `organizations/433245324/deidentifyTemplates/432452342` or
645
+ # projects/project-id/deidentifyTemplates/432452342.
639
646
  # @param [String] fields
640
647
  # Selector specifying which fields to include in a partial response.
641
648
  # @param [String] quota_user
@@ -666,7 +673,8 @@ module Google
666
673
  # Gets an inspect template.
667
674
  # @param [String] name
668
675
  # Resource name of the organization and deidentify template to be read, for
669
- # example `organizations/433245324/deidentifyTemplates/432452342`.
676
+ # example `organizations/433245324/deidentifyTemplates/432452342` or
677
+ # projects/project-id/deidentifyTemplates/432452342.
670
678
  # @param [String] fields
671
679
  # Selector specifying which fields to include in a partial response.
672
680
  # @param [String] quota_user
@@ -736,7 +744,8 @@ module Google
736
744
  # Updates the inspect template.
737
745
  # @param [String] name
738
746
  # Resource name of organization and deidentify template to be updated, for
739
- # example `organizations/433245324/deidentifyTemplates/432452342`.
747
+ # example `organizations/433245324/deidentifyTemplates/432452342` or
748
+ # projects/project-id/deidentifyTemplates/432452342.
740
749
  # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest] google_privacy_dlp_v2beta2_update_deidentify_template_request_object
741
750
  # @param [String] fields
742
751
  # Selector specifying which fields to include in a partial response.
@@ -995,7 +1004,8 @@ module Google
995
1004
  # Deletes inspect templates.
996
1005
  # @param [String] name
997
1006
  # Resource name of the organization and inspectTemplate to be deleted, for
998
- # example `organizations/433245324/inspectTemplates/432452342`.
1007
+ # example `organizations/433245324/inspectTemplates/432452342` or
1008
+ # projects/project-id/inspectTemplates/432452342.
999
1009
  # @param [String] fields
1000
1010
  # Selector specifying which fields to include in a partial response.
1001
1011
  # @param [String] quota_user
@@ -1026,7 +1036,8 @@ module Google
1026
1036
  # Gets an inspect template.
1027
1037
  # @param [String] name
1028
1038
  # Resource name of the organization and inspectTemplate to be read, for
1029
- # example `organizations/433245324/inspectTemplates/432452342`.
1039
+ # example `organizations/433245324/inspectTemplates/432452342` or
1040
+ # projects/project-id/inspectTemplates/432452342.
1030
1041
  # @param [String] fields
1031
1042
  # Selector specifying which fields to include in a partial response.
1032
1043
  # @param [String] quota_user
@@ -1096,7 +1107,8 @@ module Google
1096
1107
  # Updates the inspect template.
1097
1108
  # @param [String] name
1098
1109
  # Resource name of organization and inspectTemplate to be updated, for
1099
- # example `organizations/433245324/inspectTemplates/432452342`.
1110
+ # example `organizations/433245324/inspectTemplates/432452342` or
1111
+ # projects/project-id/inspectTemplates/432452342.
1100
1112
  # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateInspectTemplateRequest] google_privacy_dlp_v2beta2_update_inspect_template_request_object
1101
1113
  # @param [String] fields
1102
1114
  # Selector specifying which fields to include in a partial response.