Skip to content

Make description and displayName optional and mutable#14328

Merged
c2thorn merged 8 commits intoGoogleCloudPlatform:mainfrom
kjordy:metricdescriptor-optional-mutable
Jun 23, 2025
Merged

Make description and displayName optional and mutable#14328
c2thorn merged 8 commits intoGoogleCloudPlatform:mainfrom
kjordy:metricdescriptor-optional-mutable

Conversation

@kjordy
Copy link
Copy Markdown
Contributor

@kjordy kjordy commented Jun 20, 2025

Made description and displayName optional and mutable in MetricDescriptor.yaml and updated the conformance tests in resource_monitoring_metric_descriptor_test.go.

Fixes hashicorp/terraform-provider-google#22949
Fixes hashicorp/terraform-provider-google#7682

Release Note Template for Downstream PRs (will be copied)

monitoring: made `description` and `displayName` optional and mutable in `google_monitoring_metric_descriptor`

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 3 files changed, 54 insertions(+), 41 deletions(-))
google-beta provider: Diff ( 3 files changed, 54 insertions(+), 41 deletions(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 3 files changed, 54 insertions(+), 41 deletions(-))
google-beta provider: Diff ( 3 files changed, 54 insertions(+), 41 deletions(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 0
Passed tests: 0
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • monitoring
🔴 Errors occurred during REPLAYING mode. Please fix them to complete your PR.

View the build log

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 0
Passed tests: 0
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • monitoring
🔴 Errors occurred during REPLAYING mode. Please fix them to complete your PR.

View the build log

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 3 files changed, 54 insertions(+), 27 deletions(-))
google-beta provider: Diff ( 3 files changed, 54 insertions(+), 27 deletions(-))

@kjordy kjordy marked this pull request as ready for review June 20, 2025 19:48
@github-actions github-actions bot requested a review from c2thorn June 20, 2025 19:49
@github-actions
Copy link
Copy Markdown

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@c2thorn, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 58
Passed tests: 54
Skipped tests: 3
Affected tests: 1

Click here to see the affected service packages
  • monitoring
#### Action taken
Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccMonitoringMetricDescriptor_update

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccMonitoringMetricDescriptor_update [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

Copy link
Copy Markdown
Member

@c2thorn c2thorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just removing the immutable fields for slightly better readability, this should have no functional change

Comment thread mmv1/products/monitoring/MetricDescriptor.yaml Outdated
Comment thread mmv1/products/monitoring/MetricDescriptor.yaml Outdated
Comment thread mmv1/products/monitoring/MetricDescriptor.yaml Outdated
Comment thread mmv1/products/monitoring/MetricDescriptor.yaml Outdated
@github-actions github-actions bot requested a review from c2thorn June 23, 2025 19:34
@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 3 files changed, 54 insertions(+), 27 deletions(-))
google-beta provider: Diff ( 3 files changed, 54 insertions(+), 27 deletions(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 3 files changed, 54 insertions(+), 27 deletions(-))
google-beta provider: Diff ( 3 files changed, 54 insertions(+), 27 deletions(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 58
Passed tests: 55
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • monitoring
🟢 All tests passed!

View the build log

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 58
Passed tests: 55
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • monitoring
🟢 All tests passed!

View the build log

@c2thorn c2thorn added this pull request to the merge queue Jun 23, 2025
Merged via the queue into GoogleCloudPlatform:main with commit 7bdafeb Jun 23, 2025
26 checks passed
BBBmau pushed a commit to BBBmau/magic-modules that referenced this pull request Jun 25, 2025
…tform#14328)

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Cameron Thornton <camthornton@google.com>
BBBmau pushed a commit to BBBmau/magic-modules that referenced this pull request Jun 25, 2025
…tform#14328)

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Cameron Thornton <camthornton@google.com>
@kjordy kjordy deleted the metricdescriptor-optional-mutable branch June 30, 2025 19:06
jingqizz pushed a commit to jingqizz/magic-modules that referenced this pull request Jul 9, 2025
…tform#14328)

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Cameron Thornton <camthornton@google.com>
BBBmau pushed a commit to BBBmau/magic-modules that referenced this pull request Jul 28, 2025
…tform#14328)

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Cameron Thornton <camthornton@google.com>
BBBmau pushed a commit to BBBmau/magic-modules that referenced this pull request Jul 28, 2025
…tform#14328)

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Cameron Thornton <camthornton@google.com>
BBBmau pushed a commit to BBBmau/magic-modules that referenced this pull request Jul 28, 2025
…tform#14328)

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Cameron Thornton <camthornton@google.com>
BBBmau pushed a commit to BBBmau/magic-modules that referenced this pull request Jul 28, 2025
…tform#14328)

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Cameron Thornton <camthornton@google.com>
NandiniAgrawal15 pushed a commit to NandiniAgrawal15/magic-modules that referenced this pull request Sep 4, 2025
…tform#14328)

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Cameron Thornton <camthornton@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

3 participants