google-api-client 0.13.4 → 0.13.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +43 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +4 -3
  5. data/generated/google/apis/admin_directory_v1.rb +1 -1
  6. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  7. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  8. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
  9. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  10. data/generated/google/apis/androidenterprise_v1/classes.rb +33 -0
  11. data/generated/google/apis/androidenterprise_v1/representations.rb +16 -0
  12. data/generated/google/apis/androidenterprise_v1/service.rb +1 -1
  13. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  15. data/generated/google/apis/bigquery_v2.rb +1 -1
  16. data/generated/google/apis/bigquery_v2/classes.rb +10 -1
  17. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  18. data/generated/google/apis/cloudkms_v1.rb +1 -1
  19. data/generated/google/apis/cloudkms_v1/classes.rb +6 -253
  20. data/generated/google/apis/cloudkms_v1/representations.rb +1 -99
  21. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  22. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  23. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  24. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  25. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  26. data/generated/google/apis/cloudtrace_v2/classes.rb +12 -6
  27. data/generated/google/apis/cloudtrace_v2/representations.rb +2 -1
  28. data/generated/google/apis/container_v1.rb +1 -1
  29. data/generated/google/apis/container_v1/classes.rb +72 -15
  30. data/generated/google/apis/container_v1/representations.rb +7 -0
  31. data/generated/google/apis/container_v1beta1.rb +1 -1
  32. data/generated/google/apis/container_v1beta1/classes.rb +58 -15
  33. data/generated/google/apis/container_v1beta1/representations.rb +5 -0
  34. data/generated/google/apis/content_v2.rb +1 -1
  35. data/generated/google/apis/content_v2/classes.rb +16 -0
  36. data/generated/google/apis/content_v2/representations.rb +3 -0
  37. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  38. data/generated/google/apis/dataflow_v1b3/classes.rb +87 -0
  39. data/generated/google/apis/dataflow_v1b3/representations.rb +46 -0
  40. data/generated/google/apis/datastore_v1beta1.rb +38 -0
  41. data/generated/google/apis/datastore_v1beta1/classes.rb +567 -0
  42. data/generated/google/apis/datastore_v1beta1/representations.rb +191 -0
  43. data/generated/google/apis/datastore_v1beta1/service.rb +137 -0
  44. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  45. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  46. data/generated/google/apis/dlp_v2beta1/classes.rb +1 -1
  47. data/generated/google/apis/dlp_v2beta1/service.rb +142 -7
  48. data/generated/google/apis/dns_v2beta1.rb +1 -1
  49. data/generated/google/apis/drive_v2.rb +1 -1
  50. data/generated/google/apis/drive_v2/classes.rb +6 -0
  51. data/generated/google/apis/drive_v2/representations.rb +1 -0
  52. data/generated/google/apis/drive_v2/service.rb +6 -6
  53. data/generated/google/apis/drive_v3.rb +1 -1
  54. data/generated/google/apis/drive_v3/classes.rb +6 -0
  55. data/generated/google/apis/drive_v3/representations.rb +1 -0
  56. data/generated/google/apis/drive_v3/service.rb +6 -6
  57. data/generated/google/apis/firebaseremoteconfig_v1.rb +32 -0
  58. data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +180 -0
  59. data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +87 -0
  60. data/generated/google/apis/firebaseremoteconfig_v1/service.rb +153 -0
  61. data/generated/google/apis/games_management_v1management.rb +1 -1
  62. data/generated/google/apis/gmail_v1.rb +1 -1
  63. data/generated/google/apis/logging_v2.rb +1 -1
  64. data/generated/google/apis/logging_v2/classes.rb +444 -18
  65. data/generated/google/apis/logging_v2/representations.rb +119 -0
  66. data/generated/google/apis/logging_v2/service.rb +808 -1
  67. data/generated/google/apis/logging_v2beta1.rb +1 -1
  68. data/generated/google/apis/logging_v2beta1/classes.rb +367 -18
  69. data/generated/google/apis/logging_v2beta1/representations.rb +88 -0
  70. data/generated/google/apis/logging_v2beta1/service.rb +4 -1
  71. data/generated/google/apis/ml_v1.rb +1 -1
  72. data/generated/google/apis/ml_v1/classes.rb +1 -254
  73. data/generated/google/apis/ml_v1/representations.rb +0 -99
  74. data/generated/google/apis/monitoring_v3.rb +1 -1
  75. data/generated/google/apis/monitoring_v3/classes.rb +213 -0
  76. data/generated/google/apis/monitoring_v3/representations.rb +61 -0
  77. data/generated/google/apis/monitoring_v3/service.rb +4 -4
  78. data/generated/google/apis/people_v1.rb +1 -1
  79. data/generated/google/apis/people_v1/classes.rb +37 -0
  80. data/generated/google/apis/people_v1/representations.rb +18 -0
  81. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  82. data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
  83. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  84. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
  85. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +4 -4
  86. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  87. data/generated/google/apis/servicecontrol_v1/classes.rb +13 -3
  88. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  89. data/generated/google/apis/slides_v1.rb +1 -1
  90. data/generated/google/apis/slides_v1/classes.rb +10 -1
  91. data/generated/google/apis/speech_v1.rb +1 -1
  92. data/generated/google/apis/speech_v1/classes.rb +1 -1
  93. data/generated/google/apis/speech_v1beta1.rb +1 -1
  94. data/generated/google/apis/speech_v1beta1/classes.rb +1 -1
  95. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  96. data/generated/google/apis/storagetransfer_v1/classes.rb +5 -3
  97. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  98. data/generated/google/apis/toolresults_v1beta3/service.rb +48 -0
  99. data/generated/google/apis/toolresults_v1beta3firstparty.rb +1 -1
  100. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +48 -0
  101. data/generated/google/apis/vault_v1.rb +1 -1
  102. data/generated/google/apis/vault_v1/classes.rb +2 -2
  103. data/generated/google/apis/vault_v1/service.rb +2 -2
  104. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  105. data/generated/google/apis/youtube_partner_v1/classes.rb +137 -0
  106. data/generated/google/apis/youtube_partner_v1/representations.rb +62 -0
  107. data/generated/google/apis/youtube_partner_v1/service.rb +80 -0
  108. data/lib/google/apis/version.rb +1 -1
  109. metadata +10 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 43ac83dde9bfabc90a4f0e4dc3086d948974907d
