google-api-client 0.36.1 → 0.36.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidenterprise_v1/classes.rb +29 -58
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
  7. data/generated/google/apis/androidmanagement_v1/representations.rb +67 -0
  8. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  9. data/generated/google/apis/bigquery_v2.rb +1 -1
  10. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  11. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2/service.rb +19 -2
  13. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  14. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +6 -0
  15. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +1 -0
  16. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  17. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +6 -0
  18. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  19. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  20. data/generated/google/apis/cloudbuild_v1alpha1.rb +34 -0
  21. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1174 -0
  22. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +435 -0
  23. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +223 -0
  24. data/generated/google/apis/compute_alpha.rb +1 -1
  25. data/generated/google/apis/compute_alpha/classes.rb +234 -240
  26. data/generated/google/apis/compute_alpha/representations.rb +7 -47
  27. data/generated/google/apis/compute_alpha/service.rb +1233 -1068
  28. data/generated/google/apis/compute_beta.rb +1 -1
  29. data/generated/google/apis/compute_beta/classes.rb +936 -164
  30. data/generated/google/apis/compute_beta/representations.rb +371 -0
  31. data/generated/google/apis/compute_beta/service.rb +1394 -899
  32. data/generated/google/apis/compute_v1.rb +1 -1
  33. data/generated/google/apis/compute_v1/classes.rb +479 -147
  34. data/generated/google/apis/compute_v1/representations.rb +127 -0
  35. data/generated/google/apis/compute_v1/service.rb +813 -748
  36. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  37. data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -7
  38. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  39. data/generated/google/apis/datacatalog_v1beta1/service.rb +8 -3
  40. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  41. data/generated/google/apis/dataflow_v1b3/classes.rb +69 -0
  42. data/generated/google/apis/dataflow_v1b3/representations.rb +34 -0
  43. data/generated/google/apis/dataproc_v1.rb +1 -1
  44. data/generated/google/apis/dataproc_v1/classes.rb +73 -43
  45. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  46. data/generated/google/apis/dataproc_v1beta2/classes.rb +73 -43
  47. data/generated/google/apis/dialogflow_v2.rb +1 -1
  48. data/generated/google/apis/dialogflow_v2/classes.rb +44 -11
  49. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  50. data/generated/google/apis/dialogflow_v2beta1/classes.rb +44 -11
  51. data/generated/google/apis/dialogflow_v2beta1/service.rb +20 -0
  52. data/generated/google/apis/dns_v1.rb +1 -1
  53. data/generated/google/apis/dns_v1/classes.rb +70 -0
  54. data/generated/google/apis/dns_v1/representations.rb +32 -0
  55. data/generated/google/apis/dns_v2beta1.rb +1 -1
  56. data/generated/google/apis/dns_v2beta1/classes.rb +70 -0
  57. data/generated/google/apis/dns_v2beta1/representations.rb +32 -0
  58. data/generated/google/apis/docs_v1.rb +1 -1
  59. data/generated/google/apis/docs_v1/classes.rb +152 -0
  60. data/generated/google/apis/docs_v1/representations.rb +56 -0
  61. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  62. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  63. data/generated/google/apis/driveactivity_v2.rb +1 -1
  64. data/generated/google/apis/driveactivity_v2/classes.rb +6 -0
  65. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  66. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  67. data/generated/google/apis/firestore_v1.rb +1 -1
  68. data/generated/google/apis/firestore_v1/classes.rb +1 -1
  69. data/generated/google/apis/firestore_v1/service.rb +24 -22
  70. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  71. data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
  72. data/generated/google/apis/firestore_v1beta1/service.rb +16 -14
  73. data/generated/google/apis/fitness_v1.rb +11 -11
  74. data/generated/google/apis/games_management_v1management.rb +1 -1
  75. data/generated/google/apis/games_management_v1management/service.rb +5 -7
  76. data/generated/google/apis/iam_v1.rb +1 -1
  77. data/generated/google/apis/iam_v1/classes.rb +83 -141
  78. data/generated/google/apis/iam_v1/representations.rb +0 -6
  79. data/generated/google/apis/iam_v1/service.rb +11 -21
  80. data/generated/google/apis/language_v1beta2.rb +1 -1
  81. data/generated/google/apis/language_v1beta2/classes.rb +15 -0
  82. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  83. data/generated/google/apis/logging_v2.rb +3 -2
  84. data/generated/google/apis/logging_v2/service.rb +2 -1
  85. data/generated/google/apis/{surveys_v2.rb → prod_tt_sasportal_v1alpha1.rb} +9 -15
  86. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1084 -0
  87. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +503 -0
  88. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1322 -0
  89. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  90. data/generated/google/apis/recommender_v1beta1/classes.rb +6 -0
  91. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  92. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  93. data/generated/google/apis/run_v1alpha1.rb +1 -1
  94. data/generated/google/apis/run_v1alpha1/classes.rb +424 -0
  95. data/generated/google/apis/run_v1alpha1/representations.rb +161 -0
  96. data/generated/google/apis/run_v1alpha1/service.rb +862 -46
  97. data/generated/google/apis/run_v1beta1.rb +1 -1
  98. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  99. data/generated/google/apis/sasportal_v1alpha1.rb +34 -0
  100. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1084 -0
  101. data/generated/google/apis/sasportal_v1alpha1/representations.rb +503 -0
  102. data/generated/google/apis/sasportal_v1alpha1/service.rb +1322 -0
  103. data/generated/google/apis/securitycenter_v1.rb +1 -1
  104. data/generated/google/apis/securitycenter_v1/classes.rb +18 -0
  105. data/generated/google/apis/securitycenter_v1/representations.rb +3 -0
  106. data/generated/google/apis/securitycenter_v1/service.rb +6 -0
  107. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  108. data/generated/google/apis/servicemanagement_v1/classes.rb +16 -1
  109. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  110. data/generated/google/apis/sheets_v4.rb +1 -1
  111. data/generated/google/apis/sheets_v4/classes.rb +187 -2
  112. data/generated/google/apis/sheets_v4/representations.rb +47 -0
  113. data/generated/google/apis/spanner_v1.rb +1 -1
  114. data/generated/google/apis/spanner_v1/classes.rb +104 -51
  115. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  116. data/generated/google/apis/spanner_v1/service.rb +6 -1
  117. data/generated/google/apis/sql_v1beta4.rb +1 -1
  118. data/generated/google/apis/sql_v1beta4/classes.rb +75 -4
  119. data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
  120. data/generated/google/apis/sql_v1beta4/service.rb +83 -2
  121. data/generated/google/apis/toolresults_v1.rb +31 -0
  122. data/generated/google/apis/toolresults_v1/classes.rb +696 -0
  123. data/generated/google/apis/toolresults_v1/representations.rb +438 -0
  124. data/generated/google/apis/toolresults_v1/service.rb +59 -0
  125. data/generated/google/apis/vision_v1.rb +1 -1
  126. data/generated/google/apis/vision_v1/service.rb +1 -1
  127. data/lib/google/apis/version.rb +1 -1
  128. metadata +19 -7
  129. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  130. data/generated/google/apis/surveys_v2/representations.rb +0 -305
  131. data/generated/google/apis/surveys_v2/service.rb +0 -348
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/fit/rest/
26
26
  module FitnessV1
