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
21 changes: 21 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -400799,6 +400799,7 @@
"/serviceusage:v1beta1/AdminQuotaPolicy/unit": unit
"/serviceusage:v1beta1/Analysis": analysis
"/serviceusage:v1beta1/Analysis/analysis": analysis
"/serviceusage:v1beta1/Analysis/analysisResult": analysis_result
"/serviceusage:v1beta1/Analysis/analysisType": analysis_type
"/serviceusage:v1beta1/Analysis/displayName": display_name
"/serviceusage:v1beta1/Analysis/service": service
Expand Down Expand Up @@ -400935,6 +400936,7 @@
"/serviceusage:v1beta1/ConsumerPolicy": consumer_policy
"/serviceusage:v1beta1/ConsumerPolicy/annotations": annotations
"/serviceusage:v1beta1/ConsumerPolicy/annotations/annotation": annotation
"/serviceusage:v1beta1/ConsumerPolicy/createTime": create_time
"/serviceusage:v1beta1/ConsumerPolicy/enableRules": enable_rules
"/serviceusage:v1beta1/ConsumerPolicy/enableRules/enable_rule": enable_rule
"/serviceusage:v1beta1/ConsumerPolicy/etag": etag
Expand Down Expand Up @@ -401176,6 +401178,20 @@
"/serviceusage:v1beta1/GoogleApiServiceusageV1beta1ServiceIdentity": google_api_serviceusage_v1beta1_service_identity
"/serviceusage:v1beta1/GoogleApiServiceusageV1beta1ServiceIdentity/email": email
"/serviceusage:v1beta1/GoogleApiServiceusageV1beta1ServiceIdentity/uniqueId": unique_id
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaAnalysis": google_api_serviceusage_v2alpha_analysis
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaAnalysis/analysisResult": analysis_result
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaAnalysis/analysisType": analysis_type
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaAnalysis/displayName": display_name
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaAnalysis/service": service
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaAnalysisResult": google_api_serviceusage_v2alpha_analysis_result
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaAnalysisResult/blockers": blockers
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaAnalysisResult/blockers/blocker": blocker
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaAnalysisResult/warnings": warnings
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaAnalysisResult/warnings/warning": warning
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyMetadata": google_api_serviceusage_v2alpha_analyze_consumer_policy_metadata
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyResponse": google_api_serviceusage_v2alpha_analyze_consumer_policy_response
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyResponse/analysis": analysis
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyResponse/analysis/analysis": analysis
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaConsumerPolicy": google_api_serviceusage_v2alpha_consumer_policy
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaConsumerPolicy/annotations": annotations
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaConsumerPolicy/annotations/annotation": annotation
Expand All @@ -401192,6 +401208,10 @@
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaEnableRule/groups/group": group
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaEnableRule/services": services
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaEnableRule/services/service": service
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaImpact": google_api_serviceusage_v2alpha_impact
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaImpact/detail": detail
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaImpact/impactType": impact_type
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaImpact/parent": parent
"/serviceusage:v1beta1/GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata": google_api_serviceusage_v2alpha_update_consumer_policy_metadata
"/serviceusage:v1beta1/GoogleApiServiceusageV2betaAnalysis": google_api_serviceusage_v2beta_analysis
"/serviceusage:v1beta1/GoogleApiServiceusageV2betaAnalysis/analysis": analysis
Expand Down Expand Up @@ -401266,6 +401286,7 @@
"/serviceusage:v1beta1/Impact": impact
"/serviceusage:v1beta1/Impact/detail": detail
"/serviceusage:v1beta1/Impact/impactType": impact_type
"/serviceusage:v1beta1/Impact/missingDependency": missing_dependency
"/serviceusage:v1beta1/Impact/parent": parent
"/serviceusage:v1beta1/ImportAdminOverridesMetadata": import_admin_overrides_metadata
"/serviceusage:v1beta1/ImportAdminOverridesRequest": import_admin_overrides_request
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-serviceusage_v1beta1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-serviceusage_v1beta1

### v0.78.0 (2026-07-19)

* Regenerated from discovery document revision 20260713

### v0.77.0 (2026-06-14)

* Regenerated from discovery document revision 20260423
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ class Analysis
include Google::Apis::Core::Hashable

# An analysis result including blockers and warnings.
# Corresponds to the JSON property `analysis`
# Corresponds to the JSON property `analysisResult`
# @return [Google::Apis::ServiceusageV1beta1::AnalysisResult]
attr_accessor :analysis
attr_accessor :analysis_result

