google-apis-logging_v2 0.75.0 → 0.77.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: 9aedf317c41671315ba45adefa459b45255efcdfd6eaf1974823eebdb5a2517d
4
- data.tar.gz: 4dcd845e81568e2339c1024cbfe8e9b6eee7f8f76bd457ceb4328e3b897cd268
3
+ metadata.gz: 51c32631dd139850284a06feed027ec0ba75dc2423efdd772e39e186b163e312
4
+ data.tar.gz: b9cfb8811c3a43076b804788b355b8ef3ce596000fffb65aabff4005e7bd1ba7
5
5
  SHA512:
6
- metadata.gz: 4ed1c47ced67b1bc50c804ad12c35bfd1a361cf6a7e0cf807ccb02dd2dde67898235d234ff19f49174934ea973726a332d743abb7bc06798d53b62dd8f3aa643
7
- data.tar.gz: 6742db81357f1164799c8f0d50a22b06708ce84fb7fbd5bb0d28129d1755e1191fb600fe811e9016813cd406e9ff66740eba6b0f9fb43863183b8b639748c6b1
6
+ metadata.gz: 7928f3219ea7c7c07a538a72b385ec4bca1d5c256644c72d38ecca31a54f5f1f2d92b621591e46b24b6de5d373c11ac6a5c6dbeea7320b0aa0377d239508d9fc
7
+ data.tar.gz: a2b4c5db1d89704e2a4e7ae2b470426ce191ceca3f239452167eca050fdb18c11d552eeb11d941b0a3d8ec2206b4683633d2f65d3de71fd8a9a24227bbfd4343
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-logging_v2
2
2
 
3
+ ### v0.77.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250307
6
+
7
+ ### v0.76.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250207
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.75.0 (2024-10-27)
4
13
 
5
14
  * Regenerated from discovery document revision 20241018
@@ -22,65 +22,93 @@ module Google
22
22
  module Apis
23
23
  module LoggingV2
24
24
 
25
- # Specifies the audit configuration for a service. The configuration determines
26
- # which permission types are logged, and what identities, if any, are exempted
27
- # from logging. An AuditConfig must have one or more AuditLogConfigs.If there
28
- # are AuditConfigs for both allServices and a specific service, the union of the
29
- # two AuditConfigs is used for that service: the log_types specified in each
30
- # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
31
- # exempted.Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
32
- # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
33
- # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
34
- # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
35
- # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
36
- # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
37
- # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
38
- # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
39
- # DATA_WRITE logging.
40
- class AuditConfig
25
+ # Metadata associated with App Hub.
26
+ class AppHub
41
27
  include Google::Apis::Core::Hashable
42
28
 
43
- # The configuration for logging of each type of permission.
44
- # Corresponds to the JSON property `auditLogConfigs`
45
- # @return [Array<Google::Apis::LoggingV2::AuditLogConfig>]
46
- attr_accessor :audit_log_configs
29
+ # Resource identifiers associated with an AppHub application AppHub resources
30
+ # are of the form projects//locations//applications/ projects//locations//
31
+ # applications//services/ projects//locations//applications//workloads/ These
32
+ # resources can be reconstructed from the components below.
33
+ # Corresponds to the JSON property `application`
34
+ # @return [Google::Apis::LoggingV2::AppHubApplication]
35
+ attr_accessor :application
47
36
 
48
- # Specifies a service that will be enabled for audit logging. For example,
49
- # storage.googleapis.com, cloudsql.googleapis.com. allServices is a special
50
- # value that covers all services.
37
+ # Metadata associated with an App Hub service.
51
38
  # Corresponds to the JSON property `service`
52
- # @return [String]
39
+ # @return [Google::Apis::LoggingV2::AppHubService]
53
40
  attr_accessor :service
54
41
 
42
+ # Metadata associated with an App Hub workload.
43
+ # Corresponds to the JSON property `workload`
44
+ # @return [Google::Apis::LoggingV2::AppHubWorkload]
45
+ attr_accessor :workload
46
+
55
47
  def initialize(**args)
56
48
  update!(**args)
57
49
  end
58
50
 
59
51
  # Update properties of this object
60
52
  def update!(**args)
61
- @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
53
+ @application = args[:application] if args.key?(:application)
62
54
  @service = args[:service] if args.key?(:service)
55
+ @workload = args[:workload] if args.key?(:workload)
63
56
  end
64
57
  end
65
58
 