27
27
  VERSION = 'V1'
28
- REVISION = '20191014'
28
+ REVISION = '20191129'
29
29
 
30
30
  # Use Google Fit to see and store your physical activity data
31
31
  AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
@@ -33,16 +33,16 @@ module Google
33
33
  # See and add to your Google Fit physical activity data
34
34
  AUTH_FITNESS_ACTIVITY_WRITE = 'https://www.googleapis.com/auth/fitness.activity.write'
35
35
 
36
- # See info about your blood glucose in Google Fit
36
+ # See info about your blood glucose in Google Fit. I consent to Google sharing my blood glucose information with this app.
37
37
  AUTH_FITNESS_BLOOD_GLUCOSE_READ = 'https://www.googleapis.com/auth/fitness.blood_glucose.read'
38
38
 
39
- # See and add info about your blood glucose to Google Fit
39
+ # See and add info about your blood glucose to Google Fit. I consent to Google sharing my blood glucose information with this app.
40
40
  AUTH_FITNESS_BLOOD_GLUCOSE_WRITE = 'https://www.googleapis.com/auth/fitness.blood_glucose.write'
41
41
 
42
- # See info about your blood pressure in Google Fit
42
+ # See info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.
43
43
  AUTH_FITNESS_BLOOD_PRESSURE_READ = 'https://www.googleapis.com/auth/fitness.blood_pressure.read'
