google-apis-apigee_v1 0.99.0 → 0.100.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cb1a0a1c2305a2357a277904a24f5d7a1a0d3bef644122240ba93e591871f78
4
- data.tar.gz: cf99ed813d40be8213727368fa23021453983031d54ce5bf9ef1bcfdad41df65
3
+ metadata.gz: a58f6d39e78e30d00b9df77b8332435302ee12db4c446ce8ee2f301c555ccf9b
4
+ data.tar.gz: c953f8579564089b68cb2cdcabe6b5b02f84fa97d8295b7024d170e78fbe5109
5
5
  SHA512:
6
- metadata.gz: bf1900da5eec96a337e0fda33fd0a46a7fae7f2c85cdfa28e7948c56cc6e6720c64e82b0831a2892dddce206e9a7d8ed606cdae961bf9da3fd92323b355efde9
7
- data.tar.gz: d05f3ec4e20b25d514504ed341fe02416ea55face0c56aee93b36c688202751f6e84db4d85cec066fe0c87ba64910a8d097ee3089371d37c687b93478fc55bdd
6
+ metadata.gz: 8fc52d798d033ab91edc66a4629d1b336780a0995b0a2f35922bcedc4fb5fc498dd78ed18f2b9511fb4a9cee126b5bb8f8182bf46e274bf2c9d2af9148a66d23
7
+ data.tar.gz: 20fa89ff044a7bf77c89f306221b176e3895053162a66cacf510d4faeb3bed8b786d8c521b89b25a3f55ec799405c3b19bb7af1357a8649ce5207ff6ed253880
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.100.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250214
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.99.0 (2024-12-22)
4
9
 
5
10
  * Regenerated from discovery document revision 20241213
@@ -587,6 +587,43 @@ module Google
587
587
  end
588
588
  end
589
589
 
590
+ # Session carries the debug session id and its creation time.
591
+ class GoogleCloudApigeeV1ApiDebugSession
592
+ include Google::Apis::Core::Hashable
593
+
594
+ # The revision ID of the deployed API proxy.
595
+ # Corresponds to the JSON property `apiProxyRevisionId`
596
+ # @return [String]
597
+ attr_accessor :api_proxy_revision_id
598
+
599
+ # The first transaction creation timestamp in millisecond, recorded by UAP.
600
+ # Corresponds to the JSON property `createTime`
601
+ # @return [String]
602
+ attr_accessor :create_time
603
+
604
+ # The environment ID of the deployed API proxy.
605
+ # Corresponds to the JSON property `environmentId`
606
+ # @return [String]
607
+ attr_accessor :environment_id
608
+
609
+ # The debug session ID.
610
+ # Corresponds to the JSON property `id`
611
+ # @return [String]
612
+ attr_accessor :id
613
+
614
+ def initialize(**args)
615
+ update!(**args)
616
+ end
617
+
618
+ # Update properties of this object
619
+ def update!(**args)
620
+ @api_proxy_revision_id = args[:api_proxy_revision_id] if args.key?(:api_proxy_revision_id)
621
+ @create_time = args[:create_time] if args.key?(:create_time)
622
+ @environment_id = args[:environment_id] if args.key?(:environment_id)
623
+ @id = args[:id] if args.key?(:id)
624
+ end
625
+ end
626
+
590
627
  # `ApiDoc` represents an API catalog item. Catalog items are used in two ways in
591
628
  # a portal: - Users can browse and interact with a visual representation of the
592
629
  # API documentation - The `api_product_name` field provides a link to a backing [
@@ -2012,12 +2049,12 @@ module Google
2012
2049
  class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest
2013
2050
  include Google::Apis::Core::Hashable
2014
2051
 
2015
- # An array of resource messages.
2052
+ # Message for the array of resources. For Apigee, the proxies are resources.
2016
2053
  # Corresponds to the JSON property `include`
2017
2054
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray]
2018
2055
  attr_accessor :include