# Output only. The type of analysis.
# Corresponds to the JSON property `analysisType`
Expand All @@ -159,7 +159,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@analysis = args[:analysis] if args.key?(:analysis)
@analysis_result = args[:analysis_result] if args.key?(:analysis_result)
@analysis_type = args[:analysis_type] if args.key?(:analysis_type)
@display_name = args[:display_name] if args.key?(:display_name)
@service = args[:service] if args.key?(:service)
Expand Down Expand Up @@ -1110,15 +1110,14 @@ def update!(**args)
class ConsumerPolicy
include Google::Apis::Core::Hashable

# Optional. Annotations is an unstructured key-value map stored with a policy
# that may be set by external tools to store and retrieve arbitrary metadata.
# They are not queryable and should be preserved when modifying objects. [AIP-
# 128](https://google.aip.dev/128#annotations)
# Corresponds to the JSON property `annotations`
# @return [Hash<String,String>]
attr_accessor :annotations
# Output only. The time the policy was created. For singleton policies, this is
# the first touch of the policy.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time

# Enable rules define usable services and service groups.
# Enable rules define usable services and groups. There can currently be at most
# one `EnableRule`. This restriction will be lifted in later releases.
# Corresponds to the JSON property `enableRules`
# @return [Array<Google::Apis::ServiceusageV1beta1::EnableRule>]
attr_accessor :enable_rules
Expand All @@ -1129,15 +1128,14 @@ class ConsumerPolicy
# @return [String]
attr_accessor :etag

# Output only. The resource name of the policy. We only allow consumer policy
# name as `default` for now: `projects/12345/consumerPolicies/default`, `folders/
# 12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`
# .
# Output only. The resource name of the policy. Only the `default` policy is
# supported: `projects/12345/consumerPolicies/default`, `folders/12345/
# consumerPolicies/default`, `organizations/12345/consumerPolicies/default`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

# The last-modified time.
# Output only. The time the policy was last updated.
# Corresponds to the JSON property `updateTime`
# @return [String]
attr_accessor :update_time
Expand All @@ -1148,7 +1146,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@annotations = args[:annotations] if args.key?(:annotations)
@create_time = args[:create_time] if args.key?(:create_time)
@enable_rules = args[:enable_rules] if args.key?(:enable_rules)
@etag = args[:etag] if args.key?(:etag)
@name = args[:name] if args.key?(:name)
Expand Down Expand Up @@ -1871,7 +1869,7 @@ def update!(**args)
end
end

# The consumer policy rule that defines usable services and service groups.
# The consumer policy rule that defines enabled services and groups.
class EnableRule
include Google::Apis::Core::Hashable

Expand All @@ -1880,15 +1878,8 @@ class EnableRule
# @return [String]
attr_accessor :enable_type

# DEPRECATED: Please use field `values`. Service group should have prefix `
# groups/`. The names of the service groups that are enabled (Not Implemented).
# Example: `groups/googleServices`.
# Corresponds to the JSON property `groups`
# @return [Array<String>]
attr_accessor :groups

# DEPRECATED: Please use field `values`. Service should have prefix `services/`.
# The names of the services that are enabled. Example: `storage.googleapis.com`.
# The names of the services that are enabled. Example: `services/storage.
# googleapis.com`.
# Corresponds to the JSON property `services`
# @return [Array<String>]
attr_accessor :services
Expand All @@ -1907,7 +1898,6 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@enable_type = args[:enable_type] if args.key?(:enable_type)
@groups = args[:groups] if args.key?(:groups)
@services = args[:services] if args.key?(:services)
@values = args[:values] if args.key?(:values)
end
Expand Down Expand Up @@ -2929,6 +2919,106 @@ def update!(**args)
end
end

# A message to group the analysis information.
class GoogleApiServiceusageV2alphaAnalysis
include Google::Apis::Core::Hashable

# An analysis result including blockers and warnings.
# Corresponds to the JSON property `analysisResult`
# @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaAnalysisResult]
attr_accessor :analysis_result

# Output only. The type of analysis.
# Corresponds to the JSON property `analysisType`
# @return [String]
attr_accessor :analysis_type

# Output only. The user friendly display name of the analysis type. E.g. service
# dependency analysis, service resource usage analysis, etc.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name

# The names of the service that has analysis result of warnings or blockers.
# Example: `services/storage.googleapis.com`.
# Corresponds to the JSON property `service`
# @return [String]
attr_accessor :service

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@analysis_result = args[:analysis_result] if args.key?(:analysis_result)
@analysis_type = args[:analysis_type] if args.key?(:analysis_type)
@display_name = args[:display_name] if args.key?(:display_name)
@service = args[:service] if args.key?(:service)
end
end

