google-apis-logging_v2 0.1.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b160fb161318fca71d05364c79e8bd0ea151dbeb18873e0d0131900f24f15f5
4
- data.tar.gz: 66a0c92f4b36b7fa39df4e285618c737cce365de10b6d08c851a6c7b2d08661c
3
+ metadata.gz: 2235549ccaecb279d535064c52d919e46a39d79ee92c9e7b56599ddc02b18291
4
+ data.tar.gz: d6d3cbb21ffeec08594375d7752bccfa49c97e98d46b13334404da2021728637
5
5
  SHA512:
6
- metadata.gz: 7e5df2f4ce6853106b14eefb15d2867613475f85e4972eaab0f412acf69bce4d0860a1f7ff4420364ee6c1ce8025e796e2fcba04f815faac317c47224e2291a3
7
- data.tar.gz: 5b74f6ba11fb37b8d24ec32d81996ab1d7ea6a70ccf836bc07a3d7880ec5163dd310bcd2877c13d742baf48f1f95005fa1420f73322578604d514b04df8643b5
6
+ metadata.gz: ca0b3b8a23d3ccf99c8915f217431c811203014809b27d9db9fc7dc835c59dd727b72a989479807479ad2b6cb224cd1440025f9dee07f26504d1a799b21b09e4
7
+ data.tar.gz: bd537ca6d5d629003da688cc13a17d31f530ecaae0492dcc212bd76b9ae439dadcec5c1a888dd2d6ee07fce03ee0a25be66f7cde462deae4407013556801eb89
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-logging_v2
2
2
 
3
+ ### v0.6.0 (2021-04-03)
4
+
5
+ * Regenerated from discovery document revision 20210325
6
+
7
+ ### v0.5.0 (2021-03-20)
8
+
9
+ * Regenerated from discovery document revision 20210312
10
+ * Regenerated using generator version 0.2.0
11
+
12
+ ### v0.4.0 (2021-03-04)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.3.0 (2021-02-27)
17
+
18
+ * Regenerated from discovery document revision 20210217
19
+
20
+ ### v0.2.0 (2021-01-30)
21
+
22
+ * Regenerated from discovery document revision 20210122
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated using generator version 0.1.1
@@ -32,7 +32,7 @@ module Google
32
32
  # This is NOT the gem version.
33
33
  VERSION = 'V2'
34
34
 
35
- # View and manage your data across Google Cloud Platform services
35
+ # See, edit, configure, and delete your Google Cloud Platform data
36
36
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
37
37
 
38
38
  # View your data across Google Cloud Platform services
@@ -833,10 +833,10 @@ module Google
833
833
  alias_method :locked?, :locked
834
834
 
835
835
  # Output only. The resource name of the bucket. For example: "projects/my-
836
- # project-id/locations/my-location/buckets/my-bucket-id The supported locations
837
- # are: "global"For the location of global it is unspecified where logs are
838
- # actually stored. Once a bucket has been created, the location can not be
839
- # changed.
836
+ # project-id/locations/my-location/buckets/my-bucket-id" The supported locations
837
+ # are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1.For the
838
+ # location of global it is unspecified where logs are actually stored. Once a
839
+ # bucket has been created, the location can not be changed.
840
840
  # Corresponds to the JSON property `name`
841
841
  # @return [String]
842
842
  attr_accessor :name
@@ -900,7 +900,10 @@ module Google
900
900
  attr_accessor :json_payload
901
901
 
902
902
  # Optional. A set of user-defined (key, value) data that provides additional
903
- # information about the log entry.
903
+ # information about the log entry.Cloud Logging truncates label keys that exceed
904
+ # 512 B and label values that exceed 64 KB upon their associated log entry being
905
+ # written. The truncation is indicated by an ellipsis at the end of the
906
+ # character string.
904
907
  # Corresponds to the JSON property `labels`
905
908
  # @return [Hash<String,String>]