2019
2056
 
2020
- # Message for include_all option.
2057
+ # Message for include_all_resources option.
2021
2058
  # Corresponds to the JSON property `includeAllResources`
2022
2059
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll]
2023
2060
  attr_accessor :include_all_resources
@@ -2061,7 +2098,7 @@ module Google
2061
2098
  end
2062
2099
  end
2063
2100
 
2064
- # Message for include_all option.
2101
+ # Message for include_all_resources option.
2065
2102
  class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll
2066
2103
  include Google::Apis::Core::Hashable
2067
2104
 
@@ -2074,7 +2111,7 @@ module Google
2074
2111
  end
2075
2112
  end
2076
2113
 
2077
- # An array of resource messages.
2114
+ # Message for the array of resources. For Apigee, the proxies are resources.
2078
2115
  class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray
2079
2116
  include Google::Apis::Core::Hashable
2080
2117
 
@@ -5852,6 +5889,33 @@ module Google
5852
5889
  end
5853
5890
  end
5854
5891
 
5892
+ # Response for ListApiDebugSessions.
5893
+ class GoogleCloudApigeeV1ListApiDebugSessionsResponse
5894
+ include Google::Apis::Core::Hashable
5895
+
5896
+ # Page token that you can include in a ListApiDebugSessionsRequest to retrieve
5897
+ # the next page. If omitted, no subsequent pages exist.
5898
+ # Corresponds to the JSON property `nextPageToken`
5899
+ # @return [String]
5900
+ attr_accessor :next_page_token
5901
+
5902
+ # Session info that includes debug session ID, environment ID, api proxy
5903
+ # revision ID and the first transaction creation timestamp.
5904
+ # Corresponds to the JSON property `sessions`
5905
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDebugSession>]
5906
+ attr_accessor :sessions
5907
+
5908
+ def initialize(**args)
5909
+ update!(**args)
5910
+ end
5911
+
5912
+ # Update properties of this object
5913
+ def update!(**args)
5914
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5915
+ @sessions = args[:sessions] if args.key?(:sessions)
5916
+ end
5917
+ end
5918
+
5855
5919
  #
5856
5920
  class GoogleCloudApigeeV1ListApiDocsResponse
5857
5921
  include Google::Apis::Core::Hashable
@@ -9938,7 +10002,7 @@ module Google
9938
10002
  # @return [Fixnum]
9939
10003
  attr_accessor :score
9940
10004
 
9941
- # The severity of the assessment.
10005
+ #
9942
10006
  # Corresponds to the JSON property `severity`
9943
10007
  # @return [String]
9944
10008
  attr_accessor :severity
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApigeeV1
18
18
  # Version of the google-apis-apigee_v1 gem
19
- GEM_VERSION = "0.99.0"
19
+ GEM_VERSION = "0.100.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241213"
25
+ REVISION = "20250214"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class GoogleCloudApigeeV1ApiDebugSession
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class GoogleCloudApigeeV1ApiDoc
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -808,6 +814,12 @@ module Google
808
814
  include Google::Apis::Core::JsonObjectSupport
809
815
  end
810
816
 
817
+ class GoogleCloudApigeeV1ListApiDebugSessionsResponse
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
811
823
  class GoogleCloudApigeeV1ListApiDocsResponse
812
824
  class Representation < Google::Apis::Core::JsonRepresentation; end
813
825
 
@@ -2002,6 +2014,16 @@ module Google
2002
2014
  end
2003
2015
  end
2004
2016
 
2017
+ class GoogleCloudApigeeV1ApiDebugSession
2018
+ # @private
2019
+ class Representation < Google::Apis::Core::JsonRepresentation
2020
+ property :api_proxy_revision_id, as: 'apiProxyRevisionId'
2021
+ property :create_time, as: 'createTime'
2022
+ property :environment_id, as: 'environmentId'
2023
+ property :id, as: 'id'
2024
+ end
2025
+ end
2026
+
2005
2027
  class GoogleCloudApigeeV1ApiDoc