# An analysis result including blockers and warnings.
class GoogleApiServiceusageV2alphaAnalysisResult
include Google::Apis::Core::Hashable

# Blocking information that would prevent the policy changes at runtime.
# Corresponds to the JSON property `blockers`
# @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaImpact>]
attr_accessor :blockers

# Warning information indicating that the policy changes might be unsafe, but
# will not block the changes at runtime.
# Corresponds to the JSON property `warnings`
# @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaImpact>]
attr_accessor :warnings

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@blockers = args[:blockers] if args.key?(:blockers)
@warnings = args[:warnings] if args.key?(:warnings)
end
end

# Metadata for the `AnalyzeConsumerPolicy` method.
class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyMetadata
include Google::Apis::Core::Hashable

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
end
end

# The response of analyzing a consumer policy update.
class GoogleApiServiceusageV2alphaAnalyzeConsumerPolicyResponse
include Google::Apis::Core::Hashable

# The list of analyses returned from performing the intended policy update
# analysis. The analysis is grouped by service name and different analysis types.
# The empty analysis list means that the consumer policy can be updated without
# any warnings or blockers.
# Corresponds to the JSON property `analysis`
# @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2alphaAnalysis>]
attr_accessor :analysis

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@analysis = args[:analysis] if args.key?(:analysis)
end
end

# Consumer Policy is a set of rules that define what services or service groups
# can be used for a cloud resource hierarchy.
class GoogleApiServiceusageV2alphaConsumerPolicy
Expand Down Expand Up @@ -3008,6 +3098,44 @@ def update!(**args)
end
end

# A message to group impacts of updating a policy.
class GoogleApiServiceusageV2alphaImpact
include Google::Apis::Core::Hashable

# Output only. User friendly impact detail in a free form message.
# Corresponds to the JSON property `detail`
# @return [String]
attr_accessor :detail

# Output only. The type of impact.
# Corresponds to the JSON property `impactType`
# @return [String]
attr_accessor :impact_type

# The parent resource that the analysis is based on and the service name that
# the analysis is for. Example: `projects/100/services/compute.googleapis.com`,
# folders/101/services/compute.googleapis.com` and `organizations/102/services/
# compute.googleapis.com`. Usually, the parent resource here is same as the
# parent resource of the analyzed policy. However, for some analysis types, the
# parent can be different. For example, for resource existence analysis, if the
# parent resource of the analyzed policy is a folder or an organization, the
# parent resource here can still be the project that contains the resources.
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@detail = args[:detail] if args.key?(:detail)
@impact_type = args[:impact_type] if args.key?(:impact_type)
@parent = args[:parent] if args.key?(:parent)
end
end

# Metadata for the `UpdateConsumerPolicy` method.
class GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -3594,17 +3722,13 @@ class Impact
# @return [String]
attr_accessor :impact_type

# The parent resource that the analysis is based on and the service name that
# the analysis is for. Example: `projects/100/services/compute.googleapis.com`,
# folders/101/services/compute.googleapis.com` and `organizations/102/services/
# compute.googleapis.com`. Usually, the parent resource here is same as the
# parent resource of the analyzed policy. However, for some analysis types, the
# parent can be different. For example, for resource existence analysis, if the
# parent resource of the analyzed policy is a folder or an organization, the
# parent resource here can still be the project that contains the resources.
# Corresponds to the JSON property `parent`
# Output only. This field will be populated only for the `
# DEPENDENCY_MISSING_DEPENDENCIES` impact type. Example: `services/compute.
# googleapis.com`. Impact.detail will be in format : `missing service dependency:
# `missing_dependency`.`
# Corresponds to the JSON property `missingDependency`
# @return [String]
attr_accessor :parent
attr_accessor :missing_dependency

def initialize(**args)
update!(**args)
Expand All @@ -3614,7 +3738,7 @@ def initialize(**args)
def update!(**args)
@detail = args[:detail] if args.key?(:detail)
@impact_type = args[:impact_type] if args.key?(:impact_type)
@parent = args[:parent] if args.key?(:parent)
@missing_dependency = args[:missing_dependency] if args.key?(:missing_dependency)
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ServiceusageV1beta1
# Version of the google-apis-serviceusage_v1beta1 gem
GEM_VERSION = "0.77.0"
GEM_VERSION = "0.78.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20260423"
REVISION = "20260713"
end
end
end
Loading
Loading