4
- data.tar.gz: 3cceead621d394b11aef1e81e834186d9d8024da
3
+ metadata.gz: 4b30e0c6cbaac7fb83153bd16c808ad0ac4f0732
4
+ data.tar.gz: 5adc266f836362d17e77c065191c43c21fd3dfe8
5
5
  SHA512:
6
- metadata.gz: f062f4fe8f11c3b05eb2eb589c448c153c2c31944537804e308eba6b6ced1b4fbe2bd04ce68b8da714d57f2fe9414dc7ae2b69eddf2640036b8b01e57bd6ba4a
7
- data.tar.gz: de629b8ee53f4a2f433cebc022f7eb0e9de7365c1c53000bc53c866ac3addd04034f5b2139ca3a3aa56828393a629b23d7c8eb49dc5b971eb055796551a84989
6
+ metadata.gz: ce1c4440d660ac9428b615cb8035ae48e7a7c69c33a2717c2d41dd0883ec0634eed3b000f3d3cb2f05af3ba628d9c9612d6756cab4b750cea09b94534dd86e4b
7
+ data.tar.gz: 887d0f9a1931fd8a4f0cdd6913e566705ace28b66454264cb68fd2ef93c123f7dadd9ba776fc40bf81da90315b689f67a228b9041c6b8dd09b42099fa6881518
data/CHANGELOG.md CHANGED
@@ -1,3 +1,46 @@
1
+ # 0.13.5
2
+ * Backwards compatible changes:
3
+ * Added `datastore_v1beta1`
4
+ * Added `firebaseremoteconfig_v1`
5
+ * Updated `adexchangebuyer2_v2beta1`
6
+ * Updated `admin_directory_v1`
7
+ * Updated `adsensehost_v4_1`
8
+ * Updated `androiddeviceprovisioning_v1`
9
+ * Updated `androidenterprise_v1`
10
+ * Updated `androidpublisher_v1_1`
11
+ * Updated `androidpublisher_v2`
12
+ * Updated `bigquery_v2`
13
+ * Updated `cloudkms_v1`
14
+ * Updated `cloudresourcemanager_v1`
15
+ * Updated `cloudresourcemanager_v2beta1`
16
+ * Updated `cloudtrace_v2`
17
+ * Updated `container_v1`
18
+ * Updated `container_v1beta1`
19
+ * Updated `content_v2`
20
+ * Updated `dataflow_v1b3`
21
+ * Updated `dlp_v2beta1`
22
+ * Updated `dns_v2beta1`
23
+ * Updated `drive_v2`
24
+ * Updated `drive_v3`
25
+ * Updated `games_management_v1management`
26
+ * Updated `gmail_v1`
27
+ * Updated `logging_v2`
28
+ * Updated `logging_v2beta1`
29
+ * Updated `ml_v1`
30
+ * Updated `monitoring_v3`
31
+ * Updated `people_v1`
32
+ * Updated `runtimeconfig_v1`
33
+ * Updated `runtimeconfig_v1beta1`
34
+ * Updated `servicecontrol_v1`
35
+ * Updated `slides_v1`
36
+ * Updated `speech_v1`
37
+ * Updated `speech_v1beta1`
38
+ * Updated `storagetransfer_v1`
39
+ * Updated `toolresults_v1beta3`
40
+ * Updated `toolresults_v1beta3firstparty`
41
+ * Updated `vault_v1`
42
+ * Updated `youtube_partner_v1`
43
+
1
44
  # 0.13.4
