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
@@ -22,12 +22,30 @@ module Google
22
22
  module Apis
23
23
  module LoggingV2beta1
24
24
 
25
+ class BucketOptions
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class Empty
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
28
34
  include Google::Apis::Core::JsonObjectSupport
29
35
  end
30
36
 
37
+ class Explicit
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Exponential
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
31
49
  class HttpRequest
32
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
51
 
@@ -40,6 +58,12 @@ module Google
40
58
  include Google::Apis::Core::JsonObjectSupport
41
59
  end
42
60
 
61
+ class Linear
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
43
67
  class ListLogEntriesRequest
44
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
69
 
@@ -112,6 +136,12 @@ module Google
112
136
  include Google::Apis::Core::JsonObjectSupport
113
137
  end
114
138
 
139
+ class MetricDescriptor
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
115
145
  class MonitoredResource
116
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
147
 
@@ -154,12 +184,40 @@ module Google
154
184
  include Google::Apis::Core::JsonObjectSupport
155
185
  end
156
186
 
187
+ class BucketOptions
188
+ # @private
189
+ class Representation < Google::Apis::Core::JsonRepresentation
190
+ property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::LoggingV2beta1::Explicit, decorator: Google::Apis::LoggingV2beta1::Explicit::Representation
191
+
192
+ property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::LoggingV2beta1::Exponential, decorator: Google::Apis::LoggingV2beta1::Exponential::Representation
193
+
194
+ property :linear_buckets, as: 'linearBuckets', class: Google::Apis::LoggingV2beta1::Linear, decorator: Google::Apis::LoggingV2beta1::Linear::Representation
195
+
196
+ end
197
+ end
198
+
157
199
  class Empty
158
200
  # @private
159
201
  class Representation < Google::Apis::Core::JsonRepresentation
160
202
  end
161
203
  end
162
204
 
205
+ class Explicit
206
+ # @private
207
+ class Representation < Google::Apis::Core::JsonRepresentation
208
+ collection :bounds, as: 'bounds'
209
+ end
210
+ end
211
+
212
+ class Exponential
213
+ # @private
214
+ class Representation < Google::Apis::Core::JsonRepresentation
215
+ property :growth_factor, as: 'growthFactor'
216
+ property :num_finite_buckets, as: 'numFiniteBuckets'
217
+ property :scale, as: 'scale'
218
+ end
219
+ end
220
+
163
221
  class HttpRequest
164
222
  # @private
165
223
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -190,6 +248,15 @@ module Google
190
248
  end
191
249
  end
192
250
 
251
+ class Linear
252
+ # @private
253
+ class Representation < Google::Apis::Core::JsonRepresentation
254
+ property :num_finite_buckets, as: 'numFiniteBuckets'
255
+ property :offset, as: 'offset'
256
+ property :width, as: 'width'
257
+ end
258
+ end
259
+
193
260
  class ListLogEntriesRequest
194
261
  # @private
195
262
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -303,9 +370,15 @@ module Google
303
370
  class LogMetric
304
371
  # @private
305
372
  class Representation < Google::Apis::Core::JsonRepresentation
373
+ property :bucket_options, as: 'bucketOptions', class: Google::Apis::LoggingV2beta1::BucketOptions, decorator: Google::Apis::LoggingV2beta1::BucketOptions::Representation
374
+
306
375
  property :description, as: 'description'
307
376
  property :filter, as: 'filter'
377
+ hash :label_extractors, as: 'labelExtractors'
378
+ property :metric_descriptor, as: 'metricDescriptor', class: Google::Apis::LoggingV2beta1::MetricDescriptor, decorator: Google::Apis::LoggingV2beta1::MetricDescriptor::Representation
379
+
308
380
  property :name, as: 'name'
381
+ property :value_extractor, as: 'valueExtractor'
309
382
  property :version, as: 'version'
310
383
  end
311
384
  end
@@ -324,6 +397,21 @@ module Google
324
397
  end
325
398
  end
326
399
 
400
+ class MetricDescriptor
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ property :description, as: 'description'
404
+ property :display_name, as: 'displayName'
405
+ collection :labels, as: 'labels', class: Google::Apis::LoggingV2beta1::LabelDescriptor, decorator: Google::Apis::LoggingV2beta1::LabelDescriptor::Representation
406
+
407
+ property :metric_kind, as: 'metricKind'
408
+ property :name, as: 'name'
409
+ property :type, as: 'type'
410
+ property :unit, as: 'unit'
411
+ property :value_type, as: 'valueType'
412
+ end
413
+ end
414
+
327
415
  class MonitoredResource
