-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marked customer_name field as optional for interconnect resource #11640
Merged
shuyama1
merged 10 commits into
GoogleCloudPlatform:main
from
abhijeetkjha-google:bugFix-361094483
Sep 24, 2024
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
0d61f5c
Marked customer_name field as optional
abhijeetkjha-google 616214f
removed customer_name field from the example
abhijeetkjha-google c4fa4cc
Added create test for cross cloud interconnect
abhijeetkjha-google ac24639
Added example
abhijeetkjha-google 55f7d64
Merge branch 'GoogleCloudPlatform:main' into bugFix-361094483
abhijeetkjha-google d0b54e4
removed create test as no testing location is provided yet
abhijeetkjha-google 73e8056
lint issues
abhijeetkjha-google 0a2a7f5
Updated description for customerName field
abhijeetkjha-google 77cd76a
Updated description for customerName field - 2
abhijeetkjha-google fae33ec
Updated description for location field
abhijeetkjha-google File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,9 +87,9 @@ properties: | |
name: 'location' | ||
description: | | ||
URL of the InterconnectLocation object that represents where this connection is to be provisioned. | ||
Specifies the location inside Google's Networks, should not be passed in case of cross-cloud interconnect. | ||
resource: 'InterconnectLocations' | ||
imports: 'selfLink' | ||
required: true | ||
immutable: true | ||
- !ruby/object:Api::Type::Enum | ||
name: 'linkType' | ||
|
@@ -143,9 +143,9 @@ properties: | |
name: 'customerName' | ||
description: | | ||
Customer name, to put in the Letter of Authorization as the party authorized to request a | ||
crossconnect. | ||
crossconnect. This field is required for Dedicated and Partner Interconnect, should not be specified | ||
for cross-cloud interconnect. | ||
immutable: true | ||
required: true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please update the description of this field to clarify when this field is required and when it is not? Thanks There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
- !ruby/object:Api::Type::Enum | ||
name: 'operationalStatus' | ||
description: | | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is making
location
optional in this resource intended? Sorry, I'm not fully understand what remote_location field is. Is location field not needed for resource creation in some cases?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, Incase of cross_cloud interconnect we don't need to specify location field as location field implies for google owned location, Incase of cross_cloud interconnect we have to replace it with remote_location field.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. Would you mind also clarifying it in the description of the field? Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done