Commit dc94374
Sync with main. (#9972)
* chore(job): migrate regions by associating them with an official product with a job_ prefix (#9883)
* chore(endpoints): delete region 'swagger' in endpoints/multiple-versions (#9857)
* chore(endpoints): delete region swagger to openapi-v1.yaml
* chore(endpoints): delete region swagger to openapi-v2.yaml
* chore(job): delete sample jobs_java_dependencies_beta (#9810)
* chore(job): delete sample jobs_java_dependencies_beta
* chore(job): delete region_tab 'jobs_java_dependencies_beta' and update 'google-api-services-jobs' version
* feat(compute): add compute disk regional replicated sample (#9697)
* Implemented compute_disk_regional_replicated sample, created test
* Fixed zone
* Fixed test
* Fixed test
* Fixed disk size
* Fixed code as requested in the comment
* feat(compute): add compute disk start/stop replication samples (#9650)
* Implemented compute_disk_start_replication and compute_disk_stop_replication samples, created tests
* Fixed test
* Deleted not related classes
* Fixed lint issue
* Increased timeout
* Split samples for zonal location
* Fixed code
* Fixed code
* Increased timeout
* Increased timeout
* feat(tpu): add tpu vm create spot sample. (#9610)
* Changed package, added information to CODEOWNERS
* Added information to CODEOWNERS
* Added timeout
* Fixed parameters for test
* Fixed DeleteTpuVm and naming
* Added comment, created Util class
* Fixed naming
* Fixed whitespace
* Split PR into smaller, deleted redundant code
* Implemented tpu_vm_create_spot sample, created test
* changed zone
* Changed zone
* Fixed empty lines and tests, deleted cleanup method
* Changed zone
* Deleted redundant test class
* Increased timeout
* Fixed test
* feat(tpu): add tpu vm create startup script sample. (#9612)
* Changed package, added information to CODEOWNERS
* Added information to CODEOWNERS
* Added timeout
* Fixed parameters for test
* Fixed DeleteTpuVm and naming
* Added comment, created Util class
* Fixed naming
* Fixed whitespace
* Split PR into smaller, deleted redundant code
* Implemented tpu_vm_create_startup_script sample, created test
* Fixed tests and empty lines
* Changed zone
* Deleted redundant test classes
* Increased timeout
* Fixed code
* feat(tpu): add tpu queued resources create/get/delete samples (#9613)
* Changed package, added information to CODEOWNERS
* Added information to CODEOWNERS
* Added timeout
* Fixed parameters for test
* Fixed DeleteTpuVm and naming
* Added comment, created Util class
* Fixed naming
* Fixed whitespace
* Split PR into smaller, deleted redundant code
* Implemented tpu_queued_resources_create, tpu_queued_resources_get, tpu_queued_resources_delete_force and tpu_queued_resources_delete samples, created tests
* Fixed test
* Fixed tests
* Fixed error massage
* Fixed typo
* Fixed zone
* Fixed test
* Fixed code
* Deleted commented imports
* Fixed code as requested in comments
* feat(tpu): add tpu queued resources create spot (#9615)
Add a code sample for tpu_queued_resources_create_spot
* chore: add translate dev team for translate samples (#9888)
b/385243174
* feat(securitycenter): Add Resource SCC Management API Org ETD Custom Module code samples (Create, Delete, List, Get) (#9743)
* sample codes for event threat detection custom modules
* addressed comments
* addressed comments
* addressed comments
* addressed comments
* fix(compute): fixed compute_reservation_create_shared sample and test to use mocked client (#9840)
* Fixed sample and test to use mocked client
* Fixed code as requested in the comments
* feat(compute): add compute instance create replicated boot disk sample (#9735)
* Implemented compute_instance_create_replicated_boot_disk sample, created test
* Fixed test
* Fixed code as requested in the comments
* Fixed Util class
* Fixed code
* feat(compute): add compute consistency group stop replication (#9694)
* Implemented compute_consistency_group_create and compute_consistency_group_delete samples, created test
* Implemented compute_consistency_group_stop_replication sample
* Implemented compute_consistency_group_stop_replication sample
* Created test and added needed classes for testing
* Fixed test
* Moved clean up methods
* Added clean up methods for reservations
* Fixed clean up method
* Fixed clean up method
* Added timeout
* Reverted not related changes
* Reverted not related changes
* Reverted not related changes
* Reverted not related changes
* Fixed code
* Split samples for zonal location
* Added comments for methods
* Fixed comments
* feat(secretmanager): add optional ttl to create secret sample (#9889)
* feat(secretmanager): add optional ttl to create secret sample
* nit: Update secretmanager/src/main/java/secretmanager/CreateSecret.java
Co-authored-by: code-review-assist[bot] <182814678+code-review-assist[bot]@users.noreply.github.com>
* fix(secretmanager): fix comment indentation to resolve linting issues
---------
Co-authored-by: Jennifer Davis <iennae@gmail.com>
Co-authored-by: code-review-assist[bot] <182814678+code-review-assist[bot]@users.noreply.github.com>
* feat(tpu): add tpu queued resources list sample (#9614)
* Changed package, added information to CODEOWNERS
* Added information to CODEOWNERS
* Added timeout
* Fixed parameters for test
* Fixed DeleteTpuVm and naming
* Added comment, created Util class
* Fixed naming
* Fixed whitespace
* Split PR into smaller, deleted redundant code
* Implemented tpu_queued_resources_create, tpu_queued_resources_get, tpu_queued_resources_delete_force and tpu_queued_resources_delete samples, created tests
* Implemented tpu_queued_resources_list sample, created test
* Fixed test
* Fixed tests, deleted cleanup method
* Fixed test
* Fixed imports
* feat(compute): add compute disk create secondary regional sample (#9641)
* Implemented compute_disk_create_secondary_regional. created test
* Fixed test
* Fixed test
* Fixed test
* Fixed zone
* Fixed naming
* Fixed spaces
* Fixed code
* Fixed indentations
* Fixed variable
* Fixed code
* Added cleanup methods
* Fixed lint issue
* Fixed lint issue
* Fixed test
* Fixed code
* Fixed code
* Fixed code
* Deleted duplicated assertion
* feat(compute): add compute disk create secondary sample. (#9643)
* Implemented compute_disk_create_secondary sample, created test
* Fixed code
* Fixed variable
* Fixed code
* Merged changes from main
* Fixed lint issue
* fix(storage): migrate old region all to storagetransfer_transfer_all step 1 (#9917)
* fix(job): remove old region create_job (#9914)
* feat(compute): attach/ remove snapshot schedule to disk (#9791)
* Implemented compute_snapshot_schedule_attach sample, created test
* Implemented compute_snapshot_schedule_remove sample, created test
* Fixed code
* Fixed code as requested in the comments
* feat(compute): add compute consistency group clone sample (#9885)
* Implemented compute_consistency_group_clone and compute_consistency_group_clone_regional_disk samples, created tests
* Fixed naming
* feat(compute): add compute instance attach regional disk force sample (#9730)
* Implemented compute_instance_attach_regional_disk_force sample, created test
* Added clean up method
* Fixed comments and parameters
* Test order deleted
* Fixed code
* Fixed code
* Fixed code
* Increased timeout
* Increased timeout
* Increased timeout
* Fixed code
* Fixed code
* Fixed code
* Fixed naming
* feat(compute): add compute disk create secondary custom sample (#9644)
* Implemented compute_disk_create_secondary_custom sample, created test
* Fixed code
* Fixed variable
* Fixed code
* Fixed whitespace
* Fixed whitespace
* feat(compute): add compute snapshot schedule create/get/edit/list/delete samples (#9742)
* Implemented compute_snapshot_schedule_delete and compute_snapshot_schedule_create samples, created test
* Fixed test
* Added compute_snapshot_schedule_get sample, created test
* Fixed naming
* Implemented compute_snapshot_schedule_edit, created test
* Fixed naming
* Implemented compute_snapshot_schedule_list sample, created test
* Cleaned resources
* Cleaned resources
* Cleaned resources
* Cleaned resources
* Fixed test
* Added comment
* Fixed tests
* Fixed code
* Fixed code as requested in the comments
* feat(compute): add compute disk create with snapshot schedule (#9788)
* Implemented compute_disk_create_with_snapshot_schedule sample, created test
* Fixed code
* Fixed code
* Fixed test
* Fixed code
* Fixed code as requested in the comments
* Fixed lint issue
* Fixed lint issue
* Deleted redundant code
* feat(tpu): add tpu queued resources time bound sample. (#9617)
* Changed package, added information to CODEOWNERS
* Added information to CODEOWNERS
* Added timeout
* Fixed parameters for test
* Fixed DeleteTpuVm and naming
* Added comment, created Util class
* Fixed naming
* Fixed whitespace
* Split PR into smaller, deleted redundant code
* Implemented tpu_queued_resources_create, tpu_queued_resources_get, tpu_queued_resources_delete_force and tpu_queued_resources_delete samples, created tests
* Implemented tpu_queued_resources_time_bound sample, created test
* Changed zone for tpu
* Cleanup resources
* Fixed tests
* Fixed test
* Fixed code as requested in the comments
* Fixed code as requested in the comments
* fix(job): delete old region tag update_job_with_field_mask (#9940)
* feat(job): migrate region tags to include product prefix (#9966)
* fix(endpoints): migrate all regions (#9943)
* fix: disable flakybot reporting (#9968)
* chore(job): remove unused region tags (#9969)
* feat(securitycenter): Add Resource SCC Management API Org ETD Custom Module code samples (Update, Get Eff, List Eff, List Desc, Validate) (#9912)
* sample codes for event threat detection custom modules
* fixed lint
* addressed comments
* lint fix
* addressed comments
---------
Co-authored-by: OremGLG <garciadiaz@google.com>
Co-authored-by: eapl.me <64097272+eapl-gemugami@users.noreply.github.com>
Co-authored-by: Тетяна Ягодська <49729677+TetyanaYahodska@users.noreply.github.com>
Co-authored-by: Jennifer Davis <sigje@google.com>
Co-authored-by: lovenishs04 <lovenishs@google.com>
Co-authored-by: alarconesparza <alarconesparza@google.com>
Co-authored-by: Jennifer Davis <iennae@gmail.com>
Co-authored-by: code-review-assist[bot] <182814678+code-review-assist[bot]@users.noreply.github.com>
Co-authored-by: Brian Dorsey <briandorsey@google.com>1 parent b492db1 commit dc94374
File tree
70 files changed
+4375
-214
lines changed- .github
- .kokoro/tests
- compute/cloud-client/src
- main/java/compute
- disks
- consistencygroup
- reservation
- snapshotschedule
- test/java/compute
- disks
- reservation
- snapshotschedule
- endpoints
- getting-started/k8s
- multiple-versions
- jobs
- v3/src/main/java/com/google/samples
- v4
- secretmanager/src/main/java/secretmanager
- security-command-center/snippets/src
- main/java/management/api
- test/java/management/api
- storage-transfer/src/test/java/com/google/cloud/storage/storagetransfer/samples/test/util
- tpu/src
- main/java/tpu
- test/java/tpu
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
70 files changed
+4375
-214
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | 93 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | 99 | | |
Lines changed: 109 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
Lines changed: 81 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
Lines changed: 103 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
0 commit comments