328
416
  # @private
329
417
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -163,7 +163,10 @@ module Google
163
163
  execute_or_queue_command(command, &block)
164
164
  end
165
165
 
166
- # Writes log entries to Stackdriver Logging.
166
+ # Log entry resourcesWrites log entries to Stackdriver Logging. This API method
167
+ # is the only way to send log entries to Stackdriver Logging. This method is
168
+ # used, directly or indirectly, by the Stackdriver Logging agent (fluentd) and
169
+ # all logging libraries configured to use Stackdriver Logging.
167
170
  # @param [Google::Apis::LoggingV2beta1::WriteLogEntriesRequest] write_log_entries_request_object
168
171
  # @param [String] fields
169
172
  # Selector specifying which fields to include in a partial response.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170819'
28
+ REVISION = '20170825'
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'
@@ -1310,86 +1310,6 @@ module Google
1310
1310
  end
1311
1311
  end
1312
1312
 
1313
- # Write a Cloud Audit log
1314
- class GoogleIamV1LogConfigCloudAuditOptions
1315
- include Google::Apis::Core::Hashable
1316
-
1317
- # The log_name to populate in the Cloud Audit Record.
1318
- # Corresponds to the JSON property `logName`
1319
- # @return [String]
1320
- attr_accessor :log_name
1321
-
1322
- def initialize(**args)
1323
- update!(**args)
1324
- end
1325
-
1326
- # Update properties of this object
1327
- def update!(**args)
1328
- @log_name = args[:log_name] if args.key?(:log_name)
1329
- end
1330
- end
1331
-
1332
- # Increment a streamz counter with the specified metric and field names.
1333
- # Metric names should start with a '/', generally be lowercase-only,
1334
- # and end in "_count". Field names should not contain an initial slash.
1335
- # The actual exported metric names will have "/iam/policy" prepended.
1336
- # Field names correspond to IAM request parameters and field values are
1337
- # their respective values.
1338
- # At present the only supported field names are
1339
- # - "iam_principal", corresponding to IAMContext.principal;
1340
- # - "" (empty string), resulting in one aggretated counter with no field.
1341
- # Examples:
1342
- # counter ` metric: "/debug_access_count" field: "iam_principal" `
1343
- # ==> increment counter /iam/policy/backend_debug_access_count
1344
- # `iam_principal=[value of IAMContext.principal]`
1345
- # At this time we do not support:
1346
- # * multiple field names (though this may be supported in the future)
1347
- # * decrementing the counter
1348
- # * incrementing it by anything other than 1
1349
- class GoogleIamV1LogConfigCounterOptions
1350
- include Google::Apis::Core::Hashable
1351
-
1352
- # The field value to attribute.
1353
- # Corresponds to the JSON property `field`
1354
- # @return [String]
1355
- attr_accessor :field
1356
-
1357
- # The metric to update.
1358
- # Corresponds to the JSON property `metric`
1359
- # @return [String]
1360
- attr_accessor :metric
1361
-
1362
- def initialize(**args)
1363
- update!(**args)
1364
- end
1365
-
1366
- # Update properties of this object
1367
- def update!(**args)
1368
- @field = args[:field] if args.key?(:field)
1369
- @metric = args[:metric] if args.key?(:metric)
1370
- end
1371
- end
1372
-
1373
- # Write a Data Access (Gin) log
1374
- class GoogleIamV1LogConfigDataAccessOptions
1375
- include Google::Apis::Core::Hashable
1376
-
1377
- # Whether Gin logging should happen in a fail-closed manner at the caller.
1378
- # This is relevant only in the LocalIAM implementation, for now.
1379
- # Corresponds to the JSON property `logMode`
1380
- # @return [String]
1381
- attr_accessor :log_mode
1382
-
1383
- def initialize(**args)
1384
- update!(**args)
1385
- end
1386
-
1387
- # Update properties of this object
1388
- def update!(**args)
1389
- @log_mode = args[:log_mode] if args.key?(:log_mode)
1390
- end
1391
- end
1392
-
1393
1313
  # Specifies the audit configuration for a service.
1394
1314
  # The configuration determines which permission types are logged, and what
1395
1315
  # identities, if any, are exempted from logging.
@@ -1562,103 +1482,6 @@ module Google
1562
1482
  end
1563
1483
  end
1564
1484
 