44
44
 
45
- # See and add info about your blood pressure in Google Fit
45
+ # See and add info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.
46
46
  AUTH_FITNESS_BLOOD_PRESSURE_WRITE = 'https://www.googleapis.com/auth/fitness.blood_pressure.write'
47
47
 
48
48
  # See info about your body measurements and heart rate in Google Fit
@@ -51,10 +51,10 @@ module Google
51
51
  # See and add info about your body measurements and heart rate to Google Fit
52
52
  AUTH_FITNESS_BODY_WRITE = 'https://www.googleapis.com/auth/fitness.body.write'
53
53
 
54
- # See info about your body temperature in Google Fit
54
+ # See info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.
55
55
  AUTH_FITNESS_BODY_TEMPERATURE_READ = 'https://www.googleapis.com/auth/fitness.body_temperature.read'
56
56
 
57
- # See and add to info about your body temperature in Google Fit
57
+ # See and add to info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.
58
58
  AUTH_FITNESS_BODY_TEMPERATURE_WRITE = 'https://www.googleapis.com/auth/fitness.body_temperature.write'
59
59
 
60
60
  # See your Google Fit speed and distance data
@@ -69,16 +69,16 @@ module Google
69
69
  # See and add to info about your nutrition in Google Fit
70
70
  AUTH_FITNESS_NUTRITION_WRITE = 'https://www.googleapis.com/auth/fitness.nutrition.write'
71
71
 
72
- # See info about your oxygen saturation in Google Fit
72
+ # See info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.
73
73
  AUTH_FITNESS_OXYGEN_SATURATION_READ = 'https://www.googleapis.com/auth/fitness.oxygen_saturation.read'
74
74
 
75
- # See and add info about your oxygen saturation in Google Fit
75
+ # See and add info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.
76
76
  AUTH_FITNESS_OXYGEN_SATURATION_WRITE = 'https://www.googleapis.com/auth/fitness.oxygen_saturation.write'
77
77
 
78
- # See info about your reproductive health in Google Fit
78
+ # See info about your reproductive health in Google Fit. I consent to Google sharing my reporductive health information with this app.
79
79
  AUTH_FITNESS_REPRODUCTIVE_HEALTH_READ = 'https://www.googleapis.com/auth/fitness.reproductive_health.read'
80
80
 
81
- # See and add info about your reproductive health in Google Fit
81
+ # See and add info about your reproductive health in Google Fit. I consent to Google sharing my reporductive health information with this app.
82
82
  AUTH_FITNESS_REPRODUCTIVE_HEALTH_WRITE = 'https://www.googleapis.com/auth/fitness.reproductive_health.write'
83
83
  end
84
84
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/games/services
26
26
  module GamesManagementV1management
27
27
  VERSION = 'V1management'
28
- REVISION = '20191017'
28
+ REVISION = '20191205'
29
29
 
30
30
  # Create, edit, and delete your Google Play Games activity
31
31
  AUTH_GAMES = 'https://www.googleapis.com/auth/games'
@@ -257,8 +257,7 @@ module Google
257
257
 
258
258
  # Resets all player progress on the event with the given ID for the currently
259
259
  # authenticated player. This method is only accessible to whitelisted tester
260
- # accounts for your application. All quests for this player that use the event
261
- # will also be reset.
260
+ # accounts for your application.
262
261
  # @param [String] event_id
263
262
  # The ID of the event.
264
263
  # @param [String] fields
@@ -291,7 +290,7 @@ module Google
291
290
 
292
291
  # Resets all player progress on all events for the currently authenticated
293
292
  # player. This method is only accessible to whitelisted tester accounts for your
294
- # application. All quests for this player will also be reset.
293
+ # application.
295
294
  # @param [String] fields
296
295
  # Selector specifying which fields to include in a partial response.
297
296
  # @param [String] quota_user
@@ -320,8 +319,7 @@ module Google
320
319
  end
321
320
 
322
321
  # Resets all draft events for all players. This method is only available to user
323
- # accounts for your developer console. All quests that use any of these events
324
- # will also be reset.
322
+ # accounts for your developer console.
325
323
  # @param [String] fields
326
324
  # Selector specifying which fields to include in a partial response.