2
45
  * Backwards compatible changes:
3
46
  * Updated `compute_alpha`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
27
27
  module Adexchangebuyer2V2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20170809'
29
+ REVISION = '20170825'
30
30
 
31
31
  # Manage your Ad Exchange buyer account configuration
32
32
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -546,10 +546,11 @@ module Google
546
546
  # <li>openAuctionStatus: `approved, conditionally_approved, disapproved,
547
547
  # not_checked`
548
548
  # <li>attribute: `a numeric attribute from the list of attributes`
549
- # <li>disapprovalReason: `a reason from DisapprovalReason
549
+ # <li>disapprovalReason: `a reason from
550
+ # DisapprovalReason
550
551
  # </ul>
551
- # Example: 'accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason:
552
- # unacceptable_content) OR attribute:47'
552
+ # Example: 'accountId=12345 AND (dealsStatus:disapproved AND
553
+ # disapprovalReason:unacceptable_content) OR attribute:47'
553
554
  # @param [String] fields
554
555
  # Selector specifying which fields to include in a partial response.
555
556
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/admin-sdk/directory/
27
27
  module AdminDirectoryV1
28
28
  VERSION = 'DirectoryV1'
29
- REVISION = '20170712'
29
+ REVISION = '20170723'
30
30
 
31
31
  # View and manage customer related information
32
32
  AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/adsense/host/
27
27
  module AdsensehostV4_1
28
28
  VERSION = 'V4_1'
29
- REVISION = '20170425'
29
+ REVISION = '20170830'
30
30
 
31
31
  # View and manage your AdSense host data and associated accounts
32
32
  AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/zero-touch/
27
27
  module AndroiddeviceprovisioningV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170819'
29
+ REVISION = '20170825'
30
30
  end
