You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parent: string, Required. The parent project in which to create the log scope "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" (required)
110
+
body: object, The request body.
111
+
The object takes the form of:
112
+
113
+
{ # Describes a group of resources to read log entries from.
114
+
"createTime": "A String", # Output only. The creation timestamp of the log scope.
115
+
"description": "A String", # Optional. Describes this log scope.The maximum length of the description is 8000 characters.
116
+
"name": "A String", # Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope
117
+
"resourceNames": [ # Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 50 projects and a maximum of 100 resources in total.
118
+
"A String",
119
+
],
120
+
"updateTime": "A String", # Output only. The last update timestamp of the log scope.
121
+
}
122
+
123
+
logScopeId: string, Required. A client-assigned identifier such as "log-scope". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
124
+
x__xgafv: string, V1 error format.
125
+
Allowed values
126
+
1 - v1 error format
127
+
2 - v2 error format
128
+
129
+
Returns:
130
+
An object of the form:
131
+
132
+
{ # Describes a group of resources to read log entries from.
133
+
"createTime": "A String", # Output only. The creation timestamp of the log scope.
134
+
"description": "A String", # Optional. Describes this log scope.The maximum length of the description is 8000 characters.
135
+
"name": "A String", # Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope
136
+
"resourceNames": [ # Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 50 projects and a maximum of 100 resources in total.
137
+
"A String",
138
+
],
139
+
"updateTime": "A String", # Output only. The last update timestamp of the log scope.
name: string, Required. The resource name of the log scope to delete: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For example:"projects/my-project/locations/global/logScopes/my-log-scope" (required)
149
+
x__xgafv: string, V1 error format.
150
+
Allowed values
151
+
1 - v1 error format
152
+
2 - v2 error format
153
+
154
+
Returns:
155
+
An object of the form:
156
+
157
+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
name: string, Required. The resource name of the log scope: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For example:"projects/my-project/locations/global/logScopes/my-log-scope" (required)
167
+
x__xgafv: string, V1 error format.
168
+
Allowed values
169
+
1 - v1 error format
170
+
2 - v2 error format
171
+
172
+
Returns:
173
+
An object of the form:
174
+
175
+
{ # Describes a group of resources to read log entries from.
176
+
"createTime": "A String", # Output only. The creation timestamp of the log scope.
177
+
"description": "A String", # Optional. Describes this log scope.The maximum length of the description is 8000 characters.
178
+
"name": "A String", # Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope
179
+
"resourceNames": [ # Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 50 projects and a maximum of 100 resources in total.
180
+
"A String",
181
+
],
182
+
"updateTime": "A String", # Output only. The last update timestamp of the log scope.
parent: string, Required. The parent resource whose log scopes are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" (required)
192
+
pageSize: integer, Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
193
+
pageToken: string, Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
194
+
x__xgafv: string, V1 error format.
195
+
Allowed values
196
+
1 - v1 error format
197
+
2 - v2 error format
198
+
199
+
Returns:
200
+
An object of the form:
201
+
202
+
{ # The response from ListLogScopes. Every project has a _Default log scope that cannot be modified or deleted.
203
+
"logScopes": [ # A list of log scopes.
204
+
{ # Describes a group of resources to read log entries from.
205
+
"createTime": "A String", # Output only. The creation timestamp of the log scope.
206
+
"description": "A String", # Optional. Describes this log scope.The maximum length of the description is 8000 characters.
207
+
"name": "A String", # Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope
208
+
"resourceNames": [ # Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 50 projects and a maximum of 100 resources in total.
209
+
"A String",
210
+
],
211
+
"updateTime": "A String", # Output only. The last update timestamp of the log scope.
212
+
},
213
+
],
214
+
"nextPageToken": "A String", # If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.
name: string, Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope (required)
238
+
body: object, The request body.
239
+
The object takes the form of:
240
+
241
+
{ # Describes a group of resources to read log entries from.
242
+
"createTime": "A String", # Output only. The creation timestamp of the log scope.
243
+
"description": "A String", # Optional. Describes this log scope.The maximum length of the description is 8000 characters.
244
+
"name": "A String", # Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope
245
+
"resourceNames": [ # Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 50 projects and a maximum of 100 resources in total.
246
+
"A String",
247
+
],
248
+
"updateTime": "A String", # Output only. The last update timestamp of the log scope.
249
+
}
250
+
251
+
updateMask: string, Optional. Field mask that specifies the fields in log_scope that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=description
252
+
x__xgafv: string, V1 error format.
253
+
Allowed values
254
+
1 - v1 error format
255
+
2 - v2 error format
256
+
257
+
Returns:
258
+
An object of the form:
259
+
260
+
{ # Describes a group of resources to read log entries from.
261
+
"createTime": "A String", # Output only. The creation timestamp of the log scope.
262
+
"description": "A String", # Optional. Describes this log scope.The maximum length of the description is 8000 characters.
263
+
"name": "A String", # Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope
264
+
"resourceNames": [ # Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 50 projects and a maximum of 100 resources in total.
265
+
"A String",
266
+
],
267
+
"updateTime": "A String", # Output only. The last update timestamp of the log scope.
0 commit comments