Commit 8ec7757
tests: Update the golden files' copyright to 2025 (#3513)
Fixes #3512.
The copyright year for GAPIC generated files are automatically [set to
current
year](https://github.com/googleapis/sdk-platform-java/blob/9a65386dfc3146de4f9b36962caae2df0662ac98/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/comment/CommentComposer.java#L38).
This creates a problem that all the tests are going to automatically
fail when new year comes. Updating all the golden files' copyright to
2025 in this PR for now.
There are golden test files need to be updated in spring-cloud-gcp as
well since it is dependent on the generator.
In the future, we need to come up with a better strategy that the tests
do not fail automatically, created an issue
#3547 to track the
future enhancement.
---------
Co-authored-by: cloud-java-bot <[email protected]>1 parent 6b40c1a commit 8ec7757
File tree
1,581 files changed
+1581
-1581
lines changed- gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/goldens
- java-common-protos
- grpc-google-common-protos/src/main/java/com/google
- cloud/location
- longrunning
- proto-google-common-protos/src/main/java/com/google
- api
- apps/card/v1
- cloud
- audit
- location
- geo/type
- logging/type
- longrunning
- rpc
- context
- shopping/type
- type
- java-iam
- grpc-google-iam-v1/src/main/java/com/google/iam/v1
- grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta
- grpc-google-iam-v2/src/main/java/com/google/iam/v2
- proto-google-iam-v1/src/main/java/com/google/iam/v1
- logging
- proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta
- proto-google-iam-v2/src/main/java/com/google/iam/v2
- showcase
- gapic-showcase/src/main/java/com/google/showcase/v1beta1
- stub
- proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1
- test/integration/goldens
- apigeeconnect
- samples/snippets/generated/main/java/com/google/cloud/apigeeconnect/v1
- connectionservicesettings/listconnections
- connectionservice
- create
- listconnections
- stub
- connectionservicestubsettings/listconnections
- tetherstubsettings/egress
- tethersettings/egress
- tether
- create
- egress
- src/com/google/cloud/apigeeconnect/v1
- stub
- asset
- samples/snippets/generated/main/java/com/google/cloud/asset/v1
- assetservicesettings
- batchgetassetshistory
- exportassets
- assetservice
- analyzeiampolicylongrunning
- analyzeiampolicy
- analyzemove
- batchgetassetshistory
- batchgeteffectiveiampolicies
- createfeed
- createsavedquery
- create
- deletefeed
- deletesavedquery
- exportassets
- getfeed
- getsavedquery
- listassets
- listfeeds
- listsavedqueries
- queryassets
- searchalliampolicies
- searchallresources
- updatefeed
- updatesavedquery
- stub/assetservicestubsettings
- batchgetassetshistory
- exportassets
- src/com/google/cloud/asset/v1
- stub
- bigtable
- samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2
- basebigtabledatasettings/mutaterow
- bigtable
- checkandmutaterow
- create
- mutaterows
- mutaterow
- pingandwarm
- readmodifywriterow
- readrows
- samplerowkeys
- stub/bigtablestubsettings/mutaterow
- src/com/google
- bigtable/v2
- cloud/bigtable/data/v2
- stub
- compute
- samples/snippets/generated/main/java/com/google/cloud/compute/v1small
- addressessettings
- aggregatedlist
- delete
- addresses
- aggregatedlist
- create
- delete
- insert
- list
- regionoperationssettings/get
- regionoperations
- create
- get
- wait
- stub
- addressesstubsettings
- aggregatedlist
- delete
- regionoperationsstubsettings/get
- src/com/google/cloud/compute/v1small
- stub
- credentials
- samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1
- iamcredentialssettings/generateaccesstoken
- iamcredentials
- create
- generateaccesstoken
- generateidtoken
- signblob
- signjwt
- stub/iamcredentialsstubsettings/generateaccesstoken
- src/com/google/cloud/iam/credentials/v1
- stub
- iam
- samples/snippets/generated/main/java/com/google/iam/v1
- iampolicysettings/setiampolicy
- iampolicy
- create
- getiampolicy
- setiampolicy
- testiampermissions
- stub/iampolicystubsettings/setiampolicy
- src/com/google/iam/v1
- stub
- kms
- samples/snippets/generated/main/java/com/google/cloud/kms/v1
- keymanagementservicesettings/getkeyring
- keymanagementservice
- asymmetricdecrypt
- asymmetricsign
- createcryptokeyversion
- createcryptokey
- createimportjob
- createkeyring
- create
- decrypt
- destroycryptokeyversion
- encrypt
- getcryptokeyversion
- getcryptokey
- getiampolicy
- getimportjob
- getkeyring
- getlocation
- getpublickey
- importcryptokeyversion
- listcryptokeys
- listcryptokeyversions
- listimportjobs
- listkeyrings
- listlocations
- restorecryptokeyversion
- testiampermissions
- updatecryptokeyprimaryversion
- updatecryptokeyversion
- updatecryptokey
- stub/keymanagementservicestubsettings/getkeyring
- src/com/google/cloud/kms/v1
- stub
- library
- samples/snippets/generated/main/java/com/google/cloud/example/library/v1
- libraryservicesettings/createshelf
- libraryservice
- createbook
- createshelf
- create
- deletebook
- deleteshelf
- getbook
- getshelf
- listbooks
- listshelves
- mergeshelves
- movebook
- updatebook
- stub/libraryservicestubsettings/createshelf
- src/com/google
- cloud/example/library/v1
- stub
- example/library/v1
- logging
- samples/snippets/generated/main/java/com/google/cloud/logging/v2
- configservicev2
- copylogentries
- createbucket
- createexclusion
- createsink
- createview
- create
- deletebucket
- deleteexclusion
- deletesink
- deleteview
- getbucket
- getcmeksettings
- getexclusion
- getsettings
- getsink
- getview
- listbuckets
- listexclusions
- listsinks
- listviews
- undeletebucket
- updatebucket
- updatecmeksettings
- updateexclusion
- updatesettings
- updatesink
- updateview
- configsettings
- copylogentries
- getbucket
- loggingservicev2
- create
- deletelog
- listlogentries
- listlogs
- listmonitoredresourcedescriptors
- taillogentries
- writelogentries
- loggingsettings/deletelog
- metricsservicev2
- createlogmetric
- create
- deletelogmetric
- getlogmetric
- listlogmetrics
- updatelogmetric
- metricssettings/getlogmetric
- stub
- configservicev2stubsettings
- copylogentries
- getbucket
- loggingservicev2stubsettings/deletelog
- metricsservicev2stubsettings/getlogmetric
- src/com/google
- cloud/logging/v2
- stub
- logging/v2
- pubsub
- samples/snippets/generated/main/java/com/google/cloud/pubsub/v1
- publisher
- createtopic
- create
- deletetopic
- detachsubscription
- getiampolicy
- gettopic
- listtopicsnapshots
- listtopicsubscriptions
- listtopics
- publish
- setiampolicy
- testiampermissions
- updatetopic
- schemaservicesettings/createschema
- schemaservice
- commitschema
- createschema
- create
- deleteschemarevision
- deleteschema
- getiampolicy
- getschema
- listschemarevisions
- listschemas
- rollbackschema
- setiampolicy
- testiampermissions
- validatemessage
- validateschema
- stub
- publisherstubsettings/createtopic
- schemaservicestubsettings/createschema
- subscriberstubsettings/createsubscription
- subscriber
- acknowledge
- createsnapshot
- createsubscription
- create
- deletesnapshot
- deletesubscription
- getiampolicy
- getsnapshot
- getsubscription
- listsnapshots
- listsubscriptions
- modifyackdeadline
- modifypushconfig
- pull
- seek
- setiampolicy
- streamingpull
- testiampermissions
- updatesnapshot
- updatesubscription
- subscriptionadminsettings/createsubscription
- topicadminsettings/createtopic
- src/com/google
- cloud/pubsub/v1
- stub
- pubsub/v1
- redis
- samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1
- cloudredissettings
- createinstance
- getinstance
- cloudredis
- createinstance
- create
- deleteinstance
- exportinstance
- failoverinstance
- getinstanceauthstring
- getinstance
- importinstance
- listinstances
- reschedulemaintenance
- updateinstance
- upgradeinstance
- stub/cloudredisstubsettings
- createinstance
- getinstance
- src/com/google/cloud/redis/v1beta1
- stub
- storage
- samples/snippets/generated/main/java/com/google/storage/v2
- storagesettings/deletebucket
- storage
- cancelresumablewrite
- composeobject
- createbucket
- createhmackey
- createnotification
- create
- deletebucket
- deletehmackey
- deletenotification
- deleteobject
- getbucket
- gethmackey
- getiampolicy
- getnotification
- getobject
- getserviceaccount
- listbuckets
- listhmackeys
- listnotifications
- listobjects
- lockbucketretentionpolicy
- querywritestatus
- readobject
- rewriteobject
- setiampolicy
- startresumablewrite
- testiampermissions
- updatebucket
- updatehmackey
- updateobject
- writeobject
- stub/storagestubsettings/deletebucket
- src/com/google/storage/v2
- stub
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,581 files changed
+1581
-1581
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments