google-api-client 0.19.6 → 0.19.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/generated/google/apis/androiddeviceprovisioning_v1.rb +3 -3
  4. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +3 -3
  5. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  6. data/generated/google/apis/androidenterprise_v1/classes.rb +7 -0
  7. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  8. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  9. data/generated/google/apis/androidmanagement_v1/classes.rb +139 -142
  10. data/generated/google/apis/androidmanagement_v1/service.rb +24 -23
  11. data/generated/google/apis/bigquery_v2.rb +1 -1
  12. data/generated/google/apis/bigquery_v2/classes.rb +29 -3
  13. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  14. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  15. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -1
  16. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  17. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  18. data/generated/google/apis/cloudiot_v1.rb +1 -1
  19. data/generated/google/apis/cloudiot_v1/classes.rb +6 -0
  20. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  21. data/generated/google/apis/cloudkms_v1.rb +1 -1
  22. data/generated/google/apis/cloudkms_v1/classes.rb +1 -1
  23. data/generated/google/apis/dataproc_v1.rb +1 -1
  24. data/generated/google/apis/dataproc_v1/service.rb +5 -1
  25. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  26. data/generated/google/apis/dialogflow_v2beta1/classes.rb +6 -6
  27. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -1
  28. data/generated/google/apis/genomics_v1.rb +1 -1
  29. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  30. data/generated/google/apis/iam_v1.rb +1 -1
  31. data/generated/google/apis/iam_v1/classes.rb +133 -0
  32. data/generated/google/apis/iam_v1/representations.rb +32 -0
  33. data/generated/google/apis/manufacturers_v1.rb +1 -1
  34. data/generated/google/apis/manufacturers_v1/classes.rb +1 -1
  35. data/generated/google/apis/monitoring_v3.rb +1 -1
  36. data/generated/google/apis/monitoring_v3/classes.rb +3 -2
  37. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  38. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  39. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +50 -4
  40. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -0
  41. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  42. data/generated/google/apis/servicemanagement_v1/classes.rb +127 -67
  43. data/generated/google/apis/servicemanagement_v1/representations.rb +31 -19
  44. data/generated/google/apis/serviceuser_v1.rb +1 -1
  45. data/generated/google/apis/serviceuser_v1/classes.rb +4 -2
  46. data/generated/google/apis/slides_v1.rb +1 -1
  47. data/generated/google/apis/slides_v1/service.rb +2 -1
  48. data/generated/google/apis/testing_v1.rb +1 -1
  49. data/generated/google/apis/testing_v1/classes.rb +118 -0
  50. data/generated/google/apis/testing_v1/representations.rb +61 -0
  51. data/generated/google/apis/testing_v1/service.rb +30 -0
  52. data/generated/google/apis/webmasters_v3.rb +1 -1
  53. data/generated/google/apis/webmasters_v3/service.rb +4 -2
  54. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  55. data/generated/google/apis/youtube_v3.rb +1 -1
  56. data/generated/google/apis/youtube_v3/classes.rb +57 -0
  57. data/generated/google/apis/youtube_v3/representations.rb +31 -0
  58. data/lib/google/apis/version.rb +1 -1
  59. metadata +2 -2
@@ -308,14 +308,14 @@ module Google
308
308
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage>]
309
309
  attr_accessor :messages
310
310
 
311
- # Optional. Indicates whether Machine Learning is enabled for the intent.
312
- # Note: If `ml_enabled` setting is set to false, then this intent is not
311
+ # Optional. Indicates whether Machine Learning is disabled for the intent.
312
+ # Note: If `ml_diabled` setting is set to false, then this intent is not
313
313
  # taken into account during inference in `ML ONLY` match mode. Also,
314
314
  # auto-markup in the UI is turned off.
315
- # Corresponds to the JSON property `mlEnabled`
315
+ # Corresponds to the JSON property `mlDisabled`
316
316
  # @return [Boolean]
317
- attr_accessor :ml_enabled
318
- alias_method :ml_enabled?, :ml_enabled
317
+ attr_accessor :ml_disabled
318
+ alias_method :ml_disabled?, :ml_disabled
319
319
 
320
320
  # Required for all methods except `create` (`create` populates the name
321
321
  # automatically.
@@ -392,7 +392,7 @@ module Google
392
392
  @input_context_names = args[:input_context_names] if args.key?(:input_context_names)
393
393
  @is_fallback = args[:is_fallback] if args.key?(:is_fallback)
