Skip to content

Commit

Permalink
Revert "Adding self_link output to google_network_security profile gr…
Browse files Browse the repository at this point in the history
…oup" (#10696) (#7365)

[upstream:1895c01bbac30a2dac074526aec30bcacc0589ea]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician committed May 14, 2024
1 parent a03576d commit a2226ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
Expand Up @@ -113,11 +113,6 @@ Format: organizations/{organization_id}.`,
and may be sent on update and delete requests to ensure the client has an up-to-date
value before proceeding.`,
},
"self_link": {
Type: schema.TypeString,
Computed: true,
Description: `Server-defined URL of this resource.`,
},
"terraform_labels": {
Type: schema.TypeMap,
Computed: true,
Expand Down Expand Up @@ -245,9 +240,6 @@ func resourceNetworkSecuritySecurityProfileGroupRead(d *schema.ResourceData, met
return transport_tpg.HandleNotFoundError(err, d, fmt.Sprintf("NetworkSecuritySecurityProfileGroup %q", d.Id()))
}

if err := d.Set("self_link", flattenNetworkSecuritySecurityProfileGroupSelfLink(res["selfLink"], d, config)); err != nil {
return fmt.Errorf("Error reading SecurityProfileGroup: %s", err)
}
if err := d.Set("create_time", flattenNetworkSecuritySecurityProfileGroupCreateTime(res["createTime"], d, config)); err != nil {
return fmt.Errorf("Error reading SecurityProfileGroup: %s", err)
}
Expand Down Expand Up @@ -438,10 +430,6 @@ func resourceNetworkSecuritySecurityProfileGroupImport(d *schema.ResourceData, m
return []*schema.ResourceData{d}, nil
}

func flattenNetworkSecuritySecurityProfileGroupSelfLink(v interface{}, d *schema.ResourceData, config *transport_tpg.Config) interface{} {
return v
}

func flattenNetworkSecuritySecurityProfileGroupCreateTime(v interface{}, d *schema.ResourceData, config *transport_tpg.Config) interface{} {
return v
}
Expand Down
Expand Up @@ -97,9 +97,6 @@ In addition to the arguments listed above, the following computed attributes are

* `id` - an identifier for the resource with format `{{parent}}/locations/{{location}}/securityProfileGroups/{{name}}`

* `self_link` -
Server-defined URL of this resource.

* `create_time` -
Time the security profile group was created in UTC.

Expand Down

0 comments on commit a2226ac

Please sign in to comment.