google-api-client 0.32.1 → 0.33.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +40 -0
  3. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1beta1/classes.rb +5 -2
  5. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -6
  6. data/generated/google/apis/admin_directory_v1.rb +4 -1
  7. data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
  8. data/generated/google/apis/admin_reports_v1.rb +2 -2
  9. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  10. data/generated/google/apis/admin_reports_v1/service.rb +306 -63
  11. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  12. data/generated/google/apis/androidpublisher_v3/classes.rb +6 -0
  13. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  14. data/generated/google/apis/appengine_v1.rb +1 -1
  15. data/generated/google/apis/appengine_v1/service.rb +10 -6
  16. data/generated/google/apis/appengine_v1beta.rb +1 -1
  17. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  18. data/generated/google/apis/bigquery_v2.rb +1 -1
  19. data/generated/google/apis/bigquery_v2/classes.rb +10 -18
  20. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  21. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +1 -0
  22. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  23. data/generated/google/apis/cloudbilling_v1/classes.rb +65 -36
  24. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  25. data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
  26. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  27. data/generated/google/apis/cloudfunctions_v1/service.rb +7 -3
  28. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  29. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  30. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  31. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  32. data/generated/google/apis/cloudkms_v1.rb +1 -1
  33. data/generated/google/apis/cloudkms_v1/service.rb +3 -0
  34. data/generated/google/apis/content_v2.rb +1 -1
  35. data/generated/google/apis/content_v2/classes.rb +23 -220
  36. data/generated/google/apis/content_v2/representations.rb +0 -115
  37. data/generated/google/apis/content_v2/service.rb +0 -160
  38. data/generated/google/apis/content_v2_1.rb +1 -1
  39. data/generated/google/apis/content_v2_1/classes.rb +57 -18
  40. data/generated/google/apis/content_v2_1/representations.rb +3 -0
  41. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  42. data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
  43. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
  44. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  45. data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
  46. data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
  47. data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
  48. data/generated/google/apis/dialogflow_v2.rb +1 -1
  49. data/generated/google/apis/dialogflow_v2/classes.rb +280 -0
  50. data/generated/google/apis/dialogflow_v2/representations.rb +115 -0
  51. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  52. data/generated/google/apis/dialogflow_v2beta1/classes.rb +280 -0
  53. data/generated/google/apis/dialogflow_v2beta1/representations.rb +115 -0
  54. data/generated/google/apis/iap_v1.rb +1 -1
  55. data/generated/google/apis/iap_v1/classes.rb +2 -2
  56. data/generated/google/apis/iap_v1beta1.rb +1 -1
  57. data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
  58. data/generated/google/apis/logging_v2.rb +1 -1
  59. data/generated/google/apis/logging_v2/classes.rb +12 -0
  60. data/generated/google/apis/logging_v2/representations.rb +2 -0
  61. data/generated/google/apis/logging_v2/service.rb +10 -5
  62. data/generated/google/apis/monitoring_v3.rb +1 -1
  63. data/generated/google/apis/monitoring_v3/classes.rb +15 -1
  64. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  65. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  66. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +5 -4
  67. data/generated/google/apis/pubsub_v1.rb +1 -1
  68. data/generated/google/apis/pubsub_v1/service.rb +3 -0
  69. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  70. data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
  71. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  72. data/generated/google/apis/remotebuildexecution_v1/classes.rb +24 -0
  73. data/generated/google/apis/remotebuildexecution_v1/representations.rb +4 -0
  74. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  75. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +24 -0
  76. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +4 -0
  77. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  78. data/generated/google/apis/remotebuildexecution_v2/classes.rb +24 -0
  79. data/generated/google/apis/remotebuildexecution_v2/representations.rb +4 -0
  80. data/generated/google/apis/securitycenter_v1.rb +1 -1
  81. data/generated/google/apis/securitycenter_v1/classes.rb +2 -2
  82. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  83. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -2
  84. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  85. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +63 -0
  86. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
  87. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  88. data/generated/google/apis/servicemanagement_v1/classes.rb +33 -7
  89. data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
  90. data/generated/google/apis/servicemanagement_v1/service.rb +31 -17
  91. data/generated/google/apis/serviceusage_v1.rb +1 -1
  92. data/generated/google/apis/serviceusage_v1/classes.rb +55 -0
  93. data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
  94. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  95. data/generated/google/apis/serviceusage_v1beta1/classes.rb +55 -0
  96. data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
  97. data/generated/google/apis/sheets_v4.rb +1 -1
  98. data/generated/google/apis/sheets_v4/classes.rb +389 -0
  99. data/generated/google/apis/sheets_v4/representations.rb +79 -0
  100. data/google-api-client.gemspec +3 -3
  101. data/lib/google/apis/version.rb +1 -1
  102. metadata +10 -21
  103. data/generated/google/apis/urlshortener_v1.rb +0 -34
  104. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  105. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  106. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
