google-apis-config_v1 0.16.0 → 0.18.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/config_v1/classes.rb +511 -0
- data/lib/google/apis/config_v1/gem_version.rb +2 -2
- data/lib/google/apis/config_v1/representations.rb +217 -0
- data/lib/google/apis/config_v1/service.rb +406 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9308704350e70afad815a4bca4fa8e1e33733b92fc53b8498cfabed68ed019cd
|
|
4
|
+
data.tar.gz: 6cbbc5ee04bb00697ed9abf9601695ccc288c002208c726033884c75e2655d37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02adaf488980e3899afd6ddc1b761cd795adae308bed43f3fb425972a60a46be62cbcc13500554b958ac14c1d97888b1895651a3643931f641b8346f0c40082d
|
|
7
|
+
data.tar.gz: d6b46248f3701994046229befdc84be86cc9220cbe37422c7c4699d9b5b208668b63c94c2f254104fc218ece25035960104bab4be174d04432490c619a81f7a2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-config_v1
|
|
2
2
|
|
|
3
|
+
### v0.18.0 (2026-04-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260324
|
|
6
|
+
|
|
7
|
+
### v0.17.0 (2026-02-08)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260128
|
|
10
|
+
|
|
3
11
|
### v0.16.0 (2025-12-14)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20251202
|
|
@@ -479,6 +479,139 @@ module Google
|
|
|
479
479
|
end
|
|
480
480
|
end
|
|
481
481
|
|
|
482
|
+
# A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like
|
|
483
|
+
# structure.
|
|
484
|
+
class DeploymentGroup
|
|
485
|
+
include Google::Apis::Core::Hashable
|
|
486
|
+
|
|
487
|
+
# Optional. Arbitrary key-value metadata storage e.g. to help client tools
|
|
488
|
+
# identify deployment group during automation. See https://google.aip.dev/148#
|
|
489
|
+
# annotations for details on format and size limitations.
|
|
490
|
+
# Corresponds to the JSON property `annotations`
|
|
491
|
+
# @return [Hash<String,String>]
|
|
492
|
+
attr_accessor :annotations
|
|
493
|
+
|
|
494
|
+
# Output only. Time when the deployment group was created.
|
|
495
|
+
# Corresponds to the JSON property `createTime`
|
|
496
|
+
# @return [String]
|
|
497
|
+
attr_accessor :create_time
|
|
498
|
+
|
|
499
|
+
# The deployment units of the deployment group in a DAG like structure. When a
|
|
500
|
+
# deployment group is being provisioned, the deployment units are deployed in a
|
|
501
|
+
# DAG order. The provided units must be in a DAG order, otherwise an error will
|
|
502
|
+
# be returned.
|
|
503
|
+
# Corresponds to the JSON property `deploymentUnits`
|
|
504
|
+
# @return [Array<Google::Apis::ConfigV1::DeploymentUnit>]
|
|
505
|
+
attr_accessor :deployment_units
|
|
506
|
+
|
|
507
|
+
# Optional. User-defined metadata for the deployment group.
|
|
508
|
+
# Corresponds to the JSON property `labels`
|
|
509
|
+
# @return [Hash<String,String>]
|
|
510
|
+
attr_accessor :labels
|
|
511
|
+
|
|
512
|
+
# Identifier. The name of the deployment group. Format: 'projects/`project_id`/
|
|
513
|
+
# locations/`location`/deploymentGroups/`deployment_group`'.
|
|
514
|
+
# Corresponds to the JSON property `name`
|
|
515
|
+
# @return [String]
|
|
516
|
+
attr_accessor :name
|
|
517
|
+
|
|
518
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
519
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
520
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
521
|
+
# data: error code, error message, and error details. You can find out more
|
|
522
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
523
|
+
# //cloud.google.com/apis/design/errors).
|
|
524
|
+
# Corresponds to the JSON property `provisioningError`
|
|
525
|
+
# @return [Google::Apis::ConfigV1::Status]
|
|
526
|
+
attr_accessor :provisioning_error
|
|
527
|
+
|
|
528
|
+
# Output only. The provisioning state of the deployment group.
|
|
529
|
+
# Corresponds to the JSON property `provisioningState`
|
|
530
|
+
# @return [String]
|
|
531
|
+
attr_accessor :provisioning_state
|
|
532
|
+
|
|
533
|
+
# Output only. Additional information regarding the current provisioning state.
|
|
534
|
+
# Corresponds to the JSON property `provisioningStateDescription`
|
|
535
|
+
# @return [String]
|
|
536
|
+
attr_accessor :provisioning_state_description
|
|
537
|
+
|
|
538
|
+
# Output only. Current state of the deployment group.
|
|
539
|
+
# Corresponds to the JSON property `state`
|
|
540
|
+
# @return [String]
|
|
541
|
+
attr_accessor :state
|
|
542
|
+
|
|
543
|
+
# Output only. Additional information regarding the current state.
|
|
544
|
+
# Corresponds to the JSON property `stateDescription`
|
|
545
|
+
# @return [String]
|
|
546
|
+
attr_accessor :state_description
|
|
547
|
+
|
|
548
|
+
# Output only. Time when the deployment group was last updated.
|
|
549
|
+
# Corresponds to the JSON property `updateTime`
|
|
550
|
+
# @return [String]
|
|
551
|
+
attr_accessor :update_time
|
|
552
|
+
|
|
553
|
+
def initialize(**args)
|
|
554
|
+
update!(**args)
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
# Update properties of this object
|
|
558
|
+
def update!(**args)
|
|
559
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
|
560
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
561
|
+
@deployment_units = args[:deployment_units] if args.key?(:deployment_units)
|
|
562
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
563
|
+
@name = args[:name] if args.key?(:name)
|
|
564
|
+
@provisioning_error = args[:provisioning_error] if args.key?(:provisioning_error)
|
|
565
|
+
@provisioning_state = args[:provisioning_state] if args.key?(:provisioning_state)
|
|
566
|
+
@provisioning_state_description = args[:provisioning_state_description] if args.key?(:provisioning_state_description)
|
|
567
|
+
@state = args[:state] if args.key?(:state)
|
|
568
|
+
@state_description = args[:state_description] if args.key?(:state_description)
|
|
569
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
570
|
+
end
|
|
571
|
+
end
|
|
572
|
+
|
|
573
|
+
# A DeploymentGroupRevision represents a snapshot of a DeploymentGroup at a
|
|
574
|
+
# given point in time, created when a DeploymentGroup is provisioned or
|
|
575
|
+
# deprovisioned.
|
|
576
|
+
class DeploymentGroupRevision
|
|
577
|
+
include Google::Apis::Core::Hashable
|
|
578
|
+
|
|
579
|
+
# Output only. The alternative IDs of the deployment group revision.
|
|
580
|
+
# Corresponds to the JSON property `alternativeIds`
|
|
581
|
+
# @return [Array<String>]
|
|
582
|
+
attr_accessor :alternative_ids
|
|
583
|
+
|
|
584
|
+
# Output only. Time when the deployment group revision was created.
|
|
585
|
+
# Corresponds to the JSON property `createTime`
|
|
586
|
+
# @return [String]
|
|
587
|
+
attr_accessor :create_time
|
|
588
|
+
|
|
589
|
+
# Identifier. The name of the deployment group revision. Format: 'projects/`
|
|
590
|
+
# project_id`/locations/`location`/deploymentGroups/`deployment_group`/revisions/
|
|
591
|
+
# `revision`'.
|
|
592
|
+
# Corresponds to the JSON property `name`
|
|
593
|
+
# @return [String]
|
|
594
|
+
attr_accessor :name
|
|
595
|
+
|
|
596
|
+
# A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like
|
|
597
|
+
# structure.
|
|
598
|
+
# Corresponds to the JSON property `snapshot`
|
|
599
|
+
# @return [Google::Apis::ConfigV1::DeploymentGroup]
|
|
600
|
+
attr_accessor :snapshot
|
|
601
|
+
|
|
602
|
+
def initialize(**args)
|
|
603
|
+
update!(**args)
|
|
604
|
+
end
|
|
605
|
+
|
|
606
|
+
# Update properties of this object
|
|
607
|
+
def update!(**args)
|
|
608
|
+
@alternative_ids = args[:alternative_ids] if args.key?(:alternative_ids)
|
|
609
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
610
|
+
@name = args[:name] if args.key?(:name)
|
|
611
|
+
@snapshot = args[:snapshot] if args.key?(:snapshot)
|
|
612
|
+
end
|
|
613
|
+
end
|
|
614
|
+
|
|
482
615
|
# Ephemeral metadata content describing the state of a deployment operation.
|
|
483
616
|
class DeploymentOperationMetadata
|
|
484
617
|
include Google::Apis::Core::Hashable
|
|
@@ -517,6 +650,235 @@ module Google
|
|
|
517
650
|
end
|
|
518
651
|
end
|
|
519
652
|
|
|
653
|
+
# The summary of the deployment operation.
|
|
654
|
+
class DeploymentOperationSummary
|
|
655
|
+
include Google::Apis::Core::Hashable
|
|
656
|
+
|
|
657
|
+
# Output only. Location of Deployment operations artifacts in `gs://`bucket`/`
|
|
658
|
+
# object`` format.
|
|
659
|
+
# Corresponds to the JSON property `artifacts`
|
|
660
|
+
# @return [String]
|
|
661
|
+
attr_accessor :artifacts
|
|
662
|
+
|
|
663
|
+
# Output only. Cloud Build instance UUID associated with this operation.
|
|
664
|
+
# Corresponds to the JSON property `build`
|
|
665
|
+
# @return [String]
|
|
666
|
+
attr_accessor :build
|
|
667
|
+
|
|
668
|
+
# Output only. Location of Deployment operations content in `gs://`bucket`/`
|
|
669
|
+
# object`` format.
|
|
670
|
+
# Corresponds to the JSON property `content`
|
|
671
|
+
# @return [String]
|
|
672
|
+
attr_accessor :content
|
|
673
|
+
|
|
674
|
+
# Output only. The current step the deployment operation is running.
|
|
675
|
+
# Corresponds to the JSON property `deploymentStep`
|
|
676
|
+
# @return [String]
|
|
677
|
+
attr_accessor :deployment_step
|
|
678
|
+
|
|
679
|
+
# Output only. Location of Deployment operations logs in `gs://`bucket`/`object``
|
|
680
|
+
# format.
|
|
681
|
+
# Corresponds to the JSON property `logs`
|
|
682
|
+
# @return [String]
|
|
683
|
+
attr_accessor :logs
|
|
684
|
+
|
|
685
|
+
def initialize(**args)
|
|
686
|
+
update!(**args)
|
|
687
|
+
end
|
|
688
|
+
|
|
689
|
+
# Update properties of this object
|
|
690
|
+
def update!(**args)
|
|
691
|
+
@artifacts = args[:artifacts] if args.key?(:artifacts)
|
|
692
|
+
@build = args[:build] if args.key?(:build)
|
|
693
|
+
@content = args[:content] if args.key?(:content)
|
|
694
|
+
@deployment_step = args[:deployment_step] if args.key?(:deployment_step)
|
|
695
|
+
@logs = args[:logs] if args.key?(:logs)
|
|
696
|
+
end
|
|
697
|
+
end
|
|
698
|
+
|
|
699
|
+
# Configuration for a value sourced from a Deployment.
|
|
700
|
+
class DeploymentSource
|
|
701
|
+
include Google::Apis::Core::Hashable
|
|
702
|
+
|
|
703
|
+
# Required. The resource name of the source Deployment to import the output from.
|
|
704
|
+
# Format: projects/`project`/locations/`location`/deployments/`deployment` The
|
|
705
|
+
# source deployment must be in the same project and location.
|
|
706
|
+
# Corresponds to the JSON property `deployment`
|
|
707
|
+
# @return [String]
|
|
708
|
+
attr_accessor :deployment
|
|
709
|
+
|
|
710
|
+
# Required. The name of the output variable in the source deployment's latest
|
|
711
|
+
# successfully applied revision.
|
|
712
|
+
# Corresponds to the JSON property `outputName`
|
|
713
|
+
# @return [String]
|
|
714
|
+
attr_accessor :output_name
|
|
715
|
+
|
|
716
|
+
def initialize(**args)
|
|
717
|
+
update!(**args)
|
|
718
|
+
end
|
|
719
|
+
|
|
720
|
+
# Update properties of this object
|
|
721
|
+
def update!(**args)
|
|
722
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
|
723
|
+
@output_name = args[:output_name] if args.key?(:output_name)
|
|
724
|
+
end
|
|
725
|
+
end
|
|
726
|
+
|
|
727
|
+
# Spec for a deployment to be created.
|
|
728
|
+
class DeploymentSpec
|
|
729
|
+
include Google::Apis::Core::Hashable
|
|
730
|
+
|
|
731
|
+
# A Deployment is a group of resources and configs managed and provisioned by
|
|
732
|
+
# Infra Manager.
|
|
733
|
+
# Corresponds to the JSON property `deployment`
|
|
734
|
+
# @return [Google::Apis::ConfigV1::Deployment]
|
|
735
|
+
attr_accessor :deployment
|
|
736
|
+
|
|
737
|
+
# Required. The id of the deployment to be created which doesn't include the
|
|
738
|
+
# project id and location.
|
|
739
|
+
# Corresponds to the JSON property `deploymentId`
|
|
740
|
+
# @return [String]
|
|
741
|
+
attr_accessor :deployment_id
|
|
742
|
+
|
|
743
|
+
def initialize(**args)
|
|
744
|
+
update!(**args)
|
|
745
|
+
end
|
|
746
|
+
|
|
747
|
+
# Update properties of this object
|
|
748
|
+
def update!(**args)
|
|
749
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
|
750
|
+
@deployment_id = args[:deployment_id] if args.key?(:deployment_id)
|
|
751
|
+
end
|
|
752
|
+
end
|
|
753
|
+
|
|
754
|
+
# A DeploymentUnit is a container for a deployment and its dependencies. An
|
|
755
|
+
# existing deployment can be provided directly in the unit, or the unit can act
|
|
756
|
+
# as a placeholder to define the DAG, with the deployment specs supplied in a `
|
|
757
|
+
# provisionDeploymentRequest`.
|
|
758
|
+
class DeploymentUnit
|
|
759
|
+
include Google::Apis::Core::Hashable
|
|
760
|
+
|
|
761
|
+
# Required. The IDs of the deployment units within the deployment group that
|
|
762
|
+
# this unit depends on.
|
|
763
|
+
# Corresponds to the JSON property `dependencies`
|
|
764
|
+
# @return [Array<String>]
|
|
765
|
+
attr_accessor :dependencies
|
|
766
|
+
|
|
767
|
+
# Optional. The name of the deployment to be provisioned. Format: 'projects/`
|
|
768
|
+
# project_id`/locations/`location`/deployments/`deployment`'.
|
|
769
|
+
# Corresponds to the JSON property `deployment`
|
|
770
|
+
# @return [String]
|
|
771
|
+
attr_accessor :deployment
|
|
772
|
+
|
|
773
|
+
# The id of the deployment unit. Must be unique within the deployment group.
|
|
774
|
+
# Corresponds to the JSON property `id`
|
|
775
|
+
# @return [String]
|
|
776
|
+
attr_accessor :id
|
|
777
|
+
|
|
778
|
+
def initialize(**args)
|
|
779
|
+
update!(**args)
|
|
780
|
+
end
|
|
781
|
+
|
|
782
|
+
# Update properties of this object
|
|
783
|
+
def update!(**args)
|
|
784
|
+
@dependencies = args[:dependencies] if args.key?(:dependencies)
|
|
785
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
|
786
|
+
@id = args[:id] if args.key?(:id)
|
|
787
|
+
end
|
|
788
|
+
end
|
|
789
|
+
|
|
790
|
+
# The progress of a deployment unit provisioning or deprovisioning.
|
|
791
|
+
class DeploymentUnitProgress
|
|
792
|
+
include Google::Apis::Core::Hashable
|
|
793
|
+
|
|
794
|
+
# Output only. The name of the deployment to be provisioned. Format: 'projects/`
|
|
795
|
+
# project`/locations/`location`/deployments/`deployment`'.
|
|
796
|
+
# Corresponds to the JSON property `deployment`
|
|
797
|
+
# @return [String]
|
|
798
|
+
attr_accessor :deployment
|
|
799
|
+
|
|
800
|
+
# The summary of the deployment operation.
|
|
801
|
+
# Corresponds to the JSON property `deploymentOperationSummary`
|
|
802
|
+
# @return [Google::Apis::ConfigV1::DeploymentOperationSummary]
|
|
803
|
+
attr_accessor :deployment_operation_summary
|
|
804
|
+
|
|
805
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
806
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
807
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
808
|
+
# data: error code, error message, and error details. You can find out more
|
|
809
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
810
|
+
# //cloud.google.com/apis/design/errors).
|
|
811
|
+
# Corresponds to the JSON property `error`
|
|
812
|
+
# @return [Google::Apis::ConfigV1::Status]
|
|
813
|
+
attr_accessor :error
|
|
814
|
+
|
|
815
|
+
# Output only. The intent of the deployment unit.
|
|
816
|
+
# Corresponds to the JSON property `intent`
|
|
817
|
+
# @return [String]
|
|
818
|
+
attr_accessor :intent
|
|
819
|
+
|
|
820
|
+
# Output only. The current step of the deployment unit provisioning.
|
|
821
|
+
# Corresponds to the JSON property `state`
|
|
822
|
+
# @return [String]
|
|
823
|
+
attr_accessor :state
|
|
824
|
+
|
|
825
|
+
# Output only. Additional information regarding the current state.
|
|
826
|
+
# Corresponds to the JSON property `stateDescription`
|
|
827
|
+
# @return [String]
|
|
828
|
+
attr_accessor :state_description
|
|
829
|
+
|
|
830
|
+
# Output only. The unit id of the deployment unit to be provisioned.
|
|
831
|
+
# Corresponds to the JSON property `unitId`
|
|
832
|
+
# @return [String]
|
|
833
|
+
attr_accessor :unit_id
|
|
834
|
+
|
|
835
|
+
def initialize(**args)
|
|
836
|
+
update!(**args)
|
|
837
|
+
end
|
|
838
|
+
|
|
839
|
+
# Update properties of this object
|
|
840
|
+
def update!(**args)
|
|
841
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
|
842
|
+
@deployment_operation_summary = args[:deployment_operation_summary] if args.key?(:deployment_operation_summary)
|
|
843
|
+
@error = args[:error] if args.key?(:error)
|
|
844
|
+
@intent = args[:intent] if args.key?(:intent)
|
|
845
|
+
@state = args[:state] if args.key?(:state)
|
|
846
|
+
@state_description = args[:state_description] if args.key?(:state_description)
|
|
847
|
+
@unit_id = args[:unit_id] if args.key?(:unit_id)
|
|
848
|
+
end
|
|
849
|
+
end
|
|
850
|
+
|
|
851
|
+
# The request message for the DeprovisionDeploymentGroup method.
|
|
852
|
+
class DeprovisionDeploymentGroupRequest
|
|
853
|
+
include Google::Apis::Core::Hashable
|
|
854
|
+
|
|
855
|
+
# Optional. Policy on how resources within each deployment should be handled
|
|
856
|
+
# during deletion. This policy is applied globally to the deletion of all
|
|
857
|
+
# deployments in this group. This corresponds to the 'delete_policy' field in
|
|
858
|
+
# DeleteDeploymentRequest.
|
|
859
|
+
# Corresponds to the JSON property `deletePolicy`
|
|
860
|
+
# @return [String]
|
|
861
|
+
attr_accessor :delete_policy
|
|
862
|
+
|
|
863
|
+
# Optional. If set to true, this option is propagated to the deletion of each
|
|
864
|
+
# deployment in the group. This corresponds to the 'force' field in
|
|
865
|
+
# DeleteDeploymentRequest.
|
|
866
|
+
# Corresponds to the JSON property `force`
|
|
867
|
+
# @return [Boolean]
|
|
868
|
+
attr_accessor :force
|
|
869
|
+
alias_method :force?, :force
|
|
870
|
+
|
|
871
|
+
def initialize(**args)
|
|
872
|
+
update!(**args)
|
|
873
|
+
end
|
|
874
|
+
|
|
875
|
+
# Update properties of this object
|
|
876
|
+
def update!(**args)
|
|
877
|
+
@delete_policy = args[:delete_policy] if args.key?(:delete_policy)
|
|
878
|
+
@force = args[:force] if args.key?(:force)
|
|
879
|
+
end
|
|
880
|
+
end
|
|
881
|
+
|
|
520
882
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
521
883
|
# messages in your APIs. A typical example is to use it as the request or the
|
|
522
884
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
@@ -654,6 +1016,25 @@ module Google
|
|
|
654
1016
|
end
|
|
655
1017
|
end
|
|
656
1018
|
|
|
1019
|
+
# Configuration for a source of an external value.
|
|
1020
|
+
class ExternalValueSource
|
|
1021
|
+
include Google::Apis::Core::Hashable
|
|
1022
|
+
|
|
1023
|
+
# Configuration for a value sourced from a Deployment.
|
|
1024
|
+
# Corresponds to the JSON property `deploymentSource`
|
|
1025
|
+
# @return [Google::Apis::ConfigV1::DeploymentSource]
|
|
1026
|
+
attr_accessor :deployment_source
|
|
1027
|
+
|
|
1028
|
+
def initialize(**args)
|
|
1029
|
+
update!(**args)
|
|
1030
|
+
end
|
|
1031
|
+
|
|
1032
|
+
# Update properties of this object
|
|
1033
|
+
def update!(**args)
|
|
1034
|
+
@deployment_source = args[:deployment_source] if args.key?(:deployment_source)
|
|
1035
|
+
end
|
|
1036
|
+
end
|
|
1037
|
+
|
|
657
1038
|
# A set of files in a Git repository.
|
|
658
1039
|
class GitSource
|
|
659
1040
|
include Google::Apis::Core::Hashable
|
|
@@ -705,6 +1086,70 @@ module Google
|
|
|
705
1086
|
end
|
|
706
1087
|
end
|
|
707
1088
|
|
|
1089
|
+
# The response message for the ListDeploymentGroupRevisions method.
|
|
1090
|
+
class ListDeploymentGroupRevisionsResponse
|
|
1091
|
+
include Google::Apis::Core::Hashable
|
|
1092
|
+
|
|
1093
|
+
# The deployment group revisions from the specified collection.
|
|
1094
|
+
# Corresponds to the JSON property `deploymentGroupRevisions`
|
|
1095
|
+
# @return [Array<Google::Apis::ConfigV1::DeploymentGroupRevision>]
|
|
1096
|
+
attr_accessor :deployment_group_revisions
|
|
1097
|
+
|
|
1098
|
+
# Token to be supplied to the next ListDeploymentGroupRevisions request via `
|
|
1099
|
+
# page_token` to obtain the next set of results.
|
|
1100
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1101
|
+
# @return [String]
|
|
1102
|
+
attr_accessor :next_page_token
|
|
1103
|
+
|
|
1104
|
+
# Unordered list. Locations that could not be reached.
|
|
1105
|
+
# Corresponds to the JSON property `unreachable`
|
|
1106
|
+
# @return [Array<String>]
|
|
1107
|
+
attr_accessor :unreachable
|
|
1108
|
+
|
|
1109
|
+
def initialize(**args)
|
|
1110
|
+
update!(**args)
|
|
1111
|
+
end
|
|
1112
|
+
|
|
1113
|
+
# Update properties of this object
|
|
1114
|
+
def update!(**args)
|
|
1115
|
+
@deployment_group_revisions = args[:deployment_group_revisions] if args.key?(:deployment_group_revisions)
|
|
1116
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1117
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
1118
|
+
end
|
|
1119
|
+
end
|
|
1120
|
+
|
|
1121
|
+
# The response message for the ListDeploymentGroups method.
|
|
1122
|
+
class ListDeploymentGroupsResponse
|
|
1123
|
+
include Google::Apis::Core::Hashable
|
|
1124
|
+
|
|
1125
|
+
# The deployment groups from the specified collection.
|
|
1126
|
+
# Corresponds to the JSON property `deploymentGroups`
|
|
1127
|
+
# @return [Array<Google::Apis::ConfigV1::DeploymentGroup>]
|
|
1128
|
+
attr_accessor :deployment_groups
|
|
1129
|
+
|
|
1130
|
+
# Token to be supplied to the next ListDeploymentGroups request via `page_token`
|
|
1131
|
+
# to obtain the next set of results.
|
|
1132
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1133
|
+
# @return [String]
|
|
1134
|
+
attr_accessor :next_page_token
|
|
1135
|
+
|
|
1136
|
+
# Locations that could not be reached.
|
|
1137
|
+
# Corresponds to the JSON property `unreachable`
|
|
1138
|
+
# @return [Array<String>]
|
|
1139
|
+
attr_accessor :unreachable
|
|
1140
|
+
|
|
1141
|
+
def initialize(**args)
|
|
1142
|
+
update!(**args)
|
|
1143
|
+
end
|
|
1144
|
+
|
|
1145
|
+
# Update properties of this object
|
|
1146
|
+
def update!(**args)
|
|
1147
|
+
@deployment_groups = args[:deployment_groups] if args.key?(:deployment_groups)
|
|
1148
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1149
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
1150
|
+
end
|
|
1151
|
+
end
|
|
1152
|
+
|
|
708
1153
|
#
|
|
709
1154
|
class ListDeploymentsResponse
|
|
710
1155
|
include Google::Apis::Core::Hashable
|
|
@@ -1190,6 +1635,12 @@ module Google
|
|
|
1190
1635
|
# @return [Google::Apis::ConfigV1::PreviewOperationMetadata]
|
|
1191
1636
|
attr_accessor :preview_metadata
|
|
1192
1637
|
|
|
1638
|
+
# Operation metadata for `ProvisionDeploymentGroup` and `
|
|
1639
|
+
# DeprovisionDeploymentGroup` long-running operations.
|
|
1640
|
+
# Corresponds to the JSON property `provisionDeploymentGroupMetadata`
|
|
1641
|
+
# @return [Google::Apis::ConfigV1::ProvisionDeploymentGroupOperationMetadata]
|
|
1642
|
+
attr_accessor :provision_deployment_group_metadata
|
|
1643
|
+
|
|
1193
1644
|
# Output only. Identifies whether the user has requested cancellation of the
|
|
1194
1645
|
# operation. Operations that have successfully been cancelled have google.
|
|
1195
1646
|
# longrunning.Operation.error value with a google.rpc.Status.code of `1`,
|
|
@@ -1225,6 +1676,7 @@ module Google
|
|
|
1225
1676
|
@deployment_metadata = args[:deployment_metadata] if args.key?(:deployment_metadata)
|
|
1226
1677
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1227
1678
|
@preview_metadata = args[:preview_metadata] if args.key?(:preview_metadata)
|
|
1679
|
+
@provision_deployment_group_metadata = args[:provision_deployment_group_metadata] if args.key?(:provision_deployment_group_metadata)
|
|
1228
1680
|
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
|
1229
1681
|
@status_message = args[:status_message] if args.key?(:status_message)
|
|
1230
1682
|
@target = args[:target] if args.key?(:target)
|
|
@@ -1694,6 +2146,58 @@ module Google
|
|
|
1694
2146
|
end
|
|
1695
2147
|
end
|
|
1696
2148
|
|
|
2149
|
+
# Operation metadata for `ProvisionDeploymentGroup` and `
|
|
2150
|
+
# DeprovisionDeploymentGroup` long-running operations.
|
|
2151
|
+
class ProvisionDeploymentGroupOperationMetadata
|
|
2152
|
+
include Google::Apis::Core::Hashable
|
|
2153
|
+
|
|
2154
|
+
# Output only. Progress information for each deployment unit within the
|
|
2155
|
+
# operation.
|
|
2156
|
+
# Corresponds to the JSON property `deploymentUnitProgresses`
|
|
2157
|
+
# @return [Array<Google::Apis::ConfigV1::DeploymentUnitProgress>]
|
|
2158
|
+
attr_accessor :deployment_unit_progresses
|
|
2159
|
+
|
|
2160
|
+
# Output only. The current step of the deployment group operation.
|
|
2161
|
+
# Corresponds to the JSON property `step`
|
|
2162
|
+
# @return [String]
|
|
2163
|
+
attr_accessor :step
|
|
2164
|
+
|
|
2165
|
+
def initialize(**args)
|
|
2166
|
+
update!(**args)
|
|
2167
|
+
end
|
|
2168
|
+
|
|
2169
|
+
# Update properties of this object
|
|
2170
|
+
def update!(**args)
|
|
2171
|
+
@deployment_unit_progresses = args[:deployment_unit_progresses] if args.key?(:deployment_unit_progresses)
|
|
2172
|
+
@step = args[:step] if args.key?(:step)
|
|
2173
|
+
end
|
|
2174
|
+
end
|
|
2175
|
+
|
|
2176
|
+
# The request message for the ProvisionDeploymentGroup method.
|
|
2177
|
+
class ProvisionDeploymentGroupRequest
|
|
2178
|
+
include Google::Apis::Core::Hashable
|
|
2179
|
+
|
|
2180
|
+
# Optional. The deployment specs of the deployment units to be created within
|
|
2181
|
+
# the same project and location of the deployment group. The key is the unit ID,
|
|
2182
|
+
# and the value is the `DeploymentSpec`. Provisioning will fail if a `
|
|
2183
|
+
# deployment_spec` has a `deployment_id` that matches an existing deployment in
|
|
2184
|
+
# the same project and location. If an existing deployment was part of the last
|
|
2185
|
+
# successful revision but is no longer in the current DeploymentGroup's `
|
|
2186
|
+
# deployment_units`, it will be recreated if included in `deployment_specs`.
|
|
2187
|
+
# Corresponds to the JSON property `deploymentSpecs`
|
|
2188
|
+
# @return [Hash<String,Google::Apis::ConfigV1::DeploymentSpec>]
|
|
2189
|
+
attr_accessor :deployment_specs
|
|
2190
|
+
|
|
2191
|
+
def initialize(**args)
|
|
2192
|
+
update!(**args)
|
|
2193
|
+
end
|
|
2194
|
+
|
|
2195
|
+
# Update properties of this object
|
|
2196
|
+
def update!(**args)
|
|
2197
|
+
@deployment_specs = args[:deployment_specs] if args.key?(:deployment_specs)
|
|
2198
|
+
end
|
|
2199
|
+
end
|
|
2200
|
+
|
|
1697
2201
|
# Resource represents a Google Cloud Platform resource actuated by IM. Resources
|
|
1698
2202
|
# are child resources of Revisions.
|
|
1699
2203
|
class Resource
|
|
@@ -2223,6 +2727,12 @@ module Google
|
|
|
2223
2727
|
class TerraformBlueprint
|
|
2224
2728
|
include Google::Apis::Core::Hashable
|
|
2225
2729
|
|
|
2730
|
+
# Optional. Map of input variable names in this blueprint to configurations for
|
|
2731
|
+
# importing values from external sources.
|
|
2732
|
+
# Corresponds to the JSON property `externalValues`
|
|
2733
|
+
# @return [Hash<String,Google::Apis::ConfigV1::ExternalValueSource>]
|
|
2734
|
+
attr_accessor :external_values
|
|
2735
|
+
|
|
2226
2736
|
# URI of an object in Google Cloud Storage. Format: `gs://`bucket`/`object`` URI
|
|
2227
2737
|
# may also specify an object version for zipped objects. Format: `gs://`bucket`/`
|
|
2228
2738
|
# object`#`version``
|
|
@@ -2246,6 +2756,7 @@ module Google
|
|
|
2246
2756
|
|
|
2247
2757
|
# Update properties of this object
|
|
2248
2758
|
def update!(**args)
|
|
2759
|
+
@external_values = args[:external_values] if args.key?(:external_values)
|
|
2249
2760
|
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
|
2250
2761
|
@git_source = args[:git_source] if args.key?(:git_source)
|
|
2251
2762
|
@input_values = args[:input_values] if args.key?(:input_values)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ConfigV1
|
|
18
18
|
# Version of the google-apis-config_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.18.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260324"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -70,12 +70,60 @@ module Google
|
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
+
class DeploymentGroup
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class DeploymentGroupRevision
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
73
85
|
class DeploymentOperationMetadata
|
|
74
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
87
|
|
|
76
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
89
|
end
|
|
78
90
|
|
|
91
|
+
class DeploymentOperationSummary
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
class DeploymentSource
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class DeploymentSpec
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
class DeploymentUnit
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
class DeploymentUnitProgress
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
class DeprovisionDeploymentGroupRequest
|
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
+
end
|
|
126
|
+
|
|
79
127
|
class Empty
|
|
80
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
129
|
|
|
@@ -112,6 +160,12 @@ module Google
|
|
|
112
160
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
161
|
end
|
|
114
162
|
|
|
163
|
+
class ExternalValueSource
|
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
+
|
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
167
|
+
end
|
|
168
|
+
|
|
115
169
|
class GitSource
|
|
116
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
171
|
|
|
@@ -124,6 +178,18 @@ module Google
|
|
|
124
178
|
include Google::Apis::Core::JsonObjectSupport
|
|
125
179
|
end
|
|
126
180
|
|
|
181
|
+
class ListDeploymentGroupRevisionsResponse
|
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
+
|
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
class ListDeploymentGroupsResponse
|
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
|
+
|
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
191
|
+
end
|
|
192
|
+
|
|
127
193
|
class ListDeploymentsResponse
|
|
128
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
195
|
|
|
@@ -256,6 +322,18 @@ module Google
|
|
|
256
322
|
include Google::Apis::Core::JsonObjectSupport
|
|
257
323
|
end
|
|
258
324
|
|
|
325
|
+
class ProvisionDeploymentGroupOperationMetadata
|
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
|
+
|
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
class ProvisionDeploymentGroupRequest
|
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
333
|
+
|
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
335
|
+
end
|
|
336
|
+
|
|
259
337
|
class Resource
|
|
260
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
339
|
|
|
@@ -463,6 +541,36 @@ module Google
|
|
|
463
541
|
end
|
|
464
542
|
end
|
|
465
543
|
|
|
544
|
+
class DeploymentGroup
|
|
545
|
+
# @private
|
|
546
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
547
|
+
hash :annotations, as: 'annotations'
|
|
548
|
+
property :create_time, as: 'createTime'
|
|
549
|
+
collection :deployment_units, as: 'deploymentUnits', class: Google::Apis::ConfigV1::DeploymentUnit, decorator: Google::Apis::ConfigV1::DeploymentUnit::Representation
|
|
550
|
+
|
|
551
|
+
hash :labels, as: 'labels'
|
|
552
|
+
property :name, as: 'name'
|
|
553
|
+
property :provisioning_error, as: 'provisioningError', class: Google::Apis::ConfigV1::Status, decorator: Google::Apis::ConfigV1::Status::Representation
|
|
554
|
+
|
|
555
|
+
property :provisioning_state, as: 'provisioningState'
|
|
556
|
+
property :provisioning_state_description, as: 'provisioningStateDescription'
|
|
557
|
+
property :state, as: 'state'
|
|
558
|
+
property :state_description, as: 'stateDescription'
|
|
559
|
+
property :update_time, as: 'updateTime'
|
|
560
|
+
end
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
class DeploymentGroupRevision
|
|
564
|
+
# @private
|
|
565
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
566
|
+
collection :alternative_ids, as: 'alternativeIds'
|
|
567
|
+
property :create_time, as: 'createTime'
|
|
568
|
+
property :name, as: 'name'
|
|
569
|
+
property :snapshot, as: 'snapshot', class: Google::Apis::ConfigV1::DeploymentGroup, decorator: Google::Apis::ConfigV1::DeploymentGroup::Representation
|
|
570
|
+
|
|
571
|
+
end
|
|
572
|
+
end
|
|
573
|
+
|
|
466
574
|
class DeploymentOperationMetadata
|
|
467
575
|
# @private
|
|
468
576
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -474,6 +582,66 @@ module Google
|
|
|
474
582
|
end
|
|
475
583
|
end
|
|
476
584
|
|
|
585
|
+
class DeploymentOperationSummary
|
|
586
|
+
# @private
|
|
587
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
588
|
+
property :artifacts, as: 'artifacts'
|
|
589
|
+
property :build, as: 'build'
|
|
590
|
+
property :content, as: 'content'
|
|
591
|
+
property :deployment_step, as: 'deploymentStep'
|
|
592
|
+
property :logs, as: 'logs'
|
|
593
|
+
end
|
|
594
|
+
end
|
|
595
|
+
|
|
596
|
+
class DeploymentSource
|
|
597
|
+
# @private
|
|
598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
599
|
+
property :deployment, as: 'deployment'
|
|
600
|
+
property :output_name, as: 'outputName'
|
|
601
|
+
end
|
|
602
|
+
end
|
|
603
|
+
|
|
604
|
+
class DeploymentSpec
|
|
605
|
+
# @private
|
|
606
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
607
|
+
property :deployment, as: 'deployment', class: Google::Apis::ConfigV1::Deployment, decorator: Google::Apis::ConfigV1::Deployment::Representation
|
|
608
|
+
|
|
609
|
+
property :deployment_id, as: 'deploymentId'
|
|
610
|
+
end
|
|
611
|
+
end
|
|
612
|
+
|
|
613
|
+
class DeploymentUnit
|
|
614
|
+
# @private
|
|
615
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
616
|
+
collection :dependencies, as: 'dependencies'
|
|
617
|
+
property :deployment, as: 'deployment'
|
|
618
|
+
property :id, as: 'id'
|
|
619
|
+
end
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
class DeploymentUnitProgress
|
|
623
|
+
# @private
|
|
624
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
625
|
+
property :deployment, as: 'deployment'
|
|
626
|
+
property :deployment_operation_summary, as: 'deploymentOperationSummary', class: Google::Apis::ConfigV1::DeploymentOperationSummary, decorator: Google::Apis::ConfigV1::DeploymentOperationSummary::Representation
|
|
627
|
+
|
|
628
|
+
property :error, as: 'error', class: Google::Apis::ConfigV1::Status, decorator: Google::Apis::ConfigV1::Status::Representation
|
|
629
|
+
|
|
630
|
+
property :intent, as: 'intent'
|
|
631
|
+
property :state, as: 'state'
|
|
632
|
+
property :state_description, as: 'stateDescription'
|
|
633
|
+
property :unit_id, as: 'unitId'
|
|
634
|
+
end
|
|
635
|
+
end
|
|
636
|
+
|
|
637
|
+
class DeprovisionDeploymentGroupRequest
|
|
638
|
+
# @private
|
|
639
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
640
|
+
property :delete_policy, as: 'deletePolicy'
|
|
641
|
+
property :force, as: 'force'
|
|
642
|
+
end
|
|
643
|
+
end
|
|
644
|
+
|
|
477
645
|
class Empty
|
|
478
646
|
# @private
|
|
479
647
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -517,6 +685,14 @@ module Google
|
|
|
517
685
|
end
|
|
518
686
|
end
|
|
519
687
|
|
|
688
|
+
class ExternalValueSource
|
|
689
|
+
# @private
|
|
690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
691
|
+
property :deployment_source, as: 'deploymentSource', class: Google::Apis::ConfigV1::DeploymentSource, decorator: Google::Apis::ConfigV1::DeploymentSource::Representation
|
|
692
|
+
|
|
693
|
+
end
|
|
694
|
+
end
|
|
695
|
+
|
|
520
696
|
class GitSource
|
|
521
697
|
# @private
|
|
522
698
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -533,6 +709,26 @@ module Google
|
|
|
533
709
|
end
|
|
534
710
|
end
|
|
535
711
|
|
|
712
|
+
class ListDeploymentGroupRevisionsResponse
|
|
713
|
+
# @private
|
|
714
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
715
|
+
collection :deployment_group_revisions, as: 'deploymentGroupRevisions', class: Google::Apis::ConfigV1::DeploymentGroupRevision, decorator: Google::Apis::ConfigV1::DeploymentGroupRevision::Representation
|
|
716
|
+
|
|
717
|
+
property :next_page_token, as: 'nextPageToken'
|
|
718
|
+
collection :unreachable, as: 'unreachable'
|
|
719
|
+
end
|
|
720
|
+
end
|
|
721
|
+
|
|
722
|
+
class ListDeploymentGroupsResponse
|
|
723
|
+
# @private
|
|
724
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
725
|
+
collection :deployment_groups, as: 'deploymentGroups', class: Google::Apis::ConfigV1::DeploymentGroup, decorator: Google::Apis::ConfigV1::DeploymentGroup::Representation
|
|
726
|
+
|
|
727
|
+
property :next_page_token, as: 'nextPageToken'
|
|
728
|
+
collection :unreachable, as: 'unreachable'
|
|
729
|
+
end
|
|
730
|
+
end
|
|
731
|
+
|
|
536
732
|
class ListDeploymentsResponse
|
|
537
733
|
# @private
|
|
538
734
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -673,6 +869,8 @@ module Google
|
|
|
673
869
|
property :end_time, as: 'endTime'
|
|
674
870
|
property :preview_metadata, as: 'previewMetadata', class: Google::Apis::ConfigV1::PreviewOperationMetadata, decorator: Google::Apis::ConfigV1::PreviewOperationMetadata::Representation
|
|
675
871
|
|
|
872
|
+
property :provision_deployment_group_metadata, as: 'provisionDeploymentGroupMetadata', class: Google::Apis::ConfigV1::ProvisionDeploymentGroupOperationMetadata, decorator: Google::Apis::ConfigV1::ProvisionDeploymentGroupOperationMetadata::Representation
|
|
873
|
+
|
|
676
874
|
property :requested_cancellation, as: 'requestedCancellation'
|
|
677
875
|
property :status_message, as: 'statusMessage'
|
|
678
876
|
property :target, as: 'target'
|
|
@@ -780,6 +978,23 @@ module Google
|
|
|
780
978
|
end
|
|
781
979
|
end
|
|
782
980
|
|
|
981
|
+
class ProvisionDeploymentGroupOperationMetadata
|
|
982
|
+
# @private
|
|
983
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
984
|
+
collection :deployment_unit_progresses, as: 'deploymentUnitProgresses', class: Google::Apis::ConfigV1::DeploymentUnitProgress, decorator: Google::Apis::ConfigV1::DeploymentUnitProgress::Representation
|
|
985
|
+
|
|
986
|
+
property :step, as: 'step'
|
|
987
|
+
end
|
|
988
|
+
end
|
|
989
|
+
|
|
990
|
+
class ProvisionDeploymentGroupRequest
|
|
991
|
+
# @private
|
|
992
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
993
|
+
hash :deployment_specs, as: 'deploymentSpecs', class: Google::Apis::ConfigV1::DeploymentSpec, decorator: Google::Apis::ConfigV1::DeploymentSpec::Representation
|
|
994
|
+
|
|
995
|
+
end
|
|
996
|
+
end
|
|
997
|
+
|
|
783
998
|
class Resource
|
|
784
999
|
# @private
|
|
785
1000
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -912,6 +1127,8 @@ module Google
|
|
|
912
1127
|
class TerraformBlueprint
|
|
913
1128
|
# @private
|
|
914
1129
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1130
|
+
hash :external_values, as: 'externalValues', class: Google::Apis::ConfigV1::ExternalValueSource, decorator: Google::Apis::ConfigV1::ExternalValueSource::Representation
|
|
1131
|
+
|
|
915
1132
|
property :gcs_source, as: 'gcsSource'
|
|
916
1133
|
property :git_source, as: 'gitSource', class: Google::Apis::ConfigV1::GitSource, decorator: Google::Apis::ConfigV1::GitSource::Representation
|
|
917
1134
|
|
|
@@ -112,7 +112,16 @@ module Google
|
|
|
112
112
|
execute_or_queue_command(command, &block)
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
-
# Lists information about the supported locations for this service.
|
|
115
|
+
# Lists information about the supported locations for this service. This method
|
|
116
|
+
# lists locations based on the resource scope provided in the [
|
|
117
|
+
# ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
|
|
118
|
+
# the method lists the public locations available to all projects. * **Project-
|
|
119
|
+
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
120
|
+
# method lists locations visible to that specific project. This includes public,
|
|
121
|
+
# private, or other project-specific locations enabled for the project. For gRPC
|
|
122
|
+
# and client library implementations, the resource name is passed as the `name`
|
|
123
|
+
# field. For direct service calls, the resource name is incorporated into the
|
|
124
|
+
# request path based on the specific service implementation and version.
|
|
116
125
|
# @param [String] name
|
|
117
126
|
# The resource that owns the locations collection, if applicable.
|
|
118
127
|
# @param [Array<String>, String] extra_location_types
|
|
@@ -197,6 +206,402 @@ module Google
|
|
|
197
206
|
execute_or_queue_command(command, &block)
|
|
198
207
|
end
|
|
199
208
|
|
|
209
|
+
# Creates a DeploymentGroup The newly created DeploymentGroup will be in the `
|
|
210
|
+
# CREATING` state and can be retrieved via Get and List calls.
|
|
211
|
+
# @param [String] parent
|
|
212
|
+
# Required. The parent in whose context the Deployment Group is created. The
|
|
213
|
+
# parent value is in the format: 'projects/`project_id`/locations/`location`'
|
|
214
|
+
# @param [Google::Apis::ConfigV1::DeploymentGroup] deployment_group_object
|
|
215
|
+
# @param [String] deployment_group_id
|
|
216
|
+
# Required. The deployment group ID.
|
|
217
|
+
# @param [String] request_id
|
|
218
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
219
|
+
# request ID so that if you must retry your request, the server will know to
|
|
220
|
+
# ignore the request if it has already been completed. The server will guarantee
|
|
221
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
|
222
|
+
# situation where you make an initial request and the request times out. If you
|
|
223
|
+
# make the request again with the same request ID, the server can check if
|
|
224
|
+
# original operation with the same request ID was received, and if so, will
|
|
225
|
+
# ignore the second request. This prevents clients from accidentally creating
|
|
226
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
227
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
228
|
+
# @param [String] fields
|
|
229
|
+
# Selector specifying which fields to include in a partial response.
|
|
230
|
+
# @param [String] quota_user
|
|
231
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
232
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
233
|
+
# @param [Google::Apis::RequestOptions] options
|
|
234
|
+
# Request-specific options
|
|
235
|
+
#
|
|
236
|
+
# @yield [result, err] Result & error if block supplied
|
|
237
|
+
# @yieldparam result [Google::Apis::ConfigV1::Operation] parsed result object
|
|
238
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
239
|
+
#
|
|
240
|
+
# @return [Google::Apis::ConfigV1::Operation]
|
|
241
|
+
#
|
|
242
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
243
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
244
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
245
|
+
def create_project_location_deployment_group(parent, deployment_group_object = nil, deployment_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
246
|
+
command = make_simple_command(:post, 'v1/{+parent}/deploymentGroups', options)
|
|
247
|
+
command.request_representation = Google::Apis::ConfigV1::DeploymentGroup::Representation
|
|
248
|
+
command.request_object = deployment_group_object
|
|
249
|
+
command.response_representation = Google::Apis::ConfigV1::Operation::Representation
|
|
250
|
+
command.response_class = Google::Apis::ConfigV1::Operation
|
|
251
|
+
command.params['parent'] = parent unless parent.nil?
|
|
252
|
+
command.query['deploymentGroupId'] = deployment_group_id unless deployment_group_id.nil?
|
|
253
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
254
|
+
command.query['fields'] = fields unless fields.nil?
|
|
255
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
256
|
+
execute_or_queue_command(command, &block)
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
# Deletes a DeploymentGroup
|
|
260
|
+
# @param [String] name
|
|
261
|
+
# Required. The name of DeploymentGroup in the format projects/`project_id`/
|
|
262
|
+
# locations/`location_id`/deploymentGroups/`deploymentGroup`
|
|
263
|
+
# @param [String] deployment_reference_policy
|
|
264
|
+
# Optional. Policy on how to handle referenced deployments when deleting the
|
|
265
|
+
# DeploymentGroup. If unspecified, the default behavior is to fail the deletion
|
|
266
|
+
# if any deployments currently referenced in the `deployment_units` of the
|
|
267
|
+
# DeploymentGroup or in the latest revision are not deleted.
|
|
268
|
+
# @param [Boolean] force
|
|
269
|
+
# Optional. If set to true, any revisions for this deployment group will also be
|
|
270
|
+
# deleted. (Otherwise, the request will only work if the deployment group has no
|
|
271
|
+
# revisions.)
|
|
272
|
+
# @param [String] request_id
|
|
273
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
274
|
+
# request ID so that if you must retry your request, the server will know to
|
|
275
|
+
# ignore the request if it has already been completed. The server will guarantee
|
|
276
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
|
277
|
+
# situation where you make an initial request and the request times out. If you
|
|
278
|
+
# make the request again with the same request ID, the server can check if
|
|
279
|
+
# original operation with the same request ID was received, and if so, will
|
|
280
|
+
# ignore the second request. This prevents clients from accidentally creating
|
|
281
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
282
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
283
|
+
# @param [String] fields
|
|
284
|
+
# Selector specifying which fields to include in a partial response.
|
|
285
|
+
# @param [String] quota_user
|
|
286
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
287
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
288
|
+
# @param [Google::Apis::RequestOptions] options
|
|
289
|
+
# Request-specific options
|
|
290
|
+
#
|
|
291
|
+
# @yield [result, err] Result & error if block supplied
|
|
292
|
+
# @yieldparam result [Google::Apis::ConfigV1::Operation] parsed result object
|
|
293
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
294
|
+
#
|
|
295
|
+
# @return [Google::Apis::ConfigV1::Operation]
|
|
296
|
+
#
|
|
297
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
298
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
299
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
300
|
+
def delete_project_location_deployment_group(name, deployment_reference_policy: nil, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
301
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
302
|
+
command.response_representation = Google::Apis::ConfigV1::Operation::Representation
|
|
303
|
+
command.response_class = Google::Apis::ConfigV1::Operation
|
|
304
|
+
command.params['name'] = name unless name.nil?
|
|
305
|
+
command.query['deploymentReferencePolicy'] = deployment_reference_policy unless deployment_reference_policy.nil?
|
|
306
|
+
command.query['force'] = force unless force.nil?
|
|
307
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
308
|
+
command.query['fields'] = fields unless fields.nil?
|
|
309
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
310
|
+
execute_or_queue_command(command, &block)
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
# Deprovisions a deployment group. NOTE: As a first step of this operation,
|
|
314
|
+
# Infra Manager will automatically delete any Deployments that were part of the *
|
|
315
|
+
# last successful* DeploymentGroupRevision but are *no longer* included in the *
|
|
316
|
+
# current* DeploymentGroup definition (e.g., following an `UpdateDeploymentGroup`
|
|
317
|
+
# call), along with their actuated resources.
|
|
318
|
+
# @param [String] name
|
|
319
|
+
# Required. The name of the deployment group to deprovision. Format: 'projects/`
|
|
320
|
+
# project_id`/locations/`location`/deploymentGroups/`deployment_group`'.
|
|
321
|
+
# @param [Google::Apis::ConfigV1::DeprovisionDeploymentGroupRequest] deprovision_deployment_group_request_object
|
|
322
|
+
# @param [String] fields
|
|
323
|
+
# Selector specifying which fields to include in a partial response.
|
|
324
|
+
# @param [String] quota_user
|
|
325
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
326
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
327
|
+
# @param [Google::Apis::RequestOptions] options
|
|
328
|
+
# Request-specific options
|
|
329
|
+
#
|
|
330
|
+
# @yield [result, err] Result & error if block supplied
|
|
331
|
+
# @yieldparam result [Google::Apis::ConfigV1::Operation] parsed result object
|
|
332
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
333
|
+
#
|
|
334
|
+
# @return [Google::Apis::ConfigV1::Operation]
|
|
335
|
+
#
|
|
336
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
337
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
338
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
339
|
+
def deprovision_deployment_group(name, deprovision_deployment_group_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
340
|
+
command = make_simple_command(:post, 'v1/{+name}:deprovision', options)
|
|
341
|
+
command.request_representation = Google::Apis::ConfigV1::DeprovisionDeploymentGroupRequest::Representation
|
|
342
|
+
command.request_object = deprovision_deployment_group_request_object
|
|
343
|
+
command.response_representation = Google::Apis::ConfigV1::Operation::Representation
|
|
344
|
+
command.response_class = Google::Apis::ConfigV1::Operation
|
|
345
|
+
command.params['name'] = name unless name.nil?
|
|
346
|
+
command.query['fields'] = fields unless fields.nil?
|
|
347
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
348
|
+
execute_or_queue_command(command, &block)
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
# Get a DeploymentGroup for a given project and location.
|
|
352
|
+
# @param [String] name
|
|
353
|
+
# Required. The name of the deployment group to retrieve. Format: 'projects/`
|
|
354
|
+
# project_id`/locations/`location`/deploymentGroups/`deployment_group`'.
|
|
355
|
+
# @param [String] fields
|
|
356
|
+
# Selector specifying which fields to include in a partial response.
|
|
357
|
+
# @param [String] quota_user
|
|
358
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
359
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
360
|
+
# @param [Google::Apis::RequestOptions] options
|
|
361
|
+
# Request-specific options
|
|
362
|
+
#
|
|
363
|
+
# @yield [result, err] Result & error if block supplied
|
|
364
|
+
# @yieldparam result [Google::Apis::ConfigV1::DeploymentGroup] parsed result object
|
|
365
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
366
|
+
#
|
|
367
|
+
# @return [Google::Apis::ConfigV1::DeploymentGroup]
|
|
368
|
+
#
|
|
369
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
370
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
371
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
372
|
+
def get_project_location_deployment_group(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
373
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
374
|
+
command.response_representation = Google::Apis::ConfigV1::DeploymentGroup::Representation
|
|
375
|
+
command.response_class = Google::Apis::ConfigV1::DeploymentGroup
|
|
376
|
+
command.params['name'] = name unless name.nil?
|
|
377
|
+
command.query['fields'] = fields unless fields.nil?
|
|
378
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
379
|
+
execute_or_queue_command(command, &block)
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
# List DeploymentGroups for a given project and location.
|
|
383
|
+
# @param [String] parent
|
|
384
|
+
# Required. The parent, which owns this collection of deployment groups. Format:
|
|
385
|
+
# 'projects/`project_id`/locations/`location`'.
|
|
386
|
+
# @param [String] filter
|
|
387
|
+
# Optional. Lists the DeploymentGroups that match the filter expression. A
|
|
388
|
+
# filter expression filters the deployment groups listed in the response. The
|
|
389
|
+
# expression must be of the form '`field` `operator` `value`' where operators: '<
|
|
390
|
+
# ', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
|
|
391
|
+
# operator which is roughly synonymous with equality). `field` can refer to a
|
|
392
|
+
# proto or JSON field, or a synthetic field. Field names can be camelCase or
|
|
393
|
+
# snake_case. Examples: - Filter by name: name = "projects/foo/locations/us-
|
|
394
|
+
# central1/deploymentGroups/bar" - Filter by labels: - Resources that have a key
|
|
395
|
+
# called 'foo' labels.foo:* - Resources that have a key called 'foo' whose value
|
|
396
|
+
# is 'bar' labels.foo = bar - Filter by state: - DeploymentGroups in CREATING
|
|
397
|
+
# state. state=CREATING
|
|
398
|
+
# @param [String] order_by
|
|
399
|
+
# Optional. Field to use to sort the list.
|
|
400
|
+
# @param [Fixnum] page_size
|
|
401
|
+
# Optional. When requesting a page of resources, 'page_size' specifies number of
|
|
402
|
+
# resources to return. If unspecified, at most 500 will be returned. The maximum
|
|
403
|
+
# value is 1000.
|
|
404
|
+
# @param [String] page_token
|
|
405
|
+
# Optional. Token returned by previous call to 'ListDeploymentGroups' which
|
|
406
|
+
# specifies the position in the list from where to continue listing the
|
|
407
|
+
# deployment groups.
|
|
408
|
+
# @param [String] fields
|
|
409
|
+
# Selector specifying which fields to include in a partial response.
|
|
410
|
+
# @param [String] quota_user
|
|
411
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
412
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
413
|
+
# @param [Google::Apis::RequestOptions] options
|
|
414
|
+
# Request-specific options
|
|
415
|
+
#
|
|
416
|
+
# @yield [result, err] Result & error if block supplied
|
|
417
|
+
# @yieldparam result [Google::Apis::ConfigV1::ListDeploymentGroupsResponse] parsed result object
|
|
418
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
419
|
+
#
|
|
420
|
+
# @return [Google::Apis::ConfigV1::ListDeploymentGroupsResponse]
|
|
421
|
+
#
|
|
422
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
423
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
424
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
425
|
+
def list_project_location_deployment_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
426
|
+
command = make_simple_command(:get, 'v1/{+parent}/deploymentGroups', options)
|
|
427
|
+
command.response_representation = Google::Apis::ConfigV1::ListDeploymentGroupsResponse::Representation
|
|
428
|
+
command.response_class = Google::Apis::ConfigV1::ListDeploymentGroupsResponse
|
|
429
|
+
command.params['parent'] = parent unless parent.nil?
|
|
430
|
+
command.query['filter'] = filter unless filter.nil?
|
|
431
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
432
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
433
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
434
|
+
command.query['fields'] = fields unless fields.nil?
|
|
435
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
436
|
+
execute_or_queue_command(command, &block)
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
# Updates a DeploymentGroup
|
|
440
|
+
# @param [String] name
|
|
441
|
+
# Identifier. The name of the deployment group. Format: 'projects/`project_id`/
|
|
442
|
+
# locations/`location`/deploymentGroups/`deployment_group`'.
|
|
443
|
+
# @param [Google::Apis::ConfigV1::DeploymentGroup] deployment_group_object
|
|
444
|
+
# @param [String] request_id
|
|
445
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
446
|
+
# request ID so that if you must retry your request, the server will know to
|
|
447
|
+
# ignore the request if it has already been completed. The server will guarantee
|
|
448
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
|
449
|
+
# situation where you make an initial request and the request times out. If you
|
|
450
|
+
# make the request again with the same request ID, the server can check if
|
|
451
|
+
# original operation with the same request ID was received, and if so, will
|
|
452
|
+
# ignore the second request. This prevents clients from accidentally creating
|
|
453
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
454
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
455
|
+
# @param [String] update_mask
|
|
456
|
+
# Optional. Field mask used to specify the fields to be overwritten in the
|
|
457
|
+
# Deployment Group resource by the update. The fields specified in the
|
|
458
|
+
# update_mask are relative to the resource, not the full request. A field will
|
|
459
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
|
460
|
+
# all fields will be overwritten.
|
|
461
|
+
# @param [String] fields
|
|
462
|
+
# Selector specifying which fields to include in a partial response.
|
|
463
|
+
# @param [String] quota_user
|
|
464
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
465
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
466
|
+
# @param [Google::Apis::RequestOptions] options
|
|
467
|
+
# Request-specific options
|
|
468
|
+
#
|
|
469
|
+
# @yield [result, err] Result & error if block supplied
|
|
470
|
+
# @yieldparam result [Google::Apis::ConfigV1::Operation] parsed result object
|
|
471
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
472
|
+
#
|
|
473
|
+
# @return [Google::Apis::ConfigV1::Operation]
|
|
474
|
+
#
|
|
475
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
476
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
477
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
478
|
+
def patch_project_location_deployment_group(name, deployment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
479
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
480
|
+
command.request_representation = Google::Apis::ConfigV1::DeploymentGroup::Representation
|
|
481
|
+
command.request_object = deployment_group_object
|
|
482
|
+
command.response_representation = Google::Apis::ConfigV1::Operation::Representation
|
|
483
|
+
command.response_class = Google::Apis::ConfigV1::Operation
|
|
484
|
+
command.params['name'] = name unless name.nil?
|
|
485
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
486
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
487
|
+
command.query['fields'] = fields unless fields.nil?
|
|
488
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
489
|
+
execute_or_queue_command(command, &block)
|
|
490
|
+
end
|
|
491
|
+
|
|
492
|
+
# Provisions a deployment group. NOTE: As a first step of this operation, Infra
|
|
493
|
+
# Manager will automatically delete any Deployments that were part of the *last
|
|
494
|
+
# successful* DeploymentGroupRevision but are *no longer* included in the *
|
|
495
|
+
# current* DeploymentGroup definition (e.g., following an `UpdateDeploymentGroup`
|
|
496
|
+
# call), along with their actuated resources.
|
|
497
|
+
# @param [String] name
|
|
498
|
+
# Required. The name of the deployment group to provision. Format: 'projects/`
|
|
499
|
+
# project_id`/locations/`location`/deploymentGroups/`deployment_group`'.
|
|
500
|
+
# @param [Google::Apis::ConfigV1::ProvisionDeploymentGroupRequest] provision_deployment_group_request_object
|
|
501
|
+
# @param [String] fields
|
|
502
|
+
# Selector specifying which fields to include in a partial response.
|
|
503
|
+
# @param [String] quota_user
|
|
504
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
505
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
506
|
+
# @param [Google::Apis::RequestOptions] options
|
|
507
|
+
# Request-specific options
|
|
508
|
+
#
|
|
509
|
+
# @yield [result, err] Result & error if block supplied
|
|
510
|
+
# @yieldparam result [Google::Apis::ConfigV1::Operation] parsed result object
|
|
511
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
512
|
+
#
|
|
513
|
+
# @return [Google::Apis::ConfigV1::Operation]
|
|
514
|
+
#
|
|
515
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
516
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
517
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
518
|
+
def provision_deployment_group(name, provision_deployment_group_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
519
|
+
command = make_simple_command(:post, 'v1/{+name}:provision', options)
|
|
520
|
+
command.request_representation = Google::Apis::ConfigV1::ProvisionDeploymentGroupRequest::Representation
|
|
521
|
+
command.request_object = provision_deployment_group_request_object
|
|
522
|
+
command.response_representation = Google::Apis::ConfigV1::Operation::Representation
|
|
523
|
+
command.response_class = Google::Apis::ConfigV1::Operation
|
|
524
|
+
command.params['name'] = name unless name.nil?
|
|
525
|
+
command.query['fields'] = fields unless fields.nil?
|
|
526
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
527
|
+
execute_or_queue_command(command, &block)
|
|
528
|
+
end
|
|
529
|
+
|
|
530
|
+
# Gets details about a DeploymentGroupRevision.
|
|
531
|
+
# @param [String] name
|
|
532
|
+
# Required. The name of the deployment group revision to retrieve. Format: '
|
|
533
|
+
# projects/`project_id`/locations/`location`/deploymentGroups/`deployment_group`/
|
|
534
|
+
# revisions/`revision`'.
|
|
535
|
+
# @param [String] fields
|
|
536
|
+
# Selector specifying which fields to include in a partial response.
|
|
537
|
+
# @param [String] quota_user
|
|
538
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
539
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
540
|
+
# @param [Google::Apis::RequestOptions] options
|
|
541
|
+
# Request-specific options
|
|
542
|
+
#
|
|
543
|
+
# @yield [result, err] Result & error if block supplied
|
|
544
|
+
# @yieldparam result [Google::Apis::ConfigV1::DeploymentGroupRevision] parsed result object
|
|
545
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
546
|
+
#
|
|
547
|
+
# @return [Google::Apis::ConfigV1::DeploymentGroupRevision]
|
|
548
|
+
#
|
|
549
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
550
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
551
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
552
|
+
def get_project_location_deployment_group_revision(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
553
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
554
|
+
command.response_representation = Google::Apis::ConfigV1::DeploymentGroupRevision::Representation
|
|
555
|
+
command.response_class = Google::Apis::ConfigV1::DeploymentGroupRevision
|
|
556
|
+
command.params['name'] = name unless name.nil?
|
|
557
|
+
command.query['fields'] = fields unless fields.nil?
|
|
558
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
559
|
+
execute_or_queue_command(command, &block)
|
|
560
|
+
end
|
|
561
|
+
|
|
562
|
+
# Lists DeploymentGroupRevisions in a given DeploymentGroup.
|
|
563
|
+
# @param [String] parent
|
|
564
|
+
# Required. The parent, which owns this collection of deployment group revisions.
|
|
565
|
+
# Format: 'projects/`project_id`/locations/`location`/deploymentGroups/`
|
|
566
|
+
# deployment_group`'.
|
|
567
|
+
# @param [Fixnum] page_size
|
|
568
|
+
# Optional. When requesting a page of resources, 'page_size' specifies number of
|
|
569
|
+
# resources to return. If unspecified, a sensible default will be used by the
|
|
570
|
+
# server. The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
571
|
+
# @param [String] page_token
|
|
572
|
+
# Optional. Token returned by previous call to 'ListDeploymentGroupRevisions'
|
|
573
|
+
# which specifies the position in the list from where to continue listing the
|
|
574
|
+
# deployment group revisions. All other parameters provided to `
|
|
575
|
+
# ListDeploymentGroupRevisions` must match the call that provided the page token.
|
|
576
|
+
# @param [String] fields
|
|
577
|
+
# Selector specifying which fields to include in a partial response.
|
|
578
|
+
# @param [String] quota_user
|
|
579
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
580
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
581
|
+
# @param [Google::Apis::RequestOptions] options
|
|
582
|
+
# Request-specific options
|
|
583
|
+
#
|
|
584
|
+
# @yield [result, err] Result & error if block supplied
|
|
585
|
+
# @yieldparam result [Google::Apis::ConfigV1::ListDeploymentGroupRevisionsResponse] parsed result object
|
|
586
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
587
|
+
#
|
|
588
|
+
# @return [Google::Apis::ConfigV1::ListDeploymentGroupRevisionsResponse]
|
|
589
|
+
#
|
|
590
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
591
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
592
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
593
|
+
def list_project_location_deployment_group_revisions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
594
|
+
command = make_simple_command(:get, 'v1/{+parent}/revisions', options)
|
|
595
|
+
command.response_representation = Google::Apis::ConfigV1::ListDeploymentGroupRevisionsResponse::Representation
|
|
596
|
+
command.response_class = Google::Apis::ConfigV1::ListDeploymentGroupRevisionsResponse
|
|
597
|
+
command.params['parent'] = parent unless parent.nil?
|
|
598
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
599
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
600
|
+
command.query['fields'] = fields unless fields.nil?
|
|
601
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
602
|
+
execute_or_queue_command(command, &block)
|
|
603
|
+
end
|
|
604
|
+
|
|
200
605
|
# Creates a Deployment.
|
|
201
606
|
# @param [String] parent
|
|
202
607
|
# Required. The parent in whose context the Deployment is created. The parent
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-config_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.18.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-config_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-config_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-config_v1/v0.18.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-config_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|