394
394
  @messages = args[:messages] if args.key?(:messages)
395
- @ml_enabled = args[:ml_enabled] if args.key?(:ml_enabled)
395
+ @ml_disabled = args[:ml_disabled] if args.key?(:ml_disabled)
396
396
  @name = args[:name] if args.key?(:name)
397
397
  @output_contexts = args[:output_contexts] if args.key?(:output_contexts)
398
398
  @parameters = args[:parameters] if args.key?(:parameters)
@@ -697,7 +697,7 @@ module Google
697
697
  property :is_fallback, as: 'isFallback'
698
698
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage::Representation
699
699
 
700
- property :ml_enabled, as: 'mlEnabled'
700
+ property :ml_disabled, as: 'mlDisabled'
701
701
  property :name, as: 'name'
702
702
  collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Context, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Context::Representation
703
703
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/genomics
26
26
  module GenomicsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180117'
28
+ REVISION = '20180208'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/genomics
26
26
  module GenomicsV1alpha2
27
27
  VERSION = 'V1alpha2'
28
- REVISION = '20180117'
28
+ REVISION = '20180208'
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'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/iam/
28
28
  module IamV1
29
29
  VERSION = 'V1'
30
- REVISION = '20180118'
30
+ REVISION = '20180202'
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,80 @@ module Google
22
22
  module Apis
23
23
  module IamV1
24
24
 
25
+ # Specifies the audit configuration for a service.
26
+ # The configuration determines which permission types are logged, and what
27
+ # identities, if any, are exempted from logging.
28
+ # An AuditConfig must have one or more AuditLogConfigs.
29
+ # If there are AuditConfigs for both `allServices` and a specific service,
30
+ # the union of the two AuditConfigs is used for that service: the log_types
31
+ # specified in each AuditConfig are enabled, and the exempted_members in each
32
+ # AuditLogConfig are exempted.
33
+ # Example Policy with multiple AuditConfigs:
34
+ # `
35
+ # "audit_configs": [
36
+ # `
37
+ # "service": "allServices"
38
+ # "audit_log_configs": [
39
+ # `
40
+ # "log_type": "DATA_READ",
41
+ # "exempted_members": [
42
+ # "user:foo@gmail.com"
43
+ # ]
44
+ # `,
45
+ # `
46
+ # "log_type": "DATA_WRITE",
47
+ # `,
48
+ # `
49
+ # "log_type": "ADMIN_READ",
50
+ # `
51
+ # ]
52
+ # `,
53
+ # `
54
+ # "service": "fooservice.googleapis.com"
55
+ # "audit_log_configs": [
56
+ # `
57
+ # "log_type": "DATA_READ",
58
+ # `,
59
+ # `
60
+ # "log_type": "DATA_WRITE",
61
+ # "exempted_members": [
62
+ # "user:bar@gmail.com"
63
+ # ]
64
+ # `
65
+ # ]
66
+ # `
67
+ # ]
68
+ # `
69
+ # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
70
+ # logging. It also exempts foo@gmail.com from DATA_READ logging, and
71
+ # bar@gmail.com from DATA_WRITE logging.
72
+ class AuditConfig
73
+ include Google::Apis::Core::Hashable
74
+
75
+ # The configuration for logging of each type of permission.
76
+ # Next ID: 4
77
+ # Corresponds to the JSON property `auditLogConfigs`
78
+ # @return [Array<Google::Apis::IamV1::AuditLogConfig>]
79
+ attr_accessor :audit_log_configs
80
+
81
+ # Specifies a service that will be enabled for audit logging.
82
+ # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
83
+ # `allServices` is a special value that covers all services.
84
+ # Corresponds to the JSON property `service`
85
+ # @return [String]
86
+ attr_accessor :service
87
+
88
+ def initialize(**args)
89
+ update!(**args)
90
+ end
91
+
92
+ # Update properties of this object
93
+ def update!(**args)
94
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
95
+ @service = args[:service] if args.key?(:service)
96
+ end
97
+ end
98
+
25
99
  # Audit log information specific to Cloud IAM. This message is serialized
26
100
  # as an `Any` type in the `ServiceData` message of an
27
101
  # `AuditLog` message.
@@ -43,6 +117,49 @@ module Google
43
117
  end
44
118
  end
45
119
 