327
325
  # @param [String] quota_user
@@ -351,7 +349,7 @@ module Google
351
349
 
352
350
  # Resets the event with the given ID for all players. This method is only
353
351
  # available to user accounts for your developer console. Only draft events can
354
- # be reset. All quests that use the event will also be reset.
352
+ # be reset.
355
353
  # @param [String] event_id
356
354
  # The ID of the event.
357
355
  # @param [String] fields
@@ -384,7 +382,7 @@ module Google
384
382
 
385
383
  # Resets events with the given IDs for all players. This method is only
386
384
  # available to user accounts for your developer console. Only draft events may
387
- # be reset. All quests that use any of the events will also be reset.
385
+ # be reset.
388
386
  # @param [Google::Apis::GamesManagementV1management::EventsResetMultipleForAllRequest] events_reset_multiple_for_all_request_object
389
387
  # @param [String] fields
390
388
  # Selector specifying which fields to include in a partial response.
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/iam/
28
28
  module IamV1
29
29
  VERSION = 'V1'
30
- REVISION = '20191115'
30
+ REVISION = '20191213'
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'
@@ -225,6 +225,23 @@ module Google
225
225
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
226
226
  # * `group:`emailid``: An email address that represents a Google group.
227
227
  # For example, `admins@example.com`.
228
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
229
+ # identifier) representing a user that has been recently deleted. For
230
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
231
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
232
+ # retains the role in the binding.
233
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
234
+ # unique identifier) representing a service account that has been recently
235
+ # deleted. For example,
236
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
237
+ # If the service account is undeleted, this value reverts to
238
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
239
+ # role in the binding.
240
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
241
+ # identifier) representing a Google group that has been recently
242
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
243
+ # the group is recovered, this value reverts to `group:`emailid`` and the
244
+ # recovered group retains the role in the binding.
228
245
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
229
246
  # users of that domain. For example, `google.com` or `example.com`.
230
247
  # Corresponds to the JSON property `members`
@@ -481,16 +498,10 @@ module Google
481
498
  end
482
499
  end
483
500
 
484
- # The request to lint a Cloud IAM policy object. LintPolicy is currently
485
- # functional only for `lint_object` of type `condition`.
501
+ # The request to lint a Cloud IAM policy object.
486
502
  class LintPolicyRequest
487
503
  include Google::Apis::Core::Hashable
488
504
 
489
- # Associates `members` with a `role`.
490
- # Corresponds to the JSON property `binding`
491
- # @return [Google::Apis::IamV1::Binding]
492
- attr_accessor :binding
493
-
494
505
  # Represents an expression text. Example:
495
506
  # title: "User account presence"
496
507
  # description: "Determines whether the request has a user account"
@@ -499,13 +510,6 @@ module Google
499
510
  # @return [Google::Apis::IamV1::Expr]
500
511
  attr_accessor :condition
501
512
 
502
- # `context` contains additional *permission-controlled* data that any
503
- # lint unit may depend on, in form of ``key: value`` pairs. Currently, this
504
- # field is non-operational and it will not be used during the lint operation.
505
- # Corresponds to the JSON property `context`
506
- # @return [Hash<String,Object>]
507
- attr_accessor :context
508
-
509
513
  # The full resource name of the policy this lint request is about.
510
514
  # The name follows the Google Cloud Platform (GCP) resource format.
511
515
  # For example, a GCP project with ID `my-project` will be named
@@ -517,71 +521,14 @@ module Google
517
521
  # @return [String]
518
522
  attr_accessor :full_resource_name
519
523
 