1565
- # A condition to be met.
1566
- class GoogleIamV1Condition
1567
- include Google::Apis::Core::Hashable
1568
-
1569
- # Trusted attributes supplied by the IAM system.
1570
- # Corresponds to the JSON property `iam`
1571
- # @return [String]
1572
- attr_accessor :iam
1573
-
1574
- # An operator to apply the subject with.
1575
- # Corresponds to the JSON property `op`
1576
- # @return [String]
1577
- attr_accessor :op
1578
-
1579
- # Trusted attributes discharged by the service.
1580
- # Corresponds to the JSON property `svc`
1581
- # @return [String]
1582
- attr_accessor :svc
1583
-
1584
- # Trusted attributes supplied by any service that owns resources and uses
1585
- # the IAM system for access control.
1586
- # Corresponds to the JSON property `sys`
1587
- # @return [String]
1588
- attr_accessor :sys
1589
-
1590
- # DEPRECATED. Use 'values' instead.
1591
- # Corresponds to the JSON property `value`
1592
- # @return [String]
1593
- attr_accessor :value
1594
-
1595
- # The objects of the condition. This is mutually exclusive with 'value'.
1596
- # Corresponds to the JSON property `values`
1597
- # @return [Array<String>]
1598
- attr_accessor :values
1599
-
1600
- def initialize(**args)
1601
- update!(**args)
1602
- end
1603
-
1604
- # Update properties of this object
1605
- def update!(**args)
1606
- @iam = args[:iam] if args.key?(:iam)
1607
- @op = args[:op] if args.key?(:op)
1608
- @svc = args[:svc] if args.key?(:svc)
1609
- @sys = args[:sys] if args.key?(:sys)
1610
- @value = args[:value] if args.key?(:value)
1611
- @values = args[:values] if args.key?(:values)
1612
- end
1613
- end
1614
-
1615
- # Specifies what kind of log the caller must write
1616
- class GoogleIamV1LogConfig
1617
- include Google::Apis::Core::Hashable
1618
-
1619
- # Write a Cloud Audit log
1620
- # Corresponds to the JSON property `cloudAudit`
1621
- # @return [Google::Apis::MlV1::GoogleIamV1LogConfigCloudAuditOptions]
1622
- attr_accessor :cloud_audit
1623
-
1624
- # Increment a streamz counter with the specified metric and field names.
1625
- # Metric names should start with a '/', generally be lowercase-only,
1626
- # and end in "_count". Field names should not contain an initial slash.
1627
- # The actual exported metric names will have "/iam/policy" prepended.
1628
- # Field names correspond to IAM request parameters and field values are
1629
- # their respective values.
1630
- # At present the only supported field names are
1631
- # - "iam_principal", corresponding to IAMContext.principal;
1632
- # - "" (empty string), resulting in one aggretated counter with no field.
1633
- # Examples:
1634
- # counter ` metric: "/debug_access_count" field: "iam_principal" `
1635
- # ==> increment counter /iam/policy/backend_debug_access_count
1636
- # `iam_principal=[value of IAMContext.principal]`
1637
- # At this time we do not support:
1638
- # * multiple field names (though this may be supported in the future)
1639
- # * decrementing the counter
1640
- # * incrementing it by anything other than 1
1641
- # Corresponds to the JSON property `counter`
1642
- # @return [Google::Apis::MlV1::GoogleIamV1LogConfigCounterOptions]
1643
- attr_accessor :counter
1644
-
1645
- # Write a Data Access (Gin) log
1646
- # Corresponds to the JSON property `dataAccess`
1647
- # @return [Google::Apis::MlV1::GoogleIamV1LogConfigDataAccessOptions]
1648
- attr_accessor :data_access
1649
-
1650
- def initialize(**args)
1651
- update!(**args)
1652
- end
1653
-
1654
- # Update properties of this object
1655
- def update!(**args)
1656
- @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
1657
- @counter = args[:counter] if args.key?(:counter)
1658
- @data_access = args[:data_access] if args.key?(:data_access)
1659
- end
1660
- end
1661
-
1662
1485
  # Defines an Identity and Access Management (IAM) policy. It is used to
1663
1486
  # specify access control policies for Cloud Platform resources.
1664
1487
  # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
@@ -1719,19 +1542,6 @@ module Google
1719
1542
  attr_accessor :iam_owned
1720
1543
  alias_method :iam_owned?, :iam_owned
1721
1544
 