120
+ # Provides the configuration for logging a type of permissions.
121
+ # Example:
122
+ # `
123
+ # "audit_log_configs": [
124
+ # `
125
+ # "log_type": "DATA_READ",
126
+ # "exempted_members": [
127
+ # "user:foo@gmail.com"
128
+ # ]
129
+ # `,
130
+ # `
131
+ # "log_type": "DATA_WRITE",
132
+ # `
133
+ # ]
134
+ # `
135
+ # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
136
+ # foo@gmail.com from DATA_READ logging.
137
+ class AuditLogConfig
138
+ include Google::Apis::Core::Hashable
139
+
140
+ # Specifies the identities that do not cause logging for this type of
141
+ # permission.
142
+ # Follows the same format of Binding.members.
143
+ # Corresponds to the JSON property `exemptedMembers`
144
+ # @return [Array<String>]
145
+ attr_accessor :exempted_members
146
+
147
+ # The log type that this config enables.
148
+ # Corresponds to the JSON property `logType`
149
+ # @return [String]
150
+ attr_accessor :log_type
151
+
152
+ def initialize(**args)
153
+ update!(**args)
154
+ end
155
+
156
+ # Update properties of this object
157
+ def update!(**args)
158
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
159
+ @log_type = args[:log_type] if args.key?(:log_type)
160
+ end
161
+ end
162
+
46
163
  # Contains information about an auditable service.
47
164
  class AuditableService
48
165
  include Google::Apis::Core::Hashable
@@ -411,6 +528,11 @@ module Google
411
528
  class Policy
412
529
  include Google::Apis::Core::Hashable
413
530
 
531
+ # Specifies cloud audit logging configuration for this policy.
532
+ # Corresponds to the JSON property `auditConfigs`
533
+ # @return [Array<Google::Apis::IamV1::AuditConfig>]
534
+ attr_accessor :audit_configs
535
+
414
536
  # Associates a list of `members` to a `role`.
415
537
  # `bindings` with no members will result in an error.
416
538
  # Corresponds to the JSON property `bindings`
@@ -442,6 +564,7 @@ module Google
442
564
 
443
565
  # Update properties of this object
444
566
  def update!(**args)
567
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
445
568
  @bindings = args[:bindings] if args.key?(:bindings)
446
569
  @etag = args[:etag] if args.key?(:etag)
447
570
  @version = args[:version] if args.key?(:version)
@@ -891,6 +1014,15 @@ module Google
891
1014
  # @return [Google::Apis::IamV1::Policy]
892
1015
  attr_accessor :policy
893
1016
 
1017
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
1018
+ # the fields in the mask will be modified. If no mask is provided, the
1019
+ # following default mask is used:
1020
+ # paths: "bindings, etag"
1021
+ # This field is only used by Cloud IAM.
1022
+ # Corresponds to the JSON property `updateMask`
1023
+ # @return [String]
1024
+ attr_accessor :update_mask
1025
+
894
1026
  def initialize(**args)
895
1027
  update!(**args)
896
1028
  end
@@ -898,6 +1030,7 @@ module Google
898
1030
  # Update properties of this object
899
1031
  def update!(**args)
900
1032
  @policy = args[:policy] if args.key?(:policy)
1033
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
901
1034
  end
902
1035
  end
903
1036
 
@@ -22,12 +22,24 @@ module Google
22
22
  module Apis
23
23
  module IamV1
24
24
 
25
+ class AuditConfig
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AuditData
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 AuditLogConfig
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
31
43
  class AuditableService
32
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
45
 
@@ -208,6 +220,15 @@ module Google
208
220
  include Google::Apis::Core::JsonObjectSupport
209
221
  end
210
222
 
223
+ class AuditConfig
224
+ # @private
225
+ class Representation < Google::Apis::Core::JsonRepresentation
226
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::IamV1::AuditLogConfig, decorator: Google::Apis::IamV1::AuditLogConfig::Representation
227
+
228
+ property :service, as: 'service'
229
+ end
230
+ end
231
+
211
232
  class AuditData
212
233
  # @private
213
234
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -216,6 +237,14 @@ module Google
216
237
  end
217
238
  end
218
239
 
240
+ class AuditLogConfig
241
+ # @private
242
+ class Representation < Google::Apis::Core::JsonRepresentation
243
+ collection :exempted_members, as: 'exemptedMembers'
244
+ property :log_type, as: 'logType'
245
+ end
246
+ end
247
+
219
248
  class AuditableService
220
249
  # @private