520
- # Defines an Identity and Access Management (IAM) policy. It is used to
521
- # specify access control policies for Cloud Platform resources.
522
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
523
- # `members` to a single `role`. Members can be user accounts, service accounts,
524
- # Google groups, and domains (such as G Suite). A `role` is a named list of
525
- # permissions (defined by IAM or configured by users). A `binding` can
526
- # optionally specify a `condition`, which is a logic expression that further
527
- # constrains the role binding based on attributes about the request and/or
528
- # target resource.
529
- # **JSON Example**
530
- # `
531
- # "bindings": [
532
- # `
533
- # "role": "roles/resourcemanager.organizationAdmin",
534
- # "members": [
535
- # "user:mike@example.com",
536
- # "group:admins@example.com",
537
- # "domain:google.com",
538
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
539
- # ]
540
- # `,
541
- # `
542
- # "role": "roles/resourcemanager.organizationViewer",
543
- # "members": ["user:eve@example.com"],
544
- # "condition": `
545
- # "title": "expirable access",
546
- # "description": "Does not grant access after Sep 2020",
547
- # "expression": "request.time <
548
- # timestamp('2020-10-01T00:00:00.000Z')",
549
- # `
550
- # `
551
- # ]
552
- # `
553
- # **YAML Example**
554
- # bindings:
555
- # - members:
556
- # - user:mike@example.com
557
- # - group:admins@example.com
558
- # - domain:google.com
559
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
560
- # role: roles/resourcemanager.organizationAdmin
561
- # - members:
562
- # - user:eve@example.com
563
- # role: roles/resourcemanager.organizationViewer
564
- # condition:
565
- # title: expirable access
566
- # description: Does not grant access after Sep 2020
567
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
568
- # For a description of IAM and its features, see the
569
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
570
- # Corresponds to the JSON property `policy`
571
- # @return [Google::Apis::IamV1::Policy]
572
- attr_accessor :policy
573
-
574
524
  def initialize(**args)
575
525
  update!(**args)
576
526
  end
577
527
 
578
528
  # Update properties of this object
579
529
  def update!(**args)
580
- @binding = args[:binding] if args.key?(:binding)
581
530
  @condition = args[:condition] if args.key?(:condition)
582
- @context = args[:context] if args.key?(:context)
583
531
  @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
584
- @policy = args[:policy] if args.key?(:policy)
585
532
  end
586
533
  end
587
534
 
@@ -590,14 +537,7 @@ module Google
590
537
  class LintPolicyResponse
591
538
  include Google::Apis::Core::Hashable
592
539
 
593
- # List of lint results sorted by a composite <severity, binding_ordinal> key,
594
- # descending order of severity and ascending order of binding_ordinal.
595
- # There is no certain order among the same keys.
596
- # For cross-binding results (only if the input object to lint is
597
- # instance of google.iam.v1.Policy), there will be a
598
- # google.iam.admin.v1.LintResult for each of the involved bindings,
599
- # and the associated debug_message may enumerate the other involved
600
- # binding ordinal number(s).
540
+ # List of lint results sorted by `severity` in descending order.
601
541
  # Corresponds to the JSON property `lintResults`
602
542
  # @return [Array<Google::Apis::IamV1::LintResult>]
603
543
  attr_accessor :lint_results
@@ -616,31 +556,17 @@ module Google
616
556
  class LintResult
617
557
  include Google::Apis::Core::Hashable
618
558
 
619
- # 0-based index ordinality of the binding in the input object associated
620
- # with this result.
621
- # This field is populated only if the input object to lint is of type
622
- # google.iam.v1.Policy, which can comprise more than one binding.
623
- # It is set to -1 if the result is not associated with any particular
624
- # binding and only targets the policy as a whole, such as results about
625
- # policy size violations.
626
- # Corresponds to the JSON property `bindingOrdinal`
627
- # @return [Fixnum]
628
- attr_accessor :binding_ordinal
629
-
630
559
  # Human readable debug message associated with the issue.
631
560
  # Corresponds to the JSON property `debugMessage`
632
561
  # @return [String]
633
562
  attr_accessor :debug_message
634
563
 
635
564
  # The name of the field for which this lint result is about.
636
- # For nested messages, `field_name` consists of names of the embedded fields
565
+ # For nested messages `field_name` consists of names of the embedded fields
637
566
  # separated by period character. The top-level qualifier is the input object
638
- # to lint in the request. For instance, if the lint request is on a
639
- # google.iam.v1.Policy and this lint result is about a condition
640
- # expression of one of the input policy bindings, the field would be
641
- # populated as `policy.bindings.condition.expression`.
642
- # This field does not identify the ordinality of the repetitive fields (for
643
- # instance bindings in a policy).
567
+ # to lint in the request. For example, the `field_name` value
568
+ # `condition.expression` identifies a lint result for the `expression` field
569
+ # of the provided condition.
644
570
  # Corresponds to the JSON property `fieldName`
645
571
  # @return [String]
646
572
  attr_accessor :field_name
@@ -674,7 +600,6 @@ module Google
674
600
 
