Skip to content

Commit

Permalink
Merge branch 'main' into dadaa1-MAGIC-MODULE-dataproc-Projects__regio…
Browse files Browse the repository at this point in the history
…ns__cluster
  • Loading branch information
sa-progress authored Dec 4, 2023
2 parents e771730 + 9d60d15 commit 2bebdee
Show file tree
Hide file tree
Showing 17 changed files with 977 additions and 250 deletions.
542 changes: 542 additions & 0 deletions mmv1/products/apigee/api.yaml

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions mmv1/products/apigee/inspec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

--- !ruby/object:Provider::Inspec::Config
overrides: !ruby/object:Overrides::ResourceOverrides
8 changes: 4 additions & 4 deletions mmv1/products/artifactregistry/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
# limitations under the License.

--- !ruby/object:Api::Product
name: ArtifactRegistry
name: Artifactregistry
display_name: Artifact Registry
scopes:
- https://www.googleapis.com/auth/cloud-platform
versions:
- !ruby/object:Api::Product::Version
name: beta
base_url: https://artifactregistry.googleapis.com/v1beta2/
name: ga
base_url: https://artifactregistry.googleapis.com/v1beta1/
apis_required:
- !ruby/object:Api::Product::ApiReference
name: Artifact Registry API
Expand Down Expand Up @@ -56,7 +56,7 @@ objects:
guides:
'Official Documentation':
'https://cloud.google.com/artifact-registry/docs/overview'
api: 'https://cloud.google.com/artifact-registry/docs/reference/rest/v1beta2/projects.locations.repositories'
api: 'https://cloud.google.com/artifact-registry/docs/reference/rest/v1beta1/projects.locations.repositories'
iam_policy: !ruby/object:Api::Resource::IamPolicy
exclude: false
method_name_separator: ':'
Expand Down
52 changes: 52 additions & 0 deletions mmv1/products/composer/api.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
--- !ruby/object:Api::Product
name: composer
display_name: composer
versions:
- !ruby/object:Api::Product::Version
name: ga
base_url: https://composer.googleapis.com//V1/
scopes:
- https://composer.googleapis.com//auth/cloud-platform
apis_required:
- !ruby/object:Api::Product::ApiReference
name: https://composer.googleapis.com/
url: https://console.cloud.google.com/apis/library/composer.googleapis.com/
objects:

- !ruby/object:Api::Resource
name: ProjectLocationImageVersion
base_url: '{{parent}}/imageVersions'
references: !ruby/object:Api::Resource::ReferenceLinks
guides:
'Official Documentation':
api: 'https://cloud.google.com/composer/docs'
async: !ruby/object:Api::OpAsync
operation: !ruby/object:Api::OpAsync::Operation
path: 'name'
base_url: '{op_id}'
wait_ms: 1000
result: !ruby/object:Api::OpAsync::Result
path: 'response'
resource_inside_response: true
status: !ruby/object:Api::OpAsync::Status
path: 'done'
complete: True
allowed:
- True
- False
error: !ruby/object:Api::OpAsync::Error
path: 'error'
message: 'message'
description: |-
The ImageVersions in a project and location.
properties:

- !ruby/object:Api::Type::Array
name: 'imageVersions'
description: |
The list of supported ImageVersions in a location.
item_type: Api::Type::String
- !ruby/object:Api::Type::String
name: 'nextPageToken'
description: |
The page token used to query for the next page if one exists.
15 changes: 15 additions & 0 deletions mmv1/products/composer/inspec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

--- !ruby/object:Provider::Inspec::Config
overrides: !ruby/object:Overrides::ResourceOverrides
Loading

0 comments on commit 2bebdee

Please sign in to comment.