66
- # Provides the configuration for logging a type of permissions. Example: ` "
67
- # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
68
- # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
69
- # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
70
- # DATA_READ logging.
71
- class AuditLogConfig
59
+ # Resource identifiers associated with an AppHub application AppHub resources
60
+ # are of the form projects//locations//applications/ projects//locations//
61
+ # applications//services/ projects//locations//applications//workloads/ These
62
+ # resources can be reconstructed from the components below.
63
+ class AppHubApplication
72
64
  include Google::Apis::Core::Hashable
73
65
 
74
- # Specifies the identities that do not cause logging for this type of permission.
75
- # Follows the same format of Binding.members.
76
- # Corresponds to the JSON property `exemptedMembers`
77
- # @return [Array<String>]
78
- attr_accessor :exempted_members
66
+ # Resource container that owns the application. Example: "projects/
67
+ # management_project"
68
+ # Corresponds to the JSON property `container`
69
+ # @return [String]
70
+ attr_accessor :container
71
+
72
+ # Application Id. Example: "my-app"
73
+ # Corresponds to the JSON property `id`
74
+ # @return [String]
75
+ attr_accessor :id
76
+
77
+ # Location associated with the Application. Example: "us-east1"
78
+ # Corresponds to the JSON property `location`
79
+ # @return [String]
80
+ attr_accessor :location
81
+
82
+ def initialize(**args)
83
+ update!(**args)
84
+ end
85
+
86
+ # Update properties of this object
87
+ def update!(**args)
88
+ @container = args[:container] if args.key?(:container)
89
+ @id = args[:id] if args.key?(:id)
90
+ @location = args[:location] if args.key?(:location)
91
+ end
92
+ end
93
+
94
+ # Metadata associated with an App Hub service.
95
+ class AppHubService
96
+ include Google::Apis::Core::Hashable
97
+
98
+ # Service criticality type Example: "CRITICAL"
99
+ # Corresponds to the JSON property `criticalityType`
100
+ # @return [String]
101
+ attr_accessor :criticality_type
79
102
 
80
- # The log type that this config enables.
81
- # Corresponds to the JSON property `logType`
103
+ # Service environment type Example: "DEV"
104
+ # Corresponds to the JSON property `environmentType`
82
105
  # @return [String]
83
- attr_accessor :log_type
106
+ attr_accessor :environment_type
107
+
108
+ # Service Id. Example: "my-service"
109
+ # Corresponds to the JSON property `id`
110
+ # @return [String]
111
+ attr_accessor :id
84
112
 
85
113
  def initialize(**args)
86
114
  update!(**args)
@@ -88,8 +116,40 @@ module Google
88
116
 
89
117
  # Update properties of this object
90
118
  def update!(**args)
91
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
92
- @log_type = args[:log_type] if args.key?(:log_type)
119
+ @criticality_type = args[:criticality_type] if args.key?(:criticality_type)
120
+ @environment_type = args[:environment_type] if args.key?(:environment_type)
121
+ @id = args[:id] if args.key?(:id)
122
+ end
123
+ end
124
+
125
+ # Metadata associated with an App Hub workload.
126
+ class AppHubWorkload
127
+ include Google::Apis::Core::Hashable
128
+
129
+ # Workload criticality type Example: "CRITICAL"
130
+ # Corresponds to the JSON property `criticalityType`
131
+ # @return [String]
132
+ attr_accessor :criticality_type
133
+
134
+ # Workload environment type Example: "DEV"
135
+ # Corresponds to the JSON property `environmentType`
136
+ # @return [String]
137
+ attr_accessor :environment_type
138
+
139
+ # Workload Id. Example: "my-workload"
140
+ # Corresponds to the JSON property `id`
141
+ # @return [String]
142
+ attr_accessor :id
143
+
144
+ def initialize(**args)
145
+ update!(**args)
146
+ end
147
+
148
+ # Update properties of this object
149
+ def update!(**args)
150
+ @criticality_type = args[:criticality_type] if args.key?(:criticality_type)
151
+ @environment_type = args[:environment_type] if args.key?(:environment_type)
152
+ @id = args[:id] if args.key?(:id)
93
153
  end
94
154
  end
95
155
 
@@ -516,7 +576,8 @@ module Google
516
576
  class CopyLogEntriesRequest
517
577
  include Google::Apis::Core::Hashable
518
578
 