1722
- # If more than one rule is specified, the rules are applied in the following
1723
- # manner:
1724
- # - All matching LOG rules are always applied.
1725
- # - If any DENY/DENY_WITH_LOG rule matches, permission is denied.
1726
- # Logging will be applied if one or more matching rule requires logging.
1727
- # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is
1728
- # granted.
1729
- # Logging will be applied if one or more matching rule requires logging.
1730
- # - Otherwise, if no rule applies, permission is denied.
1731
- # Corresponds to the JSON property `rules`
1732
- # @return [Array<Google::Apis::MlV1::GoogleIamV1Rule>]
1733
- attr_accessor :rules
1734
-
1735
1545
  # Version of the `Policy`. The default version is 0.
1736
1546
  # Corresponds to the JSON property `version`
1737
1547
  # @return [Fixnum]
@@ -1747,73 +1557,10 @@ module Google
1747
1557
  @bindings = args[:bindings] if args.key?(:bindings)
1748
1558
  @etag = args[:etag] if args.key?(:etag)
1749
1559
  @iam_owned = args[:iam_owned] if args.key?(:iam_owned)
1750
- @rules = args[:rules] if args.key?(:rules)
1751
1560
  @version = args[:version] if args.key?(:version)
1752
1561
  end
1753
1562
  end
1754
1563
 
1755
- # A rule to be applied in a Policy.
1756
- class GoogleIamV1Rule
1757
- include Google::Apis::Core::Hashable
1758
-
1759
- # Required
1760
- # Corresponds to the JSON property `action`
1761
- # @return [String]
1762
- attr_accessor :action
1763
-
1764
- # Additional restrictions that must be met
1765
- # Corresponds to the JSON property `conditions`
1766
- # @return [Array<Google::Apis::MlV1::GoogleIamV1Condition>]
1767
- attr_accessor :conditions
1768
-
1769
- # Human-readable description of the rule.
1770
- # Corresponds to the JSON property `description`
1771
- # @return [String]
1772
- attr_accessor :description
1773
-
1774
- # If one or more 'in' clauses are specified, the rule matches if
1775
- # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
1776
- # Corresponds to the JSON property `in`
1777
- # @return [Array<String>]
1778
- attr_accessor :in
1779
-
1780
- # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
1781
- # that match the LOG action.
1782
- # Corresponds to the JSON property `logConfig`
1783
- # @return [Array<Google::Apis::MlV1::GoogleIamV1LogConfig>]
1784
- attr_accessor :log_config
1785
-
1786
- # If one or more 'not_in' clauses are specified, the rule matches
1787
- # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
1788
- # The format for in and not_in entries is the same as for members in a
1789
- # Binding (see google/iam/v1/policy.proto).
1790
- # Corresponds to the JSON property `notIn`
1791
- # @return [Array<String>]
1792
- attr_accessor :not_in
1793
-
1794
- # A permission is a string of form '<service>.<resource type>.<verb>'
1795
- # (e.g., 'storage.buckets.list'). A value of '*' matches all permissions,
1796
- # and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
1797
- # Corresponds to the JSON property `permissions`
1798
- # @return [Array<String>]
1799
- attr_accessor :permissions
1800
-
1801
- def initialize(**args)
1802
- update!(**args)
1803
- end
1804
-
1805
- # Update properties of this object
1806
- def update!(**args)
1807
- @action = args[:action] if args.key?(:action)
1808
- @conditions = args[:conditions] if args.key?(:conditions)
1809
- @description = args[:description] if args.key?(:description)
1810
- @in = args[:in] if args.key?(:in)
1811
- @log_config = args[:log_config] if args.key?(:log_config)
1812
- @not_in = args[:not_in] if args.key?(:not_in)
1813
- @permissions = args[:permissions] if args.key?(:permissions)
1814
- end
1815
- end
1816
-
1817
1564
  # Request message for `SetIamPolicy` method.
1818
1565
  class GoogleIamV1SetIamPolicyRequest
1819
1566
  include Google::Apis::Core::Hashable
@@ -1941,7 +1688,7 @@ module Google
1941
1688
  include Google::Apis::Core::Hashable
1942
1689
 
1943
1690
  # If the value is `false`, it means the operation is still in progress.
1944
- # If true, the operation is completed, and either `error` or `response` is
1691
+ # If `true`, the operation is completed, and either `error` or `response` is
1945
1692
  # available.
1946
1693
  # Corresponds to the JSON property `done`
1947
1694
  # @return [Boolean]