31
31
  end
32
32
  end
@@ -497,7 +497,7 @@ module Google
497
497
  include Google::Apis::Core::Hashable
498
498
 
499
499
  # If the value is `false`, it means the operation is still in progress.
500
- # If true, the operation is completed, and either `error` or `response` is
500
+ # If `true`, the operation is completed, and either `error` or `response` is
501
501
  # available.
502
502
  # Corresponds to the JSON property `done`
503
503
  # @return [Boolean]
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android/work/play/emm-api
26
26
  module AndroidenterpriseV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170803'
28
+ REVISION = '20170823'
29
29
 
30
30
  # Manage corporate Android devices
31
31
  AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
@@ -1520,6 +1520,11 @@ module Google
1520
1520
  attr_accessor :requires_container_app
1521
1521
  alias_method :requires_container_app?, :requires_container_app
1522
1522
 
1523
+ # The certificate used to sign this product.
1524
+ # Corresponds to the JSON property `signingCertificate`
1525
+ # @return [Google::Apis::AndroidenterpriseV1::ProductSigningCertificate]
1526
+ attr_accessor :signing_certificate
1527
+
1523
1528
  # A link to a smaller image that can be used as an icon for the product. This
1524
1529
  # image is suitable for use at up to 128px x 128px.
1525
1530
  # Corresponds to the JSON property `smallIconUrl`
@@ -1552,6 +1557,7 @@ module Google
1552
1557
  @product_id = args[:product_id] if args.key?(:product_id)
1553
1558
  @product_pricing = args[:product_pricing] if args.key?(:product_pricing)
1554
1559
  @requires_container_app = args[:requires_container_app] if args.key?(:requires_container_app)
1560
+ @signing_certificate = args[:signing_certificate] if args.key?(:signing_certificate)
1555
1561
  @small_icon_url = args[:small_icon_url] if args.key?(:small_icon_url)
1556
1562
  @title = args[:title] if args.key?(:title)
1557
1563
  @work_details_url = args[:work_details_url] if args.key?(:work_details_url)
@@ -1715,6 +1721,33 @@ module Google
1715
1721
  end
1716
1722
  end
1717
1723
 
1724
+ #
1725
+ class ProductSigningCertificate
1726
+ include Google::Apis::Core::Hashable
1727
+
1728
+ # The base64 urlsafe encoded SHA1 hash of the certificate. (This field is
1729
+ # deprecated in favor of SHA2-256. It should not be used and may be removed at
1730
+ # any time.)
1731
+ # Corresponds to the JSON property `certificateHashSha1`
1732
+ # @return [String]
1733
+ attr_accessor :certificate_hash_sha1
1734
+
1735
+ # The base64 urlsafe encoded SHA2-256 hash of the certificate.
1736
+ # Corresponds to the JSON property `certificateHashSha256`
1737
+ # @return [String]
1738
+ attr_accessor :certificate_hash_sha256
1739
+
1740
+ def initialize(**args)
1741
+ update!(**args)
1742
+ end
1743
+
1744
+ # Update properties of this object
1745
+ def update!(**args)
1746
+ @certificate_hash_sha1 = args[:certificate_hash_sha1] if args.key?(:certificate_hash_sha1)
1747
+ @certificate_hash_sha256 = args[:certificate_hash_sha256] if args.key?(:certificate_hash_sha256)
1748
+ end
1749
+ end
1750
+
1718
1751
  #
1719
1752
  class ApproveProductRequest
1720
1753
  include Google::Apis::Core::Hashable
@@ -292,6 +292,12 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
+ class ProductSigningCertificate
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
295
301
  class ApproveProductRequest
296
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
303
 
@@ -778,6 +784,8 @@ module Google
778
784
  property :product_id, as: 'productId'
779
785
  property :product_pricing, as: 'productPricing'
780
786
  property :requires_container_app, as: 'requiresContainerApp'