2006
2028
  # @private
2007
2029
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3323,6 +3345,15 @@ module Google
3323
3345
  end
3324
3346
  end
3325
3347
 
3348
+ class GoogleCloudApigeeV1ListApiDebugSessionsResponse
3349
+ # @private
3350
+ class Representation < Google::Apis::Core::JsonRepresentation
3351
+ property :next_page_token, as: 'nextPageToken'
3352
+ collection :sessions, as: 'sessions', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDebugSession, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDebugSession::Representation
3353
+
3354
+ end
3355
+ end
3356
+
3326
3357
  class GoogleCloudApigeeV1ListApiDocsResponse
3327
3358
  # @private
3328
3359
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1615,6 +1615,45 @@ module Google
1615
1615
  execute_or_queue_command(command, &block)
1616
1616
  end
1617
1617
 
1618
+ # Lists debug sessions that are currently active in the given API Proxy.
1619
+ # @param [String] parent
1620
+ # Required. The name of the API Proxy for which to list debug sessions. Must be
1621
+ # of the form: `organizations/`organization`/apis/`api``.
1622
+ # @param [Fixnum] page_size
1623
+ # Optional. Maximum number of debug sessions to return. The page size defaults
1624
+ # to 25.
1625
+ # @param [String] page_token
1626
+ # Optional. Page token, returned from a previous ListApiDebugSessions call, that
1627
+ # you can use to retrieve the next page.
1628
+ # @param [String] fields
1629
+ # Selector specifying which fields to include in a partial response.
1630
+ # @param [String] quota_user
1631
+ # Available to use for quota purposes for server-side applications. Can be any
1632
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1633
+ # @param [Google::Apis::RequestOptions] options
1634
+ # Request-specific options
1635
+ #
1636
+ # @yield [result, err] Result & error if block supplied
1637
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApiDebugSessionsResponse] parsed result object
1638
+ # @yieldparam err [StandardError] error object if request failed
1639
+ #
1640
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApiDebugSessionsResponse]
1641
+ #
1642
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1643
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1644
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1645
+ def list_organization_api_debugsessions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1646
+ command = make_simple_command(:get, 'v1/{+parent}/debugsessions', options)
1647
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApiDebugSessionsResponse::Representation
1648
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApiDebugSessionsResponse
1649
+ command.params['parent'] = parent unless parent.nil?
1650
+ command.query['pageSize'] = page_size unless page_size.nil?
1651
+ command.query['pageToken'] = page_token unless page_token.nil?
1652
+ command.query['fields'] = fields unless fields.nil?
1653
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1654
+ execute_or_queue_command(command, &block)
1655
+ end
1656
+
1618
1657
  # Lists all deployments of an API proxy.
1619
1658
  # @param [String] parent
1620
1659
  # Required. Name of the API proxy for which to return deployment information in
@@ -5902,7 +5941,10 @@ module Google
5902
5941
  # environments/`env`/apis/`api`/revisions/`rev`/deployments`, two permissions
5903
5942
  # are required: * `apigee.deployments.create` on the resource `organizations/`
5904
5943
  # org`/environments/`env`` * `apigee.proxyrevisions.deploy` on the resource `
5905
- # organizations/`org`/apis/`api`/revisions/`rev``
5944
+ # organizations/`org`/apis/`api`/revisions/`rev`` Apigee hybrid validates the
5945
+ # dependencies between shared flows and API proxies at deployment time. For
5946
+ # example, if the Flow Callout policy in an API proxy references a shared flow
5947
+ # that either doesn't exist or isn't deployed, the API proxy deployment fails.
5906
5948
  # @param [String] name
5907
5949
  # Required. Name of the API proxy revision deployment in the following format: `
5908
5950
  # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apigee_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.0
4
+ version: 0.100.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-05 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.99.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.100.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Apigee API V1
82
79
  test_files: []