Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124611,6 +124611,7 @@
"/compute:v1/SecurityPolicy/labels": labels
"/compute:v1/SecurityPolicy/labels/label": label
"/compute:v1/SecurityPolicy/name": name
"/compute:v1/SecurityPolicy/parent": parent
"/compute:v1/SecurityPolicy/recaptchaOptionsConfig": recaptcha_options_config
"/compute:v1/SecurityPolicy/region": region
"/compute:v1/SecurityPolicy/rules": rules
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-compute_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-compute_v1

### v0.135.0 (2025-11-09)

* Regenerated from discovery document revision 20251031

### v0.134.0 (2025-10-26)

* Regenerated from discovery document revision 20251019
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15847,7 +15847,7 @@ class HttpHeaderMatch
# Only one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or
# rangeMatch must be set.
# Regular expressions can only be used when the loadBalancingScheme is
# set to INTERNAL_SELF_MANAGED.
# set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
# Corresponds to the JSON property `regexMatch`
# @return [String]
attr_accessor :regex_match
Expand Down Expand Up @@ -16185,7 +16185,7 @@ class HttpQueryParameterMatch
# more information about regular expression syntax, see Syntax.
# Only one of presentMatch, exactMatch, orregexMatch must be set.
# Regular expressions can only be used when the loadBalancingScheme is
# set to INTERNAL_SELF_MANAGED.
# set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
# Corresponds to the JSON property `regexMatch`
# @return [String]
attr_accessor :regex_match
Expand Down Expand Up @@ -16552,7 +16552,8 @@ class HttpRouteRuleMatch
# any query parameters and anchor
# that may be part of the original URL.
# fullPathMatch must be from 1 to 1024 characters.
# Only one of prefixMatch, fullPathMatch or regexMatch must be
# Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must
# be
# specified.
# Corresponds to the JSON property `fullPathMatch`
# @return [String]
Expand Down Expand Up @@ -16616,7 +16617,9 @@ class HttpRouteRuleMatch
# For satisfying the matchRule condition, the request's
# path must begin with the specified prefixMatch.prefixMatch must begin with a /.
# The value must be from 1 to 1024 characters.
# Only one of prefixMatch, fullPathMatch or regexMatch must be
# Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must
# be
# specified.
# specified.
# Corresponds to the JSON property `prefixMatch`
# @return [String]
Expand All @@ -16634,10 +16637,11 @@ class HttpRouteRuleMatch
# removing any query parameters and anchor
# supplied with the original URL. For
# more information about regular expression syntax, see Syntax.
# Only one of prefixMatch, fullPathMatch orregexMatch must be
# Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must
# be
# specified.
# Regular expressions can only be used when the loadBalancingScheme is
# set to INTERNAL_SELF_MANAGED.
# set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED orINTERNAL_MANAGED.
# Corresponds to the JSON property `regexMatch`
# @return [String]
attr_accessor :regex_match
Expand Down Expand Up @@ -47345,6 +47349,11 @@ class SecurityPolicy
# @return [String]
attr_accessor :name

# [Output Only] The parent of the security policy.
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent

#
# Corresponds to the JSON property `recaptchaOptionsConfig`
# @return [Google::Apis::ComputeV1::SecurityPolicyRecaptchaOptionsConfig]
Expand Down Expand Up @@ -47442,6 +47451,7 @@ def update!(**args)
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name)
@parent = args[:parent] if args.key?(:parent)
@recaptcha_options_config = args[:recaptcha_options_config] if args.key?(:recaptcha_options_config)
@region = args[:region] if args.key?(:region)
@rules = args[:rules] if args.key?(:rules)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ComputeV1
# Version of the google-apis-compute_v1 gem
GEM_VERSION = "0.134.0"
GEM_VERSION = "0.135.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.18.0"

# Revision of the discovery document this client was generated from
REVISION = "20251019"
REVISION = "20251031"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -18526,6 +18526,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
property :name, as: 'name'
property :parent, as: 'parent'
property :recaptcha_options_config, as: 'recaptchaOptionsConfig', class: Google::Apis::ComputeV1::SecurityPolicyRecaptchaOptionsConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyRecaptchaOptionsConfig::Representation

property :region, as: 'region'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27373,8 +27373,10 @@ def list_node_types(project, zone, filter: nil, max_results: nil, order_by: nil,
# This has billing implications. Projects in the hierarchy with effective
# hierarchical security policies will be automatically enrolled into Cloud
# Armor Enterprise if not already enrolled.
# Use of this API to modify firewall policies is deprecated. Use
# firewallPolicies.addAssociation instead if possible.
# Use this API to modify Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to modify firewall policies. This usage is
# now disabled for most organizations. Use firewallPolicies.addAssociation
# instead.
# @param [String] security_policy
# Name of the security policy to update.
# @param [Google::Apis::ComputeV1::SecurityPolicyAssociation] security_policy_association_object
Expand Down Expand Up @@ -27429,6 +27431,9 @@ def add_organization_security_policy_association(security_policy, security_polic
end

# Inserts a rule into a security policy.
# Use this API to modify Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to modify firewall policies. This usage is
# now disabled for most organizations. Use firewallPolicies.addRule instead.
# @param [String] security_policy
# Name of the security policy to update.
# @param [Google::Apis::ComputeV1::SecurityPolicyRule] security_policy_rule_object
Expand Down Expand Up @@ -27478,8 +27483,10 @@ def add_organization_security_policy_rule(security_policy, security_policy_rule_
end

# Copies rules to the specified security policy.
# Use of this API to modify firewall policies is deprecated. Use
# firewallPolicies.copyRules instead.
# Use this API to modify Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to modify firewall policies. This usage is
# now disabled for most organizations. Use firewallPolicies.cloneRules
# instead.
# @param [String] security_policy
# Name of the security policy to update.
# @param [String] request_id
Expand Down Expand Up @@ -27529,8 +27536,9 @@ def copy_organization_security_policy_rules(security_policy, request_id: nil, so
end

# Deletes the specified policy.
# Use of this API to remove firewall policies is deprecated. Use
# firewallPolicies.delete instead.
# Use this API to remove Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to remove firewall policies. This usage is
# now disabled for most organizations. Use firewallPolicies.delete instead.
# @param [String] security_policy
# Name of the security policy to delete.
# @param [String] request_id
Expand Down Expand Up @@ -27577,8 +27585,9 @@ def delete_organization_security_policy(security_policy, request_id: nil, fields
end

# List all of the ordered rules present in a single specified policy.
# Use of this API to read firewall policies is deprecated. Use
# firewallPolicies.get instead.
# Use this API to read Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to read firewall policies. This usage is now
# disabled for most organizations. Use firewallPolicies.get instead.
# @param [String] security_policy
# Name of the security policy to get.
# @param [String] fields
Expand Down Expand Up @@ -27612,8 +27621,10 @@ def get_organization_security_policy(security_policy, fields: nil, quota_user: n
end

# Gets an association with the specified name.
# Use of this API to read firewall policies is deprecated. Use
# firewallPolicies.getAssociation instead if possible.
# Use this API to read Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to read firewall policies. This usage is
# now disabled for most organizations. Use firewallPolicies.getAssociation
# instead.
# @param [String] security_policy
# Name of the security policy to which the queried rule belongs.
# @param [String] name
Expand Down Expand Up @@ -27650,8 +27661,9 @@ def get_organization_security_policy_association(security_policy, name: nil, fie
end

# Gets a rule at the specified priority.
# Use of this API to read firewall policies is deprecated. Use
# firewallPolicies.getRule instead.
# Use this API to read Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to read firewall policies. This usage is now
# disabled for most organizations. Use firewallPolicies.getRule instead.
# @param [String] security_policy
# Name of the security policy to which the queried rule belongs.
# @param [Fixnum] priority
Expand Down Expand Up @@ -27689,8 +27701,9 @@ def get_organization_security_policy_rule(security_policy, priority: nil, fields

# Creates a new policy in the specified organization using the data included
# in the request.
# Use of this API to insert firewall policies is deprecated. Use
# firewallPolicies.insert instead.
# Use this API to add Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to add firewall policies. This usage is now
# disabled for most organizations. Use firewallPolicies.insert instead.
# @param [Google::Apis::ComputeV1::SecurityPolicy] security_policy_object
# @param [String] parent_id
# Parent ID for this request. The ID can be either be "folders/[FOLDER_ID]"
Expand Down Expand Up @@ -27743,8 +27756,9 @@ def insert_organization_security_policy(security_policy_object = nil, parent_id:

# List all the policies that have been configured for the specified
# organization.
# Use of this API to read firewall policies is deprecated. Use
# firewallPolicies.list instead.
# Use this API to read Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to read firewall policies. This usage is now
# disabled for most organizations. Use firewallPolicies.list instead.
# @param [String] filter
# A filter expression that filters resources listed in the response. Most
# Compute resources support two types of filter expressions:
Expand Down Expand Up @@ -27859,8 +27873,10 @@ def list_organization_security_policies(filter: nil, max_results: nil, order_by:
end

# Lists associations of a specified target, i.e., organization or folder.
# Use of this API to read firewall policies is deprecated. Use
# firewallPolicies.listAssociations instead if possible.
# Use this API to read Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to read firewall policies. This usage is
# now disabled for most organizations. Use firewallPolicies.listAssociations
# instead.
# @param [String] target_resource
# The target resource to list associations. It is an organization, or a
# folder.
Expand Down Expand Up @@ -28010,8 +28026,9 @@ def list_organization_security_policy_preconfigured_expression_sets(filter: nil,
end

# Moves the specified security policy.
# Use of this API to modify firewall policies is deprecated. Use
# firewallPolicies.move instead.
# Use this API to modify Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to modify firewall policies. This usage is
# now disabled for most organizations. Use firewallPolicies.move instead.
# @param [String] security_policy
# Name of the security policy to update.
# @param [String] parent_id
Expand Down Expand Up @@ -28061,8 +28078,9 @@ def move_organization_security_policy(security_policy, parent_id: nil, request_i
end

# Patches the specified policy with the data included in the request.
# Use of this API to modify firewall policies is deprecated. Use
# firewallPolicies.patch instead.
# Use this API to modify Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to modify firewall policies. This usage is
# now disabled for most organizations. Use firewallPolicies.patch instead.
# @param [String] security_policy
# Name of the security policy to update.
# @param [Google::Apis::ComputeV1::SecurityPolicy] security_policy_object
Expand Down Expand Up @@ -28112,8 +28130,10 @@ def patch_organization_security_policy(security_policy, security_policy_object =
end

# Patches a rule at the specified priority.
# Use of this API to modify firewall policies is deprecated. Use
# firewallPolicies.patchRule instead.
# Use this API to modify Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to modify firewall policies. This usage is
# now disabled for most organizations. Use firewallPolicies.patchRule
# instead.
# @param [String] security_policy
# Name of the security policy to update.
# @param [Google::Apis::ComputeV1::SecurityPolicyRule] security_policy_rule_object
Expand Down Expand Up @@ -28166,8 +28186,10 @@ def patch_organization_security_policy_rule(security_policy, security_policy_rul
end

# Removes an association for the specified security policy.
# Use of this API to modify firewall policies is deprecated. Use
# firewallPolicies.removeAssociation instead if possible.
# Use this API to modify Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to modify firewall policies. This usage is
# now disabled for most organizations. Use firewallPolicies.removeAssociation
# instead.
# @param [String] security_policy
# Name of the security policy to update.
# @param [String] name
Expand Down Expand Up @@ -28217,6 +28239,10 @@ def remove_organization_security_policy_association(security_policy, name: nil,
end

# Deletes a rule at the specified priority.
# Use this API to modify Cloud Armor policies. Previously, alpha and beta
# versions of this API were used to modify firewall policies. This usage is
# now disabled for most organizations. Use firewallPolicies.removeRule
# instead.
# @param [String] security_policy
# Name of the security policy to update.
# @param [Fixnum] priority
Expand Down