Documentation ¶
Index ¶
- Variables
- type Advice
- func (*Advice) Descriptor() ([]byte, []int)
- func (m *Advice) GetDescription() string
- func (*Advice) ProtoMessage()
- func (m *Advice) Reset()
- func (m *Advice) String() string
- func (m *Advice) XXX_DiscardUnknown()
- func (m *Advice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Advice) XXX_Merge(src proto.Message)
- func (m *Advice) XXX_Size() int
- func (m *Advice) XXX_Unmarshal(b []byte) error
- type ChangeType
- type ConfigChange
- func (*ConfigChange) Descriptor() ([]byte, []int)
- func (m *ConfigChange) GetAdvices() []*Advice
- func (m *ConfigChange) GetChangeType() ChangeType
- func (m *ConfigChange) GetElement() string
- func (m *ConfigChange) GetNewValue() string
- func (m *ConfigChange) GetOldValue() string
- func (*ConfigChange) ProtoMessage()
- func (m *ConfigChange) Reset()
- func (m *ConfigChange) String() string
- func (m *ConfigChange) XXX_DiscardUnknown()
- func (m *ConfigChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigChange) XXX_Merge(src proto.Message)
- func (m *ConfigChange) XXX_Size() int
- func (m *ConfigChange) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ChangeType_name = map[int32]string{
0: "CHANGE_TYPE_UNSPECIFIED",
1: "ADDED",
2: "REMOVED",
3: "MODIFIED",
}
View Source
var ChangeType_value = map[string]int32{
"CHANGE_TYPE_UNSPECIFIED": 0,
"ADDED": 1,
"REMOVED": 2,
"MODIFIED": 3,
}
Functions ¶
This section is empty.
Types ¶
type Advice ¶
type Advice struct { // Useful description for why this advice was applied and what actions should // be taken to mitigate any implied risks. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Generated advice about this change, used for providing more information about how a change will affect the existing service.
func (*Advice) Descriptor ¶
func (*Advice) GetDescription ¶
func (*Advice) ProtoMessage ¶
func (*Advice) ProtoMessage()
func (*Advice) XXX_DiscardUnknown ¶
func (m *Advice) XXX_DiscardUnknown()
func (*Advice) XXX_Marshal ¶
func (*Advice) XXX_Unmarshal ¶
type ChangeType ¶
type ChangeType int32
Classifies set of possible modifications to an object in the service configuration.
const ( // No value was provided. ChangeType_CHANGE_TYPE_UNSPECIFIED ChangeType = 0 // The changed object exists in the 'new' service configuration, but not // in the 'old' service configuration. ChangeType_ADDED ChangeType = 1 // The changed object exists in the 'old' service configuration, but not // in the 'new' service configuration. ChangeType_REMOVED ChangeType = 2 // The changed object exists in both service configurations, but its value // is different. ChangeType_MODIFIED ChangeType = 3 )
func (ChangeType) EnumDescriptor ¶
func (ChangeType) EnumDescriptor() ([]byte, []int)
func (ChangeType) String ¶
func (x ChangeType) String() string
type ConfigChange ¶
type ConfigChange struct { // Object hierarchy path to the change, with levels separated by a '.' // character. For repeated fields, an applicable unique identifier field is // used for the index (usually selector, name, or id). For maps, the term // 'key' is used. If the field has no unique identifier, the numeric index // is used. // Examples: // - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction // - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value // - logging.producer_destinations[0] Element string `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"` // Value of the changed object in the old Service configuration, // in JSON format. This field will not be populated if ChangeType == ADDED. OldValue string `protobuf:"bytes,2,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` // Value of the changed object in the new Service configuration, // in JSON format. This field will not be populated if ChangeType == REMOVED. NewValue string `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` // The type for this change, either ADDED, REMOVED, or MODIFIED. ChangeType ChangeType `protobuf:"varint,4,opt,name=change_type,json=changeType,proto3,enum=google.api.ChangeType" json:"change_type,omitempty"` // Collection of advice provided for this change, useful for determining the // possible impact of this change. Advices []*Advice `protobuf:"bytes,5,rep,name=advices,proto3" json:"advices,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Output generated from semantically comparing two versions of a service configuration.
Includes detailed information about a field that have changed with applicable advice about potential consequences for the change, such as backwards-incompatibility.
func (*ConfigChange) Descriptor ¶
func (*ConfigChange) Descriptor() ([]byte, []int)
func (*ConfigChange) GetAdvices ¶
func (m *ConfigChange) GetAdvices() []*Advice
func (*ConfigChange) GetChangeType ¶
func (m *ConfigChange) GetChangeType() ChangeType
func (*ConfigChange) GetElement ¶
func (m *ConfigChange) GetElement() string
func (*ConfigChange) GetNewValue ¶
func (m *ConfigChange) GetNewValue() string
func (*ConfigChange) GetOldValue ¶
func (m *ConfigChange) GetOldValue() string
func (*ConfigChange) ProtoMessage ¶
func (*ConfigChange) ProtoMessage()
func (*ConfigChange) Reset ¶
func (m *ConfigChange) Reset()
func (*ConfigChange) String ¶
func (m *ConfigChange) String() string
func (*ConfigChange) XXX_DiscardUnknown ¶
func (m *ConfigChange) XXX_DiscardUnknown()
func (*ConfigChange) XXX_Marshal ¶
func (m *ConfigChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigChange) XXX_Merge ¶
func (m *ConfigChange) XXX_Merge(src proto.Message)
func (*ConfigChange) XXX_Size ¶
func (m *ConfigChange) XXX_Size() int
func (*ConfigChange) XXX_Unmarshal ¶
func (m *ConfigChange) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.