google-api-client 0.11.2 → 0.11.3
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 +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +6 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +38 -38
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +13 -13
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +201 -201
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +46 -46
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +119 -119
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +52 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +9 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +926 -926
- data/generated/google/apis/analyticsreporting_v4/representations.rb +149 -149
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +18 -11
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +1487 -1487
- data/generated/google/apis/appengine_v1/representations.rb +229 -229
- data/generated/google/apis/appengine_v1/service.rb +188 -188
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +15 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +10 -4
- data/generated/google/apis/classroom_v1.rb +26 -17
- data/generated/google/apis/classroom_v1/classes.rb +990 -990
- data/generated/google/apis/classroom_v1/representations.rb +239 -239
- data/generated/google/apis/classroom_v1/service.rb +853 -853
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +627 -627
- data/generated/google/apis/cloudbuild_v1/representations.rb +116 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +162 -157
- data/generated/google/apis/clouddebugger_v2/classes.rb +258 -258
- data/generated/google/apis/clouddebugger_v2/representations.rb +80 -80
- data/generated/google/apis/clouddebugger_v2/service.rb +163 -163
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +3 -4
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +202 -167
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +53 -37
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +50 -51
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +628 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +134 -133
- data/generated/google/apis/cloudkms_v1/service.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +835 -835
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +138 -138
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +474 -474
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +386 -386
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +75 -75
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +64 -64
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +114 -114
- data/generated/google/apis/cloudtrace_v1/representations.rb +23 -23
- data/generated/google/apis/cloudtrace_v1/service.rb +14 -14
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +66 -25
- data/generated/google/apis/compute_beta/representations.rb +16 -0
- data/generated/google/apis/compute_beta/service.rb +85 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +375 -24
- data/generated/google/apis/compute_v1/representations.rb +155 -0
- data/generated/google/apis/compute_v1/service.rb +481 -3
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +301 -301
- data/generated/google/apis/container_v1/representations.rb +59 -59
- data/generated/google/apis/container_v1/service.rb +178 -178
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +37 -2
- data/generated/google/apis/content_v2/representations.rb +15 -0
- data/generated/google/apis/content_v2/service.rb +58 -3
- data/generated/google/apis/dataflow_v1b3.rb +4 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3514 -3279
- data/generated/google/apis/dataflow_v1b3/representations.rb +530 -440
- data/generated/google/apis/dataflow_v1b3/service.rb +378 -137
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +446 -446
- data/generated/google/apis/dataproc_v1/representations.rb +96 -96
- data/generated/google/apis/dataproc_v1/service.rb +302 -302
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +370 -374
- data/generated/google/apis/datastore_v1/representations.rb +120 -120
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +24 -21
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +24 -22
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +148 -149
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +42 -42
- data/generated/google/apis/firebaserules_v1/classes.rb +71 -71
- data/generated/google/apis/firebaserules_v1/representations.rb +22 -22
- data/generated/google/apis/firebaserules_v1/service.rb +68 -68
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2348 -2348
- data/generated/google/apis/genomics_v1/representations.rb +430 -430
- data/generated/google/apis/genomics_v1/service.rb +1159 -1159
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +2 -2
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +305 -298
- data/generated/google/apis/iam_v1/representations.rb +97 -96
- data/generated/google/apis/iam_v1/service.rb +86 -86
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +10 -10
- data/generated/google/apis/language_v1.rb +4 -4
- data/generated/google/apis/language_v1/classes.rb +452 -452
- data/generated/google/apis/language_v1/representations.rb +93 -93
- data/generated/google/apis/language_v1/service.rb +48 -48
- data/generated/google/apis/language_v1beta1.rb +4 -4
- data/generated/google/apis/language_v1beta1/classes.rb +84 -84
- data/generated/google/apis/language_v1beta1/representations.rb +22 -22
- data/generated/google/apis/language_v1beta1/service.rb +3 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +884 -873
- data/generated/google/apis/logging_v2/representations.rb +167 -166
- data/generated/google/apis/logging_v2/service.rb +430 -430
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +550 -539
- data/generated/google/apis/logging_v2beta1/representations.rb +124 -123
- data/generated/google/apis/logging_v2beta1/service.rb +292 -292
- data/generated/google/apis/manufacturers_v1/classes.rb +322 -322
- data/generated/google/apis/manufacturers_v1/representations.rb +66 -66
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +501 -494
- data/generated/google/apis/ml_v1/representations.rb +92 -91
- data/generated/google/apis/ml_v1/service.rb +190 -190
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +878 -878
- data/generated/google/apis/monitoring_v3/representations.rb +176 -176
- data/generated/google/apis/monitoring_v3/service.rb +223 -262
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1506 -1506
- data/generated/google/apis/partners_v2/representations.rb +370 -370
- data/generated/google/apis/partners_v2/service.rb +393 -393
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +597 -594
- data/generated/google/apis/people_v1/representations.rb +121 -121
- data/generated/google/apis/people_v1/service.rb +39 -48
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +323 -327
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +100 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +184 -184
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +178 -178
- data/generated/google/apis/pubsub_v1/representations.rb +55 -55
- data/generated/google/apis/pubsub_v1/service.rb +357 -357
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +12 -7
- data/generated/google/apis/script_v1.rb +16 -16
- data/generated/google/apis/script_v1/classes.rb +113 -113
- data/generated/google/apis/script_v1/representations.rb +28 -28
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1146 -1145
- data/generated/google/apis/servicecontrol_v1/representations.rb +203 -203
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +4 -4
- data/generated/google/apis/servicemanagement_v1/classes.rb +3486 -3360
- data/generated/google/apis/servicemanagement_v1/representations.rb +342 -329
- data/generated/google/apis/servicemanagement_v1/service.rb +260 -250
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2716 -2596
- data/generated/google/apis/serviceuser_v1/representations.rb +391 -379
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4255 -4252
- data/generated/google/apis/sheets_v4/representations.rb +548 -548
- data/generated/google/apis/sheets_v4/service.rb +170 -170
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2945 -2916
- data/generated/google/apis/slides_v1/representations.rb +700 -697
- data/generated/google/apis/slides_v1/service.rb +44 -44
- data/generated/google/apis/sourcerepo_v1.rb +2 -2
- data/generated/google/apis/sourcerepo_v1/classes.rb +419 -410
- data/generated/google/apis/sourcerepo_v1/representations.rb +88 -87
- data/generated/google/apis/sourcerepo_v1/service.rb +67 -58
- data/generated/google/apis/spanner_v1/classes.rb +2187 -2187
- data/generated/google/apis/spanner_v1/representations.rb +323 -323
- data/generated/google/apis/spanner_v1/service.rb +383 -383
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +226 -226
- data/generated/google/apis/speech_v1beta1/representations.rb +44 -44
- data/generated/google/apis/speech_v1beta1/service.rb +37 -32
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -28
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -16
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +26 -0
- data/generated/google/apis/storage_v1/representations.rb +15 -0
- data/generated/google/apis/storage_v1/service.rb +168 -42
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +218 -218
- data/generated/google/apis/storagetransfer_v1/representations.rb +47 -47
- data/generated/google/apis/storagetransfer_v1/service.rb +68 -68
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -4
- data/generated/google/apis/toolresults_v1beta3/service.rb +9 -8
- data/generated/google/apis/translate_v2.rb +11 -4
- data/generated/google/apis/translate_v2/classes.rb +140 -37
- data/generated/google/apis/translate_v2/representations.rb +62 -15
- data/generated/google/apis/translate_v2/service.rb +119 -66
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1265 -1273
- data/generated/google/apis/vision_v1/representations.rb +202 -202
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +91 -91
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
- data/lib/google/apis/core/api_command.rb +43 -10
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/options.rb +6 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -3
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/logging/docs/
|
|
26
26
|
module LoggingV2beta1
|
|
27
27
|
VERSION = 'V2beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170523'
|
|
29
29
|
|
|
30
30
|
# View your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
|
@@ -22,49 +22,230 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module LoggingV2beta1
|
|
24
24
|
|
|
25
|
-
#
|
|
26
|
-
class
|
|
25
|
+
# A description of a label.
|
|
26
|
+
class LabelDescriptor
|
|
27
27
|
include Google::Apis::Core::Hashable
|
|
28
28
|
|
|
29
|
-
#
|
|
30
|
-
# Corresponds to the JSON property `
|
|
31
|
-
# @return [
|
|
32
|
-
attr_accessor :
|
|
29
|
+
# The type of data that can be assigned to the label.
|
|
30
|
+
# Corresponds to the JSON property `valueType`
|
|
31
|
+
# @return [String]
|
|
32
|
+
attr_accessor :value_type
|
|
33
33
|
|
|
34
|
-
#
|
|
34
|
+
# The label key.
|
|
35
|
+
# Corresponds to the JSON property `key`
|
|
36
|
+
# @return [String]
|
|
37
|
+
attr_accessor :key
|
|
38
|
+
|
|
39
|
+
# A human-readable description for the label.
|
|
40
|
+
# Corresponds to the JSON property `description`
|
|
41
|
+
# @return [String]
|
|
42
|
+
attr_accessor :description
|
|
43
|
+
|
|
44
|
+
def initialize(**args)
|
|
45
|
+
update!(**args)
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# Update properties of this object
|
|
49
|
+
def update!(**args)
|
|
50
|
+
@value_type = args[:value_type] if args.key?(:value_type)
|
|
51
|
+
@key = args[:key] if args.key?(:key)
|
|
52
|
+
@description = args[:description] if args.key?(:description)
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# An object that describes the schema of a MonitoredResource object using a type
|
|
57
|
+
# name and a set of labels. For example, the monitored resource descriptor for
|
|
58
|
+
# Google Compute Engine VM instances has a type of "gce_instance" and specifies
|
|
59
|
+
# the use of the labels "instance_id" and "zone" to identify particular VM
|
|
60
|
+
# instances.Different APIs can support different monitored resource types. APIs
|
|
61
|
+
# generally provide a list method that returns the monitored resource
|
|
62
|
+
# descriptors used by the API.
|
|
63
|
+
class MonitoredResourceDescriptor
|
|
64
|
+
include Google::Apis::Core::Hashable
|
|
65
|
+
|
|
66
|
+
# Optional. The resource name of the monitored resource descriptor: "projects/`
|
|
67
|
+
# project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of
|
|
68
|
+
# the type field in this object and `project_id` is a project ID that provides
|
|
69
|
+
# API-specific context for accessing the type. APIs that do not use project
|
|
70
|
+
# information can use the resource name format "monitoredResourceDescriptors/`
|
|
71
|
+
# type`".
|
|
72
|
+
# Corresponds to the JSON property `name`
|
|
73
|
+
# @return [String]
|
|
74
|
+
attr_accessor :name
|
|
75
|
+
|
|
76
|
+
# Optional. A concise name for the monitored resource type that might be
|
|
77
|
+
# displayed in user interfaces. It should be a Title Cased Noun Phrase, without
|
|
78
|
+
# any article or other determiners. For example, "Google Cloud SQL Database".
|
|
79
|
+
# Corresponds to the JSON property `displayName`
|
|
80
|
+
# @return [String]
|
|
81
|
+
attr_accessor :display_name
|
|
82
|
+
|
|
83
|
+
# Optional. A detailed description of the monitored resource type that might be
|
|
84
|
+
# used in documentation.
|
|
85
|
+
# Corresponds to the JSON property `description`
|
|
86
|
+
# @return [String]
|
|
87
|
+
attr_accessor :description
|
|
88
|
+
|
|
89
|
+
# Required. The monitored resource type. For example, the type "
|
|
90
|
+
# cloudsql_database" represents databases in Google Cloud SQL. The maximum
|
|
91
|
+
# length of this value is 256 characters.
|
|
92
|
+
# Corresponds to the JSON property `type`
|
|
93
|
+
# @return [String]
|
|
94
|
+
attr_accessor :type
|
|
95
|
+
|
|
96
|
+
# Required. A set of labels used to describe instances of this monitored
|
|
97
|
+
# resource type. For example, an individual Google Cloud SQL database is
|
|
98
|
+
# identified by values for the labels "database_id" and "zone".
|
|
99
|
+
# Corresponds to the JSON property `labels`
|
|
100
|
+
# @return [Array<Google::Apis::LoggingV2beta1::LabelDescriptor>]
|
|
101
|
+
attr_accessor :labels
|
|
102
|
+
|
|
103
|
+
def initialize(**args)
|
|
104
|
+
update!(**args)
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# Update properties of this object
|
|
108
|
+
def update!(**args)
|
|
109
|
+
@name = args[:name] if args.key?(:name)
|
|
110
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
111
|
+
@description = args[:description] if args.key?(:description)
|
|
112
|
+
@type = args[:type] if args.key?(:type)
|
|
113
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Additional information about the source code location that produced the log
|
|
118
|
+
# entry.
|
|
119
|
+
class LogEntrySourceLocation
|
|
120
|
+
include Google::Apis::Core::Hashable
|
|
121
|
+
|
|
122
|
+
# Optional. Source file name. Depending on the runtime environment, this might
|
|
123
|
+
# be a simple name or a fully-qualified name.
|
|
124
|
+
# Corresponds to the JSON property `file`
|
|
125
|
+
# @return [String]
|
|
126
|
+
attr_accessor :file
|
|
127
|
+
|
|
128
|
+
# Optional. Human-readable name of the function or method being invoked, with
|
|
129
|
+
# optional context such as the class or package name. This information may be
|
|
130
|
+
# used in contexts such as the logs viewer, where a file and line number are
|
|
131
|
+
# less meaningful. The format can vary by language. For example: qual.if.ied.
|
|
132
|
+
# Class.method (Java), dir/package.func (Go), function (Python).
|
|
133
|
+
# Corresponds to the JSON property `function`
|
|
134
|
+
# @return [String]
|
|
135
|
+
attr_accessor :function
|
|
136
|
+
|
|
137
|
+
# Optional. Line within the source file. 1-based; 0 indicates no line number
|
|
138
|
+
# available.
|
|
139
|
+
# Corresponds to the JSON property `line`
|
|
140
|
+
# @return [Fixnum]
|
|
141
|
+
attr_accessor :line
|
|
142
|
+
|
|
143
|
+
def initialize(**args)
|
|
144
|
+
update!(**args)
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Update properties of this object
|
|
148
|
+
def update!(**args)
|
|
149
|
+
@file = args[:file] if args.key?(:file)
|
|
150
|
+
@function = args[:function] if args.key?(:function)
|
|
151
|
+
@line = args[:line] if args.key?(:line)
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# Result returned from ListLogEntries.
|
|
156
|
+
class ListLogEntriesResponse
|
|
157
|
+
include Google::Apis::Core::Hashable
|
|
158
|
+
|
|
159
|
+
# If there might be more results than those appearing in this response, then
|
|
35
160
|
# nextPageToken is included. To get the next set of results, call this method
|
|
36
|
-
# again using the value of nextPageToken as pageToken.
|
|
161
|
+
# again using the value of nextPageToken as pageToken.If a value for
|
|
162
|
+
# next_page_token appears and the entries field is empty, it means that the
|
|
163
|
+
# search found no log entries so far but it did not have time to search all the
|
|
164
|
+
# possible log entries. Retry the method with this value for page_token to
|
|
165
|
+
# continue the search. Alternatively, consider speeding up the search by
|
|
166
|
+
# changing your filter to specify a single log name or resource type, or to
|
|
167
|
+
# narrow the time range of the search.
|
|
37
168
|
# Corresponds to the JSON property `nextPageToken`
|
|
38
169
|
# @return [String]
|
|
39
170
|
attr_accessor :next_page_token
|
|
40
171
|
|
|
172
|
+
# A list of log entries.
|
|
173
|
+
# Corresponds to the JSON property `entries`
|
|
174
|
+
# @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
|
|
175
|
+
attr_accessor :entries
|
|
176
|
+
|
|
41
177
|
def initialize(**args)
|
|
42
178
|
update!(**args)
|
|
43
179
|
end
|
|
44
180
|
|
|
45
181
|
# Update properties of this object
|
|
46
182
|
def update!(**args)
|
|
47
|
-
@metrics = args[:metrics] if args.key?(:metrics)
|
|
48
183
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
184
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
49
185
|
end
|
|
50
186
|
end
|
|
51
187
|
|
|
52
|
-
#
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
188
|
+
# Application log line emitted while processing a request.
|
|
189
|
+
class LogLine
|
|
190
|
+
include Google::Apis::Core::Hashable
|
|
191
|
+
|
|
192
|
+
# Severity of this log entry.
|
|
193
|
+
# Corresponds to the JSON property `severity`
|
|
194
|
+
# @return [String]
|
|
195
|
+
attr_accessor :severity
|
|
196
|
+
|
|
197
|
+
# App-provided log message.
|
|
198
|
+
# Corresponds to the JSON property `logMessage`
|
|
199
|
+
# @return [String]
|
|
200
|
+
attr_accessor :log_message
|
|
201
|
+
|
|
202
|
+
# Specifies a location in a source code file.
|
|
203
|
+
# Corresponds to the JSON property `sourceLocation`
|
|
204
|
+
# @return [Google::Apis::LoggingV2beta1::SourceLocation]
|
|
205
|
+
attr_accessor :source_location
|
|
206
|
+
|
|
207
|
+
# Approximate time when this log entry was made.
|
|
208
|
+
# Corresponds to the JSON property `time`
|
|
209
|
+
# @return [String]
|
|
210
|
+
attr_accessor :time
|
|
211
|
+
|
|
212
|
+
def initialize(**args)
|
|
213
|
+
update!(**args)
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
# Update properties of this object
|
|
217
|
+
def update!(**args)
|
|
218
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
219
|
+
@log_message = args[:log_message] if args.key?(:log_message)
|
|
220
|
+
@source_location = args[:source_location] if args.key?(:source_location)
|
|
221
|
+
@time = args[:time] if args.key?(:time)
|
|
222
|
+
end
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
# Result returned from ListLogMetrics.
|
|
226
|
+
class ListLogMetricsResponse
|
|
60
227
|
include Google::Apis::Core::Hashable
|
|
61
228
|
|
|
229
|
+
# A list of logs-based metrics.
|
|
230
|
+
# Corresponds to the JSON property `metrics`
|
|
231
|
+
# @return [Array<Google::Apis::LoggingV2beta1::LogMetric>]
|
|
232
|
+
attr_accessor :metrics
|
|
233
|
+
|
|
234
|
+
# If there might be more results than appear in this response, then
|
|
235
|
+
# nextPageToken is included. To get the next set of results, call this method
|
|
236
|
+
# again using the value of nextPageToken as pageToken.
|
|
237
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
238
|
+
# @return [String]
|
|
239
|
+
attr_accessor :next_page_token
|
|
240
|
+
|
|
62
241
|
def initialize(**args)
|
|
63
242
|
update!(**args)
|
|
64
243
|
end
|
|
65
244
|
|
|
66
245
|
# Update properties of this object
|
|
67
246
|
def update!(**args)
|
|
247
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
|
248
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
68
249
|
end
|
|
69
250
|
end
|
|
70
251
|
|
|
@@ -72,6 +253,32 @@ module Google
|
|
|
72
253
|
class LogEntry
|
|
73
254
|
include Google::Apis::Core::Hashable
|
|
74
255
|
|
|
256
|
+
# Optional. A set of user-defined (key, value) data that provides additional
|
|
257
|
+
# information about the log entry.
|
|
258
|
+
# Corresponds to the JSON property `labels`
|
|
259
|
+
# @return [Hash<String,String>]
|
|
260
|
+
attr_accessor :labels
|
|
261
|
+
|
|
262
|
+
# Optional. Resource name of the trace associated with the log entry, if any. If
|
|
263
|
+
# it contains a relative resource name, the name is assumed to be relative to //
|
|
264
|
+
# tracing.googleapis.com. Example: projects/my-projectid/traces/
|
|
265
|
+
# 06796866738c859f2f19b7cfb3214824
|
|
266
|
+
# Corresponds to the JSON property `trace`
|
|
267
|
+
# @return [String]
|
|
268
|
+
attr_accessor :trace
|
|
269
|
+
|
|
270
|
+
# Optional. The severity of the log entry. The default value is LogSeverity.
|
|
271
|
+
# DEFAULT.
|
|
272
|
+
# Corresponds to the JSON property `severity`
|
|
273
|
+
# @return [String]
|
|
274
|
+
attr_accessor :severity
|
|
275
|
+
|
|
276
|
+
# Additional information about the source code location that produced the log
|
|
277
|
+
# entry.
|
|
278
|
+
# Corresponds to the JSON property `sourceLocation`
|
|
279
|
+
# @return [Google::Apis::LoggingV2beta1::LogEntrySourceLocation]
|
|
280
|
+
attr_accessor :source_location
|
|
281
|
+
|
|
75
282
|
# Optional. The time the event described by the log entry occurred. If omitted
|
|
76
283
|
# in a new log entry, Stackdriver Logging will insert the time the log entry is
|
|
77
284
|
# received. Stackdriver Logging might reject log entries whose time stamps are
|
|
@@ -81,6 +288,11 @@ module Google
|
|
|
81
288
|
# @return [String]
|
|
82
289
|
attr_accessor :timestamp
|
|
83
290
|
|
|
291
|
+
# Output only. The time the log entry was received by Stackdriver Logging.
|
|
292
|
+
# Corresponds to the JSON property `receiveTimestamp`
|
|
293
|
+
# @return [String]
|
|
294
|
+
attr_accessor :receive_timestamp
|
|
295
|
+
|
|
84
296
|
# Required. The resource name of the log to which this log entry belongs:
|
|
85
297
|
# "projects/[PROJECT_ID]/logs/[LOG_ID]"
|
|
86
298
|
# "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
|
|
@@ -155,39 +367,18 @@ module Google
|
|
|
155
367
|
# @return [Hash<String,Object>]
|
|
156
368
|
attr_accessor :proto_payload
|
|
157
369
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
# @return [Hash<String,String>]
|
|
162
|
-
attr_accessor :labels
|
|
163
|
-
|
|
164
|
-
# Optional. Resource name of the trace associated with the log entry, if any. If
|
|
165
|
-
# it contains a relative resource name, the name is assumed to be relative to //
|
|
166
|
-
# tracing.googleapis.com. Example: projects/my-projectid/traces/
|
|
167
|
-
# 06796866738c859f2f19b7cfb3214824
|
|
168
|
-
# Corresponds to the JSON property `trace`
|
|
169
|
-
# @return [String]
|
|
170
|
-
attr_accessor :trace
|
|
171
|
-
|
|
172
|
-
# Optional. The severity of the log entry. The default value is LogSeverity.
|
|
173
|
-
# DEFAULT.
|
|
174
|
-
# Corresponds to the JSON property `severity`
|
|
175
|
-
# @return [String]
|
|
176
|
-
attr_accessor :severity
|
|
177
|
-
|
|
178
|
-
# Additional information about the source code location that produced the log
|
|
179
|
-
# entry.
|
|
180
|
-
# Corresponds to the JSON property `sourceLocation`
|
|
181
|
-
# @return [Google::Apis::LoggingV2beta1::LogEntrySourceLocation]
|
|
182
|
-
attr_accessor :source_location
|
|
183
|
-
|
|
184
|
-
def initialize(**args)
|
|
185
|
-
update!(**args)
|
|
186
|
-
end
|
|
370
|
+
def initialize(**args)
|
|
371
|
+
update!(**args)
|
|
372
|
+
end
|
|
187
373
|
|
|
188
374
|
# Update properties of this object
|
|
189
375
|
def update!(**args)
|
|
376
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
377
|
+
@trace = args[:trace] if args.key?(:trace)
|
|
378
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
379
|
+
@source_location = args[:source_location] if args.key?(:source_location)
|
|
190
380
|
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
381
|
+
@receive_timestamp = args[:receive_timestamp] if args.key?(:receive_timestamp)
|
|
191
382
|
@log_name = args[:log_name] if args.key?(:log_name)
|
|
192
383
|
@resource = args[:resource] if args.key?(:resource)
|
|
193
384
|
@http_request = args[:http_request] if args.key?(:http_request)
|
|
@@ -196,10 +387,25 @@ module Google
|
|
|
196
387
|
@operation = args[:operation] if args.key?(:operation)
|
|
197
388
|
@text_payload = args[:text_payload] if args.key?(:text_payload)
|
|
198
389
|
@proto_payload = args[:proto_payload] if args.key?(:proto_payload)
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
390
|
+
end
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
394
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
|
395
|
+
# response type of an API method. For instance:
|
|
396
|
+
# service Foo `
|
|
397
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
398
|
+
# `
|
|
399
|
+
# The JSON representation for Empty is empty JSON object ``.
|
|
400
|
+
class Empty
|
|
401
|
+
include Google::Apis::Core::Hashable
|
|
402
|
+
|
|
403
|
+
def initialize(**args)
|
|
404
|
+
update!(**args)
|
|
405
|
+
end
|
|
406
|
+
|
|
407
|
+
# Update properties of this object
|
|
408
|
+
def update!(**args)
|
|
203
409
|
end
|
|
204
410
|
end
|
|
205
411
|
|
|
@@ -207,6 +413,11 @@ module Google
|
|
|
207
413
|
class SourceLocation
|
|
208
414
|
include Google::Apis::Core::Hashable
|
|
209
415
|
|
|
416
|
+
# Line within the source file.
|
|
417
|
+
# Corresponds to the JSON property `line`
|
|
418
|
+
# @return [Fixnum]
|
|
419
|
+
attr_accessor :line
|
|
420
|
+
|
|
210
421
|
# Source file name. Depending on the runtime environment, this might be a simple
|
|
211
422
|
# name or a fully-qualified name.
|
|
212
423
|
# Corresponds to the JSON property `file`
|
|
@@ -222,20 +433,15 @@ module Google
|
|
|
222
433
|
# @return [String]
|
|
223
434
|
attr_accessor :function_name
|
|
224
435
|
|
|
225
|
-
# Line within the source file.
|
|
226
|
-
# Corresponds to the JSON property `line`
|
|
227
|
-
# @return [Fixnum]
|
|
228
|
-
attr_accessor :line
|
|
229
|
-
|
|
230
436
|
def initialize(**args)
|
|
231
437
|
update!(**args)
|
|
232
438
|
end
|
|
233
439
|
|
|
234
440
|
# Update properties of this object
|
|
235
441
|
def update!(**args)
|
|
442
|
+
@line = args[:line] if args.key?(:line)
|
|
236
443
|
@file = args[:file] if args.key?(:file)
|
|
237
444
|
@function_name = args[:function_name] if args.key?(:function_name)
|
|
238
|
-
@line = args[:line] if args.key?(:line)
|
|
239
445
|
end
|
|
240
446
|
end
|
|
241
447
|
|
|
@@ -264,14 +470,6 @@ module Google
|
|
|
264
470
|
# @return [Array<String>]
|
|
265
471
|
attr_accessor :resource_names
|
|
266
472
|
|
|
267
|
-
# Deprecated. Use resource_names instead. One or more project identifiers or
|
|
268
|
-
# project numbers from which to retrieve log entries. Example: "my-project-1A".
|
|
269
|
-
# If present, these project identifiers are converted to resource name format
|
|
270
|
-
# and added to the list of resources in resource_names.
|
|
271
|
-
# Corresponds to the JSON property `projectIds`
|
|
272
|
-
# @return [Array<String>]
|
|
273
|
-
attr_accessor :project_ids
|
|
274
|
-
|
|
275
473
|
# Optional. A filter that chooses which log entries to return. See Advanced Logs
|
|
276
474
|
# Filters. Only log entries that match the filter are returned. An empty filter
|
|
277
475
|
# matches all log entries in the resources listed in resource_names. Referencing
|
|
@@ -281,6 +479,14 @@ module Google
|
|
|
281
479
|
# @return [String]
|
|
282
480
|
attr_accessor :filter
|
|
283
481
|
|
|
482
|
+
# Deprecated. Use resource_names instead. One or more project identifiers or
|
|
483
|
+
# project numbers from which to retrieve log entries. Example: "my-project-1A".
|
|
484
|
+
# If present, these project identifiers are converted to resource name format
|
|
485
|
+
# and added to the list of resources in resource_names.
|
|
486
|
+
# Corresponds to the JSON property `projectIds`
|
|
487
|
+
# @return [Array<String>]
|
|
488
|
+
attr_accessor :project_ids
|
|
489
|
+
|
|
284
490
|
# Optional. If present, then retrieve the next batch of results from the
|
|
285
491
|
# preceding call to this method. page_token must be the value of next_page_token
|
|
286
492
|
# from the previous response. The values of other method parameters should be
|
|
@@ -304,8 +510,8 @@ module Google
|
|
|
304
510
|
def update!(**args)
|
|
305
511
|
@order_by = args[:order_by] if args.key?(:order_by)
|
|
306
512
|
@resource_names = args[:resource_names] if args.key?(:resource_names)
|
|
307
|
-
@project_ids = args[:project_ids] if args.key?(:project_ids)
|
|
308
513
|
@filter = args[:filter] if args.key?(:filter)
|
|
514
|
+
@project_ids = args[:project_ids] if args.key?(:project_ids)
|
|
309
515
|
@page_token = args[:page_token] if args.key?(:page_token)
|
|
310
516
|
@page_size = args[:page_size] if args.key?(:page_size)
|
|
311
517
|
end
|
|
@@ -316,79 +522,6 @@ module Google
|
|
|
316
522
|
class RequestLog
|
|
317
523
|
include Google::Apis::Core::Hashable
|
|
318
524
|
|
|
319
|
-
# HTTP version of request. Example: "HTTP/1.1".
|
|
320
|
-
# Corresponds to the JSON property `httpVersion`
|
|
321
|
-
# @return [String]
|
|
322
|
-
attr_accessor :http_version
|
|
323
|
-
|
|
324
|
-
# Time when the request started.
|
|
325
|
-
# Corresponds to the JSON property `startTime`
|
|
326
|
-
# @return [String]
|
|
327
|
-
attr_accessor :start_time
|
|
328
|
-
|
|
329
|
-
# Latency of the request.
|
|
330
|
-
# Corresponds to the JSON property `latency`
|
|
331
|
-
# @return [String]
|
|
332
|
-
attr_accessor :latency
|
|
333
|
-
|
|
334
|
-
# Origin IP address.
|
|
335
|
-
# Corresponds to the JSON property `ip`
|
|
336
|
-
# @return [String]
|
|
337
|
-
attr_accessor :ip
|
|
338
|
-
|
|
339
|
-
# Application that handled this request.
|
|
340
|
-
# Corresponds to the JSON property `appId`
|
|
341
|
-
# @return [String]
|
|
342
|
-
attr_accessor :app_id
|
|
343
|
-
|
|
344
|
-
# App Engine release version.
|
|
345
|
-
# Corresponds to the JSON property `appEngineRelease`
|
|
346
|
-
# @return [String]
|
|
347
|
-
attr_accessor :app_engine_release
|
|
348
|
-
|
|
349
|
-
# Request method. Example: "GET", "HEAD", "PUT", "POST", "DELETE".
|
|
350
|
-
# Corresponds to the JSON property `method`
|
|
351
|
-
# @return [String]
|
|
352
|
-
attr_accessor :method_prop
|
|
353
|
-
|
|
354
|
-
# An indication of the relative cost of serving this request.
|
|
355
|
-
# Corresponds to the JSON property `cost`
|
|
356
|
-
# @return [Float]
|
|
357
|
-
attr_accessor :cost
|
|
358
|
-
|
|
359
|
-
# An identifier for the instance that handled the request.
|
|
360
|
-
# Corresponds to the JSON property `instanceId`
|
|
361
|
-
# @return [String]
|
|
362
|
-
attr_accessor :instance_id
|
|
363
|
-
|
|
364
|
-
# Number of CPU megacycles used to process request.
|
|
365
|
-
# Corresponds to the JSON property `megaCycles`
|
|
366
|
-
# @return [Fixnum]
|
|
367
|
-
attr_accessor :mega_cycles
|
|
368
|
-
|
|
369
|
-
# Whether this is the first RequestLog entry for this request. If an active
|
|
370
|
-
# request has several RequestLog entries written to Stackdriver Logging, then
|
|
371
|
-
# this field will be set for one of them.
|
|
372
|
-
# Corresponds to the JSON property `first`
|
|
373
|
-
# @return [Boolean]
|
|
374
|
-
attr_accessor :first
|
|
375
|
-
alias_method :first?, :first
|
|
376
|
-
|
|
377
|
-
# Version of the application that handled this request.
|
|
378
|
-
# Corresponds to the JSON property `versionId`
|
|
379
|
-
# @return [String]
|
|
380
|
-
attr_accessor :version_id
|
|
381
|
-
|
|
382
|
-
# Module of the application that handled this request.
|
|
383
|
-
# Corresponds to the JSON property `moduleId`
|
|
384
|
-
# @return [String]
|
|
385
|
-
attr_accessor :module_id
|
|
386
|
-
|
|
387
|
-
# Time when the request finished.
|
|
388
|
-
# Corresponds to the JSON property `endTime`
|
|
389
|
-
# @return [String]
|
|
390
|
-
attr_accessor :end_time
|
|
391
|
-
|
|
392
525
|
# User agent that made the request.
|
|
393
526
|
# Corresponds to the JSON property `userAgent`
|
|
394
527
|
# @return [String]
|
|
@@ -448,6 +581,11 @@ module Google
|
|
|
448
581
|
# @return [String]
|
|
449
582
|
attr_accessor :nickname
|
|
450
583
|
|
|
584
|
+
# HTTP response status code. Example: 200, 404.
|
|
585
|
+
# Corresponds to the JSON property `status`
|
|
586
|
+
# @return [Fixnum]
|
|
587
|
+
attr_accessor :status
|
|
588
|
+
|
|
451
589
|
# Time this request spent in the pending request queue.
|
|
452
590
|
# Corresponds to the JSON property `pendingTime`
|
|
453
591
|
# @return [String]
|
|
@@ -461,11 +599,6 @@ module Google
|
|
|
461
599
|
# @return [String]
|
|
462
600
|
attr_accessor :resource
|
|
463
601
|
|
|
464
|
-
# HTTP response status code. Example: 200, 404.
|
|
465
|
-
# Corresponds to the JSON property `status`
|
|
466
|
-
# @return [Fixnum]
|
|
467
|
-
attr_accessor :status
|
|
468
|
-
|
|
469
602
|
# Task name of the request, in the case of an offline request.
|
|
470
603
|
# Corresponds to the JSON property `taskName`
|
|
471
604
|
# @return [String]
|
|
@@ -482,16 +615,89 @@ module Google
|
|
|
482
615
|
# @return [Fixnum]
|
|
483
616
|
attr_accessor :instance_index
|
|
484
617
|
|
|
618
|
+
# Internet host and port number of the resource being requested.
|
|
619
|
+
# Corresponds to the JSON property `host`
|
|
620
|
+
# @return [String]
|
|
621
|
+
attr_accessor :host
|
|
622
|
+
|
|
485
623
|
# Whether this request is finished or active.
|
|
486
624
|
# Corresponds to the JSON property `finished`
|
|
487
625
|
# @return [Boolean]
|
|
488
626
|
attr_accessor :finished
|
|
489
627
|
alias_method :finished?, :finished
|
|
490
628
|
|
|
491
|
-
#
|
|
492
|
-
# Corresponds to the JSON property `
|
|
629
|
+
# HTTP version of request. Example: "HTTP/1.1".
|
|
630
|
+
# Corresponds to the JSON property `httpVersion`
|
|
493
631
|
# @return [String]
|
|
494
|
-
attr_accessor :
|
|
632
|
+
attr_accessor :http_version
|
|
633
|
+
|
|
634
|
+
# Time when the request started.
|
|
635
|
+
# Corresponds to the JSON property `startTime`
|
|
636
|
+
# @return [String]
|
|
637
|
+
attr_accessor :start_time
|
|
638
|
+
|
|
639
|
+
# Latency of the request.
|
|
640
|
+
# Corresponds to the JSON property `latency`
|
|
641
|
+
# @return [String]
|
|
642
|
+
attr_accessor :latency
|
|
643
|
+
|
|
644
|
+
# Origin IP address.
|
|
645
|
+
# Corresponds to the JSON property `ip`
|
|
646
|
+
# @return [String]
|
|
647
|
+
attr_accessor :ip
|
|
648
|
+
|
|
649
|
+
# Application that handled this request.
|
|
650
|
+
# Corresponds to the JSON property `appId`
|
|
651
|
+
# @return [String]
|
|
652
|
+
attr_accessor :app_id
|
|
653
|
+
|
|
654
|
+
# App Engine release version.
|
|
655
|
+
# Corresponds to the JSON property `appEngineRelease`
|
|
656
|
+
# @return [String]
|
|
657
|
+
attr_accessor :app_engine_release
|
|
658
|
+
|
|
659
|
+
# Request method. Example: "GET", "HEAD", "PUT", "POST", "DELETE".
|
|
660
|
+
# Corresponds to the JSON property `method`
|
|
661
|
+
# @return [String]
|
|
662
|
+
attr_accessor :method_prop
|
|
663
|
+
|
|
664
|
+
# An indication of the relative cost of serving this request.
|
|
665
|
+
# Corresponds to the JSON property `cost`
|
|
666
|
+
# @return [Float]
|
|
667
|
+
attr_accessor :cost
|
|
668
|
+
|
|
669
|
+
# An identifier for the instance that handled the request.
|
|
670
|
+
# Corresponds to the JSON property `instanceId`
|
|
671
|
+
# @return [String]
|
|
672
|
+
attr_accessor :instance_id
|
|
673
|
+
|
|
674
|
+
# Number of CPU megacycles used to process request.
|
|
675
|
+
# Corresponds to the JSON property `megaCycles`
|
|
676
|
+
# @return [Fixnum]
|
|
677
|
+
attr_accessor :mega_cycles
|
|
678
|
+
|
|
679
|
+
# Whether this is the first RequestLog entry for this request. If an active
|
|
680
|
+
# request has several RequestLog entries written to Stackdriver Logging, then
|
|
681
|
+
# this field will be set for one of them.
|
|
682
|
+
# Corresponds to the JSON property `first`
|
|
683
|
+
# @return [Boolean]
|
|
684
|
+
attr_accessor :first
|
|
685
|
+
alias_method :first?, :first
|
|
686
|
+
|
|
687
|
+
# Version of the application that handled this request.
|
|
688
|
+
# Corresponds to the JSON property `versionId`
|
|
689
|
+
# @return [String]
|
|
690
|
+
attr_accessor :version_id
|
|
691
|
+
|
|
692
|
+
# Module of the application that handled this request.
|
|
693
|
+
# Corresponds to the JSON property `moduleId`
|
|
694
|
+
# @return [String]
|
|
695
|
+
attr_accessor :module_id
|
|
696
|
+
|
|
697
|
+
# Time when the request finished.
|
|
698
|
+
# Corresponds to the JSON property `endTime`
|
|
699
|
+
# @return [String]
|
|
700
|
+
attr_accessor :end_time
|
|
495
701
|
|
|
496
702
|
def initialize(**args)
|
|
497
703
|
update!(**args)
|
|
@@ -499,20 +705,6 @@ module Google
|
|
|
499
705
|
|
|
500
706
|
# Update properties of this object
|
|
501
707
|
def update!(**args)
|
|
502
|
-
@http_version = args[:http_version] if args.key?(:http_version)
|
|
503
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
|
504
|
-
@latency = args[:latency] if args.key?(:latency)
|
|
505
|
-
@ip = args[:ip] if args.key?(:ip)
|
|
506
|
-
@app_id = args[:app_id] if args.key?(:app_id)
|
|
507
|
-
@app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
|
|
508
|
-
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
509
|
-
@cost = args[:cost] if args.key?(:cost)
|
|
510
|
-
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
|
511
|
-
@mega_cycles = args[:mega_cycles] if args.key?(:mega_cycles)
|
|
512
|
-
@first = args[:first] if args.key?(:first)
|
|
513
|
-
@version_id = args[:version_id] if args.key?(:version_id)
|
|
514
|
-
@module_id = args[:module_id] if args.key?(:module_id)
|
|
515
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
|
516
708
|
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
|
517
709
|
@was_loading_request = args[:was_loading_request] if args.key?(:was_loading_request)
|
|
518
710
|
@source_reference = args[:source_reference] if args.key?(:source_reference)
|
|
@@ -523,21 +715,40 @@ module Google
|
|
|
523
715
|
@task_queue_name = args[:task_queue_name] if args.key?(:task_queue_name)
|
|
524
716
|
@request_id = args[:request_id] if args.key?(:request_id)
|
|
525
717
|
@nickname = args[:nickname] if args.key?(:nickname)
|
|
718
|
+
@status = args[:status] if args.key?(:status)
|
|
526
719
|
@pending_time = args[:pending_time] if args.key?(:pending_time)
|
|
527
720
|
@resource = args[:resource] if args.key?(:resource)
|
|
528
|
-
@status = args[:status] if args.key?(:status)
|
|
529
721
|
@task_name = args[:task_name] if args.key?(:task_name)
|
|
530
722
|
@url_map_entry = args[:url_map_entry] if args.key?(:url_map_entry)
|
|
531
723
|
@instance_index = args[:instance_index] if args.key?(:instance_index)
|
|
532
|
-
@finished = args[:finished] if args.key?(:finished)
|
|
533
724
|
@host = args[:host] if args.key?(:host)
|
|
534
|
-
|
|
725
|
+
@finished = args[:finished] if args.key?(:finished)
|
|
726
|
+
@http_version = args[:http_version] if args.key?(:http_version)
|
|
727
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
728
|
+
@latency = args[:latency] if args.key?(:latency)
|
|
729
|
+
@ip = args[:ip] if args.key?(:ip)
|
|
730
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
|
731
|
+
@app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
|
|
732
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
733
|
+
@cost = args[:cost] if args.key?(:cost)
|
|
734
|
+
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
|
735
|
+
@mega_cycles = args[:mega_cycles] if args.key?(:mega_cycles)
|
|
736
|
+
@first = args[:first] if args.key?(:first)
|
|
737
|
+
@version_id = args[:version_id] if args.key?(:version_id)
|
|
738
|
+
@module_id = args[:module_id] if args.key?(:module_id)
|
|
739
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
740
|
+
end
|
|
535
741
|
end
|
|
536
742
|
|
|
537
743
|
# Result returned from ListMonitoredResourceDescriptors.
|
|
538
744
|
class ListMonitoredResourceDescriptorsResponse
|
|
539
745
|
include Google::Apis::Core::Hashable
|
|
540
746
|
|
|
747
|
+
# A list of resource descriptors.
|
|
748
|
+
# Corresponds to the JSON property `resourceDescriptors`
|
|
749
|
+
# @return [Array<Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor>]
|
|
750
|
+
attr_accessor :resource_descriptors
|
|
751
|
+
|
|
541
752
|
# If there might be more results than those appearing in this response, then
|
|
542
753
|
# nextPageToken is included. To get the next set of results, call this method
|
|
543
754
|
# again using the value of nextPageToken as pageToken.
|
|
@@ -545,19 +756,14 @@ module Google
|
|
|
545
756
|
# @return [String]
|
|
546
757
|
attr_accessor :next_page_token
|
|
547
758
|
|
|
548
|
-
# A list of resource descriptors.
|
|
549
|
-
# Corresponds to the JSON property `resourceDescriptors`
|
|
550
|
-
# @return [Array<Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor>]
|
|
551
|
-
attr_accessor :resource_descriptors
|
|
552
|
-
|
|
553
759
|
def initialize(**args)
|
|
554
760
|
update!(**args)
|
|
555
761
|
end
|
|
556
762
|
|
|
557
763
|
# Update properties of this object
|
|
558
764
|
def update!(**args)
|
|
559
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
560
765
|
@resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors)
|
|
766
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
561
767
|
end
|
|
562
768
|
end
|
|
563
769
|
|
|
@@ -589,6 +795,19 @@ module Google
|
|
|
589
795
|
end
|
|
590
796
|
end
|
|
591
797
|
|
|
798
|
+
# Result returned from WriteLogEntries. empty
|
|
799
|
+
class WriteLogEntriesResponse
|
|
800
|
+
include Google::Apis::Core::Hashable
|
|
801
|
+
|
|
802
|
+
def initialize(**args)
|
|
803
|
+
update!(**args)
|
|
804
|
+
end
|
|
805
|
+
|
|
806
|
+
# Update properties of this object
|
|
807
|
+
def update!(**args)
|
|
808
|
+
end
|
|
809
|
+
end
|
|
810
|
+
|
|
592
811
|
# Additional information about a potentially long-running operation with which a
|
|
593
812
|
# log entry is associated.
|
|
594
813
|
class LogEntryOperation
|
|
@@ -637,6 +856,20 @@ module Google
|
|
|
637
856
|
class LogMetric
|
|
638
857
|
include Google::Apis::Core::Hashable
|
|
639
858
|
|
|
859
|
+
# Output only. The API version that created or updated this metric. The version
|
|
860
|
+
# also dictates the syntax of the filter expression. When a value for this field
|
|
861
|
+
# is missing, the default value of V2 should be assumed.
|
|
862
|
+
# Corresponds to the JSON property `version`
|
|
863
|
+
# @return [String]
|
|
864
|
+
attr_accessor :version
|
|
865
|
+
|
|
866
|
+
# Required. An advanced logs filter which is used to match log entries. Example:
|
|
867
|
+
# "resource.type=gae_app AND severity>=ERROR"
|
|
868
|
+
# The maximum length of the filter is 20000 characters.
|
|
869
|
+
# Corresponds to the JSON property `filter`
|
|
870
|
+
# @return [String]
|
|
871
|
+
attr_accessor :filter
|
|
872
|
+
|
|
640
873
|
# Required. The client-assigned metric identifier. Examples: "error_count", "
|
|
641
874
|
# nginx/requests".Metric identifiers are limited to 100 characters and can
|
|
642
875
|
# include only the following characters: A-Z, a-z, 0-9, and the special
|
|
@@ -655,43 +888,16 @@ module Google
|
|
|
655
888
|
# @return [String]
|
|
656
889
|
attr_accessor :description
|
|
657
890
|
|
|
658
|
-
# Output only. The API version that created or updated this metric. The version
|
|
659
|
-
# also dictates the syntax of the filter expression. When a value for this field
|
|
660
|
-
# is missing, the default value of V2 should be assumed.
|
|
661
|
-
# Corresponds to the JSON property `version`
|
|
662
|
-
# @return [String]
|
|
663
|
-
attr_accessor :version
|
|
664
|
-
|
|
665
|
-
# Required. An advanced logs filter which is used to match log entries. Example:
|
|
666
|
-
# "resource.type=gae_app AND severity>=ERROR"
|
|
667
|
-
# The maximum length of the filter is 20000 characters.
|
|
668
|
-
# Corresponds to the JSON property `filter`
|
|
669
|
-
# @return [String]
|
|
670
|
-
attr_accessor :filter
|
|
671
|
-
|
|
672
891
|
def initialize(**args)
|
|
673
892
|
update!(**args)
|
|
674
893
|
end
|
|
675
894
|
|
|
676
895
|
# Update properties of this object
|
|
677
896
|
def update!(**args)
|
|
678
|
-
@name = args[:name] if args.key?(:name)
|
|
679
|
-
@description = args[:description] if args.key?(:description)
|
|
680
897
|
@version = args[:version] if args.key?(:version)
|
|
681
898
|
@filter = args[:filter] if args.key?(:filter)
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
# Result returned from WriteLogEntries. empty
|
|
686
|
-
class WriteLogEntriesResponse
|
|
687
|
-
include Google::Apis::Core::Hashable
|
|
688
|
-
|
|
689
|
-
def initialize(**args)
|
|
690
|
-
update!(**args)
|
|
691
|
-
end
|
|
692
|
-
|
|
693
|
-
# Update properties of this object
|
|
694
|
-
def update!(**args)
|
|
899
|
+
@name = args[:name] if args.key?(:name)
|
|
900
|
+
@description = args[:description] if args.key?(:description)
|
|
695
901
|
end
|
|
696
902
|
end
|
|
697
903
|
|
|
@@ -710,28 +916,28 @@ module Google
|
|
|
710
916
|
class MonitoredResource
|
|
711
917
|
include Google::Apis::Core::Hashable
|
|
712
918
|
|
|
713
|
-
# Required. The monitored resource type. This field must match the type field of
|
|
714
|
-
# a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL
|
|
715
|
-
# database is "cloudsql_database".
|
|
716
|
-
# Corresponds to the JSON property `type`
|
|
717
|
-
# @return [String]
|
|
718
|
-
attr_accessor :type
|
|
719
|
-
|
|
720
919
|
# Required. Values for all of the labels listed in the associated monitored
|
|
721
|
-
# resource descriptor. For example,
|
|
722
|
-
#
|
|
920
|
+
# resource descriptor. For example, Compute Engine VM instances use the labels "
|
|
921
|
+
# project_id", "instance_id", and "zone".
|
|
723
922
|
# Corresponds to the JSON property `labels`
|
|
724
923
|
# @return [Hash<String,String>]
|
|
725
924
|
attr_accessor :labels
|
|
726
925
|
|
|
926
|
+
# Required. The monitored resource type. This field must match the type field of
|
|
927
|
+
# a MonitoredResourceDescriptor object. For example, the type of a Compute
|
|
928
|
+
# Engine VM instance is gce_instance.
|
|
929
|
+
# Corresponds to the JSON property `type`
|
|
930
|
+
# @return [String]
|
|
931
|
+
attr_accessor :type
|
|
932
|
+
|
|
727
933
|
def initialize(**args)
|
|
728
934
|
update!(**args)
|
|
729
935
|
end
|
|
730
936
|
|
|
731
937
|
# Update properties of this object
|
|
732
938
|
def update!(**args)
|
|
733
|
-
@type = args[:type] if args.key?(:type)
|
|
734
939
|
@labels = args[:labels] if args.key?(:labels)
|
|
940
|
+
@type = args[:type] if args.key?(:type)
|
|
735
941
|
end
|
|
736
942
|
end
|
|
737
943
|
|
|
@@ -739,6 +945,29 @@ module Google
|
|
|
739
945
|
class WriteLogEntriesRequest
|
|
740
946
|
include Google::Apis::Core::Hashable
|
|
741
947
|
|
|
948
|
+
# Optional. Default labels that are added to the labels field of all log entries
|
|
949
|
+
# in entries. If a log entry already has a label with the same key as a label in
|
|
950
|
+
# this parameter, then the log entry's label is not changed. See LogEntry.
|
|
951
|
+
# Corresponds to the JSON property `labels`
|
|
952
|
+
# @return [Hash<String,String>]
|
|
953
|
+
attr_accessor :labels
|
|
954
|
+
|
|
955
|
+
# An object representing a resource that can be used for monitoring, logging,
|
|
956
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
|
957
|
+
# databases, and storage devices such as disks. The type field identifies a
|
|
958
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
|
959
|
+
# Information in the labels field identifies the actual resource and its
|
|
960
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
|
961
|
+
# VM instance could be represented by the following object, because the
|
|
962
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
|
963
|
+
# zone":
|
|
964
|
+
# ` "type": "gce_instance",
|
|
965
|
+
# "labels": ` "instance_id": "12345678901234",
|
|
966
|
+
# "zone": "us-central1-a" ``
|
|
967
|
+
# Corresponds to the JSON property `resource`
|
|
968
|
+
# @return [Google::Apis::LoggingV2beta1::MonitoredResource]
|
|
969
|
+
attr_accessor :resource
|
|
970
|
+
|
|
742
971
|
# Optional. A default log resource name that is assigned to all log entries in
|
|
743
972
|
# entries that do not specify a value for log_name:
|
|
744
973
|
# "projects/[PROJECT_ID]/logs/[LOG_ID]"
|
|
@@ -776,40 +1005,17 @@ module Google
|
|
|
776
1005
|
attr_accessor :partial_success
|
|
777
1006
|
alias_method :partial_success?, :partial_success
|
|
778
1007
|
|
|
779
|
-
# Optional. Default labels that are added to the labels field of all log entries
|
|
780
|
-
# in entries. If a log entry already has a label with the same key as a label in
|
|
781
|
-
# this parameter, then the log entry's label is not changed. See LogEntry.
|
|
782
|
-
# Corresponds to the JSON property `labels`
|
|
783
|
-
# @return [Hash<String,String>]
|
|
784
|
-
attr_accessor :labels
|
|
785
|
-
|
|
786
|
-
# An object representing a resource that can be used for monitoring, logging,
|
|
787
|
-
# billing, or other purposes. Examples include virtual machine instances,
|
|
788
|
-
# databases, and storage devices such as disks. The type field identifies a
|
|
789
|
-
# MonitoredResourceDescriptor object that describes the resource's schema.
|
|
790
|
-
# Information in the labels field identifies the actual resource and its
|
|
791
|
-
# attributes according to the schema. For example, a particular Compute Engine
|
|
792
|
-
# VM instance could be represented by the following object, because the
|
|
793
|
-
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
|
794
|
-
# zone":
|
|
795
|
-
# ` "type": "gce_instance",
|
|
796
|
-
# "labels": ` "instance_id": "12345678901234",
|
|
797
|
-
# "zone": "us-central1-a" ``
|
|
798
|
-
# Corresponds to the JSON property `resource`
|
|
799
|
-
# @return [Google::Apis::LoggingV2beta1::MonitoredResource]
|
|
800
|
-
attr_accessor :resource
|
|
801
|
-
|
|
802
1008
|
def initialize(**args)
|
|
803
1009
|
update!(**args)
|
|
804
1010
|
end
|
|
805
1011
|
|
|
806
1012
|
# Update properties of this object
|
|
807
1013
|
def update!(**args)
|
|
1014
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1015
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
808
1016
|
@log_name = args[:log_name] if args.key?(:log_name)
|
|
809
1017
|
@entries = args[:entries] if args.key?(:entries)
|
|
810
1018
|
@partial_success = args[:partial_success] if args.key?(:partial_success)
|
|
811
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
812
|
-
@resource = args[:resource] if args.key?(:resource)
|
|
813
1019
|
end
|
|
814
1020
|
end
|
|
815
1021
|
|
|
@@ -821,42 +1027,6 @@ module Google
|
|
|
821
1027
|
class LogSink
|
|
822
1028
|
include Google::Apis::Core::Hashable
|
|
823
1029
|
|
|
824
|
-
# Required. The export destination:
|
|
825
|
-
# "storage.googleapis.com/[GCS_BUCKET]"
|
|
826
|
-
# "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
|
|
827
|
-
# "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
|
|
828
|
-
# The sink's writer_identity, set when the sink is created, must have permission
|
|
829
|
-
# to write to the destination or else the log entries are not exported. For more
|
|
830
|
-
# information, see Exporting Logs With Sinks.
|
|
831
|
-
# Corresponds to the JSON property `destination`
|
|
832
|
-
# @return [String]
|
|
833
|
-
attr_accessor :destination
|
|
834
|
-
|
|
835
|
-
# Optional. An advanced logs filter. The only exported log entries are those
|
|
836
|
-
# that are in the resource owning the sink and that match the filter. The filter
|
|
837
|
-
# must use the log entry format specified by the output_version_format parameter.
|
|
838
|
-
# For example, in the v2 format:
|
|
839
|
-
# logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
|
|
840
|
-
# Corresponds to the JSON property `filter`
|
|
841
|
-
# @return [String]
|
|
842
|
-
attr_accessor :filter
|
|
843
|
-
|
|
844
|
-
# Optional. The time at which this sink will stop exporting log entries. Log
|
|
845
|
-
# entries are exported only if their timestamp is earlier than the end time. If
|
|
846
|
-
# this field is not supplied, there is no end time. If both a start time and an
|
|
847
|
-
# end time are provided, then the end time must be later than the start time.
|
|
848
|
-
# Corresponds to the JSON property `endTime`
|
|
849
|
-
# @return [String]
|
|
850
|
-
attr_accessor :end_time
|
|
851
|
-
|
|
852
|
-
# Optional. The time at which this sink will begin exporting log entries. Log
|
|
853
|
-
# entries are exported only if their timestamp is not earlier than the start
|
|
854
|
-
# time. The default value of this field is the time the sink is created or
|
|
855
|
-
# updated.
|
|
856
|
-
# Corresponds to the JSON property `startTime`
|
|
857
|
-
# @return [String]
|
|
858
|
-
attr_accessor :start_time
|
|
859
|
-
|
|
860
1030
|
# Output only. An IAM identity—a service account or group—under
|
|
861
1031
|
# which Stackdriver Logging writes the exported log entries to the sink's
|
|
862
1032
|
# destination. This field is set by sinks.create and sinks.update, based on the
|
|
@@ -869,6 +1039,14 @@ module Google
|
|
|
869
1039
|
# @return [String]
|
|
870
1040
|
attr_accessor :writer_identity
|
|
871
1041
|
|
|
1042
|
+
# Optional. The time at which this sink will begin exporting log entries. Log
|
|
1043
|
+
# entries are exported only if their timestamp is not earlier than the start
|
|
1044
|
+
# time. The default value of this field is the time the sink is created or
|
|
1045
|
+
# updated.
|
|
1046
|
+
# Corresponds to the JSON property `startTime`
|
|
1047
|
+
# @return [String]
|
|
1048
|
+
attr_accessor :start_time
|
|
1049
|
+
|
|
872
1050
|
# Optional. The log entry format to use for this sink's exported log entries.
|
|
873
1051
|
# The v2 format is used by default. The v1 format is deprecated and should be
|
|
874
1052
|
# used only as part of a migration effort to v2. See Migration to the v2 API.
|
|
@@ -884,32 +1062,65 @@ module Google
|
|
|
884
1062
|
# @return [String]
|
|
885
1063
|
attr_accessor :name
|
|
886
1064
|
|
|
887
|
-
# Optional. This field
|
|
888
|
-
#
|
|
889
|
-
#
|
|
890
|
-
#
|
|
891
|
-
#
|
|
892
|
-
# the
|
|
893
|
-
# export
|
|
1065
|
+
# Optional. This field applies only to sinks owned by organizations and folders.
|
|
1066
|
+
# If the field is false, the default, only the logs owned by the sink's parent
|
|
1067
|
+
# resource are available for export. If the field is true, then logs from all
|
|
1068
|
+
# the projects, folders, and billing accounts contained in the sink's parent
|
|
1069
|
+
# resource are also available for export. Whether a particular log entry from
|
|
1070
|
+
# the children is exported depends on the sink's filter expression. For example,
|
|
1071
|
+
# if this field is true, then the filter resource.type=gce_instance would export
|
|
1072
|
+
# all Compute Engine VM instance log entries from all projects in the sink's
|
|
1073
|
+
# parent. To only export entries from certain child projects, filter on the
|
|
1074
|
+
# project part of the log name:
|
|
1075
|
+
# logName:("projects/test-project1/" OR "projects/test-project2/") AND
|
|
1076
|
+
# resource.type=gce_instance
|
|
894
1077
|
# Corresponds to the JSON property `includeChildren`
|
|
895
1078
|
# @return [Boolean]
|
|
896
1079
|
attr_accessor :include_children
|
|
897
1080
|
alias_method :include_children?, :include_children
|
|
898
1081
|
|
|
1082
|
+
# Required. The export destination:
|
|
1083
|
+
# "storage.googleapis.com/[GCS_BUCKET]"
|
|
1084
|
+
# "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
|
|
1085
|
+
# "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
|
|
1086
|
+
# The sink's writer_identity, set when the sink is created, must have permission
|
|
1087
|
+
# to write to the destination or else the log entries are not exported. For more
|
|
1088
|
+
# information, see Exporting Logs With Sinks.
|
|
1089
|
+
# Corresponds to the JSON property `destination`
|
|
1090
|
+
# @return [String]
|
|
1091
|
+
attr_accessor :destination
|
|
1092
|
+
|
|
1093
|
+
# Optional. An advanced logs filter. The only exported log entries are those
|
|
1094
|
+
# that are in the resource owning the sink and that match the filter. The filter
|
|
1095
|
+
# must use the log entry format specified by the output_version_format parameter.
|
|
1096
|
+
# For example, in the v2 format:
|
|
1097
|
+
# logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
|
|
1098
|
+
# Corresponds to the JSON property `filter`
|
|
1099
|
+
# @return [String]
|
|
1100
|
+
attr_accessor :filter
|
|
1101
|
+
|
|
1102
|
+
# Optional. The time at which this sink will stop exporting log entries. Log
|
|
1103
|
+
# entries are exported only if their timestamp is earlier than the end time. If
|
|
1104
|
+
# this field is not supplied, there is no end time. If both a start time and an
|
|
1105
|
+
# end time are provided, then the end time must be later than the start time.
|
|
1106
|
+
# Corresponds to the JSON property `endTime`
|
|
1107
|
+
# @return [String]
|
|
1108
|
+
attr_accessor :end_time
|
|
1109
|
+
|
|
899
1110
|
def initialize(**args)
|
|
900
1111
|
update!(**args)
|
|
901
1112
|
end
|
|
902
1113
|
|
|
903
1114
|
# Update properties of this object
|
|
904
1115
|
def update!(**args)
|
|
905
|
-
@destination = args[:destination] if args.key?(:destination)
|
|
906
|
-
@filter = args[:filter] if args.key?(:filter)
|
|
907
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
|
908
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
|
909
1116
|
@writer_identity = args[:writer_identity] if args.key?(:writer_identity)
|
|
1117
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
910
1118
|
@output_version_format = args[:output_version_format] if args.key?(:output_version_format)
|
|
911
1119
|
@name = args[:name] if args.key?(:name)
|
|
912
1120
|
@include_children = args[:include_children] if args.key?(:include_children)
|
|
1121
|
+
@destination = args[:destination] if args.key?(:destination)
|
|
1122
|
+
@filter = args[:filter] if args.key?(:filter)
|
|
1123
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
913
1124
|
end
|
|
914
1125
|
end
|
|
915
1126
|
|
|
@@ -941,57 +1152,65 @@ module Google
|
|
|
941
1152
|
end
|
|
942
1153
|
end
|
|
943
1154
|
|
|
944
|
-
# Result returned from ListSinks.
|
|
945
|
-
class ListSinksResponse
|
|
946
|
-
include Google::Apis::Core::Hashable
|
|
947
|
-
|
|
948
|
-
# If there might be more results than appear in this response, then
|
|
949
|
-
# nextPageToken is included. To get the next set of results, call the same
|
|
950
|
-
# method again using the value of nextPageToken as pageToken.
|
|
951
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
952
|
-
# @return [String]
|
|
953
|
-
attr_accessor :next_page_token
|
|
954
|
-
|
|
955
|
-
# A list of sinks.
|
|
956
|
-
# Corresponds to the JSON property `sinks`
|
|
957
|
-
# @return [Array<Google::Apis::LoggingV2beta1::LogSink>]
|
|
958
|
-
attr_accessor :sinks
|
|
959
|
-
|
|
960
|
-
def initialize(**args)
|
|
961
|
-
update!(**args)
|
|
962
|
-
end
|
|
963
|
-
|
|
964
|
-
# Update properties of this object
|
|
965
|
-
def update!(**args)
|
|
966
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
967
|
-
@sinks = args[:sinks] if args.key?(:sinks)
|
|
968
|
-
end
|
|
969
|
-
end
|
|
970
|
-
|
|
971
1155
|
# A common proto for logging HTTP requests. Only contains semantics defined by
|
|
972
1156
|
# the HTTP specification. Product-specific logging information MUST be defined
|
|
973
1157
|
# in a separate message.
|
|
974
1158
|
class HttpRequest
|
|
975
1159
|
include Google::Apis::Core::Hashable
|
|
976
1160
|
|
|
977
|
-
# The
|
|
1161
|
+
# The request processing latency on the server, from the time the request was
|
|
1162
|
+
# received until the response was sent.
|
|
1163
|
+
# Corresponds to the JSON property `latency`
|
|
1164
|
+
# @return [String]
|
|
1165
|
+
attr_accessor :latency
|
|
1166
|
+
|
|
1167
|
+
# The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0;
|
|
1168
|
+
# Windows 98; Q312461; .NET CLR 1.0.3705)".
|
|
1169
|
+
# Corresponds to the JSON property `userAgent`
|
|
1170
|
+
# @return [String]
|
|
1171
|
+
attr_accessor :user_agent
|
|
1172
|
+
|
|
1173
|
+
# The number of HTTP response bytes inserted into cache. Set only when a cache
|
|
1174
|
+
# fill was attempted.
|
|
1175
|
+
# Corresponds to the JSON property `cacheFillBytes`
|
|
1176
|
+
# @return [Fixnum]
|
|
1177
|
+
attr_accessor :cache_fill_bytes
|
|
1178
|
+
|
|
1179
|
+
# The request method. Examples: "GET", "HEAD", "PUT", "POST".
|
|
1180
|
+
# Corresponds to the JSON property `requestMethod`
|
|
1181
|
+
# @return [String]
|
|
1182
|
+
attr_accessor :request_method
|
|
1183
|
+
|
|
1184
|
+
# The size of the HTTP response message sent back to the client, in bytes,
|
|
1185
|
+
# including the response headers and the response body.
|
|
1186
|
+
# Corresponds to the JSON property `responseSize`
|
|
1187
|
+
# @return [Fixnum]
|
|
1188
|
+
attr_accessor :response_size
|
|
1189
|
+
|
|
1190
|
+
# The size of the HTTP request message in bytes, including the request headers
|
|
1191
|
+
# and the request body.
|
|
1192
|
+
# Corresponds to the JSON property `requestSize`
|
|
1193
|
+
# @return [Fixnum]
|
|
1194
|
+
attr_accessor :request_size
|
|
1195
|
+
|
|
1196
|
+
# The scheme (http, https), the host name, the path and the query portion of the
|
|
978
1197
|
# URL that was requested. Example: "http://example.com/some/info?color=red".
|
|
979
1198
|
# Corresponds to the JSON property `requestUrl`
|
|
980
1199
|
# @return [String]
|
|
981
1200
|
attr_accessor :request_url
|
|
982
1201
|
|
|
983
|
-
# The IP address (IPv4 or IPv6) of the origin server that the request was sent
|
|
984
|
-
# to.
|
|
985
|
-
# Corresponds to the JSON property `serverIp`
|
|
986
|
-
# @return [String]
|
|
987
|
-
attr_accessor :server_ip
|
|
988
|
-
|
|
989
1202
|
# The IP address (IPv4 or IPv6) of the client that issued the HTTP request.
|
|
990
1203
|
# Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329".
|
|
991
1204
|
# Corresponds to the JSON property `remoteIp`
|
|
992
1205
|
# @return [String]
|
|
993
1206
|
attr_accessor :remote_ip
|
|
994
1207
|
|
|
1208
|
+
# The IP address (IPv4 or IPv6) of the origin server that the request was sent
|
|
1209
|
+
# to.
|
|
1210
|
+
# Corresponds to the JSON property `serverIp`
|
|
1211
|
+
# @return [String]
|
|
1212
|
+
attr_accessor :server_ip
|
|
1213
|
+
|
|
995
1214
|
# Whether or not a cache lookup was attempted.
|
|
996
1215
|
# Corresponds to the JSON property `cacheLookup`
|
|
997
1216
|
# @return [Boolean]
|
|
@@ -1022,215 +1241,44 @@ module Google
|
|
|
1022
1241
|
# @return [String]
|
|
1023
1242
|
attr_accessor :referer
|
|
1024
1243
|
|
|
1025
|
-
# The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0;
|
|
1026
|
-
# Windows 98; Q312461; .NET CLR 1.0.3705)".
|
|
1027
|
-
# Corresponds to the JSON property `userAgent`
|
|
1028
|
-
# @return [String]
|
|
1029
|
-
attr_accessor :user_agent
|
|
1030
|
-
|
|
1031
|
-
# The request processing latency on the server, from the time the request was
|
|
1032
|
-
# received until the response was sent.
|
|
1033
|
-
# Corresponds to the JSON property `latency`
|
|
1034
|
-
# @return [String]
|
|
1035
|
-
attr_accessor :latency
|
|
1036
|
-
|
|
1037
|
-
# The number of HTTP response bytes inserted into cache. Set only when a cache
|
|
1038
|
-
# fill was attempted.
|
|
1039
|
-
# Corresponds to the JSON property `cacheFillBytes`
|
|
1040
|
-
# @return [Fixnum]
|
|
1041
|
-
attr_accessor :cache_fill_bytes
|
|
1042
|
-
|
|
1043
|
-
# The request method. Examples: "GET", "HEAD", "PUT", "POST".
|
|
1044
|
-
# Corresponds to the JSON property `requestMethod`
|
|
1045
|
-
# @return [String]
|
|
1046
|
-
attr_accessor :request_method
|
|
1047
|
-
|
|
1048
|
-
# The size of the HTTP request message in bytes, including the request headers
|
|
1049
|
-
# and the request body.
|
|
1050
|
-
# Corresponds to the JSON property `requestSize`
|
|
1051
|
-
# @return [Fixnum]
|
|
1052
|
-
attr_accessor :request_size
|
|
1053
|
-
|
|
1054
|
-
# The size of the HTTP response message sent back to the client, in bytes,
|
|
1055
|
-
# including the response headers and the response body.
|
|
1056
|
-
# Corresponds to the JSON property `responseSize`
|
|
1057
|
-
# @return [Fixnum]
|
|
1058
|
-
attr_accessor :response_size
|
|
1059
|
-
|
|
1060
1244
|
def initialize(**args)
|
|
1061
1245
|
update!(**args)
|
|
1062
1246
|
end
|
|
1063
1247
|
|
|
1064
1248
|
# Update properties of this object
|
|
1065
1249
|
def update!(**args)
|
|
1250
|
+
@latency = args[:latency] if args.key?(:latency)
|
|
1251
|
+
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
|
1252
|
+
@cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes)
|
|
1253
|
+
@request_method = args[:request_method] if args.key?(:request_method)
|
|
1254
|
+
@response_size = args[:response_size] if args.key?(:response_size)
|
|
1255
|
+
@request_size = args[:request_size] if args.key?(:request_size)
|
|
1066
1256
|
@request_url = args[:request_url] if args.key?(:request_url)
|
|
1067
|
-
@server_ip = args[:server_ip] if args.key?(:server_ip)
|
|
1068
1257
|
@remote_ip = args[:remote_ip] if args.key?(:remote_ip)
|
|
1258
|
+
@server_ip = args[:server_ip] if args.key?(:server_ip)
|
|
1069
1259
|
@cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup)
|
|
1070
1260
|
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
|
1071
1261
|
@cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server)
|
|
1072
1262
|
@status = args[:status] if args.key?(:status)
|
|
1073
1263
|
@referer = args[:referer] if args.key?(:referer)
|
|
1074
|
-
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
|
1075
|
-
@latency = args[:latency] if args.key?(:latency)
|
|
1076
|
-
@cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes)
|
|
1077
|
-
@request_method = args[:request_method] if args.key?(:request_method)
|
|
1078
|
-
@request_size = args[:request_size] if args.key?(:request_size)
|
|
1079
|
-
@response_size = args[:response_size] if args.key?(:response_size)
|
|
1080
|
-
end
|
|
1081
|
-
end
|
|
1082
|
-
|
|
1083
|
-
# A description of a label.
|
|
1084
|
-
class LabelDescriptor
|
|
1085
|
-
include Google::Apis::Core::Hashable
|
|
1086
|
-
|
|
1087
|
-
# A human-readable description for the label.
|
|
1088
|
-
# Corresponds to the JSON property `description`
|
|
1089
|
-
# @return [String]
|
|
1090
|
-
attr_accessor :description
|
|
1091
|
-
|
|
1092
|
-
# The type of data that can be assigned to the label.
|
|
1093
|
-
# Corresponds to the JSON property `valueType`
|
|
1094
|
-
# @return [String]
|
|
1095
|
-
attr_accessor :value_type
|
|
1096
|
-
|
|
1097
|
-
# The label key.
|
|
1098
|
-
# Corresponds to the JSON property `key`
|
|
1099
|
-
# @return [String]
|
|
1100
|
-
attr_accessor :key
|
|
1101
|
-
|
|
1102
|
-
def initialize(**args)
|
|
1103
|
-
update!(**args)
|
|
1104
|
-
end
|
|
1105
|
-
|
|
1106
|
-
# Update properties of this object
|
|
1107
|
-
def update!(**args)
|
|
1108
|
-
@description = args[:description] if args.key?(:description)
|
|
1109
|
-
@value_type = args[:value_type] if args.key?(:value_type)
|
|
1110
|
-
@key = args[:key] if args.key?(:key)
|
|
1111
|
-
end
|
|
1112
|
-
end
|
|
1113
|
-
|
|
1114
|
-
# An object that describes the schema of a MonitoredResource object using a type
|
|
1115
|
-
# name and a set of labels. For example, the monitored resource descriptor for
|
|
1116
|
-
# Google Compute Engine VM instances has a type of "gce_instance" and specifies
|
|
1117
|
-
# the use of the labels "instance_id" and "zone" to identify particular VM
|
|
1118
|
-
# instances.Different APIs can support different monitored resource types. APIs
|
|
1119
|
-
# generally provide a list method that returns the monitored resource
|
|
1120
|
-
# descriptors used by the API.
|
|
1121
|
-
class MonitoredResourceDescriptor
|
|
1122
|
-
include Google::Apis::Core::Hashable
|
|
1123
|
-
|
|
1124
|
-
# Required. The monitored resource type. For example, the type "
|
|
1125
|
-
# cloudsql_database" represents databases in Google Cloud SQL. The maximum
|
|
1126
|
-
# length of this value is 256 characters.
|
|
1127
|
-
# Corresponds to the JSON property `type`
|
|
1128
|
-
# @return [String]
|
|
1129
|
-
attr_accessor :type
|
|
1130
|
-
|
|
1131
|
-
# Required. A set of labels used to describe instances of this monitored
|
|
1132
|
-
# resource type. For example, an individual Google Cloud SQL database is
|
|
1133
|
-
# identified by values for the labels "database_id" and "zone".
|
|
1134
|
-
# Corresponds to the JSON property `labels`
|
|
1135
|
-
# @return [Array<Google::Apis::LoggingV2beta1::LabelDescriptor>]
|
|
1136
|
-
attr_accessor :labels
|
|
1137
|
-
|
|
1138
|
-
# Optional. The resource name of the monitored resource descriptor: "projects/`
|
|
1139
|
-
# project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of
|
|
1140
|
-
# the type field in this object and `project_id` is a project ID that provides
|
|
1141
|
-
# API-specific context for accessing the type. APIs that do not use project
|
|
1142
|
-
# information can use the resource name format "monitoredResourceDescriptors/`
|
|
1143
|
-
# type`".
|
|
1144
|
-
# Corresponds to the JSON property `name`
|
|
1145
|
-
# @return [String]
|
|
1146
|
-
attr_accessor :name
|
|
1147
|
-
|
|
1148
|
-
# Optional. A concise name for the monitored resource type that might be
|
|
1149
|
-
# displayed in user interfaces. It should be a Title Cased Noun Phrase, without
|
|
1150
|
-
# any article or other determiners. For example, "Google Cloud SQL Database".
|
|
1151
|
-
# Corresponds to the JSON property `displayName`
|
|
1152
|
-
# @return [String]
|
|
1153
|
-
attr_accessor :display_name
|
|
1154
|
-
|
|
1155
|
-
# Optional. A detailed description of the monitored resource type that might be
|
|
1156
|
-
# used in documentation.
|
|
1157
|
-
# Corresponds to the JSON property `description`
|
|
1158
|
-
# @return [String]
|
|
1159
|
-
attr_accessor :description
|
|
1160
|
-
|
|
1161
|
-
def initialize(**args)
|
|
1162
|
-
update!(**args)
|
|
1163
|
-
end
|
|
1164
|
-
|
|
1165
|
-
# Update properties of this object
|
|
1166
|
-
def update!(**args)
|
|
1167
|
-
@type = args[:type] if args.key?(:type)
|
|
1168
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
1169
|
-
@name = args[:name] if args.key?(:name)
|
|
1170
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1171
|
-
@description = args[:description] if args.key?(:description)
|
|
1172
1264
|
end
|
|
1173
1265
|
end
|
|
1174
1266
|
|
|
1175
|
-
#
|
|
1176
|
-
|
|
1177
|
-
class LogEntrySourceLocation
|
|
1178
|
-
include Google::Apis::Core::Hashable
|
|
1179
|
-
|
|
1180
|
-
# Optional. Source file name. Depending on the runtime environment, this might
|
|
1181
|
-
# be a simple name or a fully-qualified name.
|
|
1182
|
-
# Corresponds to the JSON property `file`
|
|
1183
|
-
# @return [String]
|
|
1184
|
-
attr_accessor :file
|
|
1185
|
-
|
|
1186
|
-
# Optional. Human-readable name of the function or method being invoked, with
|
|
1187
|
-
# optional context such as the class or package name. This information may be
|
|
1188
|
-
# used in contexts such as the logs viewer, where a file and line number are
|
|
1189
|
-
# less meaningful. The format can vary by language. For example: qual.if.ied.
|
|
1190
|
-
# Class.method (Java), dir/package.func (Go), function (Python).
|
|
1191
|
-
# Corresponds to the JSON property `function`
|
|
1192
|
-
# @return [String]
|
|
1193
|
-
attr_accessor :function
|
|
1194
|
-
|
|
1195
|
-
# Optional. Line within the source file. 1-based; 0 indicates no line number
|
|
1196
|
-
# available.
|
|
1197
|
-
# Corresponds to the JSON property `line`
|
|
1198
|
-
# @return [Fixnum]
|
|
1199
|
-
attr_accessor :line
|
|
1200
|
-
|
|
1201
|
-
def initialize(**args)
|
|
1202
|
-
update!(**args)
|
|
1203
|
-
end
|
|
1204
|
-
|
|
1205
|
-
# Update properties of this object
|
|
1206
|
-
def update!(**args)
|
|
1207
|
-
@file = args[:file] if args.key?(:file)
|
|
1208
|
-
@function = args[:function] if args.key?(:function)
|
|
1209
|
-
@line = args[:line] if args.key?(:line)
|
|
1210
|
-
end
|
|
1211
|
-
end
|
|
1212
|
-
|
|
1213
|
-
# Result returned from ListLogEntries.
|
|
1214
|
-
class ListLogEntriesResponse
|
|
1267
|
+
# Result returned from ListSinks.
|
|
1268
|
+
class ListSinksResponse
|
|
1215
1269
|
include Google::Apis::Core::Hashable
|
|
1216
1270
|
|
|
1217
|
-
# If there might be more results than
|
|
1218
|
-
# nextPageToken is included. To get the next set of results, call
|
|
1219
|
-
# again using the value of nextPageToken as pageToken.
|
|
1220
|
-
# next_page_token appears and the entries field is empty, it means that the
|
|
1221
|
-
# search found no log entries so far but it did not have time to search all the
|
|
1222
|
-
# possible log entries. Retry the method with this value for page_token to
|
|
1223
|
-
# continue the search. Alternatively, consider speeding up the search by
|
|
1224
|
-
# changing your filter to specify a single log name or resource type, or to
|
|
1225
|
-
# narrow the time range of the search.
|
|
1271
|
+
# If there might be more results than appear in this response, then
|
|
1272
|
+
# nextPageToken is included. To get the next set of results, call the same
|
|
1273
|
+
# method again using the value of nextPageToken as pageToken.
|
|
1226
1274
|
# Corresponds to the JSON property `nextPageToken`
|
|
1227
1275
|
# @return [String]
|
|
1228
1276
|
attr_accessor :next_page_token
|
|
1229
1277
|
|
|
1230
|
-
# A list of
|
|
1231
|
-
# Corresponds to the JSON property `
|
|
1232
|
-
# @return [Array<Google::Apis::LoggingV2beta1::
|
|
1233
|
-
attr_accessor :
|
|
1278
|
+
# A list of sinks.
|
|
1279
|
+
# Corresponds to the JSON property `sinks`
|
|
1280
|
+
# @return [Array<Google::Apis::LoggingV2beta1::LogSink>]
|
|
1281
|
+
attr_accessor :sinks
|
|
1234
1282
|
|
|
1235
1283
|
def initialize(**args)
|
|
1236
1284
|
update!(**args)
|
|
@@ -1239,44 +1287,7 @@ module Google
|
|
|
1239
1287
|
# Update properties of this object
|
|
1240
1288
|
def update!(**args)
|
|
1241
1289
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1242
|
-
@
|
|
1243
|
-
end
|
|
1244
|
-
end
|
|
1245
|
-
|
|
1246
|
-
# Application log line emitted while processing a request.
|
|
1247
|
-
class LogLine
|
|
1248
|
-
include Google::Apis::Core::Hashable
|
|
1249
|
-
|
|
1250
|
-
# Specifies a location in a source code file.
|
|
1251
|
-
# Corresponds to the JSON property `sourceLocation`
|
|
1252
|
-
# @return [Google::Apis::LoggingV2beta1::SourceLocation]
|
|
1253
|
-
attr_accessor :source_location
|
|
1254
|
-
|
|
1255
|
-
# Approximate time when this log entry was made.
|
|
1256
|
-
# Corresponds to the JSON property `time`
|
|
1257
|
-
# @return [String]
|
|
1258
|
-
attr_accessor :time
|
|
1259
|
-
|
|
1260
|
-
# Severity of this log entry.
|
|
1261
|
-
# Corresponds to the JSON property `severity`
|
|
1262
|
-
# @return [String]
|
|
1263
|
-
attr_accessor :severity
|
|
1264
|
-
|
|
1265
|
-
# App-provided log message.
|
|
1266
|
-
# Corresponds to the JSON property `logMessage`
|
|
1267
|
-
# @return [String]
|
|
1268
|
-
attr_accessor :log_message
|
|
1269
|
-
|
|
1270
|
-
def initialize(**args)
|
|
1271
|
-
update!(**args)
|
|
1272
|
-
end
|
|
1273
|
-
|
|
1274
|
-
# Update properties of this object
|
|
1275
|
-
def update!(**args)
|
|
1276
|
-
@source_location = args[:source_location] if args.key?(:source_location)
|
|
1277
|
-
@time = args[:time] if args.key?(:time)
|
|
1278
|
-
@severity = args[:severity] if args.key?(:severity)
|
|
1279
|
-
@log_message = args[:log_message] if args.key?(:log_message)
|
|
1290
|
+
@sinks = args[:sinks] if args.key?(:sinks)
|
|
1280
1291
|
end
|
|
1281
1292
|
end
|
|
1282
1293
|
end
|