@@ -34,7 +34,7 @@ module Google
34
34
  # @see https://cloud.google.com/data-fusion/docs
35
35
  module DatafusionV1beta1
36
36
  VERSION = 'V1beta1'
37
- REVISION = '20190610'
37
+ REVISION = '20191007'
38
38
 
39
39
  # View and manage your data across Google Cloud Platform services
40
40
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -39,7 +39,7 @@ module Google
39
39
  # `
40
40
  # "log_type": "DATA_READ",
41
41
  # "exempted_members": [
42
- # "user:foo@gmail.com"
42
+ # "user:jose@example.com"
43
43
  # ]
44
44
  # `,
45
45
  # `
@@ -51,7 +51,7 @@ module Google
51
51
  # ]
52
52
  # `,
53
53
  # `
54
- # "service": "fooservice.googleapis.com"
54
+ # "service": "sampleservice.googleapis.com"
55
55
  # "audit_log_configs": [
56
56
  # `
57
57
  # "log_type": "DATA_READ",
@@ -59,16 +59,16 @@ module Google
59
59
  # `
60
60
  # "log_type": "DATA_WRITE",
61
61
  # "exempted_members": [
62
- # "user:bar@gmail.com"
62
+ # "user:aliya@example.com"
63
63
  # ]
64
64
  # `
65
65
  # ]
66
66
  # `
67
67
  # ]
68
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.
69
+ # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
70
+ # logging. It also exempts jose@example.com from DATA_READ logging, and
71
+ # aliya@example.com from DATA_WRITE logging.
72
72
  class AuditConfig
73
73
  include Google::Apis::Core::Hashable
74
74
 
@@ -108,7 +108,7 @@ module Google
108
108
  # `
109
109
  # "log_type": "DATA_READ",
110
110
  # "exempted_members": [
111
- # "user:foo@gmail.com"
111
+ # "user:jose@example.com"
112
112
  # ]
113
113
  # `,
114
114
  # `
@@ -117,7 +117,7 @@ module Google
117
117
  # ]
118
118
  # `
119
119
  # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
120
- # foo@gmail.com from DATA_READ logging.
120
+ # jose@example.com from DATA_READ logging.
121
121
  class AuditLogConfig
122
122
  include Google::Apis::Core::Hashable
123
123
 
@@ -128,6 +128,12 @@ module Google
128
128
  # @return [Array<String>]
129
129
  attr_accessor :exempted_members
130
130
 
131
+ #
132
+ # Corresponds to the JSON property `ignoreChildExemptions`
133
+ # @return [Boolean]
134
+ attr_accessor :ignore_child_exemptions
135
+ alias_method :ignore_child_exemptions?, :ignore_child_exemptions
136
+
131
137
  # The log type that this config enables.
132
138
  # Corresponds to the JSON property `logType`
133
139
  # @return [String]
@@ -140,6 +146,7 @@ module Google
140
146
  # Update properties of this object
141
147
  def update!(**args)
142
148
  @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
149
+ @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
143
150
  @log_type = args[:log_type] if args.key?(:log_type)
144
151
  end
145
152
  end
@@ -182,7 +189,7 @@ module Google
182
189
  # * `allAuthenticatedUsers`: A special identifier that represents anyone
183
190
  # who is authenticated with a Google account or a service account.