787
+ property :signing_certificate, as: 'signingCertificate', class: Google::Apis::AndroidenterpriseV1::ProductSigningCertificate, decorator: Google::Apis::AndroidenterpriseV1::ProductSigningCertificate::Representation
788
+
781
789
  property :small_icon_url, as: 'smallIconUrl'
782
790
  property :title, as: 'title'
783
791
  property :work_details_url, as: 'workDetailsUrl'
@@ -827,6 +835,14 @@ module Google
827
835
  end
828
836
  end
829
837
 
838
+ class ProductSigningCertificate
839
+ # @private
840
+ class Representation < Google::Apis::Core::JsonRepresentation
841
+ property :certificate_hash_sha1, as: 'certificateHashSha1'
842
+ property :certificate_hash_sha256, as: 'certificateHashSha256'
843
+ end
844
+ end
845
+
830
846
  class ApproveProductRequest
831
847
  # @private
832
848
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -743,7 +743,7 @@ module Google
743
743
  execute_or_queue_command(command, &block)
744
744
  end
745
745
 
746
- # Sends a test push notification to validate the EMM integration with the Google
746
+ # Sends a test notification to validate the EMM integration with the Google
747
747
  # Cloud Pub/Sub service for this enterprise.
748
748
  # @param [String] enterprise_id
749
749
  # The ID of the enterprise.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV1_1
27
27
  VERSION = 'V1_1'
28
- REVISION = '20170808'
28
+ REVISION = '20170815'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV2
27
27
  VERSION = 'V2'
28
- REVISION = '20170808'
28
+ REVISION = '20170815'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryV2
27
27
  VERSION = 'V2'
28
- REVISION = '20170806'
28
+ REVISION = '20170825'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -3124,8 +3124,16 @@ module Google
3124
3124
  # @return [Fixnum]
3125
3125
  attr_accessor :expiration_ms
3126
3126
 
3127
+ # [Experimental] [Optional] If not set, the table is partitioned by pseudo
3128
+ # column '_PARTITIONTIME'; if set, the table is partitioned by this field. The
3129
+ # field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE
3130
+ # or REQUIRED.
3131
+ # Corresponds to the JSON property `field`
3132
+ # @return [String]
3133
+ attr_accessor :field
3134
+
3127
3135
  # [Required] The only type supported is DAY, which will generate one partition
3128
- # per day based on data loading time.
3136
+ # per day.
3129
3137
  # Corresponds to the JSON property `type`
3130
3138
  # @return [String]
3131
3139
  attr_accessor :type
@@ -3137,6 +3145,7 @@ module Google
3137
3145
  # Update properties of this object
3138
3146
  def update!(**args)
3139
3147
  @expiration_ms = args[:expiration_ms] if args.key?(:expiration_ms)
3148
+ @field = args[:field] if args.key?(:field)
3140
3149
  @type = args[:type] if args.key?(:type)
3141
3150
  end
3142
3151
  end
@@ -1100,6 +1100,7 @@ module Google
1100
1100
  # @private
1101
1101
  class Representation < Google::Apis::Core::JsonRepresentation
1102
1102
  property :expiration_ms, :numeric_string => true, as: 'expirationMs'
1103
+ property :field, as: 'field'
1103
1104
  property :type, as: 'type'
1104
1105
  end
1105
1106
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/kms/
27
27
  module CloudkmsV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170821'
29
+ REVISION = '20170829'
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'
@@ -194,116 +194,6 @@ module Google
194
194
  end
195
195
  end
196
196
 
