google-api-client 0.40.0 → 0.40.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +53 -0
  3. data/generated/google/apis/admob_v1.rb +1 -1
  4. data/generated/google/apis/admob_v1/classes.rb +5 -6
  5. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  6. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  7. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  8. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  9. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  10. data/generated/google/apis/androidpublisher_v3/classes.rb +21 -2
  11. data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
  12. data/generated/google/apis/appsmarket_v2.rb +3 -3
  13. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  14. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  15. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  16. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  17. data/generated/google/apis/cloudbuild_v1/classes.rb +14 -2
  18. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  19. data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
  20. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  21. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +12 -0
  22. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  23. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  24. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +12 -0
  25. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  26. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  27. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  28. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  29. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
  30. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  31. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
  32. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  33. data/generated/google/apis/compute_alpha.rb +1 -1
  34. data/generated/google/apis/compute_alpha/classes.rb +63 -99
  35. data/generated/google/apis/compute_alpha/representations.rb +14 -32
  36. data/generated/google/apis/compute_alpha/service.rb +37 -0
  37. data/generated/google/apis/compute_beta.rb +1 -1
  38. data/generated/google/apis/compute_beta/classes.rb +51 -26
  39. data/generated/google/apis/compute_beta/representations.rb +3 -0
  40. data/generated/google/apis/compute_v1.rb +1 -1
  41. data/generated/google/apis/compute_v1/classes.rb +5 -5
  42. data/generated/google/apis/content_v2.rb +1 -1
  43. data/generated/google/apis/content_v2/classes.rb +34 -0
  44. data/generated/google/apis/content_v2/representations.rb +16 -0
  45. data/generated/google/apis/content_v2/service.rb +5 -1
  46. data/generated/google/apis/content_v2_1.rb +1 -1
  47. data/generated/google/apis/content_v2_1/classes.rb +357 -5
  48. data/generated/google/apis/content_v2_1/representations.rb +135 -0
  49. data/generated/google/apis/content_v2_1/service.rb +85 -1
  50. data/generated/google/apis/dataproc_v1.rb +1 -1
  51. data/generated/google/apis/dataproc_v1/classes.rb +22 -22
  52. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  53. data/generated/google/apis/dataproc_v1beta2/classes.rb +23 -23
  54. data/generated/google/apis/dialogflow_v2.rb +1 -1
  55. data/generated/google/apis/dialogflow_v2/classes.rb +9 -29
  56. data/generated/google/apis/dialogflow_v2/representations.rb +0 -4
  57. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  58. data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -28
  59. data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -4
  60. data/generated/google/apis/displayvideo_v1.rb +1 -1
  61. data/generated/google/apis/displayvideo_v1/classes.rb +463 -0
  62. data/generated/google/apis/displayvideo_v1/representations.rb +238 -0
  63. data/generated/google/apis/displayvideo_v1/service.rb +1718 -376
  64. data/generated/google/apis/file_v1.rb +1 -1
  65. data/generated/google/apis/file_v1/classes.rb +0 -1156
  66. data/generated/google/apis/file_v1/representations.rb +0 -381
  67. data/generated/google/apis/file_v1beta1.rb +1 -1
  68. data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
  69. data/generated/google/apis/file_v1beta1/representations.rb +14 -376
  70. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  71. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  72. data/generated/google/apis/fitness_v1.rb +1 -1
  73. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  74. data/generated/google/apis/games_v1.rb +1 -1
  75. data/generated/google/apis/healthcare_v1.rb +1 -1
  76. data/generated/google/apis/healthcare_v1/classes.rb +3 -3
  77. data/generated/google/apis/healthcare_v1/service.rb +3 -3
  78. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  79. data/generated/google/apis/healthcare_v1beta1/classes.rb +3 -3
  80. data/generated/google/apis/healthcare_v1beta1/service.rb +3 -3
  81. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  82. data/generated/google/apis/memcache_v1beta2/classes.rb +36 -5
  83. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  84. data/generated/google/apis/people_v1.rb +1 -1
  85. data/generated/google/apis/people_v1/classes.rb +100 -0
  86. data/generated/google/apis/people_v1/representations.rb +31 -0
  87. data/generated/google/apis/people_v1/service.rb +95 -2
  88. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  89. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  90. data/generated/google/apis/pubsub_v1.rb +1 -1
  91. data/generated/google/apis/pubsub_v1/classes.rb +15 -1
  92. data/generated/google/apis/pubsub_v1/representations.rb +12 -0
  93. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  94. data/generated/google/apis/{dialogflow_v3alpha1.rb → recommender_v1.rb} +9 -13
  95. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  96. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  97. data/generated/google/apis/recommender_v1/service.rb +266 -0
  98. data/generated/google/apis/run_v1.rb +1 -1
  99. data/generated/google/apis/run_v1/classes.rb +9 -0
  100. data/generated/google/apis/run_v1/representations.rb +1 -0
  101. data/generated/google/apis/run_v1alpha1.rb +1 -1
  102. data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
  103. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  104. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  105. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  106. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  107. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +97 -0
  108. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
  109. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  110. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +97 -0
  111. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +32 -0
  112. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  113. data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
  114. data/generated/google/apis/serviceusage_v1.rb +1 -1
  115. data/generated/google/apis/serviceusage_v1/classes.rb +89 -0
  116. data/generated/google/apis/serviceusage_v1/representations.rb +32 -0
  117. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  118. data/generated/google/apis/serviceusage_v1beta1/classes.rb +89 -0
  119. data/generated/google/apis/serviceusage_v1beta1/representations.rb +32 -0
  120. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  121. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  122. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  123. data/generated/google/apis/spanner_v1.rb +1 -1
  124. data/generated/google/apis/spanner_v1/classes.rb +1 -2
  125. data/generated/google/apis/spanner_v1/service.rb +8 -8
  126. data/generated/google/apis/sql_v1beta4.rb +1 -1
  127. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  128. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  129. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  130. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  131. data/generated/google/apis/testing_v1.rb +1 -1
  132. data/generated/google/apis/testing_v1/classes.rb +2 -1
  133. data/generated/google/apis/videointelligence_v1.rb +1 -1
  134. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  135. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  136. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  137. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  138. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  139. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  140. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  141. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  142. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  143. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  144. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  145. data/lib/google/apis/core/api_command.rb +12 -7
  146. data/lib/google/apis/options.rb +5 -1
  147. data/lib/google/apis/version.rb +1 -1
  148. metadata +7 -7
  149. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
  150. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
  151. data/generated/google/apis/dialogflow_v3alpha1/service.rb +0 -296
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-control/
27
27
  module ServicecontrolV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200511'