906
909
  attr_accessor :labels
@@ -1361,10 +1364,10 @@ module Google
1361
1364
  end
1362
1365
 
1363
1366
  # Describes a sink used to export log entries to one of the following
1364
- # destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a
1365
- # Cloud Pub/Sub topic. A logs filter controls which log entries are exported.
1366
- # The sink must be created within a project, organization, billing account, or
1367
- # folder.
1367
+ # destinations in any project: a Cloud Storage bucket, a BigQuery dataset, a
1368
+ # Cloud Pub/Sub topic or a Cloud Logging Bucket. A logs filter controls which
1369
+ # log entries are exported. The sink must be created within a project,
1370
+ # organization, billing account, or folder.
1368
1371
  class LogSink
1369
1372
  include Google::Apis::Core::Hashable
1370
1373
 
@@ -1605,11 +1608,11 @@ module Google
1605
1608
 
1606
1609
  # The units in which the metric value is reported. It is only applicable if the
1607
1610
  # value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the
1608
- # representation of the stored metric values.Different systems may scale the
1609
- # values to be more easily displayed (so a value of 0.02KBy might be displayed
1610
- # as 20By, and a value of 3523KBy might be displayed as 3.5MBy). However, if the
1611
- # unit is KBy, then the value of the metric is always in thousands of bytes, no
1612
- # matter how it may be displayed..If you want a custom metric to record the
1611
+ # representation of the stored metric values.Different systems might scale the
1612
+ # values to be more easily displayed (so a value of 0.02kBy might be displayed
1613
+ # as 20By, and a value of 3523kBy might be displayed as 3.5MBy). However, if the
1614
+ # unit is kBy, then the value of the metric is always in thousands of bytes, no
1615
+ # matter how it might be displayed.If you want a custom metric to record the
1613
1616
  # exact number of CPU-seconds used by a job, you can create an INT64 CUMULATIVE
1614
1617
  # metric whose unit is s`CPU` (or equivalently 1s`CPU` or just s). If the job
1615
1618
  # uses 12,005 CPU-seconds, then the value is written as 12005.Alternatively, if
@@ -1617,7 +1620,7 @@ module Google
1617
1620
  # a DOUBLE CUMULATIVE metric whose unit is ks`CPU`, and then write the value 12.
1618
1621
  # 005 (which is 12005/1000), or use Kis`CPU` and write 11.723 (which is 12005/
1619
1622
  # 1024).The supported units are a subset of The Unified Code for Units of
1620
- # Measure (http://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit
1623
+ # Measure (https://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit
1621
1624
  # bit By byte s second min minute h hour d day 1 dimensionlessPrefixes (PREFIX)
1622
1625
  # k kilo (10^3) M mega (10^6) G giga (10^9) T tera (10^12) P peta (10^15) E exa (
1623
1626
  # 10^18) Z zetta (10^21) Y yotta (10^24) m milli (10^-3) u micro (10^-6) n nano (
@@ -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.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201114"
25
+ REVISION = "20210325"
26
26
  end
27
27
  end
28
28
  end
@@ -347,11 +347,15 @@ module Google
347
347
  # @param [String] name
348
348
  # The resource that owns the locations collection, if applicable.
349
349
  # @param [String] filter
350
- # The standard list filter.
350
+ # A filter to narrow down results to a preferred subset. The filtering language
351
+ # accepts strings like "displayName=tokyo", and is documented in more detail in
352
+ # AIP-160 (https://google.aip.dev/160).
351
353
  # @param [Fixnum] page_size
352
- # The standard list page size.
354
+ # The maximum number of results to return. If not set, the service will select a
355
+ # default.
353
356
  # @param [String] page_token
354
- # The standard list page token.
357
+ # A page token received from the next_page_token field in the response. Send
358
+ # that page token to receive the subsequent page.
355
359
  # @param [String] fields
356
360
  # Selector specifying which fields to include in a partial response.