197
- # Write a Cloud Audit log
198
- class CloudAuditOptions
199
- include Google::Apis::Core::Hashable
200
-
201
- # The log_name to populate in the Cloud Audit Record.
202
- # Corresponds to the JSON property `logName`
203
- # @return [String]
204
- attr_accessor :log_name
205
-
206
- def initialize(**args)
207
- update!(**args)
208
- end
209
-
210
- # Update properties of this object
211
- def update!(**args)
212
- @log_name = args[:log_name] if args.key?(:log_name)
213
- end
214
- end
215
-
216
- # A condition to be met.
217
- class Condition
218
- include Google::Apis::Core::Hashable
219
-
220
- # Trusted attributes supplied by the IAM system.
221
- # Corresponds to the JSON property `iam`
222
- # @return [String]
223
- attr_accessor :iam
224
-
225
- # An operator to apply the subject with.
226
- # Corresponds to the JSON property `op`
227
- # @return [String]
228
- attr_accessor :op
229
-
230
- # Trusted attributes discharged by the service.
231
- # Corresponds to the JSON property `svc`
232
- # @return [String]
233
- attr_accessor :svc
234
-
235
- # Trusted attributes supplied by any service that owns resources and uses
236
- # the IAM system for access control.
237
- # Corresponds to the JSON property `sys`
238
- # @return [String]
239
- attr_accessor :sys
240
-
241
- # DEPRECATED. Use 'values' instead.
242
- # Corresponds to the JSON property `value`
243
- # @return [String]
244
- attr_accessor :value
245
-
246
- # The objects of the condition. This is mutually exclusive with 'value'.
247
- # Corresponds to the JSON property `values`
248
- # @return [Array<String>]
249
- attr_accessor :values
250
-
251
- def initialize(**args)
252
- update!(**args)
253
- end
254
-
255
- # Update properties of this object
256
- def update!(**args)
257
- @iam = args[:iam] if args.key?(:iam)
258
- @op = args[:op] if args.key?(:op)
259
- @svc = args[:svc] if args.key?(:svc)
260
- @sys = args[:sys] if args.key?(:sys)
261
- @value = args[:value] if args.key?(:value)
262
- @values = args[:values] if args.key?(:values)
263
- end
264
- end
265
-
266
- # Increment a streamz counter with the specified metric and field names.
267
- # Metric names should start with a '/', generally be lowercase-only,
268
- # and end in "_count". Field names should not contain an initial slash.
269
- # The actual exported metric names will have "/iam/policy" prepended.
270
- # Field names correspond to IAM request parameters and field values are
271
- # their respective values.
272
- # At present the only supported field names are
273
- # - "iam_principal", corresponding to IAMContext.principal;
274
- # - "" (empty string), resulting in one aggretated counter with no field.
275
- # Examples:
276
- # counter ` metric: "/debug_access_count" field: "iam_principal" `
277
- # ==> increment counter /iam/policy/backend_debug_access_count
278
- # `iam_principal=[value of IAMContext.principal]`
279
- # At this time we do not support:
280
- # * multiple field names (though this may be supported in the future)
281
- # * decrementing the counter
282
- # * incrementing it by anything other than 1
283
- class CounterOptions
284
- include Google::Apis::Core::Hashable
285
-
286
- # The field value to attribute.
287
- # Corresponds to the JSON property `field`
288
- # @return [String]
289
- attr_accessor :field
290
-
291
- # The metric to update.
292
- # Corresponds to the JSON property `metric`
293
- # @return [String]
294
- attr_accessor :metric
295
-
296
- def initialize(**args)
297
- update!(**args)
298
- end
299
-
300
- # Update properties of this object
301
- def update!(**args)
302
- @field = args[:field] if args.key?(:field)
303
- @metric = args[:metric] if args.key?(:metric)
304
- end
305
- end
306
-
307
197
  # A CryptoKey represents a logical key that can be used for cryptographic
308
198
  # operations.
309
199
  # A CryptoKey is made up of one or more versions, which
@@ -316,6 +206,11 @@ module Google
316
206
  # @return [String]
317
207
  attr_accessor :create_time
318
208
 
209
+ # Labels with user defined metadata.
210
+ # Corresponds to the JSON property `labels`
211
+ # @return [Hash<String,String>]
212
+ attr_accessor :labels
213
+
319
214
  # Output only. The resource name for this CryptoKey in the format
