diff --git a/api_names_out.yaml b/api_names_out.yaml index a0423db1883..54d57f6c4a2 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -40191,6 +40191,8 @@ "/apigee:v1/GoogleCloudApigeeV1AddonsConfig/connectorsPlatformConfig": connectors_platform_config "/apigee:v1/GoogleCloudApigeeV1AddonsConfig/integrationConfig": integration_config "/apigee:v1/GoogleCloudApigeeV1AddonsConfig/monetizationConfig": monetization_config +"/apigee:v1/GoogleCloudApigeeV1AdjustAppGroupBalanceRequest": google_cloud_apigee_v1_adjust_app_group_balance_request +"/apigee:v1/GoogleCloudApigeeV1AdjustAppGroupBalanceRequest/adjustment": adjustment "/apigee:v1/GoogleCloudApigeeV1AdjustDeveloperBalanceRequest": google_cloud_apigee_v1_adjust_developer_balance_request "/apigee:v1/GoogleCloudApigeeV1AdjustDeveloperBalanceRequest/adjustment": adjustment "/apigee:v1/GoogleCloudApigeeV1AdvancedApiOpsConfig": google_cloud_apigee_v1_advanced_api_ops_config @@ -40255,6 +40257,7 @@ "/apigee:v1/GoogleCloudApigeeV1ApiDoc/title": title "/apigee:v1/GoogleCloudApigeeV1ApiDoc/visibility": visibility "/apigee:v1/GoogleCloudApigeeV1ApiDocDocumentation": google_cloud_apigee_v1_api_doc_documentation +"/apigee:v1/GoogleCloudApigeeV1ApiDocDocumentation/asyncApiDocumentation": async_api_documentation "/apigee:v1/GoogleCloudApigeeV1ApiDocDocumentation/graphqlDocumentation": graphql_documentation "/apigee:v1/GoogleCloudApigeeV1ApiDocDocumentation/oasDocumentation": oas_documentation "/apigee:v1/GoogleCloudApigeeV1ApiDocDocumentationResponse": google_cloud_apigee_v1_api_doc_documentation_response @@ -40365,6 +40368,28 @@ "/apigee:v1/GoogleCloudApigeeV1ApiSecurityRuntimeConfig/revisionId": revision_id "/apigee:v1/GoogleCloudApigeeV1ApiSecurityRuntimeConfig/uid": uid "/apigee:v1/GoogleCloudApigeeV1ApiSecurityRuntimeConfig/updateTime": update_time +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtension": google_cloud_apigee_v1_apim_service_extension +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtension/createTime": create_time +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtension/extensionProcessor": extension_processor +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtension/extensions": extensions +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtension/extensions/extension": extension +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtension/lbForwardingRule": lb_forwarding_rule +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtension/name": name +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtension/network": network +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtension/networkConfigs": network_configs +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtension/networkConfigs/network_config": network_config +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtension/state": state +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtension/updateTime": update_time +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtensionExtension": google_cloud_apigee_v1_apim_service_extension_extension +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtensionExtension/failOpen": fail_open +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtensionExtension/hostname": hostname +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtensionExtension/matchCondition": match_condition +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtensionExtension/name": name +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtensionExtension/supportedEvents": supported_events +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtensionExtension/supportedEvents/supported_event": supported_event +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig": google_cloud_apigee_v1_apim_service_extension_network_config +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig/region": region +"/apigee:v1/GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig/subnet": subnet "/apigee:v1/GoogleCloudApigeeV1App": google_cloud_apigee_v1_app "/apigee:v1/GoogleCloudApigeeV1App/apiProducts": api_products "/apigee:v1/GoogleCloudApigeeV1App/apiProducts/api_product": api_product @@ -40393,6 +40418,7 @@ "/apigee:v1/GoogleCloudApigeeV1AppGroup/channelUri": channel_uri "/apigee:v1/GoogleCloudApigeeV1AppGroup/createdAt": created_at "/apigee:v1/GoogleCloudApigeeV1AppGroup/displayName": display_name +"/apigee:v1/GoogleCloudApigeeV1AppGroup/email": email "/apigee:v1/GoogleCloudApigeeV1AppGroup/lastModifiedAt": last_modified_at "/apigee:v1/GoogleCloudApigeeV1AppGroup/name": name "/apigee:v1/GoogleCloudApigeeV1AppGroup/organization": organization @@ -40427,6 +40453,21 @@ "/apigee:v1/GoogleCloudApigeeV1AppGroupAppKey/scopes": scopes "/apigee:v1/GoogleCloudApigeeV1AppGroupAppKey/scopes/scope": scope "/apigee:v1/GoogleCloudApigeeV1AppGroupAppKey/status": status +"/apigee:v1/GoogleCloudApigeeV1AppGroupBalance": google_cloud_apigee_v1_app_group_balance +"/apigee:v1/GoogleCloudApigeeV1AppGroupBalance/wallets": wallets +"/apigee:v1/GoogleCloudApigeeV1AppGroupBalance/wallets/wallet": wallet +"/apigee:v1/GoogleCloudApigeeV1AppGroupBalanceWallet": google_cloud_apigee_v1_app_group_balance_wallet +"/apigee:v1/GoogleCloudApigeeV1AppGroupBalanceWallet/balance": balance +"/apigee:v1/GoogleCloudApigeeV1AppGroupBalanceWallet/lastCreditTime": last_credit_time +"/apigee:v1/GoogleCloudApigeeV1AppGroupMonetizationConfig": google_cloud_apigee_v1_app_group_monetization_config +"/apigee:v1/GoogleCloudApigeeV1AppGroupMonetizationConfig/billingType": billing_type +"/apigee:v1/GoogleCloudApigeeV1AppGroupSubscription": google_cloud_apigee_v1_app_group_subscription +"/apigee:v1/GoogleCloudApigeeV1AppGroupSubscription/apiproduct": apiproduct +"/apigee:v1/GoogleCloudApigeeV1AppGroupSubscription/createdAt": created_at +"/apigee:v1/GoogleCloudApigeeV1AppGroupSubscription/endTime": end_time +"/apigee:v1/GoogleCloudApigeeV1AppGroupSubscription/lastModifiedAt": last_modified_at +"/apigee:v1/GoogleCloudApigeeV1AppGroupSubscription/name": name +"/apigee:v1/GoogleCloudApigeeV1AppGroupSubscription/startTime": start_time "/apigee:v1/GoogleCloudApigeeV1ArchiveDeployment": google_cloud_apigee_v1_archive_deployment "/apigee:v1/GoogleCloudApigeeV1ArchiveDeployment/createdAt": created_at "/apigee:v1/GoogleCloudApigeeV1ArchiveDeployment/gcsUri": gcs_uri @@ -40435,6 +40476,8 @@ "/apigee:v1/GoogleCloudApigeeV1ArchiveDeployment/name": name "/apigee:v1/GoogleCloudApigeeV1ArchiveDeployment/operation": operation "/apigee:v1/GoogleCloudApigeeV1ArchiveDeployment/updatedAt": updated_at +"/apigee:v1/GoogleCloudApigeeV1AsyncApiDocumentation": google_cloud_apigee_v1_async_api_documentation +"/apigee:v1/GoogleCloudApigeeV1AsyncApiDocumentation/spec": spec "/apigee:v1/GoogleCloudApigeeV1AsyncQuery": google_cloud_apigee_v1_async_query "/apigee:v1/GoogleCloudApigeeV1AsyncQuery/created": created "/apigee:v1/GoogleCloudApigeeV1AsyncQuery/envgroupHostname": envgroup_hostname @@ -40567,6 +40610,9 @@ "/apigee:v1/GoogleCloudApigeeV1Credential/scopes": scopes "/apigee:v1/GoogleCloudApigeeV1Credential/scopes/scope": scope "/apigee:v1/GoogleCloudApigeeV1Credential/status": status +"/apigee:v1/GoogleCloudApigeeV1CreditAppGroupBalanceRequest": google_cloud_apigee_v1_credit_app_group_balance_request +"/apigee:v1/GoogleCloudApigeeV1CreditAppGroupBalanceRequest/transactionAmount": transaction_amount +"/apigee:v1/GoogleCloudApigeeV1CreditAppGroupBalanceRequest/transactionId": transaction_id "/apigee:v1/GoogleCloudApigeeV1CreditDeveloperBalanceRequest": google_cloud_apigee_v1_credit_developer_balance_request "/apigee:v1/GoogleCloudApigeeV1CreditDeveloperBalanceRequest/transactionAmount": transaction_amount "/apigee:v1/GoogleCloudApigeeV1CreditDeveloperBalanceRequest/transactionId": transaction_id @@ -40905,6 +40951,7 @@ "/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupConfig/routingRules": routing_rules "/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupConfig/routingRules/routing_rule": routing_rule "/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupConfig/uid": uid +"/apigee:v1/GoogleCloudApigeeV1ExpireAppGroupSubscriptionRequest": google_cloud_apigee_v1_expire_app_group_subscription_request "/apigee:v1/GoogleCloudApigeeV1ExpireDeveloperSubscriptionRequest": google_cloud_apigee_v1_expire_developer_subscription_request "/apigee:v1/GoogleCloudApigeeV1Export": google_cloud_apigee_v1_export "/apigee:v1/GoogleCloudApigeeV1Export/created": created @@ -41071,10 +41118,18 @@ "/apigee:v1/GoogleCloudApigeeV1ListApiProxiesResponse": google_cloud_apigee_v1_list_api_proxies_response "/apigee:v1/GoogleCloudApigeeV1ListApiProxiesResponse/proxies": proxies "/apigee:v1/GoogleCloudApigeeV1ListApiProxiesResponse/proxies/proxy": proxy +"/apigee:v1/GoogleCloudApigeeV1ListApimServiceExtensionsResponse": google_cloud_apigee_v1_list_apim_service_extensions_response +"/apigee:v1/GoogleCloudApigeeV1ListApimServiceExtensionsResponse/apimServiceExtensions": apim_service_extensions +"/apigee:v1/GoogleCloudApigeeV1ListApimServiceExtensionsResponse/apimServiceExtensions/apim_service_extension": apim_service_extension +"/apigee:v1/GoogleCloudApigeeV1ListApimServiceExtensionsResponse/nextPageToken": next_page_token "/apigee:v1/GoogleCloudApigeeV1ListAppGroupAppsResponse": google_cloud_apigee_v1_list_app_group_apps_response "/apigee:v1/GoogleCloudApigeeV1ListAppGroupAppsResponse/appGroupApps": app_group_apps "/apigee:v1/GoogleCloudApigeeV1ListAppGroupAppsResponse/appGroupApps/app_group_app": app_group_app "/apigee:v1/GoogleCloudApigeeV1ListAppGroupAppsResponse/nextPageToken": next_page_token +"/apigee:v1/GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse": google_cloud_apigee_v1_list_app_group_subscriptions_response +"/apigee:v1/GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse/appGroupSubscriptions": app_group_subscriptions +"/apigee:v1/GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse/appGroupSubscriptions/app_group_subscription": app_group_subscription +"/apigee:v1/GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse/nextPageToken": next_page_token "/apigee:v1/GoogleCloudApigeeV1ListAppGroupsResponse": google_cloud_apigee_v1_list_app_groups_response "/apigee:v1/GoogleCloudApigeeV1ListAppGroupsResponse/appGroups": app_groups "/apigee:v1/GoogleCloudApigeeV1ListAppGroupsResponse/appGroups/app_group": app_group @@ -42086,6 +42141,21 @@ "/apigee:v1/apigee.organizations.analytics.datastores.test/parent": parent "/apigee:v1/apigee.organizations.analytics.datastores.update": update_organization_analytic_datastore "/apigee:v1/apigee.organizations.analytics.datastores.update/name": name +"/apigee:v1/apigee.organizations.apimServiceExtensions.create": create_organization_apim_service_extension +"/apigee:v1/apigee.organizations.apimServiceExtensions.create/apimServiceExtensionId": apim_service_extension_id +"/apigee:v1/apigee.organizations.apimServiceExtensions.create/parent": parent +"/apigee:v1/apigee.organizations.apimServiceExtensions.delete": delete_organization_apim_service_extension +"/apigee:v1/apigee.organizations.apimServiceExtensions.delete/name": name +"/apigee:v1/apigee.organizations.apimServiceExtensions.get": get_organization_apim_service_extension +"/apigee:v1/apigee.organizations.apimServiceExtensions.get/name": name +"/apigee:v1/apigee.organizations.apimServiceExtensions.list": list_organization_apim_service_extensions +"/apigee:v1/apigee.organizations.apimServiceExtensions.list/pageSize": page_size +"/apigee:v1/apigee.organizations.apimServiceExtensions.list/pageToken": page_token +"/apigee:v1/apigee.organizations.apimServiceExtensions.list/parent": parent +"/apigee:v1/apigee.organizations.apimServiceExtensions.patch": patch_organization_apim_service_extension +"/apigee:v1/apigee.organizations.apimServiceExtensions.patch/allowMissing": allow_missing +"/apigee:v1/apigee.organizations.apimServiceExtensions.patch/name": name +"/apigee:v1/apigee.organizations.apimServiceExtensions.patch/updateMask": update_mask "/apigee:v1/apigee.organizations.apiproducts.attributes": attributes_organization_apiproduct "/apigee:v1/apigee.organizations.apiproducts.attributes.delete": delete_organization_apiproduct_attribute "/apigee:v1/apigee.organizations.apiproducts.attributes.delete/name": name @@ -42211,20 +42281,40 @@ "/apigee:v1/apigee.organizations.appgroups.apps.update": update_organization_appgroup_app "/apigee:v1/apigee.organizations.appgroups.apps.update/action": action "/apigee:v1/apigee.organizations.appgroups.apps.update/name": name +"/apigee:v1/apigee.organizations.appgroups.balance.adjust": adjust_organization_appgroup_balance +"/apigee:v1/apigee.organizations.appgroups.balance.adjust/name": name +"/apigee:v1/apigee.organizations.appgroups.balance.credit": credit_organization_appgroup_balance +"/apigee:v1/apigee.organizations.appgroups.balance.credit/name": name "/apigee:v1/apigee.organizations.appgroups.create": create_organization_appgroup "/apigee:v1/apigee.organizations.appgroups.create/parent": parent "/apigee:v1/apigee.organizations.appgroups.delete": delete_organization_appgroup "/apigee:v1/apigee.organizations.appgroups.delete/name": name "/apigee:v1/apigee.organizations.appgroups.get": get_organization_appgroup "/apigee:v1/apigee.organizations.appgroups.get/name": name +"/apigee:v1/apigee.organizations.appgroups.getBalance": get_organization_appgroup_balance +"/apigee:v1/apigee.organizations.appgroups.getBalance/name": name +"/apigee:v1/apigee.organizations.appgroups.getMonetizationConfig": get_organization_appgroup_monetization_config +"/apigee:v1/apigee.organizations.appgroups.getMonetizationConfig/name": name "/apigee:v1/apigee.organizations.appgroups.list": list_organization_appgroups "/apigee:v1/apigee.organizations.appgroups.list/filter": filter "/apigee:v1/apigee.organizations.appgroups.list/pageSize": page_size "/apigee:v1/apigee.organizations.appgroups.list/pageToken": page_token "/apigee:v1/apigee.organizations.appgroups.list/parent": parent +"/apigee:v1/apigee.organizations.appgroups.subscriptions.create": create_organization_appgroup_subscription +"/apigee:v1/apigee.organizations.appgroups.subscriptions.create/parent": parent +"/apigee:v1/apigee.organizations.appgroups.subscriptions.expire": expire_organization_appgroup_subscription +"/apigee:v1/apigee.organizations.appgroups.subscriptions.expire/name": name +"/apigee:v1/apigee.organizations.appgroups.subscriptions.get": get_organization_appgroup_subscription +"/apigee:v1/apigee.organizations.appgroups.subscriptions.get/name": name +"/apigee:v1/apigee.organizations.appgroups.subscriptions.list": list_organization_appgroup_subscriptions +"/apigee:v1/apigee.organizations.appgroups.subscriptions.list/pageSize": page_size +"/apigee:v1/apigee.organizations.appgroups.subscriptions.list/pageToken": page_token +"/apigee:v1/apigee.organizations.appgroups.subscriptions.list/parent": parent "/apigee:v1/apigee.organizations.appgroups.update": update_organization_appgroup "/apigee:v1/apigee.organizations.appgroups.update/action": action "/apigee:v1/apigee.organizations.appgroups.update/name": name +"/apigee:v1/apigee.organizations.appgroups.updateMonetizationConfig": update_organization_appgroup_monetization_config +"/apigee:v1/apigee.organizations.appgroups.updateMonetizationConfig/name": name "/apigee:v1/apigee.organizations.apps.get": get_organization_app "/apigee:v1/apigee.organizations.apps.get/name": name "/apigee:v1/apigee.organizations.apps.list": list_organization_apps diff --git a/generated/google-apis-apigee_v1/CHANGELOG.md b/generated/google-apis-apigee_v1/CHANGELOG.md index d67cc03fde2..5a732598111 100644 --- a/generated/google-apis-apigee_v1/CHANGELOG.md +++ b/generated/google-apis-apigee_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-apigee_v1 +### v0.118.0 (2025-12-21) + +* Regenerated from discovery document revision 20251216 + ### v0.117.0 (2025-12-07) * Regenerated from discovery document revision 20251125 diff --git a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/classes.rb b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/classes.rb index 4f68172a897..42d62620e4a 100644 --- a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/classes.rb +++ b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/classes.rb @@ -358,6 +358,25 @@ def update!(**args) end end + # Request for AdjustAppGroupBalance. + class GoogleCloudApigeeV1AdjustAppGroupBalanceRequest + include Google::Apis::Core::Hashable + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `adjustment` + # @return [Google::Apis::ApigeeV1::GoogleTypeMoney] + attr_accessor :adjustment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @adjustment = args[:adjustment] if args.key?(:adjustment) + end + end + # Request for AdjustDeveloperBalance. class GoogleCloudApigeeV1AdjustDeveloperBalanceRequest include Google::Apis::Core::Hashable @@ -790,6 +809,11 @@ def update!(**args) class GoogleCloudApigeeV1ApiDocDocumentation include Google::Apis::Core::Hashable + # AsyncAPI Specification documentation for a catalog item. + # Corresponds to the JSON property `asyncApiDocumentation` + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncApiDocumentation] + attr_accessor :async_api_documentation + # GraphQL documentation for a catalog item. # Corresponds to the JSON property `graphqlDocumentation` # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphqlDocumentation] @@ -806,6 +830,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @async_api_documentation = args[:async_api_documentation] if args.key?(:async_api_documentation) @graphql_documentation = args[:graphql_documentation] if args.key?(:graphql_documentation) @oas_documentation = args[:oas_documentation] if args.key?(:oas_documentation) end @@ -1471,6 +1496,160 @@ def update!(**args) end end + # APIM Service Extension is a resource under an Apigee Organization that is used + # to create APIM Service Extension to route traffic to existing X instances. + class GoogleCloudApigeeV1ApimServiceExtension + include Google::Apis::Core::Hashable + + # Output only. The time that this resource was created on the server. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Required. Name of the proxy deployed in the Apigee X instance. + # Corresponds to the JSON property `extensionProcessor` + # @return [String] + attr_accessor :extension_processor + + # Optional. List of extensions that are part of the service extension. Refer to + # https://cloud.google.com/service-extensions/docs/quotas#limits for any limits. + # Corresponds to the JSON property `extensions` + # @return [Array] + attr_accessor :extensions + + # Required. Name of the Google Cloud LB forwarding rule. Format: projects/` + # project`/regions/`region`/forwardingRules/`forwarding_rule` projects/`project`/ + # global/forwardingRules/`forwarding_rule` + # Corresponds to the JSON property `lbForwardingRule` + # @return [String] + attr_accessor :lb_forwarding_rule + + # Identifier. unique name of the APIM service extension. The name must conform + # with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and + # can have a maximum length of 63 characters. Additionally, the first character + # must be a letter and the last a letter or a number. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Required. The network where the forwarding rule is created. Format: projects/` + # project`/global/networks/`network` + # Corresponds to the JSON property `network` + # @return [String] + attr_accessor :network + + # Required. List of network configurations for the APIM service extension. + # Corresponds to the JSON property `networkConfigs` + # @return [Array] + attr_accessor :network_configs + + # Output only. State of the APIM service extension. Values other than `ACTIVE` + # mean the resource is not ready to use. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output only. The time that this resource was updated on the server. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @extension_processor = args[:extension_processor] if args.key?(:extension_processor) + @extensions = args[:extensions] if args.key?(:extensions) + @lb_forwarding_rule = args[:lb_forwarding_rule] if args.key?(:lb_forwarding_rule) + @name = args[:name] if args.key?(:name) + @network = args[:network] if args.key?(:network) + @network_configs = args[:network_configs] if args.key?(:network_configs) + @state = args[:state] if args.key?(:state) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # Extension configuration for Apigee extension processor service extension. + class GoogleCloudApigeeV1ApimServiceExtensionExtension + include Google::Apis::Core::Hashable + + # Optional. Whether this request should fail open. + # Corresponds to the JSON property `failOpen` + # @return [Boolean] + attr_accessor :fail_open + alias_method :fail_open?, :fail_open + + # Required. One of the hostnames of Apigee EnvGroup where the proxy is deployed. + # This hostname (i.e FDQN) will be used to route traffic from the specified + # forwarding rule to the environment in Apigee X instance where the proxy is + # deployed for handling extension traffic. Format: ^([a-zA-Z0-9. _-])+$ + # Corresponds to the JSON property `hostname` + # @return [String] + attr_accessor :hostname + + # Optional. Match Condition for CEL expression. Refer to https://cloud.google. + # com/service-extensions/docs/cel-matcher-language-reference for more details. + # Corresponds to the JSON property `matchCondition` + # @return [String] + attr_accessor :match_condition + + # Required. Name of the `LbTrafficExtension` resource. The name must conform + # with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and + # can have a maximum length of 63 characters. Additionally, the first character + # must be a letter and the last a letter or a number. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Optional. Supported events for the Service Extension. If not specified, all + # events are supported. + # Corresponds to the JSON property `supportedEvents` + # @return [Array] + attr_accessor :supported_events + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fail_open = args[:fail_open] if args.key?(:fail_open) + @hostname = args[:hostname] if args.key?(:hostname) + @match_condition = args[:match_condition] if args.key?(:match_condition) + @name = args[:name] if args.key?(:name) + @supported_events = args[:supported_events] if args.key?(:supported_events) + end + end + + # Network configuration for the APIM service extension. + class GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig + include Google::Apis::Core::Hashable + + # Required. The region for the PSC NEG. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # Required. The subnet for the PSC NEG. Format: projects/`project`/regions/` + # region`/subnetworks/`subnet` + # Corresponds to the JSON property `subnet` + # @return [String] + attr_accessor :subnet + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @region = args[:region] if args.key?(:region) + @subnet = args[:subnet] if args.key?(:subnet) + end + end + # class GoogleCloudApigeeV1App include Google::Apis::Core::Hashable @@ -1616,6 +1795,11 @@ class GoogleCloudApigeeV1AppGroup # @return [String] attr_accessor :display_name + # Optional. Email of the AppGroup. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + # Output only. Modified time as milliseconds since epoch. # Corresponds to the JSON property `lastModifiedAt` # @return [Fixnum] @@ -1651,6 +1835,7 @@ def update!(**args) @channel_uri = args[:channel_uri] if args.key?(:channel_uri) @created_at = args[:created_at] if args.key?(:created_at) @display_name = args[:display_name] if args.key?(:display_name) + @email = args[:email] if args.key?(:email) @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at) @name = args[:name] if args.key?(:name) @organization = args[:organization] if args.key?(:organization) @@ -1824,6 +2009,125 @@ def update!(**args) end end + # AppGroupBalance for the AppGroup. + class GoogleCloudApigeeV1AppGroupBalance + include Google::Apis::Core::Hashable + + # Output only. List of all wallets. Each individual wallet stores the account + # balance for a particular currency. + # Corresponds to the JSON property `wallets` + # @return [Array] + attr_accessor :wallets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @wallets = args[:wallets] if args.key?(:wallets) + end + end + + # Wallet used to manage an account balance for a particular currency. + class GoogleCloudApigeeV1AppGroupBalanceWallet + include Google::Apis::Core::Hashable + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `balance` + # @return [Google::Apis::ApigeeV1::GoogleTypeMoney] + attr_accessor :balance + + # Output only. Time at which the AppGroup last added credit to the account in + # milliseconds since epoch. + # Corresponds to the JSON property `lastCreditTime` + # @return [Fixnum] + attr_accessor :last_credit_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @balance = args[:balance] if args.key?(:balance) + @last_credit_time = args[:last_credit_time] if args.key?(:last_credit_time) + end + end + + # Monetization configuration for the AppGroup. + class GoogleCloudApigeeV1AppGroupMonetizationConfig + include Google::Apis::Core::Hashable + + # Required. Billing type. + # Corresponds to the JSON property `billingType` + # @return [String] + attr_accessor :billing_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @billing_type = args[:billing_type] if args.key?(:billing_type) + end + end + + # AppGroup Subscription details. + class GoogleCloudApigeeV1AppGroupSubscription + include Google::Apis::Core::Hashable + + # Required. Name of the API product for which the appgroup is purchasing a + # subscription. + # Corresponds to the JSON property `apiproduct` + # @return [String] + attr_accessor :apiproduct + + # Output only. Time when the API product subscription was created in + # milliseconds since epoch. + # Corresponds to the JSON property `createdAt` + # @return [Fixnum] + attr_accessor :created_at + + # Output only. Time when the API product subscription ends in milliseconds since + # epoch. + # Corresponds to the JSON property `endTime` + # @return [Fixnum] + attr_accessor :end_time + + # Output only. Time when the API product subscription was last modified in + # milliseconds since epoch. + # Corresponds to the JSON property `lastModifiedAt` + # @return [Fixnum] + attr_accessor :last_modified_at + + # Output only. Name of the API product subscription. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. Time when the API product subscription starts in milliseconds + # since epoch. + # Corresponds to the JSON property `startTime` + # @return [Fixnum] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @apiproduct = args[:apiproduct] if args.key?(:apiproduct) + @created_at = args[:created_at] if args.key?(:created_at) + @end_time = args[:end_time] if args.key?(:end_time) + @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at) + @name = args[:name] if args.key?(:name) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + # Archive Deployment information. class GoogleCloudApigeeV1ArchiveDeployment include Google::Apis::Core::Hashable @@ -1884,6 +2188,25 @@ def update!(**args) end end + # AsyncAPI Specification documentation for a catalog item. + class GoogleCloudApigeeV1AsyncApiDocumentation + include Google::Apis::Core::Hashable + + # Documentation file contents for a catalog item. + # Corresponds to the JSON property `spec` + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile] + attr_accessor :spec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @spec = args[:spec] if args.key?(:spec) + end + end + # class GoogleCloudApigeeV1AsyncQuery include Google::Apis::Core::Hashable @@ -2812,6 +3135,33 @@ def update!(**args) end end + # Request for CreditAppGroupBalance. + class GoogleCloudApigeeV1CreditAppGroupBalanceRequest + include Google::Apis::Core::Hashable + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `transactionAmount` + # @return [Google::Apis::ApigeeV1::GoogleTypeMoney] + attr_accessor :transaction_amount + + # Required. Each transaction_id uniquely identifies a credit balance request. If + # multiple requests are received with the same transaction_id, only one of them + # will be considered. + # Corresponds to the JSON property `transactionId` + # @return [String] + attr_accessor :transaction_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @transaction_amount = args[:transaction_amount] if args.key?(:transaction_amount) + @transaction_id = args[:transaction_id] if args.key?(:transaction_id) + end + end + # Request for CreditDeveloperBalance. class GoogleCloudApigeeV1CreditDeveloperBalanceRequest include Google::Apis::Core::Hashable @@ -5011,6 +5361,19 @@ def update!(**args) end end + # Request for ExpireAppGroupSubscription. + class GoogleCloudApigeeV1ExpireAppGroupSubscriptionRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Request for ExpireDeveloperSubscription. class GoogleCloudApigeeV1ExpireDeveloperSubscriptionRequest include Google::Apis::Core::Hashable @@ -6227,6 +6590,32 @@ def update!(**args) end end + # Response for list service extensions. + class GoogleCloudApigeeV1ListApimServiceExtensionsResponse + include Google::Apis::Core::Hashable + + # service extension in a given organization. + # Corresponds to the JSON property `apimServiceExtensions` + # @return [Array] + attr_accessor :apim_service_extensions + + # Page token that you can include in an `ListApimServiceExtensions` request to + # retrieve the next page. If omitted, no subsequent pages exist. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @apim_service_extensions = args[:apim_service_extensions] if args.key?(:apim_service_extensions) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Response for ListAppGroupApps class GoogleCloudApigeeV1ListAppGroupAppsResponse include Google::Apis::Core::Hashable @@ -6253,6 +6642,32 @@ def update!(**args) end end + # Response for ListAppGroupSubscriptions. + class GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse + include Google::Apis::Core::Hashable + + # The list of subscriptions for an AppGroup. + # Corresponds to the JSON property `appGroupSubscriptions` + # @return [Array] + attr_accessor :app_group_subscriptions + + # Value that can be sent as `pageToken` to retrieve the next page of content. If + # this field is omitted, there are no subsequent pages. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_group_subscriptions = args[:app_group_subscriptions] if args.key?(:app_group_subscriptions) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # ListAppGroupsResponse contains the 0 or more AppGroups, along with the # optional page token and the total count of apps. class GoogleCloudApigeeV1ListAppGroupsResponse diff --git a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/gem_version.rb b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/gem_version.rb index 4114ab33305..3e2e3581110 100644 --- a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/gem_version.rb +++ b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module ApigeeV1 # Version of the google-apis-apigee_v1 gem - GEM_VERSION = "0.117.0" + GEM_VERSION = "0.118.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 = "20251125" + REVISION = "20251216" end end end diff --git a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/representations.rb b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/representations.rb index e8f73347f26..f4668dd26bb 100644 --- a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/representations.rb +++ b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/representations.rb @@ -88,6 +88,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1AdjustAppGroupBalanceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1AdjustDeveloperBalanceRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -196,6 +202,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1ApimServiceExtension + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1ApimServiceExtensionExtension + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1App class Representation < Google::Apis::Core::JsonRepresentation; end @@ -220,12 +244,42 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1AppGroupBalance + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1AppGroupBalanceWallet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1AppGroupMonetizationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1AppGroupSubscription + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1ArchiveDeployment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1AsyncApiDocumentation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1AsyncQuery class Representation < Google::Apis::Core::JsonRepresentation; end @@ -382,6 +436,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1CreditAppGroupBalanceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1CreditDeveloperBalanceRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -652,6 +712,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1ExpireAppGroupSubscriptionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1ExpireDeveloperSubscriptionRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -862,12 +928,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1ListApimServiceExtensionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1ListAppGroupAppsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1ListAppGroupsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2098,6 +2176,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudApigeeV1AdjustAppGroupBalanceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :adjustment, as: 'adjustment', class: Google::Apis::ApigeeV1::GoogleTypeMoney, decorator: Google::Apis::ApigeeV1::GoogleTypeMoney::Representation + + end + end + class GoogleCloudApigeeV1AdjustDeveloperBalanceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2200,6 +2286,8 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudApigeeV1ApiDocDocumentation # @private class Representation < Google::Apis::Core::JsonRepresentation + property :async_api_documentation, as: 'asyncApiDocumentation', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncApiDocumentation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncApiDocumentation::Representation + property :graphql_documentation, as: 'graphqlDocumentation', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphqlDocumentation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphqlDocumentation::Representation property :oas_documentation, as: 'oasDocumentation', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OasDocumentation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OasDocumentation::Representation @@ -2340,6 +2428,42 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudApigeeV1ApimServiceExtension + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :extension_processor, as: 'extensionProcessor' + collection :extensions, as: 'extensions', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtensionExtension, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtensionExtension::Representation + + property :lb_forwarding_rule, as: 'lbForwardingRule' + property :name, as: 'name' + property :network, as: 'network' + collection :network_configs, as: 'networkConfigs', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig::Representation + + property :state, as: 'state' + property :update_time, as: 'updateTime' + end + end + + class GoogleCloudApigeeV1ApimServiceExtensionExtension + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fail_open, as: 'failOpen' + property :hostname, as: 'hostname' + property :match_condition, as: 'matchCondition' + property :name, as: 'name' + collection :supported_events, as: 'supportedEvents' + end + end + + class GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :region, as: 'region' + property :subnet, as: 'subnet' + end + end + class GoogleCloudApigeeV1App # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2374,6 +2498,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :channel_uri, as: 'channelUri' property :created_at, :numeric_string => true, as: 'createdAt' property :display_name, as: 'displayName' + property :email, as: 'email' property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt' property :name, as: 'name' property :organization, as: 'organization' @@ -2418,6 +2543,42 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudApigeeV1AppGroupBalance + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :wallets, as: 'wallets', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalanceWallet, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalanceWallet::Representation + + end + end + + class GoogleCloudApigeeV1AppGroupBalanceWallet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :balance, as: 'balance', class: Google::Apis::ApigeeV1::GoogleTypeMoney, decorator: Google::Apis::ApigeeV1::GoogleTypeMoney::Representation + + property :last_credit_time, :numeric_string => true, as: 'lastCreditTime' + end + end + + class GoogleCloudApigeeV1AppGroupMonetizationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :billing_type, as: 'billingType' + end + end + + class GoogleCloudApigeeV1AppGroupSubscription + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :apiproduct, as: 'apiproduct' + property :created_at, :numeric_string => true, as: 'createdAt' + property :end_time, :numeric_string => true, as: 'endTime' + property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt' + property :name, as: 'name' + property :start_time, :numeric_string => true, as: 'startTime' + end + end + class GoogleCloudApigeeV1ArchiveDeployment # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2430,6 +2591,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudApigeeV1AsyncApiDocumentation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :spec, as: 'spec', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile::Representation + + end + end + class GoogleCloudApigeeV1AsyncQuery # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2694,6 +2863,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudApigeeV1CreditAppGroupBalanceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :transaction_amount, as: 'transactionAmount', class: Google::Apis::ApigeeV1::GoogleTypeMoney, decorator: Google::Apis::ApigeeV1::GoogleTypeMoney::Representation + + property :transaction_id, as: 'transactionId' + end + end + class GoogleCloudApigeeV1CreditDeveloperBalanceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3247,6 +3425,12 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudApigeeV1ExpireAppGroupSubscriptionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class GoogleCloudApigeeV1ExpireDeveloperSubscriptionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3586,6 +3770,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudApigeeV1ListApimServiceExtensionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :apim_service_extensions, as: 'apimServiceExtensions', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class GoogleCloudApigeeV1ListAppGroupAppsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3595,6 +3788,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :app_group_subscriptions, as: 'appGroupSubscriptions', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class GoogleCloudApigeeV1ListAppGroupsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/service.rb b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/service.rb index bf33ada6ac2..efa00711d28 100644 --- a/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/service.rb +++ b/generated/google-apis-apigee_v1/lib/google/apis/apigee_v1/service.rb @@ -828,6 +828,191 @@ def update_organization_analytic_datastore(name, google_cloud_apigee_v1_datastor execute_or_queue_command(command, &block) end + # Creates an APIM ServiceExtension in an organization. + # @param [String] parent + # Required. Name of the organization in which the service extension will be + # created. Use the following structure in your request: `organizations/`org`` + # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension] google_cloud_apigee_v1_apim_service_extension_object + # @param [String] apim_service_extension_id + # Optional. ID used to uniquely identify of the service extension. It must + # conform with RFC-1034, is restricted to lower-cased letters, numbers and + # hyphens, and can have a maximum length of 63 characters. Additionally, the + # first character must be a letter and the last a letter or a number. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_organization_apim_service_extension(parent, google_cloud_apigee_v1_apim_service_extension_object = nil, apim_service_extension_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/apimServiceExtensions', options) + command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension::Representation + command.request_object = google_cloud_apigee_v1_apim_service_extension_object + command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['apimServiceExtensionId'] = apim_service_extension_id unless apim_service_extension_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes APIM service extension from an organization. + # @param [String] name + # Required. Name of the service extension. Use the following structure in your + # request: `organizations/`org`/apimServiceExtensions/`extension_id`` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_organization_apim_service_extension(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets APIM service extension details. + # @param [String] name + # Required. Name of the service extension. Use the following structure in your + # request: `organizations/`org`/apimServiceExtensions/`extension_id`` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_apim_service_extension(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all APIM service extensions in an organization. + # @param [String] parent + # Required. Name of the organization for which to list the service extension. + # Use the following structure in your request: `organizations/`org`/ + # apimServiceExtensions` + # @param [Fixnum] page_size + # Optional. Maximum number of items to return. If unspecified, at most 25 + # service extension will be returned. + # @param [String] page_token + # Optional. Page token, returned from a previous `ListApimServiceExtensions` + # call, that you can use to retrieve the next page. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApimServiceExtensionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApimServiceExtensionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_organization_apim_service_extensions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/apimServiceExtensions', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApimServiceExtensionsResponse::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApimServiceExtensionsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates an APIM service extension in an organization. + # @param [String] name + # Identifier. unique name of the APIM service extension. The name must conform + # with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and + # can have a maximum length of 63 characters. Additionally, the first character + # must be a letter and the last a letter or a number. + # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension] google_cloud_apigee_v1_apim_service_extension_object + # @param [Boolean] allow_missing + # Optional. If set to true, and the service extension is not found, a new + # service extension will be created. In this situation, `update_mask` is ignored. + # @param [String] update_mask + # Optional. The list of fields to update. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_organization_apim_service_extension(name, google_cloud_apigee_v1_apim_service_extension_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension::Representation + command.request_object = google_cloud_apigee_v1_apim_service_extension_object + command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['allowMissing'] = allow_missing unless allow_missing.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Updates or creates API product attributes. This API **replaces** the current # list of attributes with the attributes specified in the request body. In this # way, you can update existing attributes, add new attributes, or delete @@ -2480,6 +2665,69 @@ def get_organization_appgroup(name, fields: nil, quota_user: nil, options: nil, execute_or_queue_command(command, &block) end + # Gets the account balance for the AppGroup. + # @param [String] name + # Required. Account balance for the AppGroup. Use the following structure in + # your request: `organizations/`org`/appgroups/`app_group`/balance` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_appgroup_balance(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the monetization configuration for the AppGroup. + # @param [String] name + # Required. Monetization configuration for the AppGroup. Use the following + # structure in your request: `organizations/`org`/appgroups/`app_group`/ + # monetizationConfig` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_appgroup_monetization_config(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Lists all AppGroups in an organization. A maximum of 1000 AppGroups are # returned in the response if PageSize is not specified, or if the PageSize is # greater than 1000. @@ -2568,6 +2816,41 @@ def update_organization_appgroup(name, google_cloud_apigee_v1_app_group_object = execute_or_queue_command(command, &block) end + # Updates the monetization configuration for the AppGroup. + # @param [String] name + # Required. Monetization configuration for the AppGroup. Use the following + # structure in your request: `organizations/`org`/appgroups/`app_group`/ + # monetizationConfig` + # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig] google_cloud_apigee_v1_app_group_monetization_config_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_organization_appgroup_monetization_config(name, google_cloud_apigee_v1_app_group_monetization_config_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/{+name}', options) + command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig::Representation + command.request_object = google_cloud_apigee_v1_app_group_monetization_config_object + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates an app and associates it with an AppGroup. This API associates the # AppGroup app with the specified API product and auto-generates an API key for # the app to use in calls to API proxies inside that API product. The `name` is @@ -2982,6 +3265,219 @@ def update_organization_appgroup_app_key_apiproduct_app_group_app_key_api_produc execute_or_queue_command(command, &block) end + # Adjust the prepaid balance for the AppGroup. This API will be used in + # scenarios where the AppGroup has been under-charged or over-charged. + # @param [String] name + # Required. Account balance for the AppGroup. Use the following structure in + # your request: `organizations/`org`/appgroups/`app_group`/balance` + # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdjustAppGroupBalanceRequest] google_cloud_apigee_v1_adjust_app_group_balance_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def adjust_organization_appgroup_balance(name, google_cloud_apigee_v1_adjust_app_group_balance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:adjust', options) + command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdjustAppGroupBalanceRequest::Representation + command.request_object = google_cloud_apigee_v1_adjust_app_group_balance_request_object + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Credits the account balance for the AppGroup. + # @param [String] name + # Required. Account balance for the AppGroup. Use the following structure in + # your request: `organizations/`org`/appgroups/`app_group`/balance` + # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CreditAppGroupBalanceRequest] google_cloud_apigee_v1_credit_app_group_balance_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def credit_organization_appgroup_balance(name, google_cloud_apigee_v1_credit_app_group_balance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:credit', options) + command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CreditAppGroupBalanceRequest::Representation + command.request_object = google_cloud_apigee_v1_credit_app_group_balance_request_object + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a subscription to an API product. + # @param [String] parent + # Required. Name of the appgroup that is purchasing a subscription to the API + # product. Use the following structure in your request: `organizations/`org`/ + # appgroups/`appgroup`` + # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription] google_cloud_apigee_v1_app_group_subscription_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_organization_appgroup_subscription(parent, google_cloud_apigee_v1_app_group_subscription_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/subscriptions', options) + command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription::Representation + command.request_object = google_cloud_apigee_v1_app_group_subscription_object + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Expires an API product subscription immediately. + # @param [String] name + # Required. Name of the API product subscription. Use the following structure in + # your request: `organizations/`org`/appgroups/`appgroup`/subscriptions/` + # subscription`` + # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExpireAppGroupSubscriptionRequest] google_cloud_apigee_v1_expire_app_group_subscription_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def expire_organization_appgroup_subscription(name, google_cloud_apigee_v1_expire_app_group_subscription_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:expire', options) + command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExpireAppGroupSubscriptionRequest::Representation + command.request_object = google_cloud_apigee_v1_expire_app_group_subscription_request_object + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Get an api product subscription for an appgroup. + # @param [String] name + # Required. The name of the AppGroupSubscription to retrieve. Format: ` + # organizations/`org`/appgroups/`appgroup`/subscriptions/`subscription`` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_appgroup_subscription(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # List all api product subscriptions for an appgroup. + # @param [String] parent + # Required. Name of the appgroup. Use the following structure in your request: ` + # organizations/`org`/appgroups/`appgroup`` + # @param [Fixnum] page_size + # Optional. The maximum number of subscriptions to return. The service may + # return fewer than this value. If unspecified, at most 100 subscriptions will + # be returned. The maximum value is 1000; values above 1000 will be coerced to + # 1000. + # @param [String] page_token + # Optional. A page token, received from a previous `ListAppGroupSubscriptions` + # call. Provide this to retrieve the subsequent page. When paginating, all other + # parameters provided to `ListAppGroupSubscriptions` must match the call that + # provided the page token. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_organization_appgroup_subscriptions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/subscriptions', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Gets the app profile for the specified app ID. # @param [String] name # Required. App ID in the following format: `organizations/`org`/apps/`app``