29
+ REVISION = '20200601'
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'
@@ -342,10 +342,10 @@ module Google
342
342
  # the audience (`aud`) claim within a JWT. The audience
343
343
  # value(s) depends on the `issuer`, but typically include one or more of
344
344
  # the following pieces of information:
345
- # * The services intended to receive the credential such as
346
- # ["pubsub.googleapis.com", "storage.googleapis.com"]
345
+ # * The services intended to receive the credential. For example,
346
+ # ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"].
347
347
  # * A set of service-based scopes. For example,
348
- # ["https://www.googleapis.com/auth/cloud-platform"]
348
+ # ["https://www.googleapis.com/auth/cloud-platform"].
349
349
  # * The client id of an app, such as the Firebase project id for JWTs
350
350
  # from Firebase Auth.
351
351
  # Consult the documentation for the credential issuer to determine the
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1
29
29
  VERSION = 'V1'
30
- REVISION = '20200516'
30
+ REVISION = '20200603'
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'
@@ -22,6 +22,76 @@ module Google
22
22
  module Apis
23
23
  module ServiceusageV1
24
24
 
25
+ # Quota policy created by quota administrator.
26
+ class AdminQuotaPolicy
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The cloud resource container at which the quota policy is created. The
30
+ # format is `container_type`/`container_number`
31
+ # Corresponds to the JSON property `container`
32
+ # @return [String]
33
+ attr_accessor :container
34
+
35
+ # If this map is nonempty, then this policy applies only to specific values
36
+ # for dimensions defined in the limit unit.
37
+ # For example, an policy on a limit with the unit 1/`project`/`region`
38
+ # could contain an entry with the key "region" and the value "us-east-1";
39
+ # the policy is only applied to quota consumed in that region.
40
+ # This map has the following restrictions:
41
+ # * If "region" appears as a key, its value must be a valid Cloud region.
42
+ # * If "zone" appears as a key, its value must be a valid Cloud zone.
43
+ # * Keys other than "region" or "zone" are not valid.
44
+ # Corresponds to the JSON property `dimensions`
45
+ # @return [Hash<String,String>]
46
+ attr_accessor :dimensions
47
+
48
+ # The name of the metric to which this policy applies.
49
+ # An example name would be:
50
+ # `compute.googleapis.com/cpus`
51
+ # Corresponds to the JSON property `metric`
52
+ # @return [String]
53
+ attr_accessor :metric
54
+
55
+ # The resource name of the policy.
56
+ # This name is generated by the server when the policy is created.
57
+ # Example names would be:
58
+ # `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/
59
+ # compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminPolicies/
60
+ # 4a3f2c1d`
61
+ # Corresponds to the JSON property `name`
62
+ # @return [String]
63
+ attr_accessor :name
64
+
65
+ # The quota policy value.
66
+ # Can be any nonnegative integer, or -1 (unlimited quota).
67
+ # Corresponds to the JSON property `policyValue`
68
+ # @return [Fixnum]
69
+ attr_accessor :policy_value
70
+
71
+ # The limit unit of the limit to which this policy applies.
72
+ # An example unit would be:
73
+ # `1/`project`/`region``
74
+ # Note that ``project`` and ``region`` are not placeholders in this example;
75
+ # the literal characters ``` and ``` occur in the string.
76
+ # Corresponds to the JSON property `unit`
77
+ # @return [String]
78
+ attr_accessor :unit
79
+
80
+ def initialize(**args)
81
+ update!(**args)
82
+ end
83
+
84
+ # Update properties of this object
85
+ def update!(**args)
86
+ @container = args[:container] if args.key?(:container)
87
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
88
+ @metric = args[:metric] if args.key?(:metric)
89
+ @name = args[:name] if args.key?(:name)
90
+ @policy_value = args[:policy_value] if args.key?(:policy_value)
91
+ @unit = args[:unit] if args.key?(:unit)
92
+ end
93
+ end
94
+
25
95
  # Api is a light-weight descriptor for an API Interface.