221
250
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -314,6 +343,8 @@ module Google
314
343
  class Policy
315
344
  # @private
316
345
  class Representation < Google::Apis::Core::JsonRepresentation
346
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::IamV1::AuditConfig, decorator: Google::Apis::IamV1::AuditConfig::Representation
347
+
317
348
  collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation
318
349
 
319
350
  property :etag, :base64 => true, as: 'etag'
@@ -425,6 +456,7 @@ module Google
425
456
  class Representation < Google::Apis::Core::JsonRepresentation
426
457
  property :policy, as: 'policy', class: Google::Apis::IamV1::Policy, decorator: Google::Apis::IamV1::Policy::Representation
427
458
 
459
+ property :update_mask, as: 'updateMask'
428
460
  end
429
461
  end
430
462
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/manufacturers/
26
26
  module ManufacturersV1
27
27
  VERSION = 'V1'
28
- REVISION = '20171009'
28
+ REVISION = '20180207'
29
29
 
30
30
  # Manage your product listings for Google Manufacturer Center
31
31
  AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter'
@@ -415,7 +415,7 @@ module Google
415
415
  # @return [String]
416
416
  attr_accessor :attribute
417
417
 
418
- # Description of the issue.
418
+ # Longer description of the issue focused on how to resolve it.
419
419
  # Corresponds to the JSON property `description`
420
420
  # @return [String]
421
421
  attr_accessor :description
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/monitoring/api/
28
28
  module MonitoringV3
29
29
  VERSION = 'V3'
30
- REVISION = '20180128'
30
+ REVISION = '20180205'
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'
@@ -1880,8 +1880,9 @@ module Google
1880
1880
  # @return [String]
1881
1881
  attr_accessor :name
1882
1882
 
1883
- # How often the uptime check is performed. Currently, only 1, 5, 10, and 15
1884
- # minutes are supported. Required.
1883
+ # How often, in seconds, the uptime check is performed. Currently, the only
1884
+ # supported values are 60s (1 minute), 300s (5 minutes), 600s (10 minutes), and
1885
+ # 900s (15 minutes). Required.
1885
1886
  # Corresponds to the JSON property `period`
1886
1887
  # @return [String]
1887
1888
  attr_accessor :period
@@ -697,7 +697,7 @@ module Google
697
697
 
698
698
  # Creates a new uptime check configuration.
699
699
  # @param [String] parent
700
- # The project in which to create the uptime check. The formatis projects/[
700
+ # The project in which to create the uptime check. The format is projects/[
701
701
  # PROJECT_ID].
702
702
  # @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object
703
703
  # @param [String] fields
@@ -733,7 +733,7 @@ module Google
733
733
  # uptime check configuration is referenced by an alert policy or other dependent
734
734
  # configs that would be rendered invalid by the deletion.
735
735
  # @param [String] name
736
- # The uptime check configuration to delete. The formatis projects/[PROJECT_ID]/
736
+ # The uptime check configuration to delete. The format is projects/[PROJECT_ID]/
737
737
  # uptimeCheckConfigs/[UPTIME_CHECK_ID].
738
738
  # @param [String] fields
739
739
  # Selector specifying which fields to include in a partial response.
@@ -764,8 +764,8 @@ module Google
764
764
 
765
765
  # Gets a single uptime check configuration.
766
766
  # @param [String] name
767
- # The uptime check configuration to retrieve. The formatis projects/[PROJECT_ID]/
768
- # uptimeCheckConfigs/[UPTIME_CHECK_ID].
767
+ # The uptime check configuration to retrieve. The format is projects/[
768
+ # PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].
769
769
  # @param [String] fields
770
770
  # Selector specifying which fields to include in a partial response.
771
771
  # @param [String] quota_user
@@ -796,7 +796,7 @@ module Google
796
796
  # Lists the existing valid uptime check configurations for the project, leaving
797
797
  # out any invalid configurations.
798
798
  # @param [String] parent
799
- # The project whose uptime check configurations are listed. The formatis
799
+ # The project whose uptime check configurations are listed. The format is
800
800
  # projects/[PROJECT_ID].
801
801
  # @param [Fixnum] page_size
802
802
  # The maximum number of results to return in a single response. The server may
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-consumer-management/docs/overview
27
27
  module ServiceconsumermanagementV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180131'
29
+ REVISION = '20180208'
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'
@@ -598,6 +598,21 @@ module Google
598
598
  # `google.rpc.context.OriginContext`.