184
191
  # * `user:`emailid``: An email address that represents a specific Google
185
- # account. For example, `alice@gmail.com` .
192
+ # account. For example, `alice@example.com` .
186
193
  # * `serviceAccount:`emailid``: An email address that represents a service
187
194
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
188
195
  # * `group:`emailid``: An email address that represents a Google group.
@@ -308,13 +315,16 @@ module Google
308
315
  # - "" (empty string), resulting in a counter with no fields.
309
316
  # Examples:
310
317
  # counter ` metric: "/debug_access_count" field: "iam_principal" `
311
- # ==> increment counter /iam/policy/backend_debug_access_count
318
+ # ==> increment counter /iam/policy/debug_access_count
312
319
  # `iam_principal=[value of IAMContext.principal]`
313
- # At this time we do not support multiple field names (though this may be
314
- # supported in the future).
315
320
  class CounterOptions
316
321
  include Google::Apis::Core::Hashable
317
322
 
323
+ # Custom fields.
324
+ # Corresponds to the JSON property `customFields`
325
+ # @return [Array<Google::Apis::DatafusionV1beta1::CustomField>]
326
+ attr_accessor :custom_fields
327
+
318
328
  # The field value to attribute.
319
329
  # Corresponds to the JSON property `field`
320
330
  # @return [String]
@@ -331,11 +341,42 @@ module Google
331
341
 
332
342
  # Update properties of this object
333
343
  def update!(**args)
344
+ @custom_fields = args[:custom_fields] if args.key?(:custom_fields)
334
345
  @field = args[:field] if args.key?(:field)
335
346
  @metric = args[:metric] if args.key?(:metric)
336
347
  end
337
348
  end
338
349
 
350
+ # Custom fields.
351
+ # These can be used to create a counter with arbitrary field/value
352
+ # pairs.
353
+ # See: go/rpcsp-custom-fields.
354
+ class CustomField
355
+ include Google::Apis::Core::Hashable
356
+
357
+ # Name is the field name.
358
+ # Corresponds to the JSON property `name`
359
+ # @return [String]
360
+ attr_accessor :name
361
+
362
+ # Value is the field value. It is important that in contrast to the
363
+ # CounterOptions.field, the value here is a constant that is not
364
+ # derived from the IAMContext.
365
+ # Corresponds to the JSON property `value`
366
+ # @return [String]
367
+ attr_accessor :value
368
+
369
+ def initialize(**args)
370
+ update!(**args)
371
+ end
372
+
373
+ # Update properties of this object
374
+ def update!(**args)
375
+ @name = args[:name] if args.key?(:name)
376
+ @value = args[:value] if args.key?(:value)
377
+ end
378
+ end
379
+
339
380
  # Write a Data Access (Gin) log
340
381
  class DataAccessOptions
341
382
  include Google::Apis::Core::Hashable
@@ -426,6 +467,17 @@ module Google
426
467
  class Instance
427
468
  include Google::Apis::Core::Hashable
428
469
 
470
+ # Output only. Endpoint on which the REST APIs is accessible.
471
+ # Corresponds to the JSON property `apiEndpoint`
472
+ # @return [String]
473
+ attr_accessor :api_endpoint
474
+
475
+ # Available versions that the instance can be upgraded to using
476
+ # UpdateInstanceRequest.
477
+ # Corresponds to the JSON property `availableVersion`
478
+ # @return [Array<Google::Apis::DatafusionV1beta1::Version>]
479
+ attr_accessor :available_version
480
+
429
481
  # Output only. The time the instance was created.
430
482
  # Corresponds to the JSON property `createTime`
431
483
  # @return [String]
@@ -496,8 +548,7 @@ module Google
496
548
  # @return [String]
497
549
  attr_accessor :service_account
498
550
 
499
- # Output only. Endpoint on which the Data Fusion UI and REST APIs are
500
- # accessible.
551
+ # Output only. Endpoint on which the Data Fusion UI is accessible.
501
552
  # Corresponds to the JSON property `serviceEndpoint`
502
553
  # @return [String]
503
554
  attr_accessor :service_endpoint
@@ -523,7 +574,7 @@ module Google
523
574
  # @return [String]
524
575
  attr_accessor :update_time
525
576
 
526
- # Output only. Current version of the Data Fusion.
577
+ # Current version of the Data Fusion. Only specifiable in Update.
527
578
  # Corresponds to the JSON property `version`
528
579
  # @return [String]
529
580
  attr_accessor :version
@@ -539,6 +590,8 @@ module Google
539
590
 
540
591
  # Update properties of this object
541
592
  def update!(**args)
593
+ @api_endpoint = args[:api_endpoint] if args.key?(:api_endpoint)
594
+ @available_version = args[:available_version] if args.key?(:available_version)
542
595
  @create_time = args[:create_time] if args.key?(:create_time)
543
596
  @description = args[:description] if args.key?(:description)
544
597
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -713,10 +766,8 @@ module Google
713
766
  # - "" (empty string), resulting in a counter with no fields.
714
767
  # Examples:
715
768
  # counter ` metric: "/debug_access_count" field: "iam_principal" `
716
- # ==> increment counter /iam/policy/backend_debug_access_count
769
+ # ==> increment counter /iam/policy/debug_access_count
717
770
  # `iam_principal=[value of IAMContext.principal]`
718
- # At this time we do not support multiple field names (though this may be
719
- # supported in the future).
720
771
  # Corresponds to the JSON property `counter`
721
772
  # @return [Google::Apis::DatafusionV1beta1::CounterOptions]
722
773
  attr_accessor :counter
@@ -755,7 +806,9 @@ module Google
755
806
  attr_accessor :ip_allocation
756
807
 
757
808
  # Name of the network in the customer project with which the Tenant Project
758
- # will be peered for executing pipelines.
809
+ # will be peered for executing pipelines. In case of shared VPC where the
810
+ # network resides in another host project the network should specified in
811
+ # the form of projects/`host-project-id`/global/networks/`network`
759
812
  # Corresponds to the JSON property `network`
760
813
  # @return [String]
761
814
  attr_accessor :network
@@ -896,25 +949,34 @@ module Google
896
949
 
897
950
  # Defines an Identity and Access Management (IAM) policy. It is used to
898
951
  # specify access control policies for Cloud Platform resources.
899
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
900
- # `members` to a `role`, where the members can be user accounts, Google groups,
901
- # Google domains, and service accounts. A `role` is a named list of permissions
902
- # defined by IAM.
952
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
953
+ # `members` to a single `role`. Members can be user accounts, service accounts,
954
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
955
+ # permissions (defined by IAM or configured by users). A `binding` can
956
+ # optionally specify a `condition`, which is a logic expression that further
957
+ # constrains the role binding based on attributes about the request and/or
958
+ # target resource.
903
959
  # **JSON Example**
904
960
  # `
905
961
  # "bindings": [
906
962
  # `
907
- # "role": "roles/owner",
963
+ # "role": "roles/resourcemanager.organizationAdmin",
908
964
  # "members": [
909
965
  # "user:mike@example.com",
910
966
  # "group:admins@example.com",
911
967
  # "domain:google.com",
912
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
968
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
913
969
  # ]
914
970
  # `,
915
971
  # `
916
- # "role": "roles/viewer",
917
- # "members": ["user:sean@example.com"]
972
+ # "role": "roles/resourcemanager.organizationViewer",
973
+ # "members": ["user:eve@example.com"],
974
+ # "condition": `
975
+ # "title": "expirable access",
976
+ # "description": "Does not grant access after Sep 2020",
977
+ # "expression": "request.time <
978
+ # timestamp('2020-10-01T00:00:00.000Z')",
979
+ # `
918
980
  # `
919
981
  # ]
920
982
  # `
@@ -924,11 +986,15 @@ module Google
924
986
  # - user:mike@example.com
925
987
  # - group:admins@example.com
926
988
  # - domain:google.com
927
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
928
- # role: roles/owner
989
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
990
+ # role: roles/resourcemanager.organizationAdmin
929
991
  # - members:
930
- # - user:sean@example.com
931
- # role: roles/viewer
992
+ # - user:eve@example.com
993
+ # role: roles/resourcemanager.organizationViewer
994
+ # condition:
995
+ # title: expirable access
996
+ # description: Does not grant access after Sep 2020
997
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
932
998
  # For a description of IAM and its features, see the
933
999
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
934
1000
  class Policy
@@ -939,7 +1005,8 @@ module Google
939
1005
  # @return [Array<Google::Apis::DatafusionV1beta1::AuditConfig>]
940
1006
  attr_accessor :audit_configs
941
1007
 
942
- # Associates a list of `members` to a `role`.
1008
+ # Associates a list of `members` to a `role`. Optionally may specify a
1009
+ # `condition` that determines when binding is in effect.
943
1010
  # `bindings` with no members will result in an error.
944
1011
  # Corresponds to the JSON property `bindings`
945
1012
  # @return [Array<Google::Apis::DatafusionV1beta1::Binding>]
@@ -953,7 +1020,9 @@ module Google
953
1020
  # systems are expected to put that etag in the request to `setIamPolicy` to
954
1021
  # ensure that their change will be applied to the same version of the policy.
955
1022
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
956
- # policy is overwritten blindly.
1023
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
1024
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
1025
+ # does not meet the version requirements.
957
1026
  # Corresponds to the JSON property `etag`
958
1027
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
959
1028
  # @return [String]
@@ -978,7 +1047,16 @@ module Google
978
1047
  # @return [Array<Google::Apis::DatafusionV1beta1::Rule>]
979
1048
  attr_accessor :rules
980
1049
 
981
- # Deprecated.
1050
+ # Specifies the format of the policy.
1051
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1052
+ # rejected.
1053
+ # Operations affecting conditional bindings must specify version 3. This can
1054
+ # be either setting a conditional policy, modifying a conditional binding,
1055
+ # or removing a conditional binding from the stored conditional policy.
1056
+ # Operations on non-conditional policies may specify any valid value or
1057
+ # leave the field unset.
1058
+ # If no etag is provided in the call to `setIamPolicy`, any version
1059
+ # compliance checks on the incoming and/or stored policy is skipped.
982
1060
  # Corresponds to the JSON property `version`
983
1061
  # @return [Fixnum]
984
1062
  attr_accessor :version
@@ -1080,25 +1158,34 @@ module Google
1080
1158
 
1081
1159
  # Defines an Identity and Access Management (IAM) policy. It is used to
1082
1160
  # specify access control policies for Cloud Platform resources.
1083
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
1084
- # `members` to a `role`, where the members can be user accounts, Google groups,
1085
- # Google domains, and service accounts. A `role` is a named list of permissions
1086
- # defined by IAM.
1161
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1162
+ # `members` to a single `role`. Members can be user accounts, service accounts,
1163
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
1164
+ # permissions (defined by IAM or configured by users). A `binding` can
1165
+ # optionally specify a `condition`, which is a logic expression that further
1166
+ # constrains the role binding based on attributes about the request and/or
1167
+ # target resource.
1087
1168
  # **JSON Example**
1088
1169
  # `
1089
1170
  # "bindings": [
1090
1171
  # `
1091
- # "role": "roles/owner",
1172
+ # "role": "roles/resourcemanager.organizationAdmin",
1092
1173
  # "members": [
1093
1174
  # "user:mike@example.com",
1094
1175
  # "group:admins@example.com",
1095
1176
  # "domain:google.com",
1096
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
1177
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1097
1178
  # ]
1098
1179
  # `,
1099
1180
  # `
1100
- # "role": "roles/viewer",
1101
- # "members": ["user:sean@example.com"]
1181
+ # "role": "roles/resourcemanager.organizationViewer",
1182
+ # "members": ["user:eve@example.com"],
1183
+ # "condition": `
1184
+ # "title": "expirable access",
1185
+ # "description": "Does not grant access after Sep 2020",
1186
+ # "expression": "request.time <
1187
+ # timestamp('2020-10-01T00:00:00.000Z')",
1188
+ # `
1102
1189
  # `
1103
1190
  # ]