26
96
  # Interfaces are also described as "protocol buffer services" in some contexts,
27
97
  # such as by the "service" keyword in a .proto file, but they are different
@@ -2534,6 +2604,25 @@ module Google
2534
2604
  end
2535
2605
  end
2536
2606
 
2607
+ # Response message for ImportAdminQuotaPolicies
2608
+ class ImportAdminQuotaPoliciesResponse
2609
+ include Google::Apis::Core::Hashable
2610
+
2611
+ # The policies that were created from the imported data.
2612
+ # Corresponds to the JSON property `policies`
2613
+ # @return [Array<Google::Apis::ServiceusageV1::AdminQuotaPolicy>]
2614
+ attr_accessor :policies
2615
+
2616
+ def initialize(**args)
2617
+ update!(**args)
2618
+ end
2619
+
2620
+ # Update properties of this object
2621
+ def update!(**args)
2622
+ @policies = args[:policies] if args.key?(:policies)
2623
+ end
2624
+ end
2625
+
2537
2626
  # Response message for ImportConsumerOverrides
2538
2627
  class ImportConsumerOverridesResponse
2539
2628
  include Google::Apis::Core::Hashable
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module ServiceusageV1
24
24
 
25
+ class AdminQuotaPolicy
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class Api
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -286,6 +292,12 @@ module Google
286
292
  include Google::Apis::Core::JsonObjectSupport
287
293
  end
288
294
 
295
+ class ImportAdminQuotaPoliciesResponse
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
289
301
  class ImportConsumerOverridesResponse
290
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
303
 
@@ -490,6 +502,18 @@ module Google
490
502
  include Google::Apis::Core::JsonObjectSupport
491
503
  end
492
504
 
505
+ class AdminQuotaPolicy
506
+ # @private
507
+ class Representation < Google::Apis::Core::JsonRepresentation
508
+ property :container, as: 'container'
509
+ hash :dimensions, as: 'dimensions'
510
+ property :metric, as: 'metric'
511
+ property :name, as: 'name'
512
+ property :policy_value, :numeric_string => true, as: 'policyValue'
513
+ property :unit, as: 'unit'
514
+ end
515
+ end
516
+
493
517
  class Api
494
518
  # @private
495
519
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -969,6 +993,14 @@ module Google
969
993
  end
970
994
  end
971
995
 
996
+ class ImportAdminQuotaPoliciesResponse
997
+ # @private
998
+ class Representation < Google::Apis::Core::JsonRepresentation
999
+ collection :policies, as: 'policies', class: Google::Apis::ServiceusageV1::AdminQuotaPolicy, decorator: Google::Apis::ServiceusageV1::AdminQuotaPolicy::Representation
1000
+
1001
+ end
1002
+ end
1003
+
972
1004
  class ImportConsumerOverridesResponse
973
1005
  # @private
974
1006
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20200516'
30
+ REVISION = '20200603'
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'
@@ -22,6 +22,76 @@ module Google
22
22
  module Apis
23
23
  module ServiceusageV1beta1
24
24
 