320
215
  # `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
321
216
  # Corresponds to the JSON property `name`
@@ -366,6 +261,7 @@ module Google
366
261
  # Update properties of this object
367
262
  def update!(**args)
368
263
  @create_time = args[:create_time] if args.key?(:create_time)
264
+ @labels = args[:labels] if args.key?(:labels)
369
265
  @name = args[:name] if args.key?(:name)
370
266
  @next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time)
371
267
  @primary = args[:primary] if args.key?(:primary)
@@ -430,26 +326,6 @@ module Google
430
326
  end
431
327
  end
432
328
 
433
- # Write a Data Access (Gin) log
434
- class DataAccessOptions
435
- include Google::Apis::Core::Hashable
436
-
437
- # Whether Gin logging should happen in a fail-closed manner at the caller.
438
- # This is relevant only in the LocalIAM implementation, for now.
439
- # Corresponds to the JSON property `logMode`
440
- # @return [String]
441
- attr_accessor :log_mode
442
-
443
- def initialize(**args)
444
- update!(**args)
445
- end
446
-
447
- # Update properties of this object
448
- def update!(**args)
449
- @log_mode = args[:log_mode] if args.key?(:log_mode)
450
- end
451
- end
452
-
453
329
  # Request message for KeyManagementService.Decrypt.
454
330
  class DecryptRequest
455
331
  include Google::Apis::Core::Hashable
@@ -803,53 +679,6 @@ module Google
803
679
  end
804
680
  end
805
681
 
806
- # Specifies what kind of log the caller must write
807
- class LogConfig
808
- include Google::Apis::Core::Hashable
809
-
810
- # Write a Cloud Audit log
811
- # Corresponds to the JSON property `cloudAudit`
812
- # @return [Google::Apis::CloudkmsV1::CloudAuditOptions]
813
- attr_accessor :cloud_audit
814
-
815
- # Increment a streamz counter with the specified metric and field names.
816
- # Metric names should start with a '/', generally be lowercase-only,
817
- # and end in "_count". Field names should not contain an initial slash.
818
- # The actual exported metric names will have "/iam/policy" prepended.
819
- # Field names correspond to IAM request parameters and field values are
820
- # their respective values.
821
- # At present the only supported field names are
822
- # - "iam_principal", corresponding to IAMContext.principal;
823
- # - "" (empty string), resulting in one aggretated counter with no field.
824
- # Examples:
825
- # counter ` metric: "/debug_access_count" field: "iam_principal" `
826
- # ==> increment counter /iam/policy/backend_debug_access_count
827
- # `iam_principal=[value of IAMContext.principal]`
828
- # At this time we do not support:
829
- # * multiple field names (though this may be supported in the future)
830
- # * decrementing the counter
831
- # * incrementing it by anything other than 1
832
- # Corresponds to the JSON property `counter`
833
- # @return [Google::Apis::CloudkmsV1::CounterOptions]
834
- attr_accessor :counter
835
-
836
- # Write a Data Access (Gin) log
837
- # Corresponds to the JSON property `dataAccess`
838
- # @return [Google::Apis::CloudkmsV1::DataAccessOptions]
839
- attr_accessor :data_access
840
-
841
- def initialize(**args)
842
- update!(**args)
843
- end
844
-
845
- # Update properties of this object
846
- def update!(**args)
847
- @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
848
- @counter = args[:counter] if args.key?(:counter)
849
- @data_access = args[:data_access] if args.key?(:data_access)
850
- end
851
- end
852
-
853
682
  # Defines an Identity and Access Management (IAM) policy. It is used to
854
683
  # specify access control policies for Cloud Platform resources.
855
684
  # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
@@ -910,19 +739,6 @@ module Google
910
739
  attr_accessor :iam_owned