675
601
  # Update properties of this object
676
602
  def update!(**args)
677
- @binding_ordinal = args[:binding_ordinal] if args.key?(:binding_ordinal)
678
603
  @debug_message = args[:debug_message] if args.key?(:debug_message)
679
604
  @field_name = args[:field_name] if args.key?(:field_name)
680
605
  @level = args[:level] if args.key?(:level)
@@ -884,16 +809,18 @@ module Google
884
809
  end
885
810
  end
886
811
 
887
- # Defines an Identity and Access Management (IAM) policy. It is used to
888
- # specify access control policies for Cloud Platform resources.
812
+ # An Identity and Access Management (IAM) policy, which specifies access
813
+ # controls for Google Cloud resources.
889
814
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
890
815
  # `members` to a single `role`. Members can be user accounts, service accounts,
891
816
  # Google groups, and domains (such as G Suite). A `role` is a named list of
892
- # permissions (defined by IAM or configured by users). A `binding` can
893
- # optionally specify a `condition`, which is a logic expression that further
894
- # constrains the role binding based on attributes about the request and/or
895
- # target resource.
896
- # **JSON Example**
817
+ # permissions; each `role` can be an IAM predefined role or a user-created
818
+ # custom role.
819
+ # Optionally, a `binding` can specify a `condition`, which is a logical
820
+ # expression that allows access to a resource only if the expression evaluates
821
+ # to `true`. A condition can add constraints based on attributes of the
822
+ # request, the resource, or both.
823
+ # **JSON example:**
897
824
  # `
898
825
  # "bindings": [
899
826
  # `
@@ -911,13 +838,15 @@ module Google
911
838
  # "condition": `
912
839
  # "title": "expirable access",
913
840
  # "description": "Does not grant access after Sep 2020",
914
- # "expression": "request.time <
915
- # timestamp('2020-10-01T00:00:00.000Z')",
841
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
842
+ # ",
916
843
  # `
917
844
  # `
918
- # ]
845
+ # ],
846
+ # "etag": "BwWWja0YfJA=",
847
+ # "version": 3
919
848
  # `
920
- # **YAML Example**
849
+ # **YAML example:**
921
850
  # bindings:
922
851
  # - members:
923
852
  # - user:mike@example.com
@@ -932,8 +861,10 @@ module Google
932
861
  # title: expirable access
933
862
  # description: Does not grant access after Sep 2020
934
863
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
864
+ # - etag: BwWWja0YfJA=
865
+ # - version: 3
935
866
  # For a description of IAM and its features, see the
936
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
867
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
937
868
  class Policy
938
869
  include Google::Apis::Core::Hashable
939
870
 
@@ -942,9 +873,9 @@ module Google
942
873
  # @return [Array<Google::Apis::IamV1::AuditConfig>]
943
874
  attr_accessor :audit_configs
944
875
 
945
- # Associates a list of `members` to a `role`. Optionally may specify a
946
- # `condition` that determines when binding is in effect.
947
- # `bindings` with no members will result in an error.
876
+ # Associates a list of `members` to a `role`. Optionally, may specify a
877
+ # `condition` that determines how and when the `bindings` are applied. Each
878
+ # of the `bindings` must contain at least one member.
948
879
  # Corresponds to the JSON property `bindings`
949
880
  # @return [Array<Google::Apis::IamV1::Binding>]
950
881
  attr_accessor :bindings
@@ -956,26 +887,31 @@ module Google
956
887
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
957
888
  # systems are expected to put that etag in the request to `setIamPolicy` to
958
889
  # ensure that their change will be applied to the same version of the policy.
959
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
960
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
961
- # 'setIamPolicy' will not fail even if the incoming policy version does not
962
- # meet the requirements for modifying the stored policy.
890
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
891
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
892
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
893
+ # the conditions in the version `3` policy are lost.
963
894
  # Corresponds to the JSON property `etag`
964
895
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
965
896
  # @return [String]
966
897
  attr_accessor :etag
967
898
 
968
899
  # Specifies the format of the policy.
