diff --git a/api_names_out.yaml b/api_names_out.yaml index 9432dbc325b..c955de0f914 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google-apis-compute_v1/CHANGELOG.md b/generated/google-apis-compute_v1/CHANGELOG.md index e89f238b0c3..cbcbb1d5290 100644 --- a/generated/google-apis-compute_v1/CHANGELOG.md +++ b/generated/google-apis-compute_v1/CHANGELOG.md @@ -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 diff --git a/generated/google-apis-compute_v1/lib/google/apis/compute_v1/classes.rb b/generated/google-apis-compute_v1/lib/google/apis/compute_v1/classes.rb index d580b45c6f8..4772c8fc2b2 100644 --- a/generated/google-apis-compute_v1/lib/google/apis/compute_v1/classes.rb +++ b/generated/google-apis-compute_v1/lib/google/apis/compute_v1/classes.rb @@ -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 @@ -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 @@ -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] @@ -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] @@ -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 @@ -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] @@ -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) diff --git a/generated/google-apis-compute_v1/lib/google/apis/compute_v1/gem_version.rb b/generated/google-apis-compute_v1/lib/google/apis/compute_v1/gem_version.rb index 144e1fc9fab..025c26e2e30 100644 --- a/generated/google-apis-compute_v1/lib/google/apis/compute_v1/gem_version.rb +++ b/generated/google-apis-compute_v1/lib/google/apis/compute_v1/gem_version.rb @@ -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 diff --git a/generated/google-apis-compute_v1/lib/google/apis/compute_v1/representations.rb b/generated/google-apis-compute_v1/lib/google/apis/compute_v1/representations.rb index 5c467495f32..1218f26bf2d 100644 --- a/generated/google-apis-compute_v1/lib/google/apis/compute_v1/representations.rb +++ b/generated/google-apis-compute_v1/lib/google/apis/compute_v1/representations.rb @@ -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' diff --git a/generated/google-apis-compute_v1/lib/google/apis/compute_v1/service.rb b/generated/google-apis-compute_v1/lib/google/apis/compute_v1/service.rb index 9eeabb82110..2dbcab64402 100644 --- a/generated/google-apis-compute_v1/lib/google/apis/compute_v1/service.rb +++ b/generated/google-apis-compute_v1/lib/google/apis/compute_v1/service.rb @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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]" @@ -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: @@ -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. @@ -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 @@ -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 @@ -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 @@ -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 @@ -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