911
740
  alias_method :iam_owned?, :iam_owned
912
741
 
913
- # If more than one rule is specified, the rules are applied in the following
914
- # manner:
915
- # - All matching LOG rules are always applied.
916
- # - If any DENY/DENY_WITH_LOG rule matches, permission is denied.
917
- # Logging will be applied if one or more matching rule requires logging.
918
- # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is
919
- # granted.
920
- # Logging will be applied if one or more matching rule requires logging.
921
- # - Otherwise, if no rule applies, permission is denied.
922
- # Corresponds to the JSON property `rules`
923
- # @return [Array<Google::Apis::CloudkmsV1::Rule>]
924
- attr_accessor :rules
925
-
926
742
  # Version of the `Policy`. The default version is 0.
927
743
  # Corresponds to the JSON property `version`
928
744
  # @return [Fixnum]
@@ -938,7 +754,6 @@ module Google
938
754
  @bindings = args[:bindings] if args.key?(:bindings)
939
755
  @etag = args[:etag] if args.key?(:etag)
940
756
  @iam_owned = args[:iam_owned] if args.key?(:iam_owned)
941
- @rules = args[:rules] if args.key?(:rules)
942
757
  @version = args[:version] if args.key?(:version)
943
758
  end
944
759
  end
@@ -956,68 +771,6 @@ module Google
956
771
  end
957
772
  end
958
773
 
959
- # A rule to be applied in a Policy.
960
- class Rule
961
- include Google::Apis::Core::Hashable
962
-
963
- # Required
964
- # Corresponds to the JSON property `action`
965
- # @return [String]
966
- attr_accessor :action
967
-
968
- # Additional restrictions that must be met
969
- # Corresponds to the JSON property `conditions`
970
- # @return [Array<Google::Apis::CloudkmsV1::Condition>]
971
- attr_accessor :conditions
972
-
973
- # Human-readable description of the rule.
974
- # Corresponds to the JSON property `description`
975
- # @return [String]
976
- attr_accessor :description
977
-
978
- # If one or more 'in' clauses are specified, the rule matches if
979
- # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
980
- # Corresponds to the JSON property `in`
981
- # @return [Array<String>]
982
- attr_accessor :in
983
-
984
- # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
985
- # that match the LOG action.
986
- # Corresponds to the JSON property `logConfig`
987
- # @return [Array<Google::Apis::CloudkmsV1::LogConfig>]
988
- attr_accessor :log_config
989
-
990
- # If one or more 'not_in' clauses are specified, the rule matches
991
- # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
992
- # The format for in and not_in entries is the same as for members in a
993
- # Binding (see google/iam/v1/policy.proto).
994
- # Corresponds to the JSON property `notIn`
995
- # @return [Array<String>]
996
- attr_accessor :not_in
997
-
998
- # A permission is a string of form '<service>.<resource type>.<verb>'
999
- # (e.g., 'storage.buckets.list'). A value of '*' matches all permissions,
1000
- # and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
1001
- # Corresponds to the JSON property `permissions`
1002
- # @return [Array<String>]
1003
- attr_accessor :permissions
1004
-
1005
- def initialize(**args)
1006
- update!(**args)
1007
- end
1008
-
1009
- # Update properties of this object
1010
- def update!(**args)
1011
- @action = args[:action] if args.key?(:action)
1012
- @conditions = args[:conditions] if args.key?(:conditions)
1013
- @description = args[:description] if args.key?(:description)
1014
- @in = args[:in] if args.key?(:in)
1015
- @log_config = args[:log_config] if args.key?(:log_config)
1016
- @not_in = args[:not_in] if args.key?(:not_in)
1017
- @permissions = args[:permissions] if args.key?(:permissions)
1018
- end
1019
- end
1020
-
1021
774
  # Request message for `SetIamPolicy` method.
1022
775
  class SetIamPolicyRequest
1023
776
  include Google::Apis::Core::Hashable