969
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
970
- # rejected.
971
- # Operations affecting conditional bindings must specify version 3. This can
972
- # be either setting a conditional policy, modifying a conditional binding,
973
- # or removing a binding (conditional or unconditional) from the stored
974
- # conditional policy.
975
- # Operations on non-conditional policies may specify any valid value or
976
- # leave the field unset.
977
- # If no etag is provided in the call to `setIamPolicy`, version compliance
978
- # checks against the stored policy is skipped.
900
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
901
+ # are rejected.
902
+ # Any operation that affects conditional role bindings must specify version
903
+ # `3`. This requirement applies to the following operations:
904
+ # * Getting a policy that includes a conditional role binding
905
+ # * Adding a conditional role binding to a policy
906
+ # * Changing a conditional role binding in a policy
907
+ # * Removing any role binding, with or without a condition, from a policy
908
+ # that includes conditions
909
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
910
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
911
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
912
+ # the conditions in the version `3` policy are lost.
913
+ # If a policy does not include any conditions, operations on that policy may
914
+ # specify any valid version or leave the field unset.
979
915
  # Corresponds to the JSON property `version`
980
916
  # @return [Fixnum]
981
917
  attr_accessor :version
@@ -1441,16 +1377,18 @@ module Google
1441
1377
  class SetIamPolicyRequest
1442
1378
  include Google::Apis::Core::Hashable
1443
1379
 
1444
- # Defines an Identity and Access Management (IAM) policy. It is used to
1445
- # specify access control policies for Cloud Platform resources.
1380
+ # An Identity and Access Management (IAM) policy, which specifies access
1381
+ # controls for Google Cloud resources.
1446
1382
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1447
1383
  # `members` to a single `role`. Members can be user accounts, service accounts,
1448
1384
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1449
- # permissions (defined by IAM or configured by users). A `binding` can
1450
- # optionally specify a `condition`, which is a logic expression that further
1451
- # constrains the role binding based on attributes about the request and/or
1452
- # target resource.
1453
- # **JSON Example**
1385
+ # permissions; each `role` can be an IAM predefined role or a user-created
1386
+ # custom role.
1387
+ # Optionally, a `binding` can specify a `condition`, which is a logical
1388
+ # expression that allows access to a resource only if the expression evaluates
1389
+ # to `true`. A condition can add constraints based on attributes of the
1390
+ # request, the resource, or both.
1391
+ # **JSON example:**
1454
1392
  # `
1455
1393
  # "bindings": [
1456
1394
  # `
@@ -1468,13 +1406,15 @@ module Google
1468
1406
  # "condition": `
1469
1407
  # "title": "expirable access",
1470
1408
  # "description": "Does not grant access after Sep 2020",
1471
- # "expression": "request.time <
1472
- # timestamp('2020-10-01T00:00:00.000Z')",
1409
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1410
+ # ",
1473
1411
  # `
1474
1412
  # `
1475
- # ]
1413
+ # ],
1414
+ # "etag": "BwWWja0YfJA=",
1415
+ # "version": 3
1476
1416
  # `
1477
- # **YAML Example**
1417
+ # **YAML example:**
1478
1418
  # bindings:
1479
1419
  # - members:
1480
1420
  # - user:mike@example.com
@@ -1489,8 +1429,10 @@ module Google
1489
1429
  # title: expirable access
1490
1430
  # description: Does not grant access after Sep 2020
1491
1431
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1432
+ # - etag: BwWWja0YfJA=
1433
+ # - version: 3
1492
1434
  # For a description of IAM and its features, see the
1493
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
1435
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1494
1436
  # Corresponds to the JSON property `policy`
1495
1437
  # @return [Google::Apis::IamV1::Policy]
1496
1438
  attr_accessor :policy
@@ -1519,7 +1461,7 @@ module Google
1519
1461
  class SignBlobRequest
1520
1462
  include Google::Apis::Core::Hashable
1521
1463
 
1522
- # The bytes to sign.
1464
+ # Required. The bytes to sign.
1523
1465
  # Corresponds to the JSON property `bytesToSign`
1524
1466
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1525
1467
  # @return [String]
@@ -1565,7 +1507,7 @@ module Google
1565
1507
  class SignJwtRequest
1566
1508
  include Google::Apis::Core::Hashable
1567
1509
 
1568
- # The JWT payload to sign, a JSON JWT Claim set.
1510
+ # Required. The JWT payload to sign, a JSON JWT Claim set.
1569
1511
  # Corresponds to the JSON property `payload`
1570
1512
  # @return [String]
1571
1513
  attr_accessor :payload