Skip to content

Commit

Permalink
Capitalize acronyms in AlloyDB instance types
Browse files Browse the repository at this point in the history
  • Loading branch information
maqiuyujoyce committed Dec 17, 2024
1 parent d42fd08 commit 8902f25
Show file tree
Hide file tree
Showing 9 changed files with 117 additions and 117 deletions.
8 changes: 4 additions & 4 deletions apis/alloydb/v1alpha1/instance_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type AlloyDBInstanceSpec struct {
// can ONLY be specified for ZONAL instances. If present for a REGIONAL
// instance, an error will be thrown. If this is absent for a ZONAL
// instance, instance is created in a random zone with available capacity.
GceZone *string `json:"gceZone,omitempty"`
GCEZone *string `json:"gceZone,omitempty"`

// We recommend that you use `instanceTypeRef` instead.
// The type of the instance. Possible values: [PRIMARY, READ_POOL, SECONDARY]
Expand Down Expand Up @@ -120,20 +120,20 @@ type AlloyDBInstanceStatus struct {

// The IP address for the Instance. This is the connection
// endpoint for an end-user application.
IpAddress *string `json:"ipAddress,omitempty"`
IPAddress *string `json:"ipAddress,omitempty"`

// The name of the instance resource.
Name *string `json:"name,omitempty"`

// The outbound public IP addresses for the instance. This is available ONLY when
// networkConfig.enableOutboundPublicIp is set to true. These IP addresses are used
// for outbound connections.
OutboundPublicIpAddresses []string `json:"outboundPublicIpAddresses,omitempty"`
OutboundPublicIPAddresses []string `json:"outboundPublicIpAddresses,omitempty"`

// The public IP addresses for the Instance. This is available
// ONLY when networkConfig.enablePublicIp is set to true. This is the
// connection endpoint for an end-user application.
PublicIpAddress *string `json:"publicIpAddress,omitempty"`
PublicIPAddress *string `json:"publicIpAddress,omitempty"`

// Set to true if the current state of Instance does not
// match the user's intended state, and the service is actively updating
Expand Down
18 changes: 9 additions & 9 deletions apis/alloydb/v1alpha1/types.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 29 additions & 29 deletions apis/alloydb/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions apis/alloydb/v1beta1/instance_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type AlloyDBInstanceSpec struct {
// can ONLY be specified for ZONAL instances. If present for a REGIONAL
// instance, an error will be thrown. If this is absent for a ZONAL
// instance, instance is created in a random zone with available capacity.
GceZone *string `json:"gceZone,omitempty"`
GCEZone *string `json:"gceZone,omitempty"`

// We recommend that you use `instanceTypeRef` instead.
// The type of the instance. Possible values: [PRIMARY, READ_POOL, SECONDARY]
Expand Down Expand Up @@ -120,20 +120,20 @@ type AlloyDBInstanceStatus struct {

// The IP address for the Instance. This is the connection
// endpoint for an end-user application.
IpAddress *string `json:"ipAddress,omitempty"`
IPAddress *string `json:"ipAddress,omitempty"`

// The name of the instance resource.
Name *string `json:"name,omitempty"`

// The outbound public IP addresses for the instance. This is available ONLY when
// networkConfig.enableOutboundPublicIp is set to true. These IP addresses are used
// for outbound connections.
OutboundPublicIpAddresses []string `json:"outboundPublicIpAddresses,omitempty"`
OutboundPublicIPAddresses []string `json:"outboundPublicIpAddresses,omitempty"`

// The public IP addresses for the Instance. This is available
// ONLY when networkConfig.enablePublicIp is set to true. This is the
// connection endpoint for an end-user application.
PublicIpAddress *string `json:"publicIpAddress,omitempty"`
PublicIPAddress *string `json:"publicIpAddress,omitempty"`

// Set to true if the current state of Instance does not
// match the user's intended state, and the service is actively updating
Expand Down
18 changes: 9 additions & 9 deletions apis/alloydb/v1beta1/types.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8902f25

Please sign in to comment.