357
361
  # @param [String] quota_user
@@ -754,10 +758,10 @@ module Google
754
758
  execute_or_queue_command(command, &block)
755
759
  end
756
760
 
757
- # Deletes all the log entries in a log. The log reappears if it receives new
758
- # entries. Log entries written shortly before the delete operation might not be
759
- # deleted. Entries received after the delete operation with a timestamp before
760
- # the operation will be deleted.
761
+ # Deletes all the log entries in a log for the _Default Log Bucket. The log
762
+ # reappears if it receives new entries. Log entries written shortly before the
763
+ # delete operation might not be deleted. Entries received after the delete
764
+ # operation with a timestamp before the operation will be deleted.
761
765
  # @param [String] log_name
762
766
  # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
763
767
  # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
@@ -1643,11 +1647,15 @@ module Google
1643
1647
  # @param [String] name
1644
1648
  # The resource that owns the locations collection, if applicable.
1645
1649
  # @param [String] filter
1646
- # The standard list filter.
1650
+ # A filter to narrow down results to a preferred subset. The filtering language
1651
+ # accepts strings like "displayName=tokyo", and is documented in more detail in
1652
+ # AIP-160 (https://google.aip.dev/160).
1647
1653
  # @param [Fixnum] page_size
1648
- # The standard list page size.
1654
+ # The maximum number of results to return. If not set, the service will select a
1655
+ # default.
1649
1656
  # @param [String] page_token
1650
- # The standard list page token.
1657
+ # A page token received from the next_page_token field in the response. Send
1658
+ # that page token to receive the subsequent page.
1651
1659
  # @param [String] fields
1652
1660
  # Selector specifying which fields to include in a partial response.
1653
1661
  # @param [String] quota_user
@@ -2117,10 +2125,10 @@ module Google
2117
2125
  execute_or_queue_command(command, &block)
2118
2126
  end
2119
2127
 
2120
- # Deletes all the log entries in a log. The log reappears if it receives new
2121
- # entries. Log entries written shortly before the delete operation might not be
2122
- # deleted. Entries received after the delete operation with a timestamp before
2123
- # the operation will be deleted.
2128
+ # Deletes all the log entries in a log for the _Default Log Bucket. The log
2129
+ # reappears if it receives new entries. Log entries written shortly before the
2130
+ # delete operation might not be deleted. Entries received after the delete
2131
+ # operation with a timestamp before the operation will be deleted.
2124
2132
  # @param [String] log_name
2125
2133
  # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
2126
2134
  # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
@@ -2521,11 +2529,15 @@ module Google
2521
2529
  # @param [String] name
2522
2530
  # The resource that owns the locations collection, if applicable.
2523
2531
  # @param [String] filter
2524
- # The standard list filter.
2532
+ # A filter to narrow down results to a preferred subset. The filtering language
2533
+ # accepts strings like "displayName=tokyo", and is documented in more detail in
2534
+ # AIP-160 (https://google.aip.dev/160).
2525
2535
  # @param [Fixnum] page_size
2526
- # The standard list page size.
2536
+ # The maximum number of results to return. If not set, the service will select a
2537
+ # default.
2527
2538
  # @param [String] page_token
2528
- # The standard list page token.
2539
+ # A page token received from the next_page_token field in the response. Send
2540
+ # that page token to receive the subsequent page.
2529
2541
  # @param [String] fields
2530
2542
  # Selector specifying which fields to include in a partial response.
2531
2543
  # @param [String] quota_user
@@ -2995,10 +3007,10 @@ module Google
2995
3007
  execute_or_queue_command(command, &block)
2996
3008
  end
2997
3009
 
2998
- # Deletes all the log entries in a log. The log reappears if it receives new
2999
- # entries. Log entries written shortly before the delete operation might not be
3000
- # deleted. Entries received after the delete operation with a timestamp before
3001
- # the operation will be deleted.
3010
+ # Deletes all the log entries in a log for the _Default Log Bucket. The log
3011
+ # reappears if it receives new entries. Log entries written shortly before the
3012
+ # delete operation might not be deleted. Entries received after the delete
3013
+ # operation with a timestamp before the operation will be deleted.
3002
3014
  # @param [String] log_name
3003
3015
  # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
3004
3016
  # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
@@ -3442,11 +3454,15 @@ module Google
3442
3454
  # @param [String] name
3443
3455
  # The resource that owns the locations collection, if applicable.
3444
3456
  # @param [String] filter
3445
- # The standard list filter.
3457
+ # A filter to narrow down results to a preferred subset. The filtering language
3458
+ # accepts strings like "displayName=tokyo", and is documented in more detail in
3459
+ # AIP-160 (https://google.aip.dev/160).
3446
3460
  # @param [Fixnum] page_size
3447
- # The standard list page size.
3461
+ # The maximum number of results to return. If not set, the service will select a
3462
+ # default.
3448
3463
  # @param [String] page_token
3449
- # The standard list page token.
3464
+ # A page token received from the next_page_token field in the response. Send
3465
+ # that page token to receive the subsequent page.
3450
3466
  # @param [String] fields
3451
3467
  # Selector specifying which fields to include in a partial response.
3452
3468
  # @param [String] quota_user
@@ -3916,10 +3932,10 @@ module Google
3916
3932
  execute_or_queue_command(command, &block)
3917
3933
  end
3918
3934
 
3919
- # Deletes all the log entries in a log. The log reappears if it receives new
3920
- # entries. Log entries written shortly before the delete operation might not be
3921
- # deleted. Entries received after the delete operation with a timestamp before
3922
- # the operation will be deleted.
3935
+ # Deletes all the log entries in a log for the _Default Log Bucket. The log
3936
+ # reappears if it receives new entries. Log entries written shortly before the
3937
+ # delete operation might not be deleted. Entries received after the delete
3938
+ # operation with a timestamp before the operation will be deleted.
3923
3939
  # @param [String] log_name
3924
3940
  # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
3925
3941
  # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
@@ -4514,11 +4530,15 @@ module Google
4514
4530
  # @param [String] name
4515
4531
  # The resource that owns the locations collection, if applicable.
4516
4532
  # @param [String] filter
4517
- # The standard list filter.
4533
+ # A filter to narrow down results to a preferred subset. The filtering language
4534
+ # accepts strings like "displayName=tokyo", and is documented in more detail in
4535
+ # AIP-160 (https://google.aip.dev/160).
4518
4536
  # @param [Fixnum] page_size
4519
- # The standard list page size.
4537
+ # The maximum number of results to return. If not set, the service will select a
4538
+ # default.
4520
4539
  # @param [String] page_token
4521
- # The standard list page token.
4540
+ # A page token received from the next_page_token field in the response. Send
4541
+ # that page token to receive the subsequent page.
4522
4542
  # @param [String] fields
4523
4543
  # Selector specifying which fields to include in a partial response.
4524
4544
  # @param [String] quota_user
@@ -4988,10 +5008,10 @@ module Google
4988
5008
  execute_or_queue_command(command, &block)
4989
5009
  end
4990
5010
 
4991
- # Deletes all the log entries in a log. The log reappears if it receives new
4992
- # entries. Log entries written shortly before the delete operation might not be
4993
- # deleted. Entries received after the delete operation with a timestamp before
4994
- # the operation will be deleted.
5011
+ # Deletes all the log entries in a log for the _Default Log Bucket. The log
5012
+ # reappears if it receives new entries. Log entries written shortly before the
5013
+ # delete operation might not be deleted. Entries received after the delete
5014
+ # operation with a timestamp before the operation will be deleted.
4995
5015
  # @param [String] log_name
4996
5016
  # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
4997
5017
  # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-logging_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-logging_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-logging_v2
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.13
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Logging API V2