519
- # Required. Destination to which to copy log entries.
579
+ # Required. Destination to which to copy log entries. For example: "storage.
580
+ # googleapis.com/GCS_BUCKET"
520
581
  # Corresponds to the JSON property `destination`
521
582
  # @return [String]
522
583
  attr_accessor :destination
@@ -1865,6 +1926,11 @@ module Google
1865
1926
  class LogEntry
1866
1927
  include Google::Apis::Core::Hashable
1867
1928
 
1929
+ # Metadata associated with App Hub.
1930
+ # Corresponds to the JSON property `apphub`
1931
+ # @return [Google::Apis::LoggingV2::AppHub]
1932
+ attr_accessor :apphub
1933
+
1868
1934
  # Output only. The Error Reporting (https://cloud.google.com/error-reporting)
1869
1935
  # error groups associated with this LogEntry. Error Reporting sets the values
1870
1936
  # for this field during error group creation.For more information, see View
@@ -2060,6 +2126,7 @@ module Google
2060
2126
 
2061
2127
  # Update properties of this object
2062
2128
  def update!(**args)
2129
+ @apphub = args[:apphub] if args.key?(:apphub)
2063
2130
  @error_groups = args[:error_groups] if args.key?(:error_groups)
2064
2131
  @http_request = args[:http_request] if args.key?(:http_request)
2065
2132
  @insert_id = args[:insert_id] if args.key?(:insert_id)
@@ -3213,11 +3280,6 @@ module Google
3213
3280
  class Policy
3214
3281
  include Google::Apis::Core::Hashable
3215
3282
 
3216
- # Specifies cloud audit logging configuration for this policy.
3217
- # Corresponds to the JSON property `auditConfigs`
3218
- # @return [Array<Google::Apis::LoggingV2::AuditConfig>]
3219
- attr_accessor :audit_configs
3220
-
3221
3283
  # Associates a list of members, or principals, with a role. Optionally, may
3222
3284
  # specify a condition that determines how and when the bindings are applied.
3223
3285
  # Each of the bindings must contain at least one principal.The bindings in a
@@ -3269,7 +3331,6 @@ module Google
3269
3331
 
3270
3332
  # Update properties of this object
3271
3333
  def update!(**args)
3272
- @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
3273
3334
  @bindings = args[:bindings] if args.key?(:bindings)
3274
3335
  @etag = args[:etag] if args.key?(:etag)
3275
3336
  @version = args[:version] if args.key?(:version)
@@ -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.75.0"
19
+ GEM_VERSION = "0.77.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241018"
25
+ REVISION = "20250307"
26
26
  end
27
27
  end
28
28
  end
@@ -22,13 +22,25 @@ module Google
22
22
  module Apis
23
23
  module LoggingV2
24
24
 
25
- class AuditConfig
25
+ class AppHub
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class AuditLogConfig
31
+ class AppHubApplication
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AppHubService
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AppHubWorkload
32
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
45
 
34
46
  include Google::Apis::Core::JsonObjectSupport
@@ -526,20 +538,42 @@ module Google
526
538
  include Google::Apis::Core::JsonObjectSupport
527
539
  end
528
540
 
529
- class AuditConfig
541
+ class AppHub
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :application, as: 'application', class: Google::Apis::LoggingV2::AppHubApplication, decorator: Google::Apis::LoggingV2::AppHubApplication::Representation
545
+
546
+ property :service, as: 'service', class: Google::Apis::LoggingV2::AppHubService, decorator: Google::Apis::LoggingV2::AppHubService::Representation
547
+
548
+ property :workload, as: 'workload', class: Google::Apis::LoggingV2::AppHubWorkload, decorator: Google::Apis::LoggingV2::AppHubWorkload::Representation
549
+
550
+ end
551
+ end
552
+
553
+ class AppHubApplication
530
554
  # @private
531
555
  class Representation < Google::Apis::Core::JsonRepresentation
532
- collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::LoggingV2::AuditLogConfig, decorator: Google::Apis::LoggingV2::AuditLogConfig::Representation
556
+ property :container, as: 'container'
557
+ property :id, as: 'id'
558
+ property :location, as: 'location'
559
+ end
560
+ end
533
561
 
534
- property :service, as: 'service'
562
+ class AppHubService
563
+ # @private
564
+ class Representation < Google::Apis::Core::JsonRepresentation
565
+ property :criticality_type, as: 'criticalityType'
566
+ property :environment_type, as: 'environmentType'
567
+ property :id, as: 'id'
535
568
  end