25
+ # Quota policy created by quota administrator.
26
+ class AdminQuotaPolicy
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The cloud resource container at which the quota policy is created. The
30
+ # format is `container_type`/`container_number`
31
+ # Corresponds to the JSON property `container`
32
+ # @return [String]
33
+ attr_accessor :container
34
+
35
+ # If this map is nonempty, then this policy applies only to specific values
36
+ # for dimensions defined in the limit unit.
37
+ # For example, an policy on a limit with the unit 1/`project`/`region`
38
+ # could contain an entry with the key "region" and the value "us-east-1";
39
+ # the policy is only applied to quota consumed in that region.
40
+ # This map has the following restrictions:
41
+ # * If "region" appears as a key, its value must be a valid Cloud region.
42
+ # * If "zone" appears as a key, its value must be a valid Cloud zone.
43
+ # * Keys other than "region" or "zone" are not valid.
44
+ # Corresponds to the JSON property `dimensions`
45
+ # @return [Hash<String,String>]
46
+ attr_accessor :dimensions
47
+
48
+ # The name of the metric to which this policy applies.
49
+ # An example name would be:
50
+ # `compute.googleapis.com/cpus`
51
+ # Corresponds to the JSON property `metric`
52
+ # @return [String]
53
+ attr_accessor :metric
54
+
55
+ # The resource name of the policy.
56
+ # This name is generated by the server when the policy is created.
57
+ # Example names would be:
58
+ # `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/
59
+ # compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminPolicies/
60
+ # 4a3f2c1d`
61
+ # Corresponds to the JSON property `name`
62
+ # @return [String]
63
+ attr_accessor :name
64
+
65
+ # The quota policy value.
66
+ # Can be any nonnegative integer, or -1 (unlimited quota).
67
+ # Corresponds to the JSON property `policyValue`
68
+ # @return [Fixnum]
69
+ attr_accessor :policy_value
70
+
71
+ # The limit unit of the limit to which this policy applies.
72
+ # An example unit would be:
73
+ # `1/`project`/`region``
74
+ # Note that ``project`` and ``region`` are not placeholders in this example;
75
+ # the literal characters ``` and ``` occur in the string.
76
+ # Corresponds to the JSON property `unit`
77
+ # @return [String]
78
+ attr_accessor :unit
79
+
80
+ def initialize(**args)
81
+ update!(**args)
82
+ end
83
+
84
+ # Update properties of this object
85
+ def update!(**args)
86
+ @container = args[:container] if args.key?(:container)
87
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
88
+ @metric = args[:metric] if args.key?(:metric)
89
+ @name = args[:name] if args.key?(:name)
90
+ @policy_value = args[:policy_value] if args.key?(:policy_value)
91
+ @unit = args[:unit] if args.key?(:unit)
92
+ end
93
+ end
94
+
25
95
  # Api is a light-weight descriptor for an API Interface.
26
96
  # Interfaces are also described as "protocol buffer services" in some contexts,
27
97
  # such as by the "service" keyword in a .proto file, but they are different
@@ -2603,6 +2673,25 @@ module Google
2603
2673
  end
2604
2674
  end
2605
2675
 
2676
+ # Response message for ImportAdminQuotaPolicies
2677
+ class ImportAdminQuotaPoliciesResponse
2678
+ include Google::Apis::Core::Hashable
2679
+
2680
+ # The policies that were created from the imported data.
2681
+ # Corresponds to the JSON property `policies`
2682
+ # @return [Array<Google::Apis::ServiceusageV1beta1::AdminQuotaPolicy>]
2683
+ attr_accessor :policies
2684
+
2685
+ def initialize(**args)
2686
+ update!(**args)
2687
+ end
2688
+
2689
+ # Update properties of this object
2690
+ def update!(**args)
2691
+ @policies = args[:policies] if args.key?(:policies)
2692
+ end
2693
+ end
2694
+
2606
2695
  # Response message for ImportConsumerOverrides
2607
2696
  class ImportConsumerOverridesResponse
2608
2697
  include Google::Apis::Core::Hashable
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module ServiceusageV1beta1
24
24
 
25
+ class AdminQuotaPolicy
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class Api
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -286,6 +292,12 @@ module Google
286
292
  include Google::Apis::Core::JsonObjectSupport
287
293
  end
288
294
 
295
+ class ImportAdminQuotaPoliciesResponse
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
289
301
  class ImportConsumerOverridesResponse
290
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
303
 
@@ -526,6 +538,18 @@ module Google
526
538
  include Google::Apis::Core::JsonObjectSupport
527
539
  end
528
540
 
541
+ class AdminQuotaPolicy
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :container, as: 'container'
545
+ hash :dimensions, as: 'dimensions'
546
+ property :metric, as: 'metric'
547
+ property :name, as: 'name'
548
+ property :policy_value, :numeric_string => true, as: 'policyValue'
549
+ property :unit, as: 'unit'
550
+ end
551
+ end
552
+
529
553
  class Api
