Skip to content

Commit

Permalink
Update with main
Browse files Browse the repository at this point in the history
  • Loading branch information
sa-progress committed Nov 25, 2024
2 parents 2dd4f3a + e861077 commit 7d2a96c
Show file tree
Hide file tree
Showing 85 changed files with 17,691 additions and 30 deletions.
2 changes: 1 addition & 1 deletion mmv1/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ GEM
rainbow (3.1.1)
rake (13.1.0)
regexp_parser (2.8.3)
rexml (3.2.6)
rexml (3.3.9)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
Expand Down
1 change: 0 additions & 1 deletion mmv1/api/resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ def validate

set_variables(@parameters, :__resource)
set_variables(@properties, :__resource)

check :properties, type: Array, item_type: Api::Type, required: true unless @exclude
check :parameters, type: Array, item_type: Api::Type unless @exclude

Expand Down
90 changes: 90 additions & 0 deletions mmv1/products/apigee/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1471,3 +1471,93 @@ objects:
description: |
ID of the environment group attachment.



- !ruby/object:Api::Resource
name: OrganizationInstanceAttachment
base_url: '{{+parent}}/attachments'
self_link: '{{+name}}'
references: !ruby/object:Api::Resource::ReferenceLinks
guides:
'Official Documentation':
api: 'https://cloud.google.com/apigee/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: |-
InstanceAttachment represents the installation of an environment onto an instance.
properties:

- !ruby/object:Api::Type::String
name: 'name'
description: |
Output only. ID of the attachment.
- !ruby/object:Api::Type::String
name: 'environment'
description: |
ID of the attached environment.
- !ruby/object:Api::Type::String
name: 'createdAt'
description: |
Output only. Time the attachment was created in milliseconds since epoch.



- !ruby/object:Api::Resource
name: OrganizationInstanceAttachment
base_url: '{{+parent}}/attachments'
self_link: '{{+name}}'
references: !ruby/object:Api::Resource::ReferenceLinks
guides:
'Official Documentation':
api: 'https://cloud.google.com/apigee/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: |-
InstanceAttachment represents the installation of an environment onto an instance.
properties:

- !ruby/object:Api::Type::String
name: 'name'
description: |
Output only. ID of the attachment.
- !ruby/object:Api::Type::String
name: 'environment'
description: |
ID of the attached environment.
- !ruby/object:Api::Type::String
name: 'createdAt'
description: |
Output only. Time the attachment was created in milliseconds since epoch.
Loading

0 comments on commit 7d2a96c

Please sign in to comment.