Skip to content

Commit c5153d1

Browse files
chore: [google-cloud-chronicle] Update field behaviour for instance and dataAccessLabel (#13837)
- [ ] Regenerate this pull request now. docs: Update API summary PiperOrigin-RevId: 750861766 Source-Link: googleapis/googleapis@87f54cb Source-Link: googleapis/googleapis-gen@a42a97e Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNocm9uaWNsZS8uT3dsQm90LnlhbWwiLCJoIjoiYTQyYTk3ZTI1ZWRmNWIzNTU3NWU3YmRmY2Y2NzUwYmMzYjBhZWY0MyJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent df65a43 commit c5153d1

11 files changed

+42
-49
lines changed

packages/google-cloud-chronicle/docs/_templates/layout.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
{% endblock %}
2121

2222
<div class="body" role="main">
23-
<div class="admonition" id="python2-eol">
24-
As of January 1, 2020 this library no longer supports Python 2 on the latest released version.
23+
<div class="admonition" id="python2-eol">
24+
As of January 1, 2020 this library no longer supports Python 2 on the latest released version.
2525
Library versions released prior to that date will continue to be available. For more information please
2626
visit <a href="https://cloud.google.com/python/docs/python2-sunset/">Python 2 support on Google Cloud</a>.
2727
</div>

packages/google-cloud-chronicle/docs/conf.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
# -*- coding: utf-8 -*-
2-
# Copyright 2024 Google LLC
2+
# Copyright 2025 Google LLC
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
77
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
99
#
1010
# Unless required by applicable law or agreed to in writing, software
1111
# distributed under the License is distributed on an "AS IS" BASIS,
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
#
1617
# google-cloud-chronicle documentation build configuration file
1718
#
1819
# This file is execfile()d with the current directory set to its
@@ -42,7 +43,7 @@
4243
# -- General configuration ------------------------------------------------
4344

4445
# If your documentation needs a minimal Sphinx version, state it here.
45-
needs_sphinx = "1.5.5"
46+
needs_sphinx = "4.5.0"
4647

4748
# Add any Sphinx extension module names here, as strings. They can be
4849
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
@@ -81,7 +82,7 @@
8182

8283
# General information about the project.
8384
project = "google-cloud-chronicle"
84-
copyright = "2019, Google"
85+
copyright = "2025, Google, LLC"
8586
author = "Google APIs"
8687

8788
# The version info for the project you're documenting, acts as replacement for
@@ -266,13 +267,13 @@
266267

267268
latex_elements = {
268269
# The paper size ('letterpaper' or 'a4paper').
269-
#'papersize': 'letterpaper',
270+
# 'papersize': 'letterpaper',
270271
# The font size ('10pt', '11pt' or '12pt').
271-
#'pointsize': '10pt',
272+
# 'pointsize': '10pt',
272273
# Additional stuff for the LaTeX preamble.
273-
#'preamble': '',
274+
# 'preamble': '',
274275
# Latex figure (float) alignment
275-
#'figure_align': 'htbp',
276+
# 'figure_align': 'htbp',
276277
}
277278

278279
# Grouping the document tree into LaTeX files. List of tuples

packages/google-cloud-chronicle/google/cloud/chronicle_v1/services/data_access_control_service/async_client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ async def sample_create_data_access_label():
351351
# Initialize request argument(s)
352352
data_access_label = chronicle_v1.DataAccessLabel()
353353
data_access_label.udm_query = "udm_query_value"
354-
data_access_label.name = "name_value"
355354
356355
request = chronicle_v1.CreateDataAccessLabelRequest(
357356
parent="parent_value",
@@ -739,7 +738,6 @@ async def sample_update_data_access_label():
739738
# Initialize request argument(s)
740739
data_access_label = chronicle_v1.DataAccessLabel()
741740
data_access_label.udm_query = "udm_query_value"
742-
data_access_label.name = "name_value"
743741
744742
request = chronicle_v1.UpdateDataAccessLabelRequest(
745743
data_access_label=data_access_label,

packages/google-cloud-chronicle/google/cloud/chronicle_v1/services/data_access_control_service/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,6 @@ def sample_create_data_access_label():
789789
# Initialize request argument(s)
790790
data_access_label = chronicle_v1.DataAccessLabel()
791791
data_access_label.udm_query = "udm_query_value"
792-
data_access_label.name = "name_value"
793792
794793
request = chronicle_v1.CreateDataAccessLabelRequest(
795794
parent="parent_value",
@@ -1168,7 +1167,6 @@ def sample_update_data_access_label():
11681167
# Initialize request argument(s)
11691168
data_access_label = chronicle_v1.DataAccessLabel()
11701169
data_access_label.udm_query = "udm_query_value"
1171-
data_access_label.name = "name_value"
11721170
11731171
request = chronicle_v1.UpdateDataAccessLabelRequest(
11741172
data_access_label=data_access_label,

packages/google-cloud-chronicle/google/cloud/chronicle_v1/types/data_access_control.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,8 @@ class DataAccessLabel(proto.Message):
402402
403403
This field is a member of `oneof`_ ``definition``.
404404
name (str):
405-
Required. The unique resource name of the
406-
data access label.
405+
The unique resource name of the data access
406+
label.
407407
display_name (str):
408408
Output only. The short name displayed for the
409409
label as it appears on event data.

packages/google-cloud-chronicle/google/cloud/chronicle_v1/types/instance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Instance(proto.Message):
3434
3535
Attributes:
3636
name (str):
37-
Output only. The resource name of this instance. Format:
37+
Identifier. The resource name of this instance. Format:
3838
``projects/{project}/locations/{location}/instances/{instance}``
3939
"""
4040

packages/google-cloud-chronicle/samples/generated_samples/chronicle_v1_generated_data_access_control_service_create_data_access_label_async.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ async def sample_create_data_access_label():
4141
# Initialize request argument(s)
4242
data_access_label = chronicle_v1.DataAccessLabel()
4343
data_access_label.udm_query = "udm_query_value"
44-
data_access_label.name = "name_value"
4544

4645
request = chronicle_v1.CreateDataAccessLabelRequest(
4746
parent="parent_value",

packages/google-cloud-chronicle/samples/generated_samples/chronicle_v1_generated_data_access_control_service_create_data_access_label_sync.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ def sample_create_data_access_label():
4141
# Initialize request argument(s)
4242
data_access_label = chronicle_v1.DataAccessLabel()
4343
data_access_label.udm_query = "udm_query_value"
44-
data_access_label.name = "name_value"
4544

4645
request = chronicle_v1.CreateDataAccessLabelRequest(
4746
parent="parent_value",

packages/google-cloud-chronicle/samples/generated_samples/chronicle_v1_generated_data_access_control_service_update_data_access_label_async.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ async def sample_update_data_access_label():
4141
# Initialize request argument(s)
4242
data_access_label = chronicle_v1.DataAccessLabel()
4343
data_access_label.udm_query = "udm_query_value"
44-
data_access_label.name = "name_value"
4544

4645
request = chronicle_v1.UpdateDataAccessLabelRequest(
4746
data_access_label=data_access_label,

packages/google-cloud-chronicle/samples/generated_samples/chronicle_v1_generated_data_access_control_service_update_data_access_label_sync.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ def sample_update_data_access_label():
4141
# Initialize request argument(s)
4242
data_access_label = chronicle_v1.DataAccessLabel()
4343
data_access_label.udm_query = "udm_query_value"
44-
data_access_label.name = "name_value"
4544

4645
request = chronicle_v1.UpdateDataAccessLabelRequest(
4746
data_access_label=data_access_label,

0 commit comments

Comments
 (0)