google-api-client 0.39.0 → 0.39.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +566 -0
- data/generated/google/apis/bigquery_v2/representations.rb +147 -0
- data/generated/google/apis/bigquery_v2/service.rb +120 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +26 -10
- data/generated/google/apis/books_v1.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +435 -289
- data/generated/google/apis/books_v1/representations.rb +124 -91
- data/generated/google/apis/books_v1/service.rb +354 -484
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +15 -0
- data/generated/google/apis/chat_v1/representations.rb +2 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +24 -12
- data/generated/google/apis/cloudfunctions_v1/service.rb +3 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +26 -10
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +26 -10
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +26 -10
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +45 -32
- data/generated/google/apis/logging_v2/service.rb +9 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -5
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +26 -14
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +9 -6
- data/generated/google/apis/osconfig_v1beta.rb +35 -0
- data/generated/google/apis/osconfig_v1beta/classes.rb +2365 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +36 -11
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1/service.rb +15 -6
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +23 -10
- data/generated/google/apis/pubsub_v1beta2/service.rb +10 -4
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -10
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +61 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/service.rb +1 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +4 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -3
@@ -797,7 +797,20 @@ module Google
|
|
797
797
|
# @return [String]
|
798
798
|
attr_accessor :name
|
799
799
|
|
800
|
+
# Whether the space is a DM between a bot and a single human.
|
801
|
+
# Corresponds to the JSON property `singleUserBotDm`
|
802
|
+
# @return [Boolean]
|
803
|
+
attr_accessor :single_user_bot_dm
|
804
|
+
alias_method :single_user_bot_dm?, :single_user_bot_dm
|
805
|
+
|
806
|
+
# Whether the messages are threaded in this space.
|
807
|
+
# Corresponds to the JSON property `threaded`
|
808
|
+
# @return [Boolean]
|
809
|
+
attr_accessor :threaded
|
810
|
+
alias_method :threaded?, :threaded
|
811
|
+
|
800
812
|
# Output only. The type of a space.
|
813
|
+
# This is deprecated. Use `single_user_bot_dm` instead.
|
801
814
|
# Corresponds to the JSON property `type`
|
802
815
|
# @return [String]
|
803
816
|
attr_accessor :type
|
@@ -810,6 +823,8 @@ module Google
|
|
810
823
|
def update!(**args)
|
811
824
|
@display_name = args[:display_name] if args.key?(:display_name)
|
812
825
|
@name = args[:name] if args.key?(:name)
|
826
|
+
@single_user_bot_dm = args[:single_user_bot_dm] if args.key?(:single_user_bot_dm)
|
827
|
+
@threaded = args[:threaded] if args.key?(:threaded)
|
813
828
|
@type = args[:type] if args.key?(:type)
|
814
829
|
end
|
815
830
|
end
|
@@ -408,6 +408,8 @@ module Google
|
|
408
408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
409
409
|
property :display_name, as: 'displayName'
|
410
410
|
property :name, as: 'name'
|
411
|
+
property :single_user_bot_dm, as: 'singleUserBotDm'
|
412
|
+
property :threaded, as: 'threaded'
|
411
413
|
property :type, as: 'type'
|
412
414
|
end
|
413
415
|
end
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/debugger
|
27
27
|
module ClouddebuggerV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200501'
|
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'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/functions
|
26
26
|
module CloudfunctionsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200504'
|
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'
|
@@ -1000,10 +1000,13 @@ module Google
|
|
1000
1000
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1001
1001
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1002
1002
|
# custom role.
|
1003
|
-
#
|
1004
|
-
# expression that allows access to a resource
|
1005
|
-
# to `true`. A condition can add constraints
|
1006
|
-
# request, the resource, or both.
|
1003
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1004
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1005
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1006
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1007
|
+
# resources support conditions in their IAM policies, see the
|
1008
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1009
|
+
# policies).
|
1007
1010
|
# **JSON example:**
|
1008
1011
|
# `
|
1009
1012
|
# "bindings": [
|
@@ -1018,7 +1021,9 @@ module Google
|
|
1018
1021
|
# `,
|
1019
1022
|
# `
|
1020
1023
|
# "role": "roles/resourcemanager.organizationViewer",
|
1021
|
-
# "members": [
|
1024
|
+
# "members": [
|
1025
|
+
# "user:eve@example.com"
|
1026
|
+
# ],
|
1022
1027
|
# "condition": `
|
1023
1028
|
# "title": "expirable access",
|
1024
1029
|
# "description": "Does not grant access after Sep 2020",
|
@@ -1096,6 +1101,9 @@ module Google
|
|
1096
1101
|
# the conditions in the version `3` policy are lost.
|
1097
1102
|
# If a policy does not include any conditions, operations on that policy may
|
1098
1103
|
# specify any valid version or leave the field unset.
|
1104
|
+
# To learn which resources support conditions in their IAM policies, see the
|
1105
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1106
|
+
# policies).
|
1099
1107
|
# Corresponds to the JSON property `version`
|
1100
1108
|
# @return [Fixnum]
|
1101
1109
|
attr_accessor :version
|
@@ -1141,10 +1149,13 @@ module Google
|
|
1141
1149
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1142
1150
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1143
1151
|
# custom role.
|
1144
|
-
#
|
1145
|
-
# expression that allows access to a resource
|
1146
|
-
# to `true`. A condition can add constraints
|
1147
|
-
# request, the resource, or both.
|
1152
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1153
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1154
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1155
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1156
|
+
# resources support conditions in their IAM policies, see the
|
1157
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1158
|
+
# policies).
|
1148
1159
|
# **JSON example:**
|
1149
1160
|
# `
|
1150
1161
|
# "bindings": [
|
@@ -1159,7 +1170,9 @@ module Google
|
|
1159
1170
|
# `,
|
1160
1171
|
# `
|
1161
1172
|
# "role": "roles/resourcemanager.organizationViewer",
|
1162
|
-
# "members": [
|
1173
|
+
# "members": [
|
1174
|
+
# "user:eve@example.com"
|
1175
|
+
# ],
|
1163
1176
|
# "condition": `
|
1164
1177
|
# "title": "expirable access",
|
1165
1178
|
# "description": "Does not grant access after Sep 2020",
|
@@ -1197,8 +1210,7 @@ module Google
|
|
1197
1210
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
1198
1211
|
# the fields in the mask will be modified. If no mask is provided, the
|
1199
1212
|
# following default mask is used:
|
1200
|
-
# paths: "bindings, etag"
|
1201
|
-
# This field is only used by Cloud IAM.
|
1213
|
+
# `paths: "bindings, etag"`
|
1202
1214
|
# Corresponds to the JSON property `updateMask`
|
1203
1215
|
# @return [String]
|
1204
1216
|
attr_accessor :update_mask
|
@@ -410,6 +410,9 @@ module Google
|
|
410
410
|
# Requests for policies with any conditional bindings must specify version 3.
|
411
411
|
# Policies without any conditional bindings may specify any valid value or
|
412
412
|
# leave the field unset.
|
413
|
+
# To learn which resources support conditions in their IAM policies, see the
|
414
|
+
# [IAM
|
415
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
413
416
|
# @param [String] fields
|
414
417
|
# Selector specifying which fields to include in a partial response.
|
415
418
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200505'
|
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'
|
@@ -564,6 +564,9 @@ module Google
|
|
564
564
|
# Requests for policies with any conditional bindings must specify version 3.
|
565
565
|
# Policies without any conditional bindings may specify any valid value or
|
566
566
|
# leave the field unset.
|
567
|
+
# To learn which resources support conditions in their IAM policies, see the
|
568
|
+
# [IAM
|
569
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
567
570
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
568
571
|
# @return [Fixnum]
|
569
572
|
attr_accessor :requested_policy_version
|
@@ -906,10 +909,13 @@ module Google
|
|
906
909
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
907
910
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
908
911
|
# custom role.
|
909
|
-
#
|
910
|
-
# expression that allows access to a resource
|
911
|
-
# to `true`. A condition can add constraints
|
912
|
-
# request, the resource, or both.
|
912
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
913
|
+
# `condition`, which is a logical expression that allows access to a resource
|
914
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
915
|
+
# based on attributes of the request, the resource, or both. To learn which
|
916
|
+
# resources support conditions in their IAM policies, see the
|
917
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
918
|
+
# policies).
|
913
919
|
# **JSON example:**
|
914
920
|
# `
|
915
921
|
# "bindings": [
|
@@ -924,7 +930,9 @@ module Google
|
|
924
930
|
# `,
|
925
931
|
# `
|
926
932
|
# "role": "roles/resourcemanager.organizationViewer",
|
927
|
-
# "members": [
|
933
|
+
# "members": [
|
934
|
+
# "user:eve@example.com"
|
935
|
+
# ],
|
928
936
|
# "condition": `
|
929
937
|
# "title": "expirable access",
|
930
938
|
# "description": "Does not grant access after Sep 2020",
|
@@ -997,6 +1005,9 @@ module Google
|
|
997
1005
|
# the conditions in the version `3` policy are lost.
|
998
1006
|
# If a policy does not include any conditions, operations on that policy may
|
999
1007
|
# specify any valid version or leave the field unset.
|
1008
|
+
# To learn which resources support conditions in their IAM policies, see the
|
1009
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1010
|
+
# policies).
|
1000
1011
|
# Corresponds to the JSON property `version`
|
1001
1012
|
# @return [Fixnum]
|
1002
1013
|
attr_accessor :version
|
@@ -1383,10 +1394,13 @@ module Google
|
|
1383
1394
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1384
1395
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1385
1396
|
# custom role.
|
1386
|
-
#
|
1387
|
-
# expression that allows access to a resource
|
1388
|
-
# to `true`. A condition can add constraints
|
1389
|
-
# request, the resource, or both.
|
1397
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1398
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1399
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1400
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1401
|
+
# resources support conditions in their IAM policies, see the
|
1402
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1403
|
+
# policies).
|
1390
1404
|
# **JSON example:**
|
1391
1405
|
# `
|
1392
1406
|
# "bindings": [
|
@@ -1401,7 +1415,9 @@ module Google
|
|
1401
1415
|
# `,
|
1402
1416
|
# `
|
1403
1417
|
# "role": "roles/resourcemanager.organizationViewer",
|
1404
|
-
# "members": [
|
1418
|
+
# "members": [
|
1419
|
+
# "user:eve@example.com"
|
1420
|
+
# ],
|
1405
1421
|
# "condition": `
|
1406
1422
|
# "title": "expirable access",
|
1407
1423
|
# "description": "Does not grant access after Sep 2020",
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2beta2
|
27
27
|
VERSION = 'V2beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200505'
|
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'
|
@@ -700,6 +700,9 @@ module Google
|
|
700
700
|
# Requests for policies with any conditional bindings must specify version 3.
|
701
701
|
# Policies without any conditional bindings may specify any valid value or
|
702
702
|
# leave the field unset.
|
703
|
+
# To learn which resources support conditions in their IAM policies, see the
|
704
|
+
# [IAM
|
705
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
703
706
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
704
707
|
# @return [Fixnum]
|
705
708
|
attr_accessor :requested_policy_version
|
@@ -971,10 +974,13 @@ module Google
|
|
971
974
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
972
975
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
973
976
|
# custom role.
|
974
|
-
#
|
975
|
-
# expression that allows access to a resource
|
976
|
-
# to `true`. A condition can add constraints
|
977
|
-
# request, the resource, or both.
|
977
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
978
|
+
# `condition`, which is a logical expression that allows access to a resource
|
979
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
980
|
+
# based on attributes of the request, the resource, or both. To learn which
|
981
|
+
# resources support conditions in their IAM policies, see the
|
982
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
983
|
+
# policies).
|
978
984
|
# **JSON example:**
|
979
985
|
# `
|
980
986
|
# "bindings": [
|
@@ -989,7 +995,9 @@ module Google
|
|
989
995
|
# `,
|
990
996
|
# `
|
991
997
|
# "role": "roles/resourcemanager.organizationViewer",
|
992
|
-
# "members": [
|
998
|
+
# "members": [
|
999
|
+
# "user:eve@example.com"
|
1000
|
+
# ],
|
993
1001
|
# "condition": `
|
994
1002
|
# "title": "expirable access",
|
995
1003
|
# "description": "Does not grant access after Sep 2020",
|
@@ -1062,6 +1070,9 @@ module Google
|
|
1062
1070
|
# the conditions in the version `3` policy are lost.
|
1063
1071
|
# If a policy does not include any conditions, operations on that policy may
|
1064
1072
|
# specify any valid version or leave the field unset.
|
1073
|
+
# To learn which resources support conditions in their IAM policies, see the
|
1074
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1075
|
+
# policies).
|
1065
1076
|
# Corresponds to the JSON property `version`
|
1066
1077
|
# @return [Fixnum]
|
1067
1078
|
attr_accessor :version
|
@@ -1551,10 +1562,13 @@ module Google
|
|
1551
1562
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1552
1563
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1553
1564
|
# custom role.
|
1554
|
-
#
|
1555
|
-
# expression that allows access to a resource
|
1556
|
-
# to `true`. A condition can add constraints
|
1557
|
-
# request, the resource, or both.
|
1565
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1566
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1567
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1568
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1569
|
+
# resources support conditions in their IAM policies, see the
|
1570
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1571
|
+
# policies).
|
1558
1572
|
# **JSON example:**
|
1559
1573
|
# `
|
1560
1574
|
# "bindings": [
|
@@ -1569,7 +1583,9 @@ module Google
|
|
1569
1583
|
# `,
|
1570
1584
|
# `
|
1571
1585
|
# "role": "roles/resourcemanager.organizationViewer",
|
1572
|
-
# "members": [
|
1586
|
+
# "members": [
|
1587
|
+
# "user:eve@example.com"
|
1588
|
+
# ],
|
1573
1589
|
# "condition": `
|
1574
1590
|
# "title": "expirable access",
|
1575
1591
|
# "description": "Does not grant access after Sep 2020",
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2beta3
|
27
27
|
VERSION = 'V2beta3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200505'
|
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'
|
@@ -597,6 +597,9 @@ module Google
|
|
597
597
|
# Requests for policies with any conditional bindings must specify version 3.
|
598
598
|
# Policies without any conditional bindings may specify any valid value or
|
599
599
|
# leave the field unset.
|
600
|
+
# To learn which resources support conditions in their IAM policies, see the
|
601
|
+
# [IAM
|
602
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
600
603
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
601
604
|
# @return [Fixnum]
|
602
605
|
attr_accessor :requested_policy_version
|
@@ -939,10 +942,13 @@ module Google
|
|
939
942
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
940
943
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
941
944
|
# custom role.
|
942
|
-
#
|
943
|
-
# expression that allows access to a resource
|
944
|
-
# to `true`. A condition can add constraints
|
945
|
-
# request, the resource, or both.
|
945
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
946
|
+
# `condition`, which is a logical expression that allows access to a resource
|
947
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
948
|
+
# based on attributes of the request, the resource, or both. To learn which
|
949
|
+
# resources support conditions in their IAM policies, see the
|
950
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
951
|
+
# policies).
|
946
952
|
# **JSON example:**
|
947
953
|
# `
|
948
954
|
# "bindings": [
|
@@ -957,7 +963,9 @@ module Google
|
|
957
963
|
# `,
|
958
964
|
# `
|
959
965
|
# "role": "roles/resourcemanager.organizationViewer",
|
960
|
-
# "members": [
|
966
|
+
# "members": [
|
967
|
+
# "user:eve@example.com"
|
968
|
+
# ],
|
961
969
|
# "condition": `
|
962
970
|
# "title": "expirable access",
|
963
971
|
# "description": "Does not grant access after Sep 2020",
|
@@ -1030,6 +1038,9 @@ module Google
|
|
1030
1038
|
# the conditions in the version `3` policy are lost.
|
1031
1039
|
# If a policy does not include any conditions, operations on that policy may
|
1032
1040
|
# specify any valid version or leave the field unset.
|
1041
|
+
# To learn which resources support conditions in their IAM policies, see the
|
1042
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1043
|
+
# policies).
|
1033
1044
|
# Corresponds to the JSON property `version`
|
1034
1045
|
# @return [Fixnum]
|
1035
1046
|
attr_accessor :version
|
@@ -1406,10 +1417,13 @@ module Google
|
|
1406
1417
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1407
1418
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1408
1419
|
# custom role.
|
1409
|
-
#
|
1410
|
-
# expression that allows access to a resource
|
1411
|
-
# to `true`. A condition can add constraints
|
1412
|
-
# request, the resource, or both.
|
1420
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1421
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1422
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1423
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1424
|
+
# resources support conditions in their IAM policies, see the
|
1425
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1426
|
+
# policies).
|
1413
1427
|
# **JSON example:**
|
1414
1428
|
# `
|
1415
1429
|
# "bindings": [
|
@@ -1424,7 +1438,9 @@ module Google
|
|
1424
1438
|
# `,
|
1425
1439
|
# `
|
1426
1440
|
# "role": "roles/resourcemanager.organizationViewer",
|
1427
|
-
# "members": [
|
1441
|
+
# "members": [
|
1442
|
+
# "user:eve@example.com"
|
1443
|
+
# ],
|
1428
1444
|
# "condition": `
|
1429
1445
|
# "title": "expirable access",
|
1430
1446
|
# "description": "Does not grant access after Sep 2020",
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
# @see https://cloud.google.com/logging/docs/
|
29
29
|
module LoggingV2
|
30
30
|
VERSION = 'V2'
|
31
|
-
REVISION = '
|
31
|
+
REVISION = '20200501'
|
32
32
|
|
33
33
|
# View and manage your data across Google Cloud Platform services
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,11 +26,12 @@ module Google
|
|
26
26
|
class BigQueryOptions
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# Optional. Whether to use BigQuery's partition tables.
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
33
|
-
#
|
29
|
+
# Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/
|
30
|
+
# bigquery/docs/partitioned-tables). By default, Logging creates dated tables
|
31
|
+
# based on the log entries' timestamps, e.g. syslog_20170523. With partitioned
|
32
|
+
# tables the date suffix is no longer present and special query syntax (https://
|
33
|
+
# cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used
|
34
|
+
# instead. In both cases, tables are sharded based on UTC timezone.
|
34
35
|
# Corresponds to the JSON property `usePartitionedTables`
|
35
36
|
# @return [Boolean]
|
36
37
|
attr_accessor :use_partitioned_tables
|
@@ -119,7 +120,8 @@ module Google
|
|
119
120
|
# a project, folder, organization, billing account, or flexible resource.Note:
|
120
121
|
# CMEK for the Logs Router can currently only be configured for GCP
|
121
122
|
# organizations. Once configured, it applies to all projects and folders in the
|
122
|
-
# GCP organization.See Enabling CMEK for Logs Router
|
123
|
+
# GCP organization.See Enabling CMEK for Logs Router (https://cloud.google.com/
|
124
|
+
# logging/docs/routing/managed-encryption) for more information.
|
123
125
|
class CmekSettings
|
124
126
|
include Google::Apis::Core::Hashable
|
125
127
|
|
@@ -135,7 +137,8 @@ module Google
|
|
135
137
|
# operations will be completed using the key that was used at the time of
|
136
138
|
# encryption unless access to that key has been revoked.To disable CMEK for the
|
137
139
|
# Logs Router, set this field to an empty string.See Enabling CMEK for Logs
|
138
|
-
# Router for
|
140
|
+
# Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for
|
141
|
+
# more information.
|
139
142
|
# Corresponds to the JSON property `kmsKeyName`
|
140
143
|
# @return [String]
|
141
144
|
attr_accessor :kms_key_name
|
@@ -150,7 +153,8 @@ module Google
|
|
150
153
|
# assign the role roles/cloudkms.cryptoKeyEncrypterDecrypter to the service
|
151
154
|
# account that the Logs Router will use to access your Cloud KMS key. Use
|
152
155
|
# GetCmekSettings to obtain the service account ID.See Enabling CMEK for Logs
|
153
|
-
# Router for
|
156
|
+
# Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for
|
157
|
+
# more information.
|
154
158
|
# Corresponds to the JSON property `serviceAccountId`
|
155
159
|
# @return [String]
|
156
160
|
attr_accessor :service_account_id
|
@@ -491,10 +495,11 @@ module Google
|
|
491
495
|
include Google::Apis::Core::Hashable
|
492
496
|
|
493
497
|
# Optional. A filter that chooses which log entries to return. See Advanced Logs
|
494
|
-
# Queries. Only
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
+
# Queries (https://cloud.google.com/logging/docs/view/advanced-queries). Only
|
499
|
+
# log entries that match the filter are returned. An empty filter matches all
|
500
|
+
# log entries in the resources listed in resource_names. Referencing a parent
|
501
|
+
# resource that is not listed in resource_names will cause the filter to return
|
502
|
+
# no results. The maximum length of the filter is 20000 characters.
|
498
503
|
# Corresponds to the JSON property `filter`
|
499
504
|
# @return [String]
|
500
505
|
attr_accessor :filter
|
@@ -887,9 +892,10 @@ module Google
|
|
887
892
|
# If this field is omitted in a new log entry, then Logging assigns it the
|
888
893
|
# current time. Timestamps have nanosecond accuracy, but trailing zeros in the
|
889
894
|
# fractional seconds might be omitted when the timestamp is displayed.Incoming
|
890
|
-
# log entries must have timestamps that don't exceed the logs retention period
|
891
|
-
# in the past,
|
892
|
-
#
|
895
|
+
# log entries must have timestamps that don't exceed the logs retention period (
|
896
|
+
# https://cloud.google.com/logging/quotas#logs_retention_periods) in the past,
|
897
|
+
# and that don't exceed 24 hours in the future. Log entries outside those time
|
898
|
+
# boundaries aren't ingested by Logging.
|
893
899
|
# Corresponds to the JSON property `timestamp`
|
894
900
|
# @return [String]
|
895
901
|
attr_accessor :timestamp
|
@@ -1048,11 +1054,13 @@ module Google
|
|
1048
1054
|
attr_accessor :disabled
|
1049
1055
|
alias_method :disabled?, :disabled
|
1050
1056
|
|
1051
|
-
# Required. An advanced logs filter
|
1052
|
-
#
|
1053
|
-
#
|
1054
|
-
#
|
1055
|
-
#
|
1057
|
+
# Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/
|
1058
|
+
# advanced-queries) that matches the log entries to be excluded. By using the
|
1059
|
+
# sample function (https://cloud.google.com/logging/docs/view/advanced-queries#
|
1060
|
+
# sample), you can exclude less than 100% of the matching log entries. For
|
1061
|
+
# example, the following query matches 99% of low-severity log entries from
|
1062
|
+
# Google Cloud Storage buckets:"resource.type=gcs_bucket severity<ERROR sample(
|
1063
|
+
# insertId, 0.99)"
|
1056
1064
|
# Corresponds to the JSON property `filter`
|
1057
1065
|
# @return [String]
|
1058
1066
|
attr_accessor :filter
|
@@ -1160,7 +1168,8 @@ module Google
|
|
1160
1168
|
# @return [String]
|
1161
1169
|
attr_accessor :description
|
1162
1170
|
|
1163
|
-
# Required. An advanced logs filter
|
1171
|
+
# Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/
|
1172
|
+
# advanced_filters) which is used to match log entries. Example:
|
1164
1173
|
# "resource.type=gae_app AND severity>=ERROR"
|
1165
1174
|
# The maximum length of the filter is 20000 characters.
|
1166
1175
|
# Corresponds to the JSON property `filter`
|
@@ -1280,7 +1289,8 @@ module Google
|
|
1280
1289
|
# "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
|
1281
1290
|
# The sink's writer_identity, set when the sink is created, must have permission
|
1282
1291
|
# to write to the destination or else the log entries are not exported. For more
|
1283
|
-
# information, see Exporting Logs with Sinks.
|
1292
|
+
# information, see Exporting Logs with Sinks (https://cloud.google.com/logging/
|
1293
|
+
# docs/api/tasks/exporting-logs).
|
1284
1294
|
# Corresponds to the JSON property `destination`
|
1285
1295
|
# @return [String]
|
1286
1296
|
attr_accessor :destination
|
@@ -1292,9 +1302,9 @@ module Google
|
|
1292
1302
|
attr_accessor :disabled
|
1293
1303
|
alias_method :disabled?, :disabled
|
1294
1304
|
|
1295
|
-
# Optional. An advanced logs filter.
|
1296
|
-
#
|
1297
|
-
# example:
|
1305
|
+
# Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/
|
1306
|
+
# advanced-queries). The only exported log entries are those that are in the
|
1307
|
+
# resource owning the sink and that match the filter. For example:
|
1298
1308
|
# logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
|
1299
1309
|
# Corresponds to the JSON property `filter`
|
1300
1310
|
# @return [String]
|
@@ -1326,8 +1336,7 @@ module Google
|
|
1326
1336
|
# @return [String]
|
1327
1337
|
attr_accessor :name
|
1328
1338
|
|
1329
|
-
# Deprecated.
|
1330
|
-
# The v2 format is used by default and cannot be changed.
|
1339
|
+
# Deprecated. This field is unused.
|
1331
1340
|
# Corresponds to the JSON property `outputVersionFormat`
|
1332
1341
|
# @return [String]
|
1333
1342
|
attr_accessor :output_version_format
|
@@ -1343,7 +1352,9 @@ module Google
|
|
1343
1352
|
# field is set by sinks.create and sinks.update based on the value of
|
1344
1353
|
# unique_writer_identity in those methods.Until you grant this identity write-
|
1345
1354
|
# access to the destination, log entry exports from this sink will fail. For
|
1346
|
-
# more information, see Granting Access for a Resource.
|
1355
|
+
# more information, see Granting Access for a Resource (https://cloud.google.com/
|
1356
|
+
# iam/docs/granting-roles-to-service-accounts#
|
1357
|
+
# granting_access_to_a_service_account_for_a_resource). Consult the destination
|
1347
1358
|
# service's documentation to determine the appropriate IAM roles to assign to
|
1348
1359
|
# the identity.
|
1349
1360
|
# Corresponds to the JSON property `writerIdentity`
|
@@ -2035,10 +2046,12 @@ module Google
|
|
2035
2046
|
# respectively. The supplied values are chosen so that, among the log entries
|
2036
2047
|
# that did not supply their own values, the entries earlier in the list will
|
2037
2048
|
# sort before the entries later in the list. See the entries.list method.Log
|
2038
|
-
# entries with timestamps that are more than the logs retention period
|
2039
|
-
# past or more than 24 hours in
|
2040
|
-
# entries.list. However, those log
|
2041
|
-
#
|
2049
|
+
# entries with timestamps that are more than the logs retention period (https://
|
2050
|
+
# cloud.google.com/logging/quota-policy) in the past or more than 24 hours in
|
2051
|
+
# the future will not be available when calling entries.list. However, those log
|
2052
|
+
# entries can still be exported with LogSinks (https://cloud.google.com/logging/
|
2053
|
+
# docs/api/tasks/exporting-logs).To improve throughput and to avoid exceeding
|
2054
|
+
# the quota limit (https://cloud.google.com/logging/quota-policy) for calls to
|
2042
2055
|
# entries.write, you should try to include several log entries in this list,
|
2043
2056
|
# rather than calling this method for each individual log entry.
|
2044
2057
|
# Corresponds to the JSON property `entries`
|