google-apis-logging_v2 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/logging_v2/classes.rb +147 -68
- data/lib/google/apis/logging_v2/gem_version.rb +2 -2
- data/lib/google/apis/logging_v2/representations.rb +34 -0
- data/lib/google/apis/logging_v2/service.rb +364 -365
- data/lib/google/apis/logging_v2.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99eb340cae719bbee3780f6a462bf20d66ca05543f9efd8112f5efe7cdd04b3b
|
4
|
+
data.tar.gz: a0afc97148ecb57488187fdedf506ff8a10e426a886c4eb44b6126ca016f24cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4d044d31bcf3a0913b784f06453bf2ef9709528cebe9da1dbcdfeaa2fc68e5c70f080995ce572b58066b5dae64d61d78c0dd1244b888c0ea484a1ce7fc4105a
|
7
|
+
data.tar.gz: f41e88bc83750a7c9f1f8ad6ceb236b93caa6225f97156049d8c23d1fc39862a912875cc40f61a16de5a32521a68d63cdc5da07265b11f8c69ac7a66dc195ad4
|
data/CHANGELOG.md
CHANGED
@@ -27,18 +27,19 @@ module Google
|
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
29
|
# Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/
|
30
|
-
# bigquery/docs/partitioned-tables). By default, Logging creates dated
|
31
|
-
# based on the log entries' timestamps, e.g. syslog_20170523. With
|
32
|
-
# tables the date suffix is no longer present and special query
|
33
|
-
# cloud.google.com/bigquery/docs/querying-partitioned-tables)
|
34
|
-
# instead. In both cases, tables are sharded based on UTC
|
30
|
+
# bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated
|
31
|
+
# tables based on the log entries' timestamps, e.g. syslog_20170523. With
|
32
|
+
# partitioned tables the date suffix is no longer present and special query
|
33
|
+
# syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables)
|
34
|
+
# has to be used instead. In both cases, tables are sharded based on UTC
|
35
|
+
# timezone.
|
35
36
|
# Corresponds to the JSON property `usePartitionedTables`
|
36
37
|
# @return [Boolean]
|
37
38
|
attr_accessor :use_partitioned_tables
|
38
39
|
alias_method :use_partitioned_tables?, :use_partitioned_tables
|
39
40
|
|
40
41
|
# Output only. True if new timestamp column based partitioning is in use, false
|
41
|
-
# if legacy ingestion-time partitioning is in use.
|
42
|
+
# if legacy ingestion-time partitioning is in use.All new sinks will have this
|
42
43
|
# field set true and will use timestamp column based partitioning. If
|
43
44
|
# use_partitioned_tables is false, this value has no meaning and will be false.
|
44
45
|
# Legacy sinks using partitioned tables will have this field set to false.
|
@@ -138,9 +139,9 @@ module Google
|
|
138
139
|
include Google::Apis::Core::Hashable
|
139
140
|
|
140
141
|
# The resource name for the configured Cloud KMS key.KMS key name format: "
|
141
|
-
# projects/PROJECT_ID/locations/LOCATION/keyRings/KEYRING/cryptoKeys/KEY"
|
142
|
-
# example:
|
143
|
-
# cryptoKeys/key
|
142
|
+
# projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
|
143
|
+
# For example:"projects/my-project/locations/us-central1/keyRings/my-ring/
|
144
|
+
# cryptoKeys/my-key"To enable CMEK for the Logs Router, set this field to a
|
144
145
|
# valid kms_key_name for which the associated service account has the required
|
145
146
|
# roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.The Cloud
|
146
147
|
# KMS key used by the Log Router can be updated by changing the kms_key_name to
|
@@ -219,8 +220,8 @@ module Google
|
|
219
220
|
attr_accessor :state
|
220
221
|
|
221
222
|
# The IAM identity of a service account that must be granted access to the
|
222
|
-
# destination.
|
223
|
-
# destination within an hour, the operation will be cancelled.
|
223
|
+
# destination.If the service account is not granted permission to the
|
224
|
+
# destination within an hour, the operation will be cancelled.For example: "
|
224
225
|
# serviceAccount:foo@bar.com"
|
225
226
|
# Corresponds to the JSON property `writerIdentity`
|
226
227
|
# @return [String]
|
@@ -246,7 +247,7 @@ module Google
|
|
246
247
|
class CopyLogEntriesRequest
|
247
248
|
include Google::Apis::Core::Hashable
|
248
249
|
|
249
|
-
# Required. Destination to which to copy
|
250
|
+
# Required. Destination to which to copy log entries.
|
250
251
|
# Corresponds to the JSON property `destination`
|
251
252
|
# @return [String]
|
252
253
|
attr_accessor :destination
|
@@ -257,8 +258,8 @@ module Google
|
|
257
258
|
# @return [String]
|
258
259
|
attr_accessor :filter
|
259
260
|
|
260
|
-
# Required.
|
261
|
-
#
|
261
|
+
# Required. Log bucket from which to copy log entries.For example:"projects/my-
|
262
|
+
# project/locations/global/buckets/my-source-bucket"
|
262
263
|
# Corresponds to the JSON property `name`
|
263
264
|
# @return [String]
|
264
265
|
attr_accessor :name
|
@@ -954,7 +955,7 @@ module Google
|
|
954
955
|
end
|
955
956
|
end
|
956
957
|
|
957
|
-
# Describes a repository
|
958
|
+
# Describes a repository in which log entries are stored.
|
958
959
|
class LogBucket
|
959
960
|
include Google::Apis::Core::Hashable
|
960
961
|
|
@@ -974,27 +975,27 @@ module Google
|
|
974
975
|
# @return [String]
|
975
976
|
attr_accessor :lifecycle_state
|
976
977
|
|
977
|
-
# Whether the bucket
|
978
|
-
#
|
978
|
+
# Whether the bucket is locked.The retention period on a locked bucket cannot be
|
979
|
+
# changed. Locked buckets may only be deleted if they are empty.
|
979
980
|
# Corresponds to the JSON property `locked`
|
980
981
|
# @return [Boolean]
|
981
982
|
attr_accessor :locked
|
982
983
|
alias_method :locked?, :locked
|
983
984
|
|
984
|
-
# Output only. The resource name of the bucket.
|
985
|
-
#
|
986
|
-
#
|
987
|
-
# location of global it is unspecified where
|
988
|
-
# bucket has been created, the location
|
985
|
+
# Output only. The resource name of the bucket.For example:projects/my-project/
|
986
|
+
# locations/global/buckets/my-bucketFor a list of supported locations, see
|
987
|
+
# Supported Regions (https://cloud.google.com/logging/docs/region-support)For
|
988
|
+
# the location of global it is unspecified where log entries are actually stored.
|
989
|
+
# After a bucket has been created, the location cannot be changed.
|
989
990
|
# Corresponds to the JSON property `name`
|
990
991
|
# @return [String]
|
991
992
|
attr_accessor :name
|
992
993
|
|
993
|
-
# Log entry field paths that are denied access in this bucket.
|
994
|
+
# Log entry field paths that are denied access in this bucket.The following
|
994
995
|
# fields and their children are eligible: textPayload, jsonPayload, protoPayload,
|
995
|
-
# httpRequest, labels, sourceLocation.
|
996
|
-
# restrict all values. Adding a parent will block all child fields e.g. foo.
|
997
|
-
# will block foo.bar.baz
|
996
|
+
# httpRequest, labels, sourceLocation.Restricting a repeated field will
|
997
|
+
# restrict all values. Adding a parent will block all child fields. (e.g. foo.
|
998
|
+
# bar will block foo.bar.baz)
|
998
999
|
# Corresponds to the JSON property `restrictedFields`
|
999
1000
|
# @return [Array<String>]
|
1000
1001
|
attr_accessor :restricted_fields
|
@@ -1295,12 +1296,12 @@ module Google
|
|
1295
1296
|
end
|
1296
1297
|
end
|
1297
1298
|
|
1298
|
-
# Specifies a set of log entries that are not to be stored in Logging. If
|
1299
|
-
# GCP resource receives a large volume of
|
1300
|
-
# your chargeable logs. Exclusions are processed after log
|
1301
|
-
# export log entries before they are excluded. Note that
|
1302
|
-
# folder-level exclusions don't apply to child resources,
|
1303
|
-
# exclude audit log entries.
|
1299
|
+
# Specifies a set of log entries that are not to be stored in Cloud Logging. If
|
1300
|
+
# your GCP resource receives a large volume of log entries, you can use
|
1301
|
+
# exclusions to reduce your chargeable logs. Exclusions are processed after log
|
1302
|
+
# sinks, so you can export log entries before they are excluded. Note that
|
1303
|
+
# organization-level and folder-level exclusions don't apply to child resources,
|
1304
|
+
# and that you can't exclude audit log entries.
|
1304
1305
|
class LogExclusion
|
1305
1306
|
include Google::Apis::Core::Hashable
|
1306
1307
|
|
@@ -1326,10 +1327,10 @@ module Google
|
|
1326
1327
|
# Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/
|
1327
1328
|
# advanced-queries) that matches the log entries to be excluded. By using the
|
1328
1329
|
# sample function (https://cloud.google.com/logging/docs/view/advanced-queries#
|
1329
|
-
# sample), you can exclude less than 100% of the matching log entries.
|
1330
|
+
# sample), you can exclude less than 100% of the matching log entries.For
|
1330
1331
|
# example, the following query matches 99% of low-severity log entries from
|
1331
|
-
# Google Cloud Storage buckets:
|
1332
|
-
# insertId, 0.99)
|
1332
|
+
# Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(
|
1333
|
+
# insertId, 0.99)
|
1333
1334
|
# Corresponds to the JSON property `filter`
|
1334
1335
|
# @return [String]
|
1335
1336
|
attr_accessor :filter
|
@@ -1535,10 +1536,10 @@ module Google
|
|
1535
1536
|
end
|
1536
1537
|
|
1537
1538
|
# Describes a sink used to export log entries to one of the following
|
1538
|
-
# destinations in any project: a Cloud Storage bucket, a BigQuery dataset, a
|
1539
|
-
#
|
1540
|
-
#
|
1541
|
-
#
|
1539
|
+
# destinations in any project: a Cloud Storage bucket, a BigQuery dataset, a Pub/
|
1540
|
+
# Sub topic or a Cloud Logging log bucket. A logs filter controls which log
|
1541
|
+
# entries are exported. The sink must be created within a project, organization,
|
1542
|
+
# billing account, or folder.
|
1542
1543
|
class LogSink
|
1543
1544
|
include Google::Apis::Core::Hashable
|
1544
1545
|
|
@@ -1553,7 +1554,7 @@ module Google
|
|
1553
1554
|
# @return [String]
|
1554
1555
|
attr_accessor :create_time
|
1555
1556
|
|
1556
|
-
# Optional. A description of this sink.
|
1557
|
+
# Optional. A description of this sink.The maximum length of the description is
|
1557
1558
|
# 8000 characters.
|
1558
1559
|
# Corresponds to the JSON property `description`
|
1559
1560
|
# @return [String]
|
@@ -1570,23 +1571,23 @@ module Google
|
|
1570
1571
|
# @return [String]
|
1571
1572
|
attr_accessor :destination
|
1572
1573
|
|
1573
|
-
# Optional. If set to
|
1574
|
+
# Optional. If set to true, then this sink is disabled and it does not export
|
1574
1575
|
# any log entries.
|
1575
1576
|
# Corresponds to the JSON property `disabled`
|
1576
1577
|
# @return [Boolean]
|
1577
1578
|
attr_accessor :disabled
|
1578
1579
|
alias_method :disabled?, :disabled
|
1579
1580
|
|
1580
|
-
# Optional. Log entries that match any of
|
1581
|
-
# exported.
|
1582
|
-
#
|
1581
|
+
# Optional. Log entries that match any of these exclusion filters will not be
|
1582
|
+
# exported.If a log entry is matched by both filter and one of exclusion_filters
|
1583
|
+
# it will not be exported.
|
1583
1584
|
# Corresponds to the JSON property `exclusions`
|
1584
1585
|
# @return [Array<Google::Apis::LoggingV2::LogExclusion>]
|
1585
1586
|
attr_accessor :exclusions
|
1586
1587
|
|
1587
1588
|
# Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/
|
1588
1589
|
# advanced-queries). The only exported log entries are those that are in the
|
1589
|
-
# resource owning the sink and that match the filter.
|
1590
|
+
# resource owning the sink and that match the filter.For example:logName="
|
1590
1591
|
# projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
|
1591
1592
|
# Corresponds to the JSON property `filter`
|
1592
1593
|
# @return [String]
|
@@ -1594,22 +1595,22 @@ module Google
|
|
1594
1595
|
|
1595
1596
|
# Optional. This field applies only to sinks owned by organizations and folders.
|
1596
1597
|
# If the field is false, the default, only the logs owned by the sink's parent
|
1597
|
-
# resource are available for export. If the field is true, then
|
1598
|
-
# the projects, folders, and billing accounts contained in the sink's parent
|
1598
|
+
# resource are available for export. If the field is true, then log entries from
|
1599
|
+
# all the projects, folders, and billing accounts contained in the sink's parent
|
1599
1600
|
# resource are also available for export. Whether a particular log entry from
|
1600
|
-
# the children is exported depends on the sink's filter expression.
|
1601
|
+
# the children is exported depends on the sink's filter expression.For example,
|
1601
1602
|
# if this field is true, then the filter resource.type=gce_instance would export
|
1602
1603
|
# all Compute Engine VM instance log entries from all projects in the sink's
|
1603
|
-
# parent.
|
1604
|
-
# project part of the log name:
|
1604
|
+
# parent.To only export entries from certain child projects, filter on the
|
1605
|
+
# project part of the log name:logName:("projects/test-project1/" OR "projects/
|
1605
1606
|
# test-project2/") AND resource.type=gce_instance
|
1606
1607
|
# Corresponds to the JSON property `includeChildren`
|
1607
1608
|
# @return [Boolean]
|
1608
1609
|
attr_accessor :include_children
|
1609
1610
|
alias_method :include_children?, :include_children
|
1610
1611
|
|
1611
|
-
# Required. The client-assigned sink identifier, unique within the project.
|
1612
|
-
#
|
1612
|
+
# Required. The client-assigned sink identifier, unique within the project.For
|
1613
|
+
# example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100
|
1613
1614
|
# characters and can include only the following characters: upper and lower-case
|
1614
1615
|
# alphanumeric characters, underscores, hyphens, and periods. First character
|
1615
1616
|
# has to be alphanumeric.
|
@@ -1628,15 +1629,16 @@ module Google
|
|
1628
1629
|
# @return [String]
|
1629
1630
|
attr_accessor :update_time
|
1630
1631
|
|
1631
|
-
# Output only. An IAM identity—a service account or group—under which
|
1632
|
-
# writes the exported log entries to the sink's destination. This field
|
1633
|
-
# by sinks.create and sinks.update based on the value of
|
1634
|
-
# in those methods.Until you grant this identity write-
|
1635
|
-
# log entry exports from this sink will fail. For
|
1636
|
-
# Granting Access for a Resource (https://cloud.google.com/
|
1637
|
-
# roles-to-service-accounts#
|
1638
|
-
# Consult the destination
|
1639
|
-
# IAM roles to assign to
|
1632
|
+
# Output only. An IAM identity—a service account or group—under which Cloud
|
1633
|
+
# Logging writes the exported log entries to the sink's destination. This field
|
1634
|
+
# is set by sinks.create and sinks.update based on the value of
|
1635
|
+
# unique_writer_identity in those methods.Until you grant this identity write-
|
1636
|
+
# access to the destination, log entry exports from this sink will fail. For
|
1637
|
+
# more information, see Granting Access for a Resource (https://cloud.google.com/
|
1638
|
+
# iam/docs/granting-roles-to-service-accounts#
|
1639
|
+
# granting_access_to_a_service_account_for_a_resource). Consult the destination
|
1640
|
+
# service's documentation to determine the appropriate IAM roles to assign to
|
1641
|
+
# the identity.
|
1640
1642
|
# Corresponds to the JSON property `writerIdentity`
|
1641
1643
|
# @return [String]
|
1642
1644
|
attr_accessor :writer_identity
|
@@ -1662,7 +1664,7 @@ module Google
|
|
1662
1664
|
end
|
1663
1665
|
end
|
1664
1666
|
|
1665
|
-
# Describes a view over
|
1667
|
+
# Describes a view over log entries in a bucket.
|
1666
1668
|
class LogView
|
1667
1669
|
include Google::Apis::Core::Hashable
|
1668
1670
|
|
@@ -1678,19 +1680,24 @@ module Google
|
|
1678
1680
|
|
1679
1681
|
# Filter that restricts which log entries in a bucket are visible in this view.
|
1680
1682
|
# Filters are restricted to be a logical AND of ==/!= of any of the following:
|
1681
|
-
# originating project/folder/organization/billing account. resource type log
|
1682
|
-
#
|
1683
|
-
# LOG_ID("stdout")
|
1683
|
+
# originating project/folder/organization/billing account. resource type log
|
1684
|
+
# idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance"
|
1685
|
+
# AND LOG_ID("stdout")
|
1684
1686
|
# Corresponds to the JSON property `filter`
|
1685
1687
|
# @return [String]
|
1686
1688
|
attr_accessor :filter
|
1687
1689
|
|
1688
|
-
# The resource name of the view.
|
1689
|
-
#
|
1690
|
+
# The resource name of the view.For example:projects/my-project/locations/global/
|
1691
|
+
# buckets/my-bucket/views/my-view
|
1690
1692
|
# Corresponds to the JSON property `name`
|
1691
1693
|
# @return [String]
|
1692
1694
|
attr_accessor :name
|
1693
1695
|
|
1696
|
+
# Schema of a table containing logs.
|
1697
|
+
# Corresponds to the JSON property `schema`
|
1698
|
+
# @return [Google::Apis::LoggingV2::TableSchema]
|
1699
|
+
attr_accessor :schema
|
1700
|
+
|
1694
1701
|
# Output only. The last update timestamp of the view.
|
1695
1702
|
# Corresponds to the JSON property `updateTime`
|
1696
1703
|
# @return [String]
|
@@ -1706,6 +1713,7 @@ module Google
|
|
1706
1713
|
@description = args[:description] if args.key?(:description)
|
1707
1714
|
@filter = args[:filter] if args.key?(:filter)
|
1708
1715
|
@name = args[:name] if args.key?(:name)
|
1716
|
+
@schema = args[:schema] if args.key?(:schema)
|
1709
1717
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1710
1718
|
end
|
1711
1719
|
end
|
@@ -1970,7 +1978,10 @@ module Google
|
|
1970
1978
|
attr_accessor :name
|
1971
1979
|
|
1972
1980
|
# Required. The monitored resource type. For example, the type "
|
1973
|
-
# cloudsql_database" represents databases in Google Cloud SQL.
|
1981
|
+
# cloudsql_database" represents databases in Google Cloud SQL. For a list of
|
1982
|
+
# types, see Monitoring resource types (https://cloud.google.com/monitoring/api/
|
1983
|
+
# resources) and Logging resource types (https://cloud.google.com/logging/docs/
|
1984
|
+
# api/v2/resource-list).
|
1974
1985
|
# Corresponds to the JSON property `type`
|
1975
1986
|
# @return [String]
|
1976
1987
|
attr_accessor :type
|
@@ -2444,6 +2455,74 @@ module Google
|
|
2444
2455
|
end
|
2445
2456
|
end
|
2446
2457
|
|
2458
|
+
# A field in TableSchema. The fields describe the static fields in the LogEntry.
|
2459
|
+
# Any dynamic fields generated by the customer in fields like labels and
|
2460
|
+
# jsonPayload are not listed in the schema as they use a native JSON type field.
|
2461
|
+
class TableFieldSchema
|
2462
|
+
include Google::Apis::Core::Hashable
|
2463
|
+
|
2464
|
+
# Optional. The field description.
|
2465
|
+
# Corresponds to the JSON property `description`
|
2466
|
+
# @return [String]
|
2467
|
+
attr_accessor :description
|
2468
|
+
|
2469
|
+
# Optional. Describes the nested schema fields if the type property is set to
|
2470
|
+
# RECORD.
|
2471
|
+
# Corresponds to the JSON property `fields`
|
2472
|
+
# @return [Array<Google::Apis::LoggingV2::TableFieldSchema>]
|
2473
|
+
attr_accessor :fields
|
2474
|
+
|
2475
|
+
# Optional. The field mode. Possible values include NULLABLE, REQUIRED and
|
2476
|
+
# REPEATED. The default value is NULLABLE.
|
2477
|
+
# Corresponds to the JSON property `mode`
|
2478
|
+
# @return [String]
|
2479
|
+
attr_accessor :mode
|
2480
|
+
|
2481
|
+
# Required. The field name corresponding to fields in the LogEntry.
|
2482
|
+
# Corresponds to the JSON property `name`
|
2483
|
+
# @return [String]
|
2484
|
+
attr_accessor :name
|
2485
|
+
|
2486
|
+
# Required. The field data type. Possible values include: STRING INTEGER (or
|
2487
|
+
# INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of
|
2488
|
+
# RECORD/STRUT indicates that the field contains a nested schema.
|
2489
|
+
# Corresponds to the JSON property `type`
|
2490
|
+
# @return [String]
|
2491
|
+
attr_accessor :type
|
2492
|
+
|
2493
|
+
def initialize(**args)
|
2494
|
+
update!(**args)
|
2495
|
+
end
|
2496
|
+
|
2497
|
+
# Update properties of this object
|
2498
|
+
def update!(**args)
|
2499
|
+
@description = args[:description] if args.key?(:description)
|
2500
|
+
@fields = args[:fields] if args.key?(:fields)
|
2501
|
+
@mode = args[:mode] if args.key?(:mode)
|
2502
|
+
@name = args[:name] if args.key?(:name)
|
2503
|
+
@type = args[:type] if args.key?(:type)
|
2504
|
+
end
|
2505
|
+
end
|
2506
|
+
|
2507
|
+
# Schema of a table containing logs.
|
2508
|
+
class TableSchema
|
2509
|
+
include Google::Apis::Core::Hashable
|
2510
|
+
|
2511
|
+
# Describes the fields in a table.
|
2512
|
+
# Corresponds to the JSON property `fields`
|
2513
|
+
# @return [Array<Google::Apis::LoggingV2::TableFieldSchema>]
|
2514
|
+
attr_accessor :fields
|
2515
|
+
|
2516
|
+
def initialize(**args)
|
2517
|
+
update!(**args)
|
2518
|
+
end
|
2519
|
+
|
2520
|
+
# Update properties of this object
|
2521
|
+
def update!(**args)
|
2522
|
+
@fields = args[:fields] if args.key?(:fields)
|
2523
|
+
end
|
2524
|
+
end
|
2525
|
+
|
2447
2526
|
# The parameters to TailLogEntries.
|
2448
2527
|
class TailLogEntriesRequest
|
2449
2528
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module LoggingV2
|
18
18
|
# Version of the google-apis-logging_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210817"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -292,6 +292,18 @@ module Google
|
|
292
292
|
include Google::Apis::Core::JsonObjectSupport
|
293
293
|
end
|
294
294
|
|
295
|
+
class TableFieldSchema
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class TableSchema
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
295
307
|
class TailLogEntriesRequest
|
296
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
309
|
|
@@ -690,6 +702,8 @@ module Google
|
|
690
702
|
property :description, as: 'description'
|
691
703
|
property :filter, as: 'filter'
|
692
704
|
property :name, as: 'name'
|
705
|
+
property :schema, as: 'schema', class: Google::Apis::LoggingV2::TableSchema, decorator: Google::Apis::LoggingV2::TableSchema::Representation
|
706
|
+
|
693
707
|
property :update_time, as: 'updateTime'
|
694
708
|
end
|
695
709
|
end
|
@@ -838,6 +852,26 @@ module Google
|
|
838
852
|
end
|
839
853
|
end
|
840
854
|
|
855
|
+
class TableFieldSchema
|
856
|
+
# @private
|
857
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
858
|
+
property :description, as: 'description'
|
859
|
+
collection :fields, as: 'fields', class: Google::Apis::LoggingV2::TableFieldSchema, decorator: Google::Apis::LoggingV2::TableFieldSchema::Representation
|
860
|
+
|
861
|
+
property :mode, as: 'mode'
|
862
|
+
property :name, as: 'name'
|
863
|
+
property :type, as: 'type'
|
864
|
+
end
|
865
|
+
end
|
866
|
+
|
867
|
+
class TableSchema
|
868
|
+
# @private
|
869
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
870
|
+
collection :fields, as: 'fields', class: Google::Apis::LoggingV2::TableFieldSchema, decorator: Google::Apis::LoggingV2::TableFieldSchema::Representation
|
871
|
+
|
872
|
+
end
|
873
|
+
end
|
874
|
+
|
841
875
|
class TailLogEntriesRequest
|
842
876
|
# @private
|
843
877
|
class Representation < Google::Apis::Core::JsonRepresentation
|