530
554
  # @private
531
555
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1014,6 +1038,14 @@ module Google
1014
1038
  end
1015
1039
  end
1016
1040
 
1041
+ class ImportAdminQuotaPoliciesResponse
1042
+ # @private
1043
+ class Representation < Google::Apis::Core::JsonRepresentation
1044
+ collection :policies, as: 'policies', class: Google::Apis::ServiceusageV1beta1::AdminQuotaPolicy, decorator: Google::Apis::ServiceusageV1beta1::AdminQuotaPolicy::Representation
1045
+
1046
+ end
1047
+ end
1048
+
1017
1049
  class ImportConsumerOverridesResponse
1018
1050
  # @private
1019
1051
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/source-repositories/docs/apis
26
26
  module SourcerepoV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200415'
28
+ REVISION = '20200520'
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'
@@ -438,10 +438,13 @@ module Google
438
438
  # Google groups, and domains (such as G Suite). A `role` is a named list of
439
439
  # permissions; each `role` can be an IAM predefined role or a user-created
440
440
  # custom role.
441
- # Optionally, a `binding` can specify a `condition`, which is a logical
442
- # expression that allows access to a resource only if the expression evaluates
443
- # to `true`. A condition can add constraints based on attributes of the
444
- # request, the resource, or both.
441
+ # For some types of Google Cloud resources, a `binding` can also specify a
442
+ # `condition`, which is a logical expression that allows access to a resource
443
+ # only if the expression evaluates to `true`. A condition can add constraints
444
+ # based on attributes of the request, the resource, or both. To learn which
445
+ # resources support conditions in their IAM policies, see the
446
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
447
+ # policies).
445
448
  # **JSON example:**
446
449
  # `
447
450
  # "bindings": [
@@ -456,7 +459,9 @@ module Google
456
459
  # `,
457
460
  # `
458
461
  # "role": "roles/resourcemanager.organizationViewer",
459
- # "members": ["user:eve@example.com"],
462
+ # "members": [
463
+ # "user:eve@example.com"
464
+ # ],
460
465
  # "condition": `
461
466
  # "title": "expirable access",
462
467
  # "description": "Does not grant access after Sep 2020",
@@ -534,6 +539,9 @@ module Google
534
539
  # the conditions in the version `3` policy are lost.
535
540
  # If a policy does not include any conditions, operations on that policy may
536
541
  # specify any valid version or leave the field unset.
542
+ # To learn which resources support conditions in their IAM policies, see the
543
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
544
+ # policies).
537
545
  # Corresponds to the JSON property `version`
538
546
  # @return [Fixnum]
539
547
  attr_accessor :version
@@ -681,10 +689,13 @@ module Google
681
689
  # Google groups, and domains (such as G Suite). A `role` is a named list of
682
690
  # permissions; each `role` can be an IAM predefined role or a user-created
683
691
  # custom role.
684
- # Optionally, a `binding` can specify a `condition`, which is a logical
685
- # expression that allows access to a resource only if the expression evaluates
686
- # to `true`. A condition can add constraints based on attributes of the
687
- # request, the resource, or both.
692
+ # For some types of Google Cloud resources, a `binding` can also specify a
693
+ # `condition`, which is a logical expression that allows access to a resource
694
+ # only if the expression evaluates to `true`. A condition can add constraints
695
+ # based on attributes of the request, the resource, or both. To learn which
696
+ # resources support conditions in their IAM policies, see the
697
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
698
+ # policies).
688
699
  # **JSON example:**
689
700
  # `
690
701
  # "bindings": [
@@ -699,7 +710,9 @@ module Google
699
710
  # `,
700
711
  # `
701
712
  # "role": "roles/resourcemanager.organizationViewer",
702
- # "members": ["user:eve@example.com"],
713
+ # "members": [
714
+ # "user:eve@example.com"
715
+ # ],
703
716
  # "condition": `
704
717
  # "title": "expirable access",
705
718
  # "description": "Does not grant access after Sep 2020",
@@ -223,6 +223,9 @@ module Google
223
223
  # Requests for policies with any conditional bindings must specify version 3.
224
224
  # Policies without any conditional bindings may specify any valid value or
225
225
  # leave the field unset.
226
+ # To learn which resources support conditions in their IAM policies, see the
227
+ # [IAM
228
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
226
229
  # @param [String] fields
227
230
  # Selector specifying which fields to include in a partial response.
228
231
  # @param [String] quota_user