536
569
  end
537
570
 
538
- class AuditLogConfig
571
+ class AppHubWorkload
539
572
  # @private
540
573
  class Representation < Google::Apis::Core::JsonRepresentation
541
- collection :exempted_members, as: 'exemptedMembers'
542
- property :log_type, as: 'logType'
574
+ property :criticality_type, as: 'criticalityType'
575
+ property :environment_type, as: 'environmentType'
576
+ property :id, as: 'id'
543
577
  end
544
578
  end
545
579
 
@@ -978,6 +1012,8 @@ module Google
978
1012
  class LogEntry
979
1013
  # @private
980
1014
  class Representation < Google::Apis::Core::JsonRepresentation
1015
+ property :apphub, as: 'apphub', class: Google::Apis::LoggingV2::AppHub, decorator: Google::Apis::LoggingV2::AppHub::Representation
1016
+
981
1017
  collection :error_groups, as: 'errorGroups', class: Google::Apis::LoggingV2::LogErrorGroup, decorator: Google::Apis::LoggingV2::LogErrorGroup::Representation
982
1018
 
983
1019
  property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2::HttpRequest, decorator: Google::Apis::LoggingV2::HttpRequest::Representation
@@ -1221,8 +1257,6 @@ module Google
1221
1257
  class Policy
1222
1258
  # @private
1223
1259
  class Representation < Google::Apis::Core::JsonRepresentation
1224
- collection :audit_configs, as: 'auditConfigs', class: Google::Apis::LoggingV2::AuditConfig, decorator: Google::Apis::LoggingV2::AuditConfig::Representation
1225
-
1226
1260
  collection :bindings, as: 'bindings', class: Google::Apis::LoggingV2::Binding, decorator: Google::Apis::LoggingV2::Binding::Representation
1227
1261
 
1228
1262
  property :etag, :base64 => true, as: 'etag'
@@ -900,7 +900,7 @@ module Google
900
900
  # @param [String] view_id
901
901
  # Required. A client-assigned identifier such as "my-view". Identifiers are
902
902
  # limited to 100 characters and can include only letters, digits, underscores,
903
- # hyphens, and periods.
903
+ # and hyphens.
904
904
  # @param [String] fields
905
905
  # Selector specifying which fields to include in a partial response.
906
906
  # @param [String] quota_user
@@ -3158,7 +3158,7 @@ module Google
3158
3158
  # @param [String] view_id
3159
3159
  # Required. A client-assigned identifier such as "my-view". Identifiers are
3160
3160
  # limited to 100 characters and can include only letters, digits, underscores,
3161
- # hyphens, and periods.
3161
+ # and hyphens.
3162
3162
  # @param [String] fields
3163
3163
  # Selector specifying which fields to include in a partial response.
3164
3164
  # @param [String] quota_user
@@ -5072,7 +5072,7 @@ module Google
5072
5072
  # @param [String] view_id
5073
5073
  # Required. A client-assigned identifier such as "my-view". Identifiers are
5074
5074
  # limited to 100 characters and can include only letters, digits, underscores,
5075
- # hyphens, and periods.
5075
+ # and hyphens.
5076
5076
  # @param [String] fields
5077
5077
  # Selector specifying which fields to include in a partial response.
5078
5078
  # @param [String] quota_user
@@ -6562,7 +6562,7 @@ module Google
6562
6562
  # @param [String] view_id
6563
6563
  # Required. A client-assigned identifier such as "my-view". Identifiers are
6564
6564
  # limited to 100 characters and can include only letters, digits, underscores,
6565
- # hyphens, and periods.
6565
+ # and hyphens.
6566
6566
  # @param [String] fields
6567
6567
  # Selector specifying which fields to include in a partial response.
6568
6568
  # @param [String] quota_user
@@ -8748,7 +8748,7 @@ module Google
8748
8748
  # @param [String] view_id
8749
8749
  # Required. A client-assigned identifier such as "my-view". Identifiers are
8750
8750
  # limited to 100 characters and can include only letters, digits, underscores,
8751
- # hyphens, and periods.
8751
+ # and hyphens.
8752
8752
  # @param [String] fields
8753
8753
  # Selector specifying which fields to include in a partial response.
8754
8754
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-logging_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.75.0
4
+ version: 0.77.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-10-27 00:00:00.000000000 Z
10
+ date: 2025-03-16 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.75.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.77.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.21
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Logging API V2
82
79
  test_files: []