1104
1191
  # `
@@ -1108,11 +1195,15 @@ module Google
1108
1195
  # - user:mike@example.com
1109
1196
  # - group:admins@example.com
1110
1197
  # - domain:google.com
1111
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
1112
- # role: roles/owner
1198
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1199
+ # role: roles/resourcemanager.organizationAdmin
1113
1200
  # - members:
1114
- # - user:sean@example.com
1115
- # role: roles/viewer
1201
+ # - user:eve@example.com
1202
+ # role: roles/resourcemanager.organizationViewer
1203
+ # condition:
1204
+ # title: expirable access
1205
+ # description: Does not grant access after Sep 2020
1206
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1116
1207
  # For a description of IAM and its features, see the
1117
1208
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
1118
1209
  # Corresponds to the JSON property `policy`
@@ -1233,6 +1324,25 @@ module Google
1233
1324
  def update!(**args)
1234
1325
  end
1235
1326
  end
1327
+
1328
+ # The Data Fusion version.
1329
+ class Version
1330
+ include Google::Apis::Core::Hashable
1331
+
1332
+ # The version number of the Data Fusion instance, such as '6.0.1.0'.
1333
+ # Corresponds to the JSON property `versionNumber`
1334
+ # @return [String]
1335
+ attr_accessor :version_number
1336
+
1337
+ def initialize(**args)
1338
+ update!(**args)
1339
+ end
1340
+
1341
+ # Update properties of this object
1342
+ def update!(**args)
1343
+ @version_number = args[:version_number] if args.key?(:version_number)
1344
+ end
1345
+ end
1236
1346
  end
1237
1347
  end
1238
1348
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class CustomField
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class DataAccessOptions
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -190,6 +196,12 @@ module Google
190
196
  include Google::Apis::Core::JsonObjectSupport
191
197
  end
192
198
 
199
+ class Version
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
193
205
  class AuditConfig
194
206
  # @private
195
207
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -204,6 +216,7 @@ module Google
204
216
  # @private
205
217
  class Representation < Google::Apis::Core::JsonRepresentation
206
218
  collection :exempted_members, as: 'exemptedMembers'
219
+ property :ignore_child_exemptions, as: 'ignoreChildExemptions'
207
220
  property :log_type, as: 'logType'
208
221
  end
209
222
  end
@@ -254,11 +267,21 @@ module Google
254
267
  class CounterOptions
255
268
  # @private
256
269
  class Representation < Google::Apis::Core::JsonRepresentation
270
+ collection :custom_fields, as: 'customFields', class: Google::Apis::DatafusionV1beta1::CustomField, decorator: Google::Apis::DatafusionV1beta1::CustomField::Representation
271
+
257
272
  property :field, as: 'field'
258
273
  property :metric, as: 'metric'
259
274
  end
260
275
  end
261
276
 
277
+ class CustomField
278
+ # @private
279
+ class Representation < Google::Apis::Core::JsonRepresentation
280
+ property :name, as: 'name'
281
+ property :value, as: 'value'
282
+ end
283
+ end
284
+
262
285
  class DataAccessOptions
263
286
  # @private
264
287
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -285,6 +308,9 @@ module Google
285
308
  class Instance
286
309
  # @private
287
310
  class Representation < Google::Apis::Core::JsonRepresentation
311
+ property :api_endpoint, as: 'apiEndpoint'
312
+ collection :available_version, as: 'availableVersion', class: Google::Apis::DatafusionV1beta1::Version, decorator: Google::Apis::DatafusionV1beta1::Version::Representation
313
+
288
314
  property :create_time, as: 'createTime'
289
315
  property :description, as: 'description'
290
316
  property :display_name, as: 'displayName'
@@ -464,6 +490,13 @@ module Google
464
490
  class Representation < Google::Apis::Core::JsonRepresentation
465
491
  end
466
492
  end
493
+
494
+ class Version
495
+ # @private
496
+ class Representation < Google::Apis::Core::JsonRepresentation
497
+ property :version_number, as: 'versionNumber'
498
+ end
499
+ end
467
500
  end
468
501
  end
469
502
  end