599
599
  # Available context types are defined in package
600
600
  # `google.rpc.context`.
601
+ # This also provides mechanism to whitelist any protobuf message extension that
602
+ # can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
603
+ # “x-goog-ext-<extension_id>-jspb” format. For example, list any service
604
+ # specific protobuf types that can appear in grpc metadata as follows in your
605
+ # yaml file:
606
+ # Example:
607
+ # context:
608
+ # rules:
609
+ # - selector: "google.example.library.v1.LibraryService.CreateBook"
610
+ # allowed_request_extensions:
611
+ # - google.foo.v1.NewExtension
612
+ # allowed_response_extensions:
613
+ # - google.foo.v1.NewExtension
614
+ # You can also specify extension ID instead of fully qualified extension name
615
+ # here.
601
616
  class Context
602
617
  include Google::Apis::Core::Hashable
603
618
 
@@ -622,6 +637,18 @@ module Google
622
637
  class ContextRule
623
638
  include Google::Apis::Core::Hashable
624
639
 
640
+ # A list of full type names or extension IDs of extensions allowed in grpc
641
+ # side channel from client to backend.
642
+ # Corresponds to the JSON property `allowedRequestExtensions`
643
+ # @return [Array<String>]
644
+ attr_accessor :allowed_request_extensions
645
+
646
+ # A list of full type names or extension IDs of extensions allowed in grpc
647
+ # side channel from backend to client.
648
+ # Corresponds to the JSON property `allowedResponseExtensions`
649
+ # @return [Array<String>]
650
+ attr_accessor :allowed_response_extensions
651
+
625
652
  # A list of full type names of provided contexts.
626
653
  # Corresponds to the JSON property `provided`
627
654
  # @return [Array<String>]
@@ -644,6 +671,8 @@ module Google
644
671
 
645
672
  # Update properties of this object
646
673
  def update!(**args)
674
+ @allowed_request_extensions = args[:allowed_request_extensions] if args.key?(:allowed_request_extensions)
675
+ @allowed_response_extensions = args[:allowed_response_extensions] if args.key?(:allowed_response_extensions)
647
676
  @provided = args[:provided] if args.key?(:provided)
648
677
  @requested = args[:requested] if args.key?(:requested)
649
678
  @selector = args[:selector] if args.key?(:selector)
@@ -2940,6 +2969,21 @@ module Google
2940
2969
  # `google.rpc.context.OriginContext`.
2941
2970
  # Available context types are defined in package
2942
2971
  # `google.rpc.context`.
2972
+ # This also provides mechanism to whitelist any protobuf message extension that
2973
+ # can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
2974
+ # “x-goog-ext-<extension_id>-jspb” format. For example, list any service
2975
+ # specific protobuf types that can appear in grpc metadata as follows in your
2976
+ # yaml file:
2977
+ # Example:
2978
+ # context:
2979
+ # rules:
2980
+ # - selector: "google.example.library.v1.LibraryService.CreateBook"
2981
+ # allowed_request_extensions:
2982
+ # - google.foo.v1.NewExtension
2983
+ # allowed_response_extensions:
2984
+ # - google.foo.v1.NewExtension
2985
+ # You can also specify extension ID instead of fully qualified extension name
2986
+ # here.
2943
2987
  # Corresponds to the JSON property `context`
2944
2988
  # @return [Google::Apis::ServiceconsumermanagementV1::Context]
2945
2989
  attr_accessor :context
@@ -3665,10 +3709,12 @@ module Google
3665
3709
  class TenantProjectPolicy
3666
3710
  include Google::Apis::Core::Hashable
3667
3711
 
3668
- # Additional policy bindings to be applied on the tenant
3669
- # project.
3670
- # At least one owner must be set in the bindings. Among the list of members
3671
- # as owners, at least one of them must be either `user` or `group` based.
3712
+ # Policy bindings to be applied to the tenant project, in addition to the
3713
+ # 'roles/owner' role granted to the Service Consumer Management service
3714
+ # account.
3715
+ # At least one binding must have the role `roles/owner`. Among the list of
3716
+ # members for `roles/owner`, at least one of them must be either `user` or
3717
+ # `group` type.
3672
3718
  # Corresponds to the JSON property `policyBindings`
3673
3719
  # @return [Array<Google::Apis::ServiceconsumermanagementV1::PolicyBinding>]
3674
3720
  attr_accessor :policy_bindings