Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd4e6a4a

Browse files
chore: librarian generate pull request: 20251126T084646Z (#14939)
PR created by the Librarian CLI to generate Cloud Client Libraries codefrom protos.BEGIN_COMMITBEGIN_NESTED_COMMITfeat: add wide-scope Eventarc GoogleApiSource flagsPiperOrigin-RevId: 836781847Library-IDs: google-cloud-eventarcSource-link:[googleapis/googleapis@c9ff4f1c](googleapis/googleapis@c9ff4f1c)END_NESTED_COMMITBEGIN_NESTED_COMMITfeat: add Eventarc Trigger RetryPolicyPiperOrigin-RevId: 836781847Library-IDs: google-cloud-eventarcSource-link:[googleapis/googleapis@c9ff4f1c](googleapis/googleapis@c9ff4f1c)END_NESTED_COMMITBEGIN_NESTED_COMMITfeat: publish networksecurity v1alpha1 apiPiperOrigin-RevId: 836724653Library-IDs: google-cloud-network-securitySource-link:[googleapis/googleapis@160d9b37](googleapis/googleapis@160d9b37)END_NESTED_COMMITBEGIN_NESTED_COMMITfeat: Add Squash Mode to Export PolicyThis change introduces squash mode options to the export policy rules.Squash mode determines how user and group IDs are mapped for NFS volumeaccess.The following squash modes are added:* **NO_ROOT_SQUASH** Root user retains full access.* **ROOT_SQUASH** Root user is mapped to the anonymous user ID.* **ALL_SQUASH** All users are mapped to the anonymous user ID.A new field anon_uid is also added to specify the anonymous user ID whenALL_SQUASH is used.The squash_mode field takes precedence over the existing has_root_accessfield, which will be deprecated in the future.PiperOrigin-RevId: 834629780Library-IDs: google-cloud-netappSource-link:[googleapis/googleapis@0a299a25](googleapis/googleapis@0a299a25)END_NESTED_COMMITEND_COMMITThis pull request is generated with proto changes between[googleapis/googleapis@a17b84ad](googleapis/googleapis@a17b84a)(exclusive) and[googleapis/googleapis@c9ff4f1c](googleapis/googleapis@c9ff4f1)(inclusive).Librarian Version: v0.0.0-20251113212345-55e52e492404Language Image:us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:72e9b62c0f8f3799651ee62d777a2905f5b72ff19ea46f2e7b7d682d7d1e9414## Generation failed for- google-cloud-compute-v1beta
1 parent0737369 commitd4e6a4a

File tree

387 files changed

+313630
-3841
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

387 files changed

+313630
-3841
lines changed

‎.librarian/state.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1757,7 +1757,7 @@ libraries:
17571757
tag_format:'{id}-v{version}'
17581758
-id:google-cloud-eventarc
17591759
version:1.17.0
1760-
last_generated_commit:3322511885371d2b2253f209ccc3aa60d4100cfd
1760+
last_generated_commit:c9ff4f1cd26f1fe63e6d1c11a198366b70ebdb84
17611761
apis:
17621762
-path:google/cloud/eventarc/v1
17631763
service_config:eventarc_v1.yaml
@@ -2426,7 +2426,7 @@ libraries:
24262426
tag_format:'{id}-v{version}'
24272427
-id:google-cloud-netapp
24282428
version:0.4.0
2429-
last_generated_commit:3322511885371d2b2253f209ccc3aa60d4100cfd
2429+
last_generated_commit:c9ff4f1cd26f1fe63e6d1c11a198366b70ebdb84
24302430
apis:
24312431
-path:google/cloud/netapp/v1
24322432
service_config:netapp_v1.yaml
@@ -2479,7 +2479,7 @@ libraries:
24792479
tag_format:'{id}-v{version}'
24802480
-id:google-cloud-network-security
24812481
version:0.9.21
2482-
last_generated_commit:3322511885371d2b2253f209ccc3aa60d4100cfd
2482+
last_generated_commit:c9ff4f1cd26f1fe63e6d1c11a198366b70ebdb84
24832483
apis:
24842484
-path:google/cloud/networksecurity/v1alpha1
24852485
service_config:networksecurity_v1alpha1.yaml
@@ -4244,7 +4244,7 @@ libraries:
42444244
tag_format:'{id}-v{version}'
42454245
-id:googleapis-common-protos
42464246
version:1.72.0
4247-
last_generated_commit:a17b84add8318f780fcc8a027815d5fee644b9f7
4247+
last_generated_commit:c9ff4f1cd26f1fe63e6d1c11a198366b70ebdb84
42484248
apis:
42494249
-path:google/api
42504250
service_config:serviceconfig.yaml

‎packages/google-cloud-eventarc/google/cloud/eventarc_v1/services/eventarc/async_client.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5120,6 +5120,7 @@ async def sample_create_google_api_source():
51205120
51215121
# Initialize request argument(s)
51225122
google_api_source = eventarc_v1.GoogleApiSource()
5123+
google_api_source.organization_subscription.enabled = True
51235124
google_api_source.destination = "destination_value"
51245125
51255126
request = eventarc_v1.CreateGoogleApiSourceRequest(
@@ -5272,6 +5273,7 @@ async def sample_update_google_api_source():
52725273
52735274
# Initialize request argument(s)
52745275
google_api_source = eventarc_v1.GoogleApiSource()
5276+
google_api_source.organization_subscription.enabled = True
52755277
google_api_source.destination = "destination_value"
52765278
52775279
request = eventarc_v1.UpdateGoogleApiSourceRequest(

‎packages/google-cloud-eventarc/google/cloud/eventarc_v1/services/eventarc/client.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5726,6 +5726,7 @@ def sample_create_google_api_source():
57265726
57275727
# Initialize request argument(s)
57285728
google_api_source = eventarc_v1.GoogleApiSource()
5729+
google_api_source.organization_subscription.enabled = True
57295730
google_api_source.destination = "destination_value"
57305731
57315732
request = eventarc_v1.CreateGoogleApiSourceRequest(
@@ -5875,6 +5876,7 @@ def sample_update_google_api_source():
58755876
58765877
# Initialize request argument(s)
58775878
google_api_source = eventarc_v1.GoogleApiSource()
5879+
google_api_source.organization_subscription.enabled = True
58785880
google_api_source.destination = "destination_value"
58795881
58805882
request = eventarc_v1.UpdateGoogleApiSourceRequest(

‎packages/google-cloud-eventarc/google/cloud/eventarc_v1/types/google_api_source.py‎

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ class GoogleApiSource(proto.Message):
3434
r"""A GoogleApiSource represents a subscription of 1P events from
3535
a MessageBus.
3636
37+
This message has `oneof`_ fields (mutually exclusive fields).
38+
For each oneof, at most one member field can be set at the same time.
39+
Setting any member of the oneof automatically clears all other
40+
members.
41+
42+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
43+
3744
Attributes:
3845
name (str):
3946
Identifier. Resource name of the form
@@ -73,8 +80,57 @@ class GoogleApiSource(proto.Message):
7380
logging_config (google.cloud.eventarc_v1.types.LoggingConfig):
7481
Optional. Config to control Platform logging
7582
for the GoogleApiSource.
83+
organization_subscription (google.cloud.eventarc_v1.types.GoogleApiSource.OrganizationSubscription):
84+
Optional. Config to enable subscribing to
85+
events from all projects in the
86+
GoogleApiSource's org.
87+
88+
This field is a member of `oneof`_ ``wide_scope_subscription``.
89+
project_subscriptions (google.cloud.eventarc_v1.types.GoogleApiSource.ProjectSubscriptions):
90+
Optional. Config to enable subscribing to all
91+
events from a list of projects.
92+
93+
All the projects must be in the same org as the
94+
GoogleApiSource.
95+
96+
This field is a member of `oneof`_ ``wide_scope_subscription``.
7697
"""
7798

99+
classProjectSubscriptions(proto.Message):
100+
r"""Config to enable subscribing to all events from a list of
101+
projects.
102+
103+
Attributes:
104+
list_ (MutableSequence[str]):
105+
Required. A list of projects to receive
106+
events from.
107+
All the projects must be in the same org. The
108+
listed projects should have the format
109+
project/{identifier} where identifier can be
110+
either the project id for project number. A
111+
single list may contain both formats. At most
112+
100 projects can be listed.
113+
"""
114+
115+
list_:MutableSequence[str]=proto.RepeatedField(
116+
proto.STRING,
117+
number=1,
118+
)
119+
120+
classOrganizationSubscription(proto.Message):
121+
r"""Config to enabled subscribing to events from other projects
122+
in the org.
123+
124+
Attributes:
125+
enabled (bool):
126+
Required. Enable org level subscription.
127+
"""
128+
129+
enabled:bool=proto.Field(
130+
proto.BOOL,
131+
number=1,
132+
)
133+
78134
name:str=proto.Field(
79135
proto.STRING,
80136
number=1,
@@ -124,6 +180,18 @@ class GoogleApiSource(proto.Message):
124180
number=11,
125181
message=gce_logging_config.LoggingConfig,
126182
)
183+
organization_subscription:OrganizationSubscription=proto.Field(
184+
proto.MESSAGE,
185+
number=12,
186+
oneof="wide_scope_subscription",
187+
message=OrganizationSubscription,
188+
)
189+
project_subscriptions:ProjectSubscriptions=proto.Field(
190+
proto.MESSAGE,
191+
number=13,
192+
oneof="wide_scope_subscription",
193+
message=ProjectSubscriptions,
194+
)
127195

128196

129197
__all__=tuple(sorted(__protobuf__.manifest))

‎packages/google-cloud-eventarc/google/cloud/eventarc_v1/types/trigger.py‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,13 @@ class Trigger(proto.Message):
102102
Output only. Whether or not this Trigger
103103
satisfies the requirements of physical zone
104104
separation
105+
retry_policy (google.cloud.eventarc_v1.types.Trigger.RetryPolicy):
106+
Optional. The retry policy to use in the
107+
Trigger.
108+
If unset, event delivery will be retried for up
109+
to 24 hours by default:
110+
111+
https://cloud.google.com/eventarc/docs/retry-events
105112
etag (str):
106113
Output only. This checksum is computed by the
107114
server based on the value of other fields, and
@@ -110,6 +117,23 @@ class Trigger(proto.Message):
110117
proceeding.
111118
"""
112119

120+
classRetryPolicy(proto.Message):
121+
r"""The retry policy configuration for the Trigger.
122+
123+
Can only be set with Cloud Run destinations.
124+
125+
Attributes:
126+
max_attempts (int):
127+
Optional. The maximum number of delivery
128+
attempts for any message. The only valid value
129+
is 1.
130+
"""
131+
132+
max_attempts:int=proto.Field(
133+
proto.INT32,
134+
number=1,
135+
)
136+
113137
name:str=proto.Field(
114138
proto.STRING,
115139
number=1,
@@ -170,6 +194,11 @@ class Trigger(proto.Message):
170194
proto.BOOL,
171195
number=19,
172196
)
197+
retry_policy:RetryPolicy=proto.Field(
198+
proto.MESSAGE,
199+
number=20,
200+
message=RetryPolicy,
201+
)
173202
etag:str=proto.Field(
174203
proto.STRING,
175204
number=99,

‎packages/google-cloud-eventarc/samples/generated_samples/eventarc_v1_generated_eventarc_create_google_api_source_async.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ async def sample_create_google_api_source():
4040

4141
# Initialize request argument(s)
4242
google_api_source=eventarc_v1.GoogleApiSource()
43+
google_api_source.organization_subscription.enabled=True
4344
google_api_source.destination="destination_value"
4445

4546
request=eventarc_v1.CreateGoogleApiSourceRequest(

‎packages/google-cloud-eventarc/samples/generated_samples/eventarc_v1_generated_eventarc_create_google_api_source_sync.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def sample_create_google_api_source():
4040

4141
# Initialize request argument(s)
4242
google_api_source=eventarc_v1.GoogleApiSource()
43+
google_api_source.organization_subscription.enabled=True
4344
google_api_source.destination="destination_value"
4445

4546
request=eventarc_v1.CreateGoogleApiSourceRequest(

‎packages/google-cloud-eventarc/samples/generated_samples/eventarc_v1_generated_eventarc_update_google_api_source_async.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ async def sample_update_google_api_source():
4040

4141
# Initialize request argument(s)
4242
google_api_source=eventarc_v1.GoogleApiSource()
43+
google_api_source.organization_subscription.enabled=True
4344
google_api_source.destination="destination_value"
4445

4546
request=eventarc_v1.UpdateGoogleApiSourceRequest(

‎packages/google-cloud-eventarc/samples/generated_samples/eventarc_v1_generated_eventarc_update_google_api_source_sync.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def sample_update_google_api_source():
4040

4141
# Initialize request argument(s)
4242
google_api_source=eventarc_v1.GoogleApiSource()
43+
google_api_source.organization_subscription.enabled=True
4344
google_api_source.destination="destination_value"
4445

4546
request=eventarc_v1.UpdateGoogleApiSourceRequest(

‎packages/google-cloud-eventarc/samples/generated_samples/snippet_metadata_google.cloud.eventarc.v1.json‎

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -599,12 +599,12 @@
599599
"regionTag":"eventarc_v1_generated_Eventarc_CreateGoogleApiSource_async",
600600
"segments": [
601601
{
602-
"end":60,
602+
"end":61,
603603
"start":27,
604604
"type":"FULL"
605605
},
606606
{
607-
"end":60,
607+
"end":61,
608608
"start":27,
609609
"type":"SHORT"
610610
},
@@ -614,18 +614,18 @@
614614
"type":"CLIENT_INITIALIZATION"
615615
},
616616
{
617-
"end":50,
617+
"end":51,
618618
"start":41,
619619
"type":"REQUEST_INITIALIZATION"
620620
},
621621
{
622-
"end":57,
623-
"start":51,
622+
"end":58,
623+
"start":52,
624624
"type":"REQUEST_EXECUTION"
625625
},
626626
{
627-
"end":61,
628-
"start":58,
627+
"end":62,
628+
"start":59,
629629
"type":"RESPONSE_HANDLING"
630630
}
631631
],
@@ -687,12 +687,12 @@
687687
"regionTag":"eventarc_v1_generated_Eventarc_CreateGoogleApiSource_sync",
688688
"segments": [
689689
{
690-
"end":60,
690+
"end":61,
691691
"start":27,
692692
"type":"FULL"
693693
},
694694
{
695-
"end":60,
695+
"end":61,
696696
"start":27,
697697
"type":"SHORT"
698698
},
@@ -702,18 +702,18 @@
702702
"type":"CLIENT_INITIALIZATION"
703703
},
704704
{
705-
"end":50,
705+
"end":51,
706706
"start":41,
707707
"type":"REQUEST_INITIALIZATION"
708708
},
709709
{
710-
"end":57,
711-
"start":51,
710+
"end":58,
711+
"start":52,
712712
"type":"REQUEST_EXECUTION"
713713
},
714714
{
715-
"end":61,
716-
"start":58,
715+
"end":62,
716+
"start":59,
717717
"type":"RESPONSE_HANDLING"
718718
}
719719
],
@@ -5706,12 +5706,12 @@
57065706
"regionTag":"eventarc_v1_generated_Eventarc_UpdateGoogleApiSource_async",
57075707
"segments": [
57085708
{
5709-
"end":58,
5709+
"end":59,
57105710
"start":27,
57115711
"type":"FULL"
57125712
},
57135713
{
5714-
"end":58,
5714+
"end":59,
57155715
"start":27,
57165716
"type":"SHORT"
57175717
},
@@ -5721,18 +5721,18 @@
57215721
"type":"CLIENT_INITIALIZATION"
57225722
},
57235723
{
5724-
"end":48,
5724+
"end":49,
57255725
"start":41,
57265726
"type":"REQUEST_INITIALIZATION"
57275727
},
57285728
{
5729-
"end":55,
5730-
"start":49,
5729+
"end":56,
5730+
"start":50,
57315731
"type":"REQUEST_EXECUTION"
57325732
},
57335733
{
5734-
"end":59,
5735-
"start":56,
5734+
"end":60,
5735+
"start":57,
57365736
"type":"RESPONSE_HANDLING"
57375737
}
57385738
],
@@ -5790,12 +5790,12 @@
57905790
"regionTag":"eventarc_v1_generated_Eventarc_UpdateGoogleApiSource_sync",
57915791
"segments": [
57925792
{
5793-
"end":58,
5793+
"end":59,
57945794
"start":27,
57955795
"type":"FULL"
57965796
},
57975797
{
5798-
"end":58,
5798+
"end":59,
57995799
"start":27,
58005800
"type":"SHORT"
58015801
},
@@ -5805,18 +5805,18 @@
58055805
"type":"CLIENT_INITIALIZATION"
58065806
},
58075807
{
5808-
"end":48,
5808+
"end":49,
58095809
"start":41,
58105810
"type":"REQUEST_INITIALIZATION"
58115811
},
58125812
{
5813-
"end":55,
5814-
"start":49,
5813+
"end":56,
5814+
"start":50,
58155815
"type":"REQUEST_EXECUTION"
58165816
},
58175817
{
5818-
"end":59,
5819-
"start":56,
5818+
"end":60,
5819+
"start":57,
58205820
"type":"RESPONSE_HANDLING"
58215821
}
58225822
],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp